/*
 * Storefront UX — home page.
 * Owner: Home stream (E). Shared stylesheet: loaded on every route after
 * storefront-ux.css (tokens and components), marked data-style-shared so it
 * survives SPA navigation. Use the --ft-* tokens and .ft-* components from
 * storefront-ux.css; scope every rule to this area's classes and to
 * body:not(:has(.admin-shell)).
 *
 * Every rule below is scoped to .lp (the home page root), so it has no effect
 * on other routes. home-landing.css keeps the base layout; this sheet maps it
 * onto the shared tokens and adds the P2 #13/#14 parts:
 *   1. token mapping            5. part categories + accessories row
 *   2. hero (access, shortcuts) 6. product rows (cards, names, tap targets)
 *   3. section heads            7. how-to and closing call to action
 *   4. device finder            8. tablet / phone layout
 */

/* 1. One blue, one text colour, one muted grey: the landing page's own
      palette now resolves to the shared tokens. */
body:not(:has(.admin-shell)) .lp {
    --lp-ink: var(--ft-text);
    --lp-muted: var(--ft-text-muted);
    --lp-line: var(--ft-divider);
    --lp-line-strong: var(--ft-border-strong);
    --lp-accent: var(--ft-primary);
    --lp-accent-soft: var(--ft-primary-soft);
    --lp-hero-muted: var(--ft-text-muted);
    gap: clamp(2rem, 4.5vw, 3.5rem);
    font-family: var(--ft-font, inherit);
}

/* 2. Hero ------------------------------------------------------------------ */
/* Storefront routes take the landing base styles from the 711 KB bundle (a copy
   of home-landing.css), so the hero changes are restated here. */
/* Eyebrow: plain small caps, not a pill that looks like a button. */
body:not(:has(.admin-shell)) .lp .lp-eyebrow {
    display: block;
    margin: 0 0 var(--ft-s3);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--ft-text-muted);
    font: var(--ft-overline, 600 12px/1.3 sans-serif);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body:not(:has(.admin-shell)) .lp .lp-search-submit {
    border-radius: var(--ft-radius-md);
    background: var(--ft-primary);
    box-shadow: none;
}
body:not(:has(.admin-shell)) .lp .lp-search-submit:hover { background: var(--ft-primary-hover); }
body:not(:has(.admin-shell)) .lp .lp-search-field { box-shadow: none; }

/* Guest: who the shop is for, and the two ways in. */
body:not(:has(.admin-shell)) .lp .lp-access {
    display: grid;
    gap: var(--ft-s3);
    max-width: 40rem;
    margin-top: var(--ft-s5);
    padding: var(--ft-s4);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius-lg);
    background: var(--ft-surface-2);
}
body:not(:has(.admin-shell)) .lp .lp-access-line {
    margin: 0;
    color: var(--ft-text-muted);
    font-size: var(--ft-fs-sm);
    line-height: var(--ft-lh-body);
}
body:not(:has(.admin-shell)) .lp .lp-access-line strong {
    color: var(--ft-text);
    font-weight: var(--ft-fw-semibold);
}
body:not(:has(.admin-shell)) .lp .lp-stats {
    display: block;
    margin: var(--ft-s5) 0 0;
    padding: 0;
    border: 0;
    color: var(--ft-text-muted);
    font-size: var(--ft-fs-sm);
}
body:not(:has(.admin-shell)) .lp .lp-stats strong { color: var(--ft-text); font-weight: var(--ft-fw-semibold); }
body:not(:has(.admin-shell)) .lp .lp-stats > span { display: inline; }
body:not(:has(.admin-shell)) .lp .lp-access-actions > *,
body:not(:has(.admin-shell)) .lp .lp-shortcuts > * { white-space: nowrap; }
body:not(:has(.admin-shell)) .lp .lp-access-actions,
body:not(:has(.admin-shell)) .lp .lp-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ft-s2);
}

