/* ==========================================================
   ELINAIL STORE — Main Stylesheet
   Mobile First | RTL | Hebrew — Google Sans Font
   ========================================================== */

/* ----------------------------------------------------------
   1. Fonts — Google Sans ONLY (Latin + Hebrew)
   font-display: block = no flash, waits for font before rendering
---------------------------------------------------------- */

/* ── Google Sans Latin ── */
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../fonts/googlesans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url('../fonts/googlesans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Google Sans Hebrew ── */
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../fonts/googlesans-hebrew.woff2') format('woff2');
    unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010,
                   U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url('../fonts/googlesans-hebrew.woff2') format('woff2');
    unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010,
                   U+20AA, U+25CC, U+FB1D-FB4F;
}

/* ── FbEinstein — kept only as dead fallback (never used) ── */
@font-face {
    font-family: 'FbEinstein';
    src: url('../fonts/FbEinstein-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'FbEinstein';
    src: url('../fonts/FbEinstein-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'FbEinstein';
    src: url('../fonts/FbEinstein-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

/* ----------------------------------------------------------
   2. Design Tokens
---------------------------------------------------------- */
:root {
    --pink-50:  #FFF0F7;
    --pink-100: #FFD6EA;
    --pink-200: #FFADD4;
    --pink-300: #FF80BB;
    --pink-400: #FF52A1;
    --pink-500: #FF2D88;
    --primary:      #FF6B9D;
    --primary-rgb:  255, 107, 157;
    --primary-dark: #D44F80;
    --primary-light:#FFB3CD;
    --gold:         #C9A55A;
    --gold-light:   #E8C97A;
    --dark:         #1C1C2E;
    --dark-mid:     #2D2D42;
    --text:         #333348;
    --text-muted:   #888899;
    --bg:           #FFFFFF;
    --bg-secondary: #F5F5F5;
    --border:       #E5E5E5;
    --white:        #FFFFFF;
    --success:      #10B981;
    --error:        #EF4444;

    --font: 'Google Sans', sans-serif;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;
    --text-6xl:  3.75rem;

    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.25rem;
    --sp-6:  1.5rem;
    --sp-8:  2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    --r-sm:   0.375rem;
    --r-md:   0.5rem;
    --r-lg:   0.75rem;
    --r-xl:   1rem;
    --r-2xl:  1.5rem;
    --r-full: 9999px;

    --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
    --shadow-md:   0 4px 12px rgba(0,0,0,.1);
    --shadow-lg:   0 10px 30px rgba(0,0,0,.12);
    --shadow-pink: 0 4px 20px rgba(255,107,157,.35);
    --shadow-gold: 0 4px 20px rgba(201,165,90,.35);

    --dur-fast: 150ms;
    --dur-base: 250ms;
    --dur-slow: 400ms;
    --ease: cubic-bezier(.4,0,.2,1);

    --container: 1280px;
    --gap:        1rem;
    --header-h:   70px;
}

/* ----------------------------------------------------------
   3. Reset & Base
---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    direction: rtl;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--r-lg);
    z-index: 10000;
    font-weight: 700;
    transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ----------------------------------------------------------
   4. Layout
---------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-4);
}

@media (min-width: 768px)  { .container { padding-inline: var(--sp-8); } }
@media (min-width: 1280px) { .container { padding-inline: var(--sp-12); } }
@media (min-width: 1280px) { .site-header__inner { padding-inline: var(--sp-12); } }

.site-main { min-height: 60vh; }

/* ----------------------------------------------------------
   5. Typography Utilities
---------------------------------------------------------- */
.section-eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-2);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-10);
}

.section-footer {
    text-align: center;
    margin-top: var(--sp-10);
}

@media (min-width: 768px) {
    .section-title { font-size: var(--text-4xl); }
}

/* ----------------------------------------------------------
   6. Buttons
---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: var(--text-base);
    font-family: var(--font);
    transition: all var(--dur-base) var(--ease);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-pink);
}
.btn--primary:hover, .btn--primary:focus-visible {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,157,.45);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--outline:hover, .btn--outline:focus-visible {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.btn--gold:hover, .btn--gold:focus-visible {
    background: #a8883d;
    border-color: #a8883d;
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.btn--dark:hover, .btn--dark:focus-visible {
    background: var(--dark-mid);
    border-color: var(--dark-mid);
    transform: translateY(-2px);
}

.btn--disabled {
    background: var(--bg-secondary);
    color: var(--text-muted);
    border-color: var(--border);
    cursor: not-allowed;
    pointer-events: none;
}

.btn--sm  { padding: var(--sp-2) var(--sp-4); font-size: var(--text-sm); }
.btn--lg  { padding: var(--sp-4) var(--sp-8); font-size: var(--text-lg); }
.btn--disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }

/* ----------------------------------------------------------
   7. Top Bar
---------------------------------------------------------- */
.site-topbar {
    width: 100%;
    padding: var(--sp-2) 0;
    font-size: var(--text-sm);
    font-weight: 500;
    background: #000 !important;
    color: #fff !important;
    overflow: hidden;
}

/* Rotator — one message fades in/out every 5s */
.site-topbar__rotator {
    position: relative;
    height: 1.5em;
    overflow: hidden;
    direction: rtl;
    text-align: center;
}
.site-topbar__msg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}
.site-topbar__msg.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ----------------------------------------------------------
   8. Header
---------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--dur-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    height: var(--header-h);
    max-width: 100%;
}

.site-header__logo-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.site-header__logo { flex-shrink: 0; }
.site-header__logo img,
.site-header__logo-img { height: 30px; width: auto; }
.site-header__logo-sub {
    display: block;
    font-size: 7.5px;
    font-weight: 500;
    color: #9a6a80;
    letter-spacing: 0.08em;
    margin-top: 2px;
    white-space: nowrap;
    line-height: 1;
    text-align: center;
}
.site-header__logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Nav — hidden mobile */
.site-nav {
    position: fixed;
    inset: 0;
    background: rgba(28,28,46,.97);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease);
}
.site-nav.is-open { transform: translateX(0); }

.site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-8);
    padding: var(--sp-8);
}
.site-nav__list a {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    transition: color var(--dur-fast);
}
.site-nav__list a:hover { color: var(--primary-light); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { color: var(--primary-light); }

/* Actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.site-header__search-btn,
.site-header__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--r-full);
    color: var(--dark);
    transition: all var(--dur-fast);
    position: relative;
}
.site-header__search-btn:hover,
.site-header__cart:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}
.cart-count:empty, .cart-count[aria-label*="0 "] { display: none; }

/* Start group (mobile: burger + search) */
.site-header__start {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

/* Burger */
.site-header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    color: var(--dark);
    transition: color var(--dur-fast);
    z-index: 1001;
}
.site-header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--dur-base) var(--ease);
}
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay — reset (styles live in section 16) */

/* ── Mobile 3-column header: [burger+search] | logo | [wishlist+cart] ── */
@media (max-width: 1023px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    /* In RTL: column 1 = visual right → burger+search */
    .site-header__start  { justify-self: start; gap: 0; }
    /* column 2 = center → logo */
    .site-header__logo   { justify-self: center; }
    /* column 3 = visual left → wishlist+cart */
    .site-header__actions {
        justify-self: end;
        gap: 0;
    }
    /* Desktop search hidden on mobile */
    .site-header__search--desktop { display: none; }
    /* Search + wishlist icons removed from mobile header — live in drawer footer instead */
    .site-header__search--mobile { display: none !important; }
    .site-header__wishlist       { display: none !important; }
}

@media (min-width: 1024px) {
    /* Single-row header: [logo] [nav] [icons] all on one line */
    :root { --header-h: 70px; }

    .site-header__start { display: none; }

    /* ── Single-row grid (RTL):
         col 1 (auto) = logo (right)
         col 2 (1fr)  = nav  (center)
         col 3 (auto) = actions (left)
    ── */
    .site-header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        height: var(--header-h);
        padding-inline: var(--sp-8);
        gap: 0;
        align-items: center;
    }

    .site-header__logo {
        grid-column: 1;
        align-self: center;
    }

    .site-header__actions {
        grid-column: 3;
        justify-self: end;
        align-self: center;
    }

    /* Nav occupies center column */
    .site-nav {
        grid-column: 2;
        position: static;
        inset: auto;
        background: none;
        transform: none;
        z-index: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        width: 100%;
        height: 100%;
    }

    .site-nav__list {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        padding: 0;
        height: 100%;
    }

    .site-nav__item {
        display: flex;
        align-items: stretch;
    }

    /* Nav links — smaller font kept, bottom-border as active indicator */
    .site-nav__list a {
        display: flex;
        align-items: center;
        gap: var(--sp-1);
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--text);
        padding: 0 var(--sp-3);
        border-radius: 0;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
    }
    .site-nav__list a:hover {
        color: var(--primary);
        background: var(--pink-50);
        border-bottom-color: var(--primary);
    }
    .site-nav__item.current-menu-item > .site-nav__link {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }
}

/* ----------------------------------------------------------
   8b. Mega Menu
---------------------------------------------------------- */
.mega-menu {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
    max-height: calc(100vh - var(--header-h) - 8px);
    overflow: hidden;
}
.mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu__inner {
    padding-block: var(--sp-4) var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.mega-menu__section-title {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--border);
}

/* Brands — CSS columns so they pack vertically across 4 cols */
.mega-menu__brands {
    columns: 2;
    column-gap: var(--sp-4);
}

.mega-menu__brand {
    overflow: hidden;            /* prevents column break mid-card */
    margin-bottom: var(--sp-4);
}

