/* ================================================
   SOURCE: style.css
   ================================================ */

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #c4b5fd;
    --accent: #f59e0b;
    --accent2: #ec4899;
    --bg: #080812;
    --bg2: #0e0e1e;
    --bg3: #14142a;
    --card: #16162e;
    --card2: #1e1e3a;
    --border: rgba(139, 92, 246, 0.2);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #475569;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #ef4444);
    --glow: 0 0 40px rgba(139, 92, 246, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xl: 24px;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --border-hover: rgba(139, 92, 246, 0.5);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* features-strip (dark default) */
    --feature-strip-bg: linear-gradient(180deg, #0a0a12 0%, #10101a 45%, #0c0c14 100%);
    --feature-strip-border: rgba(255, 255, 255, 0.07);
    --feature-title-color: #f1f5f9;
    --feature-desc-color: #94a3b8;
    --feature-panel-border: rgba(255, 255, 255, 0.08);
    --feature-panel-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    --feature-panel-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
    --feature-icon-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    --feature-orange-panel: rgba(249, 115, 22, 0.12);
    --feature-cyan-panel: rgba(14, 165, 233, 0.12);
    --feature-lime-panel: rgba(34, 197, 94, 0.12);
    --feature-teal-panel: rgba(13, 148, 136, 0.14);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
@supports (overflow: clip) {
    html {
        overflow-x: clip;
    }
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    display: block;
    max-width: 100%;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fixed background layer (login, product, cart, etc.) */
.bg-scene {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    contain: paint;
}

/* Login page particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

/* ===================== LOADER ===================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition:
        opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.55s;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 50% 42%, rgba(139, 92, 246, 0.18) 0%, transparent 58%),
        radial-gradient(circle at 18% 22%, rgba(236, 72, 153, 0.1) 0%, transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(139, 92, 246, 0.08) 0%, transparent 38%),
        radial-gradient(ellipse 120% 100% at 50% 100%, rgba(0, 0, 0, 0.45) 0%, transparent 52%);
}
.loader-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 24px;
}
.loader-brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    margin-bottom: 4px;
}
.loader-orbit {
    position: absolute;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-top-color: rgba(196, 181, 253, 0.85);
    animation: loaderOrbit 1.35s linear infinite;
}
.loader-orbit::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px solid rgba(236, 72, 153, 0.14);
    border-bottom-color: rgba(244, 114, 182, 0.45);
}
.loader-logo {
    position: relative;
    z-index: 1;
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 900;
    letter-spacing: 0.38em;
    text-indent: 0.38em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 28px rgba(139, 92, 246, 0.35));
    animation: loaderLogoGlow 2.4s ease-in-out infinite;
}
.loader-tagline {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 28px;
    opacity: 0.9;
    animation: loaderTaglineFade 1.2s ease 0.15s both;
}
.loader-bar {
    position: relative;
    width: min(260px, 78vw);
    height: 4px;
    margin: 0 auto;
    background: var(--bg3);
    border-radius: 99px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(139, 92, 246, 0.12);
}
.loader-fill {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: 99px;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.45);
    animation: loadBar 1.85s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
.loader-shine {
    position: absolute;
    inset: 0;
    width: 40%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 40%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.06) 60%,
        transparent 100%
    );
    transform: translateX(-120%);
    animation: loaderShine 1.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes loadBar {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}
@keyframes loaderOrbit {
    to {
        transform: rotate(360deg);
    }
}
@keyframes loaderLogoGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.28));
        opacity: 1;
    }
    50% {
        filter: drop-shadow(0 0 36px rgba(236, 72, 153, 0.42));
        opacity: 0.92;
    }
}
@keyframes loaderTaglineFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}
@keyframes loaderShine {
    0% {
        transform: translateX(-140%);
    }
    100% {
        transform: translateX(320%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .loader-orbit,
    .loader-orbit::after,
    .loader-logo,
    .loader-fill,
    .loader-shine,
    .loader-tagline {
        animation: none;
    }
    .loader-fill {
        width: 100%;
    }
    .loader-tagline {
        opacity: 0.9;
        transform: none;
    }
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(8, 8, 18, 0.92);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    line-height: 1;
}
.nav-logo__img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.nav-breadcrumb {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.nav-breadcrumb a {
    transition: color var(--transition);
}
.nav-breadcrumb a:hover {
    color: var(--primary-light);
}
.nav-breadcrumb span {
    color: var(--text-dim);
}
.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}
.nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 99px;
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-links a:hover {
    color: var(--white);
}
.nav-links a:hover::after {
    transform: scaleX(1);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.icon-btn:hover {
    background: var(--bg3);
    color: var(--white);
}

/* Sign In Nav Button */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid var(--border);
    color: var(--primary-light);
    padding: 9px 18px;
    border-radius: 99px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-login-btn:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
    transform: translateY(-1px);
}

.nav-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    cursor: pointer;
}
.nav-icon-link:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}
.nav-cart-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--bg);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    position: relative;
    transition:
        background var(--transition),
        color var(--transition);
}
.cart-btn:hover {
    box-shadow: none;
    background: var(--bg3);
    color: var(--white);
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--bg);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.cart-count.bump {
    animation: bump 0.3s ease;
}
@keyframes bump {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

/* Index: Pixelstrap-like layered header/menu/search */
.index-page .navbar-kart {
    background: rgba(9, 12, 24, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}
.index-page .navbar-kart .nav-container {
    width: min(1440px, 100%);
    justify-content: space-between;
}
.index-page .nav-kart-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    max-height: 64px;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 0.3s ease,
        opacity 0.24s ease,
        transform 0.3s ease,
        border-color 0.24s ease;
}
.index-page .nav-kart-topbar__inner {
    width: min(1440px, 100%);
    margin: 0 auto;
    min-height: 38px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.index-page .nav-kart-topbar__text {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}
.index-page .nav-kart-topbar__highlight {
    color: #facc15;
    font-weight: 700;
    animation: navTopbarBlink 1.2s ease-in-out infinite;
}
@keyframes navTopbarBlink {
    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(250, 204, 21, 0);
    }
    50% {
        opacity: 0.35;
        text-shadow: 0 0 10px rgba(250, 204, 21, 0.65);
    }
}
.index-page .nav-kart-topbar__links {
    display: flex;
    align-items: center;
    gap: 16px;
}
.index-page .nav-kart-topbar__links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}
.index-page .nav-kart-main {
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 16px;
}
.index-page .nav-kart-search {
    flex: 0 1 520px;
    min-width: 180px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.index-page .nav-kart-search__icon {
    color: rgba(255, 255, 255, 0.68);
    display: inline-flex;
    margin-left: 16px;
}
.index-page .nav-kart-search input {
    border: 0;
    background: transparent;
    color: var(--white);
    min-height: 44px;
    width: 100%;
    padding: 0 12px;
    outline: none;
    font-size: 0.92rem;
}
.index-page .nav-kart-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}
.index-page .nav-kart-search button {
    border: 0;
    min-height: 44px;
    padding: 0 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0d1224;
    background: #fff;
    cursor: pointer;
}
.index-page .nav-search-mobile-btn {
    display: none;
}
.index-page .nav-kart-menu-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        radial-gradient(80% 140% at 50% -45%, rgba(139, 92, 246, 0.2), transparent 68%);
}
.index-page .nav-kart-menu-shell {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 0 24px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.index-page .nav-kart-menu {
    width: auto;
    margin: 0;
    padding: 0;
    min-height: unset;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}
.index-page .nav-kart-menu li {
    display: inline-flex;
    border-radius: 999px;
}
.index-page .nav-kart-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    border: 1px solid transparent;
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}
.index-page .nav-kart-menu a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 99px;
    /* background: linear-gradient(90deg, #8b5cf6, #ec4899); */
    background: transparent;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}
.index-page .nav-kart-menu a:hover,
.index-page .nav-kart-menu li:hover > a,
.index-page .nav-kart-menu li:focus-within > a {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(236, 72, 153, 0.14));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 20px rgba(12, 14, 34, 0.38);
    /* transform: translateY(-1px); */
}
.index-page .nav-kart-menu a:hover::after,
.index-page .nav-kart-menu a[aria-current="page"]::after {
    transform: scaleX(1);
}
.index-page .nav-kart-menu a[aria-current="page"] {
    color: #ffffff;
    border-color: rgba(236, 72, 153, 0.38);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(236, 72, 153, 0.2));
}
.index-page .navbar-kart.scrolled .nav-kart-topbar {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    border-bottom-color: transparent;
    pointer-events: none;
}
.index-page .navbar-kart.scrolled .nav-kart-main {
    padding-top: 10px;
    padding-bottom: 10px;
}
.index-page .nav-kart-auth-btn {
    flex-shrink: 0;
}
.index-page .nav-kart-auth-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.index-page .nav-kart-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
    min-width: 0;
}
.index-page .nav-kart-user-meta strong {
    font-size: 0.83rem;
    font-weight: 700;
    color: #ffffff;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.index-page .nav-kart-user-meta span {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.index-page .nav-kart-profile-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.index-page .nav-kart-profile-wrap::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    height: 12px;
}
.index-page .nav-kart-profile-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
    transition: all var(--transition);
}
.index-page .nav-kart-profile-btn:hover,
.index-page .nav-kart-profile-btn:focus-visible {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.2);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
}
.index-page .nav-kart-profile-dropdown {
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    min-width: 190px;
    padding: 8px;
    border-radius: 0 0 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(16, 20, 35, 0.96);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
    z-index: 1205;
}
.index-page .nav-kart-profile-wrap:hover .nav-kart-profile-dropdown,
.index-page .nav-kart-profile-wrap:focus-within .nav-kart-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.index-page .nav-kart-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    font-weight: 500;
    transition:
        background var(--transition),
        color var(--transition);
}
.index-page .nav-kart-profile-dropdown a:hover {
    background: rgba(139, 92, 246, 0.22);
    color: #ffffff;
}
:root[data-theme="light"] .index-page .nav-kart-profile-dropdown {
    border-color: rgba(15, 23, 42, 0.14);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .index-page .nav-kart-profile-dropdown a {
    color: #334155;
}
:root[data-theme="light"] .index-page .nav-kart-profile-dropdown a:hover {
    color: #0f172a;
    background: rgba(139, 92, 246, 0.14);
}
:root[data-theme="light"] .index-page .nav-kart-profile-btn {
    border-color: rgba(15, 23, 42, 0.14);
    background: #ffffff;
    color: #0f172a;
}
:root[data-theme="light"] .index-page .nav-kart-profile-btn:hover {
    color: #0f172a;
}
:root[data-theme="light"] .index-page .nav-kart-user-meta strong {
    color: #ffffff;
}
:root[data-theme="light"] .index-page .nav-kart-user-meta span {
    color: rgba(255, 255, 255, 0.92);
}
:root[data-theme="light"] .index-page .nav-kart-menu-wrap {
    background: var(--gradient);
}

@media (max-width: 992px) {
    .index-page .nav-kart-topbar__text {
        font-size: 0.76rem;
    }
    .index-page .nav-kart-topbar__links {
        display: none;
    }
    .index-page .nav-kart-search button {
        padding-inline: 14px;
    }
    .index-page .nav-kart-user-meta {
        display: none;
    }
}

/* ===================== MOBILE NAV (hamburger + drawer) ===================== */
.nav-brand-cluster {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.nav-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.nav-menu-btn:hover {
    background: var(--bg3);
    color: var(--white);
}
body.nav-drawer-open {
    overflow: hidden;
    touch-action: none;
}
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 1900;
    visibility: hidden;
    pointer-events: none;
}
.nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}
.nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-drawer.is-open .nav-drawer__backdrop {
    opacity: 1;
}
.nav-drawer__panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(100% - 40px, 320px);
    max-width: 92vw;
    background: var(--card);
    border-right: 1px solid var(--border);
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.is-open .nav-drawer__panel {
    transform: translateX(0);
}
.nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(16px, env(safe-area-inset-top)) 16px 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.nav-drawer__title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.nav-drawer__close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--bg3);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.nav-drawer__close:hover {
    background: var(--primary);
    color: var(--white);
}
.nav-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px max(24px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
}
.nav-drawer__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--bg3);
    border: 1px solid var(--border);
    margin-bottom: 14px;
}
.nav-drawer__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav-drawer__user-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.nav-drawer__user-text strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-drawer__user-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-drawer__guest-lead {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0 0 14px;
}
.nav-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.nav-drawer__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}
.nav-drawer__btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}
.nav-drawer__btn--primary {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.45);
    color: var(--primary-light);
}
.nav-drawer__btn--primary:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}
.nav-drawer__btn--ghost {
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
}
.nav-drawer__section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 4px 0 10px;
}
.nav-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-drawer__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.nav-drawer__links a:hover {
    background: var(--bg3);
    color: var(--white);
}
.nav-drawer__badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 99px;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===================== SEARCH OVERLAY ===================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
    background: rgba(6, 6, 14, 0.88);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.38s;
}
.search-overlay.open {
    opacity: 1;
    visibility: visible;
}
.search-overlay__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 42% at 18% 28%, rgba(139, 92, 246, 0.35), transparent 58%),
        radial-gradient(ellipse 48% 40% at 88% 72%, rgba(236, 72, 153, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(245, 158, 11, 0.08), transparent 45%);
    opacity: 0.85;
}
.search-close {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    background: rgba(20, 20, 42, 0.65);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--text);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.search-close svg {
    pointer-events: none;
}
.search-close:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 12px 36px rgba(139, 92, 246, 0.35);
}
.search-close:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}
.search-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 560px;
    transform: translateY(14px) scale(0.98);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
        opacity 0.4s ease;
}
.search-overlay.open .search-inner {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.05s;
}
.search-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.65rem;
    opacity: 0.95;
}
.search-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    background: linear-gradient(120deg, #f8fafc 0%, #e9d5ff 35%, #fbcfe8 70%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}
.search-lead {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 420px;
    margin: 0 auto 1.75rem;
}
.search-panel {
    text-align: left;
    background: linear-gradient(155deg, rgba(22, 22, 46, 0.92) 0%, rgba(14, 14, 30, 0.88) 100%);
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: var(--radius-xl);
    padding: 1.15rem 1.15rem 1rem;
    margin-bottom: 1.75rem;
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.search-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0.35rem 0.35rem 0.35rem 1.1rem;
    background: rgba(8, 8, 20, 0.55);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 999px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    cursor: text;
}
.search-box:focus-within {
    border-color: rgba(196, 181, 253, 0.65);
    background: rgba(12, 12, 28, 0.75);
    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.22),
        0 12px 40px rgba(139, 92, 246, 0.12);
}
.search-box__icon {
    display: flex;
    color: var(--primary-light);
    opacity: 0.9;
    flex-shrink: 0;
}
.search-box__icon svg {
    display: block;
}
.search-box input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--text);
    padding: 0.85rem 0.5rem 0.85rem 0;
    -webkit-appearance: none;
    appearance: none;
}
.search-box input::placeholder {
    color: var(--text-dim);
}
.search-box input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    margin-right: 6px;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.85;
}
.search-hint {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    color: var(--text-dim);
}
.search-hint kbd {
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--primary-light);
    margin-right: 0.45rem;
}
.search-hint__text {
    color: var(--text-muted);
}
.search-hint__mobile {
    display: none;
    color: var(--text-muted);
}
@media (max-width: 520px) {
    .search-hint__desktop {
        display: none;
    }
    .search-hint__mobile {
        display: block;
        text-align: center;
    }
}

/* Live search results (under search field, inside panel) */
.search-live-results {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    text-align: left;
    max-height: min(42vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.45) transparent;
}
.search-live-results::-webkit-scrollbar {
    width: 6px;
}
.search-live-results::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.35);
    border-radius: 99px;
}
.search-live-results__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.search-live-results__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.search-live-results__count {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-light);
    white-space: nowrap;
}
.search-live-results__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.search-live-hit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    background: rgba(8, 8, 20, 0.35);
    border: 1px solid transparent;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}
.search-live-hit:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(196, 181, 253, 0.35);
    /* transform: translateX(2px); */
}
.search-live-hit:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}
.search-live-hit__thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg3);
}
.search-live-hit__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.search-live-hit__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-live-hit__name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-live-hit__meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.search-live-results__foot {
    margin-top: 0.65rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(139, 92, 246, 0.2);
}
.search-live-results__more {
    font-size: 0.78rem;
    color: var(--text-dim);
}
.search-live-results__empty {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    padding: 0.35rem 0;
}

.search-tags-block {
    text-align: center;
}
.search-tags-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.85rem;
}
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.tag {
    display: inline-flex;
    align-items: center;
    font: inherit;
    background: rgba(20, 20, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text);
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.tag:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.45), rgba(236, 72, 153, 0.28));
    border-color: rgba(196, 181, 253, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.2);
}
.tag:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* ===================== INDEX OFFER POPUP ===================== */
body.offer-popup-open {
    overflow: hidden;
}

