/* ==================== RESET & BASE ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2D1B3D;
    --primary-light: #3A2550;
    --accent: #9B6CB8;
    --accent-light: #b48bcc;
    --accent-dark: #7d53a0;
    --text: #2D1B3D;
    --text-light: #5C4A6B;
    --text-muted: #9890A3;
    --bg: rgba(255,255,255,0.82);
    --bg-light: rgba(248,245,251,0.88);
    --bg-warm: rgba(251,248,254,0.88);
    --border: #E8DFF0;
    --border-light: #F2EDF8;
    --success: #27ae60;
    --danger: #e74c3c;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 48px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text);
    background: url('images/silk-bg.jpg') center center / cover fixed;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ==================== PROMO BANNER ==================== */
.promo-banner {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    overflow: hidden;
    position: relative;
}

.promo-slider {
    display: flex;
    animation: promoScroll 12s linear infinite;
    white-space: nowrap;
    gap: 80px;
    width: max-content;
}

.promo-slider span { display: inline-block; }

@keyframes promoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* ==================== HEADER ==================== */
header.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.header-top {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    font-size: 12px;
}

.header-top-links {
    display: flex;
    gap: 24px;
    justify-content: flex-start;
}

.header-top-links a {
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-links a:hover { color: var(--accent); }

.header-main {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-img {
    height: 48px;
    width: auto;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.search-bar {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 52px 14px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    background: var(--bg-light);
    transition: var(--transition);
    outline: none;
}

.search-bar input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.search-bar button {
    position: absolute;
    left: 4px;
    top: 4px;
    bottom: 4px;
    width: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
}

.search-bar button:hover { background: var(--accent-dark); }

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    color: var(--text);
    transition: var(--transition);
}

.header-action:hover { color: var(--accent); }
.header-action i { font-size: 22px; }
.header-action small { font-size: 11px; color: var(--text-muted); }

/* Fixed, always-visible "enter the store" button — stays on screen
   from the very first frame (over the fullscreen hero) and while
   scrolling anywhere on the site. */
.floating-store-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 50px;
    background: rgba(26, 16, 48, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(232, 212, 138, 0.4);
    color: #E8D48A;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
    transition: all .25s ease;
}
.floating-store-btn:hover {
    background: linear-gradient(135deg, #C9A84C, #E8D48A);
    color: #1a1030;
    border-color: transparent;
}
@media (max-width: 768px) {
    .floating-store-btn { top: 14px; left: 14px; padding: 9px 16px; font-size: 13px; }
}

.floating-lang-btn {
    position: fixed;
    top: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(26, 16, 48, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(232, 212, 138, 0.4);
    color: #E8D48A;
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}
.floating-lang-btn:hover {
    background: linear-gradient(135deg, #C9A84C, #E8D48A);
    color: #1a1030;
    border-color: transparent;
    transform: translateX(-50%) translateY(-2px);
}
.floating-lang-btn span {
    font-family: 'Playfair Display', serif;
}
/* Inner pages (category/product/checkout/etc.) already have a sticky
   .page-header with a title + back button + that page's own action icons —
   anchor the floating switcher just below it instead of dead-center, so it
   never collides with the title or whatever that header already contains. */
.page-header ~ .floating-lang-btn {
    top: 75px;
    left: 14px;
    right: auto;
    transform: none;
}
.page-header ~ .floating-lang-btn:hover {
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    /* Stack under the store button on the left instead of dead-center —
       .hero-brand-chip's left edge always lands at exactly 50% of the
       viewport (right:4% + width:46%), so a centered pill here would
       always overlap it. */
    .floating-lang-btn {
        top: 60px;
        left: 14px;
        right: auto;
        transform: none;
        padding: 9px 14px;
        font-size: 12px;
    }
    .floating-lang-btn:hover { transform: translateY(-2px); }
}

.header-action.lang-switch-action {
    color: var(--accent, #9B6CB8);
}
.header-action.lang-switch-action i {
    color: #C9A84C;
}

/* Clear, always-visible "go shopping now" entry point */
.header-store-btn {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 12px;
    flex-direction: row;
    gap: 8px;
}
.header-store-btn i { font-size: 16px; }
.header-store-btn small { color: #fff; font-weight: 700; font-size: 13px; }
.header-store-btn:hover { background: var(--accent-dark); color: #fff; }

.header-action .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 22px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 3px 3px 0 0;
}

.nav-item:hover > a { color: #fff; }
.nav-item:hover > a::after { left: 0; right: 0; }

.nav-highlight {
    color: var(--accent-light) !important;
}

/* Categories with no real products behind them yet */
.nav-soon a { opacity: .5; cursor: default; }
.nav-soon a:hover { color: inherit; }
.nav-soon small { font-size: 10px; margin-inline-start: 2px; }

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    padding: 30px 40px;
    display: none;
    gap: 40px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--accent);
    z-index: 100;
}

.has-dropdown:hover .mega-menu {
    display: flex;
}

.mega-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.mega-col a {
    display: block;
    padding: 6px 0;
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.mega-col a:hover {
    color: var(--accent);
    padding-right: 8px;
}

.mega-featured {
    background: var(--bg-warm);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 240px;
}

.mega-featured img {
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    width: 100%;
}

.mega-featured p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1100;
    background: var(--accent);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-lg);
}

/* ==================== HERO ==================== */
/* ── Video Hero ── */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Premium product showcase hero ── */
.hero-showcase {
    background-color: #453f64; /* per-product mood, animated from JS */
    transition: background-color 1.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══ living background stack ═══ */
.hero-bg {
    position: absolute;
    inset: -30px;               /* bleed so parallax never shows edges */
    z-index: 0;
    overflow: hidden;
    transform: scale(1.04);
    transition: transform .6s ease-out;
    pointer-events: none;
}

/* breathing aurora clouds */
.hero-aurora { position: absolute; inset: 0; }
.hero-aurora b {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    mix-blend-mode: screen;
    will-change: transform;
}
.hero-aurora .au1 {
    width: 55vw; height: 55vw;
    top: -18%; right: -10%;
    background: radial-gradient(circle, rgba(155,108,184,.5), transparent 65%);
    animation: auroraDrift1 26s ease-in-out infinite alternate;
}
.hero-aurora .au2 {
    width: 45vw; height: 45vw;
    bottom: -22%; left: -8%;
    background: radial-gradient(circle, rgba(201,168,76,.32), transparent 65%);
    animation: auroraDrift2 32s ease-in-out infinite alternate;
}
.hero-aurora .au3 {
    width: 38vw; height: 38vw;
    top: 30%; left: 32%;
    background: radial-gradient(circle, rgba(120,80,200,.35), transparent 65%);
    animation: auroraDrift3 38s ease-in-out infinite alternate;
}
@keyframes auroraDrift1 { from { transform: translate(0,0) scale(1); }    to { transform: translate(-9vw, 7vh) scale(1.18); } }
@keyframes auroraDrift2 { from { transform: translate(0,0) scale(1.1); }  to { transform: translate(8vw, -6vh) scale(.92); } }
@keyframes auroraDrift3 { from { transform: translate(0,0) scale(.95); }  to { transform: translate(6vw, 8vh) scale(1.15); } }

/* faint silk texture kept as a whisper */
.hero-silk {
    position: absolute;
    inset: 0;
    background: url('images/silk-bg-web.jpg') center/cover no-repeat;
    opacity: .16;
    mix-blend-mode: soft-light;
}

/* giant editorial watermark */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(110px, 22vw, 320px);
    letter-spacing: .06em;
    color: rgba(255,255,255,.032);
    white-space: nowrap;
    user-select: none;
}

/* cinematic bokeh orbs */
.hero-bokeh { position: absolute; inset: 0; transition: transform .6s ease-out; }
.hero-bokeh s {
    position: absolute;
    border-radius: 50%;
    filter: blur(26px);
    mix-blend-mode: screen;
    animation: bokehFloat ease-in-out infinite alternate;
}
.hero-bokeh s:nth-child(1) { width: 190px; height: 190px; top: 12%; left: 8%;  background: radial-gradient(circle, rgba(201,168,76,.2), transparent 70%);  animation-duration: 17s; }
.hero-bokeh s:nth-child(2) { width: 120px; height: 120px; top: 62%; left: 18%; background: radial-gradient(circle, rgba(167,139,250,.22), transparent 70%); animation-duration: 21s; }
.hero-bokeh s:nth-child(3) { width: 240px; height: 240px; top: 8%;  left: 58%; background: radial-gradient(circle, rgba(167,139,250,.16), transparent 70%); animation-duration: 25s; }
.hero-bokeh s:nth-child(4) { width: 90px;  height: 90px;  top: 72%; left: 74%; background: radial-gradient(circle, rgba(232,212,138,.2), transparent 70%);  animation-duration: 15s; }
.hero-bokeh s:nth-child(5) { width: 150px; height: 150px; top: 38%; left: 86%; background: radial-gradient(circle, rgba(201,168,76,.16), transparent 70%);  animation-duration: 23s; }
.hero-bokeh s:nth-child(6) { width: 110px; height: 110px; top: 84%; left: 44%; background: radial-gradient(circle, rgba(167,139,250,.18), transparent 70%); animation-duration: 19s; }
@keyframes bokehFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(26px, -34px) scale(1.15); }
}

/* film grain + vignette above the scene, below the content */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, transparent 52%, rgba(12,6,24,.55) 100%);
}

/* Fixed-width grid columns — NOT flex+justify-content:center. With flex,
   the whole (info + stage) group was centered as one block, so when the
   info column's rendered width changed with text length (1 line vs 2 lines
   of Arabic), the stage/bottle visibly shifted sideways between products.
   Grid tracks have a constant width regardless of content, so the stage
   column never moves. */
.showcase-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 460px) min(42vw, 480px);
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 6vw, 90px);
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
}