.mega-menu__brand-title {
    display: block;
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--dark);
    margin-bottom: var(--sp-1);
    transition: color var(--dur-fast);
}
.mega-menu__brand-title:hover { color: var(--primary); }

.mega-menu__brand-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mega-menu__brand-list a {
    font-size: 0.7rem;
    line-height: 1.3;
    color: var(--text-muted);
    transition: color var(--dur-fast);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}
.mega-menu__brand-list a::before {
    content: '';
    width: 3px; height: 3px;
    border-radius: var(--r-full);
    background: var(--primary-light);
    flex-shrink: 0;
}
.mega-menu__brand-list a:hover { color: var(--primary); }

/* Simple categories — compact pills */
.mega-menu__simple-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1) var(--sp-2);
}
.mega-menu__simple-grid a {
    font-size: var(--text-xs);
    color: var(--text);
    background: var(--bg-secondary);
    padding: 3px var(--sp-3);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
}
.mega-menu__simple-grid a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Nav arrow */
.site-nav__arrow {
    transition: transform var(--dur-base) var(--ease);
    margin-right: var(--sp-1);
}
.has-mega-menu.mega-open .site-nav__arrow,
.has-mega-menu[aria-expanded="true"] .site-nav__arrow,
.has-acrylic-dropdown.acrylic-open .site-nav__arrow,
.has-acrylic-dropdown[aria-expanded="true"] .site-nav__arrow,
.has-staleks-dropdown.staleks-open .site-nav__arrow,
.has-staleks-dropdown[aria-expanded="true"] .site-nav__arrow,
.has-kli-avoda-dropdown.kli-avoda-open .site-nav__arrow,
.has-kli-avoda-dropdown[aria-expanded="true"] .site-nav__arrow,
.has-ezarim-dropdown.ezarim-open .site-nav__arrow,
.has-ezarim-dropdown[aria-expanded="true"] .site-nav__arrow,
.has-mikhshur-dropdown.mikhshur-open .site-nav__arrow,
.has-mikhshur-dropdown[aria-expanded="true"] .site-nav__arrow,
.has-pedicure-dropdown.pedicure-open .site-nav__arrow,
.has-pedicure-dropdown[aria-expanded="true"] .site-nav__arrow,
.has-tipuakh-dropdown.tipuakh-open .site-nav__arrow,
.has-tipuakh-dropdown[aria-expanded="true"] .site-nav__arrow,
.has-tipuakh-panim-dropdown.tipuakh-panim-open .site-nav__arrow,
.has-tipuakh-panim-dropdown[aria-expanded="true"] .site-nav__arrow {
    transform: rotate(180deg);
}

/* Overlay behind mega menu */
.mega-overlay {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(0,0,0,.3);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base), visibility var(--dur-base);
}
.mega-overlay.is-open { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------
   8c. Acrylic / Polygel Dropdown
---------------------------------------------------------- */
.acrylic-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
}
.acrylic-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.acrylic-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.acrylic-dropdown__cats {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    flex: 1;
}
.acrylic-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--bg-secondary);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
    font-weight: 500;
}
.acrylic-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.acrylic-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8d. STALEKS Dropdown
---------------------------------------------------------- */
.staleks-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
}
.staleks-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.staleks-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.staleks-dropdown__cats {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    flex: 1;
}
.staleks-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--bg-secondary);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
    font-weight: 500;
}
.staleks-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.staleks-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8e. כלי עבודה Dropdown
---------------------------------------------------------- */
.kli-avoda-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
}
.kli-avoda-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.kli-avoda-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.kli-avoda-dropdown__cats {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    flex: 1;
    align-items: center;
}

/* Regular pill */
.kli-avoda-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--bg-secondary);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
    font-weight: 500;
}
.kli-avoda-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Group wrapper for has-sub pill */
.kli-avoda-dropdown__cat-group {
    position: relative;
}
.kli-avoda-dropdown__cat-link--has-sub {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
}
.kli-avoda-dropdown__sub-arrow {
    transition: transform var(--dur-fast);
    flex-shrink: 0;
}
.kli-avoda-dropdown__cat-group:hover .kli-avoda-dropdown__sub-arrow,
.kli-avoda-dropdown__cat-group.sub-open .kli-avoda-dropdown__sub-arrow {
    transform: rotate(180deg);
}

/* Sub-panel (hover flyout) */
.kli-avoda-dropdown__sub-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg, 12px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: var(--sp-2);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--dur-fast) var(--ease),
                transform var(--dur-fast) var(--ease),
                visibility var(--dur-fast);
}
.kli-avoda-dropdown__cat-group:hover .kli-avoda-dropdown__sub-panel,
.kli-avoda-dropdown__cat-group.sub-open .kli-avoda-dropdown__sub-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.kli-avoda-dropdown__sub-link {
    font-size: var(--text-sm);
    color: var(--text);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-base);
    white-space: nowrap;
    transition: background var(--dur-fast), color var(--dur-fast);
}
.kli-avoda-dropdown__sub-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.kli-avoda-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8f. עזרים נלווים Dropdown
---------------------------------------------------------- */
.ezarim-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
}
.ezarim-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ezarim-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.ezarim-dropdown__cats {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    flex: 1;
}
.ezarim-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--bg-secondary);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
    font-weight: 500;
}
.ezarim-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.ezarim-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8g. מכשור וריהוט Dropdown
---------------------------------------------------------- */
.mikhshur-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
}
.mikhshur-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mikhshur-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.mikhshur-dropdown__cats { display: flex; gap: var(--sp-3); flex-wrap: wrap; flex: 1; }
.mikhshur-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--bg-secondary);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
    font-weight: 500;
}
.mikhshur-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.mikhshur-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8h. פדיקור Dropdown
---------------------------------------------------------- */
.pedicure-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
}
.pedicure-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.pedicure-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.pedicure-dropdown__cats { display: flex; gap: var(--sp-3); flex-wrap: wrap; flex: 1; }
.pedicure-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--bg-secondary);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
    font-weight: 500;
}
.pedicure-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.pedicure-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8i. טיפוח Dropdown
---------------------------------------------------------- */
.tipuakh-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                visibility var(--dur-base);
}
.tipuakh-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.tipuakh-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.tipuakh-dropdown__cats { display: flex; gap: var(--sp-3); flex-wrap: wrap; flex: 1; }
.tipuakh-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--bg-secondary);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    transition: all var(--dur-fast);
    white-space: nowrap;
    font-weight: 500;
}
.tipuakh-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.tipuakh-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8j. טיפוח הפנים Dropdown
---------------------------------------------------------- */
.tipuakh-panim-dropdown {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity var(--dur-base), visibility var(--dur-base),
                transform var(--dur-base);
    z-index: 998;
}
.tipuakh-panim-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.tipuakh-panim-dropdown__inner {
    padding-block: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.tipuakh-panim-dropdown__cats { display: flex; gap: var(--sp-3); flex-wrap: wrap; flex: 1; }
.tipuakh-panim-dropdown__cat-link {
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: var(--sp-2) var(--sp-4);
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
    font-weight: 500;
}
.tipuakh-panim-dropdown__cat-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.tipuakh-panim-dropdown__cta { flex-shrink: 0; }

/* ----------------------------------------------------------
   8k. Mobile Drawer
   Sliding-panel navigation — visible on mobile (< 1024px) only
---------------------------------------------------------- */

/* Overlay wrapper — always in DOM, invisible until opened */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1050;
    pointer-events: none;
    display: none;          /* hidden on desktop */
}
.mobile-drawer.is-open { pointer-events: all; }

/* Dark backdrop */
.mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .52);
    opacity: 0;
    transition: opacity .3s ease;
}
.mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }

/* The panel itself — slides in from right */
.mobile-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -4px 0 32px rgba(0, 0, 0, .18);
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

/* Individual screens — stacked, each occupies full panel */
.mobile-drawer__screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--white);
    transform: translateX(100%);    /* default: waiting to the right */
    transition: transform .26s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.mobile-drawer__screen[data-state="active"] { transform: translateX(0); }
.mobile-drawer__screen[data-state="prev"]   { transform: translateX(-100%); } /* parent pushed left */

/* Screen header */
.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 var(--sp-3);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}
.mobile-drawer__head-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    pointer-events: none;
}
.mobile-drawer__head-spacer { width: 80px; flex-shrink: 0; }

/* Close button */
.mobile-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-full);
    color: var(--dark);
    transition: background var(--dur-fast);
    flex-shrink: 0;
}
.mobile-drawer__close:hover { background: var(--bg-secondary); }

/* Back button */
.mobile-drawer__back {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    padding: var(--sp-2) var(--sp-1);
    border-radius: var(--r-md);
    white-space: nowrap;
    flex-shrink: 0;
}
.mobile-drawer__back svg { flex-shrink: 0; }

/* Scrollable body */
.mobile-drawer__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Drawer footer — search + wishlist shortcuts */
.mobile-drawer__foot {
    display: flex;
    flex-shrink: 0;
    border-top: 1px solid var(--border);
    background: var(--white);
}
.mobile-drawer__foot-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-1);
    padding: var(--sp-3) var(--sp-2);
    min-height: 64px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--dur-fast), background var(--dur-fast);
}
.mobile-drawer__foot-btn:hover,
.mobile-drawer__foot-btn:focus-visible {
    color: var(--primary);
    background: var(--pink-50);
}
.mobile-drawer__foot-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-drawer__foot-icon .wishlist-count {
    position: absolute;
    top: -6px;
    inset-inline-start: -6px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
}

