/* ═══════════════════════════════════════════════════════════
   LUXESHOP — Premium Ecommerce CSS  v2.0
   Shared base styles (variables, reset, components)
   Desktop breakpoints → site-desktop.css
   Mobile / tablet     → site-mobile.css
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
    --accent: #e94560;
    --accent-hover: #c73652;
    --accent-light: rgba(233,69,96,.08);
    --bg: #f8f8f8;
    --surface: #ffffff;
    --surface-2: #f1f1f1;
    --border: #e8e8e8;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
    --radius: 16px;
    --transition: .25s cubic-bezier(.4,0,.2,1);
    --footer-bg: #1a1a2e;
    --footer-text: rgba(255,255,255,.7);
    --footer-border: rgba(255,255,255,.1);
}

[data-theme="dark"] {
    --bg: #0f0f1a;
    --surface: #1a1a2e;
    --surface-2: #16213e;
    --border: #2d2d4e;
    --text: #f0f0ff;
    --text-muted: #8888aa;
    --accent-light: rgba(233, 69, 96, .14);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,.4);
    --footer-bg: #0a0a15;
    --footer-text: rgba(255,255,255,.65);
    --footer-border: rgba(255, 255, 255, .07);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background var(--transition),color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    padding: .65rem 1.5rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

    .btn-primary:hover {
        background: var(--accent-hover);
        border-color: var(--accent-hover);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(233,69,96,.35);
        color: #fff;
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    padding: .65rem 1.5rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

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

/* ── Announcement ───────────────────────────────────────── */
.announcement-bar {
    background: var(--text);
    color: #fff;
    padding: .55rem 1.5rem;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .announcement-bar {
    background: #0a0a15;
}

.announcement-bar strong {
    color: var(--accent);
}

.announcement-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    font-size: 1rem;
}

    .announcement-close:hover {
        color: #fff;
    }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition),background var(--transition);
}

[data-theme="dark"] .site-header {
    background: rgba(26,26,46,.92);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

    .logo-text em {
        color: var(--accent);
        font-style: normal;
    }

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem .85rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

    .nav-link:hover, .nav-link.active {
        color: var(--accent);
        background: var(--accent-light);
    }

/* Mega menu */
.mega-menu {
    position: absolute;
    top: calc(100% + .5rem);
    left: -6rem;
    width: 480px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    pointer-events: none;
}

.nav-item:not(.account-dropdown):hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Account menu: click to open, click outside to close */
.account-dropdown.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.account-dropdown-trigger {
    cursor: pointer;
}

.mega-cat {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .875rem;
    border-radius: 10px;
    transition: background var(--transition);
    text-decoration: none;
    color: var(--text);
}

    .mega-cat:hover {
        background: var(--accent-light);
        color: var(--accent);
    }

.mega-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.mega-cat-name {
    font-weight: 600;
    font-size: .85rem;
}

.mega-cat-count {
    font-size: .75rem;
    color: var(--text-muted);
}

/* Categories mega menu — scrollable, all categories */
.mega-menu-categories {
    left: 0;
    width: min(720px, calc(100vw - 2rem));
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-template-columns: unset;
    overflow: hidden;
}

.mega-nav-item .mega-menu-categories {
    max-height: min(520px, 72vh);
}

.mega-menu-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    flex-shrink: 0;
}

.mega-menu-search-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

    .mega-menu-search-wrap i {
        position: absolute;
        left: .75rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: .85rem;
        pointer-events: none;
    }

.mega-menu-search {
    width: 100%;
    padding: .55rem .75rem .55rem 2.25rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: .82rem;
    font-family: inherit;
}

    .mega-menu-search:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-light);
    }

.mega-menu-meta {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mega-menu-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    align-content: start;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

    .mega-menu-body::-webkit-scrollbar {
        width: 6px;
    }

    .mega-menu-body::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 999px;
    }

.mega-menu-item {
    min-width: 0;
    border-radius: 12px;
    padding: .25rem;
    transition: background .15s;
}

    .mega-menu-item.is-hidden {
        display: none;
    }

.mega-subs-list {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    max-height: 120px;
    overflow-y: auto;
    margin: .15rem 0 .35rem;
    padding-left: .35rem;
    scrollbar-width: thin;
}

.mega-sub {
    font-size: .72rem;
    color: var(--text-muted);
    padding: .28rem .5rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
    border-radius: 8px;
    transition: color .15s, background .15s;
    line-height: 1.3;
}

    .mega-sub i {
        font-size: .58rem;
        flex-shrink: 0;
    }

    .mega-sub:hover {
        color: var(--accent);
        background: var(--accent-light);
    }

.mega-menu-foot {
    flex-shrink: 0;
    padding: .65rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.mega-menu-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    padding: .6rem 1rem;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s;
}

    .mega-menu-all-link:hover {
        background: var(--accent);
        color: #fff;
    }

.mega-menu-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: .85rem;
}



/* Search */
.header-search {
    flex: 1;
    max-width: 440px;
    position: relative;
}

    .header-search input {
        width: 100%;
        padding: .6rem 1rem .6rem 2.5rem;
        border: 1.5px solid var(--border);
        border-radius: 50px;
        background: var(--surface-2);
        color: var(--text);
        font-size: .875rem;
        transition: all var(--transition);
    }

        .header-search input:focus {
            outline: none;
            border-color: var(--accent);
            background: var(--surface);
            box-shadow: 0 0 0 3px var(--accent-light);
        }

    .header-search .search-icon {
        position: absolute;
        left: .875rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: .9rem;
        pointer-events: none;
    }

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}

.header-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
    text-decoration: none;
}

    .header-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-light);
    }

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

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: transform .2s, opacity .2s;
    }

/* ── Hero ───────────────────────────────────────────────── */
.hero-section {
    padding: 1.25rem 0 0;
    background: var(--bg);
}

.hero-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}

.swiper-hero {
    height: clamp(320px, 52vh, 520px);
    width: 100%;
}

    .swiper-hero .swiper-wrapper,
    .swiper-hero .swiper-slide {
        height: 100%;
    }

    .swiper-hero .swiper-slide {
        width: 100%;
    }