/* Customer: three account shortcuts instead of the guest prompt. */
body:not(:has(.admin-shell)) .lp .lp-shortcuts { max-width: 40rem; margin-top: var(--ft-s5); }
body:not(:has(.admin-shell)) .lp .lp-shortcut { gap: var(--ft-s2); }
body:not(:has(.admin-shell)) .lp .lp-shortcut svg { width: 18px; height: 18px; flex: none; color: var(--ft-primary-text); }

/* 3. Section heads: smaller dividers, readable kicker. -------------------- */
body:not(:has(.admin-shell)) .lp .lp-section-head {
    margin-bottom: var(--ft-s4);
    padding-bottom: var(--ft-s3);
}
body:not(:has(.admin-shell)) .lp .lp-kicker {
    color: var(--ft-primary-text);
    font-size: var(--ft-fs-xs);
    font-weight: var(--ft-fw-semibold);
    letter-spacing: 0.04em;
}
body:not(:has(.admin-shell)) .lp .lp-section-head h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
body:not(:has(.admin-shell)) .lp .lp-section-link {
    min-height: var(--ft-control-h);
    color: var(--ft-primary-text);
}

/* 4. Device finder: plain cards, no dark gradient panel. ------------------ */
body:not(:has(.admin-shell)) .lp .lp-family { border-color: var(--ft-border); border-radius: var(--ft-radius-md); min-height: var(--ft-control-h); }
body:not(:has(.admin-shell)) .lp .lp-models {
    padding: var(--ft-s5);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius-lg);
    background: var(--ft-surface-2);
    color: var(--ft-text);
}
body:not(:has(.admin-shell)) .lp .lp-models h3 { color: var(--ft-text); }
body:not(:has(.admin-shell)) .lp .lp-models-note { color: var(--ft-text-muted); margin-bottom: var(--ft-s4); }
body:not(:has(.admin-shell)) .lp .lp-model-chip {
    align-items: center;
    min-height: 36px;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius-pill);
    background: var(--ft-surface, #fff);
    color: var(--ft-text);
}
body:not(:has(.admin-shell)) .lp .lp-model-chip small { color: var(--ft-text-muted); }
body:not(:has(.admin-shell)) .lp .lp-model-chip:hover { border-color: var(--ft-primary); background: var(--ft-primary-soft); }
body:not(:has(.admin-shell)) .lp .lp-models-all {
    min-height: var(--ft-control-h);
    margin-top: var(--ft-s2);
    color: var(--ft-primary-text);
}

/* 5. Part categories and the accessories link row. ------------------------ */
body:not(:has(.admin-shell)) .lp .lp-category { border-color: var(--ft-border); min-width: 0; }
body:not(:has(.admin-shell)) .lp .lp-category-name,
body:not(:has(.admin-shell)) .lp .lp-category-count { min-width: 0; overflow-wrap: break-word; }
/* Long Dutch/German compounds ('Reparatiegereedschap') break at a syllable
   with a hyphen instead of at a random letter. */
body:not(:has(.admin-shell)) .lp :is(.lp-category-name, .lp-supplies-list a > span, .lp-model-chip > span, .lp-family-name) { -webkit-hyphens: auto; }
body:not(:has(.admin-shell)) .lp .lp-category-icon { color: var(--ft-primary-text); }