/* "View all" link at top of sub-panel */
.mobile-drawer__view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--sp-5);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    background: #FFF5F9;
    border-bottom: 1px solid var(--border);
    transition: background var(--dur-fast);
}
.mobile-drawer__view-all:active { background: #FFE8F2; }

/* Menu items */
.mobile-drawer__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 var(--sp-5);
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--dark);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    text-align: right;
    gap: var(--sp-3);
    transition: background var(--dur-fast);
}
.mobile-drawer__item:active { background: var(--bg-secondary); }

.mobile-drawer__chevron { color: var(--text-muted); flex-shrink: 0; }

/* Show only on mobile */
@media (min-width: 1024px) {
    .mobile-drawer { display: none !important; }
}
@media (max-width: 1023px) {
    .mobile-drawer { display: block; }
    /* hide desktop nav overlay on mobile — drawer replaces it */
    .site-nav { display: none !important; }
}

@media (min-width: 1024px) {
    .mega-menu__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--sp-6);
    }
    /* Brands section gets most of the space, simples compact right column */
    .mega-menu__section         { flex: 1 1 auto; min-width: 0; }
    .mega-menu__section--simple { flex: 0 0 172px; }
    .mega-menu__brands { columns: 4; }
}
@media (min-width: 1024px) and (max-width: 1280px) {
    .mega-menu__brands { columns: 3; }
    .mega-menu__section--simple { flex: 0 0 150px; }
}

/* ----------------------------------------------------------
   9. Hero
---------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--sp-16) + var(--header-h)) 0 var(--sp-24);
    background: #ffffff;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 900px 600px at 50% 60%, rgba(0,0,0,.025) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-12);
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--primary);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 700;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-4);
}

.hero__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 460px;
    margin-inline: auto;
    margin-top: var(--sp-4);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    justify-content: center;
    margin-top: var(--sp-8);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-4) var(--sp-6);
    margin-top: var(--sp-6);
    font-size: var(--text-sm);
    color: var(--text-muted);
}
.hero__trust span {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.hero__trust svg { color: var(--primary); }

/* Hero visual */
.hero__visual {
    position: relative;
    width: min(320px, 100%);
    aspect-ratio: 1;
    flex-shrink: 0;
}

.hero__glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse, rgba(255,107,157,.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero__img { width: 100%; height: 100%; object-fit: contain; }

.hero__placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
}

.hero__circles {
    position: absolute; inset: 0;
    pointer-events: none;
}
.hero__circle {
    position: absolute;
    border-radius: var(--r-full);
    opacity: .05;
}
.hero__circle--1 { width: 80%; height: 80%; top: 10%; right: 10%; background: var(--primary); animation: float1 6s ease-in-out infinite; }
.hero__circle--2 { width: 60%; height: 60%; top: 25%; right: 25%; background: var(--gold); animation: float1 8s ease-in-out infinite reverse; }
.hero__circle--3 { width: 40%; height: 40%; top: 40%; right: 40%; background: var(--primary-light); animation: float1 5s ease-in-out infinite 1s; }

.hero__nail-icon { width: 80px; height: 120px; position: relative; z-index: 1; filter: drop-shadow(0 8px 24px rgba(255,107,157,.4)); }
.hero__img-hint { font-size: var(--text-xs); color: var(--text-muted); text-align: center; position: absolute; bottom: 0; }

.hero__wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    pointer-events: none;
}
.hero__wave svg { width: 100%; height: 100%; }

@keyframes float1 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.03); } }

/* ==========================================================
   Footer
   ========================================================== */

/* ── CSS custom props for footer ── */
:root {
    --footer-bg:       #111111;
    --footer-bg-mid:   #1a1a1a;
    --footer-text:     rgba(255,255,255,.68);
    --footer-text-dim: rgba(255,255,255,.38);
    --footer-heading:  #ffffff;
    --footer-border:   rgba(255,255,255,.08);
    --footer-accent:   var(--primary);
}

/* ── Trust Strip ── */
.footer-trust-strip {
    background: var(--footer-bg-mid);
    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);
}
.footer-trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding-block: var(--sp-4);
}
.footer-trust-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-5);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--footer-text);
    flex: 1 1 160px;
    justify-content: center;
    border-left: 1px solid var(--footer-border);
}
.footer-trust-item:last-child { border-left: none; }
.footer-trust-item svg { color: var(--footer-accent); flex-shrink: 0; }

@media (max-width: 599px) {
    .footer-trust-item { flex: 1 1 calc(50% - var(--sp-4)); border-left: none; }
    .footer-trust-item:nth-child(odd) { border-left: none; }
}

/* ── Main Footer ── */
.footer-main {
    background: var(--footer-bg);
    padding-block: var(--sp-12) var(--sp-10);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10) var(--sp-8);
}
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-col--brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
        align-items: start;
    }
    .footer-col--brand { grid-column: auto; }
}

/* ── Brand column ── */
.footer-logo { display: inline-block; margin-bottom: var(--sp-4); }
.footer-logo__img { max-height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-logo__text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--footer-heading);
    letter-spacing: -.02em;
}

.footer-brand__desc {
    font-size: var(--text-sm);
    color: var(--footer-text);
    line-height: 1.7;
    margin-bottom: var(--sp-5);
    max-width: 280px;
}

/* Social row */
.footer-social {
    display: flex;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
}
.footer-social__link {
    width: 36px; height: 36px;
    border-radius: var(--r-full);
    background: rgba(255,255,255,.08);
    color: var(--footer-text);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.footer-social__link:hover {
    background: var(--footer-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* WhatsApp brand button */
.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    background: #25D366;
    color: #fff;
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: background var(--dur-fast), transform var(--dur-fast);
}
.footer-wa-btn:hover { background: #1ebe5a; transform: translateY(-1px); }

/* ── Column common ── */
.footer-col__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--footer-heading);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--footer-border);
}

/* ── Nav links ── */
.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.footer-links li a {
    font-size: var(--text-sm);
    color: var(--footer-text);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    transition: color var(--dur-fast), gap var(--dur-fast);
    line-height: 1.5;
}
.footer-links li a:hover { color: var(--footer-accent); gap: var(--sp-2); }
.footer-links__all a {
    color: var(--footer-accent) !important;
    font-weight: 600;
}
.footer-links__all a svg { transition: transform var(--dur-fast); transform: scaleX(-1); }
.footer-links__all a:hover svg { transform: scaleX(-1) translateX(4px); }

/* ── Contact list ── */
.footer-contact {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--footer-text);
}
.footer-contact li svg { color: var(--footer-accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact li a {
    color: var(--footer-text);
    transition: color var(--dur-fast);
}
.footer-contact li a:hover { color: var(--footer-accent); }
.footer-contact__hours { color: var(--footer-text-dim) !important; font-size: var(--text-xs) !important; }

/* ── Bottom bar ── */
.footer-bottom {
    background: #0a0a0a;
    border-top: 1px solid var(--footer-border);
    padding-block: var(--sp-5);
}
.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    flex-wrap: wrap;
}

/* Payment badges */
.footer-payment {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-wrap: wrap;
}
.footer-payment__badge {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
    opacity: .75;
    transition: opacity var(--dur-fast);
}
.footer-payment__badge:hover { opacity: 1; }

/* Legal */
.footer-bottom__legal {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
}
.footer-bottom__legal p {
    font-size: var(--text-xs);
    color: var(--footer-text-dim);
}
.footer-bottom__links {
    display: flex;
    gap: var(--sp-3);
}
.footer-bottom__links a {
    font-size: var(--text-xs);
    color: var(--footer-text-dim);
    transition: color var(--dur-fast);
}
.footer-bottom__links a:hover { color: var(--footer-accent); }

.footer-credit {
    font-size: var(--text-xs);
    color: var(--footer-text-dim);
    transition: color var(--dur-fast);
    white-space: nowrap;
}
.footer-credit span {
    color: var(--footer-accent);
    font-weight: 700;
}
.footer-credit:hover { color: var(--footer-text); }

/* Mobile stacking */
@media (max-width: 767px) {
    .footer-bottom__inner { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
    .footer-trust-strip__inner { gap: var(--sp-1); }
    .footer-trust-item { font-size: 0.7rem; padding: var(--sp-2) var(--sp-3); }
}

/* ==========================================================
   Wishlist — Header Icon + Count Badge
   ========================================================== */
.site-header__wishlist {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-full);
    color: var(--dark);
    transition: color var(--dur-fast), background var(--dur-fast);
    flex-shrink: 0;
}
.site-header__wishlist:hover { color: var(--primary); background: var(--pink-50); }

.wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: var(--r-full);
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: none; /* JS sets display:flex when count > 0 */
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* ==========================================================
   Wishlist — Product Card Heart Button
   ========================================================== */
.product-card { position: relative; }
.product-card article { position: relative; }

.product-card__wishlist {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: var(--r-full);
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0;
    transform: scale(.8);
    transition: opacity var(--dur-base), transform var(--dur-base),
                color var(--dur-fast), background var(--dur-fast);
    padding: 0;
}
/* Always show on mobile (no hover) */
@media (max-width: 767px) {
    .product-card__wishlist { opacity: 1; transform: scale(1); }
}
/* Show on card hover */
.product-card:hover .product-card__wishlist {
    opacity: 1;
    transform: scale(1);
}
.product-card__wishlist:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.12) !important;
    box-shadow: var(--shadow-sm);
}
/* Wished state — always visible + filled */
.product-card__wishlist.is-wished {
    opacity: 1;
    transform: scale(1);
    color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.product-card__wishlist.is-wished svg { fill: var(--primary); }

/* ==========================================================
   Wishlist — Toast Notification
   ========================================================== */
.wishlist-toast {
    position: fixed;
    bottom: var(--sp-6);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--dark);
    color: var(--white);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base), transform var(--dur-base);
    box-shadow: var(--shadow-lg);
}
.wishlist-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 1024px) {
    .hero {
        padding: 0;
        min-height: 100svh;
    }
    .hero__inner {
        flex-direction: row;
        text-align: right;
        justify-content: space-between;
        min-height: 100svh;
        padding-block: var(--sp-24);
    }
    .hero__content { flex: 1; max-width: 560px; }
    .hero__title { font-size: var(--text-6xl); }
    .hero__subtitle { margin-inline: 0; }
    .hero__ctas { justify-content: flex-start; }
    .hero__trust { justify-content: flex-start; }
    .hero__visual { width: 440px; height: 440px; }
}