.swiper-hero .swiper-pagination.is-hidden,
.swiper-hero .swiper-button-next.is-hidden,
.swiper-hero .swiper-button-prev.is-hidden {
    display: none !important;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--surface-2);
    overflow: hidden;
    min-height: 100%;
}

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

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(105deg, rgba(26, 26, 46, .84) 0%, rgba(26, 26, 46, .48) 42%, rgba(26, 26, 46, .14) 68%, rgba(26, 26, 46, .04) 100%);
    pointer-events: none;
}

.hero-slide--fallback {
    background:
        radial-gradient(ellipse 80% 80% at 10% 0%, var(--accent-light), transparent 55%),
        radial-gradient(ellipse 60% 50% at 95% 100%, rgba(99, 102, 241, .08), transparent 50%),
        linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
}

.hero-slide--fallback::after {
    background:
        linear-gradient(105deg, rgba(26, 26, 46, .72) 0%, rgba(26, 26, 46, .28) 50%, transparent 100%);
}

[data-theme="dark"] .hero-slide::after {
    background:
        linear-gradient(105deg, rgba(10, 10, 21, .92) 0%, rgba(26, 26, 46, .58) 45%, rgba(26, 26, 46, .22) 72%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(1.75rem, 4vw, 3rem);
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    padding: .35rem .9rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.5vw, 2.85rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: .75rem;
}

    .hero-title span {
        color: #ffb3c0;
    }

.hero-desc {
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.hero-btns {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.hero-btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
}

    .hero-btn-ghost:hover {
        color: #fff;
        border-color: rgba(255, 255, 255, .55);
        background: rgba(255, 255, 255, .16);
    }

.swiper-hero .swiper-pagination {
    bottom: 1.1rem !important;
}

.swiper-hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: 1;
    background: rgba(255, 255, 255, .4) !important;
    transition: width .25s ease, background .25s ease;
}

.swiper-hero .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    background: var(--accent) !important;
}

.swiper-hero .swiper-button-next,
.swiper-hero .swiper-button-prev {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    color: var(--text) !important;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

    .swiper-hero .swiper-button-next::after,
    .swiper-hero .swiper-button-prev::after {
        font-size: .95rem;
        font-weight: 700;
    }

    .swiper-hero .swiper-button-next:hover,
    .swiper-hero .swiper-button-prev:hover {
        background: var(--surface);
        color: var(--accent) !important;
        transform: scale(1.04);
    }

[data-theme="dark"] .swiper-hero .swiper-button-next,
[data-theme="dark"] .swiper-hero .swiper-button-prev {
    background: rgba(26, 26, 46, .92);
    border-color: var(--border);
    color: var(--text) !important;
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.92)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes shimmer {
    from {
        background-position: 200% 0
    }

    to {
        background-position: -200% 0
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(110%);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes fadeOut {
    from {
        opacity: 1
    }

    to {
        opacity: 0;
        transform: translateX(110%)
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes pulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

/* Scroll reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease,transform .6s ease;
}

    [data-animate].visible {
        opacity: 1;
        transform: none;
    }

[data-animate="left"] {
    transform: translateX(-24px);
}

[data-animate="right"] {
    transform: translateX(24px);
}

[data-animate="scale"] {
    transform: scale(.95);
}

    [data-animate="left"].visible, [data-animate="right"].visible, [data-animate="scale"].visible {
        transform: none;
    }

/* Staggered children — all items reveal when parent enters view */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s ease, transform .45s ease;
}

[data-stagger].visible > * {
    opacity: 1;
    transform: none;
}

[data-stagger].visible > *:nth-child(1) { transition-delay: .03s; }
[data-stagger].visible > *:nth-child(2) { transition-delay: .06s; }
[data-stagger].visible > *:nth-child(3) { transition-delay: .09s; }
[data-stagger].visible > *:nth-child(4) { transition-delay: .12s; }
[data-stagger].visible > *:nth-child(5) { transition-delay: .15s; }
[data-stagger].visible > *:nth-child(6) { transition-delay: .18s; }
[data-stagger].visible > *:nth-child(7) { transition-delay: .21s; }
[data-stagger].visible > *:nth-child(8) { transition-delay: .24s; }
[data-stagger].visible > *:nth-child(n+9) { transition-delay: .27s; }



/* ── Section Headers ────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem,3vw,2rem);
    font-weight: 700;
}

    .section-title span {
        color: var(--accent);
    }

.section-subtitle {
    color: var(--text-muted);
    font-size: .9rem;
    margin-top: .25rem;
}

.section-link {
    font-size: .875rem;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

    .section-link:hover {
        text-decoration: underline;
    }

/* ── Product Card ───────────────────────────────────────── */
.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-card-media {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface-2);
    position: relative;
}

.product-card-link {
    display: block;
    width: 100%;
    height: 100%;
}

    .product-card-media img,
    .product-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

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

/* legacy alias */
.product-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface-2);
    position: relative;
}

.product-card-badges {
    position: absolute;
    top: .65rem;
    left: .65rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    z-index: 2;
    max-width: calc(100% - 4rem);
}

.badge {
    padding: .22rem .55rem;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.badge-new {
    background: #10b981;
    color: #fff;
}

.badge-sale {
    background: var(--accent);
    color: #fff;
}

.badge-hot {
    background: #f59e0b;
    color: #fff;
}

.badge-soldout {
    background: #6b7280;
    color: #fff;
}

.product-card-actions {
    position: absolute;
    top: .65rem;
    right: .65rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(-4px);
    transition: all var(--transition);
}

.product-card:hover .product-card-actions,
.product-card:focus-within .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.card-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.95);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: all var(--transition);
    backdrop-filter: blur(6px);
}

[data-theme="dark"] .card-action-btn {
    background: rgba(26,26,46,.92);
}

    .card-action-btn:hover,
    .card-action-cart:hover {
        background: var(--accent);
        color: #fff;
        transform: scale(1.06);
    }

    .card-action-btn.wishlisted {
        background: var(--accent);
        color: #fff;
    }

.product-card-body {
    padding: .9rem 1rem .75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
}

.product-card-category {
    font-size: .68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

.product-card-name {
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    margin: 0;
}

    .product-card-name:hover {
        color: var(--accent);
    }

.product-card-desc {
    font-size: .75rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: auto;
    padding-top: .35rem;
}

.stars {
    color: #f59e0b;
    font-size: .72rem;
    letter-spacing: -.02em;
}

.rating-count {
    font-size: .72rem;
    color: var(--text-muted);
}

.product-card-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    margin-top: .15rem;
}