/* the floating cut-out product */
.showcase-stage {
    position: relative;
    width: min(42vw, 480px);
    aspect-ratio: 1 / 1.18;
    flex-shrink: 0;
    perspective: 900px;
    animation: heroEnterStage 1.1s cubic-bezier(.22,1,.36,1) .55s backwards;
}
/* jewellery-case spotlight cone above the bottle — soft outer halo +
   a tighter, brighter core (::before) so it reads as an actual light
   source instead of one flat wash of colour. */
.showcase-spot {
    position: absolute;
    top: -42%;
    left: 50%;
    transform: translateX(-50%);
    width: 135%;
    height: 125%;
    background: linear-gradient(to bottom,
        rgba(232,212,138,.16),
        rgba(232,212,138,.05) 52%,
        transparent 78%);
    clip-path: polygon(40% 0, 60% 0, 100% 100%, 0% 100%);
    filter: blur(16px);
    pointer-events: none;
    z-index: 0;
    animation: spotBreath 6.5s ease-in-out infinite;
}
.showcase-spot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(255,248,222,.6),
        rgba(255,248,222,.15) 34%,
        transparent 58%);
    clip-path: polygon(46% 0, 54% 0, 82% 100%, 18% 100%);
    filter: blur(7px);
}
@keyframes spotBreath {
    0%, 100% { opacity: .8; }
    50%      { opacity: 1; }
}

/* warm pool of light where the beam meets the floor — sits around
   (not instead of) the dark contact shadow below, so the spotlight
   visibly lands on something instead of dissolving mid-air. */