.offer-popup {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.45s;
}
.offer-popup.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
.offer-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 12, 0.56);
    backdrop-filter: blur(12px) saturate(118%);
    -webkit-backdrop-filter: blur(12px) saturate(118%);
    cursor: pointer;
}
.offer-popup__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 452px;
    transform: translateY(22px) scale(0.94);
    opacity: 0;
    transition:
        transform 0.55s cubic-bezier(0.34, 1.15, 0.64, 1),
        opacity 0.45s ease;
}
.offer-popup.is-open .offer-popup__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.06s;
}
.offer-popup__glow {
    position: absolute;
    inset: -40%;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.45), transparent 42%),
        radial-gradient(circle at 78% 80%, rgba(236, 72, 153, 0.32), transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.12), transparent 55%);
    filter: blur(36px);
    opacity: 0.85;
    animation: offerPopupGlow 8s ease-in-out infinite alternate;
}
@keyframes offerPopupGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.08) translate(4%, -3%);
        opacity: 0.95;
    }
}
.offer-popup__frame {
    position: relative;
    text-align: center;
    padding: 2.35rem 1.75rem 1.85rem;
    border-radius: calc(var(--radius-xl) + 4px);
    background:
        linear-gradient(165deg, rgba(33, 32, 58, 0.95) 0%, rgba(18, 18, 36, 0.94) 48%, rgba(24, 20, 44, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.25) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 40px 80px rgba(0, 0, 0, 0.55),
        0 0 120px rgba(139, 92, 246, 0.12);
    overflow: hidden;
}
.offer-popup__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(196, 181, 253, 0.65) 0%,
        rgba(236, 72, 153, 0.35) 38%,
        rgba(245, 158, 11, 0.45) 72%,
        rgba(139, 92, 246, 0.4) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.85;
}
.offer-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 8, 24, 0.65);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}
.offer-popup__close:hover {
    background: rgba(139, 92, 246, 0.35);
    border-color: rgba(196, 181, 253, 0.45);
    color: var(--white);
    transform: scale(1.06);
}
.offer-popup__close:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}
.offer-popup__ribbon {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    z-index: 2;
    pointer-events: none;
}
.offer-popup__ribbon-text {
    display: inline-block;
    padding: 0.35rem 1.15rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1a0a2e;
    background: linear-gradient(90deg, #fde68a, #fcd34d, #fbbf24);
    border-radius: 999px;
    box-shadow:
        0 4px 20px rgba(245, 158, 11, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}
.offer-popup__eyebrow {
    position: relative;
    z-index: 1;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin: 1.85rem 0 0.65rem;
    opacity: 0.95;
}
.offer-popup__title {
    position: relative;
    z-index: 1;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.65rem, 4.8vw, 2.15rem);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 0.85rem;
    background: linear-gradient(118deg, #ffffff 0%, #f2e8ff 28%, #fbcfe8 62%, #fde68a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 20px rgba(15, 23, 42, 0.42));
}
.offer-popup__lead {
    position: relative;
    z-index: 1;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0 auto 1.35rem;
    max-width: 340px;
}
.offer-popup__perks {
    position: relative;
    z-index: 1;
    text-align: left;
    list-style: none;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1rem;
    max-width: 340px;
    border-radius: var(--radius);
    background: rgba(8, 8, 20, 0.38);
    border: 1px solid rgba(139, 92, 246, 0.24);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.offer-popup__perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: #eef2ff;
    line-height: 1.45;
    padding: 0.35rem 0;
}
.offer-popup__perks li + li {
    border-top: 1px dashed rgba(139, 92, 246, 0.15);
}
.offer-popup__perk-icon {
    flex-shrink: 0;
    margin-top: 0.08rem;
    font-size: 0.65rem;
    color: var(--accent);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}
.offer-popup__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
}
.offer-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0f0818;
    text-decoration: none;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 40%, #ec4899 100%);
    box-shadow:
        0 12px 36px rgba(245, 158, 11, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}
.offer-popup__cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
        0 16px 44px rgba(236, 72, 153, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}
.offer-popup__cta:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}
.offer-popup__dismiss {
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
    background: transparent;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    transition: color 0.2s ease;
}
.offer-popup__dismiss:hover {
    color: var(--text-muted);
}
.offer-popup__dismiss:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .offer-popup,
    .offer-popup__dialog,
    .offer-popup__glow {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

:root[data-theme="light"] .offer-popup__backdrop {
    background: rgba(15, 23, 42, 0.34);
}
:root[data-theme="light"] .offer-popup__frame {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.12) inset,
        0 40px 80px rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .offer-popup__lead {
    color: #475569;
}
:root[data-theme="light"] .offer-popup__title {
    background: linear-gradient(118deg, #0f172a 0%, #4338ca 34%, #be185d 68%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 8px rgba(15, 23, 42, 0.16));
}
:root[data-theme="light"] .offer-popup__perks {
    background: rgba(241, 245, 249, 0.96);
    border-color: rgba(139, 92, 246, 0.15);
}
:root[data-theme="light"] .offer-popup__perks li {
    color: #0f172a;
}
:root[data-theme="light"] .offer-popup__close {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.1);
    color: #64748b;
}

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow-x: clip;
    padding: 200px 24px 60px;
    max-width: 1440px;
    margin: 0 auto;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    contain: paint;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
}
.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: blobMove1 8s ease-in-out infinite;
}
.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent2);
    bottom: -100px;
    right: 200px;
    animation: blobMove2 10s ease-in-out infinite;
}
.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation: blobMove3 12s ease-in-out infinite;
}
@keyframes blobMove1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 40px) scale(1.1);
    }
}
@keyframes blobMove2 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-40px, -60px) scale(1.15);
    }
}
@keyframes blobMove3 {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-40%, -60%) scale(0.9);
    }
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 580px;
}
.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: glow 2s ease-in-out infinite;
}
@keyframes glow {
    0%,
    100% {
        box-shadow: none;
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}
.hero-title em {
    font-style: italic;
    font-family: "Playfair Display", serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    color: #fff!important;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-arrow {
    transition: transform var(--transition);
}
.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 28px;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(139, 92, 246, 0.08);
}

.full-width {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 500px;
}
.product-showcase {
    position: relative;
    width: 100%;
    max-width: 460px;
}
.showcase-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}
.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
}
.card-main {
    padding: 32px;
    animation: cardFloat 4s ease-in-out infinite;
}
@keyframes cardFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
.card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}
.product-img-wrap {
    margin-bottom: 20px;
}
.product-img-placeholder {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.main-product {
    background: linear-gradient(135deg, var(--bg2), var(--bg3));
}
.emoji-product {
    font-size: 5rem;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
}
.product-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
.showcase-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.showcase-tag {
    display: inline-block;
    width: fit-content;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 600;
}
.showcase-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}
.showcase-price {
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-new {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-light);
}
.price-old {
    font-size: 0.95rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

/* Clickable showcase card */
.showcase-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}
.showcase-view-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 4px;
    opacity: 0;
    transform: translateY(4px);
    transition: all var(--transition);
}
.showcase-link:hover .showcase-view-btn {
    opacity: 1;
    transform: translateY(0);
}
.showcase-link:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35) !important;
}

.card-mini {
    position: absolute;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card-mini span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}
.card-mini strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}
.card-mini-1 {
    top: 20px;
    right: -20px;
    animation: cardFloat 5s ease-in-out infinite;
    animation-delay: 1s;
}
.card-mini-2 {
    bottom: 60px;
    left: -20px;
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: 2s;
}
.mini-emoji {
    font-size: 1.6rem;
}

.floating-badge {
    position: absolute;
    padding: 8px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.badge-discount {
    background: var(--gradient);
    color: white;
    top: -10px;
    left: 20px;
    animation: badgeFloat 3s ease-in-out infinite;
}
.badge-free {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    bottom: 160px;
    right: -10px;
    animation: badgeFloat 4s ease-in-out infinite;
    animation-delay: 1.5s;
}
@keyframes badgeFloat {
    0%,
    100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(3deg) translateY(-5px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-dim);
    animation: fadeUpDown 2s ease-in-out infinite;
}
.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: dotBounce 2s ease-in-out infinite;
}
@keyframes fadeUpDown {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}
@keyframes dotBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

/* ===================== ANIMATION CLASSES ===================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.animate-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.animate-fade-up.visible,
.animate-slide-right.visible {
    opacity: 1;
    transform: none;
}
.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.2s;
}
.delay-3 {
    transition-delay: 0.35s;
}
.delay-4 {
    transition-delay: 0.5s;
}

/* Section commons */
section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid var(--border);
    color: var(--primary-light);
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ===================== MARQUEE STRIP ===================== */
.categories-strip {
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}
.strip-track {
    display: flex;
    gap: 0;
    animation: marquee 25s linear infinite;
    width: max-content;
}
.strip-item {
    padding: 10px 36px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    border-right: 1px solid var(--border);
    transition: color var(--transition);
}
.strip-item:hover {
    color: var(--primary-light);
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===================== CYBER PROMO (light banner, HTML/CSS) ===================== */
.cyber-promo {
    padding: clamp(20px, 4vw, 36px) 0 clamp(10px, 2vw, 20px);
    background: var(--bg2);
}
.cyber-promo__card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    background: linear-gradient(105deg, #9ec0e6 0%, #b9c9ef 38%, #c9b8ea 100%);
}
.cyber-promo__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cyber-promo__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.92;
}
.cyber-promo__blob--peach {
    width: min(320px, 55vw);
    height: min(320px, 55vw);
    left: -6%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle at 40% 40%, #fff5e8 0%, #f0dcc8 55%, rgba(240, 220, 200, 0.4) 100%);
}
.cyber-promo__blob--violet {
    width: min(300px, 50vw);
    height: min(300px, 50vw);
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle at 50% 45%, #c4a6ff 0%, #8b5cf6 50%, rgba(124, 58, 237, 0.35) 100%);
    opacity: 0.75;
}
.cyber-promo__noise {
    position: absolute;
    inset: 0;
    opacity: 0.11;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cyber-promo__row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 3vw, 40px);
    min-height: clamp(200px, 22vw, 260px);
    padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 48px);
}
.cyber-promo__visual {
    flex: 0 0 auto;
    width: min(200px, 26vw);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cyber-promo__visual--right {
    width: min(220px, 28vw);
}
.cyber-promo__product {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cyber-promo__product--phones {
    transform: rotate(-12deg) translateX(-4%);
    filter: drop-shadow(12px 18px 28px rgba(15, 39, 68, 0.22));
}
.cyber-promo__emoji {
    font-size: clamp(4.5rem, 14vw, 7.25rem);
    line-height: 1;
}
.cyber-promo__product--tablet {
    transform: rotate(12deg) translate(4%, -2%);
    width: clamp(100px, 16vw, 140px);
    height: clamp(128px, 20vw, 172px);
    flex-direction: column;
    align-items: stretch;
    filter: drop-shadow(14px 20px 32px rgba(15, 39, 68, 0.25));
}
.cyber-promo__tablet-screen {
    flex: 1;
    border-radius: 10px 10px 4px 4px;
    border: 3px solid #1a1d24;
    background: linear-gradient(145deg, #d4a574 0%, #8b5a2b 35%, #3d2918 70%, #1f1410 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.cyber-promo__tablet-kb {
    height: clamp(36px, 5.5vw, 48px);
    margin-top: 3px;
    border-radius: 4px 4px 8px 8px;
    background: linear-gradient(180deg, #2a2d35 0%, #12141a 100%);
    border: 2px solid #1a1d24;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 6px 14px rgba(0, 0, 0, 0.35);
    position: relative;
}
.cyber-promo__tablet-kb::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7px;
    transform: translateX(-50%);
    width: 28%;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}
.cyber-promo__copy {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
    max-width: 420px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.cyber-promo__title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.65rem, 4.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f2744;
    line-height: 1.15;
    margin: 0;
}
.cyber-promo__discount {
    margin: 0.15rem 0 0;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35em 0.45em;
}
.cyber-promo__discount-muted {
    color: #3b6fb8;
}
.cyber-promo__discount-num {
    color: #1d56d8;
    font-size: 1.12em;
    letter-spacing: 0.02em;
}
.cyber-promo__cats {
    margin: 0.4rem 0 0.85rem;
    font-size: clamp(0.62rem, 1.5vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f2744;
}
.cyber-promo__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: #2b59ce;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(43, 89, 206, 0.45);
    transition:
        transform var(--transition),
        background 0.2s ease,
        box-shadow 0.2s ease;
}
.cyber-promo__cta:hover {
    background: #244bb3;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(43, 89, 206, 0.5);
}
.cyber-promo__cta:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 6px rgba(43, 89, 206, 0.85);
}
.cyber-promo__cta-plus {
    font-weight: 500;
    margin-left: 0.15em;
    opacity: 0.95;
}
@media (max-width: 720px) {
    .cyber-promo__row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        min-height: unset;
        padding: 28px 20px 32px;
        gap: 18px 20px;
    }
    .cyber-promo__copy {
        grid-column: 1 / -1;
        max-width: none;
    }
    .cyber-promo__visual {
        width: auto;
    }
    .cyber-promo__visual--left {
        justify-self: end;
        padding-right: 6px;
    }
    .cyber-promo__visual--right {
        justify-self: start;
        padding-left: 6px;
    }
    .cyber-promo__emoji {
        font-size: clamp(3.5rem, 18vw, 4.5rem);
    }
    .cyber-promo__product--phones {
        transform: rotate(-8deg);
    }
    .cyber-promo__product--tablet {
        transform: rotate(8deg);
        width: 100px;
        height: 128px;
    }
    .cyber-promo__blob--peach {
        left: -20%;
        opacity: 0.65;
    }
    .cyber-promo__blob--violet {
        right: -18%;
        opacity: 0.55;
    }
}
@media (min-width: 721px) {
    .cyber-promo__visual--left {
        justify-content: flex-start;
    }
    .cyber-promo__visual--right {
        justify-content: flex-end;
    }
}

/* ===================== COLLECTIONS ===================== */
.collections {
    background: var(--bg2);
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 22px;
}
.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(180deg, rgba(248, 245, 255, 0.92), rgba(233, 236, 255, 0.86));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 16px 34px rgba(17, 24, 39, 0.22);
    min-height: 200px;
    isolation: isolate;
}
.collection-card.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 440px;
}
.collection-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.55), transparent 35%, transparent 70%, rgba(196, 181, 253, 0.32));
    opacity: 0.78;
    pointer-events: none;
    z-index: 1;
}
.collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(139, 92, 246, 0.32);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 3;
}
.collection-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 20px 44px rgba(76, 29, 149, 0.28);
}
.collection-card:hover::after {
    opacity: 1;
}
.col-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(140deg, rgba(196, 181, 253, 0.75), rgba(224, 231, 255, 0.58));
    z-index: 0;
}
.collection-card:nth-child(1) .col-bg {
    background: linear-gradient(140deg, rgba(196, 181, 253, 0.88) 0%, rgba(244, 114, 182, 0.72) 52%, rgba(226, 232, 240, 0.66) 100%);
}
.collection-card:nth-child(2) .col-bg {
    background: linear-gradient(140deg, rgba(165, 180, 252, 0.86) 0%, rgba(125, 211, 252, 0.7) 58%, rgba(224, 231, 255, 0.66) 100%);
}
.collection-card:nth-child(3) .col-bg {
    background: linear-gradient(140deg, rgba(244, 114, 182, 0.82) 0%, rgba(216, 180, 254, 0.68) 54%, rgba(226, 232, 240, 0.66) 100%);
}
.collection-card:nth-child(4) .col-bg {
    background: linear-gradient(140deg, rgba(253, 186, 116, 0.82) 0%, rgba(251, 146, 60, 0.64) 50%, rgba(254, 215, 170, 0.6) 100%);
}
.collection-card:nth-child(5) .col-bg {
    background: linear-gradient(140deg, rgba(244, 114, 182, 0.76) 0%, rgba(147, 197, 253, 0.72) 56%, rgba(224, 231, 255, 0.66) 100%);
}
.col-emoji {
    font-size: 3.5rem;
    animation: emojiFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
    text-shadow: 0 8px 20px rgba(10, 8, 24, 0.5);
    opacity: 0.95;
}
.large .col-emoji {
    font-size: 5rem;
}
@keyframes emojiFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.col-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(0deg, rgba(248, 250, 252, 0.88) 8%, rgba(241, 245, 249, 0.52) 60%, transparent 100%);
    backdrop-filter: blur(4px);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.col-content h3 {
    font-size: 1.32rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.01em;
}
.large .col-content h3 {
    font-size: 1.8rem;
}
.col-content p {
    font-size: 0.86rem;
    color: rgba(30, 41, 59, 0.88);
    margin: 6px 0 2px;
    letter-spacing: 0.01em;
}
.col-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.42);
    background: rgba(255, 255, 255, 0.74);
    letter-spacing: 0.02em;
    transition:
        gap var(--transition),
        border-color var(--transition),
        background var(--transition);
}
.col-link:hover {
    gap: 12px;
    border-color: rgba(236, 72, 153, 0.75);
    background: rgba(255, 255, 255, 0.95);
}