body:not(:has(.admin-shell)) .lp .lp-supplies {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ft-s2) var(--ft-s4);
    margin-top: var(--ft-s4);
    padding-top: var(--ft-s4);
    border-top: 1px solid var(--ft-divider);
}
body:not(:has(.admin-shell)) .lp .lp-supplies[hidden] { display: none; }
body:not(:has(.admin-shell)) .lp .lp-supplies-title {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: var(--ft-control-h);
    color: var(--ft-text);
    font-weight: var(--ft-fw-semibold);
    font-size: var(--ft-fs-sm);
}
body:not(:has(.admin-shell)) .lp .lp-supplies-title svg { width: 16px; height: 16px; color: var(--ft-primary-text); }
body:not(:has(.admin-shell)) .lp .lp-supplies-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ft-s2);
    margin: 0;
    padding: 0;
    list-style: none;
}
body:not(:has(.admin-shell)) .lp .lp-supplies-list a {
    display: inline-flex;
    align-items: center;
    gap: var(--ft-s2);
    min-height: var(--ft-control-h-dense);
    padding: 0 var(--ft-s3);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius-md);
    background: var(--ft-surface, #fff);
    color: var(--ft-text);
    font-size: var(--ft-fs-sm);
    font-weight: var(--ft-fw-semibold);
}
body:not(:has(.admin-shell)) .lp .lp-supplies-list a:hover { border-color: var(--ft-primary); background: var(--ft-primary-soft); }
body:not(:has(.admin-shell)) .lp :is(.lp-supplies-list, .lp-model-chips) small { flex: none; white-space: nowrap; }
body:not(:has(.admin-shell)) .lp :is(.lp-supplies-list, .lp-model-chips) a > span { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
body:not(:has(.admin-shell)) .lp .lp-supplies-list small { color: var(--ft-text-muted); font-weight: var(--ft-fw-regular); font-size: var(--ft-fs-xs); }

/* 6. Product rows ---------------------------------------------------------- */
body:not(:has(.admin-shell)) .lp .lp-product-sections { gap: clamp(2rem, 4.5vw, 3.5rem); }
body:not(:has(.admin-shell)) .lp .lp-product { border-color: var(--ft-border); }
body:not(:has(.admin-shell)) .lp .lp-product-body { min-width: 0; overflow-wrap: anywhere; }
/* Full names up to three lines: colour and model variants must be told apart. */
body:not(:has(.admin-shell)) .lp .lp-product-name a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
}
/* The model line may wrap to a second line instead of being cut off. */
body:not(:has(.admin-shell)) .lp .lp-product-context {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    color: var(--ft-primary-text);
    letter-spacing: 0.02em;
}
body:not(:has(.admin-shell)) .lp .lp-product-stock.is-ok { color: var(--ft-success-fg); }
body:not(:has(.admin-shell)) .lp .lp-product-stock.is-out { color: var(--ft-danger-fg); }
body:not(:has(.admin-shell)) .lp .lp-product-login {
    display: inline-flex;
    align-items: center;
    min-height: var(--ft-control-h);
    color: var(--ft-primary-text);
}

/* 7. How-to and closing call to action ------------------------------------ */
body:not(:has(.admin-shell)) .lp .lp-step { color: var(--ft-primary-text); }
body:not(:has(.admin-shell)) .lp .lp-cta {
    border-color: var(--ft-border);
    border-radius: var(--ft-radius-lg);
    box-shadow: none;
    padding: clamp(1.5rem, 4vw, 3rem);
}