/* ----------------------------------------------------------
   10. Categories
---------------------------------------------------------- */
.categories-section {
    padding: var(--sp-20) 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.category-card__link {
    display: block;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--bg-secondary);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base);
}
.category-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card__link:hover .category-card__img { transform: scale(1.06); }

.category-card__img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #F0F0F0;
}
.category-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}
.category-card__img-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}
.category-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,28,46,.5) 0%, transparent 60%);
}

.category-card__info {
    padding: var(--sp-4);
}
.category-card__name {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-1);
}
.category-card__count {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
    .category-card__name { font-size: var(--text-lg); }
}
@media (min-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------------------------------------
   11. Products
---------------------------------------------------------- */
.products-section {
    padding: var(--sp-20) 0;
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.product-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base);
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card:hover .product-card__photo { transform: scale(1.04); }
/* article stretches to fill li — essential for equal-height button alignment */
.product-card article { display: flex; flex-direction: column; flex: 1; }

.product-card__img-link { display: block; }

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #F5F5F5;
}
.product-card__photo {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease), opacity 0.4s ease;
}

/* ── Hover image swap ─────────────────────────────────── */
.product-card__photo--hover {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease, transform var(--dur-slow) var(--ease);
}
/* Cancel zoom on primary when hover-image takes over */
.product-card:hover .has-hover-img .product-card__photo:not(.product-card__photo--hover) {
    transform: scale(1);
    opacity: 0;
}
.product-card:hover .has-hover-img .product-card__photo--hover {
    opacity: 1;
    transform: scale(1.04);
}

/* ── Badges ──────────────────────────────────────────── */
.product-card__badge {
    position: absolute;
    top: var(--sp-2);
    right: var(--sp-2);
    padding: 3px 9px;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.4;
    z-index: 2;
}
.product-card__badge--sale       { background: #EF4444; color: var(--white); }
.product-card__badge--featured   { background: var(--gold); color: var(--white); }
.product-card__badge--lowstock   { background: #F59E0B; color: var(--white); }
.product-card__badge--new        { background: #10B981; color: var(--white); }
.product-card__badge--bestseller { background: var(--primary); color: var(--white); }

.product-card__out-of-stock {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.product-card__info {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    flex: 1;              /* fill remaining height after image */
    gap: var(--sp-2);
}
.product-card__name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    flex: 1;              /* grow to push price + button to bottom */
}
.product-card__name a:hover { color: var(--primary); }
.product-card__price {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
}
.product-card__price ins { color: var(--text); text-decoration: none; }
.product-card__price del { color: var(--text-muted); font-weight: 400; font-size: 0.75rem; }

.add-to-cart-btn { width: 100%; justify-content: center; margin-top: var(--sp-1); }

/* Flip SVG arrows — RTL: arrows should point left */
.btn svg { transform: scaleX(-1); }
.mobile-drawer__view-all svg { transform: scaleX(-1); }

/* WooCommerce archive ul.products — same grid as .products-grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .products-grid,
    .woocommerce ul.products,
    .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
    .product-card__name { font-size: var(--text-sm); }
}
@media (min-width: 1024px) {
    .products-grid,
    .woocommerce ul.products,
    .woocommerce-page ul.products { grid-template-columns: repeat(5, 1fr); }
}

/* ----------------------------------------------------------
   12. Luxury Banner
---------------------------------------------------------- */
.luxury-banner {
    position: relative;
    padding: var(--sp-20) 0;
    background: var(--dark);
    overflow: hidden;
    text-align: center;
}

.luxury-banner__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 700px 400px at 20% 50%, rgba(255,107,157,.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 80% 50%, rgba(201,165,90,.1) 0%, transparent 70%);
    pointer-events: none;
}

.luxury-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-12);
}

.luxury-banner__eyebrow {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--sp-4);
}

.luxury-banner__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    max-width: 540px;
}
.luxury-banner__title em { color: var(--gold); font-style: normal; }

.luxury-banner__desc {
    color: rgba(255,255,255,.7);
    max-width: 480px;
    font-size: var(--text-lg);
    margin-top: var(--sp-4);
}

.luxury-banner__visual {
    display: none;
}

@media (min-width: 1024px) {
    .luxury-banner { text-align: right; }
    .luxury-banner__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .luxury-banner__content { max-width: 580px; }
    .luxury-banner__title { font-size: var(--text-5xl); }
    .luxury-banner__visual {
        display: block;
        width: 300px;
        height: 300px;
        position: relative;
        flex-shrink: 0;
    }
    .luxury-banner__dots {
        width: 100%; height: 100%;
        background-image: radial-gradient(rgba(255,255,255,.15) 1.5px, transparent 1.5px);
        background-size: 24px 24px;
        border-radius: var(--r-2xl);
    }
}

/* ----------------------------------------------------------
   13. Benefits
---------------------------------------------------------- */
.benefits-section {
    padding: var(--sp-20) 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-8) var(--sp-4);
    background: var(--white);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.benefit-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.benefit-item__icon {
    width: 56px; height: 56px;
    background: var(--bg-secondary);
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
    color: var(--primary);
}
.benefit-item__icon svg { width: 26px; height: 26px; }

.benefit-item__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-2);
}
.benefit-item__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
    .benefit-item { padding: var(--sp-10) var(--sp-6); }
    .benefit-item__title { font-size: var(--text-lg); }
}

/* ----------------------------------------------------------
   14. Footer — Compact Black
---------------------------------------------------------- */
.site-footer {
    background: #111111;
    color: rgba(255,255,255,.65);
}

.site-footer__main {
    padding: var(--sp-16) 0 var(--sp-12);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    align-items: start;
}

.site-footer__logo-text {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}
.site-footer__desc {
    margin-top: var(--sp-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,.4);
    max-width: 240px;
    line-height: 1.6;
}

.site-footer__social {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-5);
}
.site-footer__social a {
    width: 36px; height: 36px;
    border-radius: var(--r-full);
    background: rgba(255,255,255,.07);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.55);
    transition: all var(--dur-fast);
}
.site-footer__social a:hover { background: var(--primary); color: var(--white); }

.site-footer__title {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,.3);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.site-footer__nav { display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer__nav a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.5);
    transition: color var(--dur-fast);
    padding: 2px 0;
}
.site-footer__nav a:hover { color: var(--white); }

.site-footer__contact { display: flex; flex-direction: column; gap: var(--sp-3); }
.site-footer__contact li {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,.55);
}
.site-footer__contact a { color: rgba(255,255,255,.55); transition: color var(--dur-fast); }
.site-footer__contact a:hover { color: var(--white); }
.site-footer__contact svg { color: var(--primary); flex-shrink: 0; }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: var(--sp-5) 0;
}
.site-footer__bottom .container {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,.28);
}
.site-footer__bottom nav { display: flex; gap: var(--sp-5); }
.site-footer__bottom nav a { color: rgba(255,255,255,.28); transition: color var(--dur-fast); }
.site-footer__bottom nav a:hover { color: rgba(255,255,255,.75); }

@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: 2fr 1fr 1.2fr; gap: var(--sp-12); }
    .site-footer__main { padding: var(--sp-16) 0 var(--sp-14); }
    .site-footer__bottom .container { flex-direction: row; justify-content: space-between; }
}

/* ----------------------------------------------------------
   15. WhatsApp FAB
---------------------------------------------------------- */
.whatsapp-fab {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-5);
    left: auto;
    width: 50px; height: 50px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,.48);
    z-index: 850;
    transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.whatsapp-fab svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 26px rgba(37,211,102,.62);
}

/* Mobile single-product: float above the sticky ATC bar */
@media (max-width: 1023px) {
    .single-product .whatsapp-fab {
        bottom: calc(72px + var(--sp-3));
    }
}

/* ----------------------------------------------------------
   16. Search Overlay — Professional live-search panel
---------------------------------------------------------- */

/* Container */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    visibility: hidden;
    pointer-events: none;
}
.search-overlay.is-open { visibility: visible; pointer-events: all; }

/* Blurred dark backdrop */
.search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity .35s var(--ease);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    cursor: pointer;
}
.search-overlay.is-open .search-overlay__backdrop { opacity: 1; }