.showcase-floor-glow {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
        rgba(232,212,138,.4),
        rgba(232,212,138,.1) 55%,
        transparent 75%);
    filter: blur(15px);
    pointer-events: none;
    z-index: 0;
    animation: spotBreath 6.5s ease-in-out infinite;
}

.showcase-tilt {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .35s ease-out;
    animation: showcaseFloat 7s ease-in-out infinite;
}
.showcase-glow {
    position: absolute;
    inset: -6% -14%;
    background:
        radial-gradient(circle at 50% 42%, rgba(201,168,76,.32), transparent 55%),
        radial-gradient(circle at 50% 58%, rgba(155,108,184,.4), transparent 68%);
    filter: blur(34px);
    z-index: 0;
}
.showcase-img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 92%;
    height: 78%;
    transform-origin: 50% 94.5%;
    /* per-product --sc-scale set in JS; translateX stays fixed so cross-fades
       never shift horizontally. Scale pivots on the shared floor line. */
    transform: translateX(-50%) scale(var(--sc-scale, 1));
    object-fit: contain;
    /* warm rim-light hugging the bottle's silhouette (from the spotlight
       above) stacked with the original ground-contact shadow below */
    filter: drop-shadow(0 0 20px rgba(255,244,214,.4)) drop-shadow(0 30px 40px rgba(15,8,30,.5));
    opacity: 0;
    transition: opacity .8s ease;
    z-index: 2;
}
.showcase-img.active {
    opacity: 1;
}

/* mirror reflection — pivots on the SHARED floor line (94.5% of the image),
   so it stays anchored under the base for both tall and short bottles */
.showcase-reflection {
    position: absolute;
    top: 0;
    left: 50%;
    width: 92%;
    height: 78%;
    transform: translateX(-50%) scale(var(--sc-scale, 1)) scaleY(-1);
    transform-origin: 50% 94.5%;
    object-fit: contain;
    opacity: .13;
    filter: blur(3px);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.85) 6%, transparent 42%);
    mask-image: linear-gradient(to top, rgba(0,0,0,.85) 6%, transparent 42%);
    pointer-events: none;
    z-index: 1;
}

/* soft floor ellipse — sits on the shared base line */
.showcase-shadow {
    position: absolute;
    top: 73.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(10,5,22,.55), transparent 70%);
    filter: blur(6px);
    z-index: 0;
    animation: shadowBreath 7s ease-in-out infinite;
}

@keyframes showcaseFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}
@keyframes shadowBreath {
    0%, 100% { transform: translateX(-50%) scaleX(1);   opacity: 1;  }
    50%      { transform: translateX(-50%) scaleX(.82); opacity: .7; }
}

/* the product copy */
.showcase-info {
    position: relative;
    z-index: 2;
    max-width: 460px;
}
.showcase-info .sc-en {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(11px, 1.3vw, 15px);
    letter-spacing: .32em;
    color: #E8D48A;
    margin-bottom: 14px;
    transition: opacity .26s ease, transform .26s ease;
    animation: heroEnterTracking 1s cubic-bezier(.22,1,.36,1) .15s backwards;
}
.showcase-info h1 {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(30px, 4.6vw, 58px);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
    text-shadow: 0 2px 24px rgba(0,0,0,.45);
    transition: opacity .26s ease, transform .26s ease;
    animation: heroEnterUp .9s cubic-bezier(.22,1,.36,1) .3s backwards;
}
.showcase-info p {
    font-size: clamp(14px, 1.6vw, 18px);
    color: rgba(255,255,255,.82);
    margin-bottom: 26px;
    transition: opacity .26s ease, transform .26s ease;
    animation: heroEnterUp .9s cubic-bezier(.22,1,.36,1) .45s backwards;
}
.showcase-info.switching .sc-en,
.showcase-info.switching h1,
.showcase-info.switching p {
    opacity: 0;
    transform: translateY(12px);
}

/* CTA row: ghost gold button + glass price chip */
.sc-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: heroEnterUp .9s cubic-bezier(.22,1,.36,1) .6s backwards;
}
.sc-cta-ghost {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border: 1.5px solid rgba(232,212,138,.65);
    border-radius: 50px;
    color: #E8D48A;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    overflow: hidden;
    transition: all .35s ease;
    background: rgba(201,168,76,.06);
}
.sc-cta-ghost::after {
    content: '';
    position: absolute;
    top: 0;
    right: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent);
    transform: skewX(-18deg);
    animation: ctaShine 4.2s ease-in-out infinite;
}
@keyframes ctaShine {
    0%, 55%  { right: 110%; }
    75%, 100%{ right: -80%; }
}
.sc-cta-ghost:hover {
    background: linear-gradient(135deg, #C9A84C, #E8D48A);
    color: #2D1B3D;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(201,168,76,.4);
}
.sc-cta-ghost .cta-arrow {
    display: inline-block;
    transition: transform .3s ease;
}
.sc-cta-ghost:hover .cta-arrow { transform: translateX(-6px); }

.sc-price-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 11px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-size: 13px;
}
.sc-price-chip #sc-price {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #E8D48A;
    font-weight: 600;
}

/* progress-bar dots */
.sc-dots {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    animation: heroEnterUp .9s cubic-bezier(.22,1,.36,1) .75s backwards;
}
.sc-dot {
    position: relative;
    width: 26px;
    height: 4px;
    border-radius: 4px;
    border: none;
    background: rgba(255,255,255,.22);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: width .35s ease;
}
.sc-dot.active { width: 52px; }
.sc-dot-fill {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #C9A84C, #E8D48A);
}
@keyframes scDotFill {
    from { width: 0; }
    to   { width: 100%; }
}