/* 8. Tablet / phone ------------------------------------------------------- */
@media (max-width: 1100px) {
    /* Families and newest models side by side as long as both fit. */
    body:not(:has(.admin-shell)) .lp .lp-devices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet: even two-column grids instead of 3 + a lone last card. */
@media (min-width: 641px) and (max-width: 900px) {
    body:not(:has(.admin-shell)) .lp .lp-categories,
    body:not(:has(.admin-shell)) .lp .lp-method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    body:not(:has(.admin-shell)) .lp .lp-devices { grid-template-columns: minmax(0, 1fr); gap: var(--ft-s3); }
    /* Product rows: about 1.3 cards so the next card shows there is more. */
    body:not(:has(.admin-shell)) .lp .lp-product-slider,
    body:not(:has(.admin-shell)) .lp .lp-product-grid { grid-auto-columns: 260px; }
}

@media (max-width: 640px) {
    body:not(:has(.admin-shell)) .lp { gap: 2rem; padding-top: 0; }
    body:not(:has(.admin-shell)) .lp .lp-hero { padding: var(--ft-s5) 0 0; }
    body:not(:has(.admin-shell)) .lp .lp-lead { margin-top: var(--ft-s3); }
    body:not(:has(.admin-shell)) .lp .lp-search { margin-top: var(--ft-s5); }
    /* The placeholder already says what to type; the long hint pushed the
       account choice below the first screen. */
    body:not(:has(.admin-shell)) .lp .lp-search-hint { display: none; }
    body:not(:has(.admin-shell)) .lp .lp-access { margin-top: var(--ft-s4); }
    body:not(:has(.admin-shell)) .lp .lp-access { padding: var(--ft-s3); }
    body:not(:has(.admin-shell)) .lp .lp-access-actions > *,
    body:not(:has(.admin-shell)) .lp .lp-shortcuts > * { flex: 1 1 auto; padding-inline: var(--ft-s3); }
    body:not(:has(.admin-shell)) .lp .lp-stats { margin-top: var(--ft-s4); font-size: var(--ft-fs-xs); }

    body:not(:has(.admin-shell)) .lp .lp-section-head { flex-direction: row; align-items: flex-end; flex-wrap: wrap; gap: 0 var(--ft-s3); }
    body:not(:has(.admin-shell)) .lp .lp-product-section .lp-section-head { flex-wrap: nowrap; }
    body:not(:has(.admin-shell)) .lp .lp-product-section-actions { width: auto; }

    /* Device families: compact two-column grid. */
    body:not(:has(.admin-shell)) .lp .lp-families { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ft-s2); }
    body:not(:has(.admin-shell)) .lp .lp-family {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: var(--ft-s2) var(--ft-s3);
    }
    body:not(:has(.admin-shell)) .lp .lp-family-go { display: none; }
    body:not(:has(.admin-shell)) .lp .lp-family-name { overflow-wrap: anywhere; }
    body:not(:has(.admin-shell)) .lp .lp-models { padding: var(--ft-s4); }
    body:not(:has(.admin-shell)) .lp .lp-models-note { display: none; }
    body:not(:has(.admin-shell)) .lp .lp-models h3 { margin-bottom: var(--ft-s3); font-size: var(--ft-fs-base); }

    /* Newest models: two columns; long names wrap inside their chip. */
    body:not(:has(.admin-shell)) .lp .lp-model-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ft-s2); width: 100%; }
    body:not(:has(.admin-shell)) .lp .lp-model-chip {
        justify-content: space-between;
        min-height: var(--ft-control-h);
        padding: var(--ft-s1) var(--ft-s3);
        border-radius: var(--ft-radius-md);
        line-height: 1.25;
    }

    /* Six newest models are enough here; the link below opens all of them. */
    body:not(:has(.admin-shell)) .lp .lp-model-chip:nth-child(n + 7) { display: none; }

    /* Part categories: compact two-column grid, small icon left of the name. */
    body:not(:has(.admin-shell)) .lp .lp-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ft-s2); }
    body:not(:has(.admin-shell)) .lp .lp-category {
        grid-template-columns: 28px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        align-content: start;
        gap: 2px var(--ft-s2);
        padding: var(--ft-s3) var(--ft-s2) var(--ft-s3) var(--ft-s3);
    }
    body:not(:has(.admin-shell)) .lp .lp-category-icon { grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; }
    body:not(:has(.admin-shell)) .lp .lp-category-icon svg { width: 16px; height: 16px; }
    body:not(:has(.admin-shell)) .lp .lp-category-name { font-size: var(--ft-fs-sm); line-height: 1.25; }
    body:not(:has(.admin-shell)) .lp .lp-category-count { grid-column: 2; font-size: var(--ft-fs-xs); }
    body:not(:has(.admin-shell)) .lp .lp-category-go { display: none; }

    /* Accessories: the same two-column rhythm as the part cards. */
    body:not(:has(.admin-shell)) .lp .lp-supplies { display: block; }
    body:not(:has(.admin-shell)) .lp .lp-supplies-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body:not(:has(.admin-shell)) .lp .lp-supplies-list a {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        height: 100%;
        min-height: var(--ft-control-h);
        padding: var(--ft-s2) var(--ft-s3);
        line-height: 1.25;
    }
    /* The catalogue link sits in the header menu; here it only pushed the
       part cards further down. */
    body:not(:has(.admin-shell)) .lp section:has(> .lp-categories) .lp-section-link { display: none; }

    body:not(:has(.admin-shell)) .lp .lp-method { padding: var(--ft-s5) 0; }
    body:not(:has(.admin-shell)) .lp .lp-method-list { grid-template-columns: minmax(0, 1fr); gap: var(--ft-s4); }
    body:not(:has(.admin-shell)) .lp .lp-method-list li { gap: 2px; }
    body:not(:has(.admin-shell)) .lp .lp-cta-actions { width: 100%; }
    body:not(:has(.admin-shell)) .lp .lp-cta-actions > * { flex: 1 1 100%; justify-content: center; }
}