.price-current {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    line-height: 1.2;
}

.price-original {
    font-size: .78rem;
    color: var(--text-muted);
    text-decoration: line-through;
    line-height: 1.2;
}

.product-card-footer {
    padding: 0 .75rem .85rem;
    margin-top: auto;
}

.product-card-bottom {
    margin-top: auto;
}

.product-card-bottom .product-card-price {
    padding: 0 .75rem .35rem;
    margin-top: .15rem;
}

.product-card-bottom .product-card-footer {
    padding: 0 .75rem .85rem;
    margin-top: 0;
}

.add-to-cart-btn {
    width: 100%;
    padding: .62rem .75rem;
    border-radius: 11px;
    background: var(--text);
    border: 1.5px solid var(--text);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-family: inherit;
}

[data-theme="dark"] .add-to-cart-btn {
    background: var(--accent);
    border-color: var(--accent);
}

    .add-to-cart-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px var(--accent-light);
    }

.out-of-stock-btn {
    background: var(--surface-2) !important;
    border-color: var(--border) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Products Grid ──────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.products-grid--home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

[hidden] {
    display: none !important;
}







/* ── Categories Grid ────────────────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 1rem;
}

/* ── Categories strip (home — compact contained carousel) ── */
.categories-section {
    padding: 2rem 0 2.5rem;
}

.categories-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.categories-head-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.categories-nav {
    display: inline-flex;
    gap: .35rem;
    padding: .2rem;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.cat-nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s, color .18s, opacity .18s;
    font-size: 1rem;
}

    .cat-nav-btn:hover:not(:disabled) {
        background: var(--accent-light);
        color: var(--accent);
    }

    .cat-nav-btn:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

.categories-browse-all {
    font-size: .84rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

    .categories-browse-all:hover {
        text-decoration: underline;
    }

.categories-panel {
    padding: 0;
    overflow: hidden;
}

.categories-track {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: .15rem .1rem .35rem;
}

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

.category-showcase-card {
    flex: 0 0 128px;
    scroll-snap-align: start;
    position: relative;
    z-index: 1;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

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

    .category-showcase-card:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 3px;
    }

.category-showcase-media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--surface-2);
    overflow: hidden;
}

.category-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.25, .8, .25, 1);
}

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

.category-showcase-fallback {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}

.category-showcase-fallback.tone-0 { background: linear-gradient(145deg, #1e293b, #475569); }
.category-showcase-fallback.tone-1 { background: linear-gradient(145deg, #4c1d95, #7c3aed); }
.category-showcase-fallback.tone-2 { background: linear-gradient(145deg, #9d174d, #db2777); }
.category-showcase-fallback.tone-3 { background: linear-gradient(145deg, #9a3412, #ea580c); }
.category-showcase-fallback.tone-4 { background: linear-gradient(145deg, #115e59, #14b8a6); }
.category-showcase-fallback.tone-5 { background: linear-gradient(145deg, #1e3a8a, #3b82f6); }

.category-showcase-initial {
    position: absolute;
    top: .4rem;
    right: .5rem;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .16);
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

.category-showcase-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 12, 24, .9) 0%, rgba(8, 12, 24, .45) 38%, transparent 72%);
    pointer-events: none;
    z-index: 1;
}

.category-showcase-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .65rem .6rem .7rem;
    color: #fff;
    z-index: 2;
}

.category-showcase-name {
    margin: 0;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-showcase-count {
    display: block;
    margin-top: .18rem;
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, .72);
}

.categories-progress {
    margin-top: .85rem;
    height: 3px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

    .categories-progress span {
        display: block;
        height: 100%;
        width: 0;
        border-radius: inherit;
        background: var(--accent);
        transition: width .15s ease-out;
    }











/* Legacy category cards (shop grid etc.) */
.categories-showcase {
    position: relative;
}

.category-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    cursor: pointer;
}

    .category-card:hover {
        border-color: var(--accent);
        background: var(--accent-light);
        transform: translateY(-4px);
        box-shadow: var(--shadow-sm);
    }

.category-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .875rem;
    transition: all var(--transition);
}

.category-card:hover .category-card-icon {
    background: var(--accent);
    color: #fff;
}

.category-card-name {
    font-weight: 700;
    font-size: .875rem;
    margin-bottom: .2rem;
}

.category-card-count {
    font-size: .75rem;
    color: var(--text-muted);
}

/* ── Promo Banners ──────────────────────────────────────── */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.promo-card {
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .promo-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .3;
    }

.promo-card-content {
    position: relative;
    z-index: 1;
}

.promo-card h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.promo-card p {
    color: rgba(255,255,255,.75);
    font-size: .85rem;
    margin-bottom: .875rem;
}

/* ── Bestsellers Marquee ────────────────────────────────── */
.marquee-wrap {
    overflow: hidden;
    background: var(--bg);
    padding: .875rem 0 0;
}

.marquee-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    animation: marquee 28s linear infinite;
    white-space: nowrap;
    width: max-content;
    padding: .65rem 0;
}

    .marquee-track:hover {
        animation-play-state: paused;
    }

.marquee-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-muted);
    flex-shrink: 0;
}

    .marquee-item i {
        color: var(--accent);
    }

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ── Stats ──────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

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

.stat-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: .875rem;
    color: var(--text-muted);
    margin-top: .5rem;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 0%, rgba(233, 69, 96, .12), transparent 58%),
        radial-gradient(ellipse 55% 45% at 95% 100%, rgba(99, 102, 241, .1), transparent 52%),
        linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
    pointer-events: none;
}

[data-theme="dark"] .testimonials-bg {
    background:
        radial-gradient(ellipse 70% 55% at 15% 0%, rgba(233, 69, 96, .16), transparent 58%),
        radial-gradient(ellipse 55% 45% at 95% 100%, rgba(99, 102, 241, .14), transparent 52%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.testimonials-wrap {
    position: relative;
    z-index: 1;
}

.testimonials-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
    flex-wrap: wrap;
}

.testimonials-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    margin-bottom: .45rem;
}

.testimonials-score {
    min-width: 118px;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(12px);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .testimonials-score {
    background: rgba(26, 26, 46, .72);
}

.testimonials-score-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.testimonials-score-stars {
    color: #f59e0b;
    font-size: .82rem;
    margin: .35rem 0 .2rem;
    letter-spacing: -.02em;
}

.testimonials-score-label {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.testimonials-stage {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    opacity: 1;
    transform: none;
}

.testimonials-carousel {
    position: relative;
    min-height: clamp(260px, 38vw, 320px);
}

.testimonial-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.97);
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1), visibility .55s;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 22px;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    overflow: hidden;
}

[data-theme="dark"] .testimonial-card {
    background: rgba(26, 26, 46, .82);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.testimonial-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 2;
}

.testimonial-card-shine {
    position: absolute;
    inset: -40% auto auto -20%;
    width: 55%;
    height: 140%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: rotate(12deg);
    animation: testimonialShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes testimonialShine {
    0%, 100% { transform: translateX(-120%) rotate(12deg); opacity: 0; }
    45% { opacity: 1; }
    55% { transform: translateX(220%) rotate(12deg); opacity: 0; }
}

.testimonial-quote-mark {
    position: absolute;
    top: .85rem;
    right: 1rem;
    font-size: 2.4rem;
    color: var(--accent);
    opacity: .14;
}

.testimonial-stars {
    display: flex;
    gap: .12rem;
    color: #f59e0b;
    font-size: .92rem;
    margin-bottom: .85rem;
}

.testimonial-stars i {
    animation: testimonialStarPop .5s ease backwards;
}

.testimonial-card.is-active .testimonial-stars i:nth-child(1) { animation-delay: .08s; }
.testimonial-card.is-active .testimonial-stars i:nth-child(2) { animation-delay: .14s; }
.testimonial-card.is-active .testimonial-stars i:nth-child(3) { animation-delay: .2s; }
.testimonial-card.is-active .testimonial-stars i:nth-child(4) { animation-delay: .26s; }
.testimonial-card.is-active .testimonial-stars i:nth-child(5) { animation-delay: .32s; }

@keyframes testimonialStarPop {
    from { opacity: 0; transform: translateY(8px) scale(.6); }
    to { opacity: 1; transform: none; }
}

.testimonial-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .55rem;
    line-height: 1.35;
}

.testimonial-text {
    color: var(--text);
    font-size: clamp(.95rem, 2.2vw, 1.05rem);
    line-height: 1.75;
    margin: 0 0 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(233, 69, 96, .28);
    animation: testimonialAvatarPulse 3s ease-in-out infinite;
}

@keyframes testimonialAvatarPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(233, 69, 96, .28); }
    50% { box-shadow: 0 8px 26px rgba(124, 58, 237, .35); }
}