/* ===================== PRODUCTS (Trending + shared cards) ===================== */
.trending {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 10vw, 104px) 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% -18%, rgba(236, 72, 153, 0.14), transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 28%, rgba(139, 92, 246, 0.16), transparent 52%),
        radial-gradient(ellipse 50% 40% at 0% 78%, rgba(245, 158, 11, 0.07), transparent 50%),
        linear-gradient(180deg, #0a0a16 0%, var(--bg) 40%, #06060f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.trending-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.trending-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.trending-bg__blob--1 {
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    top: -12%;
    right: -8%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.38) 0%, transparent 68%);
}
.trending-bg__blob--2 {
    width: min(360px, 80vw);
    height: min(360px, 80vw);
    bottom: 5%;
    left: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 68%);
}
.trending-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 48%, transparent 88%);
    opacity: 0.5;
}
.trending-container {
    position: relative;
    z-index: 1;
}
.trending .section-header {
    margin-bottom: 28px;
}
.trending .section-badge {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(139, 92, 246, 0.12));
    border-color: rgba(236, 72, 153, 0.38);
    box-shadow: 0 4px 28px rgba(236, 72, 153, 0.1);
}
.trending .section-title {
    margin-bottom: 10px;
}
.trending .section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 99px;
    background: var(--gradient);
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.45);
}
.trending .section-subtitle {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}
.filter-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding: 10px 12px;
    max-width: min(720px, 100%);
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 12px 40px rgba(2, 6, 23, 0.35);
}
.filter-btn {
    padding: 10px 20px;
    border-radius: 99px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform 0.2s ease;
}
.filter-btn:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.35);
    color: var(--text);
}
.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.35);
}
.filter-btn.active:hover {
    color: #ffffff;
    transform: translateY(-1px);
}
.product-list-page .product-list-catalog .section-header,
.product-list-page .product-list-catalog .filter-tabs {
    display: none;
}
.product-list-page-inner {
    display: grid;
    grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.product-list-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.product-list-toolbar {
    display: none;
    align-items: center;
    gap: 10px;
}
.product-filters__mobile-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(196, 181, 253, 0.22);
}
.product-filters__mobile-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #e8edff;
    letter-spacing: 0.02em;
}
.product-filters__close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(196, 181, 253, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}
.product-filters__close-btn:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fecaca;
}
.product-filters-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(196, 181, 253, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.25);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}
.product-filters-open-btn:hover {
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(139, 92, 246, 0.45);
    transform: translateY(-1px);
}
.product-filters-open-btn__icon {
    flex-shrink: 0;
    color: var(--primary-light);
}
.product-list-filters-overlay {
    display: none;
}
.product-filters {
    position: sticky;
    top: 0;
}
.product-filters__card {
    border-radius: 22px;
    background:
        linear-gradient(165deg, rgba(27, 28, 52, 0.98) 0%, rgba(17, 18, 34, 0.98) 100%);
    padding: 20px 16px 16px;
    border: 1px solid rgba(196, 181, 253, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(139, 92, 246, 0.08),
        0 20px 44px rgba(2, 6, 23, 0.35);
}
.product-filters__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-filter-group {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(196, 181, 253, 0.16);
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.22s ease;
}
.product-filter-group:hover {
    border-color: rgba(196, 181, 253, 0.3);
    /* box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); */
}
.product-filter-group[open] {
    background:
        linear-gradient(160deg, rgba(139, 92, 246, 0.14) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-color: rgba(196, 181, 253, 0.46);
    /* box-shadow:
        0 14px 28px rgba(76, 29, 149, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset; */
}
.product-filter-group__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 13px 14px;
    color: #e8edff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    user-select: none;
}
.product-filter-group__summary::-webkit-details-marker {
    display: none;
}
.product-filter-group__chevron {
    display: inline-flex;
    width: 33px;
    height: 33px;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    color: #8a8fb0;
    background: #eceaf4;
    border: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 8px rgba(15, 23, 42, 0.1);
    transform: rotate(0deg);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}
.product-filter-group__chevron svg {
    width: 16px;
    height: 16px;
}
.product-filter-group[open] .product-filter-group__chevron {
    transform: rotate(180deg);
    background: #f6f5fc;
    color: #667085;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 4px 12px rgba(15, 23, 42, 0.12);
}
.product-filter-group__panel {
    padding: 2px 12px 12px;
    display: grid;
    gap: 6px;
}
.product-filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    color: #e2e8f0;
    padding: 7px 8px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}
.product-filter-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.product-filter-option input {
    accent-color: #f97316;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.product-filters__apply {
    margin-top: 10px;
    border: none;
    border-radius: 999px;
    min-height: 50px;
    padding: 0 18px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 45%, #ea580c 100%);
    box-shadow:
        0 10px 24px rgba(249, 115, 22, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.product-filters__apply:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow:
        0 14px 30px rgba(249, 115, 22, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.24) inset;
}
.product-filters__apply:focus-visible {
    outline: 2px solid #fdba74;
    outline-offset: 2px;
}
.trending .products-grid {
    gap: 22px;
}
.trending .product-card {
    background: linear-gradient(165deg, #191932 0%, var(--card) 52%, #16162c 100%);
    border-color: rgba(139, 92, 246, 0.22);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.products-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1.25rem;
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-xl);
    color: var(--muted);
}
.products-grid-empty p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text);
}
.products-grid-empty-hint {
    margin-top: 0.5rem !important;
    font-size: 0.9rem !important;
    color: var(--muted) !important;
}
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
    border-color: var(--primary);
}
.product-card:hover .product-card-img .card-emoji {
    transform: scale(1.1) rotate(5deg);
}
.product-card:hover .add-cart-btn,
.product-card:hover .view-product-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-card-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg3);
    position: relative;
    overflow: hidden;
}
.card-emoji {
    width: 86%;
    height: 86%;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
    transition: all var(--transition);
}
.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent2);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
}
.product-card-badge.new {
    background: #10b981;
}
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.wishlist-btn svg {
    display: block;
}
.wishlist-btn:hover,
.wishlist-btn.active {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent2);
    border-color: var(--accent2);
}

.product-card-body {
    padding: 18px;
}
.product-card-category {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.product-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}
.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.product-card-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.price-cur {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-light);
}
.price-orig {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: line-through;
}
.product-card-rating {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.product-card-rating span {
    color: var(--accent);
}

.add-cart-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    border: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 1;
    transform: translateY(0);
}
.product-card-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.product-card-actions .add-cart-btn {
    margin-top: 0;
}
.add-cart-btn--icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 10px 12px;
}
.add-cart-btn--icon-only .add-cart-btn__icon {
    display: block;
    flex-shrink: 0;
}
.add-cart-btn.is-disabled,
.add-cart-btn:disabled {
    background: rgba(148, 163, 184, 0.35);
    color: rgba(248, 250, 252, 0.92);
    opacity: 0.75;
    transform: none;
}
.view-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.08);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 1;
    transform: translateY(0);
}
.view-product-btn:hover {
    border-color: var(--primary);
    color: var(--white);
    background: rgba(139, 92, 246, 0.22);
}

/* ===================== FLASH DEALS (premium) ===================== */
.flash-deals {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 9vw, 96px) 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 4, 12, 0.93) 0%,
            rgba(5, 5, 16, 0.72) 28%,
            rgba(5, 5, 16, 0.35) 48%,
            rgba(5, 5, 16, 0.08) 62%,
            transparent 76%
        ),
        radial-gradient(ellipse 90% 100% at 14% 48%, rgba(139, 92, 246, 0.26), transparent 58%),
        radial-gradient(ellipse 55% 70% at 22% 28%, rgba(236, 72, 153, 0.12), transparent 55%),
        url("../images/flash-deals-bg.jpg") center center / cover no-repeat,
        linear-gradient(180deg, #07070f 0%, var(--bg2) 42%, #06060d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.deals-stage {
    position: relative;
    z-index: 1;
}
.deals-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.deals-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.deals-blob--1 {
    bottom: -18%;
    right: -8%;
    width: min(520px, 90vw);
    height: min(520px, 90vw);
    background: #7c3aed;
    opacity: 0.03;
}
.deals-blob--2 {
    top: -25%;
    left: -15%;
    width: min(420px, 75vw);
    height: min(420px, 75vw);
    background: #ec4899;
    opacity: 0.1;
}
.deals-noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}
.deals-inner {
    display: block;
    max-width: 42rem;
    position: relative;
}
.deals-text {
    min-width: 0;
}
.deals-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #fef3c7;
    background: linear-gradient(
        135deg,
        rgba(91, 33, 182, 0.42) 0%,
        rgba(124, 58, 237, 0.28) 45%,
        rgba(219, 39, 119, 0.2) 100%
    );
    border: 1px solid rgba(167, 139, 250, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(15, 23, 42, 0.35);
}
.deals-badge__pulse {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f472b6;
    box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.55);
    animation: dealsLivePulse 2.2s ease-out infinite;
}
@keyframes dealsLivePulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.55);
    }
    55% {
        box-shadow: 0 0 0 10px rgba(244, 114, 182, 0);
    }
}
@keyframes dealsLivePulseLight {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(219, 39, 119, 0.42);
    }
    55% {
        box-shadow: 0 0 0 10px rgba(219, 39, 119, 0);
    }
}
.deals-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-dim);
    margin: 0 0 12px;
}
.deals-headline {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.35rem, 5.5vw, 3.35rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--white);
    margin: 0 0 16px;
}
.deals-highlight {
    background: linear-gradient(120deg, #fde68a 0%, #f59e0b 38%, #f472b6 72%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.deals-lead {
    max-width: 34em;
    margin: 0 0 22px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.countdown-label {
    margin: 0 0 10px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dim);
}
.countdown {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 14px);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.time-block span {
    width: clamp(68px, 16vw, 84px);
    height: clamp(68px, 16vw, 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: clamp(1.45rem, 4.2vw, 2rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    color: #fafafa;
    background: linear-gradient(165deg, rgba(36, 36, 62, 0.95) 0%, rgba(16, 16, 34, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 14px 36px rgba(0, 0, 0, 0.45);
}
.time-block label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.time-sep {
    align-self: center;
    margin-top: -18px;
    font-size: 1.35rem;
    font-weight: 300;
    color: rgba(196, 181, 253, 0.45);
    line-height: 1;
}
.deals-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px !important;
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
}
.deals-cta__arrow {
    display: inline-flex;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.deals-cta:hover .deals-cta__arrow {
    transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
    .deals-badge__pulse {
        animation: none;
        box-shadow: none;
    }
    .deals-cta__arrow,
    .deals-cta:hover .deals-cta__arrow {
        transition: none;
        transform: none;
    }
}

/* ===================== BRANDS ===================== */
.brands {
    position: relative;
    padding: clamp(52px, 8vw, 96px) 0;
    background: var(--bg);
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.brands__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 50% -20%, rgba(139, 92, 246, 0.14), transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 40%, rgba(236, 72, 153, 0.07), transparent 52%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(59, 130, 246, 0.06), transparent 50%);
    opacity: 0.95;
}
.brands__glow {
    position: absolute;
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.35;
}
.brands__glow--1 {
    top: -18%;
    right: -12%;
    background: rgba(139, 92, 246, 0.45);
}
.brands__glow--2 {
    bottom: -25%;
    left: -15%;
    background: rgba(59, 130, 246, 0.28);
}
.brands__container {
    position: relative;
    z-index: 1;
}
.brands__header {
    text-align: center;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(32px, 5vw, 52px);
}
.brands__lead {
    margin-top: 0.65rem;
    margin-bottom: 0;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    color: var(--text-dim);
    opacity: 0.92;
}
.brands__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 24px);
    max-width: 1040px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}
.brand-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding: clamp(22px, 3vw, 30px) clamp(18px, 2.5vw, 26px);
    box-sizing: border-box;
    border-radius: calc(var(--radius) + 6px);
    color: var(--text-muted);
    background: color-mix(in srgb, var(--card) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 20px 48px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.4s ease,
        color 0.3s ease;
    cursor: pointer;
    isolation: isolate;
}
:root:not([data-theme="light"]) .brand-logo {
    color: #e2e8f0;
}
:root[data-theme="light"] .brand-logo {
    color: var(--text-dim);
    background: linear-gradient(165deg, #ffffff 0%, color-mix(in srgb, var(--card) 96%, #f8fafc) 100%);
    border-color: color-mix(in srgb, var(--border) 70%, #e2e8f0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 44px rgba(15, 23, 42, 0.07);
}
.brand-logo__surface {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(236, 72, 153, 0.06) 45%,
        transparent 70%
    );
}
.brand-logo__img {
    position: relative;
    z-index: 1;
    display: block;
    height: clamp(30px, 3.6vw, 40px);
    width: auto;
    max-width: min(152px, 100%);
    object-fit: contain;
    object-position: center;
    opacity: 1;
    transform: translateZ(0);
    transition:
        opacity 0.35s ease,
        filter 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
:root:not([data-theme="light"]) .brand-logo__img {
    opacity: 1;
    filter: brightness(1.12) contrast(1.08);
}
:root[data-theme="light"] .brand-logo__img {
    opacity: 0.88;
    filter: grayscale(0.15) contrast(1.05);
}
.brand-logo:hover {
    border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
    color: var(--primary);
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 28px 56px rgba(139, 92, 246, 0.18),
        0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent);
}
:root[data-theme="light"] .brand-logo:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 24px 48px rgba(139, 92, 246, 0.12),
        0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
}
.brand-logo:hover .brand-logo__surface {
    opacity: 1;
}
.brand-logo:hover .brand-logo__img {
    opacity: 1;
    filter: brightness(1.12) contrast(1.12);
    transform: scale(1.08);
}
:root[data-theme="light"] .brand-logo:hover .brand-logo__img {
    filter: grayscale(0) contrast(1.1);
}
:root:not([data-theme="light"]) .brand-logo:hover .brand-logo__img {
    filter: brightness(1.2) contrast(1.1);
}
@media (prefers-reduced-motion: reduce) {
    .brand-logo,
    .brand-logo__img,
    .brand-logo__surface {
        transition: none;
    }
    .brand-logo:hover {
        transform: none;
    }
    .brand-logo:hover .brand-logo__img {
        transform: none;
    }
}
@media (max-width: 1024px) {
    .brands__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 560px;
        gap: 14px;
    }
    .brand-logo {
        min-height: 96px;
        padding: 20px 16px;
    }
    .brand-logo__img {
        height: clamp(28px, 4.5vw, 36px);
        max-width: min(140px, 92%);
    }
}
@media (max-width: 480px) {
    .brands__grid {
        gap: 10px;
        max-width: none;
    }
    .brand-logo {
        min-height: 84px;
        padding: 16px 12px;
        border-radius: calc(var(--radius) + 2px);
    }
    .brand-logo__img {
        height: 26px;
        max-width: min(120px, 90%);
    }
    .brands__lead {
        font-size: 0.95rem;
    }
}

/* ===================== FEATURES STRIP (two-tone cards; theme via --feature-* vars) ===================== */
.features-strip {
    position: relative;
    padding: clamp(28px, 4vw, 40px) 0;
    background: var(--feature-strip-bg);
    border-top: 1px solid var(--feature-strip-border);
    border-bottom: 1px solid var(--feature-strip-border);
}
.features-strip__container {
    position: relative;
}
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(14px, 2vw, 20px);
    justify-content: space-between;
}
@media (min-width: 1025px) {
    .features-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: initial;
    }
}
@media (max-width: 1024px) {
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
.feature-card {
    flex: 1 1 calc(25% - 16px);
    min-width: min(100%, 200px);
    cursor: pointer;
}
.feature-card__inner {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 72px;
}
.feature-icon-wrap {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    margin-right: -45px;
    padding: 8px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: var(--feature-icon-shadow);
}
.feature-icon-svg {
    display: block;
    flex-shrink: 0;
}
.feature-panel {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    padding: 25px 20px 25px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--feature-panel-border);
    box-shadow: var(--feature-panel-shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.feature-card:hover .feature-panel {
    box-shadow: var(--feature-panel-shadow-hover);
    transform: translateY(-1px);
}
.feature-title {
    display: block;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--feature-title-color);
    line-height: 1.25;
}
.feature-desc {
    display: block;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--feature-desc-color);
}
.feature-card--orange .feature-icon-wrap {
    background: #f97316;
}
.feature-card--orange .feature-panel {
    background: var(--feature-orange-panel);
}
.feature-card--cyan .feature-icon-wrap {
    background: #0ea5e9;
}
.feature-card--cyan .feature-panel {
    background: var(--feature-cyan-panel);
}
.feature-card--lime .feature-icon-wrap {
    background: #22c55e;
}
.feature-card--lime .feature-panel {
    background: var(--feature-lime-panel);
}
.feature-card--teal .feature-icon-wrap {
    background: #0d9488;
}
.feature-card--teal .feature-panel {
    background: var(--feature-teal-panel);
}
@media (prefers-reduced-motion: reduce) {
    .feature-card:hover .feature-panel {
        transform: none;
        transition: none;
    }
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
    background: var(--bg);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
}
.testimonial-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--card), rgba(139, 92, 246, 0.08));
    position: relative;
}
.testimonial-card.featured::before {
    content: "\2726";
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary);
    font-size: 1.4rem;
}
.stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 14px;
}
.testimonial-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}
.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}
.reviewer strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}
.reviewer span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===================== NEWSLETTER ===================== */
.newsletter {
    background: var(--bg2);
}
.newsletter-inner {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nl-bg-blob {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.07;
    pointer-events: none;
}
.nl-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
}
.nl-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.nl-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
}
.nl-form {
    display: flex;
    gap: 10px;
}
.nl-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 99px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}
.nl-form input:focus {
    border-color: var(--primary);
}
.nl-form input::placeholder {
    color: var(--text-dim);
}
.nl-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 12px;
    display: block;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--bg);
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}
.footer-logo__img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: pointer;
}
.social-link:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-3px);
}
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-col ul li a:hover {
    color: var(--primary-light);
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
}
.payment-icons {
    display: flex;
    gap: 10px;
}
.pay-icon {
    width: 50px;
    /* height: 28px;
    background: var(--bg3);
    border: 1px solid var(--border); */
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 1.1rem; */
}

/* ===================== CART SIDEBAR ===================== */
.cart-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 380px;
    background: var(--bg2);
    border-left: 1px solid var(--border);
    z-index: 3000;
    padding: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}