/* Review round 1 (integration, 14 Nov 2026).
   Tile labels no longer break mid-word with auto hyphens ('onderde-len').
   On phones the part icon sits above the name, so long words fit on the tile;
   accessories become a one-column list with the same 'N producten' count. */
body:not(:has(.admin-shell)) .lp :is(.lp-category-name, .lp-supplies-list a > span, .lp-model-chip > span, .lp-family-name) { -webkit-hyphens: manual; hyphens: manual; }
@media (max-width: 479.98px) {
    body:not(:has(.admin-shell)) .lp .lp-category { grid-template-columns: minmax(0, 1fr); }
    body:not(:has(.admin-shell)) .lp .lp-category-icon { grid-row: auto; margin-bottom: var(--ft-s1); }
    body:not(:has(.admin-shell)) .lp .lp-category-count { grid-column: 1; }
    body:not(:has(.admin-shell)) .lp .lp-supplies-list { grid-template-columns: minmax(0, 1fr); }
    body:not(:has(.admin-shell)) .lp .lp-supplies-list a { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--ft-s3); }
}

/* ==========================================================================
   ux6 S4 (14 Nov 2026)
   ========================================================================== */
/* DJ-07 / IC-01: tile labels never split mid-word ('simkaarthoude|rs').
   From 480px: break only at spaces, and hyphenate (html lang = page locale)
   only long compound words: at least 13 letters, 6 before and 5 after the
   hyphen, so 'onderdelen' and 'achterglas' stay whole. */
@media (min-width: 480px) {
    body:not(:has(.admin-shell)) .lp :is(.lp-category-name, .lp-family-name, .lp-supplies-list a > span) {
        overflow-wrap: normal;
        word-break: normal;
        -webkit-hyphens: auto;
        hyphens: auto;
        -webkit-hyphenate-limit-before: 6;
        -webkit-hyphenate-limit-after: 5;
        hyphenate-limit-chars: 13 6 5;
    }
}

/* a11y F6: hero search placeholder at 4.6:1 on white (was lighter). */
body:not(:has(.admin-shell)) .lp .lp-search-field input::placeholder { color: var(--ft-text-subtle); opacity: 1; }

/* DJ-02: the hero search button and the card 'Toevoegen' button use the two
   shared heights (44px; 36px on cards from 481px). */
body:not(:has(.admin-shell)) .lp .lp-search-submit { height: var(--btn-h, 44px); min-height: var(--btn-h, 44px); padding-top: 0; padding-bottom: 0; }
body:not(:has(.admin-shell)) .lp .lp-product-add { box-sizing: border-box; height: var(--btn-h-sm, 36px); min-height: var(--btn-h-sm, 36px); padding-top: 0; padding-bottom: 0; }
@media (max-width: 480px) {
    body:not(:has(.admin-shell)) .lp .lp-product-add { height: var(--btn-h, 44px); min-height: var(--btn-h, 44px); }
}