.author-meta {
    min-width: 0;
}

.author-name {
    font-weight: 700;
    font-size: .92rem;
}

.author-product {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .12rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-product:hover {
    color: var(--accent);
}

.author-verified {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: .28rem;
    font-size: .68rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, .12);
    padding: .16rem .45rem;
    border-radius: 999px;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.25rem;
}

.testimonials-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

.testimonials-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.testimonials-dots {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: var(--border);
    cursor: pointer;
    transition: all .25s ease;
}

.testimonials-dot.is-active {
    width: 24px;
    background: var(--accent);
}

.testimonials-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 2rem;
}

.testimonials-rail-card {
    padding: .85rem .9rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: .74rem;
    line-height: 1.45;
    color: var(--text-muted);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.testimonials-rail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(233, 69, 96, .35);
    box-shadow: var(--shadow-sm);
}

.testimonials-rail-stars {
    display: block;
    color: #f59e0b;
    font-size: .62rem;
    margin-bottom: .35rem;
}

.testimonials-rail-user {
    display: block;
    margin-top: .45rem;
    font-weight: 700;
    color: var(--text);
    font-size: .68rem;
}





/* ── Newsletter ─────────────────────────────────────────── */
.newsletter-section {
    background: linear-gradient(135deg,#1a1a2e 0%,#0f3460 100%);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
}

    .newsletter-section h2 {
        font-family: var(--font-display);
        color: #fff;
        font-size: 1.75rem;
        margin-bottom: .75rem;
    }

    .newsletter-section p {
        color: rgba(255,255,255,.7);
        margin-bottom: 1.5rem;
    }

.newsletter-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    gap: .5rem;
}

    .newsletter-form input {
        flex: 1;
        padding: .7rem 1rem;
        border-radius: 10px;
        border: none;
        background: rgba(255,255,255,.12);
        color: #fff;
        font-size: .875rem;
    }

        .newsletter-form input::placeholder {
            color: rgba(255,255,255,.5);
        }

        .newsletter-form input:focus {
            outline: 2px solid var(--accent);
        }

/* ── Toast ──────────────────────────────────────────────── */
#toastContainer {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1.25rem;
    border-radius: 12px;
    min-width: 280px;
    max-width: 360px;
    font-size: .875rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: slideInRight .3s ease, fadeOut .3s ease 2.7s forwards;
    backdrop-filter: blur(10px);
}

.toast-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.toast-error {
    background: #fee2e2;
    color: #7f1d1d;
    border-left: 4px solid #ef4444;
}

.toast-warning {
    background: #fef3c7;
    color: #78350f;
    border-left: 4px solid #f59e0b;
}

.toast-info {
    background: #dbeafe;
    color: #1e3a8a;
    border-left: 4px solid #3b82f6;
}

/* ── Skeleton ───────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg,var(--surface-2) 25%,var(--border) 50%,var(--surface-2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* ── Spinner ────────────────────────────────────────────── */
.spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: inline-block;
}

/* ── Page Sections ──────────────────────────────────────── */
.page-section {
    padding: 4rem 0;
}

.categories-section.page-section {
    padding: 2rem 0 2.5rem;
}

.home-flash-section {
    padding: 0 0 3rem;
}

.home-products-section {
    padding-bottom: 3rem;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    list-style: none;
    font-size: .85rem;
    color: var(--text-muted);
}

    .breadcrumb li + li::before {
        content: '/';
        margin-right: .5rem;
    }

    .breadcrumb a {
        color: var(--accent);
    }

/* ── Content / Help pages (CMS) ─────────────────────────── */
.content-page.page-section {
    padding: 0;
}

.content-page-hero {
    position: relative;
    overflow: hidden;
    padding: 2.75rem 0 2.25rem;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(ellipse 85% 70% at 12% -10%, var(--accent-light), transparent 58%),
        radial-gradient(ellipse 60% 50% at 95% 20%, rgba(99, 102, 241, .07), transparent 52%),
        linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
    transition: background var(--transition), border-color var(--transition);
}