.cart-sidebar.open {
    transform: translateX(0);
}
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}
.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}
.cart-header h3 span {
    color: var(--text-muted);
    font-weight: 400;
}
.cart-close {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.cart-close:hover {
    background: var(--primary);
}
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}
.cart-empty {
    text-align: center;
    padding: 60px 0;
}
.cart-empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}
.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 24px;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    position: relative;
}
.cart-item-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}
.cart-item-info {
    flex: 1;
}
.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}
.cart-item-price {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-top: 4px;
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1rem;
    transition: color var(--transition);
}
.cart-item-remove:hover {
    color: var(--accent2);
}
.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cart-total span {
    color: var(--text-muted);
}
.cart-total strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
}
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}
.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ===================== TOAST ===================== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        min-height: 400px;
    }
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .collection-card.large {
        grid-column: auto;
        grid-row: auto;
        min-height: 200px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 768px) {
    /* Decorative blobs: shrink + lighter blur so blur paint bounds don’t widen the page */
    .blob {
        filter: blur(44px);
    }
    .blob-1 {
        width: min(340px, 95vw);
        height: min(340px, 95vw);
        top: -72px;
        left: -72px;
    }
    .blob-2 {
        width: min(300px, 90vw);
        height: min(300px, 90vw);
        bottom: -72px;
        right: -48px;
    }
    .blob-3 {
        width: min(240px, 80vw);
        height: min(240px, 80vw);
    }
    .nav-menu-btn {
        display: inline-flex;
    }
    .nav-container {
        gap: 12px;
        justify-content: space-between;
    }
    .index-page .nav-kart-topbar,
    .index-page .nav-kart-menu-wrap,
    .index-page .nav-kart-search {
        display: none;
    }
    .index-page .nav-kart-main {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .index-page .nav-search-mobile-btn {
        display: inline-flex;
    }
    .nav-breadcrumb {
        display: none;
    }
    [data-nav-mobile="drawer"] {
        display: none !important;
    }
    .nav-links {
        display: none;
    }
    .collections-grid {
        grid-template-columns: 1fr 1fr;
    }
    .products-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-list-page-inner {
        grid-template-columns: 1fr;
    }
    .product-list-page .product-list-toolbar {
        display: flex;
    }
    .product-list-page .product-filters__mobile-head {
        display: flex;
    }
    .product-list-page .product-filters {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(92vw, 340px);
        max-width: 100%;
        z-index: 2600;
        transform: translateX(-105%);
        transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding:
            calc(10px + env(safe-area-inset-top, 0px))
            12px
            calc(12px + env(safe-area-inset-bottom, 0px));
        margin: 0;
        background: var(--bg);
        border-right: 1px solid var(--border);
        box-shadow: none;
    }
    .product-list-page .product-filters.is-open {
        transform: translateX(0);
        box-shadow: 12px 0 48px rgba(0, 0, 0, 0.42);
    }
    .product-list-page .product-filters__card {
        padding: 14px;
    }
    .product-list-page .product-list-filters-overlay:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 2590;
        background: rgba(2, 6, 23, 0.55);
        backdrop-filter: blur(4px);
        -webkit-tap-highlight-color: transparent;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .nl-form {
        flex-direction: column;
    }
    .cart-sidebar {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
    .products-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .newsletter-inner {
        padding: 40px 24px;
    }
    .hero {
        padding: 100px 16px 60px;
    }
}

/* ================================================
   SOURCE: login.css
   ================================================ */

/* ====== PAGE WRAPPER ====== */
.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
}

/* ====== LEFT PANEL ====== */
.left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 52px;
    position: relative;
    overflow: hidden;
}
.left-panel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    width: fit-content;
}
.back-link:hover {
    color: var(--primary-light);
}

/* Duplicate of left-panel back link: visible only when that panel is hidden (mobile) */
.login-back-mobile {
    display: none;
}

.brand {
    margin-top: 40px;
    margin-bottom: 52px;
}
.logo {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    transition: filter var(--transition);
}
.logo:hover {
    filter: brightness(1.2);
}
.brand-tagline {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.left-content {
    flex: 1;
}
.left-title {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}
.left-title em {
    font-style: italic;
    font-family: "Playfair Display", serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.left-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 420px;
    margin-bottom: 44px;
}

/* Perks */
.perks {
    display: flex;
    /* flex-direction: column; */
    gap: 20px;
    margin-bottom: 52px;
}
.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    width: 100%;
}
.perk-item:hover {
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(4px);
}
.perk-icon {
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    background: var(--bg3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.perk-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 3px;
}
.perk-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Floating cards */
.floating-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.f-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.f-card-1 {
    animation: fFloat 4s ease-in-out infinite;
}
.f-card-2 {
    animation: fFloat 5s ease-in-out infinite;
    animation-delay: 1.5s;
}
@keyframes fFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
.f-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}
.f-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 3px;
}
.f-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.f-card s {
    color: var(--text-dim);
    margin-left: 4px;
}
.f-badge {
    margin-left: auto;
    padding: 4px 10px;
    background: var(--gradient);
    color: white;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.left-footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ====== RIGHT PANEL ====== */
.right-panel {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
}

.form-card {
    width: 100%;
    max-width: 420px;
    /* background: rgba(22, 22, 46, 0.8); */
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow), var(--glow);
    position: relative;
    overflow: hidden;
}
.form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
}

/* Tabs */
.auth-tabs {
    display: flex;
    position: relative;
    background: var(--bg3);
    border-radius: 99px;
    padding: 4px;
    margin-bottom: 32px;
}
.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border-radius: 99px;
    position: relative;
    z-index: 1;
    transition: color var(--transition);
}
.auth-tab.active {
    color: var(--white);
}
.tab-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: var(--gradient);
    border-radius: 99px;
    transition: transform var(--transition);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}
.tab-indicator.right {
    transform: translateX(100%);
}

/* Form header */
.form-header {
    margin-bottom: 24px;
}
.form-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}
.form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Social buttons */
.social-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.social-btn:hover {
    border-color: var(--border-hover);
    background: var(--card2);
    transform: translateY(-2px);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.divider span {
    font-size: 0.8rem;
    color: var(--text-dim);
    white-space: nowrap;
}

/* Input group */
.input-group {
    margin-bottom: 18px;
}
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.label-row label {
    margin-bottom: 0;
}

.input-wrap {
    position: relative;
}
.input-wrap input {
    width: 100%;
    padding: 12px 44px 12px 44px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all var(--transition);
}
.input-wrap input::placeholder {
    color: var(--text-dim);
}
.input-wrap input:focus {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
.input-wrap input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.input-wrap input.success {
    border-color: var(--success);
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
    transition: color var(--transition);
}
.input-wrap input:focus ~ .input-icon,
.input-wrap:focus-within .input-icon {
    color: var(--primary);
}

.toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
}
.toggle-pass:hover {
    color: var(--primary);
}

.error-msg {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 6px;
    display: block;
    min-height: 14px;
}

/* Strength meter */
.strength-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity var(--transition);
}
.strength-wrap.visible {
    opacity: 1;
}
.strength-bar {
    flex: 1;
    height: 4px;
    background: var(--bg3);
    border-radius: 99px;
    overflow: hidden;
}
.strength-fill {
    height: 100%;
    border-radius: 99px;
    width: 0;
    transition:
        width 0.4s ease,
        background 0.4s ease;
}
.strength-label {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Remember / checkbox */
.remember-row {
    margin-bottom: 20px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-muted);
    user-select: none;
}
.checkbox-label input {
    display: none;
}
.checkmark {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    background: var(--bg3);
}
.checkbox-label input:checked + .checkmark {
    background: var(--gradient);
    border-color: transparent;
}
.checkbox-label input:checked + .checkmark::after {
    content: "\2713";
    font-size: 0.7rem;
    color: white;
    font-weight: 700;
}
.text-link-inline {
    color: var(--primary-light);
    transition: color var(--transition);
}
.text-link-inline:hover {
    color: var(--accent2);
}

/* Forgot link */
.forgot-link {
    font-size: 0.82rem;
    color: var(--primary-light);
    font-weight: 500;
    transition: color var(--transition);
}
.forgot-link:hover {
    color: var(--accent2);
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 14px 28px;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.submit-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--transition);
}
.submit-btn:hover::before {
    background: rgba(255, 255, 255, 0.08);
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.45);
}
.submit-btn:active {
    transform: translateY(0);
}
.btn-arrow {
    transition: transform var(--transition);
}
.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}
.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    display: none;
    animation: spin 0.7s linear infinite;
}
.btn-loader.visible {
    display: block;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.submit-btn.loading .btn-text {
    opacity: 0.6;
}
.submit-btn.loading .btn-arrow {
    opacity: 0;
}

/* Switch text */
.switch-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.text-link {
    background: none;
    border: none;
    color: var(--primary-light);
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    transition: color var(--transition);
}
.text-link:hover {
    color: var(--accent2);
}

/* Input group error state */
.input-group.has-error label {
    color: var(--danger);
}
.input-group.has-success .input-icon {
    color: var(--success);
}

/* ====== SUCCESS STATE ====== */
.success-content {
    text-align: center;
    padding: 20px 0;
}
.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.success-icon svg {
    color: white;
}
.success-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}
.success-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}
.redirect-bar {
    height: 4px;
    background: var(--bg3);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 24px;
}
.redirect-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 99px;
    width: 0;
    animation: redirectAnim 2.5s ease forwards;
}
@keyframes redirectAnim {
    to {
        width: 100%;
    }
}

/* ====== FORGOT PASSWORD OVERLAY ====== */
.forgot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 22, 46, 0.98);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    padding: 36px;
    animation: slideIn 0.35s ease;
    z-index: 10;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

:root[data-theme="light"] .forgot-overlay {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(139, 92, 246, 0.12),
        0 24px 56px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(12px);
}

:root[data-theme="light"] .forgot-overlay .submit-btn,
:root[data-theme="light"] .forgot-overlay .submit-btn:hover {
    color: #ffffff;
}

.forgot-back {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 24px;
    display: block;
    transition: color var(--transition);
}
.forgot-back:hover {
    color: var(--primary-light);
}
.forgot-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.signup-code-hint {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.45;
}
.signup-code-hint strong {
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 0.08em;
}
.signup-code-input {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* ====== TOAST ====== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ====== ANIMATIONS ====== */
.form-card {
    animation: cardIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.left-panel > * {
    animation: fadeLeft 0.7s ease forwards;
    opacity: 0;
}
.left-panel > *:nth-child(1) {
    animation-delay: 0.1s;
}
.left-panel > *:nth-child(2) {
    animation-delay: 0.2s;
}
.left-panel > *:nth-child(3) {
    animation-delay: 0.3s;
}
.left-panel > *:nth-child(4) {
    animation-delay: 0.4s;
}
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .left-panel {
        display: none;
    }
    .right-panel {
        width: 100%;
        padding: 24px;
        padding-top: max(24px, env(safe-area-inset-top));
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .login-back-mobile {
        display: inline-flex;
        align-self: stretch;
        max-width: 480px;
        margin: 0 auto 20px;
    }
    .form-card {
        max-width: 480px;
        margin: 0 auto;
    }
}
@media (max-width: 480px) {
    .right-panel {
        padding: 16px;
    }
    .form-card {
        padding: 28px 22px;
    }
    .input-row {
        grid-template-columns: 1fr;
    }
    .social-btns {
        flex-direction: column;
    }
}

/* ================================================
   SOURCE: product.css
   ================================================ */

/* ====== MAIN ====== */
.main-content {
    position: relative;
    z-index: 1;
    padding-top: 0;
}
.index-page .main-content {
    padding-top: 154px;
}

/* ====== PRODUCT SECTION ====== */
/*
 * Sticky gallery: root overflow-x (clip/hidden) breaks position:sticky in Chromium.
 * Scope overflow fix to product page only (html/body classes from product.php).
 */
html.product-page-root,
body.page-product {
    overflow-x: visible !important;
}
.product-section {
    padding: 48px 0;
}
.seller-preview-banner {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.12);
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.45;
}
.seller-preview-banner strong {
    color: #f59e0b;
}
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Gallery: outer column fills grid row height so inner sticky has correct scroll range */
.gallery-col {
    min-width: 0;
    position: relative;
    align-self: stretch;
}
.gallery-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: calc(80px + env(safe-area-inset-top, 0px));
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    z-index: 2;
}
.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-sm) - 2px);
}
.thumb:hover {
    border-color: var(--border-hover);
    transform: scale(1.05);
}
.thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

.main-image-wrap {
    flex: 1;
    position: relative;
}
.main-image {
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    transition: border-color var(--transition);
}
.main-image:hover {
    border-color: var(--border-hover);
}
.img-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, var(--card) 0%, var(--bg3) 52%, var(--bg2) 100%);
    transition: background var(--transition);
}
.product-emoji {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.4));
    transition: none;
    animation: none;
    user-select: none;
    pointer-events: none;
}
@keyframes emojiFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-16px) rotate(3deg);
    }
}
.main-image:hover .product-emoji {
    transform: none;
}
:root[data-theme="light"] .img-bg {
    background: linear-gradient(140deg, #ffffff 0%, #f8fafc 55%, #e2e8f0 100%);
}

.img-shine {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transform: skewX(-15deg);
    animation: none;
    display: none;
}
@keyframes shine {
    0% {
        left: -60%;
    }
    100% {
        left: 160%;
    }
}

.img-badge {
    position: absolute;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 2;
}
.badge-sale {
    top: 16px;
    left: 16px;
    background: var(--gradient);
    color: white;
    padding: 6px 14px;
}
.badge-stock {
    bottom: 16px;
    left: 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    padding: 6px 14px;
}

.zoom-hint {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 99px;
    z-index: 2;
    transition: opacity var(--transition);
    pointer-events: none;
}
.main-image:hover .zoom-hint {
    opacity: 0;
}

.btn-360 {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(22, 22, 46, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    padding: 8px 14px;
    border-radius: 99px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}
.btn-360:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}
.btn-360.spinning {
    animation: spin360 2s linear infinite;
}
@keyframes spin360 {
    to {
        transform: rotate(360deg);
    }
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: var(--bg);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
    display: none !important;
}
.zoom-display {
    width: 100%;
    height: 100%;
    animation: emojiFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(139, 92, 246, 0.5));
}
.zoom-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ====== INFO COLUMN ====== */
.info-col {
    padding-top: 8px;
    min-width: 0;
}
.product-meta-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.product-brand {
    display: inline-block;
    width: fit-content;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid var(--border);
    color: var(--primary-light);
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.stars-row {
    display: flex;
}
.star {
    font-size: 1rem;
}
.star.filled {
    color: var(--accent);
}
.star.half {
    color: var(--accent);
    opacity: 0.5;
}
.rating-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.rating-count span {
    color: var(--text-dim);
}
.rating-dot {
    color: var(--text-dim);
}
.sold-count {
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 500;
}

.product-name {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.1;
}
.product-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    font-style: italic;
}

.product-seller-line {
    margin: -4px 0 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-seller-line strong {
    color: var(--white);
    font-weight: 700;
}

a.product-seller-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 181, 253, 0.45);
    transition: border-color var(--transition), color var(--transition);
}

a.product-seller-link:hover {
    color: var(--primary-light);
    border-bottom-color: var(--accent2);
}

.spec-val a.product-seller-link {
    color: var(--primary-light);
    border-bottom-color: rgba(196, 181, 253, 0.35);
}

/* Price */
.price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.price-main {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
}
.price-strike {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-decoration: line-through;
}
.price-save {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Offer pills */
.offer-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.offer-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all var(--transition);
}
.offer-pill:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
}
.offer-icon {
    font-size: 1.1rem;
}
.offer-pill strong {
    color: var(--accent);
}

/* Divider */
.section-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

/* Option groups */
.option-group {
    margin-bottom: 24px;
}
.option-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.option-label span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}
.option-label strong {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
}
.size-guide-link {
    font-size: 0.82rem;
    color: var(--primary-light);
    transition: color var(--transition);
}
.size-guide-link:hover {
    color: var(--accent2);
}

/* Color swatches */
.color-swatches {
    display: flex;
    gap: 10px;
}
.swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--text-muted);
    transition: all var(--transition);
    position: relative;
}
.swatch:hover {
    transform: scale(1.15);
}
.swatch.active {
    /* border-color: var(--white); */
    box-shadow:
        0 0 0 2px var(--primary),
        0 0 16px rgba(139, 92, 246, 0.4);
}
.swatch.out {
    opacity: 0.95;
    cursor: not-allowed;
    /* filter: grayscale(0.15); */
}

/* Size grid */
.size-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.size-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 52px;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg3);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.size-btn-label {
    line-height: 1.1;
}
.size-btn-stock {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    opacity: 0.9;
}
.size-btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(139, 92, 246, 0.08);
}
.size-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
.size-btn.out {
    opacity: 0.3;
    cursor: not-allowed;
    position: relative;
    text-decoration: line-through;
}
.size-note {
    font-size: 0.8rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Qty */
.qty-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    width: 44px;
    height: 44px;
    background: var(--bg3);
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    background: var(--primary);
    color: white;
}
.qty-val {
    width: 52px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}
.qty-available {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.qty-available strong {
    color: var(--accent2);
}

/* CTA */
.cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    align-items: center;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.45);
}
.cta-cart {
    flex: 1;
    justify-content: center;
}
.btn-buynow {
    flex: 1;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-buynow:hover {
    background: rgba(139, 92, 246, 0.12);
    transform: translateY(-2px);
}
.btn-wishlist {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.btn-wishlist:hover {
    border-color: var(--accent2);
    color: var(--accent2);
}
.btn-wishlist.active {
    background: rgba(236, 72, 153, 0.12);
    border-color: var(--accent2);
    color: var(--accent2);
}
.btn-share {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.btn-share:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(139, 92, 246, 0.1);
}
.btn-share:active {
    transform: scale(0.96);
}

/* Delivery cards */
.delivery-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.delivery-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: all var(--transition);
}
.delivery-card:hover {
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.09);
}
.dc-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.delivery-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 2px;
}
.delivery-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.delivery-card span b {
    color: var(--text);
}