/* Panel slides down from top */
.search-overlay__panel {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: var(--white);
    transform: translateY(-100%);
    transition: transform .38s cubic-bezier(.16,.01,.36,1);
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.search-overlay.is-open .search-overlay__panel { transform: translateY(0); }

/* Search bar row */
.search-overlay__bar {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-5) 0;
    border-bottom: 2px solid var(--border);
}
.search-overlay__bar-icon { color: var(--text-muted); flex-shrink: 0; }
.search-overlay__input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: var(--text-xl);
    color: var(--dark);
    background: transparent;
    min-width: 0;
    direction: rtl;
}
.search-overlay__input::placeholder { color: #C4C4C4; font-weight: 400; }
.search-overlay__input::-webkit-search-cancel-button { display: none; }
.search-overlay__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: var(--r-full);
    background: var(--bg-secondary);
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all var(--dur-fast);
    flex-shrink: 0;
}
.search-overlay__clear:hover { background: #FECACA; color: #EF4444; }
.search-overlay__close-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--dur-fast);
    flex-shrink: 0;
    font-family: var(--font);
}
.search-overlay__close-btn:hover { border-color: var(--dark); color: var(--dark); }
.search-overlay__esc-hint {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Body */
.search-overlay__body { padding: var(--sp-6) 0 var(--sp-8); }

/* Section titles */
.search-overlay__section-title {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: var(--sp-3);
}

/* Recent searches history */
.search-overlay__history {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-6);
}
.search-overlay__history-item {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: var(--r-full);
    overflow: hidden;
    transition: background var(--dur-fast);
}
.search-overlay__history-item:hover { background: #F0F0F0; }
.search-overlay__history-query {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 6px var(--sp-4);
    font-family: var(--font);
    font-size: var(--text-sm);
    color: var(--dark);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: color var(--dur-fast);
}
.search-overlay__history-query:hover { color: var(--primary); }
.search-overlay__history-query svg { color: var(--text-muted); flex-shrink: 0; }
.search-overlay__history-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px 6px 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #C4C4C4;
    transition: color var(--dur-fast);
}
.search-overlay__history-remove:hover { color: var(--error); }

/* Popular category tags */
.search-overlay__popular { margin-bottom: var(--sp-2); }
.search-overlay__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.search-overlay__tag {
    padding: 6px var(--sp-4);
    background: var(--pink-50);
    color: var(--primary-dark);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--dur-fast);
    border: 1px solid var(--primary-light);
}
.search-overlay__tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Loading spinner */
.search-overlay__loading { display: flex; justify-content: center; padding: var(--sp-10) 0; }
.search-overlay__spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: var(--r-full);
    animation: spin .7s linear infinite;
}

/* Results header */
.search-overlay__results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-4);
}
.search-overlay__results-count {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.search-overlay__results-all {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    transition: color var(--dur-fast);
}
.search-overlay__results-all:hover { color: var(--primary-dark); }

/* Results grid */
.search-overlay__list {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    gap: 4px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .search-overlay__list { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .search-overlay__list { grid-template-columns: repeat(3,1fr); } }

.search-overlay__result-item {
    animation: drawerItemIn var(--dur-base) var(--ease) both;
}
.search-overlay__result-link {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-3);
    border-radius: var(--r-xl);
    text-decoration: none;
    transition: background var(--dur-fast);
}
.search-overlay__result-link:hover { background: var(--bg-secondary); }
.search-overlay__result-img {
    width: 56px; height: 56px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.search-overlay__result-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-overlay__result-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-overlay__result-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-overlay__result-price { font-size: var(--text-xs); font-weight: 700; color: var(--primary); }

/* No results */
.search-overlay__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-10) 0;
    text-align: center;
    color: var(--text-muted);
}
.search-overlay__empty p { font-size: var(--text-base); color: var(--dark); margin: 0; }
.search-overlay__empty-sub { font-size: var(--text-sm) !important; color: var(--text-muted) !important; }
.search-overlay__empty svg { color: #DCDCDC; }

/* ----------------------------------------------------------
   17. 404 Page
---------------------------------------------------------- */
.error-404 {
    padding: var(--sp-20) 0 var(--sp-24);
    text-align: center;
}
.error-404__visual {
    margin-bottom: var(--sp-6);
}
.error-404__number {
    font-size: clamp(6rem, 22vw, 14rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #c954a8 50%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0;
    user-select: none;
}
.error-404__icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: var(--sp-2);
}
.error-404__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-3);
}
.error-404__desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-bottom: var(--sp-8);
    max-width: 420px;
    margin-inline: auto;
}
/* Embedded search form */
.error-404__search {
    max-width: 520px;
    margin: 0 auto var(--sp-8);
}
.error-404__search-form {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--r-full);
    overflow: hidden;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.error-404__search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,107,157,.12);
}
.error-404__search-icon {
    padding: 0 var(--sp-4) 0 var(--sp-5);
    color: var(--text-muted);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.error-404__search-input {
    flex: 1;
    padding: var(--sp-4) 0;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: var(--text-base);
    color: var(--dark);
    background: transparent;
    direction: rtl;
}
.error-404__search-submit {
    padding: var(--sp-4) var(--sp-6);
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--dur-fast);
    flex-shrink: 0;
    white-space: nowrap;
}
.error-404__search-submit:hover { background: var(--primary-dark); }
/* Categories */
.error-404__cats-title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: var(--sp-3);
}
.error-404__cats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    justify-content: center;
    margin-bottom: var(--sp-8);
}
.error-404__cat-link {
    padding: 7px var(--sp-5);
    background: var(--pink-50);
    border: 1px solid var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--dur-fast);
}
.error-404__cat-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
/* CTA actions */
.error-404__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------
   Search Results Page
---------------------------------------------------------- */
.search-page { padding-block: var(--sp-10); }
.search-page__hero {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-8) 0;
    margin-bottom: var(--sp-10);
}
.search-page__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-6);
}
.search-page__title em {
    font-style: normal;
    color: var(--primary);
}
.search-page__form-inner {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--r-full);
    overflow: hidden;
    max-width: 640px;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.search-page__form-inner:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,107,157,.12);
}
.search-page__search-icon {
    padding: 0 var(--sp-4) 0 var(--sp-5);
    color: var(--text-muted);
    display: flex; align-items: center;
    flex-shrink: 0;
}
.search-page__input {
    flex: 1;
    padding: var(--sp-4) 0;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: var(--text-base);
    color: var(--dark);
    background: transparent;
    direction: rtl;
    min-width: 0;
}
.search-page__submit {
    padding: var(--sp-4) var(--sp-6);
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--dur-fast);
    white-space: nowrap;
}
.search-page__submit:hover { background: var(--primary-dark); }
.search-page__meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--sp-4);
}
.search-page__meta strong { color: var(--dark); }
.search-page__no-results {
    text-align: center;
    padding: var(--sp-16) 0;
}
.search-page__no-results-icon { font-size: 3rem; margin-bottom: var(--sp-4); }
.search-page__no-results h2 { font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--sp-3); }
.search-page__no-results p { color: var(--text-muted); margin-bottom: var(--sp-8); }

/* ----------------------------------------------------------
   18. Page / General
---------------------------------------------------------- */
.page-container { padding-block: var(--sp-12); }

/* ----------------------------------------------------------
   19. Accessibility
---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast */
@media (forced-colors: active) {
    .btn--primary { border: 2px solid ButtonText; }
}

/* ----------------------------------------------------------
   20. Cart Drawer — Luxury Side Panel
---------------------------------------------------------- */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
}
.cart-drawer.is-open {
    visibility: visible;
    pointer-events: all;
}

/* Backdrop */
.cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease);
    cursor: pointer;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }

/* Panel */
.cart-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(400px, 100vw);
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--dur-slow) var(--ease);
    box-shadow: 10px 0 60px rgba(0,0,0,.2);
    overflow: hidden;
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }

/* Header */
.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-drawer__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin: 0;
}
.cart-drawer__title svg { color: var(--text-muted); }
.cart-drawer__title-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--r-full);
    line-height: 1;
    flex-shrink: 0;
}
.cart-drawer__close {
    width: 36px; height: 36px;
    border-radius: var(--r-full);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all var(--dur-fast);
    flex-shrink: 0;
}
.cart-drawer__close:hover { background: var(--bg-secondary); color: var(--dark); }

/* Body */
.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Empty state */
.cart-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    gap: var(--sp-4);
    text-align: center;
    padding: var(--sp-10) var(--sp-8);
}
.cart-drawer__empty-icon { color: #CECECE; }
.cart-drawer__empty-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.cart-drawer__empty-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

/* Items list */
.cart-drawer__items {
    padding: var(--sp-2) var(--sp-5) var(--sp-4);
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
}
.cart-drawer__item {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-5) 0;
    border-bottom: 1px solid #F2F2F2;
    animation: drawerItemIn var(--dur-base) var(--ease) both;
}
.cart-drawer__item:last-child { border-bottom: none; }

@keyframes drawerItemIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cart-drawer__item-img {
    width: 76px;
    height: 76px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.cart-drawer__item-img img, .cart-drawer__item-img a { display: block; width: 100%; height: 100%; }
.cart-drawer__item-img img { object-fit: cover; }

.cart-drawer__item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.cart-drawer__item-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--dur-fast);
}
a.cart-drawer__item-name:hover { color: var(--primary); }
.cart-drawer__item-price {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary);
}
.cart-drawer__item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--sp-1);
}
.cart-drawer__item-qty {
    font-size: var(--text-xs);
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: var(--r-full);
}
.cart-drawer__item-remove {
    font-size: var(--text-xs);
    color: #C0C0C0;
    transition: color var(--dur-fast);
    text-decoration: none;
}
.cart-drawer__item-remove:hover { color: var(--error); }

