:root,
:root[data-theme="rose"] {
    --bg: #fff4fa;
    --surface: #ffffff;
    --surface2: #ffe2f1;
    --text: #2b0819;
    --muted: #7a4b62;
    --primary: #d484b4;
    --primary2: #e8bcd7;
    --accent: #ffb6dc;
    --gold: #f0c8dc;
    --primary-rgb: 212, 132, 180;
    --primary2-rgb: 232, 188, 215;
    --text-rgb: 43, 8, 25;
    --bg-rgb: 255, 244, 250;
    --stroke: rgba(var(--primary-rgb), 0.18);
    --stroke2: rgba(var(--text-rgb), 0.10);
    --shadow: 0 18px 44px rgba(var(--text-rgb), 0.10);
    --ok: #18c28f;
    --warn: #ffb454;
    --danger: #ff2f68;
    --ok-rgb: 24, 194, 143;
    --danger-rgb: 255, 47, 104;
    --r: 22px;
}

/* Teal Theme */
:root[data-theme="teal"] {
    --bg: #f0fdfb;
    --surface: #ffffff;
    --surface2: #d5f1f0;
    --text: #0f3d39;
    --muted: #4a8a86;
    --primary: #2d9b9b;
    --primary2: #5bb5b5;
    --accent: #7dd3d3;
    --gold: #a8dede;
    --primary-rgb: 45, 155, 155;
    --primary2-rgb: 91, 181, 181;
    --text-rgb: 15, 61, 57;
    --bg-rgb: 240, 253, 251;
    --stroke: rgba(var(--primary-rgb), 0.18);
    --stroke2: rgba(var(--text-rgb), 0.10);
    --shadow: 0 18px 44px rgba(var(--text-rgb), 0.10);
    --ok: #18c28f;
    --warn: #ffb454;
    --danger: #ff2f68;
    --ok-rgb: 24, 194, 143;
    --danger-rgb: 255, 47, 104;
    --r: 22px;
}

/* Gold Theme */
:root[data-theme="gold"] {
    --bg: #fffaf2;
    --surface: #ffffff;
    --surface2: #ffe8d1;
    --text: #3d2817;
    --muted: #8a6f4a;
    --primary: #d4a584;
    --primary2: #e8c4a8;
    --accent: #f0d5b0;
    --gold: #f5e5cc;
    --primary-rgb: 212, 165, 132;
    --primary2-rgb: 232, 196, 168;
    --text-rgb: 61, 40, 23;
    --bg-rgb: 255, 250, 242;
    --stroke: rgba(var(--primary-rgb), 0.18);
    --stroke2: rgba(var(--text-rgb), 0.10);
    --shadow: 0 18px 44px rgba(var(--text-rgb), 0.10);
    --ok: #18c28f;
    --warn: #ffb454;
    --danger: #ff2f68;
    --ok-rgb: 24, 194, 143;
    --danger-rgb: 255, 47, 104;
    --r: 22px;
}

/* Purple Theme */
:root[data-theme="purple"] {
    --bg: #faf8ff;
    --surface: #ffffff;
    --surface2: #e8e0f5;
    --text: #2e1a47;
    --muted: #6b4f8c;
    --primary: #9b5db8;
    --primary2: #b588ca;
    --accent: #c4a8d9;
    --gold: #dac8e8;
    --primary-rgb: 155, 93, 184;
    --primary2-rgb: 181, 136, 202;
    --text-rgb: 46, 26, 71;
    --bg-rgb: 250, 248, 255;
    --stroke: rgba(var(--primary-rgb), 0.18);
    --stroke2: rgba(var(--text-rgb), 0.10);
    --shadow: 0 18px 44px rgba(var(--text-rgb), 0.10);
    --ok: #18c28f;
    --warn: #ffb454;
    --danger: #ff2f68;
    --ok-rgb: 24, 194, 143;
    --danger-rgb: 255, 47, 104;
    --r: 22px;
}