/* ====== TABS SECTION ====== */
.tabs-section {
    padding: 20px 0 60px;
}
.product-tabs {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
}
.ptab {
    flex: 1;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ptab:hover {
    color: var(--text);
    background: rgba(139, 92, 246, 0.04);
}
.ptab.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary);
    background: rgba(139, 92, 246, 0.06);
}
.tab-count {
    background: var(--primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
}
.tab-panel {
    padding: 40px;
}

/* Description tab */
.desc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.desc-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
:root:not([data-theme="light"]) .desc-text h3,
[data-theme="dark"] .desc-text h3 {
    color: var(--white);
}
.desc-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Description HTML — theme-safe text (seller content + allowed tags) */
.desc-body {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    white-space: pre-line;
}
/* Beat .desc-text p cascade: lock body copy to current theme tokens */
.desc-text .desc-body,
.desc-text .desc-body p,
.desc-text .desc-body li {
    color: var(--text-muted);
}
.desc-body span {
    color: inherit;
}
.desc-body p {
    margin: 0 0 1em;
}
.desc-body p:last-child {
    margin-bottom: 0;
}
.desc-body strong,
.desc-body b {
    color: var(--text);
    font-weight: 700;
}
.desc-text .desc-body strong,
.desc-text .desc-body b {
    color: var(--text);
}
.desc-body em,
.desc-body i {
    font-style: italic;
    color: var(--text-muted);
}
.desc-body u {
    text-underline-offset: 2px;
    color: var(--text-muted);
}
.desc-body a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
.desc-body a:hover {
    color: var(--primary);
}
.desc-body h1,
.desc-body h2,
.desc-body h3 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.3;
    margin: 1.35em 0 0.55em;
    font-size: 1.15em;
}
:root:not([data-theme="light"]) .desc-body h1,
:root:not([data-theme="light"]) .desc-body h2,
:root:not([data-theme="light"]) .desc-body h3,
[data-theme="dark"] .desc-body h1,
[data-theme="dark"] .desc-body h2,
[data-theme="dark"] .desc-body h3 {
    color: #f1f5f9;
}
.desc-body h1:first-child,
.desc-body h2:first-child,
.desc-body h3:first-child {
    margin-top: 0;
}
.desc-body ul,
.desc-body ol {
    margin: 0.6em 0 1em;
    padding-left: 1.35em;
}
.desc-body li {
    margin-bottom: 0.4em;
    color: var(--text-muted);
}
.desc-text .desc-body li {
    color: var(--text-muted);
}
.desc-body li::marker {
    color: var(--primary-light);
}
.desc-body blockquote {
    margin: 1em 0;
    padding: 14px 18px;
    border-left: 3px solid rgba(139, 92, 246, 0.65);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(139, 92, 246, 0.08);
    color: var(--text-muted);
}
.desc-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Light theme — description (explicit; :root vars already switch) */
:root[data-theme="light"] .desc-text .desc-body,
:root[data-theme="light"] .desc-text .desc-body p,
:root[data-theme="light"] .desc-text .desc-body li {
    color: var(--text-muted);
}
:root[data-theme="light"] .desc-body em,
:root[data-theme="light"] .desc-body i,
:root[data-theme="light"] .desc-body u {
    color: var(--text-muted);
}
:root[data-theme="light"] .desc-body h1,
:root[data-theme="light"] .desc-body h2,
:root[data-theme="light"] .desc-body h3 {
    color: var(--text);
}
:root[data-theme="light"] .desc-body a {
    color: #5b21b6;
}
:root[data-theme="light"] .desc-body a:hover {
    color: #6d28d9;
}
:root[data-theme="light"] .desc-body li::marker {
    color: #7c3aed;
}
:root[data-theme="light"] .desc-body blockquote {
    border-left-color: rgba(109, 40, 217, 0.45);
    background: rgba(139, 92, 246, 0.06);
    color: var(--text-muted);
}

/* Dark theme — reinforce contrast */
:root:not([data-theme="light"]) .desc-text .desc-body,
:root:not([data-theme="light"]) .desc-text .desc-body p,
:root:not([data-theme="light"]) .desc-text .desc-body li,
[data-theme="dark"] .desc-text .desc-body,
[data-theme="dark"] .desc-text .desc-body p,
[data-theme="dark"] .desc-text .desc-body li {
    color: var(--text-muted);
}
[data-theme="dark"] .desc-body em,
[data-theme="dark"] .desc-body i {
    color: var(--text-muted);
}

/*
 * Product description: fixed palette per theme so text stays readable even if
 * seller HTML had inline colors, or theme tokens mismatch the tab surface.
 */
html[data-theme="dark"] .desc-text .desc-body,
html[data-theme="dark"] .desc-text .desc-body p,
html[data-theme="dark"] .desc-text .desc-body li,
html[data-theme="dark"] .desc-text .desc-body span,
html[data-theme="dark"] .desc-text .desc-body em,
html[data-theme="dark"] .desc-text .desc-body i,
html[data-theme="dark"] .desc-text .desc-body u {
    color: #cbd5e1 !important;
}
html[data-theme="dark"] .desc-text .desc-body strong,
html[data-theme="dark"] .desc-text .desc-body b {
    color: #f8fafc !important;
}
html[data-theme="dark"] .desc-text .desc-body h1,
html[data-theme="dark"] .desc-text .desc-body h2,
html[data-theme="dark"] .desc-text .desc-body h3 {
    color: #f1f5f9 !important;
}
html[data-theme="dark"] .desc-text .desc-body a {
    color: #c4b5fd !important;
}
html[data-theme="dark"] .desc-text .desc-body a:hover {
    color: #e9d5ff !important;
}
html[data-theme="dark"] .desc-text .desc-body blockquote {
    color: #cbd5e1 !important;
}

html[data-theme="light"] .desc-text .desc-body,
html[data-theme="light"] .desc-text .desc-body p,
html[data-theme="light"] .desc-text .desc-body li,
html[data-theme="light"] .desc-text .desc-body span,
html[data-theme="light"] .desc-text .desc-body em,
html[data-theme="light"] .desc-text .desc-body i,
html[data-theme="light"] .desc-text .desc-body u {
    color: #475569 !important;
}
html[data-theme="light"] .desc-text .desc-body strong,
html[data-theme="light"] .desc-text .desc-body b {
    color: #0f172a !important;
}
html[data-theme="light"] .desc-text .desc-body h1,
html[data-theme="light"] .desc-text .desc-body h2,
html[data-theme="light"] .desc-text .desc-body h3 {
    color: #0f172a !important;
}
html[data-theme="light"] .desc-text .desc-body a {
    color: #5b21b6 !important;
}
html[data-theme="light"] .desc-text .desc-body a:hover {
    color: #6d28d9 !important;
}
html[data-theme="light"] .desc-text .desc-body blockquote {
    color: #475569 !important;
}

.desc-placeholder {
    margin: 0;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.92;
}
:root[data-theme="light"] .desc-placeholder {
    color: var(--text-muted);
    opacity: 1;
}
[data-theme="dark"] .desc-placeholder {
    color: var(--text-muted);
    opacity: 0.95;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.feature-list li::before {
    display: none;
}
.desc-big-emoji {
    font-size: 8rem;
    text-align: center;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
    animation: emojiFloat 5s ease-in-out infinite;
}
.desc-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.desc-stat {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}
.desc-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.desc-stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Specs tab */
.specs-table {
    display: flex;
    flex-direction: column;
}
.spec-row {
    display: flex;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.spec-row:last-child {
    border-bottom: none;
}
.spec-row:hover {
    background: rgba(139, 92, 246, 0.04);
    margin: 0 -16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
}
.spec-key {
    width: 200px;
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}
.spec-val {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 500;
}
.spec-stock-hint {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-dim);
}

/* Reviews tab */
.reviews-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.reviews-summary {
    text-align: center;
}
.rating-big {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.stars-big {
    font-size: 1.4rem;
    color: var(--accent);
    margin: 8px 0;
}
.reviews-total {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.rbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.rbar {
    flex: 1;
    height: 6px;
    background: var(--bg3);
    border-radius: 99px;
    overflow: hidden;
}
.rbar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 99px;
    transition: width 1s ease;
}
.rbar-row span:last-child {
    width: 30px;
    text-align: right;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Product page reviews — premium cards (scoped so checkout blocks stay separate) */
.reviews-list .review-card {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, var(--card) 42%, rgba(15, 23, 42, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 26px 26px 22px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}
.reviews-list .review-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    pointer-events: none;
    opacity: 0.9;
}
.reviews-list .review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(139, 92, 246, 0.12);
}
.reviews-list .review-card.featured-review {
    padding-left: 30px;
    border-color: rgba(167, 139, 250, 0.5);
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.14) 0%,
        rgba(236, 72, 153, 0.08) 38%,
        var(--card) 72%
    );
    box-shadow: 0 18px 52px rgba(139, 92, 246, 0.18), 0 0 0 1px rgba(236, 72, 153, 0.12);
}
.reviews-list .review-card.featured-review::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(180deg, #c4b5fd, #a78bfa 40%, #e879f9 70%, #f472b6);
    box-shadow: 0 0 24px rgba(167, 139, 250, 0.55);
    pointer-events: none;
}
.reviews-list .review-card.reveal:not(.visible) {
    opacity: 0;
    transform: translateY(22px);
}
.reviews-list .review-card.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.reviews-list .review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(145deg, #8b5cf6, #a855f7 50%, #db2777);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.review-meta {
    flex: 1;
    min-width: 140px;
}
.review-meta strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}
.review-meta span {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.45;
}
.reviews-list .verified-buyer {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.95;
}
.reviews-list .review-stars {
    margin-left: auto;
    font-size: 1rem;
    letter-spacing: 0.06em;
    line-height: 1;
    background: linear-gradient(90deg, #fde68a, #fbbf24 50%, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.35));
}
.reviews-list .review-badge {
    align-self: center;
    background: linear-gradient(135deg, rgba(253, 230, 138, 0.35), rgba(251, 191, 36, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fde68a;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}
@media (max-width: 639px) {
    .reviews-list .review-header .review-badge {
        flex-basis: 100%;
        margin-top: 8px;
    }
}
.review-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.reviews-list .review-card > p {
    position: relative;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 18px;
    padding-left: 14px;
    border-left: 2px solid rgba(139, 92, 246, 0.25);
}
.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.review-date {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}
.reviews-list .helpful-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.reviews-list .helpful-btn:hover {
    border-color: rgba(16, 185, 129, 0.45);
    color: var(--success);
    background: rgba(16, 185, 129, 0.08);
    transform: translateY(-1px);
}
.reviews-list .helpful-btn.voted {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--success);
    color: var(--success);
}

.review-alert {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
}
.review-alert--success {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.4);
    color: #bbf7d0;
}
.review-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.38);
    color: #fecaca;
}

.review-write-stack {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.review-write-toggle {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary-light);
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.review-write-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(167, 139, 250, 0.65);
    transform: translateY(-1px);
}
.review-form-panel {
    display: none;
}
.review-form-panel.is-open {
    display: block;
}
.review-form-panel .review-form {
    margin-top: 0;
}
.review-form {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card2);
}
.review-form__label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}
.review-form__control {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg2);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.review-form__control:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.review-form__control option {
    color: #0f172a;
}
.review-form__textarea {
    min-height: 110px;
    height: auto;
    padding: 12px 14px;
    resize: vertical;
    line-height: 1.45;
}
.review-form__textarea::placeholder {
    color: var(--text-dim);
}

.review-seller-response {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(139, 92, 246, 0.08);
}
.reviews-list .review-seller-response {
    margin-top: 14px;
    margin-bottom: 4px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.28);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(30, 27, 75, 0.35));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.review-seller-response strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    color: var(--primary-light);
}
.reviews-list .review-seller-response strong {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #ddd6fe;
}
.review-seller-response p {
    margin: 0;
    color: var(--text);
}
.reviews-list .review-seller-response p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Section badge & title */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid var(--border);
    color: var(--primary-light);
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
}

/* ====== RELATED SECTION (same cards as .trending / .products-grid) ====== */
.related-section {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 80px) 0 80px;
    background:
        radial-gradient(ellipse 68% 52% at 50% 0%, rgba(34, 211, 238, 0.1), transparent 58%),
        radial-gradient(ellipse 52% 48% at 0% 72%, rgba(139, 92, 246, 0.11), transparent 52%),
        linear-gradient(180deg, var(--bg) 0%, #0a0a14 48%, var(--bg) 100%);
    border-top: 1px solid rgba(34, 211, 238, 0.1);
}
.related-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.related-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.48;
}
.related-bg__blob--1 {
    width: min(380px, 85vw);
    height: min(380px, 85vw);
    top: -14%;
    left: -6%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.26) 0%, transparent 65%);
}
.related-bg__blob--2 {
    width: min(320px, 75vw);
    height: min(320px, 75vw);
    bottom: 8%;
    right: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 65%);
}
.related-container {
    position: relative;
    z-index: 1;
}
.related-section .section-header {
    margin-bottom: 36px;
}
.related-section .section-badge {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.1));
    border-color: rgba(34, 211, 238, 0.32);
    color: #a5f3fc;
}
.related-section .section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #22d3ee, #8b5cf6);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}
.related-section .section-subtitle {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.related-section .product-card {
    background: linear-gradient(165deg, #181a30 0%, var(--card) 52%, #151528 100%);
    border-color: rgba(34, 211, 238, 0.14);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}
.related-section .product-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow:
        0 22px 50px rgba(34, 211, 238, 0.12),
        0 12px 36px rgba(0, 0, 0, 0.35);
}

/* ====== STICKY CTA ====== */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: color-mix(in srgb, var(--card2) 88%, #ffffff 12%);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -12px 28px rgba(2, 6, 23, 0.2);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 16px;
    align-items: center;
}
.sticky-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.sticky-thumb-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.sticky-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sticky-copy {
    min-width: 0;
}
.sticky-info strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.sticky-info s {
    color: var(--text-dim);
    margin-left: 6px;
}
.sticky-cta .btn-primary {
    min-width: 128px;
    min-height: 42px;
    padding-inline: 16px;
    border-radius: 12px;
    white-space: nowrap;
}
:root[data-theme="light"] .sticky-cta {
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
}
:root[data-theme="light"] .sticky-thumb-wrap {
    border-color: rgba(15, 23, 42, 0.12);
    background: #f8fafc;
}

/* ====== TOAST ====== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ====== MODAL ====== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-card {
    background: var(--card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 520px;
    width: 100%;
    animation: modalIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}
.modal-close {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.modal-close:hover {
    background: var(--primary);
}
.size-chart table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.size-chart th {
    background: var(--bg3);
    color: var(--primary-light);
    font-weight: 700;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.size-chart td {
    padding: 12px;
    text-align: center;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}
.size-chart tr:hover td {
    background: rgba(139, 92, 246, 0.05);
    color: var(--text);
}
.size-tip {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 12px;
    background: var(--bg3);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

/* ====== ADD TO CART ANIMATION ====== */
@keyframes cartBounce {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(0.92);
    }
    60% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}
.cart-btn.bounce {
    animation: cartBounce 0.5s ease;
}

/* ====== SCROLL REVEAL ====== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: start;
    }
    .gallery-sticky {
        position: static;
        top: auto;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .desc-grid {
        grid-template-columns: 1fr;
    }
    .reviews-layout {
        grid-template-columns: 1fr;
    }
    .reviews-summary {
        text-align: left;
    }
    .rating-bars {
        max-width: 320px;
    }
}
@media (max-width: 768px) {
    .nav-breadcrumb {
        display: none;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sticky-cta {
        display: flex;
    }
    .main-content {
        padding-bottom: 80px;
    }
    .index-page .main-content,
    .index-page .page-main {
        padding-top: 52px;
    }
    .index-page.product-list-page .product-list-catalog {
        margin-top: 44px;
        padding: 10px 0 36px;
    }
    .tab-panel {
        padding: 24px 16px;
    }
    .gallery-sticky {
        flex-direction: column-reverse;
    }
    .thumbnails {
        flex-direction: row;
    }
    .thumb {
        width: 60px;
        height: 60px;
    }
}
@media (max-width: 480px) {
    .index-page .main-content,
    .index-page .page-main {
        padding-top: 48px!important;
    }
    .index-page.product-list-page .product-list-catalog {
        margin-top: 50px!important;
        padding: 8px 0 28px;
    }
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .cta-row {
        flex-wrap: wrap;
    }
    .btn-buynow {
        order: 3;
        flex: 1 0 100%;
    }
    .product-emoji {
        width: 100%;
        height: 100%;
    }
}

/* ================================================
   SOURCE: pages.css
   ================================================ */

/* Cart, Orders, Profile, Checkout */

/* MAIN */
.page-main {
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 40px;
}
.index-page .page-main {
    padding-top: 154px;
}
.index-page.product-list-page .product-list-catalog {
    margin-top: 154px;
    padding-top: 24px;
}

/* PAGE HEADER */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.page-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 14px;
}
.count-badge {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
    font-weight: 600;
}
.continue-link {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.continue-link:hover {
    color: var(--accent2);
}

/* BUTTONS */
.checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
    justify-content: center;
}
.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.45);
}
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.ghost-btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* CHECKBOX */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    user-select: none;
}
.checkbox-label input {
    display: none;
}
.checkmark {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    background: var(--bg3);
}
.checkbox-label input:checked + .checkmark {
    background: var(--gradient);
    border-color: transparent;
}
.checkbox-label input:checked + .checkmark::after {
    content: "\2713";
    font-size: 0.72rem;
    color: white;
    font-weight: 800;
}