/* Shipping progress */
.cart-drawer__shipping {
    margin: var(--sp-4) var(--sp-5) 0;
    padding: var(--sp-4);
    background: #FAFAFA;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}
.cart-drawer__shipping-text {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--sp-2);
}
.cart-drawer__shipping-text strong { color: var(--dark); }
.cart-drawer__shipping-bar-track {
    height: 4px;
    background: var(--border);
    border-radius: var(--r-full);
    overflow: hidden;
}
.cart-drawer__shipping-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: var(--r-full);
    transition: width .6s ease;
}
.cart-drawer__shipping-bar-fill.done { background: var(--success); }

/* Footer */
.cart-drawer__foot {
    border-top: 1px solid var(--border);
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
    flex-shrink: 0;
    background: #FAFAFA;
}
.cart-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-4);
}
.cart-drawer__subtotal-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}
.cart-drawer__subtotal-val {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--dark);
}
.cart-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.cart-drawer__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* ─── Outline button tweak for drawer ─── */
.cart-drawer .btn--outline {
    color: var(--dark);
    border-color: var(--border);
    font-weight: 600;
}
.cart-drawer .btn--outline:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

@media (max-width: 480px) {
    .cart-drawer__panel { width: 100vw; }
}

/* ----------------------------------------------------------
   21. Wishlist Drawer — Side Canvas (slides from right)
---------------------------------------------------------- */
.wishlist-drawer {
    position: fixed;
    inset: 0;
    z-index: 2001;           /* above cart drawer */
    visibility: hidden;
    pointer-events: none;
}
.wishlist-drawer.is-open {
    visibility: visible;
    pointer-events: all;
}

/* Backdrop */
.wishlist-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease);
    cursor: pointer;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.wishlist-drawer.is-open .wishlist-drawer__backdrop { opacity: 1; }

/* Panel slides in from RIGHT */
.wishlist-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(400px, 100vw);
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease);
    box-shadow: -10px 0 60px rgba(0,0,0,.2);
    overflow: hidden;
}
.wishlist-drawer.is-open .wishlist-drawer__panel { transform: translateX(0); }

/* Header */
.wishlist-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--pink-50);
}
.wishlist-drawer__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin: 0;
}
.wishlist-drawer__title svg { color: var(--primary); }
.wishlist-drawer__title-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--r-full);
    line-height: 1;
    flex-shrink: 0;
}
.wishlist-drawer__close {
    width: 36px; height: 36px;
    border-radius: var(--r-full);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all var(--dur-fast);
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}
.wishlist-drawer__close:hover { background: rgba(255,107,157,.12); color: var(--primary); }

/* Body */
.wishlist-drawer__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Loading */
.wishlist-drawer__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

/* Empty state */
.wishlist-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    gap: var(--sp-4);
    text-align: center;
    padding: var(--sp-10) var(--sp-8);
}
.wishlist-drawer__empty-icon { color: #DCDCDC; }
.wishlist-drawer__empty-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.wishlist-drawer__empty-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

/* Items list */
.wishlist-drawer__items {
    list-style: none;
    padding: var(--sp-2) var(--sp-5) var(--sp-4);
    margin: 0;
    display: flex;
    flex-direction: column;
}
.wishlist-drawer__item {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid #F2F2F2;
    align-items: flex-start;
    animation: drawerItemIn var(--dur-base) var(--ease) both;
    position: relative;
}
.wishlist-drawer__item:last-child { border-bottom: none; }

/* Thumbnail */
.wishlist-drawer__item-img {
    width: 76px;
    height: 76px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: block;
}
.wishlist-drawer__item-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Info */
.wishlist-drawer__item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    padding-inline-end: var(--sp-6);
}
.wishlist-drawer__item-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color var(--dur-fast);
}
.wishlist-drawer__item-name:hover { color: var(--primary); }
.wishlist-drawer__item-price {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary);
}
.wishlist-drawer__item-actions { margin-top: var(--sp-2); }
.wishlist-drawer__item-actions .btn { font-size: var(--text-xs); padding: 6px 14px; }

/* × Remove button (top-right of item) */
.wishlist-drawer__item-remove {
    position: absolute;
    top: var(--sp-4);
    left: 0;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-full);
    border: none;
    background: none;
    color: #C0C0C0;
    cursor: pointer;
    transition: all var(--dur-fast);
    padding: 0;
}
.wishlist-drawer__item-remove:hover { color: var(--error); background: #FEF2F2; }

/* Footer */
.wishlist-drawer__foot {
    border-top: 1px solid var(--border);
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
    flex-shrink: 0;
    background: #FAFAFA;
}
.wishlist-drawer__view-all {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    text-align: center;
    color: var(--dark);
    border-color: var(--border);
    font-weight: 600;
}
.wishlist-drawer__view-all:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* Header wishlist button — style as button (was <a>) */
.site-header__wishlist {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 480px) {
    .wishlist-drawer__panel { width: 100vw; }
}

/* ----------------------------------------------------------
   22. Archive Toolbar — Sort + Count + Filter Chips
---------------------------------------------------------- */
.archive-toolbar {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) 0 var(--sp-5);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

/* Product count — sits at the logical start (right in RTL) */
.archive-toolbar__count {
    font-size: var(--text-sm);
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.archive-toolbar__count strong { color: var(--dark); font-weight: 700; }

/* Active filter chips — fills the middle */
.archive-toolbar__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    flex: 1;
}
.archive-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--primary-dark);
    background: var(--pink-50);
    border: 1.5px solid var(--pink-200);
    border-radius: var(--r-full);
    text-decoration: none;
    transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
    line-height: 1;
}
.archive-chip:hover {
    background: var(--pink-100);
    border-color: var(--primary);
    color: var(--primary-dark);
}
.archive-chip span { font-size: 12px; opacity: 0.65; }
.archive-chip--clear {
    background: transparent;
    border-color: var(--border);
    color: var(--text-muted);
}
.archive-chip--clear:hover {
    background: #FEF2F2;
    border-color: #EF4444;
    color: #EF4444;
}

/* Sort dropdown — sits at the logical end (left in RTL) */
.archive-toolbar__sort {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-shrink: 0;
    margin-inline-start: auto;
}
.archive-sort__label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    white-space: nowrap;
}
.archive-sort__wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.archive-sort__select {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 12px;
    padding-inline-end: 30px;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--dark);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    cursor: pointer;
    outline: none;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.archive-sort__select:hover  { border-color: var(--primary-light); }
.archive-sort__select:focus  { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,157,.15); }
.archive-sort__chevron {
    position: absolute;
    inset-inline-end: 9px;
    pointer-events: none;
    color: var(--text-muted);
    transition: transform var(--dur-fast);
}
.archive-sort__select:focus ~ .archive-sort__chevron { transform: rotate(180deg); }

@media (max-width: 640px) {
    .archive-toolbar { gap: var(--sp-2); }
    .archive-toolbar__sort { margin-inline-start: 0; width: 100%; }
    .archive-sort__select { flex: 1; }
    .archive-toolbar__count { width: 100%; }
    .archive-toolbar__chips { width: 100%; }
}

/* ----------------------------------------------------------
   23. Load More — Archive Pagination
---------------------------------------------------------- */
.load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-10) 0 var(--sp-6);
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 14px 40px;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: var(--r-full);
    cursor: pointer;
    transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
    position: relative;
    min-width: 200px;
    justify-content: center;
}
.load-more-btn:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255,107,157,.35);
    transform: translateY(-2px);
}
.load-more-btn:active {
    transform: translateY(0);
}
.load-more-btn:disabled {
    pointer-events: none;
}

/* Spinner hidden by default, shown in loading state */
.load-more-btn__spinner {
    display: none;
    animation: lm-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes lm-spin {
    to { transform: rotate(360deg); }
}

/* Loading state */
.load-more-btn.is-loading .load-more-btn__text {
    opacity: 0.6;
}
.load-more-btn.is-loading .load-more-btn__spinner {
    display: block;
}

/* Product count label */
.load-more-count {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
    text-align: center;
}
.load-more-count strong {
    color: var(--text);
    font-weight: 600;
}

/* ==========================================================
   Footer — second sub-title in a column
   ========================================================== */
.footer-col__title--spaced {
    margin-top: var(--sp-6);
}

/* ==========================================================
   Policy Pages (privacy, terms, returns, shipping)
   ========================================================== */
.policy-page {
    max-width: 820px;
    margin-inline: auto;
    padding-block: var(--sp-10) var(--sp-12);
}

/* Hero / intro banner */
.policy-page__hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: var(--r-2xl);
    padding: var(--sp-8) var(--sp-8);
    margin-bottom: var(--sp-8);
    text-align: center;
    border-bottom: 3px solid var(--primary);
}
.policy-page__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--sp-2);
    letter-spacing: -0.02em;
}
.policy-page__meta {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.55);
    margin: 0;
}

/* Section card */
.policy-section {
    background: var(--white);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    padding: var(--sp-6);
    margin-bottom: var(--sp-4);
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.policy-section__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--primary);
}
.policy-section h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    margin-block: var(--sp-4) var(--sp-2);
}
.policy-section p {
    font-size: var(--text-base);
    color: var(--text);
    line-height: 1.85;
    margin-bottom: var(--sp-3);
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul {
    padding-inline-start: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
}
.policy-section ul li {
    font-size: var(--text-base);
    color: var(--text);
    line-height: 1.7;
}
.policy-section a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.policy-section a:hover { color: var(--primary-dark); }

/* Shipping option cards */
.policy-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
}
.policy-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-5) var(--sp-4);
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
    transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}