/* editorial page counter */
.sc-counter {
    position: absolute;
    bottom: 26px;
    right: 38px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: 'Playfair Display', serif;
    color: rgba(255,255,255,.85);
    animation: heroEnterUp .9s ease .9s backwards;
}
.sc-counter #sc-cur { font-size: 42px; font-weight: 600; color: #E8D48A; }
.sc-counter .sc-sep  { font-size: 18px; opacity: .35; }
.sc-counter .sc-total{ font-size: 18px; opacity: .35; letter-spacing: .1em; }

/* floating gold dust */
.hero-dust { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-dust i {
    position: absolute;
    bottom: -8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,212,138,.9), rgba(232,212,138,0) 70%);
    animation: dustRise linear infinite;
    opacity: 0;
}
.hero-dust i:nth-child(1)  { left: 6%;  animation-duration: 13s; animation-delay: 0s;   width: 3px; height: 3px; }
.hero-dust i:nth-child(2)  { left: 14%; animation-duration: 17s; animation-delay: 3s; }
.hero-dust i:nth-child(3)  { left: 24%; animation-duration: 14s; animation-delay: 6s;   width: 5px; height: 5px; }
.hero-dust i:nth-child(4)  { left: 33%; animation-duration: 19s; animation-delay: 1.5s; width: 3px; height: 3px; }
.hero-dust i:nth-child(5)  { left: 42%; animation-duration: 15s; animation-delay: 8s; }
.hero-dust i:nth-child(6)  { left: 55%; animation-duration: 18s; animation-delay: 4s;   width: 3px; height: 3px; }
.hero-dust i:nth-child(7)  { left: 63%; animation-duration: 13s; animation-delay: 10s; }
.hero-dust i:nth-child(8)  { left: 71%; animation-duration: 20s; animation-delay: 2s;   width: 5px; height: 5px; }
.hero-dust i:nth-child(9)  { left: 79%; animation-duration: 16s; animation-delay: 7s; }
.hero-dust i:nth-child(10) { left: 86%; animation-duration: 14s; animation-delay: 5s;   width: 3px; height: 3px; }
.hero-dust i:nth-child(11) { left: 92%; animation-duration: 18s; animation-delay: 9s; }
.hero-dust i:nth-child(12) { left: 49%; animation-duration: 21s; animation-delay: 11s;  width: 3px; height: 3px; }
@keyframes dustRise {
    0%   { transform: translateY(0) translateX(0);       opacity: 0; }
    8%   { opacity: .8; }
    50%  { transform: translateY(-52vh) translateX(14px); opacity: .5; }
    100% { transform: translateY(-104vh) translateX(-10px); opacity: 0; }
}

/* ═══ custom cursor (desktop pointer only) ═══ */
.hero-cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 100000;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.hero-cursor.hc-visible { opacity: 1; }
.hc-dot, .hc-ring {
    position: absolute;
    top: 0; left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.hc-dot {
    width: 6px; height: 6px;
    background: #E8D48A;
    transition: transform .15s ease;
}
.hc-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(232,212,138,.55);
    transition: width .28s cubic-bezier(.22,1,.36,1), height .28s cubic-bezier(.22,1,.36,1),
                border-color .28s ease, background .28s ease, transform .12s ease-out;
}
.hero-cursor.hc-grow .hc-ring {
    width: 62px; height: 62px;
    background: rgba(232,212,138,.1);
    border-color: rgba(232,212,138,.85);
}
@media (hover: none), (pointer: coarse) {
    .hero-cursor { display: none; }
}

/* ═══ magnetic CTA — JS sets --mx/--my (pull offset); CSS just applies it ═══ */
.sc-cta-ghost {
    --mx: 0px; --my: 0px;
    transform: translate(var(--mx), var(--my));
}

/* ═══ brand intro loader ═══ */
.hero-loader {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #453f64;
    transition: opacity .6s ease, visibility .6s ease;
}
.hero-loader.hl-done { opacity: 0; visibility: hidden; }
.hl-m {
    width: 90px;
    overflow: visible;
}
.hl-m path {
    fill: none;
    stroke: #E8D48A;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation: hlDraw 1.1s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes hlDraw {
    to { stroke-dashoffset: 0; }
}

/* ═══ letter-by-letter reveal for the product name ═══ */
.showcase-info h1 .cl {
    display: inline-block;
    opacity: 0;
    transform: translateY(14px);
    animation: clIn .5s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes clIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-loader { display: none; }
    .showcase-info h1 .cl { animation: none !important; opacity: 1; transform: none; }
    .hc-ring, .hc-dot { transition: none; }
}