/* FORM */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-field input,
.form-field select {
    padding: 12px 16px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all var(--transition);
}
.form-field input:focus,
.form-field select:focus {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
.form-field input:disabled,
.form-field select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.form-field input::placeholder {
    color: var(--text-dim);
}
.form-field select {
    cursor: pointer;
}
.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.modal-card {
    background: var(--card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 560px;
    width: 100%;
    animation: modalIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}
.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}
.modal-close {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}
.modal-close:hover {
    background: var(--primary);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* UTILS */
.text-green {
    color: var(--success) !important;
}
.text-red {
    color: var(--danger) !important;
}
.text-amber {
    color: var(--warning) !important;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-breadcrumb {
        display: none;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal-card {
        padding: 24px 16px;
    }
}

/* ================================================
   SOURCE: cart.css
   ================================================ */

/* ====== CART PAGE CSS ====== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* Select bar */
.select-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 16px;
}
.remove-selected {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition);
}
.remove-selected:hover {
    color: #ff6b6b;
}

/* Cart Item */
.cart-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 14px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--transition);
    position: relative;
    animation: itemIn 0.4s ease;
}
@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.cart-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.cart-item.removing {
    animation: itemOut 0.3s ease forwards;
}
@keyframes itemOut {
    to {
        opacity: 0;
        transform: translateX(40px);
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

.item-check {
    padding-top: 4px;
}
.item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform var(--transition);
}
.item-image:hover {
    transform: scale(1.05);
}
.item-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.item-details {
    flex: 1;
}
.item-brand {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.item-name a {
    color: inherit;
    transition: color var(--transition);
}
.item-name a:hover {
    color: var(--primary-light);
}
.item-variants {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.var-tag {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 3px 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.item-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.item-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-light);
}
.item-orig {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-decoration: line-through;
}
.item-discount {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--success);
}
.item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--bg3);
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
}
.qty-btn:hover {
    background: var(--primary);
    color: white;
}
.qty-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}
.qty-btn:disabled:hover {
    background: var(--bg3);
    color: var(--text);
}
.qty-num {
    width: 44px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}
.action-link {
    background: none;
    border: none;
    font-size: 0.82rem;
    color: var(--text-dim);
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.action-link:hover {
    color: var(--primary-light);
}
.action-link.remove:hover {
    color: var(--danger);
}
.action-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.delivery-info {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}
.delivery-info .del-date,
.delivery-info .del-date-range {
    color: var(--success);
    font-weight: 600;
}
.delivery-info .del-date-label {
    color: var(--text-dim);
    font-weight: 500;
}

.delivery-rule-hint {
    margin: 0 0 10px;
    padding: 10px 12px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* Saved section */
.saved-section {
    margin-top: 32px;
}
.saved-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.saved-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.saved-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: all var(--transition);
}
.saved-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.saved-emoji {
    font-size: 2rem;
}
.saved-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--white);
    margin-bottom: 4px;
}
.saved-info span {
    font-size: 0.8rem;
    color: var(--primary-light);
}
.move-to-cart {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    background: var(--gradient);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.28);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        filter var(--transition);
}
.move-to-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.34);
    filter: brightness(1.05);
}
.move-to-cart:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}
.saved-item .action-link.remove {
    margin-top: 8px;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    background: transparent;
    font-size: 0.76rem;
    font-weight: 600;
}
.saved-item .action-link.remove:hover {
    color: #ff6b6b;
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.1);
}

/* Summary card */
.summary-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: sticky;
    top: 96px;
}
.summary-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* Coupon */
.coupon-box {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}
.coupon-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.coupon-row {
    display: flex;
    gap: 8px;
}
.coupon-row input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.75rem;
    font-family: inherit;
    outline: none;
    text-transform: uppercase;
    transition: border-color var(--transition);
}
.coupon-row input:focus {
    border-color: var(--primary);
}
.coupon-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.coupon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}
.coupon-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.ctag {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    cursor: pointer;
    transition: all var(--transition);
}
.ctag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.coupon-msg {
    font-size: 0.82rem;
    margin-top: 8px;
    min-height: 16px;
}
.coupon-msg.success {
    color: var(--success);
}
.coupon-msg.error {
    color: var(--danger);
}

/* Price breakdown */
.price-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.price-row strong {
    color: var(--white);
    font-weight: 600;
}
/* Cart: delivery speed as colored tags */
.delivery-speed-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1.2;
}
.delivery-speed-tag--standard {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.35), rgba(71, 85, 105, 0.25));
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.delivery-speed-tag--express {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(79, 70, 229, 0.3));
    color: #e0e7ff;
    border: 1px solid rgba(129, 140, 248, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
.delivery-speed-tag--same-day {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.4), rgba(194, 65, 12, 0.28));
    color: #ffedd5;
    border: 1px solid rgba(251, 146, 60, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.price-divider {
    height: 1px;
    background: var(--border);
}
.total-row {
    font-size: 1rem;
    font-weight: 700;
}
.total-row span,
.total-row strong {
    color: var(--white);
    font-size: 1.05rem;
}
.saving-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* Delivery opts */
.delivery-opts {
    margin-bottom: 20px;
}
.delivery-opt-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.delivery-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all var(--transition);
}
.delivery-option:hover {
    border-color: var(--border-hover);
}
.delivery-option input[type="radio"] {
    display: none;
}
.delivery-option input[type="radio"]:checked ~ .opt-content {
    color: var(--white);
}
.delivery-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.06);
}
.opt-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}
.opt-content strong {
    color: var(--white);
}

/* Secure note */
.secure-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 12px;
}
.payment-methods {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}
.pm {
    font-size: 0.75rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-dim);
}

/* Offers box */
.offers-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 16px;
}
.offers-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}
.offer-line {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 4px 0;
}

/* Empty */
.empty-cart {
    text-align: center;
    padding: 80px 24px;
}
.empty-emoji {
    font-size: 5rem;
    margin-bottom: 20px;
}
.empty-cart h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Order Modal */
.order-modal {
    text-align: center;
}
.order-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 800;
    margin: 0 auto 20px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successPop {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
.order-modal h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.order-modal p {
    color: var(--text-muted);
    margin-bottom: 10px;
}
.order-id {
    font-size: 0.85rem;
}
.order-id strong {
    color: var(--primary-light);
}
.modal-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .summary-col {
        position: static;
    }
    .summary-card {
        position: static;
    }
}
@media (max-width: 768px) {
    .select-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
    }
    .summary-card {
        padding: 18px;
    }
    .coupon-row {
        flex-direction: column;
    }
    .coupon-btn {
        width: 100%;
    }
    .item-actions {
        flex-wrap: wrap;
        row-gap: 8px;
        column-gap: 10px;
    }
    .action-divider {
        display: none;
    }
}
@media (max-width: 640px) {
    .cart-items-col {
        min-width: 0;
    }
    .saved-grid {
        grid-template-columns: 1fr;
    }
    .cart-item {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px;
    }
    .item-image {
        width: 80px;
        height: 80px;
    }
    .item-details {
        min-width: 0;
    }
    .item-price-row {
        flex-wrap: wrap;
        row-gap: 4px;
    }
    .qty-ctrl {
        width: 100%;
        max-width: 170px;
    }
    .action-link {
        font-size: 0.78rem;
    }
    .offers-box {
        padding: 14px;
    }
}

/* ================================================
   SOURCE: orders.css
   ================================================ */

/* ====== ORDERS PAGE CSS ====== */

/* Controls */
.orders-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.orders-tabs {
    display: flex;
    gap: 6px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 4px;
    flex-wrap: wrap;
}
.otab {
    padding: 8px 18px;
    border-radius: 99px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.otab.active,
.otab:hover {
    background: var(--gradient);
    color: white;
}
.orders-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 10px 18px;
    min-width: 240px;
}
.orders-search svg {
    color: var(--text-dim);
    flex-shrink: 0;
}
.orders-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    width: 100%;
}
.orders-search input::placeholder {
    color: var(--text-dim);
}

/* Order card */
.order-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 16px;
    transition: all var(--transition);
    animation: cardIn 0.4s ease;
}
@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.order-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.order-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.order-id-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.order-id-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    font-family: monospace;
}
.order-date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.status-badge {
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.status-delivered {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-shipped {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.status-confirmed {
    background: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
    border: 1px solid rgba(20, 184, 166, 0.3);
}
.status-out {
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.status-processing {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.return-rejected-ui {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(190, 24, 93, 0.1));
}
.return-rejected-ui__badge {
    align-self: flex-start;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.2);
}
.return-rejected-ui__hint {
    font-size: 0.78rem;
    color: #fca5a5;
    line-height: 1.4;
}

.order-items-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.order-product {
    display: flex;
    align-items: center;
    gap: 12px;
}
.order-product-img {
    width: 60px;
    height: 60px;
    background: var(--bg3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 1px solid var(--border);
}
.order-product-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--white);
}
.order-product-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.order-more-items {
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 6px 14px;
    background: var(--bg3);
    border-radius: 99px;
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.order-total-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.order-total-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.order-total-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}
.order-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.action-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.action-btn.primary {
    background: var(--gradient);
    color: white;
}
.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}
.action-btn.secondary {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.action-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Tracking steps */
.tracking-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.tracking-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tracking-steps {
    display: flex;
    gap: 0;
    position: relative;
    overflow-x: auto;
    padding-bottom: 8px;
}
.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 80px;
    position: relative;
    z-index: 1;
}
.tracking-step::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: -1;
}
.tracking-step:last-child::before {
    display: none;
}
.tracking-step.done::before {
    background: var(--gradient);
}
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all var(--transition);
}
.tracking-step.done .step-dot {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}
.tracking-step.active .step-dot {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
    animation: stepPulse 2s infinite;
}
@keyframes stepPulse {
    0%,
    100% {
        box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
    }
}
.step-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-align: center;
    font-weight: 500;
}
.tracking-step.done .step-label,
.tracking-step.active .step-label {
    color: var(--text-muted);
}

/* Detail modal */
.detail-modal {
    max-width: 640px;
}
.modal-order-id {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-family: monospace;
    display: block;
    margin-top: 4px;
}

/* Empty */
.empty-orders {
    text-align: center;
    padding: 80px 24px;
}
.empty-emoji {
    font-size: 5rem;
    margin-bottom: 20px;
}
.empty-orders h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.empty-orders p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .orders-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .orders-tabs {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px;
    }
    .orders-tabs::-webkit-scrollbar {
        display: none;
    }
    .otab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.82rem;
    }
    .orders-search {
        width: 100%;
        min-width: 0;
        padding: 9px 14px;
    }
    .order-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .tracking-steps {
        gap: 0;
    }
}

/* ================================================
   SOURCE: profile.css
   ================================================ */

/* ====== PROFILE PAGE CSS ====== */

.profile-deletion-banner {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.08);
    color: var(--text);
}
.profile-deletion-banner strong {
    display: block;
    margin-bottom: 6px;
    color: #fca5a5;
    font-size: 1rem;
}
.profile-deletion-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.92;
}

/* Profile Hero */
.profile-hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid var(--border);
}
.profile-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.2) 0%,
        rgba(236, 72, 153, 0.1) 50%,
        rgba(8, 8, 18, 0.9) 100%
    );
}
.profile-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--card);
}
.profile-hero-bg::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}
.profile-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px;
    flex-wrap: wrap;
}

.avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3);
}
.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient);
    border: 2px solid var(--bg);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}
.avatar-edit:hover {
    transform: scale(1.2);
}

.profile-hero-info {
    flex: 1;
    min-width: 200px;
}
.profile-hero-info h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 4px;
}
.profile-hero-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.profile-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.profile-badge {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
}
.profile-join {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.profile-contact-field .profile-contact-input-wrap {
    position: relative;
    width: 100%;
}
.profile-contact-field .profile-contact-input-wrap .profile-contact-readonly {
    width: 100%;
    box-sizing: border-box;
    padding-right: 6.75rem;
    text-overflow: ellipsis;
    overflow: hidden;
    opacity: 0.95;
    cursor: default;
}
.profile-contact-field .profile-contact-input-wrap .profile-verified-chip {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    max-width: min(42%, 7.5rem);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 99px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    line-height: 1.2;
    background: rgba(22, 163, 74, 0.35);
    border: 1px solid rgba(74, 222, 128, 0.55);
    color: #ecfdf5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.profile-contact-field .profile-contact-input-wrap .profile-verified-chip--pending {
    background: rgba(245, 158, 11, 0.28);
    border: 1px solid rgba(251, 191, 36, 0.55);
    color: #fffbeb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.profile-contact-btn {
    margin-top: 4px;
    font-size: 0.85rem;
    padding: 8px 14px;
}
.profile-contact-note {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.45;
    max-width: 520px;
}

.profile-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.pstat {
    padding: 16px 28px;
    text-align: center;
}
.pstat strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pstat span {
    font-size: 0.75rem;
    color: var(--text-dim);
}
.pstat-div {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

/* Layout */
.profile-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

/* Sidebar */
.profile-sidebar {
    position: sticky;
    top: 96px;
}
.sidebar-menu {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.smenu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
    width: 100%;
    text-decoration: none;
}
.smenu-item:hover {
    background: rgba(139, 92, 246, 0.08);
    color: var(--text);
}
.smenu-item.active {
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary-light);
    font-weight: 600;
}
.smenu-item.danger {
    color: var(--danger);
}
.smenu-item.danger:hover {
    background: rgba(239, 68, 68, 0.08);
}
.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

/* Content panels */
.profile-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.tab-panel {
    padding: 32px;
}
.tab-panel.hidden {
    display: none;
}
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap;
}
.panel-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

/* Edit toggle */
.edit-toggle {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.edit-toggle:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Addresses */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.address-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all var(--transition);
    position: relative;
}
.address-card:hover {
    border-color: var(--border-hover);
}
.address-card.default-addr {
    border-color: rgba(139, 92, 246, 0.5);
}
.address-type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.addr-type-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
}
.addr-type-home {
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary-light);
}
.addr-type-work {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}
.default-tag {
    font-size: 0.7rem;
    color: var(--success);
    font-weight: 600;
}
.address-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.address-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.address-phone {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 14px;
}
.addr-actions {
    display: flex;
    gap: 10px;
}
.addr-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 99px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.addr-btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}
.add-addr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    cursor: pointer;
    transition: all var(--transition);
    background: none;
    width: 100%;
    font-family: inherit;
}
.add-addr-card:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.04);
}
.add-addr-icon {
    font-size: 2rem;
    color: var(--text-dim);
}
.add-addr-card span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Wishlist — profile (premium) */
.wishlist-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.wishlist-kicker {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-light);
    opacity: 0.9;
    margin-bottom: 10px;
}
.wishlist-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.wishlist-title {
    /* font-family: "Playfair Display", Georgia, serif; */
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.wishlist-count-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--white);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}
.wishlist-lede {
    margin: 0;
    max-width: 36rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.wishlist-cta-outline {
    flex-shrink: 0;
    align-self: center;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.wishlist-cta-outline:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.45);
    transform: translateY(-1px);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 22px;
}

/* Profile — my reviews (product-wise) */
.profile-reviews-head {
    margin-bottom: 22px;
}
.profile-reviews-empty {
    margin-top: 0;
}
.profile-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.profile-review-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, var(--card) 100%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.profile-review-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}
.profile-review-card--needs-review {
    border-color: rgba(251, 191, 36, 0.32);
    background: linear-gradient(165deg, rgba(251, 191, 36, 0.09) 0%, var(--card) 100%);
}
.profile-review-variant {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.profile-review-pending-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.profile-review-status--cta {
    color: #fef9c3;
    background: rgba(251, 191, 36, 0.22);
    border-color: rgba(251, 191, 36, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.profile-review-text--muted {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.profile-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    align-items: center;
}
.profile-review-write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: none;
    width: auto;
    padding: 10px 22px;
    font-size: 0.88rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.profile-review-write-secondary {
    padding: 10px 18px;
    font-size: 0.86rem;
    text-decoration: none;
}
.profile-review-inline-form {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.profile-review-inline-form__row {
    margin-bottom: 12px;
}
.profile-review-inline-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.profile-review-inline-select,
.profile-review-inline-textarea {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card2);
    color: var(--text);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.45;
}
.profile-review-inline-select:focus,
.profile-review-inline-textarea:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
.profile-review-inline-textarea::placeholder {
    color: var(--text-dim);
    opacity: 1;
}
.profile-review-inline-textarea {
    min-height: 88px;
    resize: vertical;
}
.profile-review-actions--form {
    margin-top: 10px;
}
.profile-review-actions--form .checkout-btn {
    color: #ffffff;
}
.profile-review-actions--form .checkout-btn:hover {
    color: #ffffff;
}
.profile-review-card__media {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(139, 92, 246, 0.22), transparent 55%), var(--bg2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.profile-review-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile-review-card__emoji {
    font-size: 2.25rem;
    line-height: 1;
}
.profile-review-card__body {
    flex: 1;
    min-width: 0;
}
.profile-review-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.profile-review-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.35;
}
.profile-review-card__title:hover {
    color: var(--primary-light);
}
.profile-review-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 6px;
}
.profile-review-stars {
    letter-spacing: 0.06em;
    color: #fbbf24;
    font-size: 0.95rem;
    line-height: 1;
}
.profile-review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.profile-review-status {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
}
.profile-review-status--wait {
    color: #fde68a;
    background: rgba(251, 191, 36, 0.16);
    border-color: rgba(251, 191, 36, 0.4);
}
.profile-review-status--ok {
    color: #86efac;
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.4);
}
.profile-review-status--no {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.38);
}
.profile-review-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.profile-review-seller-reply {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.22);
}
.profile-review-seller-reply strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 6px;
}
.profile-review-seller-reply p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
}
@media (max-width: 560px) {
    .profile-review-card {
        flex-direction: column;
        align-items: stretch;
    }
    .profile-review-card__media {
        width: 100%;
        height: 140px;
    }
}

.wishlist-empty--premium {
    grid-column: 1 / -1;
    position: relative;
    text-align: center;
    padding: 3.25rem 1.75rem 3.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(165deg, rgba(139, 92, 246, 0.08) 0%, rgba(15, 23, 42, 0.4) 45%, var(--card) 100%);
    overflow: hidden;
}
.wishlist-empty__glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.12) 0%, transparent 65%);
    pointer-events: none;
}
.wishlist-empty__mark {
    position: relative;
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--primary-light);
    opacity: 0.85;
}
.wishlist-empty__title {
    position: relative;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px;
}
.wishlist-empty__text {
    position: relative;
    margin: 0 auto 1.35rem;
    max-width: 22rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.wishlist-empty__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wishlist-empty__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.45);
}