.policy-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.policy-card--featured {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(var(--primary-rgb),.15);
}
.policy-card__icon { font-size: 2.4rem; margin-bottom: var(--sp-3); }
.policy-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-2);
}
.policy-card p {
    font-size: var(--text-sm);
    color: var(--text);
    line-height: 1.6;
    margin-bottom: var(--sp-1);
}
.policy-card__price {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary) !important;
    margin-bottom: var(--sp-2) !important;
}

/* Contact box */
.policy-contact {
    background: var(--pink-50);
    border: 1px solid rgba(var(--primary-rgb),.25);
    border-radius: var(--r-xl);
    padding: var(--sp-5) var(--sp-6);
    margin-top: var(--sp-4);
}
.policy-contact p {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-3);
    font-size: var(--text-base);
}
.policy-contact ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.policy-contact ul li { font-size: var(--text-base); color: var(--text); }
.policy-contact a { color: var(--primary); font-weight: 600; text-decoration: none; }
.policy-contact a:hover { text-decoration: underline; }

@media (max-width: 767px) {
    .policy-page { padding-block: var(--sp-6) var(--sp-8); }
    .policy-page__hero { padding: var(--sp-6); }
    .policy-page__title { font-size: var(--text-2xl); }
    .policy-section { padding: var(--sp-4); }
    .policy-cards-row { grid-template-columns: 1fr; }
}

/* ==========================================================
   Cookie Consent Banner
   ========================================================== */
.cookie-banner {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 9990;
    background: #1c1c1c;
    border-top: 2px solid var(--primary);
    padding-block: var(--sp-4);
    box-shadow: 0 -6px 32px rgba(0,0,0,.35);
    transform: translateY(100%);
    transition: transform .45s var(--ease);
    will-change: transform;
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    flex-wrap: wrap;
}
.cookie-banner__text {
    flex: 1;
    font-size: var(--text-sm);
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    margin: 0;
    min-width: 200px;
}
.cookie-banner__text strong { color: var(--white); }
.cookie-banner__link {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    font-weight: 600;
}
.cookie-banner__link:hover { color: var(--white); }
.cookie-banner__btn {
    flex-shrink: 0;
    background: var(--primary);
    color: var(--white);
    padding: var(--sp-2) var(--sp-6);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
    box-shadow: 0 2px 12px rgba(var(--primary-rgb),.35);
    cursor: pointer;
}
.cookie-banner__btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(var(--primary-rgb),.45);
}
@media (max-width: 600px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-3);
    }
    .cookie-banner__btn { width: 100%; text-align: center; padding-block: var(--sp-3); }
}

/* ==========================================================
   [hidden] safety — ensures hidden attribute always works
   ========================================================== */
[hidden] { display: none !important; }

/* ==========================================================
   Wishlist Page
   ========================================================== */
.wishlist-page {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--sp-8) var(--gap);
}

.wishlist-page__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.wishlist-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #fce7f3;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: wl-spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes wl-spin {
    to { transform: rotate(360deg); }
}

.wishlist-page__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
    text-align: center;
}

.wishlist-page__empty-icon {
    color: #fce7f3;
    line-height: 0;
}

.wishlist-page__empty h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
}

.wishlist-page__empty p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    max-width: 280px;
}

.wishlist-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-6);
}

.wishlist-page__title {
    font-size: var(--text-xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.wishlist-page__count {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-muted);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--gap);
}

.wishlist-card__actions {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
    align-items: center;
    flex-wrap: wrap;
}

.wishlist-card__remove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--r-full);
    transition: color var(--dur-base), background var(--dur-base);
    cursor: pointer;
}

.wishlist-card__remove:hover {
    color: #dc2626;
    background: #fef2f2;
}

@media (max-width: 600px) {
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
    .wishlist-page { padding-inline: var(--sp-4); }
}

/* ==========================================================
   Blog — Archive, Home, Single Post
   ========================================================== */

/* ── Shared: blog-grid ── */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-10);
}
@media (min-width: 640px)  { .blog-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid--3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); } }

/* ── Blog card ── */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card__img-link {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
}
.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card__img {
    transform: scale(1.04);
}

/* Placeholder when no thumbnail */
.blog-card__img-link--placeholder { background: var(--bg-secondary); }
.blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
}

.blog-card__body {
    padding: var(--sp-5) var(--sp-5) var(--sp-4);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--sp-2);
}

.blog-card__cat {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--pink-50);
    padding: 3px 10px;
    border-radius: var(--r-full);
    text-decoration: none;
    align-self: flex-start;
    transition: background var(--dur-fast), color var(--dur-fast);
}
.blog-card__cat:hover {
    background: var(--primary);
    color: var(--white);
}

.blog-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    margin-top: var(--sp-1);
}
.blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur-fast);
}
.blog-card__title a:hover { color: var(--primary); }

.blog-card__excerpt {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.blog-card__date,
.blog-card__read-time {
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.blog-card__read-more {
    margin-right: auto;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--dur-fast);
    white-space: nowrap;
}
.blog-card__read-more:hover { color: var(--primary-dark); }

/* ── Archive hero ── */
.blog-archive__hero {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-12) 0 var(--sp-10);
    text-align: center;
}
.blog-archive__hero-inner { max-width: 600px; margin-inline: auto; }
.blog-archive__eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
    margin-bottom: var(--sp-2);
}
.blog-archive__eyebrow a {
    color: inherit;
    text-decoration: none;
}
.blog-archive__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: var(--sp-3);
}
.blog-archive__desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Archive body ── */
.blog-archive__body {
    padding-block: var(--sp-10);
}

/* ── Category filter nav ── */
.blog-archive__cats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-8);
    justify-content: center;
}
.blog-archive__cat-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-4);
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    background: var(--white);
    transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
    white-space: nowrap;
}
.blog-archive__cat-btn:hover,
.blog-archive__cat-btn.is-active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--pink-50);
}
.blog-archive__cat-count {
    background: var(--bg-secondary);
    border-radius: var(--r-full);
    padding: 1px 7px;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
}

/* ── Empty state ── */
.blog-archive__empty {
    text-align: center;
    padding: var(--sp-20) var(--sp-8);
    color: var(--text-muted);
}
.blog-archive__empty-icon { font-size: 3rem; margin-bottom: var(--sp-4); }
.blog-archive__empty h2 { font-size: var(--text-2xl); font-weight: 700; color: var(--dark); margin-bottom: var(--sp-2); }

/* ── Pagination ── */
.blog-pagination { display: flex; justify-content: center; margin-top: var(--sp-10); }
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    background: var(--white);
    transition: all var(--dur-fast);
}
.blog-pagination .page-numbers li a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.blog-pagination .page-numbers li span.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.blog-pagination .page-numbers li .dots {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: default;
}

/* ── Section title (used in single + elsewhere) ── */
.blog-section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--border);
}

/* ══════════════════════════════════════════════════════
   Blog Single Post
   ══════════════════════════════════════════════════════ */

/* Hero */
.blog-single__hero {
    position: relative;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-12) 0 var(--sp-10);
    overflow: hidden;
}
.blog-single__hero--has-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(28,28,46,.55), rgba(28,28,46,.8));
    z-index: 1;
}
.blog-single__hero-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.blog-single__hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-single__hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.blog-single__hero--has-img .blog-single__hero-inner { color: var(--white); }

.blog-single__breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--sp-4);
}
.blog-single__hero--has-img .blog-single__breadcrumb { color: rgba(255,255,255,.7); }
.blog-single__breadcrumb a { color: inherit; text-decoration: none; }
.blog-single__breadcrumb a:hover { color: var(--primary); }

.blog-single__cat-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--pink-50);
    padding: 4px 12px;
    border-radius: var(--r-full);
    text-decoration: none;
    margin-bottom: var(--sp-3);
    transition: background var(--dur-fast), color var(--dur-fast);
}
.blog-single__hero--has-img .blog-single__cat-badge {
    background: rgba(255,255,255,.2);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.blog-single__title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--sp-5);
}
.blog-single__hero--has-img .blog-single__title { color: var(--white); }

.blog-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
}
.blog-single__hero--has-img .blog-single__meta { color: rgba(255,255,255,.75); }
.blog-single__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-single__meta-sep { opacity: .4; }

/* Layout: content + sidebar */
.blog-single__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    padding-block: var(--sp-10);
}
@media (min-width: 1024px) {
    .blog-single__layout {
        grid-template-columns: 1fr 220px;
        gap: var(--sp-12);
    }
}

/* ── Article typography (entry-content) ── */
.entry-content {
    font-size: var(--text-base);
    line-height: 1.85;
    color: var(--text);
    max-width: 72ch;
}
.entry-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--dark);
    margin: var(--sp-8) 0 var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 2px solid var(--pink-100);
}
.entry-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--dark);
    margin: var(--sp-6) 0 var(--sp-2);
}
.entry-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark);
    margin: var(--sp-5) 0 var(--sp-2);
}
.entry-content p { margin-bottom: var(--sp-5); }
.entry-content ul,
.entry-content ol {
    margin: 0 0 var(--sp-5) var(--sp-6);
    padding: 0;
}
.entry-content li { margin-bottom: var(--sp-2); }
.entry-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--primary-dark); }
.entry-content blockquote {
    margin: var(--sp-6) 0;
    padding: var(--sp-4) var(--sp-6);
    background: var(--pink-50);
    border-right: 4px solid var(--primary);
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    font-style: italic;
    color: var(--dark);
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r-xl);
    margin-block: var(--sp-4);
}
.entry-content figure { margin-block: var(--sp-6); }
.entry-content figcaption {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--sp-2);
}
.entry-content strong { font-weight: 700; color: var(--dark); }
.entry-content code {
    background: var(--bg-secondary);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: .9em;
}
.entry-content pre {
    background: var(--dark);
    color: #fff;
    padding: var(--sp-5);
    border-radius: var(--r-xl);
    overflow-x: auto;
    margin-bottom: var(--sp-5);
}
.entry-content hr {
    border: none;
    border-top: 2px solid var(--border);
    margin: var(--sp-8) 0;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--sp-5);
    font-size: var(--text-sm);
}
.entry-content th,
.entry-content td {
    text-align: right;
    padding: var(--sp-2) var(--sp-3);
    border: 1px solid var(--border);
}
.entry-content th {
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--dark);
}