/* entrance keyframes */
@keyframes heroEnterUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroEnterTracking {
    from { opacity: 0; letter-spacing: .55em; }
    to   { opacity: 1; letter-spacing: .32em; }
}
@keyframes heroEnterStage {
    from { opacity: 0; transform: translateY(40px) scale(.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* phones: stage on top, copy underneath — and lighter GPU load */
@media (max-width: 820px) {
    .hero-showcase { min-height: 100svh; height: auto; padding: 96px 0 88px; }
    .showcase-wrap { display: flex; flex-direction: column-reverse; gap: 14px; text-align: center; }
    .showcase-stage { width: min(66vw, 330px); }
    .showcase-info { max-width: 92vw; }
    .sc-dots { justify-content: center; }
    .sc-cta-row { justify-content: center; }
    .sc-counter { bottom: 18px; right: 22px; }
    .sc-counter #sc-cur { font-size: 30px; }
    .hero-aurora b { filter: blur(46px); }
    .hero-aurora .au3,
    .hero-bokeh s:nth-child(3),
    .hero-bokeh s:nth-child(5) { display: none; }
    .hero-watermark { font-size: 26vw; }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-tilt, .showcase-shadow, .hero-dust i,
    .sc-cta-ghost::after, .hero-aurora b, .hero-bokeh s,
    .showcase-spot { animation: none !important; }
    .showcase-stage, .showcase-info .sc-en, .showcase-info h1,
    .showcase-info p, .sc-cta-row, .sc-dots, .sc-counter { animation: none !important; }
    .showcase-img { transition: opacity .4s ease; }
    .hero-showcase { transition: none; }
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 8%, rgba(26,16,48,0.55), transparent 38%),
        linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(45,27,61,0.45) 50%,
        rgba(45,27,61,0.7) 100%
    );
}

/* Frosted brand chip — sits over the video's top-right corner */
.hero-brand-chip {
    position: absolute;
    top: 4.5%;
    right: 4%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: min(46%, 330px);
    min-height: 76px;
    padding: 14px 26px;
    border-radius: 18px;
    background: rgba(26, 16, 48, 0.25);
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
    border: 1px solid rgba(232, 212, 138, 0.28);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.hero-brand-chip .chip-line {
    font-family: 'Playfair Display', serif;
    font-size: clamp(15px, 2vw, 22px);
    letter-spacing: 0.35em;
    color: #E8D48A;
    text-indent: 0.35em; /* balance the tracking */
}
.hero-brand-chip .chip-sub {
    font-size: clamp(10px, 1.2vw, 13px);
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.05em;
}


.hero-video-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
}

.hero-video-content h1 {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-video-content p {
    font-size: clamp(14px, 2vw, 20px);
    color: rgba(255,255,255,0.88);
    margin-bottom: 32px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-video-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.7);
    transform: rotate(45deg);
    animation: scrollBounce 1.4s infinite;
    margin: auto;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 0.4; }
}

/* Old hero (keep for reference, hidden) */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(45,27,61,0.5) 30%, rgba(45,27,61,0.6) 50%, transparent 75%);
}

.hero-content {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 450px;
    padding: 24px;
}

.hero-badge {
    background: var(--accent);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
    box-shadow: 0 3px 12px rgba(155,108,184,0.35);
}