[data-theme="dark"] .content-page-hero {
    background:
        radial-gradient(ellipse 85% 70% at 12% -10%, rgba(233, 69, 96, .12), transparent 58%),
        radial-gradient(ellipse 60% 50% at 95% 20%, rgba(99, 102, 241, .1), transparent 52%),
        linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}

.content-page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #8b5cf6), transparent);
    opacity: .85;
}

.content-page-breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

    .content-page-breadcrumb a {
        color: var(--accent);
        font-weight: 600;
        transition: opacity var(--transition);
    }

        .content-page-breadcrumb a:hover {
            opacity: .85;
        }

    .content-page-breadcrumb .sep {
        font-size: .62rem;
        opacity: .55;
    }

    .content-page-breadcrumb .current {
        color: var(--text);
        font-weight: 500;
    }

.content-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin-bottom: .55rem;
}

.content-page-title {
    margin: 0 0 .45rem;
}

.content-page-meta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: .72rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.content-page-body {
    padding: 2.5rem 0 3.75rem;
}

.content-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 1.75rem;
    align-items: start;
}

.content-page-article {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 3vw, 2.35rem);
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

    .content-page-article::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #8b5cf6));
    }

.content-prose {
    font-size: .94rem;
    line-height: 1.78;
    color: var(--text);
}

    .content-prose > *:first-child {
        margin-top: 0;
    }

    .content-prose > *:last-child {
        margin-bottom: 0;
    }

    .content-prose h2 {
        font-family: var(--font-display);
        font-size: 1.2rem;
        font-weight: 700;
        margin: 2rem 0 .75rem;
        padding-bottom: .5rem;
        border-bottom: 1px solid var(--border);
        color: var(--text);
    }

    .content-prose h3 {
        font-size: 1rem;
        font-weight: 700;
        margin: 1.35rem 0 .55rem;
        color: var(--text);
    }

    .content-prose p {
        margin: 0 0 1rem;
    }

    .content-prose ul,
    .content-prose ol {
        margin: 0 0 1rem;
        padding-left: 1.35rem;
    }

    .content-prose li {
        margin-bottom: .4rem;
    }

    .content-prose a {
        color: var(--accent);
        text-decoration: underline;
        text-underline-offset: 2px;
        transition: color var(--transition);
    }

        .content-prose a:hover {
            color: var(--accent-hover);
        }

    .content-prose strong {
        font-weight: 700;
        color: var(--text);
    }

    .content-prose table.content-table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0 1.25rem;
        font-size: .88rem;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border);
    }

    .content-prose table.content-table th,
    .content-prose table.content-table td {
        border-bottom: 1px solid var(--border);
        padding: .7rem .8rem;
        text-align: left;
    }

    .content-prose table.content-table tr:last-child td {
        border-bottom: none;
    }

    .content-prose table.content-table th {
        background: var(--surface-2);
        font-weight: 700;
        color: var(--text);
    }

    .content-prose table.content-table tbody tr:hover td {
        background: var(--accent-light);
    }

.content-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}

.content-info-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

    .content-info-card:hover {
        border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
        box-shadow: var(--shadow-sm);
        transform: translateY(-2px);
    }

    .content-info-card h3 {
        margin: 0 0 .45rem;
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--accent);
    }

    .content-info-card p {
        margin: 0 0 .35rem;
        font-size: .88rem;
    }

.content-muted {
    color: var(--text-muted) !important;
    font-size: .78rem !important;
}

.content-page-aside {
    position: sticky;
    top: 5.75rem;
}

.content-aside-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), border-color var(--transition);
}

    .content-aside-card + .content-aside-card {
        margin-top: 1rem;
    }

    .content-aside-card h4 {
        margin: 0 0 .85rem;
        font-size: .72rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--text-muted);
        font-weight: 700;
    }

.content-aside-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

    .content-aside-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        padding: .58rem .7rem;
        border-radius: 10px;
        text-decoration: none;
        color: var(--text);
        font-size: .84rem;
        font-weight: 500;
        border: 1px solid transparent;
        transition: background var(--transition), color var(--transition), border-color var(--transition);
    }

        .content-aside-links a:hover {
            background: var(--accent-light);
            color: var(--accent);
        }

        .content-aside-links a.active {
            background: var(--accent-light);
            color: var(--accent);
            border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
            font-weight: 700;
        }

.content-aside-text {
    font-size: .84rem;
    color: var(--text-muted);
    margin: 0 0 .85rem;
    line-height: 1.55;
}

.content-aside-cta {
    width: 100%;
    justify-content: center;
    font-size: .82rem;
    padding: .65rem 1rem;
}



/* ── Pagination ─────────────────────────────────────────── */
.pagination {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

.page-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: .875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition);
}

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

/* ── Icon Button (Admin) ────────────────────────────────── */
.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: .85rem;
    transition: all var(--transition);
    text-decoration: none;
}

    .icon-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

    .icon-btn.danger:hover {
        border-color: #ef4444;
        color: #ef4444;
    }

/* ── Form Controls ──────────────────────────────────────── */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;
}

.form-control {
    width: 100%;
    padding: .65rem .875rem;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: .9rem;
    transition: border-color var(--transition);
    font-family: var(--font-body);
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-light);
    }

.password-field {
    position: relative;
}

    .password-field .form-control {
        padding-right: 2.75rem;
    }

    .password-field .form-control.has-left-icon {
        padding-left: 2.5rem;
    }

    .password-field .password-field-icon-left {
        position: absolute;
        left: .875rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        pointer-events: none;
    }

    .password-field .password-toggle {
        position: absolute;
        right: .65rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        padding: 0;
        border: none;
        border-radius: 8px;
        background: transparent;
        color: var(--text-muted);
        cursor: pointer;
        transition: color var(--transition), background var(--transition);
    }

        .password-field .password-toggle:hover {
            color: var(--accent);
            background: var(--accent-light);
        }

        .password-field .password-toggle:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── FOOTER (dark-theme safe) ───────────────────────────── */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 4rem;
}

.footer-main {
    padding: 3.5rem 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 1.4rem;
}