/* Ocean Theme */
:root[data-theme="ocean"] {
    --bg: #f0f7ff;
    --surface: #ffffff;
    --surface2: #d6e8ff;
    --text: #0d2137;
    --muted: #4a7a9b;
    --primary: #1e88e5;
    --primary2: #5aa7f0;
    --accent: #90caf9;
    --gold: #bbdefb;
    --primary-rgb: 30, 136, 229;
    --primary2-rgb: 90, 167, 240;
    --text-rgb: 13, 33, 55;
    --bg-rgb: 240, 247, 255;
    --stroke: rgba(var(--primary-rgb), 0.18);
    --stroke2: rgba(var(--text-rgb), 0.10);
    --shadow: 0 18px 44px rgba(var(--text-rgb), 0.10);
    --ok: #18c28f;
    --warn: #ffb454;
    --danger: #ff2f68;
    --ok-rgb: 24, 194, 143;
    --danger-rgb: 255, 47, 104;
    --r: 22px;
}

/* Forest Theme */
:root[data-theme="forest"] {
    --bg: #f0f8f0;
    --surface: #ffffff;
    --surface2: #d4ecd4;
    --text: #1a3a1a;
    --muted: #4a7a4a;
    --primary: #2e7d32;
    --primary2: #60ad5e;
    --accent: #81c784;
    --gold: #a5d6a7;
    --primary-rgb: 46, 125, 50;
    --primary2-rgb: 96, 173, 94;
    --text-rgb: 26, 58, 26;
    --bg-rgb: 240, 248, 240;
    --stroke: rgba(var(--primary-rgb), 0.18);
    --stroke2: rgba(var(--text-rgb), 0.10);
    --shadow: 0 18px 44px rgba(var(--text-rgb), 0.10);
    --ok: #18c28f;
    --warn: #ffb454;
    --danger: #ff2f68;
    --ok-rgb: 24, 194, 143;
    --danger-rgb: 255, 47, 104;
    --r: 22px;
}

/* Midnight Theme */
:root[data-theme="midnight"] {
    --bg: #1a1a2e;
    --surface: #16213e;
    --surface2: #0f3460;
    --text: #e0e0e0;
    --muted: #8a8aaa;
    --primary: #e94560;
    --primary2: #f06880;
    --accent: #533483;
    --gold: #2c3e6b;
    --primary-rgb: 233, 69, 96;
    --primary2-rgb: 240, 104, 128;
    --text-rgb: 224, 224, 224;
    --bg-rgb: 26, 26, 46;
    --stroke: rgba(var(--primary-rgb), 0.22);
    --stroke2: rgba(var(--text-rgb), 0.10);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.30);
    --ok: #18c28f;
    --warn: #ffb454;
    --danger: #ff2f68;
    --ok-rgb: 24, 194, 143;
    --danger-rgb: 255, 47, 104;
    --r: 22px;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
}
.public-layout {
    background:
        radial-gradient(1080px 620px at 12% -10%, rgba(var(--primary-rgb), 0.18), transparent 50%),
        radial-gradient(980px 580px at 88% 5%, rgba(var(--primary2-rgb), 0.24), transparent 55%),
        linear-gradient(200deg, var(--surface) 0%, var(--bg) 100%);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===== HEADER ===== */
.paletteBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: linear-gradient(90deg, var(--surface), rgba(var(--bg-rgb), 0.96));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--stroke);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.12);
    transition: transform 0.3s ease;
}

.paletteBar.header-hidden {
    transform: translateY(-100%);
}

.nav-spacer {
    height: 66px;
}

@media (min-width: 1024px) {
    .nav-spacer { height: 72px; }
}

.paletteInner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 8px; }
.header-logo { height: 36px; width: auto; }

@media (min-width: 1024px) {
    .header-logo { height: 44px; }
}
.paletteRight { margin-left: auto; display: flex; align-items: center; }

.hamburger { width: 44px; height: 44px; border-radius: 16px; border: 1px solid var(--stroke2); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: 0.15s; }
.hamburger:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(var(--text-rgb), 0.10); }
.hamburger span { width: 18px; height: 2px; background: rgba(var(--text-rgb), 0.86); position: relative; display: block; border-radius: 2px; }
.hamburger span::before, .hamburger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: rgba(var(--text-rgb), 0.86); border-radius: 2px; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }

/* ===== DRAWER ===== */
.backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(var(--text-rgb), 0.50); display: none; z-index: 90; }
.backdrop.open { display: block; }
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(360px, 92vw);
    background: var(--surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--stroke2);
    box-shadow: 18px 0 60px rgba(var(--text-rgb), 0.18);
    transform: translateX(-110%);
    transition: 0.25s transform;
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.drawer.open { transform: translateX(0); }

.drawerHead { padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--stroke2); background: var(--surface); }
.drawerHead b { font-family: Georgia, serif; letter-spacing: 0.4px; color: var(--text); }

