/* Boi_ShopBy layered-nav sidebar — Apple system language.
   Tokens --sys-* da public/skin/.../css/boi_theme/tokens.css
   (caricato prima di questo file via layout XML). */

.boi-layer {
    position: relative;
    font-size: 14px;
    color: var(--sys-ink);
    transition: opacity 0.2s var(--sys-ease);
}
.boi-layer--loading {
    opacity: 0.55;
    pointer-events: none;
}
/* Spinner overlay durante le fetch AJAX */
.boi-layer--loading::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--sys-blue);
    border-radius: 50%;
    animation: boi-layer-spin 0.8s linear infinite;
    z-index: 2;
    pointer-events: none;
}
@keyframes boi-layer-spin { to { transform: rotate(360deg); } }

.boi-layer-mobile-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    background: #222;
    color: #fff;
    border: 0;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
}

.boi-layer-mobile-toggle .boi-layer-count {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #fa4c06;
    border-radius: 10px;
    font-size: 12px;
    color: #fff;
}

.boi-layer-body {
    display: block;
}

/* --------- active-filter chips: iOS pill capsule --------- */
.boi-layer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0;
    margin-bottom: 12px;
    border-bottom: 0.5px solid var(--sys-hairline);
}
.boi-layer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    background: var(--sys-surface-alt);
    border-radius: 999px;         /* capsule iOS */
    border-left: 3px solid #9aa0a6;
    font-size: 12px;
    color: var(--sys-ink);
    text-decoration: none;
    transition: background 0.2s var(--sys-ease),
                transform 0.2s var(--sys-ease),
                border-left-color 0.2s var(--sys-ease);
}
.boi-layer-chip:hover {
    background: #ebebed;
    text-decoration: none;
    transform: translateY(-0.5px);
}
.boi-layer-chip-group {
    color: var(--sys-ink-soft);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: -0.005em;
    line-height: 1.3;
}
.boi-layer-chip-value {
    color: var(--sys-ink);
    font-weight: 600;
    letter-spacing: -0.01em;      /* SF-style optical tight */
    line-height: 1.3;
}
.boi-layer-chip-remove {
    font-weight: 500;
    color: var(--sys-ink-soft);
    font-size: 16px;
    line-height: 1;
    transition: color 0.18s var(--sys-ease);
}
.boi-layer-chip:hover .boi-layer-chip-remove { color: var(--sys-red); }  /* iOS system red */

/* Bordo sx per gruppo attributo — gruppi principali con colore dedicato,
   gli altri ereditano grigio default */