.wishlist-item.wi-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, var(--card) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.wishlist-item.wi-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(139, 92, 246, 0.12);
}
.wi-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 158px;
    text-decoration: none;
    background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(139, 92, 246, 0.15), transparent 55%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(236, 72, 153, 0.08), transparent 50%),
        var(--bg2);
}
.wi-save-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f172a;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35);
}
.wi-emoji {
    font-size: 3.25rem;
    line-height: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}
.wi-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 16px;
    gap: 4px;
}
.wi-name {
    /* font-family: "Playfair Display", Georgia, serif; */
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.wi-name:hover {
    color: var(--primary-light);
}
.wi-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 6px;
}
.wi-price {
    font-size: 1.08rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--primary-light);
    letter-spacing: -0.02em;
}
.wi-orig {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}
.wi-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}
.wi-view-link {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.wi-view-link:hover {
    color: var(--primary-light);
    border-bottom-color: rgba(139, 92, 246, 0.5);
}
.wi-cart-btn {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, #8b5cf6, #a855f7 45%, #c026d3);
    border: none;
    color: #fff;
    padding: 11px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}
.wi-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.45);
}
.wi-rm-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.wi-rm-btn svg {
    pointer-events: none;
}
.wi-rm-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.45);
    color: var(--danger);
    transform: scale(1.05);
}

/* Rewards */
.rewards-hero {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.rewards-pts-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}
.rewards-pts-circle strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}
.rewards-pts-circle span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}
.rewards-info {
    flex: 1;
}
.rewards-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.rewards-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.rewards-info strong {
    color: var(--accent);
}
.points-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.points-bar {
    height: 8px;
    background: var(--bg);
    border-radius: 99px;
    overflow: hidden;
}
.points-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 99px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.points-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-dim);
}
.rewards-history {
    margin-bottom: 24px;
}
.rewards-history h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.rh-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rh-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg3);
    border-radius: var(--radius-sm);
}
.rh-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.rh-date {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 2px;
}
.rh-pts {
    font-size: 0.95rem;
    font-weight: 700;
}
.rh-pts.earn {
    color: var(--success);
}
.rh-pts.spend {
    color: var(--accent2);
}
.rh-pts.pending {
    color: var(--text-muted);
    font-weight: 600;
}
.rewards-redeem h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.rewards-redeem p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.redeem-row {
    display: flex;
    gap: 10px;
}
.redeem-row input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}
.redeem-row input:focus {
    border-color: var(--primary);
}

/* Settings */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap;
    border-radius: 10px;
}
.setting-item:last-child {
    border-bottom: none;
}
.setting-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 4px;
}
.setting-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.setting-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}
.danger-zone .setting-info strong {
    color: var(--danger);
}
.danger-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.danger-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

.password-modal-lead {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: -8px 0 18px;
}

/* Toggle switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}
.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 99px;
    transition: all var(--transition);
}
.slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dim);
    border-radius: 50%;
    transition: all var(--transition);
}
.toggle input:checked + .slider {
    background: var(--primary);
    border-color: var(--primary);
}
.toggle input:checked + .slider::before {
    left: calc(100% - 21px);
    background: white;
}

@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-sidebar {
        position: static;
    }
    .sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .smenu-item {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
    .profile-stats {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .profile-hero-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .profile-stats {
        width: 100%;
        overflow-x: auto;
    }
    .addresses-grid,
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
    .wishlist-panel-head {
        flex-direction: column;
        align-items: stretch;
    }
    .wishlist-cta-outline {
        align-self: stretch;
        text-align: center;
    }
    .wishlist-title {
        font-size: 1.4rem;
    }
}

/* ===================== GLOBAL THEME ===================== */
.theme-toggle-btn svg {
    pointer-events: none;
}

:root[data-theme="light"] {
    --primary-light: #6d28d9;
    --bg: #f8fafc;
    --bg2: #f1f5f9;
    --bg3: #e2e8f0;
    --card: #ffffff;
    --card2: #f8fafc;
    --border: rgba(15, 23, 42, 0.12);
    --text: #0f172a;
    --text-muted: #334155;
    --text-dim: #64748b;
    --white: #0f172a;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);

    --feature-strip-bg: #eef1f6;
    --feature-strip-border: rgba(15, 23, 42, 0.06);
    --feature-title-color: #0f172a;
    --feature-desc-color: #64748b;
    --feature-panel-border: rgba(15, 23, 42, 0.06);
    --feature-panel-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --feature-panel-shadow-hover: 0 4px 14px rgba(15, 23, 42, 0.08);
    --feature-icon-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    --feature-orange-panel: #fff7ed;
    --feature-cyan-panel: #e0f2fe;
    --feature-lime-panel: #f0fdf4;
    --feature-teal-panel: #ccfbf1;
}

/* Gradient primary buttons — always white label on purple/pink (light theme overrides --white) */
:root[data-theme="light"] .checkout-btn {
    color: #ffffff;
}
:root[data-theme="light"] .checkout-btn:hover {
    color: #ffffff;
}

/* Profile — My Reviews cards & form (light theme readability) */
:root[data-theme="light"] .profile-review-card {
    border-color: rgba(15, 23, 42, 0.1);
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
:root[data-theme="light"] .profile-review-card--needs-review {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(165deg, #fffbeb 0%, #ffffff 55%, #f8fafc 100%);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.12);
}
:root[data-theme="light"] .profile-review-card:hover {
    border-color: rgba(139, 92, 246, 0.28);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}
:root[data-theme="light"] .profile-review-status--cta {
    color: #92400e;
    background: #fef3c7;
    border-color: #fbbf24;
    text-shadow: none;
}
:root[data-theme="light"] .profile-review-status--wait {
    color: #a16207;
    background: #fef9c3;
    border-color: #eab308;
}
:root[data-theme="light"] .profile-review-pending-label {
    color: #475569;
}
:root[data-theme="light"] .profile-review-text--muted {
    color: #475569;
}
:root[data-theme="light"] .profile-review-inline-select,
:root[data-theme="light"] .profile-review-inline-textarea {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #0f172a;
}
:root[data-theme="light"] .profile-review-inline-select:focus,
:root[data-theme="light"] .profile-review-inline-textarea:focus {
    border-color: rgba(109, 40, 217, 0.45);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
:root[data-theme="light"] .profile-review-card__media {
    border-color: rgba(15, 23, 42, 0.12);
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .profile-review-card__title {
    color: #0f172a;
}
:root[data-theme="light"] .profile-review-card__title:hover {
    color: #6d28d9;
}
:root[data-theme="light"] .profile-review-variant {
    color: #475569;
}
:root[data-theme="light"] .profile-review-date {
    color: #64748b;
}
:root[data-theme="light"] .profile-review-stars {
    color: #d97706;
}
:root[data-theme="light"] .profile-review-text {
    color: #334155;
}
:root[data-theme="light"] .profile-review-status {
    border-color: rgba(15, 23, 42, 0.1);
}
:root[data-theme="light"] .profile-review-status--ok {
    color: #15803d;
    background: #dcfce7;
    border-color: #86efac;
}
:root[data-theme="light"] .profile-review-status--no {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fca5a5;
}
:root[data-theme="light"] .profile-contact-field .profile-contact-input-wrap .profile-verified-chip {
    background: #dcfce7;
    border: 1px solid #22c55e;
    color: #14532d;
    box-shadow: none;
}
:root[data-theme="light"] .profile-contact-field .profile-contact-input-wrap .profile-verified-chip--pending {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    box-shadow: none;
}
:root[data-theme="light"] .profile-review-seller-reply {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(109, 40, 217, 0.22);
}
:root[data-theme="light"] .profile-review-seller-reply strong {
    color: #6d28d9;
}
:root[data-theme="light"] .profile-review-seller-reply p {
    color: #475569;
}
:root[data-theme="light"] .profile-review-actions .ghost-btn {
    border-color: rgba(15, 23, 42, 0.14);
    color: #334155;
}
:root[data-theme="light"] .profile-review-actions .ghost-btn:hover {
    border-color: rgba(109, 40, 217, 0.35);
    color: #6d28d9;
}
:root[data-theme="light"] .profile-reviews-head .wishlist-lede {
    color: #475569;
}
:root[data-theme="light"] .profile-reviews-head .wishlist-lede strong {
    color: #0f172a;
}

/* Trending + Related — light theme surfaces */
:root[data-theme="light"] .trending {
    background:
        radial-gradient(ellipse 70% 55% at 50% -18%, rgba(236, 72, 153, 0.08), transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 28%, rgba(139, 92, 246, 0.09), transparent 52%),
        radial-gradient(ellipse 50% 40% at 0% 78%, rgba(245, 158, 11, 0.05), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
    border-top-color: rgba(15, 23, 42, 0.06);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .trending-bg__blob--1,
:root[data-theme="light"] .trending-bg__blob--2 {
    opacity: 0.32;
}
:root[data-theme="light"] .trending-bg__grid {
    opacity: 0.38;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}
:root[data-theme="light"] .filter-tabs {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(109, 40, 217, 0.14);
    box-shadow:
        inset 0 1px 0 #fff,
        0 10px 32px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .filter-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.22);
    color: var(--text);
}
:root[data-theme="light"] .product-filters__card {
    background:
        linear-gradient(160deg, #f8fafc 0%, #eef2ff 100%);
    border-color: rgba(109, 40, 217, 0.14);
    box-shadow:
        inset 0 1px 0 #ffffff,
        0 16px 34px rgba(15, 23, 42, 0.08);
}
:root[data-theme="light"] .product-filter-group {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
}
:root[data-theme="light"] .product-filter-group[open] {
    background:
        linear-gradient(160deg, rgba(139, 92, 246, 0.14) 0%, rgba(236, 72, 153, 0.08) 100%);
    border-color: rgba(109, 40, 217, 0.26);
}
:root[data-theme="light"] .product-filter-group__summary {
    color: #1e3a63;
}
:root[data-theme="light"] .product-filter-group__chevron {
    color: #667085;
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 2px 8px rgba(15, 23, 42, 0.08);
}
:root[data-theme="light"] .product-filter-option {
    color: #1e293b;
}
:root[data-theme="light"] .product-filter-option:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #0f172a;
}
:root[data-theme="light"] .trending .product-card {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(109, 40, 217, 0.12);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .related-section {
    background:
        radial-gradient(ellipse 68% 52% at 50% 0%, rgba(34, 211, 238, 0.1), transparent 58%),
        radial-gradient(ellipse 52% 48% at 0% 72%, rgba(139, 92, 246, 0.08), transparent 52%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    border-top-color: rgba(14, 165, 233, 0.12);
}
:root[data-theme="light"] .related-bg__blob--1,
:root[data-theme="light"] .related-bg__blob--2 {
    opacity: 0.28;
}
:root[data-theme="light"] .related-section .section-badge {
    color: #0e7490;
}
:root[data-theme="light"] .related-section .product-card {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(14, 165, 233, 0.12);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .related-section .product-card:hover {
    border-color: rgba(14, 165, 233, 0.28);
    box-shadow:
        0 18px 44px rgba(14, 165, 233, 0.1),
        0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Search overlay — light theme */
:root[data-theme="light"] .search-overlay {
    background: rgba(248, 250, 252, 0.82);
}
:root[data-theme="light"] .search-overlay__ambient {
    background:
        radial-gradient(ellipse 55% 42% at 15% 25%, rgba(139, 92, 246, 0.2), transparent 58%),
        radial-gradient(ellipse 48% 40% at 90% 70%, rgba(236, 72, 153, 0.12), transparent 55%);
    opacity: 1;
}
:root[data-theme="light"] .search-close {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--text);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}
:root[data-theme="light"] .search-close:hover {
    color: #ffffff;
}
:root[data-theme="light"] .search-title {
    background: linear-gradient(120deg, #0f172a 0%, #5b21b6 40%, #be185d 75%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
:root[data-theme="light"] .search-panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.94) 100%);
    border-color: rgba(109, 40, 217, 0.2);
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.06) inset,
        inset 0 1px 0 #fff;
}
:root[data-theme="light"] .search-box {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .search-box:focus-within {
    border-color: rgba(109, 40, 217, 0.45);
    background: #ffffff;
    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.18),
        0 12px 32px rgba(91, 33, 182, 0.08);
}
:root[data-theme="light"] .tag {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .tag:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(236, 72, 153, 0.1));
    border-color: rgba(109, 40, 217, 0.35);
}
:root[data-theme="light"] .search-live-results {
    border-top-color: rgba(15, 23, 42, 0.1);
}
:root[data-theme="light"] .search-live-hit {
    background: rgba(241, 245, 249, 0.9);
}
:root[data-theme="light"] .search-live-hit:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(109, 40, 217, 0.25);
}
:root[data-theme="light"] .search-live-results__foot {
    border-top-color: rgba(15, 23, 42, 0.08);
}

/* Flash deals — light theme polish */
:root[data-theme="light"] .flash-deals {
    background:
        linear-gradient(
            90deg,
            rgba(248, 250, 252, 0.96) 0%,
            rgba(248, 250, 252, 0.82) 30%,
            rgba(241, 245, 249, 0.38) 50%,
            rgba(241, 245, 249, 0.06) 64%,
            transparent 78%
        ),
        radial-gradient(ellipse 85% 95% at 16% 45%, rgba(139, 92, 246, 0.12), transparent 58%),
        radial-gradient(ellipse 50% 65% at 24% 26%, rgba(236, 72, 153, 0.06), transparent 55%),
        url("../images/flash-deals-bg.jpg") center center / cover no-repeat,
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #eef2f7 100%);
    border-top-color: rgba(15, 23, 42, 0.06);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}
@media (max-width: 768px) {
    .flash-deals {
        background:
            linear-gradient(180deg, rgba(4, 4, 12, 0.88) 0%, rgba(5, 5, 16, 0.92) 50%, rgba(3, 3, 10, 0.9) 100%),
            radial-gradient(ellipse 85% 55% at 15% 25%, rgba(139, 92, 246, 0.24), transparent 52%),
            radial-gradient(ellipse 70% 45% at 88% 72%, rgba(236, 72, 153, 0.16), transparent 48%),
            radial-gradient(ellipse 50% 40% at 50% 100%, rgba(245, 158, 11, 0.07), transparent 45%),
            linear-gradient(180deg, #07070f 0%, var(--bg2) 42%, #06060d 100%);
    }
    :root[data-theme="light"] .flash-deals {
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(241, 245, 249, 0.96) 50%, rgba(238, 242, 247, 0.98) 100%),
            radial-gradient(ellipse 80% 50% at 18% 22%, rgba(139, 92, 246, 0.14), transparent 52%),
            radial-gradient(ellipse 65% 45% at 85% 78%, rgba(236, 72, 153, 0.1), transparent 48%),
            linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #eef2f7 100%);
    }
}
:root[data-theme="light"] .deals-blob--1 {
  opacity: 0.02;
}
:root[data-theme="light"] .deals-blob--2 {
    opacity: 0.07;
}
:root[data-theme="light"] .time-block span {
    color: #0f172a;
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        inset 0 1px 0 #fff,
        0 10px 28px rgba(15, 23, 42, 0.08);
}
:root[data-theme="light"] .time-sep {
    color: rgba(91, 33, 182, 0.35);
}
:root[data-theme="light"] .deals-badge {
    color: #5b21b6;
    background: linear-gradient(135deg, rgba(237, 233, 254, 0.95) 0%, rgba(250, 245, 255, 0.92) 50%, rgba(252, 231, 243, 0.88) 100%);
    border-color: rgba(139, 92, 246, 0.38);
    box-shadow:
        inset 0 1px 0 #fff,
        0 4px 16px rgba(91, 33, 182, 0.08);
}
:root[data-theme="light"] .deals-badge__pulse {
    background: #db2777;
    animation: dealsLivePulseLight 2.2s ease-out infinite;
}
:root[data-theme="light"] .review-alert--success {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}
:root[data-theme="light"] .review-alert--error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}
:root[data-theme="light"] .review-write-toggle {
    color: #6d28d9;
    border-color: rgba(109, 40, 217, 0.35);
    background: rgba(139, 92, 246, 0.08);
}
:root[data-theme="light"] .review-write-toggle:hover {
    background: rgba(139, 92, 246, 0.14);
}
:root[data-theme="light"] .review-form {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
}
:root[data-theme="light"] .review-form__control {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.2);
    color: #0f172a;
}
:root[data-theme="light"] .review-form__label {
    color: #0f172a;
}
:root[data-theme="light"] .review-form__textarea::placeholder {
    color: #64748b;
}
:root[data-theme="light"] .review-seller-response {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .review-seller-response strong {
    color: #6d28d9;
}
:root[data-theme="light"] .review-seller-response p {
    color: #1e293b;
}
:root[data-theme="light"] .reviews-list .review-card {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}
:root[data-theme="light"] .reviews-list .review-card:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    border-color: rgba(139, 92, 246, 0.28);
}
:root[data-theme="light"] .reviews-list .review-card.featured-review {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, #ffffff 55%);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 18px 48px rgba(139, 92, 246, 0.12);
}
:root[data-theme="light"] .reviews-list .review-card > p {
    border-left-color: rgba(139, 92, 246, 0.35);
    color: #334155;
}
:root[data-theme="light"] .reviews-list .review-badge {
    color: #92400e;
    border-color: rgba(217, 119, 6, 0.45);
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.5));
}
:root[data-theme="light"] .reviews-list .review-seller-response {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), #f8fafc);
    border-color: rgba(139, 92, 246, 0.22);
}
:root[data-theme="light"] .reviews-list .review-seller-response strong {
    color: #5b21b6;
}
:root[data-theme="light"] .reviews-list .review-seller-response p {
    color: #334155;
}
:root[data-theme="light"] .reviews-list .review-footer {
    border-top-color: rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
}