/* IC-18: a card without a photo shows its category glyph, quiet and centred. */
body:not(:has(.admin-shell)) .lp .lp-product-placeholder {
    display: grid; place-items: center; width: 100%; height: 100%;
    color: var(--ft-text-subtle); background: var(--ft-surface-2);
}
body:not(:has(.admin-shell)) .lp .lp-product-placeholder svg { width: 44px; height: 44px; }
/* Slider arrows: one size (36px) instead of 32-36px depending on width. */
body:not(:has(.admin-shell)) .lp .lp-slider-controls button { width: var(--btn-h-sm, 36px); height: var(--btn-h-sm, 36px); }

/* ux6 review round 1: the stats line ('7.846 artikelen · 357 modellen ·
   12 categorieën') is filled when the catalogue data arrives; reserve its
   one line so the sections below do not jump (CLS 0.14 at 768px). */
body:not(:has(.admin-shell)) .lp .lp-stats { min-height: 1.5em; line-height: 1.5; }

/* ==========================================================================
   Desktop first screen (14 Nov 2026): the right half of the hero was empty.
   From 1024px the device section moves up into the hero's right column as
   one compact picker (brand tabs, then the models with the most parts) and
   the device section further down is hidden, so nothing is shown twice.
   Below 1024px the picker is never shown and the page is unchanged.
   ========================================================================== */
body:not(:has(.admin-shell)) .lp .lp-finder { display: none; }