.boi-layer-chip[data-group="manufacturer"]    { border-left-color: var(--sys-blue); }
.boi-layer-chip[data-group="price"]           { border-left-color: #1e8e3e; }
.boi-layer-chip[data-group="cat"],
.boi-layer-chip[data-group="category_ids"]    { border-left-color: #f9ab00; }
.boi-layer-chip[data-group="color"]           { border-left-color: #d93025; }
.boi-layer-chip[data-group="size"],
.boi-layer-chip[data-group="size_shoe"],
.boi-layer-chip[data-group="size_helmet"]     { border-left-color: #9334e6; }
.boi-layer-chip[data-group="material"],
.boi-layer-chip[data-group="material_helmet"] { border-left-color: #e37400; }

.boi-layer-clear {
    padding: 4px 10px;
    font-size: 12px;
    color: var(--sys-blue);
    text-decoration: none;
    align-self: center;
    font-weight: 500;
}
.boi-layer-clear:hover { text-decoration: underline; }

/* --------- groups (collapsibili via <details>/<summary>) --------- */
.boi-layer-group {
    padding: 12px 0;
    border-bottom: 0.5px solid var(--sys-hairline);
}
.boi-layer-group:last-of-type { border-bottom: 0; }

.boi-layer-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;           /* hide the default marker */
    user-select: none;
    padding: 4px 0;
    margin: 0 0 8px;
}
.boi-layer-group-header::-webkit-details-marker { display: none; }
.boi-layer-group-header::marker { content: ''; }
.boi-layer-group-header:focus-visible {
    outline: 2px solid var(--sys-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.boi-layer-group-title {
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;        /* SF-style optical tight */
    color: var(--sys-ink);
}

/* Badge sul summary quando il gruppo ha filtri attivi selezionati
   (es. "Marchi (2)"). Visibile anche quando il gruppo è collassato,
   così l'utente sa di avere filtri lì dentro. */
.boi-layer-group-badge {
    flex: 0 0 auto;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    margin-right: 8px;
    background: var(--sys-blue);
    color: #fff;
    border-radius: 999px;           /* iOS capsule badge */
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 18px;
    text-align: center;
}

/* Chevron: stroke thinner (1.5px) + spring easing on toggle */
.boi-layer-group-chevron {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--sys-ink-soft);
    border-bottom: 1.5px solid var(--sys-ink-soft);
    transform: rotate(-45deg);
    transition: transform 0.3s var(--sys-ease-spring);
    margin-right: 6px;
}
.boi-layer-group[open] > .boi-layer-group-header .boi-layer-group-chevron {
    transform: rotate(45deg);
}

/* --------- in-group search: iOS UISearchBar feel --------- */
.boi-layer-group-search {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 7px 12px 7px 30px;       /* extra left per la magnifying glass */
    margin: 0 0 8px;
    border: 0;
    border-radius: 10px;              /* iOS rounded-input */
    font-size: 13px;
    letter-spacing: -0.005em;
    color: var(--sys-ink);
    background: var(--sys-surface-alt)
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='6' cy='6' r='4.5' stroke='%238e8e93' stroke-width='1.4'/%3E%3Cline x1='9.5' y1='9.5' x2='12.5' y2='12.5' stroke='%238e8e93' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E")
                no-repeat 10px center;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.18s var(--sys-ease),
                box-shadow 0.18s var(--sys-ease);
}
.boi-layer-group-search::placeholder { color: var(--sys-ink-soft); }
.boi-layer-group-search:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--sys-blue-soft);
}

/* --------- option lists --------- */
.boi-layer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.boi-layer-list--brands {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.boi-layer-item {
    padding: 1px 0;
    border-left: 3px solid transparent;
    padding-left: 4px;
    transition: background 0.12s, border-left-color 0.12s;
}
.boi-layer-item.is-hidden { display: none; }
.boi-layer-item.is-filtered-out { display: none !important; }
.boi-layer-list.is-expanded .boi-layer-item.is-hidden { display: list-item; }

.boi-layer-item.is-active {
    background: var(--sys-blue-tint);
    border-left-color: var(--sys-blue);
}
.boi-layer-item.is-active .boi-layer-label { font-weight: 600; color: #111; }

.boi-layer-link,
.boi-layer-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    padding: 6px 4px;
}
.boi-layer-link:hover,
.boi-layer-option:hover { background: #f5f5f5; }

/* Checkbox iOS: rounded-square 18px con SF-style checkmark SVG
   (usa pseudo-element invece di accent-color per full control).
   Fallback su accent-color se il browser non supporta appearance:none. */
.boi-layer-checkbox {
    flex: 0 0 auto;
    margin: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #c7c7cc;       /* grigio iOS control */
    border-radius: 5px;                /* squircle feel */
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: background 0.18s var(--sys-ease),
                border-color 0.18s var(--sys-ease);
    accent-color: var(--sys-blue);   /* fallback */
}
.boi-layer-checkbox:hover { border-color: var(--sys-blue); }
.boi-layer-checkbox:checked {
    background: var(--sys-blue);
    border-color: var(--sys-blue);
}
.boi-layer-checkbox:checked::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 5.2L4 7.2L8 3' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    animation: boi-check-in 0.22s var(--sys-ease-spring);
}
@keyframes boi-check-in {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.boi-layer-checkbox:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--sys-blue-soft);
}

.boi-layer-logo {
    max-width: 60px;
    max-height: 28px;
    object-fit: contain;
}

.boi-layer-label { flex: 1 1 auto; }
.boi-layer-count {
    flex: 0 0 auto;
    color: #888;
    font-size: 12px;
    font-weight: 500;
}

/* Brand tile (no checkbox, selectable card) */
.boi-layer-item--tile {
    padding: 0;
    border-left: 0;
}
.boi-layer-item--tile.is-active { background: transparent; border-left: 0; }
.boi-layer-brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 8px 10px;
    border: 0.5px solid var(--sys-hairline);
    border-radius: 10px;              /* iOS card rounded */
    background: #fff;
    color: inherit;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s var(--sys-ease),
                background 0.2s var(--sys-ease),
                box-shadow 0.2s var(--sys-ease),
                transform 0.2s var(--sys-ease);
}
.boi-layer-brand-tile:hover {
    border-color: var(--sys-blue);
    background: var(--sys-blue-tint);
    text-decoration: none;
}
.boi-layer-item--tile.is-active .boi-layer-brand-tile {
    border-color: var(--sys-blue);
    background: var(--sys-blue-tint);
    box-shadow: inset 0 0 0 1px var(--sys-blue);
}
.boi-layer-brand-tile .boi-layer-logo {
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
}
.boi-layer-brand-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

/* --------- generic chip options (gender, size, material, ecc.)
   Uniforma lo stile tile anche per gli attributi testuali senza
   visual affordance. Pill pressable con label + count, hover
   border-shift, active state bg+border blu Apple.
   Sostituisce la checkbox-list per tutti i facet non-brand/non-color. */
.boi-layer-list--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0 2px;
}
.boi-layer-item--chip {
    padding: 0;
    border-left: 0;
    list-style: none;
}
.boi-layer-item--chip.is-active {
    background: transparent;
    border-left: 0;
}
.boi-layer-chip-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 0.5px solid var(--sys-hairline);
    border-radius: 999px;
    background: var(--sys-surface);
    color: var(--sys-ink);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: -0.005em;
    line-height: 1.2;
    cursor: pointer;
    transition:
        border-color 0.18s var(--sys-ease),
        background 0.18s var(--sys-ease),
        box-shadow 0.18s var(--sys-ease),
        transform 0.18s var(--sys-ease);
}
.boi-layer-chip-option:hover {
    border-color: var(--sys-blue);
    background: var(--sys-surface-alt);
    text-decoration: none;
    transform: translateY(-0.5px);
}
.boi-layer-item--chip.is-active .boi-layer-chip-option {
    border-color: var(--sys-blue);
    background: var(--sys-blue-tint);
    color: var(--sys-blue);
    box-shadow: inset 0 0 0 1px var(--sys-blue);
}
.boi-layer-chip-option-label {
    font-weight: 500;
}
.boi-layer-item--chip.is-active .boi-layer-chip-option-label {
    font-weight: 600;
}
.boi-layer-chip-option-count {
    color: var(--sys-ink-soft);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}