.btn { padding: 11px 12px; border-radius: 16px; border: 1px solid rgba(var(--primary-rgb), 0.20); background: var(--surface); font-weight: 950; cursor: pointer; transition: 0.15s transform, 0.15s box-shadow, 0.15s background; pointer-events: auto; position: relative; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(var(--text-rgb), 0.10); }
.btnPrimary { border: 0; background: linear-gradient(135deg, var(--primary), var(--primary2)); color: #fff; box-shadow: 0 18px 30px rgba(var(--primary-rgb), 0.22); pointer-events: auto !important; }
.btnGhost { background: transparent; border-color: var(--stroke2); }

.drawerBody { padding: 12px 14px 18px; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 12px; }
.menuLabel { font-size: 12px; font-weight: 950; color: var(--muted); letter-spacing: 0.3px; text-transform: uppercase; margin-top: 4px; }
.menuItem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px; border-radius: 18px; border: 1px solid var(--stroke2); background: var(--surface); cursor: pointer; transition: 0.15s; font-weight: 950; }
.menuItem:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(var(--text-rgb), 0.10); }
.pill { padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(var(--primary-rgb), 0.22); background: rgba(var(--primary-rgb), 0.08); font-size: 12px; font-weight: 950; color: var(--text); white-space: nowrap; }

/* Expandable Category-Brand Menu */
.menu-category-group { display: flex; flex-direction: column; }
.menu-category-header { display: flex; align-items: center; gap: 0; }
.menu-category-header a { flex: 1; }
.menu-expand-btn { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: none; background: rgba(var(--primary-rgb), 0.08); border-radius: 10px; color: var(--primary); cursor: pointer; transition: 0.2s; margin-left: 4px; }
.menu-expand-btn:hover { background: rgba(var(--primary-rgb), 0.16); }
.menu-chevron { transition: transform 0.25s ease; }
.menu-expand-btn.expanded .menu-chevron { transform: rotate(180deg); }
.menu-brand-list { display: none; flex-direction: column; gap: 4px; padding: 6px 0 4px 16px; }
.menu-brand-list.open { display: flex; }
.menu-brand-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; font-size: 13px; font-weight: 800; color: var(--text); transition: 0.15s; }
.menu-brand-item:hover { background: rgba(var(--primary-rgb), 0.08); }
.menu-brand-logo { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }

/* ===== HERO SLIDER ===== */
.heroWrap { padding: 18px 0 14px; }

.sliderCard { border: 1px solid var(--stroke2); background: var(--surface); border-radius: calc(var(--r) + 10px); box-shadow: var(--shadow); overflow: hidden; position: relative; aspect-ratio: 21 / 9; }
.sliderTrack { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1); will-change: transform; }
.slide { min-width: 100%; position: relative; display: flex; align-items: flex-end; justify-content: flex-start; overflow: hidden; background: var(--surface2); }
.slide img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.02); transform: scale(1.02); }
.slide::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.05) 0%, rgba(var(--bg-rgb), 0.65) 70%), radial-gradient(520px 320px at 18% 20%, rgba(var(--primary-rgb), 0.10), transparent 60%), radial-gradient(520px 320px at 82% 18%, rgba(var(--primary2-rgb), 0.12), transparent 60%); pointer-events: none; }
.slide.full-image::after { display: none; }
.slide.full-image img { object-fit: contain; filter: none; transform: none; }

.slideContent { position: relative; z-index: 2; padding: 18px 18px 16px; width: min(560px, 92%); pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(var(--primary-rgb), 0.22); background: rgba(var(--primary-rgb), 0.10); font-size: 12px; font-weight: 950; width: -webkit-fit-content; width: fit-content; }
.slideContent h1 { margin: 10px 0 6px; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slideContent p { margin: 0 0 12px; color: var(--muted); font-weight: 720; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ctaRow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; z-index: 3; pointer-events: auto; }
.ctaRow .btn { pointer-events: auto; z-index: 3; position: relative; }

.sliderControls { position: absolute; top: 50%; left: 14px; right: 14px; transform: translateY(-50%); display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 5; }
.navBtn { pointer-events: auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--stroke2); background: rgba(var(--bg-rgb), 0.9); display: grid; place-items: center; cursor: pointer; transition: 0.15s; z-index: 5; -webkit-user-select: none; user-select: none; }
.navBtn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(var(--text-rgb), 0.10); }
.navBtn svg { width: 18px; height: 18px; }

.dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 6; }
.dotBtn { width: 10px; height: 10px; border-radius: 999px; border: 1px solid rgba(var(--text-rgb), 0.20); background: rgba(var(--bg-rgb), 0.70); cursor: pointer; transition: 0.15s; }
.dotBtn.active { width: 28px; background: linear-gradient(135deg, var(--primary), var(--primary2)); border-color: rgba(var(--primary-rgb), 0.35); }

/* ===== MINI CARDS ===== */
.miniCard { border: 1px solid var(--stroke2); background: var(--surface); border-radius: calc(var(--r) + 10px); box-shadow: 0 12px 26px rgba(var(--text-rgb), 0.06); overflow: hidden; flex: 1; min-height: 202px; display: flex; flex-direction: column; }
.miniThumb { height: 118px; position: relative; background: var(--surface2); }
.miniThumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.miniThumb::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 50%, rgba(var(--bg-rgb), 0.50)); pointer-events: none; }

.miniBody { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.miniTitle { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.miniTitle b { font-size: 14px; }
.sku { color: var(--muted); font-size: 12px; font-weight: 950; }
.desc { color: var(--muted); font-size: 13px; font-weight: 720; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stock { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(var(--primary-rgb), 0.18); background: rgba(var(--primary-rgb), 0.06); font-size: 12px; font-weight: 950; width: -webkit-fit-content; width: fit-content; }
.sDot { width: 10px; height: 10px; border-radius: 999px; box-shadow: 0 0 0 6px rgba(var(--text-rgb), 0.03); }
.sDot.ok { background: var(--ok); }
.sDot.low { background: var(--warn); }
.sDot.out { background: var(--danger); }

/* ===== PRODUCT GRID ===== */
.sectionHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 16px; flex-wrap: wrap; }
.sectionHead-left { display: flex; align-items: center; gap: 12px; }
.sectionHead-left h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    position: relative;
    padding-bottom: 6px;
}
.sectionHead-left h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent, var(--primary2)));
}
.sectionHead-right { display: flex; align-items: center; gap: 10px; }
.clearCategoryBtn { background: none; border: none; color: var(--primary); font-size: 13px; font-weight: 900; cursor: pointer; text-decoration: underline; }
.clearCategoryBtn:hover { color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; padding-bottom: 28px; }

/* ===== PRODUCT CARD ===== */
.card {
    grid-column: span 4;
    background: var(--surface);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(var(--text-rgb), 0.07);
    box-shadow: 0 2px 12px rgba(var(--text-rgb), 0.05);
    transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s cubic-bezier(0.2, 0, 0, 1), border-color 0.35s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), 0.18);
    box-shadow: 0 16px 40px rgba(var(--text-rgb), 0.10), 0 6px 20px rgba(var(--primary-rgb), 0.08);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb), 0.03) 100%);
}

/* -- Image area -- */
.card-visual {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(var(--text-rgb), 0.04);
    text-decoration: none;
}
.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
    transform: scale(var(--img-scale, 1));
}
.card:hover .card-visual img { transform: scale(calc(var(--img-scale, 1) * 1.04)); }
/* Subtle bottom gradient for depth */
.card-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(var(--text-rgb), 0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
/* Hover shimmer sweep on image */
.card-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    z-index: 1;
    transition: none;
    pointer-events: none;
}
.card:hover .card-visual::before {
    animation: cardShimmer 0.7s ease forwards;
}

/* Badges (top-left) */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.card-tag {
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(var(--bg-rgb), 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text);
}
.card-discount {
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(var(--danger-rgb), 0.35);
}

/* Wishlist heart (top-right) */
.card-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(var(--bg-rgb), 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, opacity 0.25s;
    opacity: 0;
}
.card:hover .card-heart,
.card-heart.active { opacity: 1; }
.card-heart:hover { transform: scale(1.12); background: rgba(var(--bg-rgb), 0.95); }
.card-heart svg { fill: none; stroke: var(--danger); stroke-width: 2; }
.card-heart.active svg { fill: var(--danger); }

/* WhatsApp button (bottom-right of image) */
.card-wa {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.30);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.25s;
    opacity: 0;
}
.card:hover .card-wa { opacity: 1; }
.card-wa:hover {
    transform: scale(1.12);
    box-shadow: 0 5px 16px rgba(37, 211, 102, 0.40);
}