.footer-brand p {
    margin-top: .75rem;
    font-size: .875rem;
    max-width: 260px;
    line-height: 1.7;
    color: var(--footer-text);
}

.footer-col h4 {
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

    .footer-col ul a {
        font-size: .875rem;
        transition: color var(--transition);
        color: var(--footer-text);
    }

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

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: .5rem;
    color: var(--footer-text);
}

.social-links {
    display: flex;
    gap: .75rem;
    margin-top: 1.25rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    font-size: .9rem;
    transition: all var(--transition);
}

    .social-link:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

/* ── Admin ──────────────────────────────────────────────── */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.admin-stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.admin-stat-label {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .25rem;
}

.status-badge {
    padding: .25rem .65rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 600;
    display: inline-block;
}

/* ── Page Layout Utilities ──────────────────────────────── */
.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.75rem 1rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem,4vw,2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Home */
.home-top-zone {
    background: var(--bg);
}

.trust-bar {
    padding: .875rem 0 0;
    background: var(--bg);
}

.trust-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.trust-text strong {
    font-size: .875rem;
    font-weight: 700;
    display: block;
}

.trust-text span {
    font-size: .75rem;
    color: var(--text-muted);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.2rem 0;
    border-right: 1px solid var(--border);
    padding-left: 1.5rem;
}

    .trust-item:last-child {
        border-right: none;
    }

.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.flash-sale {
    background: linear-gradient(135deg,#e94560,#8b5cf6);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    overflow: hidden;
    position: relative;
}

    .flash-sale::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -5%;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

.flash-sale-title {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.15rem,3vw,1.5rem);
    font-weight: 700;
}

.flash-sale-sub {
    color: rgba(255,255,255,.8);
    font-size: .85rem;
    margin-top: .2rem;
}

.countdown {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.cd-unit {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: .5rem .875rem;
    text-align: center;
    min-width: 56px;
}

.cd-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: block;
}

.cd-label {
    font-size: .6rem;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tab-pills {
    display: flex;
    gap: .5rem;
    background: var(--surface-2);
    border-radius: 50px;
    padding: .3rem;
    flex-wrap: wrap;
}

.tab-pill {
    padding: .4rem 1.1rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--text-muted);
    transition: all .2s;
    font-family: inherit;
    white-space: nowrap;
}

    .tab-pill.active {
        background: var(--accent);
        color: #fff;
    }

/* Shop */
.shop-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
}

.filter-panel {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: sticky;
    top: 80px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 150;
    opacity: 0;
    transition: opacity .25s;
}

    .filter-overlay.open {
        display: block;
        opacity: 1;
    }

.mobile-filter-btn {
    display: none;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: .875rem;
}

/* Cart */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.cart-items-panel {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    text-decoration: none;
    display: block;
    word-break: break-word;
}

.cart-item-price {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .2rem;
}

.cart-qty-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-input {
    width: 44px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 600;
    background: transparent;
    color: var(--text);
    font-size: .9rem;
}

.cart-item-subtotal {
    font-weight: 700;
    min-width: 70px;
    text-align: right;
    flex-shrink: 0;
}

.cart-remove-btn {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border);
    background: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}

    .cart-remove-btn:hover {
        border-color: #ef4444;
        color: #ef4444;
    }

.cart-mobile-checkout {
    display: none;
}

.cart-summary {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--border);
    position: sticky;
    top: 90px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: .5rem 0;
    font-size: .9rem;
}

