/* KDF header/footer/cart-drawer static CSS (extracted from partial inline <style>, 2026-10-03). */
/* --- from header.blade.php --- */

:root {
    --nv-green: var(--store-button, var(--store-primary, #075B3A));
    --nv-green-dark: var(--store-button-hover, var(--kdf-deep, #043D28));
    --nv-green-light: var(--store-surface, var(--kdf-bg-section, #EFF8EF));
    --nv-orange: var(--store-secondary, var(--kdf-secondary, #F58300));
    --nv-text: var(--store-text, var(--kdf-heading, #172116));
    --nv-muted: var(--store-muted, var(--kdf-muted, #6F7A70));
    --nv-border: var(--store-border, #E4E9E2);
    --nv-white: #FFFFFF;
}
.nv-container { width: min(100% - 80px, 1720px); margin-inline: auto; }
@media (min-width: 1920px) {
    .nv-container { width: min(100% - 96px, 1760px); }
    .nv-mega { width: min(100% - 96px, 1760px); }
}
@media (prefers-reduced-motion: reduce) {
    .nv-mega { transition: none; }
    .nv-ticker-track { animation: none; }
}
.nv-ticker { overflow: hidden; flex: 1; min-width: 0; }
.nv-ticker-track {
    display: flex; align-items: center; gap: 42px; width: max-content;
    animation: nv-ticker 36s linear infinite;
}
.nv-ticker:hover .nv-ticker-track { animation-play-state: paused; }
.nv-ticker .nv-top-item { gap: 10px; }
.nv-ticker .nv-top-item::before {
    content: ""; width: 5px; height: 5px; border-radius: 99px; background: currentColor; opacity: .75;
}
.nv-topbar-left.is-ticker { flex: 1; min-width: 0; flex-wrap: nowrap; }
.nv-m-promo.is-scroll { display: block; padding: 0 0 0 14px; }
.nv-m-promo.is-scroll .nv-ticker-track { padding: 9px 0; }
@keyframes nv-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nv-header {
    position: sticky; top: 0; z-index: 1000; background: var(--nv-white);
    overflow-anchor: none;
}
.nv-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.nv-header.is-compact.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.nv-header svg { width: 1em; height: 1em; stroke-width: 1.9; }

/* Desktop: collapse topbar + category nav on scroll (keep search bar) */
@media (min-width: 901px) {
    .nv-desktop .nv-topbar,
    .nv-desktop .nv-nav {
        overflow: hidden;
        transition:
            max-height .32s cubic-bezier(.22, .61, .36, 1),
            opacity .22s ease,
            border-color .22s ease;
        will-change: max-height, opacity;
    }
    .nv-desktop .nv-topbar { max-height: 48px; }
    .nv-desktop .nv-nav { max-height: 80px; }
    .nv-desktop .nv-nav.mega-open {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .nv-header.is-compact .nv-desktop .nv-topbar {
        max-height: 0;
        opacity: 0;
        border-bottom-color: transparent;
        pointer-events: none;
    }
    .nv-header.is-compact .nv-desktop .nv-nav:not(.mega-open) {
        max-height: 0;
        opacity: 0;
        border-bottom-color: transparent;
        pointer-events: none;
    }
    .nv-main-inner {
        transition: min-height .32s cubic-bezier(.22, .61, .36, 1), padding .32s cubic-bezier(.22, .61, .36, 1);
    }
    .nv-logo img {
        transition: height .32s cubic-bezier(.22, .61, .36, 1), max-width .32s cubic-bezier(.22, .61, .36, 1);
    }
    .nv-logo .nv-tag {
        transition: opacity .2s ease, max-height .32s ease, margin .32s ease;
        max-height: 20px;
        overflow: hidden;
    }
    .nv-header.is-compact .nv-main-inner {
        min-height: 64px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .nv-header.is-compact .nv-logo img {
        height: 44px;
        max-width: 140px;
    }
    .nv-header.is-compact .nv-logo .nv-tag {
        opacity: 0;
        max-height: 0;
        margin: 0;
    }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
    .nv-desktop .nv-topbar,
    .nv-desktop .nv-nav,
    .nv-main-inner,
    .nv-logo img,
    .nv-logo .nv-tag {
        transition: none;
    }
}

.nv-topbar {
    background: var(--nv-green); color: #fff; font-size: 12.5px; font-weight: 600;
}
.nv-topbar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 38px; padding: 6px 0;
}
.nv-topbar-left, .nv-topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nv-top-item, .nv-topbar-right a {
    display: inline-flex; align-items: center; gap: 7px; color: #fff; white-space: nowrap; opacity: .96;
}
.nv-top-item svg, .nv-topbar-right a svg { width: 15px; height: 15px; flex-shrink: 0; }
.nv-topbar-right a:hover { opacity: 1; text-decoration: underline; }

.nv-main { border-bottom: 1px solid var(--nv-border); background: #fff; }
.nv-main-inner {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto auto;
    align-items: center; gap: 18px; min-height: 88px; padding: 10px 0;
}
.nv-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.nv-logo img { height: 56px; width: 156px; max-width: 156px; display: block; object-fit: contain; object-position: left center; }
.nv-logo .nv-tag { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-muted); font-weight: 700; }
.nv-account { position: relative; }
.nv-account-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
    min-width: 196px; background: #fff; border: 1px solid var(--nv-border); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,.1); padding: 6px;
}
.nv-account:hover .nv-account-menu, .nv-account:focus-within .nv-account-menu { display: block; }
.nv-account-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--nv-text); }
.nv-account-menu a:hover { background: var(--nv-green-light); color: var(--nv-green); }
.nv-nav-links a.active { color: var(--nv-green); position: relative; }
.nv-nav-links a.active::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
    background: var(--nv-green); border-radius: 999px;
}

.nv-search-wrapper { position: relative; width: 100%; max-width: 720px; justify-self: center; }
.nv-search {
    display: flex; align-items: center; height: 58px; border-radius: 30px;
    background: #fff; border: 1px solid #DDE5DC; box-shadow: 0 3px 16px rgba(0,0,0,.05);
    padding: 4px 4px 4px 16px; gap: 8px; transition: border-color .2s, box-shadow .2s;
}
.nv-search:focus-within {
    border-color: var(--nv-green);
    box-shadow: 0 0 0 4px rgba(7,91,58,.08);
}
.nv-search-icon { color: var(--nv-muted); width: 20px; height: 20px; flex-shrink: 0; }
.nv-search input {
    flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
    font-size: 15px; font-weight: 500; color: var(--nv-text); height: 100%;
}
.nv-search input::placeholder { color: #9aa39a; font-weight: 500; }
.nv-search-category {
    display: inline-flex; align-items: center; gap: 4px; border: 0; border-left: 1px solid var(--nv-border);
    background: transparent; padding: 0 8px; height: 36px; max-width: 150px; color: var(--nv-text); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.nv-search-category svg { width: 16px; height: 16px; color: var(--nv-muted); }
.nv-search-submit {
    width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--nv-green); color: #fff;
    display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background .2s;
}
.nv-search-submit:hover { background: var(--nv-green-dark); }
.nv-search-submit svg { width: 22px; height: 22px; }
.nv-search-suggestions {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    background: #fff; border: 1px solid var(--nv-border); border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.12); z-index: 50; overflow: hidden; max-height: 360px; overflow-y: auto;
}
.nv-search-suggestions.open { display: block; animation: nvSugIn .18s ease; }
.nv-sug-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f3f5f2;
    color: var(--nv-text); font-weight: 600; font-size: 14px;
}
.nv-sug-item:hover, .nv-sug-item.on { background: var(--nv-green-light); }
.nv-sug-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #f8faf8; }
.nv-sug-empty { padding: 16px; color: var(--nv-muted); font-size: 13px; }
.nv-sug-head {
    padding: 12px 14px 2px; font-size: 11px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; color: var(--nv-muted);
}
.nv-sug-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 14px; }
.nv-sug-chip {
    border: 1.5px solid var(--nv-border); background: #fbfdf8; color: var(--nv-text);
    font-size: 13px; font-weight: 700; border-radius: 999px; padding: 8px 14px;
    cursor: pointer; min-height: 44px; font-family: inherit;
}
.nv-sug-chip:active { background: var(--nv-green-light); border-color: var(--nv-green); }

.nv-location {
    display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 8px 12px;
    border: 1px solid var(--nv-border); border-radius: 16px; background: #fff; cursor: pointer;
    color: var(--nv-text); font: inherit; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.nv-location:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.07); border-color: #cfd8cc; }
.nv-location > svg:first-child { width: 20px; height: 20px; color: var(--nv-green); flex-shrink: 0; }
.nv-location span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.nv-location small { font-size: 10px; color: var(--nv-muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nv-location strong { font-size: 13px; font-weight: 800; }
.nv-location > svg:last-child { width: 16px; height: 16px; color: var(--nv-muted); }

.nv-header-actions { display: flex; align-items: center; gap: 8px; }
.nv-action {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 64px; height: 54px; padding: 6px 10px; border: 1px solid var(--nv-border); border-radius: 16px;
    background: #fff; color: var(--nv-text); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.nv-action:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.07); }
.nv-icon-wrap { position: relative; display: grid; place-items: center; }
.nv-icon-wrap svg { width: 22px; height: 22px; }
.nv-action-label { font-size: 10px; font-weight: 700; color: var(--nv-muted); }
.nv-cart-total { font-size: 11px; font-weight: 800; color: var(--nv-text); line-height: 1; }
.nv-badge {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
    display: flex; align-items: center; justify-content: center; border-radius: 999px;
    background: #F97316; color: #fff; font-size: 11px; font-weight: 800; line-height: 1;
    border: 2px solid #fff; box-shadow: 0 2px 6px rgba(249,115,22,.25);
}
.nv-badge:empty, .nv-badge.is-zero { display: none; }
.nv-badge.pop { animation: nv-pop .25s ease; }
@keyframes nv-pop { 0% { transform: scale(.7); } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .nv-badge.pop { animation: none; }
}
.nv-m-ico#nv-open-cart {
    width: 40px; height: 40px; border-radius: 12px; background: #fff;
    border: 1px solid #E2E8E3; box-shadow: 0 4px 12px rgba(15,23,42,.06);
    transition: background .2s, transform .2s, border-color .2s;
}
@media (hover: hover) {
    .nv-m-ico#nv-open-cart:hover {
        background: #f3f8ee; border-color: #cfe0b8; transform: translateY(-1px);
    }
}
.nv-m-ico#nv-open-cart:active,
body.cart-drawer-open .nv-m-ico#nv-open-cart {
    background: #f3f8ee; border-color: #cfe0b8; transform: translateY(-1px);
}
.nv-action#nv-desk-cart .nv-icon-wrap {
    width: 40px; height: 40px; border-radius: 12px; background: #fff;
}
body.cart-drawer-open .nv-action#nv-desk-cart {
    background: #f3f8ee; border-color: #cfe0b8;
}

.nv-nav {
    border-bottom: 1px solid var(--nv-border); background: #fff; position: relative;
}
.nv-nav.mega-open { max-height: none; z-index: 70; }
.nv-nav-inner { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 0 8px; }
.nv-all-products {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
    border: 0; border-radius: 10px; background: var(--nv-green); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer;
}
.nv-all-products svg { width: 18px; height: 18px; }
.nv-nav-links { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; }
.nv-nav-links a {
    display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 10px 11px;
    border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--nv-text);
}
@media (hover: hover) {
    .nv-nav-links a:hover { color: var(--nv-green); background: var(--nv-green-light); }
}
.nv-nav-links a svg { width: 15px; height: 15px; }
.nv-nav-links .nv-deals { color: var(--nv-orange); }
.nv-nav-links .nv-hot {
    background: #ef4444; color: #fff; border-radius: 999px; padding: 1px 6px; font-size: 10px; font-weight: 800; margin-left: 2px;
}
.nv-nav-extra { display: flex; gap: 4px; margin-left: auto; flex-shrink: 0; }
.nv-nav-extra a { color: var(--nv-muted); font-weight: 700; font-size: 13px; padding: 8px 10px; }

.nv-mega {
    display: none;
    position: absolute; left: 50%; top: calc(100% + 10px); z-index: 2000;
    width: min(100% - 80px, 1720px);
    background: #fff; border: 1px solid #e5ebe7; border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 50, 35, .12);
    opacity: 0; transform: translate(-50%, -8px);
    transition: opacity .2s ease, transform .2s ease;
}
.nv-mega.open {
    display: block;
    opacity: 1; transform: translate(-50%, 0);
}
.nv-mega-inner {
    display: flex; flex-direction: column; gap: 0; min-height: 0;
    width: 100%; margin: 0 auto; max-height: min(70vh, 520px); overflow: auto;
}
.nv-mega-columns {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 24px;
    padding: 20px 8px 12px; flex: 1;
}
.nv-mega-col h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nv-mega-col h4 a { color: var(--nv-green); display: flex; align-items: center; gap: 8px; }
.nv-mega-thumb { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; background: #eef5ef; flex-shrink: 0; }
.nv-mega-all { margin-top: 6px; font-weight: 800 !important; color: var(--nv-green) !important; }
.nv-mega-col a {
    display: block; padding: 5px 0; font-weight: 650; color: var(--nv-text); font-size: 13.5px;
}
.nv-mega-col a:hover { color: var(--nv-green); }
.nv-mega-col a small { color: var(--nv-muted); font-weight: 600; margin-left: 4px; }
.nv-mega-foot {
    border-top: 1px solid var(--nv-border); padding: 12px 8px; display: flex; justify-content: flex-end;
}
.nv-mega-foot a {
    color: var(--nv-green); font-weight: 750; font-size: 13px; display: inline-flex; align-items: center; gap: 4px;
}
.nv-mega-cats, .nv-mega-sub, .nv-mega-promo, .nv-mega-feat { display: none; }
@media (max-width: 900px) {
    .nv-mega-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.nv-feat-row span { font-size: 12px; color: var(--nv-muted); }

.nv-loc-sheet {
    display: none; position: fixed; inset: 0; background: rgba(2,6,23,.45); z-index: 1100;
}
.nv-loc-sheet.open { display: grid; place-items: center; padding: 16px; }
.nv-loc-panel {
    width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.nv-loc-panel h3 { margin: 0 0 12px; font-size: 16px; }
.nv-loc-panel select {
    width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--nv-border); padding: 0 12px; font: inherit; margin-bottom: 12px;
}
.nv-loc-panel .row { display: flex; gap: 8px; }
.nv-loc-panel button {
    flex: 1; height: 44px; border-radius: 12px; border: 0; font-weight: 800; cursor: pointer;
}
.nv-loc-ok { background: var(--nv-green); color: #fff; }
.nv-loc-cancel { background: #f1f5f1; color: var(--nv-text); }

.nv-mobile { display: none; }
.nv-m-promo {
    background: var(--nv-green); color: #fff; text-align: center; font-size: 12px; font-weight: 700;
    padding: 8px 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
    letter-spacing: .01em; line-height: 1.5;
    -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.nv-m-promo svg { width: 14px; height: 14px; }

.nv-m-bar {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px 8px;
    background: #fff;
}
.nv-m-ico {
    width: 40px; height: 40px; border: 1px solid #e8efe3; border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .05);
    display: grid; place-items: center;
    color: #1f2a1c; position: relative; padding: 0; cursor: pointer;
    transition: transform .18s ease, border-color .18s ease;
}
.nv-m-ico:active { transform: scale(.96); }
.nv-m-ico svg { width: 19px; height: 19px; stroke-width: 1.9; }
.nv-m-actions { display: flex; gap: 7px; align-items: center; }

.nv-m-logo {
    justify-self: center;
    display: flex; align-items: center; justify-content: center;
    max-width: min(168px, 46vw);
    height: 52px;
    text-decoration: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
.nv-m-logo img {
    height: 52px; width: auto; max-width: 100%;
    object-fit: contain;
    display: block;
}

.nv-m-search-wrap {
    position: relative;
    padding: 0 12px 12px;
    background: #fff;
    margin: 0;
}
.nv-m-search {
    display: flex;
    align-items: center;
    height: 52px;
    border-radius: 16px;
    border: 1.5px solid #dce6d6;
    background: linear-gradient(180deg, #fbfdf8 0%, #fff 100%);
    padding: 4px 4px 4px 14px;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(7, 91, 58, .07);
    transition: border-color .2s, box-shadow .2s;
}
.nv-m-search:focus-within {
    border-color: var(--nv-green);
    box-shadow: 0 0 0 4px rgba(7, 91, 58, .12), 0 10px 24px rgba(7, 91, 58, .08);
    background: #fff;
}
.nv-m-search .nv-m-search-ico {
    width: 20px; height: 20px; color: var(--nv-green); flex-shrink: 0;
}
.nv-m-search input {
    flex: 1; border: 0; outline: none; font-size: 15px; font-weight: 550;
    background: transparent; min-width: 0; color: var(--nv-text); height: 100%;
}
.nv-m-search input::placeholder { color: #8a9688; font-weight: 500; }
/* Rotating-placeholder fade: the swap is a gentle fade so it never reads as
   typed text. Class toggled by JS (nvPlaceholderRotate). */
.nv-m-search input::placeholder, .nv-search input::placeholder { transition: opacity .38s ease; }
.nv-m-search input.nv-ph-fade::placeholder, .nv-search input.nv-ph-fade::placeholder { opacity: 0; }
.nv-m-search button[type="submit"] {
    width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: var(--nv-green); color: #fff;
    display: grid; place-items: center; flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(7, 91, 58, .28);
}
.nv-m-search button[type="submit"]:active { transform: scale(.96); }
.nv-m-search button[type="submit"] svg { width: 20px; height: 20px; }
.nv-m-search-suggestions {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(100% - 4px);
    background: #fff; border: 1px solid var(--nv-border); border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.14); z-index: 60; overflow: hidden;
    max-height: min(52vh, 360px); overflow-y: auto;
}
.nv-m-search-suggestions.open { display: block; animation: nvSugIn .18s ease; }
@keyframes nvSugIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* Custom clear button replaces the native search cancel control */
.nv-m-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.nv-m-search-clear {
    width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: #eef2ec; color: #5c6b58; display: grid; place-items: center;
    flex-shrink: 0; cursor: pointer;
}
.nv-m-search-clear[hidden] { display: none; }
.nv-m-search-clear svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .nv-m-search-suggestions.open, .nv-search-suggestions.open { animation: none; } }

@media (max-width: 1199px) {
    .nv-topbar-left .nv-top-item:nth-child(n+3) { display: none; }
    .nv-main-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
    .nv-location { display: none; }
    .nv-nav-extra { display: none; }
    .nv-mega-inner { grid-template-columns: 200px 1fr 220px; }
    .nv-mega-promo { display: none; }
}
@media (max-width: 900px) {
    .nv-desktop { display: none !important; }
    .nv-mobile { display: block; }
    .nv-header {
        background: transparent;
        padding-top: env(safe-area-inset-top, 0px);
        box-shadow: none;
        overflow: hidden;
    }
    /* Mobile search fix: while the suggestion dropdown is open, let it overflow
       the header instead of being clipped. The announcement ticker keeps its own
       overflow:hidden, so it is unaffected. */
    .nv-header.nv-search-open { overflow: visible; }
    .nv-header.is-scrolled { box-shadow: none; }
    .nv-header::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0;
        height: env(safe-area-inset-top, 0px);
        background: var(--nv-green);
        pointer-events: none;
    }
    .nv-header.is-compact { pointer-events: none; }
    .nv-header.is-compact::before { background: #fff; }
    .nv-m-shift {
        transform: translate3d(0, 0, 0);
        transition:
            transform 280ms cubic-bezier(.22, .61, .36, 1),
            margin-bottom 280ms cubic-bezier(.22, .61, .36, 1);
        will-change: transform, margin-bottom;
    }
    .nv-header.is-compact .nv-m-shift {
        transform: translate3d(0, calc(-1 * var(--nv-m-hide, 0px)), 0);
        margin-bottom: calc(-1 * var(--nv-m-hide, 0px));
    }
    .nv-header.is-compact .nv-m-search-wrap {
        pointer-events: auto;
        position: relative;
        z-index: 2;
        box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
        background: #fff;
        /* Breathing room: in compact mode the logo row is translated away, so give
           the search bar offset from the top edge (header safe-area padding still applies). */
        padding-top: 8px;
    }
    /* PDP: on product detail pages the header (incl. the search bar) scrolls
       naturally with the page — it must never sit stuck/floating over the product.
       Homepage and listing pages keep the sticky discovery header. */
    body.nv-page-pdp .nv-header { position: static; }
    body.nv-page-pdp .nv-header.is-compact .nv-m-shift { transform: none; margin-bottom: 0; }
    body.nv-page-pdp .nv-header.is-compact { pointer-events: auto; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .nv-m-shift { transition: none; }
}
@media (min-width: 901px) {
    .nv-mobile { display: none !important; }
}

/* --- from footer.blade.php --- */

.nv-footer {
    --nv-green: var(--store-button, var(--store-primary, #075B3A));
    --nv-green-dark: var(--store-button-hover, #043D28);
    --nv-green-light: #EFF8EF;
    --nv-cream: #FDF8F4;
    --nv-footer-bg: #032F23;
    --nv-footer-bg-dark: #021F18;
    --nv-footer-card: #073C2D;
    --nv-footer-border: rgba(255,255,255,.12);
    --nv-footer-text: #FFFFFF;
    --nv-footer-muted: #B8C9C0;
    --nv-accent: #8AC926;
    --nv-orange: #FF7A00;
    --nv-radius-md: 16px;
    --nv-radius-lg: 24px;
    margin-top: 40px;
    color: var(--nv-footer-text);
    font-family: "Segoe UI", system-ui, sans-serif;
}
.nv-footer svg { width: 1em; height: 1em; stroke-width: 1.9; }
.nv-ft-container { width: min(calc(100% - 32px), 1760px); margin-inline: auto; }

/* Newsletter */
.nv-ft-news-wrap { padding: 0 0 8px; margin-top: -8px; position: relative; z-index: 2; }
.nv-ft-news {
    background: var(--nv-cream); color: #172116; border-radius: var(--nv-radius-lg);
    padding: 28px 32px; box-shadow: 0 16px 40px rgba(3,47,35,.12);
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
    border: 1px solid #E8EFE6;
}
.nv-ft-news .eyebrow { color: var(--nv-green); font-size: 11px; font-weight: 800; letter-spacing: .14em; margin: 0 0 6px; }
.nv-ft-news h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; color: #0f1f16; }
.nv-ft-news p { margin: 0; color: #6F7A70; font-size: 14px; line-height: 1.5; max-width: 40ch; }
.nv-newsletter-form { display: flex; gap: 10px; align-items: stretch; }
.nv-newsletter-input {
    flex: 1; display: flex; align-items: center; gap: 10px; background: #fff;
    border: 1px solid #DDE5DC; border-radius: 999px; padding: 4px 4px 4px 16px; min-height: 52px;
}
.nv-newsletter-input svg { width: 18px; height: 18px; color: #6F7A70; flex-shrink: 0; }
.nv-newsletter-input input {
    flex: 1; border: 0; outline: none; background: transparent; font-size: 15px; min-width: 0; color: #172116;
}
.nv-newsletter-form button {
    display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
    background: var(--nv-green); color: #fff; font-weight: 800; padding: 0 22px; cursor: pointer;
    white-space: nowrap; transition: background .18s ease;
}
.nv-newsletter-form button:hover { background: var(--nv-green-dark); }
.nv-newsletter-form button:disabled { opacity: .7; cursor: wait; }
.nv-newsletter-form button svg { width: 16px; height: 16px; }
.nv-ft-privacy { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #6F7A70; }
.nv-ft-privacy a { color: var(--nv-green); font-weight: 700; text-decoration: underline; }
.nv-ft-privacy svg { width: 14px; height: 14px; }

/* Trust strip */
.nv-ft-trust {
    background: var(--nv-green-light); color: #172116; border-radius: var(--nv-radius-md);
    margin: 18px auto 0; padding: 18px 20px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.nv-ft-trust-item { display: flex; align-items: center; gap: 12px; }
.nv-ft-trust-ico {
    width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--nv-green);
    display: grid; place-items: center; flex-shrink: 0; border: 1px solid #d8e8d4;
}
.nv-ft-trust-ico svg { width: 22px; height: 22px; }
.nv-ft-trust strong { display: block; font-size: 13px; color: #0f1f16; }
.nv-ft-trust span { font-size: 12px; color: #6F7A70; }

/* Main */
.nv-ft-main {
    background: linear-gradient(180deg, #052e21 0%, var(--nv-footer-bg) 40%, var(--nv-footer-bg-dark) 100%);
    margin-top: 22px; padding: 40px 0 28px; border-radius: 28px 28px 0 0;
}
.nv-ft-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.2fr) minmax(150px, .85fr) 280px minmax(160px, .9fr) minmax(190px, 1.05fr);
    gap: 28px 22px;
    align-items: start;
}
.nv-ft-brand img {
    height: 48px; width: auto; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px 8px;
}
.nv-ft-brand p { margin: 12px 0 16px; color: var(--nv-footer-muted); font-size: 13px; line-height: 1.55; max-width: 34ch; }
.nv-ft-follow { margin: 0 0 8px !important; color: #fff !important; font-size: 11px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nv-ft-social { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.nv-ft-social a.nv-social-ico,
.nv-social-ico {
    width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--nv-footer-border);
    display: grid; place-items: center; color: #fff; background: transparent;
    transition: transform .18s ease, background .18s ease, border-color .18s, outline .18s;
    flex-shrink: 0;
}
.nv-ft-social a.nv-social-ico:hover,
.nv-ft-social a.nv-social-ico:focus-visible,
.nv-social-ico:hover,
.nv-social-ico:focus-visible {
    transform: translateY(-2px); background: rgba(138,201,38,.15); border-color: var(--nv-accent);
    outline: 2px solid var(--nv-accent); outline-offset: 2px;
}
.nv-ft-social a.nv-social-ico svg,
.nv-social-ico svg { width: 15px; height: 15px; display: block; }

.nv-ft-col h3 {
    margin: 0 0 14px; font-size: 11px; letter-spacing: .16em; color: #fff; font-weight: 800;
}
.nv-ft-link {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 6px 0; color: var(--nv-footer-muted); font-size: 13.5px; font-weight: 600;
    transition: color .18s ease;
}
.nv-ft-link svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: .18s ease; }
.nv-ft-link:hover { color: #fff; }
.nv-ft-link:hover svg { opacity: 1; transform: translateX(0); }

.nv-ft-contact-row {
    display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--nv-footer-muted); font-size: 13px; line-height: 1.45;
}
.nv-ft-contact-row svg { width: 16px; height: 16px; color: var(--nv-accent); margin-top: 2px; flex-shrink: 0; }
.nv-ft-contact-row a { color: #fff; font-weight: 700; }
.nv-ft-contact-row small { display: block; color: var(--nv-footer-muted); font-size: 11px; margin-top: 2px; }
.nv-ft-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nv-ft-btn {
    display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 12px;
    font-size: 12px; font-weight: 800; border: 1px solid var(--nv-footer-border); color: #fff;
}
.nv-ft-btn.solid { background: var(--nv-accent); color: #032F23; border-color: transparent; }
.nv-ft-btn:hover { border-color: var(--nv-accent); }

.nv-ft-app h3 { margin-bottom: 8px; }
.nv-ft-app p { margin: 0 0 12px; color: var(--nv-footer-muted); font-size: 13px; }
.nv-ft-stores { display: flex; flex-direction: column; gap: 8px; }
.nv-ft-store {
    display: inline-flex; align-items: center; gap: 10px; background: #000; border-radius: 10px;
    padding: 8px 12px; color: #fff; border: 1px solid rgba(255,255,255,.2); max-width: 180px;
}
.nv-ft-store svg { width: 22px; height: 22px; }
.nv-ft-store small { display: block; font-size: 9px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.nv-ft-store strong { font-size: 13px; }
.nv-ft-qr { margin-top: 12px; text-align: center; max-width: 110px; }
.nv-ft-qr img, .nv-ft-qr canvas { width: 88px; height: 88px; background: #fff; border-radius: 10px; padding: 4px; }
.nv-ft-qr span { display: block; margin-top: 6px; font-size: 11px; color: var(--nv-footer-muted); }

/* Payments + trust */
.nv-ft-pay {
    margin: 0 0 28px; padding: 0;
    display: block;
}
.nv-ft-pay-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--nv-footer-muted); margin-bottom: 8px; }
.nv-ft-pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-ft-pay-chip {
    background: rgba(255,255,255,.06); border: 1px solid var(--nv-footer-border); border-radius: 10px;
    padding: 8px 12px; font-size: 12px; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 6px;
}
.nv-ft-pay-chip svg { width: 16px; height: 16px; color: var(--nv-accent); }
.nv-ft-accept { width: 100%; margin-bottom: 16px; }
.nv-ft-accept__bar {
    display: flex; align-items: center; gap: 14px; flex-wrap: nowrap;
    padding: 12px 16px 12px 20px; border-radius: 22px;
    background: radial-gradient(140% 220% at 50% 0%, #16305c 0%, #0a1428 48%, #060b16 100%);
    border: 1.5px solid rgba(96, 168, 255, .78);
    box-shadow: 0 0 0 1px rgba(18, 52, 120, .55), 0 0 26px rgba(48, 128, 255, .32), inset 0 0 22px rgba(46, 120, 255, .14);
}
.nv-ft-accept__label {
    flex: 0 0 auto; font-size: 16px; font-weight: 900; letter-spacing: .14em;
    color: #fff; white-space: nowrap;
}
.nv-ft-accept__label span { color: #F5C518; }
.nv-ft-accept__methods { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 280px; min-width: 0; align-items: center; }
.nv-ft-accept__chip {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
    padding: 5px 14px; border-radius: 16px; color: #fff; flex: 0 0 auto;
    background: linear-gradient(180deg, #121c36 0%, #0a1224 100%);
    border: 1.5px solid rgba(96, 168, 255, .62);
    box-shadow: 0 0 12px rgba(48, 128, 255, .2), inset 0 1px 0 rgba(255,255,255,.07);
    font-size: 14px; font-weight: 800; letter-spacing: .01em; line-height: 1;
}
.nv-ft-accept__mark { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 28px; }
.nv-footer .nv-ft-accept__mark svg { width: 28px; height: 28px; display: block; }
.nv-ft-accept__chip--logo { padding: 4px 12px; }
.nv-footer .nv-ft-accept__chip--visa svg { width: 68px; height: 24px; display: block; }
.nv-footer .nv-ft-accept__chip--mc svg { width: 52px; height: 30px; display: block; }
.nv-footer .nv-ft-accept__chip--jazz svg { width: 42px; height: 42px; display: block; }
@media (max-width: 1280px) {
    .nv-ft-accept__bar { flex-wrap: wrap; padding: 12px; }
    .nv-ft-accept__methods { flex-basis: 100%; }
    .nv-ft-badges { margin-left: 0; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 700px) {
    .nv-ft-accept__methods { display: grid; grid-template-columns: 1fr 1fr; }
    .nv-ft-accept__chip { justify-content: flex-start; min-width: 0; }
    .nv-ft-accept__chip--logo { justify-content: center; }
}
.nv-ft-badges {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
    margin-left: auto; flex: 0 1 460px;
}
.nv-ft-badge {
    display: inline-flex; align-items: center; gap: 7px; background: var(--nv-footer-card);
    border: 1px solid var(--nv-footer-border); border-radius: 999px; padding: 7px 12px;
    font-size: 11px; font-weight: 700; color: #e8f5e9;
}
.nv-ft-badge svg { width: 14px; height: 14px; color: var(--nv-accent); }

/* Bottom */
.nv-ft-posts {
    margin-top: 26px; padding-top: 18px;
    border-top: 1px solid var(--nv-footer-border);
}
.nv-ft-posts__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 12px;
}
.nv-ft-posts__head h3 {
    margin: 0; font-size: 11px; letter-spacing: .16em; color: #fff; font-weight: 800;
}
.nv-ft-posts__all { color: #e4c36a; font-size: 12px; font-weight: 800; text-decoration: none; }
.nv-ft-posts__all:hover { color: #fff; }
.nv-ft-posts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nv-ft-post {
    display: flex; flex-direction: column; gap: 6px; min-height: 88px;
    padding: 12px 14px; border-radius: 14px; text-decoration: none;
    color: #fff; background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
}
.nv-ft-post strong { font-size: 13px; font-weight: 750; line-height: 1.35; }
.nv-ft-post span { color: var(--nv-footer-muted); font-size: 11px; font-weight: 650; }
.nv-ft-post:hover { border-color: rgba(138,201,38,.7); }
@media (max-width: 900px) {
    .nv-ft-posts__row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .nv-ft-posts__row { grid-template-columns: 1fr; }
}
.nv-ft-bottom {
    background: var(--nv-footer-bg-dark); border-top: 1px solid var(--nv-footer-border);
    padding: 22px 0 18px;
}
.nv-ft-bottom-inner {
    display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
    color: var(--nv-footer-muted); font-size: 12px;
    padding-right: 76px;
}
.nv-ft-seo { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-ft-seo a {
    border: 1px solid var(--nv-footer-border); border-radius: 999px; padding: 5px 10px;
    color: var(--nv-footer-muted); font-weight: 700; font-size: 11px;
}
.nv-ft-seo a:hover, .nv-ft-seo a.on { border-color: var(--nv-accent); color: #fff; background: rgba(138,201,38,.12); }
.nv-ft-legal { display: flex; flex-wrap: wrap; gap: 10px; }
.nv-ft-legal a { color: var(--nv-footer-muted); }
.nv-ft-legal a:hover { color: #fff; }
.nv-ft-col--cta { min-width: 0; }
.nv-ft-grid .nv-ft-launch { width: 100%; margin: 0; }
.nv-ft-launch {
    display: flex; flex-direction: column; align-items: stretch; gap: 8px;
    width: 100%; margin: 0; padding: 14px;
    text-align: center; box-sizing: border-box;
    border-radius: 20px; background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
}
.nv-ft-launch__kpk,
.nv-ft-launch__cta,
.nv-ft-launch__name {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; max-width: 100%; box-sizing: border-box; cursor: pointer;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nv-ft-launch__kpk:focus-visible,
.nv-ft-launch__cta:focus-visible,
.nv-ft-launch__name:focus-visible,
.nv-ft-launch__brand p a:focus-visible { outline: 1px solid rgba(228,195,106,.8); outline-offset: 3px; }
.nv-ft-launch__kpk {
    width: 100%; min-height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
    color: #f5c518; font-size: 12px; font-weight: 800; letter-spacing: .08em;
    background: transparent;
    border: 1px solid rgba(245, 197, 24, .45);
}
.nv-ft-launch__kpk:hover { border-color: rgba(245, 197, 24, .8); color: #ffe58a; }
.nv-ft-launch__cta {
    width: 100%; min-height: 46px; padding: 0 18px; border-radius: 999px;
    background: #0f8a4b; color: #fff; font-size: 15px; font-weight: 800; white-space: nowrap;
    box-shadow: 0 8px 18px rgba(8, 90, 48, .28);
}
.nv-ft-launch__cta:hover { background: #0c7a42; color: #fff; box-shadow: 0 10px 20px rgba(8, 90, 48, .34); }
.nv-ft-launch__cta:active,
.nv-ft-launch__kpk:active,
.nv-ft-launch__name:active { transform: scale(.98); }
.nv-ft-launch__kpk:hover svg,
.nv-ft-launch__cta:hover svg,
.nv-ft-launch__name:hover svg { transform: translateX(3px); }
.nv-footer .nv-ft-launch svg { width: 16px; height: 16px; display: block; flex: 0 0 16px; transition: transform .18s ease; }
.nv-ft-launch__brand { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 100%; }
.nv-ft-launch__name {
    width: 100%; min-height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
    color: #e8f5e9; font-size: 14px; font-weight: 800;
    border: 1px solid rgba(255,255,255,.22);
}
.nv-ft-launch__name:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.nv-ft-launch__brand p {
    margin: 2px 0 0; padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.5); font-size: 11px; font-weight: 650; line-height: 1.4;
}
.nv-ft-launch__brand p a {
    color: #e4c36a; text-decoration: none; font-weight: 800;
}
.nv-ft-launch__brand p a:hover { color: #f4de9a; }
@media (prefers-reduced-motion: reduce) {
    .nv-ft-launch__kpk, .nv-ft-launch__cta, .nv-ft-launch__name, .nv-footer .nv-ft-launch svg { transition: none; }
}

/* Accordion mobile */
.nv-ft-acc-btn {
    display: none; width: 100%; border: 0; background: transparent; color: #fff;
    font-weight: 800; font-size: 12px; letter-spacing: .14em; text-align: left;
    padding: 12px 0; border-bottom: 1px solid var(--nv-footer-border); cursor: pointer;
    align-items: center; justify-content: space-between;
}
.nv-ft-acc-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.nv-ft-acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nv-ft-acc-panel { display: block; }

/* Toast */
.nv-toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 1200; display: none;
    background: #0f172a; color: #fff; border-radius: 12px; padding: 12px 16px;
    font-weight: 700; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.25); max-width: min(360px, calc(100vw - 32px));
}
.nv-toast.show { display: block; }
.nv-toast.ok { background: var(--nv-green); }
.nv-toast.err { background: #b42318; }

@media (max-width: 1199px) {
    .nv-ft-grid { grid-template-columns: 1fr 1fr; }
    .nv-ft-col--cta { grid-column: 1 / -1; }
    .nv-ft-grid .nv-ft-launch { width: min(100%, 320px); margin-inline: auto; }
    .nv-ft-news { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .nv-ft-trust { grid-template-columns: 1fr 1fr; }
    .nv-ft-grid { grid-template-columns: 1fr; gap: 8px; }
    .nv-ft-brand { margin-bottom: 12px; }
    .nv-ft-acc-btn { display: flex; }
    .nv-ft-acc-panel { display: none; padding-bottom: 8px; }
    .nv-ft-acc-panel.is-open { display: block; }
    .nv-ft-col h3.desk-only { display: none; }
    .nv-newsletter-form { flex-direction: column; }
    .nv-newsletter-form button { height: 48px; justify-content: center; }
    .nv-ft-main { border-radius: 24px 24px 0 0; padding-bottom: 88px; }
    .nv-toast { left: 16px; right: 16px; bottom: 16px; }
    .nv-ft-qr { display: none; }
}
@media (max-width: 480px) {
    .nv-ft-trust { grid-template-columns: 1fr; }
}

/* --- from cart-drawer.blade.php --- */

    :root {
        --cart-overlay-z: 1100;
        --cart-drawer-z: 1110;
        --master-checkout: var(--store-checkout, var(--kdf-checkout, var(--store-primary, #0B6B45)));
        --master-accent: var(--store-button, var(--store-primary, var(--kdf-primary, #075B3A)));
        --master-success: var(--store-success, var(--kdf-checkout, #0B6B45));
        --master-accent-soft: color-mix(in srgb, var(--master-accent) 14%, #fff);
        --master-secondary: var(--store-secondary, var(--kdf-secondary, #F58300));
    }
    .cart-drawer {
        position: fixed; inset: 0; z-index: var(--cart-overlay-z);
        display: block; pointer-events: none;
        opacity: 0; visibility: hidden;
        background: rgba(10, 20, 15, .48);
        transition: opacity .3s ease, visibility .3s;
        overflow: hidden;
    }
    .cart-drawer.is-open {
        pointer-events: auto;
        opacity: 1; visibility: visible;
    }
    .cart-drawer .cart-panel {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(480px, 96%); max-width: 480px;
        background: #fff; z-index: var(--cart-drawer-z);
        display: flex; flex-direction: column;
        transform: translate3d(100%, 0, 0);
        transition: transform .32s cubic-bezier(.2,.8,.2,1);
        box-shadow: -20px 0 60px rgba(0,0,0,.14);
        will-change: transform;
    }
    .cart-drawer.is-open .cart-panel { transform: translate3d(0, 0, 0); }
    body.cart-drawer-open { overflow: hidden; }
    .cart-drawer-header {
        flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 18px 20px; border-bottom: 1px solid #E5E9E5; background: #fff;
        box-shadow: 0 1px 0 rgba(15,23,42,.04);
    }
    .cart-drawer-header__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .cart-drawer-header__icon {
        width: 42px; height: 42px; border-radius: 14px;
        background: var(--master-accent-soft); color: var(--master-success);
        display: grid; place-items: center; flex-shrink: 0;
    }
    .cart-drawer-header__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .cart-drawer-header h2 { margin: 0; font-size: 20px; font-weight: 800; color: #0f172a; line-height: 1.2; }
    .cart-drawer-header .cart-count-label { margin: 2px 0 0; font-size: 13px; color: #64748b; font-weight: 600; }
    .cart-drawer-close {
        width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f8fafc; color: #0f172a;
        display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
        transition: background .2s, transform .2s;
    }
    .cart-drawer-close:hover { background: #eef3e8; transform: translateY(-1px); }
    .cart-drawer-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .cart-delivery { flex-shrink: 0; padding: 12px 20px 4px; background: #fff; }
    .cart-delivery__msg { font-size: 12px; font-weight: 700; color: #64748b; margin-bottom: 8px; }
    .cart-delivery__msg.is-free { color: var(--master-success); }
    .cart-delivery__bar { height: 8px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
    .cart-delivery__bar > i {
        display: block; height: 100%; width: 0;
        background: linear-gradient(90deg, var(--master-secondary), var(--master-accent));
        transition: width .28s ease;
    }
    .bag-ok {
        display: none; margin: 0 20px 8px; background: #ecfdf5; color: #047857; border-radius: 12px;
        padding: 10px 12px; font-weight: 800; font-size: 13px;
    }
    .bag-ok.show { display: block; }
    .cart-items {
        flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain;
        padding: 4px 0 8px; -webkit-overflow-scrolling: touch;
    }
    .cart-empty {
        display: none; flex-direction: column; align-items: center; justify-content: center;
        text-align: center; padding: 48px 24px; color: #64748b; gap: 8px;
    }
    .cart-empty.is-visible { display: flex; }
    .cart-empty__ico {
        width: 64px; height: 64px; border-radius: 20px;
        background: var(--master-accent-soft); color: var(--master-success);
        display: grid; place-items: center; margin-bottom: 8px;
    }
    .cart-empty__ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .cart-empty h3 { margin: 0; font-size: 18px; color: #0f172a; font-weight: 800; }
    .cart-empty p { margin: 0; font-size: 14px; max-width: 28ch; }
    .cart-item {
        display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 12px;
        padding: 14px 20px; border-bottom: 1px solid #f1f5f1; align-items: start;
        transition: opacity .22s ease, transform .22s ease;
    }
    .cart-item.is-removing { opacity: 0; transform: translateX(20px); }
    .cart-item img {
        width: 76px; height: 76px; object-fit: contain; border-radius: 12px; background: #F6F8F5;
        border: 1px solid #eef3e8;
    }
    .cart-item__body { min-width: 0; }
    .cart-item__name { display: block; font-size: 14px; font-weight: 800; color: #0f172a; line-height: 1.3; margin-bottom: 4px; }
    .cart-item__meta { display: block; font-size: 12px; color: #64748b; margin-bottom: 4px; }
    .cart-item__unit { display: block; font-size: 12px; font-weight: 700; color: #334155; margin-bottom: 8px; }
    .cart-item__unit s { color: #94a3b8; font-weight: 600; margin-left: 4px; }
    .cart-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    .cart-qty {
        display: inline-flex; align-items: center; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff;
    }
    .cart-qty button {
        width: 40px; height: 40px; border: 0; background: #fff; color: #0f172a; display: grid; place-items: center; cursor: pointer;
        transition: background .18s;
    }
    .cart-qty button:hover { background: var(--master-accent-soft); }
    .cart-qty button:disabled { opacity: .45; cursor: wait; }
    .cart-qty button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .cart-qty span { min-width: 28px; text-align: center; font-weight: 800; font-size: 14px; }
    .cart-item__btn {
        display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent;
        color: #64748b; font-size: 12px; font-weight: 700; cursor: pointer; padding: 6px 4px;
        transition: color .18s;
    }
    .cart-item__btn:hover { color: var(--master-success); }
    .cart-item__btn.is-danger:hover { color: #dc2626; }
    .cart-item__btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .cart-item__total { font-size: 15px; font-weight: 800; color: #0f172a; white-space: nowrap; padding-top: 2px; }
    .cart-summary {
        flex-shrink: 0; background: #fff; border-top: 1px solid #E5E9E5;
        padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 25px rgba(0,0,0,.08);
    }
    .cart-summary__rows { display: grid; gap: 8px; margin-bottom: 12px; }
    .cart-summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #64748b; font-weight: 600; }
    .cart-summary__row span:last-child { color: #0f172a; font-weight: 700; }
    .cart-summary__row.is-free span:last-child { color: var(--master-success); }
    .cart-summary__row.is-discount span:last-child { color: #dc2626; }
    .cart-summary__row.is-total { padding-top: 8px; border-top: 1px dashed #e5e9e5; font-size: 16px; color: #0f172a; font-weight: 800; }
    .cart-summary__row.is-total span:last-child { font-size: 18px; font-weight: 800; color: var(--master-success); }
    .cart-checkout {
        display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
        min-height: 54px; border: 0; border-radius: 14px; background: var(--master-checkout); color: #fff;
        font-size: 16px; font-weight: 750; text-decoration: none; cursor: pointer;
        transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
        box-shadow: 0 8px 20px color-mix(in srgb, var(--master-checkout) 28%, transparent);
    }
    .cart-checkout:hover { transform: translateY(-1px); color: #fff; }
    .cart-checkout:active { transform: scale(.98); }
    .cart-checkout.is-busy { cursor: progress; }
    .cart-checkout svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .cart-summary__links { display: grid; gap: 8px; margin-top: 10px; }
    .cart-summary__link {
        display: block; text-align: center; color: #64748b; font-size: 13px; font-weight: 700;
        background: transparent; border: 0; cursor: pointer; padding: 6px; text-decoration: none;
    }
    .cart-summary__link.outline {
        border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; color: #0f172a; background: #fff;
        transition: transform .18s, box-shadow .18s;
    }
    .cart-summary__link.outline:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(15,23,42,.06); }
    .bag-toast {
        position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
        background: #0f172a; color: #fff; border-radius: 999px; padding: 10px 16px;
        font-weight: 800; font-size: 13px; z-index: 1120; display: none;
        box-shadow: 0 12px 30px rgba(15,23,42,.25);
    }
    .bag-toast.show { display: block; }
    @media (max-width: 767px) {
        .cart-drawer .cart-panel { width: 94%; max-width: 480px; }
        .cart-drawer-header { padding: 18px; }
        .cart-item { padding: 14px 18px; }
    }
    @media (max-width: 360px) {
        .cart-drawer .cart-panel { width: 100%; max-width: none; }
    }
    @media (min-width: 768px) {
        .cart-drawer .cart-panel { width: min(460px, 100%); }
    }
    @media (min-width: 1024px) {
        .cart-drawer .cart-panel { width: min(480px, 100%); }
    }
    @media (prefers-reduced-motion: reduce) {
        .cart-drawer, .cart-drawer .cart-panel, .cart-item, .cart-checkout { transition: none !important; }
    }

/* FB in-app browser guards (2026-10-04): FB WebView inflates safe-area env() values and font boosting; its own top chrome covers the status area, so the notch strip would merge with the promo bar. */
html.fb-iab .nv-header::before { display: none; }
html.fb-iab .bottom-nav { padding-bottom: 10px; }
/* FB IAB (2026-10-04): FB WebView reports a large env(safe-area-inset-top) which
   .nv-header turns into padding-top -> white gap above header. FBs own native top
   toolbar already covers the status area, so zero it inside FB IAB only. */
html.fb-iab .nv-header { padding-top: 0 !important; }
/* Promo bar OFF (2026-10-04): mobile header was transparent (designed for the
   promo era). Without the promo bar the transparent safe-area padding shows
   scrolled page content through it. Solid bg when promo is disabled. */
@media (max-width: 900px) {
    .nv-header.nv-no-promo { background: var(--nv-white); }
}