.hero-content h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    width: fit-content;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-prev, .hero-next {
    background: rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.hero-prev:hover, .hero-next:hover { background: var(--accent); }

.hero-dots { display: flex; gap: 8px; }

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* ==================== FEATURES BAR ==================== */
.features-bar {
    background: var(--bg-warm);
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
}

.features-bar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-item i {
    font-size: 28px;
    color: var(--accent);
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.feature-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==================== SECTIONS COMMON ==================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.section-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ==================== CATEGORIES ==================== */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    text-align: center;
    transition: var(--transition);
}

.category-card:hover { transform: translateY(-8px); }

.category-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 16px;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img img { transform: scale(1.08); }

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.category-count {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.category-link:hover { gap: 12px; }

/* ==================== BRANDS ==================== */
.brands-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.brands-slider { overflow: hidden; }

.brands-track {
    display: flex;
    gap: 32px;
    animation: brandsScroll 20s linear infinite;
}

.brand-logo {
    min-width: 150px;
    height: 90px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.brand-logo:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.brand-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.brand-logo span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

@keyframes brandsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== PRODUCTS ==================== */
.products-section {
    padding: 80px 0;
}

.products-section.new-arrivals { background: var(--bg-warm); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Luxe badge language: gold whispers, red screams */
.badge-sale {
    background: linear-gradient(135deg, #C9A84C, #E8D48A);
    color: #2D1B3D;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(201, 168, 76, 0.35);
}

.badge-new {
    background: rgba(45, 27, 61, 0.85);
    color: #E8D48A;
    border: 1px solid rgba(232, 212, 138, 0.5);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.badge-out-of-stock {
    background: rgba(239, 83, 80, 0.9);
    color: #fff;
    border: 1px solid rgba(239, 83, 80, 0.5);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.badge-best {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-muted);
    transition: var(--transition);
}

.wishlist-btn:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.product-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img { transform: scale(1.05); }

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(100%);
    transition: var(--transition);
}

.product-card:hover .product-actions { transform: translateY(0); }

.quick-view, .add-to-cart-btn {
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.quick-view {
    background: rgba(255,255,255,0.95);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.add-to-cart-btn {
    background: var(--accent);
    color: #fff;
}

.add-to-cart-btn:hover { background: var(--accent-dark); }

.product-info {
    padding: 16px;
}

.product-brand {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.5;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stars { color: #f5a623; font-size: 13px; display: flex; gap: 2px; }
.stars.small { font-size: 11px; }

.product-rating span {
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

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

.section-footer {
    text-align: center;
    margin-top: 48px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Products Scroll (New Arrivals) */
.products-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card-horizontal {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.product-card-horizontal:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card-horizontal img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.product-card-horizontal .product-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-horizontal .product-name,
.product-card-horizontal h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 4px 0 8px;
    line-height: 1.4;
}

.add-to-cart-sm {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.add-to-cart-sm:hover { color: var(--accent-dark); }

/* ==================== OFFERS BANNER ==================== */
.offers-banner {
    padding: 60px 0;
    background: var(--bg-light);
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.offer-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 240px;
    transition: var(--transition);
}

.offer-card:hover { transform: scale(1.02); }

.offer-large {
    grid-row: span 2;
    min-height: 500px;
}

.offer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.2) 100%);
}

.offer-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.offer-tag {
    background: var(--accent);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
}

.offer-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 8px;
}

.offer-content p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.btn-sm {
    display: inline-flex;
    padding: 8px 24px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    width: fit-content;
}

.btn-sm:hover { background: var(--accent); }

/* ==================== BEFORE & AFTER - PREMIUM ==================== */
.before-after-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ba-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(155,108,184,0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ba-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(155,108,184,0.2), transparent 50%, rgba(155,108,184,0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ba-card:hover {
    box-shadow: 0 20px 60px rgba(155,108,184,0.15);
    transform: translateY(-6px);
}

.ba-card:hover::before { opacity: 1; }

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 0.85;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-after {
    position: absolute;
    inset: 0;
}

.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 50% 0 0); /* right side clipped = before shows left half */
}

.ba-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Premium Labels */
.ba-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 5;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.ba-label-before {
    right: 12px;
    background: rgba(45,27,61,0.7);
    color: #fff;
}

.ba-label-after {
    left: 12px;
    background: rgba(155,108,184,0.7);
    color: #fff;
}

.ba-slider:hover .ba-label { transform: translateY(-4px); }

/* Glassmorphic Handle */
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.ba-handle-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, transparent, #fff 15%, #fff 85%, transparent);
    box-shadow: 0 0 12px rgba(155,108,184,0.4);
    border-radius: 2px;
}

.ba-handle-circle {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 16px rgba(45,27,61,0.2),
        0 0 0 2px rgba(155,108,184,0.15),
        inset 0 1px 0 rgba(255,255,255,0.8);
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ba-slider:hover .ba-handle-circle {
    transform: scale(1.12);
    box-shadow:
        0 6px 24px rgba(155,108,184,0.3),
        0 0 0 3px rgba(155,108,184,0.2),
        0 0 20px rgba(155,108,184,0.15);
    background: #fff;
}

.ba-slider.active .ba-handle-circle {
    transform: scale(1.2);
    background: var(--accent);
    color: #fff;
    box-shadow:
        0 8px 32px rgba(155,108,184,0.4),
        0 0 0 4px rgba(155,108,184,0.2),
        0 0 30px rgba(155,108,184,0.2);
}

/* Scan line animation on handle */
.ba-handle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(155,108,184,0.6), transparent);
    animation: baScan 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes baScan {
    0%, 100% { top: 20%; opacity: 0; }
    50% { top: 60%; opacity: 1; }
}

.ba-slider.active .ba-handle::after { display: none; }

/* Premium Info Section */
.ba-info {
    padding: 20px 24px 24px;
    text-align: center;
    position: relative;
}

.ba-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155,108,184,0.2), transparent);
}

.ba-product-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(155,108,184,0.25);
}

.ba-info h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.ba-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.ba-info .btn-primary {
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(155,108,184,0.25);
}

@media (max-width: 1024px) {
    .ba-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ba-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ==================== REWARDS ==================== */
.rewards-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.rewards-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.rewards-text { flex: 1; }

.rewards-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: #D4AF37;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.rewards-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    margin-bottom: 16px;
    color: #fff;
}

.rewards-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

.rewards-perks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.perk i {
    color: #D4AF37;
    font-size: 18px;
}

.btn-lg { padding: 16px 44px; font-size: 16px; }

.rewards-visual { flex-shrink: 0; }

.rewards-card {
    width: 340px;
    height: 200px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8932E 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.35);
    color: #fff;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.rewards-card:hover { transform: rotate(0deg); }

.rc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rc-header span {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
}

.rc-header i { font-size: 24px; }

.rc-name {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.rc-points {
    font-size: 28px;
    font-weight: 800;
}

.rc-footer span {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* ==================== REVIEWS ==================== */
.reviews-section {
    padding: 80px 0;
    background: var(--bg-warm);
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.review-score {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.reviews-summary .stars { font-size: 18px; }
.reviews-summary p { font-size: 14px; color: var(--text-muted); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.review-card:hover { box-shadow: var(--shadow-md); }

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.review-header h4 {
    font-size: 15px;
    font-weight: 600;
}

.review-date {
    margin-right: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.review-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.verified {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.newsletter-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-content > i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.newsletter-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 12px;
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: #fff;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background: var(--accent);
    color: #fff;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover { background: var(--accent-dark); }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 8px;
}

.footer-col > p {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-light);
    padding-right: 6px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--accent-light);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 28px;
    color: rgba(255,255,255,0.5);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-4px);
}

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 90%;
    overflow: hidden;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
}

.modal-close:hover { background: var(--danger); color: #fff; }

.modal-body {
    display: flex;
}

.modal-img {
    width: 50%;
    background: var(--bg-light);
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    width: 50%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-info h2,
.modal-info .modal-product-name {
    font-size: 20px;
    font-weight: 700;
}

.modal-desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-light);
}

.modal-ingredients {
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-muted);
}

.modal-ingredients strong {
    color: var(--text);
}

.modal-ingredients a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.modal-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.modal-quantity button {
    width: 40px;
    height: 40px;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-quantity button:hover { background: var(--bg-light); }

.modal-quantity input {
    width: 50px;
    text-align: center;
    border: none;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

.w-full { width: 100%; justify-content: center; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .products-scroll { grid-template-columns: repeat(2, 1fr); }
    .rewards-content { gap: 40px; }
    .rewards-card { width: 280px; height: 170px; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .header-content { flex-wrap: wrap; gap: 12px; justify-content: center; }
    .logo-img { height: 36px; }
    .search-bar { order: 3; max-width: 100%; flex-basis: 100%; }
    .search-bar input { padding: 12px 48px 12px 16px; font-size: 13px; border-radius: 14px; }
    .search-bar button { width: 38px; border-radius: 10px; }
    .header-actions { gap: 16px; }
    .header-action i { font-size: 20px; }
    .header-action small { font-size: 10px; }
    .header-main { padding: 14px 0; }

    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mega-menu { display: none !important; }

    .hero { height: auto; aspect-ratio: 16/9; }

    .features-bar { padding: 20px 0; }
    .features-bar .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .feature-item { gap: 10px; }
    .feature-item i { font-size: 22px; }
    .feature-item h4 { font-size: 13px; }
    .feature-item p { font-size: 11px; }

    .categories-section { padding: 48px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: 24px; }
    .section-header p { font-size: 13px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .category-img { border-radius: 16px; }
    .category-card h3 { font-size: 14px; }
    .category-link { font-size: 12px; }
    .category-count { font-size: 11px; padding: 4px 12px; }

    .brands-section { padding: 40px 0; }

    .products-section { padding: 48px 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-info { padding: 12px; }
    .product-brand { font-size: 10px; }
    .product-name { font-size: 12px; margin: 4px 0; }
    .product-rating { margin-bottom: 6px; }
    .product-rating .stars { font-size: 11px; }
    .product-rating span { font-size: 10px; }
    .current-price { font-size: 16px; }
    .old-price { font-size: 12px; }
    .product-badges { top: 8px; right: 8px; }
    .badge-sale, .badge-new, .badge-best { font-size: 10px; padding: 3px 8px; }
    .wishlist-btn { top: 8px; left: 8px; width: 30px; height: 30px; font-size: 13px; }

    .section-tabs { gap: 6px; margin-top: 16px; }
    .tab-btn { padding: 8px 16px; font-size: 12px; }

    .offers-banner { padding: 40px 0; }
    .offers-grid { grid-template-columns: 1fr; gap: 14px; }
    .offer-large { grid-row: span 1; min-height: 220px; }
    .offer-card { min-height: 180px; border-radius: 16px; }
    .offer-content { padding: 20px; }
    .offer-content h3 { font-size: 18px; }

    .products-scroll { grid-template-columns: 1fr; gap: 12px; }
    .product-card-horizontal { padding: 12px; gap: 12px; border-radius: 14px; }
    .product-card-horizontal img { width: 72px; height: 72px; border-radius: 10px; }

    .ba-grid { grid-template-columns: 1fr; max-width: 100%; }
    .ba-card { border-radius: 16px; }
    .ba-info { padding: 16px; }
    .ba-info h3 { font-size: 15px; }
    .ba-info p { font-size: 12px; }

    .rewards-content { flex-direction: column; text-align: center; gap: 32px; }
    .rewards-perks { justify-content: center; }
    .rewards-text .btn-primary { margin: 0 auto; }
    .rewards-text h2 { font-size: 28px; }
    .rewards-card { width: 280px; height: 170px; padding: 20px; border-radius: 16px; }

    .reviews-section { padding: 48px 0; }
    .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
    .review-card { padding: 20px; border-radius: 14px; }
    .review-score { font-size: 36px; }

    .newsletter-section { padding: 48px 0; }
    .newsletter-content h2 { font-size: 22px; }
    .newsletter-form { border-radius: 14px; }
    .newsletter-form input { padding: 14px 16px; font-size: 13px; }
    .newsletter-form button { padding: 14px 20px; font-size: 13px; }

    .footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer-logo { display: flex; justify-content: center; }
    .footer-logo-img { height: 32px; }
    .social-links { justify-content: center; }
    .contact-info p { justify-content: center; }
    .footer-col h3 { font-size: 15px; margin-bottom: 12px; }
    .footer-col a { font-size: 13px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 16px 0; }
    .payment-methods { justify-content: center; font-size: 24px; }

    .btn-primary { padding: 12px 28px; font-size: 14px; }
    .btn-outline { padding: 12px 28px; font-size: 14px; }
    .btn-lg { padding: 14px 32px; }

    .modal-body { flex-direction: column; }
    .modal-img, .modal-info { width: 100%; }
    .modal-img { height: 220px; }
    .modal-info { padding: 20px; }
    .modal-content { border-radius: 16px; }

    .back-to-top { width: 42px; height: 42px; font-size: 16px; bottom: 20px; right: 20px; }
    .mobile-menu-toggle { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 20px; }

    .promo-banner { padding: 8px 0; font-size: 11px; }
}

/* ==================== MOBILE APP EXPERIENCE ==================== */

/* iOS-like spring transitions */
@media (max-width: 768px) {
    * { -webkit-tap-highlight-color: transparent; }

    .mobile-menu-toggle { display: none; }
    body { padding-bottom: 76px; }

    /* Glassmorphic Bottom Navigation */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-top: 1px solid rgba(155, 108, 184, 0.12);
        z-index: 1100;
        justify-content: space-around;
        align-items: center;
        padding: 6px 0 max(6px, env(safe-area-inset-bottom));
        box-shadow: 0 -2px 24px rgba(45, 27, 61, 0.06);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 9px;
        font-weight: 600;
        color: var(--text-muted);
        transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        padding: 6px 12px;
        position: relative;
        border-radius: 12px;
    }

    .mobile-bottom-nav a:active {
        transform: scale(0.88);
    }

    .mobile-bottom-nav a.active {
        color: var(--accent);
    }

    .mobile-bottom-nav a.active::before {
        content: '';
        position: absolute;
        top: -6px;
        width: 20px;
        height: 3px;
        background: var(--accent);
        border-radius: 3px;
    }

    .mobile-bottom-nav a i { font-size: 21px; }

    .mobile-bottom-nav a .nav-badge {
        position: absolute;
        top: 2px;
        right: 6px;
        background: linear-gradient(135deg, var(--accent), var(--accent-dark));
        color: #fff;
        font-size: 8px;
        min-width: 15px;
        height: 15px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(155, 108, 184, 0.4);
    }

    .back-to-top { bottom: 86px; }

    /* App-like sticky header */
    .header-main {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(155, 108, 184, 0.08);
        padding: 10px 0;
        transition: box-shadow 0.3s ease;
    }

    .header-main.scrolled {
        box-shadow: 0 2px 20px rgba(45, 27, 61, 0.08);
    }

    .promo-banner {
        position: relative;
        z-index: 999;
    }

    /* App-like cards with spring hover */
    .product-card {
        border-radius: 16px;
        border: none;
        box-shadow: 0 1px 8px rgba(45, 27, 61, 0.06);
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    }

    .product-card:active {
        transform: scale(0.97);
    }

    /* Horizontal scrollable categories */
    .categories-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .categories-grid::-webkit-scrollbar { display: none; }

    .category-card {
        min-width: 140px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .category-img {
        border-radius: 16px;
        aspect-ratio: 1;
        height: 140px;
    }

    /* Horizontal scrollable tabs */
    .section-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 4px;
        scrollbar-width: none;
        gap: 8px;
    }

    .section-tabs::-webkit-scrollbar { display: none; }

    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 20px;
        padding: 8px 20px;
    }

    /* Products horizontal scroll */
    .products-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .products-grid::-webkit-scrollbar { display: none; }

    .products-grid .product-card {
        min-width: 165px;
        max-width: 165px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Brands horizontal scroll */
    .brands-track {
        -webkit-overflow-scrolling: touch;
    }

    /* Reviews horizontal scroll */
    .reviews-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .reviews-grid::-webkit-scrollbar { display: none; }

    .review-card {
        min-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
        border-radius: 16px;
    }

    /* Offers horizontal scroll */
    .offers-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        scrollbar-width: none;
    }

    .offers-grid::-webkit-scrollbar { display: none; }

    .offer-card {
        min-width: 85vw;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .offer-large {
        grid-row: unset;
        min-height: 200px;
    }

    /* Before & After horizontal scroll */
    .ba-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        max-width: 100% !important;
        scrollbar-width: none;
    }

    .ba-grid::-webkit-scrollbar { display: none; }

    .ba-card {
        min-width: 85vw;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    /* New Arrivals horizontal scroll */
    .products-scroll {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        scrollbar-width: none;
    }

    .products-scroll::-webkit-scrollbar { display: none; }

    .product-card-horizontal {
        min-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* App-like section spacing */
    .categories-section,
    .products-section,
    .offers-banner,
    .before-after-section,
    .new-arrivals,
    .reviews-section,
    .newsletter-section {
        padding: 32px 0;
    }

    .section-header { margin-bottom: 20px; }

    /* Bottom sheet modal */
    .modal-overlay {
        align-items: flex-end !important;
    }

    .modal-content {
        width: 100% !important;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: 90vh;
        overflow-y: auto;
        animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .modal-content::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        background: var(--border);
        border-radius: 4px;
        margin: 12px auto;
    }

    /* Glassmorphic search on mobile */
    .search-bar input {
        background: rgba(155, 108, 184, 0.06);
        border: 1.5px solid rgba(155, 108, 184, 0.15);
    }

    .search-bar input:focus {
        background: #fff;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(155, 108, 184, 0.12);
    }

    /* Pill-shaped product actions */
    .product-actions {
        position: static;
        transform: none;
        padding: 0 12px 12px;
        display: flex;
        flex-direction: row;
        gap: 6px;
    }

    .product-card:hover .product-actions { transform: none; }

    .add-to-cart-btn {
        border-radius: 20px;
        padding: 8px 12px;
        font-size: 11px;
        flex: 1;
    }

    .quick-view {
        display: none;
    }

    /* iOS-like section titles */
    .section-header h2 {
        font-size: 22px;
        text-align: right;
    }

    .section-header p {
        font-size: 12px;
        text-align: right;
    }

    /* Smooth scroll for entire page */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Feature bar app style */
    .features-bar {
        padding: 16px 0;
        border-bottom: none;
    }

    .features-bar .container {
        display: flex !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        scrollbar-width: none;
    }

    .features-bar .container::-webkit-scrollbar { display: none; }

    .feature-item {
        min-width: fit-content;
        padding: 8px 16px;
        background: rgba(155, 108, 184, 0.06);
        border-radius: 12px;
        margin-left: 8px;
        flex-shrink: 0;
    }

    /* Newsletter app style */
    .newsletter-form {
        flex-direction: column;
        border: none;
        border-radius: 0;
        background: transparent;
        gap: 10px;
    }

    .newsletter-form input {
        border: 1.5px solid var(--border);
        border-radius: 14px;
        padding: 14px 16px;
    }

    .newsletter-form button {
        border-radius: 14px;
        padding: 14px;
    }

    /* Rewards mobile */
    .rewards-section { padding: 48px 0; }
    .rewards-card { margin: 0 auto; }
    .rewards-text h2 { font-size: 24px; }
    .rewards-text p { font-size: 13px; }
    .perk { font-size: 12px; }

    /* Footer compact */
    .footer { padding: 32px 0 0; }
    .footer-grid { gap: 24px; }
}

@media (min-width: 769px) {
    .mobile-bottom-nav { display: none; }
}

/* ==================== MICRO INTERACTIONS ==================== */

/* Active press feedback - iOS spring */
.btn-primary:active,
.btn-outline:active,
.category-card:active,
.review-card:active,
.offer-card:active,
.ba-card:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
}

/* Wishlist heart animation */
.wishlist-btn.liked {
    animation: heartPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Add to cart success ripple */
@keyframes cartSuccess {
    0% { box-shadow: 0 0 0 0 rgba(155, 108, 184, 0.5); }
    100% { box-shadow: 0 0 0 12px rgba(155, 108, 184, 0); }
}

.cart-added {
    animation: cartSuccess 0.5s ease-out;
}

/* Smooth skeleton loading shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, rgba(155,108,184,0.08) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* Badge pulse */
.nav-badge, .header-action .badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