/* Out-of-stock frosted overlay */
.card-sold-out {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bg-rgb), 0.45);
    -webkit-backdrop-filter: blur(2px) saturate(0.4);
    backdrop-filter: blur(2px) saturate(0.4);
}
.card-sold-out span {
    padding: 6px 16px;
    border-radius: 6px;
    background: rgba(var(--text-rgb), 0.75);
    color: var(--bg);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* -- Info area -- */
.card-info {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    position: relative;
}
/* Thin accent line at top of info area */
.card-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--primary), var(--accent, var(--primary2)));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card:hover .card-info::before { opacity: 0.6; }

/* Brand name */
.card-brand {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Product title */
.card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.card:hover .card-title { color: var(--primary); }

/* Meta line (color + stock) */
.card-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    min-height: 16px;
    margin-top: 2px;
}
.card-meta-swatch {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--text-rgb), 0.12);
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(var(--text-rgb), 0.08);
}
.card-meta-color {
    font-weight: 600;
}
.card-meta-sep {
    opacity: 0.35;
    font-size: 9px;
}
.card-meta-stock { font-weight: 700; font-size: 10px; }
.card-meta-stock-low {
    color: var(--warn);
    animation: stockPulse 2s ease-in-out infinite;
}

/* Price */
.card-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
}
.card-price-current {
    font-size: 17px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.3px;
}
.card-price-old {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: line-through;
    opacity: 0.65;
}
.card-price-sale {
    font-size: 17px;
    font-weight: 900;
    color: var(--danger);
    letter-spacing: -0.3px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(var(--danger-rgb), 0.08);
}

/* Out-of-stock card state */
.card-out .card-info { opacity: 0.5; }
.card-out:hover .card-info { opacity: 0.7; }
.card-out:hover .card-title { color: var(--text); }
.card-out:hover .card-info::before { opacity: 0; }

/* Card animations */
@keyframes cardShimmer {
    0% { left: -100%; }
    100% { left: 150%; }
}
@keyframes stockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Legacy compat — keep old selectors working for miniCard / search */
.thumb { aspect-ratio: 3/4; position: relative; background: var(--surface2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 60%, rgba(var(--bg-rgb), 0.30)); pointer-events: none; }
.tag { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(var(--primary-rgb), 0.22); background: rgba(var(--bg-rgb), 0.88); font-size: 12px; font-weight: 950; z-index: 2; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(var(--bg-rgb), 0.9); border: none; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wishlist-btn:hover { transform: scale(1.1); }
.wishlist-btn.active svg { fill: #ff2f68; }
.wishlist-btn svg { fill: none; stroke: #ff2f68; stroke-width: 2; }
.body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.titleRow { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.titleRow h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.price { font-size: 16px; font-weight: 950; color: var(--primary); }

/* Active Filter Chips */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.active-filters:empty { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: rgba(var(--primary-rgb), 0.1); border: 1px solid rgba(var(--primary-rgb), 0.2); font-size: 12px; font-weight: 800; color: var(--primary); }
.filter-chip button { border: none; background: none; color: var(--primary); cursor: pointer; font-size: 14px; font-weight: 900; padding: 0 0 0 2px; line-height: 1; }
.filter-chip button:hover { color: var(--danger); }
.chip-color-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0; flex-wrap: wrap; }
.paginationBtn { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--stroke2); background: var(--surface); cursor: pointer; transition: 0.15s; font-weight: 950; font-size: 14px; }
.paginationBtn:hover:not(:disabled) { background: var(--primary); color: white; border-color: var(--primary); }
.paginationBtn.active { background: linear-gradient(135deg, var(--primary), var(--primary2)); color: white; border-color: var(--primary); }
.paginationBtn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== DETAIL ITEMS ===== */
.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.detail-item strong {
    color: var(--text);
    font-weight: 900;
}

.detail-item span {
    color: var(--muted);
    font-weight: 800;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(var(--primary-rgb), 0.08);
    font-size: 12px;
    font-weight: 950;
    width: -webkit-fit-content; width: fit-content;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

footer { border-top: 1px solid var(--stroke2); margin-top: 10px; padding: 18px 0; color: var(--muted); font-size: 13px; font-weight: 900; }

/* ===== FOOTER ===== */
.site-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 40px;
    padding: 40px 0 32px;
    border-top: none;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.06) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    position: relative;
}
/* Gradient top accent line */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 1120px);
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent, var(--primary2)), var(--primary), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand strong {
    font-family: Georgia, serif;
    font-size: 20px;
    color: var(--primary);
    letter-spacing: 0.4px;
}