/* ── Sidebar widgets ── */
.blog-single__sidebar { display: flex; flex-direction: column; gap: var(--sp-6); }
.blog-single__widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-5);
}
.blog-single__widget-title {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: var(--sp-3);
}
@media (min-width: 1024px) {
    .blog-single__sidebar { position: sticky; top: calc(var(--header-h, 80px) + var(--sp-6)); }
}

/* Tags */
.blog-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}
.blog-single__tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 4px 10px;
    text-decoration: none;
    transition: border-color var(--dur-fast), color var(--dur-fast);
}
.blog-single__tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Share */
.blog-single__share { display: flex; gap: var(--sp-2); }
.blog-single__share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-decoration: none;
    transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.blog-single__share-btn:hover { opacity: .85; transform: translateY(-1px); }
.blog-single__share-btn--fb { background: #1877f2; color: var(--white); }
.blog-single__share-btn--wa { background: #25d366; color: var(--white); }

/* Back link */
.blog-single__back {
    padding-block: var(--sp-4);
    border-top: 1px solid var(--border);
    margin-bottom: var(--sp-8);
}
.blog-single__back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--dur-fast);
}
.blog-single__back-link:hover { color: var(--primary); }

/* Related posts */
.blog-related { padding-bottom: var(--sp-12); }

/* ── Mobile tweaks ── */
@media (max-width: 640px) {
    .blog-archive__hero { padding: var(--sp-8) 0; }
    .blog-archive__title { font-size: var(--text-2xl); }
    .blog-single__title { font-size: var(--text-2xl); }
    .blog-single__layout { padding-block: var(--sp-6); }
    .entry-content { font-size: var(--text-sm); }
}

/* ==========================================================
   Accessibility Toolbar — סרגל נגישות
   Israeli law: תקנות שוויון זכויות לאנשים עם מוגבלות
   WCAG 2.0 Level AA
   ========================================================== */

/* ── Trigger button (fixed left, vertically centered) ── */
.a11y-toolbar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    direction: rtl;
}

.a11y-toolbar__trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #1a6cf5;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 10px;
    cursor: pointer;
    box-shadow: 2px 0 16px rgba(26,108,245,.35);
    transition: background var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
    min-width: 48px;
    line-height: 1;
}

.a11y-toolbar__trigger:hover,
.a11y-toolbar__trigger:focus-visible {
    background: #1457cc;
    box-shadow: 2px 0 22px rgba(26,108,245,.5);
    transform: translateY(0) scaleX(1.06);
    outline: 3px solid #fff;
    outline-offset: -3px;
}

.a11y-toolbar__trigger-text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    white-space: nowrap;
}

/* ── Panel ── */
.a11y-toolbar__panel {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-110%);
    transition: transform 300ms var(--ease), opacity 300ms var(--ease);
    opacity: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 0 30px rgba(0,0,0,.18);
    width: 260px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0 0 12px;
    z-index: 9999;
    /* scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.a11y-toolbar__panel.is-open {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

/* ── Panel header ── */
.a11y-toolbar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    background: #1a6cf5;
    color: #fff;
    border-radius: 0 12px 0 0;
    gap: 8px;
}

.a11y-toolbar__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.a11y-toolbar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background var(--dur-fast), border-color var(--dur-fast);
    flex-shrink: 0;
}

.a11y-toolbar__close:hover,
.a11y-toolbar__close:focus-visible {
    background: rgba(255,255,255,.2);
    border-color: #fff;
    outline: none;
}

/* ── Sections ── */
.a11y-toolbar__section {
    padding: 14px 16px 0;
}

.a11y-toolbar__section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b7280;
    margin-bottom: 10px;
}

/* ── Font size row ── */
.a11y-toolbar__font-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
}

.a11y-toolbar__font-btn {
    flex: 1;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    color: #374151;
    transition: background var(--dur-fast), border-color var(--dur-fast);
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-toolbar__font-btn:hover:not(:disabled),
.a11y-toolbar__font-btn:focus-visible:not(:disabled) {
    background: #eff6ff;
    border-color: #1a6cf5;
    outline: none;
}

.a11y-toolbar__font-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.a11y-toolbar__font-val {
    flex: 1.2;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    min-width: 44px;
}

/* ── Feature grid ── */
.a11y-toolbar__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.a11y-toolbar__feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 6px 8px;
    cursor: pointer;
    color: #374151;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
    min-height: 62px;
}

.a11y-toolbar__feat:hover,
.a11y-toolbar__feat:focus-visible {
    background: #eff6ff;
    border-color: #1a6cf5;
    color: #1a6cf5;
    outline: none;
}

.a11y-toolbar__feat[aria-pressed="true"] {
    background: #1a6cf5;
    border-color: #1a6cf5;
    color: #fff;
}

.a11y-toolbar__feat[aria-pressed="true"] svg {
    stroke: #fff;
}

/* ── Reset button ── */
.a11y-toolbar__reset {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: calc(100% - 32px);
    margin: 14px 16px 0;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: background var(--dur-fast), border-color var(--dur-fast);
}

.a11y-toolbar__reset:hover,
.a11y-toolbar__reset:focus-visible {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
    outline: none;
}

/* ── Accessibility statement link ── */
.a11y-toolbar__statement-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 8px 16px 0;
    font-size: 11px;
    color: #1a6cf5;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-align: center;
}

.a11y-toolbar__statement-link:hover {
    color: #1457cc;
}

/* ==========================================================
   Body-class overrides applied by accessibility toolbar
   ========================================================== */

/* High contrast */
body.a11y--high-contrast {
    background: #000 !important;
    color: #fff !important;
}
body.a11y--high-contrast *:not(.a11y-toolbar):not(.a11y-toolbar *) {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}
body.a11y--high-contrast a:not(.a11y-toolbar *) {
    color: #ff0 !important;
}
body.a11y--high-contrast img {
    filter: brightness(.85) contrast(1.3);
}

/* Inverted contrast */
body.a11y--invert > *:not(.a11y-toolbar) {
    filter: invert(1) hue-rotate(180deg);
}
body.a11y--invert img {
    filter: invert(1) hue-rotate(180deg);
}

/* Grayscale */
body.a11y--grayscale > *:not(.a11y-toolbar) {
    filter: grayscale(1);
}

/* Readable font */
body.a11y--readable-font,
body.a11y--readable-font *:not(.a11y-toolbar):not(.a11y-toolbar *) {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: .01em !important;
}

/* Highlight links */
body.a11y--highlight-links a:not(.a11y-toolbar *) {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Stop animations */
body.a11y--no-anim *:not(.a11y-toolbar__panel),
body.a11y--no-anim *:not(.a11y-toolbar__panel)::before,
body.a11y--no-anim *:not(.a11y-toolbar__panel)::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
}

/* Large cursor */
body.a11y--large-cursor,
body.a11y--large-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='1.5' d='M5 3l14 9-7 1-4 7z'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* ── Mobile: move toolbar to bottom on small screens ── */
@media (max-width: 600px) {
    .a11y-toolbar {
        top: auto;
        bottom: 100px;
        transform: none;
    }

    .a11y-toolbar__panel {
        top: auto;
        bottom: 0;
        transform: translateX(-110%);
        border-radius: 0 12px 12px 0;
        max-height: 80vh;
    }

    .a11y-toolbar__panel.is-open {
        transform: translateX(0);
    }
}

/* ==========================================================
   Accessibility Statement Page — עמוד הצהרת נגישות
   ========================================================== */
.a11y-statement {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--sp-10) var(--gap);
    line-height: 1.8;
    color: var(--text);
    direction: rtl;
}

.a11y-statement h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--sp-4);
    color: var(--dark);
}

.a11y-statement h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
    color: var(--dark);
    padding-bottom: var(--sp-2);
    border-bottom: 2px solid var(--pink-100);
}

.a11y-statement p {
    margin-bottom: var(--sp-4);
}

.a11y-statement ul {
    margin: var(--sp-3) 0 var(--sp-4) var(--sp-6);
    list-style: disc;
}

.a11y-statement ul li {
    margin-bottom: var(--sp-2);
}

.a11y-statement a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.a11y-statement .a11y-statement__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: #eff6ff;
    color: #1a6cf5;
    border: 1px solid #bfdbfe;
    border-radius: var(--r-full);
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--sp-6);
}

.a11y-statement .a11y-statement__contact-box {
    background: var(--pink-50);
    border: 1px solid var(--pink-100);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    margin-top: var(--sp-6);
}

.a11y-statement .a11y-statement__contact-box h2 {
    border-bottom: none;
    margin-top: 0;
}

@media (max-width: 600px) {
    .a11y-statement { padding-inline: var(--sp-4); }
    .a11y-statement h1 { font-size: var(--text-2xl); }
}