.cart-coupon-row {
    display: flex;
    gap: .5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

    .cart-coupon-row .form-control {
        flex: 1;
        min-width: 120px;
    }

.cart-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    font-size: .72rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.checkout-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.checkout-step-title {
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: clamp(.95rem,2.5vw,1rem);
}

.checkout-step-num {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-city-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.checkout-pay-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .875rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: .5rem;
    transition: all .2s;
}

.checkout-summary {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: sticky;
    top: 90px;
}

.checkout-summary-item {
    display: flex;
    gap: .875rem;
    padding: .625rem 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.checkout-summary-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.checkout-summary-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.checkout-summary-qty {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Account / Profile */
.account-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.account-sidebar {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.75rem;
    position: sticky;
    top: 80px;
    align-self: start;
    border: 1px solid var(--border);
}

.account-mobile-nav {
    display: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: .5rem;
    padding: .5rem 0 1rem;
    scrollbar-width: none;
}

    .account-mobile-nav::-webkit-scrollbar {
        display: none;
    }

    .account-mobile-nav .sidebar-link {
        flex-shrink: 0;
        white-space: nowrap;
        width: auto;
        padding: .5rem 1rem;
        border: 1.5px solid var(--border);
        border-radius: 50px;
        font-size: .8rem;
    }

        .account-mobile-nav .sidebar-link.active {
            border-color: var(--accent);
        }

.stat-chips {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .875rem;
    margin-bottom: 1.75rem;
}

.account-content {
    min-width: 0;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 0;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

    .mobile-menu.open {
        display: block;
    }

.mobile-menu-quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    padding: .875rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.mobile-quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem .75rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}

    .mobile-quick-link i {
        font-size: .95rem;
    }

    .mobile-quick-link:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

.mobile-quick-shop {
    grid-column: 1 / -1;
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-size: .88rem;
    padding: .75rem 1rem;
}

    .mobile-quick-shop:hover {
        background: var(--accent);
        color: #fff;
        filter: brightness(1.05);
    }

.mobile-menu-search-block {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-search-wrap {
    position: relative;
}

    .mobile-menu-search-wrap i {
        position: absolute;
        left: .875rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
    }

    .mobile-menu-search-wrap input {
        width: 100%;
        padding: .6rem 1rem .6rem 2.5rem;
        border: 1.5px solid var(--border);
        border-radius: 50px;
        background: var(--surface-2);
        color: var(--text);
        font-size: .875rem;
        font-family: inherit;
    }

        .mobile-menu-search-wrap input:focus {
            outline: none;
            border-color: var(--accent);
        }

.mobile-categories-section {
    padding: .75rem 1rem 1rem;
}

.mobile-categories-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .65rem;
}

    .mobile-categories-head h3 {
        margin: 0;
        font-size: .92rem;
        font-weight: 700;
    }

.mobile-cat-count {
    font-size: .72rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    padding: .2rem .55rem;
    border-radius: 999px;
}

.mobile-cat-search-wrap {
    position: relative;
    margin-bottom: .65rem;
}

    .mobile-cat-search-wrap i {
        position: absolute;
        left: .75rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: .85rem;
    }

.mobile-cat-search {
    width: 100%;
    padding: .55rem .75rem .55rem 2.25rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    font-size: .82rem;
    font-family: inherit;
}

    .mobile-cat-search:focus {
        outline: none;
        border-color: var(--accent);
    }

.mobile-categories-list {
    max-height: min(340px, 42vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    scrollbar-width: thin;
}

.mobile-cat-group {
    border-bottom: 1px solid var(--border);
}

    .mobile-cat-group:last-child {
        border-bottom: none;
    }

    .mobile-cat-group.is-hidden {
        display: none;
    }

.mobile-cat-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.mobile-cat-parent {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: .86rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem .85rem;
    text-decoration: none;
    transition: color .15s, background .15s;
}

    .mobile-cat-parent i:first-child {
        color: var(--accent);
        width: 18px;
        text-align: center;
        flex-shrink: 0;
    }

    .mobile-cat-parent:hover {
        color: var(--accent);
        background: var(--accent-light);
    }

.mobile-cat-badge {
    margin-left: auto;
    font-size: .65rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: .12rem .4rem;
    border-radius: 999px;
}

.mobile-cat-expand {
    width: 44px;
    flex-shrink: 0;
    border: none;
    border-left: 1px solid var(--border);
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
}

    .mobile-cat-expand:hover {
        background: var(--surface-2);
        color: var(--accent);
    }

    .mobile-cat-expand i {
        transition: transform .2s;
    }

    .mobile-cat-group.is-open .mobile-cat-expand i {
        transform: rotate(180deg);
    }

.mobile-cat-subs {
    display: none;
    padding: 0 .85rem .65rem 2.5rem;
    background: var(--surface-2);
}

    .mobile-cat-group.is-open .mobile-cat-subs {
        display: block;
    }

    .mobile-cat-subs a {
        display: block;
        font-size: .8rem;
        color: var(--text-muted);
        padding: .35rem 0;
        text-decoration: none;
    }

        .mobile-cat-subs a:hover {
            color: var(--accent);
        }

.mobile-categories-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .75rem;
    padding: .65rem 1rem;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

    .mobile-categories-all:hover {
        background: var(--accent);
        color: #fff;
    }

.mobile-cat-empty {
    padding: 1.25rem 1rem;
    text-align: center;
    font-size: .82rem;
    color: var(--text-muted);
}

.mobile-menu-account {
    display: flex;
    gap: .75rem;
    padding: .875rem 1rem 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-btn span {
    transition: transform .2s, opacity .2s;
}

body.menu-open {
    overflow: hidden;
}

/* Empty states */
.empty-state-page {
    text-align: center;
    padding: clamp(3rem,8vw,5rem) 1.5rem;
}

/* ── Responsive ─────────────────────────────────────────── */












/* ═══════════════════════════════════════════════════════════
   MOBILE STOREFRONT — Modern app-like experience
   ═══════════════════════════════════════════════════════════ */

/* Touch devices: always show quick actions on cards */


/* Product detail page */
.product-detail-page {
    padding-top: clamp(1rem, 3vw, 2rem);
    padding-bottom: 3rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-bottom: 2.5rem;
}

.product-gallery {
    min-width: 0;
}

.product-gallery-main {
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
}

    .product-gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.product-gallery-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.product-gallery-thumbs {
    display: flex;
    gap: .55rem;
    margin-top: .875rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: .15rem .15rem .35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.product-gallery-thumb {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: border-color .15s, transform .15s;
    scroll-snap-align: start;
    background: var(--surface);
    padding: 0;
}

    .product-gallery-thumb.active,
    .product-gallery-thumb:hover {
        border-color: var(--accent);
    }

    .product-gallery-thumb.active {
        transform: scale(1.03);
    }

    .product-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.product-info-block {
    min-width: 0;
}

.product-detail-category {
    font-size: .72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    margin-bottom: .35rem;
}

.product-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4.5vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .75rem;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

    .product-detail-rating .stars {
        color: #f59e0b;
        font-size: .85rem;
    }

    .product-detail-rating span:last-child {
        font-size: .85rem;
        color: var(--text-muted);
    }

.product-detail-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .5rem .65rem;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.product-detail-price {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.product-detail-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-detail-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1.25rem;
    font-size: .92rem;
}

.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

    .product-detail-stock.in-stock {
        background: rgba(16,185,129,.12);
        color: #10b981;
    }

    .product-detail-stock.out-stock {
        background: rgba(239,68,68,.1);
        color: #ef4444;
    }

.product-detail-qty {
    display: inline-flex;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    margin-bottom: 1rem;
}

    .product-detail-qty button {
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.1rem;
        color: var(--text);
        transition: background .15s;
    }

        .product-detail-qty button:hover {
            background: var(--surface-2);
        }

    .product-detail-qty input {
        width: 54px;
        height: 44px;
        text-align: center;
        border: none;
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
        font-weight: 600;
        background: transparent;
        color: var(--text);
        font-size: .95rem;
        font-family: inherit;
    }

.product-detail-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

    .product-detail-actions .btn-primary {
        flex: 1;
        min-width: min(100%, 200px);
    }

    .product-detail-actions .btn-outline {
        width: 48px;
        padding: 0;
        flex-shrink: 0;
    }

.product-detail-brand {
    font-size: .85rem;
    color: var(--text-muted);
    margin: 0;
    padding-top: .25rem;
}

    .product-detail-brand strong {
        color: var(--text);
    }

.product-detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .product-detail-tabs::-webkit-scrollbar {
        display: none;
    }

.product-detail-tab {
    padding: .75rem 1.1rem;
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    font-size: .88rem;
}

    .product-detail-tab.active {
        color: var(--accent);
        border-bottom-color: var(--accent);
    }

.product-detail-tab-panel {
    max-width: 720px;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: .92rem;
}

    .product-detail-tab-panel p {
        margin: 0 0 1rem;
    }

.product-review-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 1.15rem;
    margin-bottom: .75rem;
    border: 1px solid var(--border);
}

.product-review-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
    flex-wrap: wrap;
}

.product-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.product-review-meta {
    flex: 1;
    min-width: 0;
}

    .product-review-meta strong {
        display: block;
        font-size: .875rem;
    }

    .product-review-meta .stars {
        color: #f59e0b;
        font-size: .8rem;
    }

.product-review-date {
    margin-left: auto;
    font-size: .75rem;
    color: var(--text-muted);
}

.product-review-form {
    background: var(--surface);
    border-radius: 14px;
    padding: 1.35rem;
    border: 1px solid var(--border);
    margin-top: 1rem;
}

    .product-review-form h5 {
        font-weight: 700;
        margin: 0 0 1rem;
    }

.product-star-selector {
    display: flex;
    gap: .25rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

    .product-star-selector span {
        cursor: pointer;
        color: var(--border);
        transition: color .15s;
    }

.product-detail-related {
    margin-top: 2.5rem;
}

    .product-detail-related h2 {
        font-family: var(--font-display);
        font-size: clamp(1.25rem, 4vw, 1.5rem);
        font-weight: 700;
        margin: 0 0 1.25rem;
    }

.product-mobile-buybar {
    display: none;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--text-muted);
    font-size: .85rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

    .breadcrumb-nav a {
        color: var(--accent);
        text-decoration: none;
    }

    .breadcrumb-nav span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

/* Mobile list view cards */


/* Mobile bottom tab bar */
.mobile-tab-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: .12rem .35rem calc(.12rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 30px rgba(0,0,0,.06);
}

[data-theme="dark"] .mobile-tab-bar {
    background: rgba(15,15,26,.94);
}

body.storefront-mobile-nav {
    padding-bottom: 0;
}

.mobile-tab-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 480px;
    margin: 0 auto;
    gap: .15rem;
}

.mobile-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .04rem;
    padding: .2rem .15rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: .52rem;
    font-weight: 600;
    transition: color .15s, background .15s;
    position: relative;
}

    .mobile-tab i {
        font-size: .88rem;
    }

    .mobile-tab.active {
        color: var(--accent);
        background: var(--accent-light);
    }

.mobile-tab-badge {
    position: absolute;
    top: .15rem;
    right: calc(50% - 1.1rem);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}



/* ── Global loader ───────────────────────────────────────── */
body.loader-open {
    overflow: hidden;
}

body.is-page-loading main {
    opacity: 0;
}

body:not(.is-page-loading) main {
    transition: opacity .25s ease;
}

.global-loader {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.global-loader.is-active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.global-loader-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 28, .42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.global-loader-card {
    position: relative;
    z-index: 1;
    min-width: 168px;
    padding: 1.35rem 1.5rem 1.15rem;
    border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    text-align: center;
    animation: loaderCardIn .35s cubic-bezier(.2, .8, .2, 1);
}

@keyframes loaderCardIn {
    from { opacity: 0; transform: translateY(10px) scale(.96); }
    to { opacity: 1; transform: none; }
}

.global-loader-rings {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto .85rem;
}

.global-loader-rings .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.global-loader-rings .ring-outer {
    border: 3px solid color-mix(in srgb, var(--accent) 18%, transparent);
    border-top-color: var(--accent);
    animation: loaderSpin 1s linear infinite;
}

.global-loader-rings .ring-inner {
    inset: 10px;
    border: 3px solid transparent;
    border-right-color: color-mix(in srgb, var(--accent) 55%, #fff);
    animation: loaderSpin .75s linear infinite reverse;
}

.global-loader-rings .ring-core {
    inset: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    font-size: .95rem;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 25%, transparent);
    animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

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

.global-loader-text {
    margin: 0;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--text);
}

/* ── Smart alert dialogs (moved from JS for faster paint) ── */
.sa-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: saFadeIn .2s ease;
}

@keyframes saFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes saSlideIn {
    from { transform: translateY(-18px) scale(.96); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@keyframes saFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.sa-box {
    background: var(--surface, #fff);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0,0,0,.18);
    animation: saSlideIn .25s cubic-bezier(.175,.885,.32,1.275);
    text-align: center;
    position: relative;
}

.sa-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin: 0 auto 1.25rem;
}

.sa-icon.danger { background: #fee2e2; color: #ef4444; }
.sa-icon.warning { background: #fef3c7; color: #f59e0b; }
.sa-icon.success { background: #d1fae5; color: #10b981; }
.sa-icon.info { background: #dbeafe; color: #3b82f6; }

.sa-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .5rem;
    color: var(--text, #1a1a2e);
}

.sa-message {
    color: var(--text-muted, #6b7280);
    font-size: .875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sa-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
}

.sa-btn {
    padding: .6rem 1.4rem;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .18s;
    font-family: inherit;
    min-width: 90px;
}

.sa-btn-cancel {
    background: var(--surface-2, #f1f1f1);
    color: var(--text-muted, #6b7280);
    border-color: var(--border, #e8e8e8);
}

.sa-btn-cancel:hover { background: var(--border, #e8e8e8); }

.sa-btn-confirm {
    background: #e94560;
    color: #fff;
    border-color: #e94560;
}

.sa-btn-confirm:hover {
    background: #c73652;
    border-color: #c73652;
    transform: translateY(-1px);
}

.sa-btn-confirm.warning { background: #f59e0b; border-color: #f59e0b; }
.sa-btn-confirm.warning:hover { background: #d97706; border-color: #d97706; }
.sa-btn-confirm.info { background: #3b82f6; border-color: #3b82f6; }
.sa-btn-confirm.info:hover { background: #2563eb; border-color: #2563eb; }
.sa-btn-confirm.success { background: #10b981; border-color: #10b981; }
.sa-btn-confirm.success:hover { background: #059669; border-color: #059669; }

.sa-input-wrap { margin-bottom: 1.25rem; text-align: left; }

.sa-input {
    width: 100%;
    padding: .65rem .875rem;
    border-radius: 10px;
    border: 1.5px solid var(--border, #e8e8e8);
    background: var(--bg, #f8f8f8);
    color: var(--text, #1a1a2e);
    font-size: .9rem;
    font-family: inherit;
    margin-top: .5rem;
}

.sa-input:focus { outline: none; border-color: #e94560; }

@media (prefers-reduced-motion: reduce) {
    [data-animate],
    [data-stagger] > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card-shine,
    .author-avatar,
    .testimonial-stars i {
        animation: none !important;
    }

    .testimonial-card {
        transition: opacity .2s ease, visibility .2s;
        transform: none !important;
    }
}