.footer-brand p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.footer-location {
    margin-top: 8px !important;
    font-size: 12px !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
}
.footer-shipping {
    font-size: 11px !important;
    color: var(--muted) !important;
    font-weight: 700 !important;
    font-style: italic;
    opacity: 0.8;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 900;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.15);
}

.footer-col a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.15s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-credit {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.10);
}

.footer-credit p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

/* Floating WhatsApp Button */
/* Floating button stack */
.floating-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1000;
}

.floating-wishlist {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
    transition: 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.floating-wishlist:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.5);
}

.wishlist-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--danger, #e74c3c);
    color: white;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Scroll-to-top button */
#scroll-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
    transition: 0.2s;
    flex-shrink: 0;
}

#scroll-to-top.visible {
    display: flex;
}

#scroll-to-top:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.4);
}

/* Discount badges and price styles */
.discount-badge {
    position: absolute;
    top: 48px;
    right: 10px;
    background: var(--danger);
    color: white;
    font-size: 12px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 8px;
    z-index: 2;
}

.modal-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: white;
    font-size: 14px;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 10px;
}

.price-area {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.new-price {
    font-size: 18px;
    font-weight: 950;
    color: var(--danger);
}

.discount-until {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--danger);
    background: rgba(var(--danger-rgb), 0.08);
    border: 1px solid rgba(var(--danger-rgb), 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .floating-stack {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }

    .floating-wishlist {
        width: 42px;
        height: 42px;
    }

    #scroll-to-top {
        width: 40px;
        height: 40px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .sliderCard { aspect-ratio: 4 / 3; }
    .card { grid-column: span 6; }
    .slideContent h1 { font-size: clamp(18px, 4vw, 26px); -webkit-line-clamp: 2; }
    .slideContent p { font-size: 13px; -webkit-line-clamp: 2; }
}
@media (max-width: 680px) {
    .card { grid-column: span 6; border-radius: 16px; }
    .grid { gap: 10px; }
    .card-info { padding: 10px 10px 12px; gap: 3px; }
    .card-info::before { left: 10px; right: 10px; }
    .card-brand { font-size: 10px; }
    .card-title { font-size: 13px; }
    .card-price { padding-top: 4px; }
    .card-price-current, .card-price-sale { font-size: 15px; }
    .card-price-sale { padding: 1px 4px; }
    .card-meta { font-size: 10px; }
    .card-heart { opacity: 1; width: 30px; height: 30px; }
    .card-heart svg { width: 13px; height: 13px; }
    .card-wa { opacity: 1; width: 32px; height: 32px; }
    .card-wa svg { width: 14px; height: 14px; }
    .card-badges { top: 8px; left: 8px; }
    .card-tag, .card-discount { font-size: 10px; padding: 3px 7px; }
    .card-info::before { opacity: 0.4; }
    .card:hover .card-title { color: var(--text); }
    .slideContent { padding: 14px 14px 12px; }
    .slideContent h1 { font-size: 18px; -webkit-line-clamp: 1; }
    .slideContent p { font-size: 12px; -webkit-line-clamp: 2; }
    .badge { font-size: 11px; padding: 6px 10px; }
    .ctaRow .btn { font-size: 13px; padding: 10px 16px; }
    .navBtn { width: 36px; height: 36px; background: rgba(var(--bg-rgb), 0.25); border-color: rgba(var(--bg-rgb), 0.15); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
    .navBtn svg { width: 14px; height: 14px; }
    .navBtn svg path { stroke: rgba(var(--bg-rgb), 0.8); }
    .body { padding: 10px 10px 12px; gap: 6px; }
    .titleRow h3 { font-size: 13px; }
    .price { font-size: 14px; }
}

/* ===== SEARCH ===== */
.search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--stroke2);
    background: var(--surface);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.15s;
    color: var(--text);
}

.search-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(var(--text-rgb), 0.08);
}

.search-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(var(--text-rgb), 0.40);
    z-index: 150;
}

.search-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 160;
    background: var(--surface);
    box-shadow: 0 18px 44px rgba(var(--text-rgb), 0.15);
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--stroke2);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    outline: none;
    font-family: inherit;
}

.search-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    display: grid;
    place-items: center;
}