.boi-layer-item--chip.is-active .boi-layer-chip-option-count {
    color: var(--sys-blue);
    opacity: 0.8;
}
.boi-layer-chip-option:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--sys-blue-soft);
}

/* --------- color swatch filter --------- */
/* Layout "editorial": swatch pure circolare (niente card intorno),
   label tipografica sotto. Griglia 3-col compatta. Hover = micro-scale
   + shadow sfumata. Active = ring offset 2px nel colore brand. */
.boi-layer-list--colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
    padding: 8px 2px 4px;
}
.boi-layer-item--color {
    padding: 0;
    border-left: 0;
    list-style: none;
}
.boi-layer-item--color.is-active { background: transparent; border-left: 0; }

.boi-layer-color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease-out;
}
.boi-layer-color-swatch:hover { text-decoration: none; transform: translateY(-1px); }

/* Il pallino — centerpiece di tutto */
.boi-layer-color-dot {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eee;
    /* Profondità: inner shadow leggera sopra + outer shadow quasi
       invisibile per "sollevare" dal fondo bianco */
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out;
}

/* Bianco: ha bisogno di un bordo sottile per staccarsi dalla pagina */
.boi-layer-color-swatch[title*="ianco" i] .boi-layer-color-dot,
.boi-layer-color-swatch[title*="hite" i] .boi-layer-color-dot {
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.08);
}

.boi-layer-color-swatch:hover .boi-layer-color-dot {
    transform: scale(1.08);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.14);
}