:root[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.78);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
:root[data-theme="light"] .navbar-kart {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
:root[data-theme="light"] .navbar-kart .nav-logo {
    background: linear-gradient(135deg, #6d28d9, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .nav-kart-topbar {
    background: linear-gradient(90deg, rgba(109, 40, 217, 0.08), rgba(236, 72, 153, 0.08));
    border-bottom-color: rgba(15, 23, 42, 0.09);
}
:root[data-theme="light"] .nav-kart-topbar__text,
:root[data-theme="light"] .nav-kart-topbar__links a {
    color: #334155;
}
:root[data-theme="light"] .nav-kart-topbar__highlight {
    color: #b45309;
}
:root[data-theme="light"] .nav-kart-topbar__links a:hover {
    color: #5b21b6;
}
:root[data-theme="light"] .nav-kart-search {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.16);
}
:root[data-theme="light"] .nav-kart-search__icon {
    color: #64748b;
}
:root[data-theme="light"] .nav-kart-search input {
    color: #0f172a;
}
:root[data-theme="light"] .nav-kart-search input::placeholder {
    color: #64748b;
}
:root[data-theme="light"] .nav-kart-search button {
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #db2777);
}
:root[data-theme="light"] .nav-kart-menu-wrap {
    border-top-color: rgba(255, 255, 255, 0.22);
    background: var(--gradient);
}
:root[data-theme="light"] .nav-kart-menu a {
    color: #ffffff;
}
:root[data-theme="light"] .nav-kart-menu a:hover,
:root[data-theme="light"] .nav-kart-menu li:hover > a,
:root[data-theme="light"] .nav-kart-menu li:focus-within > a {
    color: #ffffff;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
:root[data-theme="light"] .nav-kart-menu a[aria-current="page"] {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.24);
}

:root[data-theme="light"] .nav-links a:hover,
:root[data-theme="light"] .icon-btn:hover {
    color: #0f172a;
}

:root[data-theme="light"] .nav-login-btn {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5ff 100%);
    border-color: rgba(91, 33, 182, 0.45);
    color: #4c1d95;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .nav-login-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
}

:root[data-theme="light"] .cart-btn {
    color: #000000;
}
:root[data-theme="light"] .cart-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

:root[data-theme="light"] .cart-count,
:root[data-theme="light"] .nav-cart-dot {
    color: #0f172a;
}

:root[data-theme="light"] .nav-breadcrumb a:hover {
    color: #5b21b6;
}

:root[data-theme="light"] .nav-drawer__panel {
    background: #ffffff;
    box-shadow: 16px 0 40px rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .nav-drawer__user {
    background: #f1f5f9;
}
:root[data-theme="light"] .nav-drawer__links a:hover {
    background: #e2e8f0;
    color: #0f172a;
}
:root[data-theme="light"] .nav-menu-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

:root[data-theme="light"] .bg-scene,
:root[data-theme="light"] .hero-bg {
    opacity: 0.75;
}

:root[data-theme="light"] .grid-lines {
    opacity: 0.25;
}

:root[data-theme="light"] .loader-backdrop {
    background:
        radial-gradient(ellipse 90% 70% at 50% 42%, rgba(139, 92, 246, 0.12) 0%, transparent 58%),
        radial-gradient(circle at 18% 22%, rgba(236, 72, 153, 0.07) 0%, transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(139, 92, 246, 0.06) 0%, transparent 38%),
        radial-gradient(ellipse 120% 90% at 50% 100%, rgba(15, 23, 42, 0.04) 0%, transparent 50%);
}

/* ===== Checkout flow (address → payment → review) ===== */
.checkout-page .page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.checkout-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 20px 0 28px;
    font-size: 0.92rem;
    font-weight: 600;
}
.checkout-step {
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.checkout-step[href="#"] {
    pointer-events: none;
    opacity: 0.45;
}
.checkout-step:not([href="#"]):hover {
    color: var(--primary-light);
}
.checkout-step.is-active {
    color: var(--white);
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.12);
}
.checkout-step-div {
    color: var(--text-dim);
    font-weight: 400;
    user-select: none;
}
.checkout-flash {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.92rem;
}
.checkout-flash--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 960px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-side {
        order: -1;
    }
}
.checkout-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px 22px 28px;
}
.checkout-panel-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--white);
}
.checkout-panel-hint {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 22px;
    line-height: 1.5;
}
.checkout-empty-hint {
    color: var(--text-muted);
    margin-bottom: 16px;
}
.checkout-subhead {
    font-size: 1rem;
    font-weight: 700;
    margin: 20px 0 12px;
    color: var(--white);
}
.checkout-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-bottom: 8px;
}
.checkout-address-grid--empty {
    grid-template-columns: minmax(260px, 360px);
}
.checkout-addr-tile-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.checkout-addr-tile {
    display: block;
    position: relative;
    margin: 0;
    padding: 18px 16px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.28);
    background: var(--card2);
    cursor: pointer;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}
.checkout-addr-tile:hover {
    border-color: rgba(139, 92, 246, 0.45);
}
.checkout-addr-tile--default {
    border-color: rgba(139, 92, 246, 0.38);
}
.checkout-addr-tile:has(.checkout-addr-tile-radio:checked) {
    border-color: rgba(139, 92, 246, 0.75);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35);
    background: color-mix(in srgb, var(--primary) 10%, var(--card2));
}
.checkout-addr-tile-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}
.checkout-addr-tile-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.checkout-addr-tile-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}
.checkout-addr-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}
:root[data-theme="light"] .checkout-addr-type-pill {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.2);
}
.checkout-addr-default-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--success);
}
.checkout-addr-tile-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}
.checkout-addr-tile-text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.checkout-addr-tile-text--line2 {
    margin-top: -4px;
}
.checkout-addr-tile-phone {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.checkout-addr-tile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 2px;
}
.checkout-addr-edit-btn,
.checkout-addr-del-btn {
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 99px;
    cursor: pointer;
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
}
.checkout-addr-edit-btn {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
}
.checkout-addr-edit-btn:hover {
    border-color: rgba(139, 92, 246, 0.45);
    color: var(--primary-light);
}
.checkout-addr-del-btn {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: transparent;
    color: #f87171;
}
.checkout-addr-del-btn:hover {
    border-color: rgba(239, 68, 68, 0.55);
    color: #fecaca;
}
:root[data-theme="light"] .checkout-addr-del-btn {
    color: #dc2626;
}
:root[data-theme="light"] .checkout-addr-del-btn:hover {
    color: #991b1b;
}
.checkout-addr-add-tile {
    min-height: 188px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    transition:
        border-color 0.2s,
        background 0.2s,
        color 0.2s;
    padding: 24px 16px;
}
.checkout-addr-add-tile:hover {
    border-color: rgba(139, 92, 246, 0.45);
    background: color-mix(in srgb, var(--primary) 6%, var(--card));
    color: var(--text);
}
.checkout-addr-add-tile-plus {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text-dim);
}
.checkout-addr-form-footer {
    margin-top: 22px;
    padding-top: 4px;
}
.checkout-btn-primary {
    margin-top: 8px;
}
.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.checkout-form-grid .form-field-span2 {
    grid-column: 1 / -1;
}
.checkout-form-grid .form-field-checkbox {
    grid-column: 1 / -1;
}
.checkout-inline-form .optional {
    color: var(--text-dim);
    font-weight: 400;
}
.payment-method-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}
.payment-method-cards--three {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
@media (max-width: 560px) {
    .payment-method-cards {
        grid-template-columns: 1fr;
    }
}
.payment-method-card {
    cursor: pointer;
    display: block;
}
.payment-method-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.payment-method-card-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card2);
    height: 100%;
    transition: border-color 0.2s, background 0.2s;
}
.payment-method-card:has(input:checked) .payment-method-card-inner {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(139, 92, 246, 0.14);
    background: color-mix(in srgb, var(--primary) 16%, var(--card2));
}
.pm-icon {
    font-size: 1.5rem;
}
.pm-title {
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}
.pm-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.card-fields-wrap,
.upi-fields-wrap,
.cod-fields-wrap {
    margin-bottom: 20px;
}
.cod-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.checkout-security-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin: 12px 0 0;
    line-height: 1.45;
}
.checkout-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
}
.checkout-actions-row--final {
    margin-top: 24px;
}
.review-block {
    margin-bottom: 22px;
}
.review-block .review-card {
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card2);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.review-strong {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
    min-width: 200px;
}
.checkout-review-items {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card2);
}
.checkout-review-line {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.checkout-review-line:last-child {
    border-bottom: none;
}
.cri-emoji {
    font-size: 1.35rem;
}
.cri-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cri-info strong {
    color: var(--white);
    font-weight: 600;
}
.cri-variant {
    font-size: 0.82rem;
    color: var(--text-dim);
}
.cri-qty {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.cri-price {
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}
.checkout-side-card {
    position: sticky;
    top: 96px;
}
.checkout-btn.checkout-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-items-col{
    padding: 0;
}

@media (max-width: 768px) {
    .cart-page .page-header {
        margin: 20px 0 18px;
        gap: 10px;
    }
    .cart-page .page-header h1 {
        font-size: 1.4rem;
        line-height: 1.25;
    }
    .cart-page .count-badge {
        font-size: 0.78rem;
    }
    .cart-page .continue-link {
        font-size: 0.82rem;
    }
    .cart-page .cart-layout {
        gap: 18px;
    }
    .cart-page .cart-item {
        display: grid;
        grid-template-columns: auto 76px minmax(0, 1fr);
        gap: 10px 12px;
        align-items: start;
        width: 100%;
    }
    .cart-page .item-check {
        padding-top: 2px;
    }
    .cart-page .item-image {
        width: 76px;
        height: 76px;
        font-size: 2.1rem;
    }
    .cart-page .item-details {
        min-width: 0;
    }
    .cart-page .item-name {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    .cart-page .item-variants {
        margin-bottom: 8px;
        gap: 6px;
    }
    .cart-page .item-actions {
        margin-top: 8px;
    }
    .cart-page .delivery-info {
        flex-wrap: wrap;
        margin-top: 8px;
    }
    .cart-page .summary-card {
        border-radius: 14px;
    }
}

@media (max-width: 520px) {
    .cart-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .cart-page .select-bar,
    .cart-page .summary-card,
    .cart-page .offers-box {
        border-radius: 12px;
    }
    .cart-page .remove-selected {
        width: 100%;
        text-align: left;
    }
    .cart-page .cart-item {
        grid-template-columns: auto 68px minmax(0, 1fr);
        padding: 12px;
    }
    .cart-page .item-image {
        width: 68px;
        height: 68px;
        font-size: 1.85rem;
    }
    .cart-page .item-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .cart-page .qty-ctrl {
        width: 100%;
        max-width: fit-content;
    }
    .cart-page .action-link {
        width: 100%;
        justify-content: flex-start;
        padding: 4px 0;
    }
    .cart-page .coupon-tags {
        gap: 6px;
    }
    .cart-page .ctag {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
}

@media (max-width: 768px) {
    .profile-page .profile-sidebar {
        width: 100%;
    }
    .profile-page .sidebar-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
    }
    .profile-page .smenu-item {
        min-width: 0;
        justify-content: flex-start;
        gap: 8px;
        padding: 9px 12px;
        font-size: 0.84rem;
        white-space: normal;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.02);
    }
    .profile-page .smenu-item svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    .profile-page .smenu-item.active {
        border-color: rgba(139, 92, 246, 0.45);
    }
    .profile-page .sidebar-divider {
        display: block;
        grid-column: 1 / -1;
        margin: 2px 0;
    }
}

@media (max-width: 460px) {
    .profile-page .sidebar-menu {
        grid-template-columns: 1fr;
    }
    .profile-page .smenu-item {
        font-size: 0.83rem;
    }
}

/* =========================================
   Static / legal pages (theme-2 about + legal parity)
   ========================================= */
/* Sticky `.static-aside`: root `overflow-x: hidden|clip` on html/body breaks `position:sticky` in Chromium. */
html:has(body.static-page) {
    overflow-x: visible;
}
body.static-page {
    overflow-x: visible;
}

.static-page {
    background:
        radial-gradient(900px 420px at 95% -12%, rgba(238, 64, 61, 0.1), transparent 58%),
        radial-gradient(780px 360px at 0% 12%, rgba(15, 23, 42, 0.04), transparent 54%),
        linear-gradient(180deg, #fcfdff 0%, #ffffff 32%, #f8fafc 100%);
    color: #334155;
    padding-top: 0;
}

.static-hero {
    position: relative;
    padding: 34px 0 26px;
    margin-bottom: 28px;
    overflow: hidden;
    text-align: left;
}

.static-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        radial-gradient(ellipse 75% 60% at 90% -8%, rgba(238, 64, 61, 0.2), transparent 58%);
    pointer-events: none;
}

.static-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    max-width: none;
    margin: 0;
}

.static-hero-copy {
    min-width: 0;
}

.static-kicker {
    margin: 0 0 9px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ee403d;
}

.static-title {
    margin: 0 0 14px;
    font-size: clamp(1.95rem, 4.3vw, 2.65rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.static-lead {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.72;
    color: #64748b;
    max-width: 62ch;
}

.static-wrap {
    padding-bottom: 0;
}

.static-wrap .static-breadcrumb {
    margin-top: 6px;
    margin-bottom: 24px;
}

.static-breadcrumb {
    font-size: 13px;
    color: #64748b;
}

.static-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.static-breadcrumb a:hover {
    color: #ee403d;
}

.static-breadcrumb span.current {
    color: #ee403d;
    font-weight: 600;
}

.static-content-wrap {
    display: grid;
    grid-template-columns: minmax(228px, 30%) 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 0;
}

.static-aside {
    position: sticky;
    top: 108px;
    align-self: start;
    z-index: 2;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.06);
    padding: 16px;
    overflow: visible;
}

.static-aside::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #8c5bf4, #ea499c);
}

.aside-title {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--primary-light);
}

.static-toc {
    list-style: none;
    margin: 0;
    padding: 0;
}

.static-toc li {
    margin-bottom: 8px;
}

.static-toc li:last-child {
    margin-bottom: 0;
}

.static-toc a {
    display: block;
    padding: 9px 11px;
    border: 1px solid #e7edf5;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.static-toc a:hover {
    border-color: rgba(238, 64, 61, 0.28);
    background: rgba(238, 64, 61, 0.08);
    color: #ee403d;
    transform: translateX(2px);
}

.static-article {
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(2, 6, 23, 0.06);
    padding: 32px;
}

.static-meta {
    margin: 0 0 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5edf4;
    font-size: 0.84rem;
    color: #64748b;
}

.static-section {
    scroll-margin-top: 20px;
    padding: 10px 0;
}

.static-section h2 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.static-section h2::before {
    display: none;
}

.static-section + .static-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf1f5;
}

.static-p {
    margin: 0 0 14px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
}

.static-p:last-child {
    margin-bottom: 0;
}

.static-list {
    margin: 0 0 14px;
    padding-left: 1.2rem;
    color: #475569;
    list-style: disc;
}

.static-list li {
    margin-bottom: 10px;
    line-height: 1.62;
    padding-left: 0;
}

.static-list li::before {
    display: none;
}

.static-list li:last-child {
    margin-bottom: 0;
}

.static-link {
    color: #475569;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(238, 64, 61, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.static-link:hover {
    color: #ee403d;
}

@media (max-width: 1000px) {
    .static-content-wrap {
        grid-template-columns: 1fr;
    }

    .static-aside {
        position: static;
    }
}

@media (max-width: 768px) {
    .static-article {
        padding: 22px 18px;
    }
}
.about-breadcrumb {
    margin: 8px 0 16px;
    color: var(--text-dim);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }
  .about-breadcrumb a {
    color: var(--primary-light);
  }
  .about-breadcrumb span {
    margin: 0 6px;
    color: var(--text-dim);
  }
  .about-hero {
    border: 1px solid var(--border);
    background:
      radial-gradient(ellipse at top right, rgba(236, 72, 153, 0.14), transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(139, 92, 246, 0.16), transparent 55%),
      var(--card);
    border-radius: var(--radius-xl);
    padding: clamp(22px, 3vw, 34px);
    margin-bottom: 20px;
  }
  .about-hero h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
  }
  .about-hero p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 68ch;
  }
  .about-stats {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .about-stat {
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    padding: 12px;
  }
  .about-stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
  }
  .about-stat span {
    font-size: 0.82rem;
    color: var(--text-muted);
  }
  .about-panel {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 14px;
  }
  .about-panel h3 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 1rem;
  }
  .about-panel p,
  .about-panel li {
    color: var(--text-muted);
    line-height: 1.75;
  }
  .about-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
  }
  .about-pill-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  }
  .about-pill-card h4 {
    margin: 0 0 6px;
    color: var(--white);
    font-size: 0.98rem;
  }
  .about-pill-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
  }
  .about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
  }
  .about-team-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: var(--card2);
  }
  .about-team-card strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
  }
  .about-team-card span {
    color: var(--text-muted);
    font-size: 0.84rem;
  }
  .about-testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
  }
  .about-quote {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: var(--card);
  }
  .about-quote p {
    margin: 0 0 10px;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.9rem;
  }
  .about-quote strong {
    color: var(--white);
    font-size: 0.88rem;
  }
  .about-contact-cta {
    margin-top: 16px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: linear-gradient(155deg, rgba(16, 185, 129, 0.14), rgba(139, 92, 246, 0.12));
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .about-contact-cta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  @media (max-width: 860px) {
    .about-stats {
      grid-template-columns: 1fr;
    }
    .about-grid-3,
    .about-team-grid,
    .about-testimonials {
      grid-template-columns: 1fr;
    }
    .about-contact-cta {
      flex-direction: column;
      align-items: flex-start;
    }
  }