.search-results {
    padding: 8px 0;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    cursor: pointer;
    transition: 0.1s;
}

.search-result-item:hover {
    background: rgba(var(--primary-rgb), 0.06);
}

.search-result-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--stroke2);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-result-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.search-result-meta {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.search-empty {
    padding: 24px 18px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

/* ===== SORT ===== */
.sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--stroke2);
    background: var(--surface);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
}

/* ===== SHARE ===== */
.share-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--stroke2);
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--stroke2);
    background: var(--surface);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s;
    color: var(--text);
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--text-rgb), 0.08);
}

.share-btn.copied {
    background: rgba(var(--ok-rgb), 0.1);
    border-color: rgba(var(--ok-rgb), 0.2);
    color: var(--ok);
}

/* ===== NAVBAR ===== */
.brand-slogan {
    font-size: 11px;
    color: var(--primary);
    font-weight: 800;
    opacity: 0.7;
    font-style: italic;
}

@media (min-width: 1024px) {
    .brand-slogan {
        font-size: 12px;
        margin-left: 12px;
        padding-left: 12px;
        border-left: 2px solid rgba(var(--primary-rgb), 0.2);
    }
}

/* Color Swatches */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.color-swatch:hover {
    transform: translateY(-2px);
}

.color-swatch small {
    font-size: 12px;
    color: rgba(var(--text-rgb), 0.65);
    text-align: center;
    max-width: 50px;
    word-wrap: break-word;
}

/* ===== SAFARI FALLBACKS ===== */
/* aspect-ratio fallback for Safari < 15 */
@supports not (aspect-ratio: 1/1) {
    .sliderCard { min-height: 280px; }
    .thumb { min-height: 300px; }
    @media (max-width: 980px) {
        .sliderCard { min-height: 240px; }
    }
    @media (max-width: 680px) {
        .sliderCard { min-height: 200px; }
        .thumb { min-height: 260px; }
    }
}

/* Prevent iOS double-tap zoom on interactive elements */
.card, .miniCard, .btn, .navBtn, .dotBtn, .hamburger,
.search-toggle, .menuItem, .wishlist-btn,
.search-close-btn, .share-btn,
.paginationBtn, .floating-wishlist, #scroll-to-top,
.color-swatch, .search-result-item, .sort-select {
    touch-action: manipulation;
}

/* ===== PAGE LAYOUT (from MainLayout.razor.css) ===== */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 100%;
}

.content {
    padding: 0;
    width: 100%;
}


/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 8px;
}

.lang-btn {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--stroke2);
    background: var(--surface);
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    cursor: pointer;
    transition: 0.15s;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--text);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: white;
    border-color: var(--primary);
}

/* Search results - enriched list */
.search-results-list { max-height: 400px; overflow-y: auto; }
.search-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; border-bottom: 1px solid var(--stroke2); transition: 0.15s; }
.search-item:hover { background: rgba(var(--primary-rgb), 0.06); }
.search-item:last-child { border-bottom: none; }
.search-item-thumb { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface2); }
.search-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-item-name { font-weight: 700; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-meta { font-size: 12px; font-weight: 600; color: var(--muted); }
.search-item-right { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.search-item-price { font-weight: 900; font-size: 14px; color: var(--primary); white-space: nowrap; }
.search-old-price { text-decoration: line-through; color: var(--muted); font-weight: 600; font-size: 12px; margin-right: 4px; }
.search-new-price { color: var(--danger); font-weight: 900; }
.search-item-stock { display: flex; align-items: center; }
.search-loading { text-align: center; padding: 20px; }
.search-loading-spinner { width: 24px; height: 24px; border: 3px solid var(--stroke2); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.6s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Screen reader only - visually hidden but accessible */
.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; }

/* ===== COOKIE CONSENT BANNER ===== */
@@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--surface);
    border-top: 1px solid rgba(var(--text-rgb), 0.10);
    box-shadow: 0 -4px 20px rgba(var(--text-rgb), 0.08);
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text);
}
.cookie-banner.visible {
    display: block;
    animation: cookieSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-banner-msg {
    flex: 1;
    margin: 0;
    min-width: 200px;
    line-height: 1.5;
    color: var(--text);
}
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-btn {
    font-size: 13px;
    padding: 8px 20px;
    white-space: nowrap;
}
@@media (max-width: 480px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-btn { width: 100%; text-align: center; justify-content: center; }
}