@media (min-width: 1024px) {
    body:not(:has(.admin-shell)) .lp .lp-hero:has(> .lp-finder:not([hidden])) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(21rem, 38%, 30rem);
        align-items: start;
        gap: clamp(2rem, 4vw, 4rem);
    }
    /* Explicit cells: the decorative mesh layer must not take a grid cell. */
    body:not(:has(.admin-shell)) .lp .lp-hero-mesh { grid-column: 1 / -1; grid-row: 1; }
    body:not(:has(.admin-shell)) .lp .lp-hero-body { grid-column: 1; grid-row: 1; max-width: none; min-width: 0; }
    body:not(:has(.admin-shell)) .lp .lp-finder { grid-column: 2; grid-row: 1; }
    body:not(:has(.admin-shell)) .lp:has(.lp-finder:not([hidden])) .lp-devices-section { display: none; }

    body:not(:has(.admin-shell)) .lp .lp-finder {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: var(--ft-s5);
        border: 1px solid var(--ft-border);
        border-radius: var(--ft-radius-lg);
        background: var(--ft-surface, #fff);
        box-shadow: var(--ft-shadow-sm);
    }
    body:not(:has(.admin-shell)) .lp .lp-finder[hidden] { display: none; }
    body:not(:has(.admin-shell)) .lp .lp-finder .lp-kicker { margin: 0 0 var(--ft-s1); }
    body:not(:has(.admin-shell)) .lp .lp-finder h2 {
        margin: 0;
        color: var(--ft-text);
        font-size: var(--ft-fs-lg);
        font-weight: var(--ft-fw-semibold);
        line-height: 1.25;
    }

    /* Brand tabs: one row of compact buttons that wraps when it must. */
    body:not(:has(.admin-shell)) .lp .lp-finder-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: var(--ft-s2);
        min-height: var(--ft-control-h-dense);
        margin-top: var(--ft-s4);
    }
    body:not(:has(.admin-shell)) .lp .lp-finder-tab {
        display: inline-flex;
        align-items: center;
        min-height: var(--ft-control-h-dense);
        padding: 0 var(--ft-s3);
        border: 1px solid var(--ft-border-strong);
        border-radius: var(--ft-radius-md);
        background: var(--ft-surface, #fff);
        color: var(--ft-text);
        font: inherit;
        font-size: var(--ft-fs-sm);
        font-weight: var(--ft-fw-semibold);
        white-space: nowrap;
        cursor: pointer;
    }
    body:not(:has(.admin-shell)) .lp .lp-finder-tab:hover { border-color: var(--ft-primary); }
    body:not(:has(.admin-shell)) .lp .lp-finder-tab[aria-selected="true"] {
        border-color: var(--ft-primary);
        background: var(--ft-primary-soft);
        color: var(--ft-primary-text);
        box-shadow: inset 0 0 0 1px var(--ft-primary);
    }
    body:not(:has(.admin-shell)) .lp .lp-skeleton-tab { width: 84px; height: var(--ft-control-h-dense); border-radius: var(--ft-radius-md); }

    /* Models of the chosen brand: the same chips as elsewhere on the page.
       The area keeps three chip rows of room, so switching brands or the
       data arriving does not move the content around it. */
    body:not(:has(.admin-shell)) .lp .lp-finder-panel { margin-top: var(--ft-s4); }
    body:not(:has(.admin-shell)) .lp .lp-finder-sub {
        margin: 0 0 var(--ft-s2);
        color: var(--ft-text-muted);
        font-size: var(--ft-fs-xs);
        font-weight: var(--ft-fw-semibold);
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
    body:not(:has(.admin-shell)) .lp .lp-finder-models { align-content: flex-start; min-height: calc(3 * 36px + 2 * var(--ft-s2)); }
    body:not(:has(.admin-shell)) .lp .lp-finder-models .lp-model-chip { max-width: 100%; padding: 0 var(--ft-s3); }
    body:not(:has(.admin-shell)) .lp .lp-finder-models .lp-model-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    body:not(:has(.admin-shell)) .lp .lp-finder-foot {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0 var(--ft-s4);
        margin-top: var(--ft-s3);
        padding-top: var(--ft-s2);
        border-top: 1px solid var(--ft-divider);
    }
    body:not(:has(.admin-shell)) .lp .lp-finder-link {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        min-height: var(--ft-control-h-dense);
        color: var(--ft-primary-text);
        font-size: var(--ft-fs-sm);
        font-weight: var(--ft-fw-semibold);
    }
    body:not(:has(.admin-shell)) .lp .lp-finder-link[hidden] { display: none; }
    body:not(:has(.admin-shell)) .lp .lp-finder-link small { color: var(--ft-text-muted); font-weight: var(--ft-fw-regular); font-size: var(--ft-fs-xs); }
    body:not(:has(.admin-shell)) .lp .lp-finder-link svg { width: 16px; height: 16px; flex: none; }
    body:not(:has(.admin-shell)) .lp .lp-finder-link:hover span { text-decoration: underline; }
}

/* ==========================================================================
   Design review (14 Nov 2026)
   ========================================================================== */
/* DR-01: slider arrows. The chevron is a ::before mask (bundle); the hidden
   text glyph (font-size 0) still formed a second grid row, which pushed the
   chevron about 2px above the middle of the round button. As a flex row the
   empty text takes no height and the chevron is centred. */
body:not(:has(.admin-shell)) .lp .lp-slider-controls button { display: flex; align-items: center; justify-content: center; }

/* DR-02: part tiles from 641px. The content was centred vertically, so in a
   row with one long name ('Kleine onderdelen & simkaarthouders') the names
   and counts of the other tiles sat at different heights. Now every tile
   starts at the top: the count reads directly under its name (no gap in a tall
   row) and the arrow sits on the bottom edge. */
@media (min-width: 641px) {
    body:not(:has(.admin-shell)) .lp .lp-category { grid-template-rows: auto 1fr; align-items: start; }
    body:not(:has(.admin-shell)) .lp .lp-category-count { align-self: start; }
    body:not(:has(.admin-shell)) .lp .lp-category-go { align-self: end; }
}

/* ==========================================================================
   Round 8 design (14 Nov 2026)
   ========================================================================== */
/* R8-06: section rhythm. The hero kept 45px of bottom padding on top of the
   56px gap between landing sections, so the space under the device finder was
   about 100px against 56px between all other sections. The hero has no
   background of its own, so the padding only added emptiness. */
@media (min-width: 721px) {
    body:not(:has(.admin-shell)) .lp .lp-hero { padding-bottom: 0; }
}