/* Label: small caps editorial */
.boi-layer-color-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #5f6368;
    line-height: 1.2;
    text-align: center;
    transition: color 0.15s;
}
.boi-layer-color-swatch:hover .boi-layer-color-label { color: #202124; }

/* Active state: ring offset 2px nel blu brand, label bolded */
.boi-layer-item--color.is-active .boi-layer-color-dot {
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 0 0 2px #fff,
        0 0 0 4px var(--sys-blue);
    transform: scale(1.05);
}
.boi-layer-item--color.is-active .boi-layer-color-label {
    color: var(--sys-blue);
    font-weight: 600;
}

/* Colore sconosciuto: pattern diagonale discreto */
.boi-layer-item--color-unknown .boi-layer-color-dot {
    background: repeating-linear-gradient(
        45deg,
        #eeeeee 0 4px,
        #cccccc 4px 8px
    );
}

/* Focus state (keyboard nav) */
.boi-layer-color-swatch:focus-visible {
    outline: none;
}
.boi-layer-color-swatch:focus-visible .boi-layer-color-dot {
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 0 0 2px #fff,
        0 0 0 4px var(--sys-blue);
}

/* --------- show more/less toggle --------- */
.boi-layer-item--toggle {
    padding: 2px 0;
    border-left: 0;
    padding-left: 0;
}
.boi-layer-item--toggle:hover { background: transparent; }
.boi-layer-show-more {
    display: inline-block;
    background: transparent;
    border: 0;
    padding: 6px 4px;
    color: var(--sys-blue);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.boi-layer-show-more:hover { text-decoration: underline; }

/* In-group search — "no matches" inline feedback quando la query
   non trova nulla. Template lo stampa con `hidden`; JS toggle-a
   la visibility in base al risultato del filtro. */
.boi-layer-item--no-match {
    padding: 8px 4px;
    border-left: 0;
    color: #70757a;
    font-style: italic;
    font-size: 13px;
}
.boi-layer-item--no-match:hover { background: transparent; }

/* aria-live region: visibile solo agli screen reader (hidden visually). */
.boi-layer-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------- price slider --------- */
.boi-layer-price-track {
    position: relative;
    height: 30px;
    margin: 12px 8px 4px;
}
.boi-layer-price-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    margin-top: -2px;
    background: #e0e0e0;
    border-radius: 2px;
    pointer-events: none;
}
.boi-layer-price-fill {
    position: absolute;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    left: var(--boi-price-fill-left, 0%);
    width: var(--boi-price-fill-width, 100%);
    background: var(--sys-blue);
    border-radius: 2px;
    pointer-events: none;
}
.boi-layer-price-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
/* Slider thumb iOS: white disk 22px + blue dot interno, depth via
   layered shadow (0.5px ring + 1/2/6px drop), hover springy scale */
.boi-layer-price-input::-webkit-slider-thumb {
    pointer-events: all;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--sys-blue) 0 32%, #fff 34%),
        #fff;
    border: 0;
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.1);
    -webkit-appearance: none;
    appearance: none;
    cursor: grab;
    margin-top: -9px;
    transition: transform 0.18s var(--sys-ease-spring),
                box-shadow 0.18s var(--sys-ease);
}
.boi-layer-price-input::-webkit-slider-thumb:hover {
    transform: scale(1.12);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.15);
}
.boi-layer-price-input::-webkit-slider-thumb:active { cursor: grabbing; }
.boi-layer-price-input::-moz-range-thumb {
    pointer-events: all;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--sys-blue) 0 32%, #fff 34%),
        #fff;
    border: 0;
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: grab;
    transition: transform 0.18s var(--sys-ease-spring);
}
.boi-layer-price-input::-moz-range-thumb:hover { transform: scale(1.12); }
.boi-layer-price-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border-radius: 2px;
}
.boi-layer-price-input::-moz-range-track {
    height: 4px;
    background: transparent;
    border-radius: 2px;
}

.boi-layer-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #333;
    font-weight: 600;
    padding: 4px 6px 0;
}

/* --------- mobile footer CTA (drawer only) --------- */
.boi-layer-mobile-footer { display: none; }

/* --------- mobile drawer --------- */
@media (max-width: 768px) {
    .boi-layer-mobile-toggle { display: block; }
    .boi-layer-body {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 85vw;
        max-width: 360px;
        background: #fff;
        padding: 16px 16px 72px;    /* bottom padding = footer height */
        overflow-y: auto;
        z-index: 1000;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.25s ease-out;
    }
    .boi-layer-body.is-open {
        display: block;
        transform: translateX(0);
    }
    .boi-layer-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }
    .boi-layer-backdrop.is-open { display: block; }

    /* Il footer è figlio di .boi-layer-body che ha transform applicato →
       crea un nuovo containing block per position:fixed, quindi il footer
       è "fixed within the drawer" e scorre con esso. */
    .boi-layer-body .boi-layer-mobile-footer {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 16px;
        background: #fff;
        box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.08);
        z-index: 1;
    }
    /* Apply CTA iOS-style: full-width pill, bold, blu piatto */
    .boi-layer-apply {
        display: block;
        width: 100%;
        padding: 14px;
        background: var(--sys-blue);
        color: #fff;
        border: 0;
        border-radius: 12px;              /* iOS CTA rounded */
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.01em;
        cursor: pointer;
        transition: background 0.18s var(--sys-ease),
                    transform 0.1s var(--sys-ease);
    }
    .boi-layer-apply:hover { background: var(--sys-blue-hover); }
    .boi-layer-apply:active { transform: scale(0.98); }   /* iOS tap feedback */
}
