/* ============================================================
   NANO QUETTA — GLOBAL STYLES (Batch 1)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- THEME TOKENS ---------- */
:root {
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --container: 1320px;
    --header-h: 72px;
    --navbar-h: 56px;
}

/* Light theme (default) */
:root[data-theme="light"] {
    --bg:            #ffffff;
    --bg-alt:        #f7f8fa;
    --bg-soft:       #f2f3f7;
    --bg-elevated:   #ffffff;
    --surface:       #ffffff;
    --surface-2:     #f7f8fa;
    --surface-3:     #eef0f5;

    --text:          #0a0a15;
    --text-2:        #3a3d4d;
    --text-muted:    #6b6f80;
    --text-faint:    #9a9dab;

    --border:        #e6e8ee;
    --border-2:      #d5d8e0;

    --primary:       #2563eb;
    --primary-h:     #1d4ed8;
    --primary-soft:  #eff4ff;
    --primary-ring:  rgba(37, 99, 235, 0.15);

    --dark:          #0b0d17;
    --dark-2:        #1a1d2e;

    --success:       #059669;
    --success-soft:  #ecfdf5;
    --danger:        #dc2626;
    --danger-soft:   #fef2f2;
    --warning:       #d97706;
    --warning-soft:  #fffbeb;

    --star:          #f59e0b;

    --shadow-xs: 0 1px 2px rgba(10,10,20,0.04);
    --shadow-sm: 0 2px 8px rgba(10,10,20,0.06);
    --shadow:    0 4px 16px rgba(10,10,20,0.08);
    --shadow-lg: 0 12px 40px rgba(10,10,20,0.12);
    --shadow-xl: 0 24px 60px rgba(10,10,20,0.15);
}

/* Dark theme */
:root[data-theme="dark"] {
    --bg:            #0b0d17;
    --bg-alt:        #0f1220;
    --bg-soft:       #141828;
    --bg-elevated:   #171b2c;
    --surface:       #11141f;
    --surface-2:     #171b2c;
    --surface-3:     #1e2235;

    --text:          #f5f6fa;
    --text-2:        #c8cbd8;
    --text-muted:    #8b8fa0;
    --text-faint:    #5a5e72;

    --border:        #232637;
    --border-2:      #2e3147;

    --primary:       #3b82f6;
    --primary-h:     #60a5fa;
    --primary-soft:  rgba(59, 130, 246, 0.14);
    --primary-ring:  rgba(59, 130, 246, 0.3);

    --dark:          #ffffff;
    --dark-2:        #e8eaf2;

    --success:       #10b981;
    --success-soft:  rgba(16, 185, 129, 0.12);
    --danger:        #ef4444;
    --danger-soft:   rgba(239, 68, 68, 0.12);
    --warning:       #f59e0b;
    --warning-soft:  rgba(245, 158, 11, 0.12);

    --star:          #fbbf24;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
    --shadow:    0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.6);
}


/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ---------- LAYOUT ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.site-main { flex: 1; padding-bottom: 80px; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 8px;
}
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    line-height: 1.2;
}
.btn:hover {
    border-color: var(--border-2);
    background: var(--surface-2);
    transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}
.btn:disabled:hover { transform: none; }

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

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--bg);
}
.btn-dark:hover { background: var(--dark-2); border-color: var(--dark-2); }

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

.btn-success { background: var(--success); border-color: var(--success); color: #fff; }

.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }

.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- FORM CONTROLS ---------- */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    transition: all 0.15s;
}
.form-control::placeholder { color: var(--text-faint); }
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-ring);
}
textarea.form-control { min-height: 100px; resize: vertical; line-height: 1.6; }

/* ---------- FLASH MESSAGES ---------- */
.flash {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.4s;
}
.flash-success { background: var(--success-soft); color: var(--success); border-bottom: 1px solid var(--success); }
.flash-error   { background: var(--danger-soft); color: var(--danger); border-bottom: 1px solid var(--danger); }
.flash-info    { background: var(--primary-soft); color: var(--primary); border-bottom: 1px solid var(--primary); }

/* ---------- HEADER ---------- */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.2s, border-color 0.2s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 28px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    flex-shrink: 0;
}
.logo-mark {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .main { font-size: 19px; font-weight: 800; color: var(--text); }
.logo-text .sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Search bar */
.search-bar {
    flex: 1;
    max-width: 640px;
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    border-radius: 999px;
    padding: 5px 5px 5px 22px;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 48px;
}
.search-bar:focus-within {
    border-color: var(--dark);
    box-shadow: 0 0 0 4px rgba(10,10,30,0.06);
}
.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text);
    outline: none;
}
.search-bar input::placeholder { color: var(--text-faint); }
.search-bar .search-btn {
    width: 38px;
    height: 38px;
    background: var(--dark);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}
.search-bar .search-btn:hover { background: var(--dark-2); transform: scale(1.05); }
.search-bar .search-btn svg { width: 16px; height: 16px; }

/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.hdr-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--text);
    font-size: 13px;
    transition: background 0.15s;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    position: relative;
}
.hdr-link:hover { background: var(--surface-2); }
.hdr-link svg { width: 18px; height: 18px; color: var(--text-2); flex-shrink: 0; }
.hdr-link .label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.hdr-link .label .top { font-size: 11px; color: var(--text-muted); }
.hdr-link .label .bot { font-size: 13px; font-weight: 600; color: var(--text); }

.hdr-icon-btn {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-2);
    transition: background 0.15s, color 0.15s;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}
.hdr-icon-btn:hover { background: var(--surface-2); color: var(--text); }
.hdr-icon-btn svg { width: 20px; height: 20px; }

/* Cart with count */
.cart-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.15s;
    cursor: pointer;
    position: relative;
}
.cart-link:hover { background: var(--surface-2); }
.cart-icon-wrap {
    position: relative;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
}
.cart-icon-wrap svg { width: 22px; height: 22px; color: var(--text); }
.cart-badge {
    position: absolute;
    top: -4px; right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
}
.cart-info { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cart-info .cart-label { font-size: 11px; color: var(--text-muted); }
.cart-info .cart-total { font-size: 13px; font-weight: 700; color: var(--text); }

/* Category nav bar (bottom of header) */
.cat-nav {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: var(--header-h);
    z-index: 99;
}
.cat-nav-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    height: var(--navbar-h);
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: all 0.15s;
    cursor: pointer;
}
.cat-pill:hover { background: var(--surface-2); color: var(--text); }
.cat-pill.active {
    background: var(--surface-3);
    color: var(--text);
    font-weight: 600;
    border-color: var(--border);
}
.cat-pill.promo {
    color: var(--danger);
    font-weight: 600;
}
.cat-pill.promo:hover { background: var(--danger-soft); }

.cat-pill .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--dark);
    color: #a8adbd;
    padding: 64px 0 32px;
    margin-top: auto;
}
:root[data-theme="dark"] .site-footer {
    background: #05060d;
    color: #8085a0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.4fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-col h5 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
:root[data-theme="dark"] .footer-col h5 { color: #e5e7ef; }

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
    font-size: 13.5px;
    color: #8b8fa3;
    transition: color 0.15s;
}
:root[data-theme="dark"] .footer-col a { color: #6b6f80; }
.footer-col a:hover { color: #fff; }
:root[data-theme="dark"] .footer-col a:hover { color: #e5e7ef; }

.footer-apps {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}
.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #1a1d2b;
    border: 1px solid #232637;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.app-btn:hover { background: #232637; border-color: #2e3147; }
.app-btn svg { width: 16px; height: 16px; }

.footer-connect {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6f80;
    margin: 24px 0 14px;
}
.footer-socials {
    display: flex;
    gap: 8px;
}
.social-btn {
    width: 34px; height: 34px;
    background: #1a1d2b;
    border: 1px solid #232637;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.social-btn:hover { background: #232637; border-color: #2e3147; transform: translateY(-2px); }
.social-btn svg { width: 15px; height: 15px; color: #fff; }

.footer-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin-top: 8px;
}
.footer-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #8b8fa3;
}
:root[data-theme="dark"] .footer-feature { color: #6b6f80; }
.footer-feature svg { width: 16px; height: 16px; color: #5a86ff; flex-shrink: 0; margin-top: 1px; }

.footer-bottom {
    border-top: 1px solid #1a1d2b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: #6b6f80;
}

/* ---------- UTILITIES ---------- */
.divider { height: 1px; background: var(--border); }
.hidden { display: none !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .search-bar { display: none; }
    .hdr-link .label { display: none; }
    .cart-info { display: none; }
    .cat-dd-grid { grid-template-columns: 1fr; }
    .cat-dropdown { min-width: 340px; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    h1 { font-size: 32px; }
    .section-title { font-size: 26px; }
    .header-inner { gap: 12px; }
    .logo-text .sub { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .hdr-icon-btn[data-hide-mobile] { display: none; }
}
/* ---------- LANGUAGE / CURRENCY DROPDOWN ---------- */
.langcur-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: none;
    z-index: 300;
}
.langcur-dropdown.open { display: block; }

.langcur-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}
.langcur-tab {
    flex: 1;
    padding: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.15s, background 0.15s;
    border-bottom: 2px solid transparent;
}
.langcur-tab:hover { color: var(--text); background: var(--surface-3); }
.langcur-tab.active {
    color: var(--primary);
    background: var(--surface);
    border-bottom-color: var(--primary);
}

.langcur-panel { display: none; max-height: 340px; overflow-y: auto; padding: 8px; }
.langcur-panel.active { display: block; }

.langcur-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    color: var(--text);
    transition: background 0.15s;
}
.langcur-item:hover { background: var(--surface-2); }
/* ============================================================
   HOMEPAGE — BATCH 2
   ============================================================ */

/* ---------- HERO SLIDER ---------- */
.hero-slider {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: #0b0d17;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }

.hero-content {
    color: #fff;
    max-width: 620px;
    padding-top: 20px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 24px;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: 54px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.18s;
}
.btn-hero-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37,99,235,0.4);
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 28px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.18s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.hero-foot { display: flex; gap: 16px; }
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 12px;
    color: #fff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.18s;
    cursor: pointer;
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.08); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-dot {
    width: 32px;
    height: 4px;
    background: rgba(255,255,255,0.35);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active { background: #fff; width: 48px; }

/* ---------- INDUSTRY SECTION ---------- */
.industry-section {
    padding: 72px 0 56px;
    background: var(--bg);
}
.industry-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.industry-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}
.industry-viewall:hover { color: var(--primary-h); }

.industry-scroller {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}
.industry-scroller::-webkit-scrollbar { display: none; }

.industry-track {
    display: flex;
    gap: 28px;
    padding: 4px 2px;
    animation: slideIndustry 40s linear infinite;
    width: max-content;
}
@keyframes slideIndustry {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.industry-scroller:hover .industry-track { animation-play-state: paused; }

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    width: 108px;
    cursor: pointer;
    transition: transform 0.25s;
}
.industry-card:hover { transform: translateY(-6px); }
.industry-orb {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -6px 14px rgba(0,0,0,0.06), 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.25s;
    position: relative;
}
.industry-card:hover .industry-orb { box-shadow: inset 0 -6px 14px rgba(0,0,0,0.1), 0 16px 32px rgba(0,0,0,0.12); }
.industry-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    text-align: center;
}

/* ---------- FEATURE STRIP ---------- */
.feature-strip {
    padding: 24px 0 56px;
    background: var(--bg);
}
.feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.2s;
}
.feature-card:hover {
    border-color: var(--border-2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.feature-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.4;
}

/* ---------- PRODUCT COLLECTION ---------- */
.collection-section {
    padding: 32px 0 80px;
    background: var(--bg);
}
.collection-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.collection-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.coll-tab {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
}
.coll-tab:hover { border-color: var(--border-2); color: var(--text); }
.coll-tab.active {
    background: var(--dark);
    color: var(--bg);
    border-color: var(--dark);
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.prod-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
}
.prod-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-2);
    box-shadow: 0 20px 40px rgba(10,10,30,0.1);
}

.prod-thumb {
    position: relative;
    aspect-ratio: 4/3;
    background: #f2f3f7;
    overflow: hidden;
    display: block;
}
:root[data-theme="dark"] .prod-thumb { background: #171b2c; }

.prod-window-bar {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 3;
    padding: 5px 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.prod-window-bar .dot { width: 7px; height: 7px; border-radius: 50%; }

.prod-badge-tl {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 999px;
    z-index: 4;
}
.prod-badge-tl.new { background: #2563eb; }
.prod-badge-tl.top { background: #2563eb; }
.prod-badge-tl.deal { background: #2563eb; }

.prod-badge-disc {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: #0b0d17;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    z-index: 4;
}

.prod-mockup {
    position: absolute;
    inset: 40px 24px 12px 24px;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    transition: transform 0.35s;
}
.prod-card:hover .prod-mockup { transform: translateY(-4px) scale(1.02); }

.mock-line {
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 4px;
}
.mock-line-sm {
    height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 3px;
    width: 90%;
}
.mock-block {
    height: 34px;
    border-radius: 6px;
    margin: 4px 0;
    opacity: 0.9;
}

.prod-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.prod-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.prod-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.prod-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.prod-price-old {
    font-size: 12.5px;
    color: var(--text-faint);
    text-decoration: line-through;
}
.prod-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    align-self: flex-start;
}

.prod-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 8px;
}
.prod-sold {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.prod-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
}
.prod-rating .stars {
    color: #f59e0b;
    font-size: 11px;
    letter-spacing: -1px;
}
.prod-rating .rev { color: var(--text-faint); }

.prod-cart-btn {
    width: 36px;
    height: 36px;
    background: var(--dark);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.prod-cart-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

/* ---------- LOAD MORE ---------- */
.load-more-wrap { display: flex; justify-content: center; margin-top: 8px; }
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-load-more:hover {
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.btn-load-more:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- CHAT FAB ---------- */
.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(37,99,235,0.4);
    z-index: 90;
    transition: all 0.2s;
}
.chat-fab:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37,99,235,0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .hero-slider { height: 480px; }
    .hero-content h1 { font-size: 38px; }
    .feature-row { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .hero-slider { height: 520px; }
    .hero-content h1 { font-size: 30px; }
    .hero-content p { font-size: 14px; }
    .hero-arrow { display: none; }
    .feature-row { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .chat-fab { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 13px; }
}
/* ============================================================
   HOMEPAGE — BATCH 2
   ============================================================ */

/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #0b0d17;
  margin: 20px 24px 0;
  border-radius: 24px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide-1 {
  background-image:
    linear-gradient(100deg, rgba(15,20,35,0.85) 0%, rgba(15,20,35,0.35) 55%, rgba(15,20,35,0.15) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80');
}
.hero-slide-2 {
  background-image:
    linear-gradient(100deg, rgba(15,20,35,0.85) 0%, rgba(15,20,35,0.35) 55%, rgba(15,20,35,0.15) 100%),
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1600&q=80');
}
.hero-slide-3 {
  background-image:
    linear-gradient(100deg, rgba(15,20,35,0.85) 0%, rgba(15,20,35,0.35) 55%, rgba(15,20,35,0.15) 100%),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1600&q=80');
}

.hero-content { padding: 0 60px; max-width: 700px; color: #fff; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero-tag svg { width: 13px; height: 13px; }
.hero-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero-content p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin-bottom: 34px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.18s;
}
.btn-hero-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-hero-primary svg { width: 16px; height: 16px; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 30px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.18s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.hero-footer { display: flex; align-items: center; gap: 20px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 32px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active { background: #fff; width: 48px; }

.hero-price-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
}

.hero-arrow {
  position: absolute;
  bottom: 32px;
  right: 90px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.18s;
  cursor: pointer;
}
.hero-arrow.next { right: 32px; }
.hero-arrow:hover { background: rgba(255,255,255,0.28); }
.hero-arrow svg { width: 20px; height: 20px; }

/* ---------- INDUSTRY ---------- */
.industry-section { padding: 56px 0 40px; background: #fff; }
.industry-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.industry-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 12px;
}
.industry-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a0a15;
}
.industry-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}
.industry-viewall svg { width: 16px; height: 16px; }

.industry-scroller { overflow: hidden; padding: 4px 0; }
.industry-track {
  display: flex;
  gap: 20px;
  animation: slideIndustry 50s linear infinite;
  width: max-content;
}
@keyframes slideIndustry {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.industry-scroller:hover .industry-track { animation-play-state: paused; }

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  width: 108px;
  cursor: pointer;
  transition: transform 0.25s;
}
.industry-card:hover { transform: translateY(-6px); }
.industry-orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f2f3f7;
  box-shadow: 0 4px 14px rgba(10,10,30,0.06);
}
.industry-orb img { width: 100%; height: 100%; object-fit: cover; }
.industry-name { font-size: 13px; font-weight: 500; color: #3a3d4d; text-align: center; }

/* ---------- FEATURE STRIP ---------- */
.feature-strip { padding: 8px 0 56px; background: #fff; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  transition: all 0.2s;
}
.feature-card:hover { border-color: #d5d8e0; box-shadow: 0 4px 16px rgba(10,10,20,0.06); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff4ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-title { font-size: 14px; font-weight: 700; color: #0a0a15; line-height: 1.3; }
.feature-sub { font-size: 12px; color: #6b6f80; margin-top: 3px; }

/* ---------- COLLECTION ---------- */
.collection-section { padding: 8px 0 80px; background: #fff; }
.collection-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 12px;
}
.collection-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a0a15;
  margin-bottom: 16px;
}
.collection-note {
  font-size: 13px;
  color: #6b6f80;
  line-height: 1.55;
  max-width: 620px;
  margin-bottom: 28px;
}
.collection-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.collection-shoplink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.collection-shoplink svg { width: 14px; height: 14px; }

.collection-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.coll-tab {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #e6e8ee;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3a3d4d;
  cursor: pointer;
  transition: all 0.15s;
}
.coll-tab:hover { border-color: #d5d8e0; color: #0a0a15; }
.coll-tab.active { background: #0b0d17; color: #fff; border-color: #0b0d17; }

/* ---------- PRODUCT GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.prod-card {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.prod-card:hover { transform: translateY(-6px); border-color: #d5d8e0; box-shadow: 0 20px 40px rgba(10,10,30,0.1); }

.prod-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f2f3f7;
    overflow: hidden;
    padding: 0;
}
.prod-badge-tl {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  z-index: 4;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}
.prod-badge-tl.top { background: #2563eb; }
.prod-badge-tl.deal { background: #2563eb; }
.prod-badge-tl.new { background: #2563eb; }
.prod-badge-tl::after {
  content: '';
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
}
.prod-badge-disc {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  background: #0b0d17;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  z-index: 4;
}
.prod-mockup {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    padding: 0;
}
.prod-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* When mockup contains generated content (not real image), restore padding */
.prod-mockup:not(:has(img)) {
    inset: 40px 22px 14px 22px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.mock-line { height: 7px; background: rgba(255,255,255,0.75); border-radius: 3px; }
.mock-line-sm { height: 5px; background: rgba(255,255,255,0.55); border-radius: 3px; width: 80%; }
.mock-block { height: 30px; border-radius: 6px; margin: 4px 0; opacity: 0.95; }
.mock-shapes { display: flex; gap: 6px; margin-top: auto; }
.mock-shape { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,0.7); }
.mock-shape-lg { height: 44px; border-radius: 8px; flex: 1; background: rgba(255,255,255,0.55); }

.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0a0a15;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.prod-prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prod-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #0a0a15;
  letter-spacing: -0.02em;
}
.prod-price-old { font-size: 12.5px; color: #9a9dab; text-decoration: line-through; }
.prod-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f2f3f7;
  color: #6b6f80;
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  align-self: flex-start;
}
.prod-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 4px;
  gap: 8px;
}
.prod-sold { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #6b6f80; margin-bottom: 3px; }
.prod-sold svg { width: 11px; height: 11px; color: #2563eb; }
.prod-rating { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.prod-rating .stars { color: #f59e0b; letter-spacing: -1.5px; font-size: 11px; }
.prod-rating .rev { color: #9a9dab; }
.prod-cart-btn {
  width: 34px;
  height: 34px;
  background: #0b0d17;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.prod-cart-btn:hover { background: #2563eb; transform: scale(1.08); }
.prod-cart-btn svg { width: 15px; height: 15px; }

/* ---------- CHAT FAB ---------- */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(37,99,235,0.4);
  z-index: 9998;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.chat-fab:hover { background: #1d4ed8; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37,99,235,0.5); }
.chat-fab svg { width: 20px; height: 20px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-content h1 { font-size: 52px; }
}
@media (max-width: 900px) {
  .hero-slider { height: 480px; }
  .hero-content h1 { font-size: 38px; }
  .hero-content { padding: 0 32px; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .hero-slider { margin: 12px 12px 0; height: 460px; border-radius: 16px; }
  .hero-content { padding: 0 24px; }
  .hero-content h1 { font-size: 30px; }
  .industry-title { font-size: 26px; }
  .collection-title { font-size: 28px; }
  .feature-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-arrow { display: none; }
}
/* ============================================================
   PRODUCT PAGE — BATCH 3
   ============================================================ */

/* ---------- BREADCRUMB ---------- */
.pdp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0 24px;
    font-size: 13px;
    color: var(--text-muted);
}
.pdp-breadcrumb a { color: var(--text-muted); }
.pdp-breadcrumb a:hover { color: var(--primary); }
.pdp-breadcrumb .current { color: var(--text); font-weight: 500; }

/* ---------- MAIN GRID ---------- */
.pdp-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.1fr 380px;
    gap: 40px;
    align-items: start;
}

/* ========== GALLERY ========== */
.pdp-gallery {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    position: sticky;
    top: 90px;
}
.pdp-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pdp-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    padding: 6px;
    cursor: pointer;
    transition: all 0.15s;
    overflow: hidden;
}
.pdp-thumb.active { border-color: var(--primary); background: var(--primary-soft); }
.pdp-thumb:hover { border-color: var(--border-2); }
.thumb-mock-mini {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.pdp-main { position: relative; }
.pdp-main-inner {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    position: relative;
    min-height: 420px;
}
:root[data-theme="dark"] .pdp-main-inner { background: #141828; }

.pdp-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 12px;
}
.pdp-window-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.pdp-window-url {
    margin-left: 12px;
    padding: 4px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11px;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
    max-width: 320px;
}

.pdp-mockup-large {
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    border-radius: 10px;
    padding: 32px 28px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.mock-hero-block {
    height: 60px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    width: 70%;
}
.mock-line-lg {
    height: 14px;
    background: rgba(255,255,255,0.8);
    border-radius: 6px;
    width: 55%;
}
.mock-line-md {
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 5px;
    width: 45%;
}
.mock-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: auto;
}
.mock-card-mini {
    height: 60px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
}

.pdp-devices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.pdp-dev-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
}
.pdp-dev-btn:hover { border-color: var(--border-2); }
.pdp-dev-btn.active {
    background: var(--dark);
    color: var(--bg);
    border-color: var(--dark);
}
.pdp-live-note {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
    text-align: right;
}

/* ========== INFO ========== */
.pdp-info { padding-top: 4px; }
.pdp-cat-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.pdp-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.15;
}
.pdp-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.pdp-rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-2);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.pdp-rating-line .stars { color: #f59e0b; letter-spacing: -1px; }
.pdp-rating-line strong { color: var(--text); font-weight: 700; }
.pdp-dot-sep { color: var(--text-faint); }
.pdp-sold-line {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
}

.pdp-sale-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #dc2626;
    color: #fff;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}
.pdp-sale-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pdp-sale-right strong { font-weight: 800; }

.pdp-price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.pdp-price-main {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1;
}
.pdp-save-badge {
    padding: 4px 10px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
}
:root[data-theme="dark"] .pdp-save-badge { background: rgba(220,38,38,0.12); }
.pdp-price-old {
    font-size: 16px;
    color: var(--text-faint);
    text-decoration: line-through;
}

.pdp-bulk-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pdp-overview-card {
    padding: 20px 22px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 20px;
}
.pdp-overview-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.pdp-overview-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.5;
}
.pdp-overview-list li::marker { color: var(--primary); }

.pdp-desc {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
}

/* ========== BUY BOX ========== */
.pdp-buybox {
    position: sticky;
    top: 90px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.pdp-soldby-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.pdp-soldby-name { color: var(--primary); font-weight: 600; }

.pdp-promises {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--surface-2);
    border-radius: 12px;
    margin-bottom: 20px;
}
.pdp-promise {
    display: flex;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-2);
    line-height: 1.4;
}
.pdp-promise strong { color: var(--text); font-weight: 600; display: block; font-size: 13px; }
.pdp-promise-sub { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.pdp-promise-icon { flex-shrink: 0; margin-top: 2px; }

.pdp-option-group { margin-bottom: 18px; }
.pdp-option-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.pdp-option-label strong { color: var(--text); font-weight: 600; }
.pdp-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pdp-chip {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
}
.pdp-chip:hover { border-color: var(--border-2); }
.pdp-chip.active {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

.pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.pdp-qty-btn {
    width: 34px;
    height: 34px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.15s;
}
.pdp-qty-btn:hover { border-color: var(--primary); color: var(--primary); }
#pdpQtyVal {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}
.pdp-qty-max {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
}

.pdp-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--text-muted);
}
.pdp-total-row strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
}

.pdp-demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.15s;
}
.pdp-demo-btn:hover { background: var(--surface-2); border-color: var(--border-2); }

.pdp-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.15s;
}
.pdp-buy-btn:hover { background: #b91c1c; transform: translateY(-1px); }

.pdp-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-2);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.15s;
}
.pdp-add-btn:hover { border-color: var(--text); }

.pdp-owned-badge {
    padding: 12px;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.pdp-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}
.pdp-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ========== SPECIFICATIONS ========== */
.pdp-specs { padding: 72px 0 32px; }
.pdp-specs-table {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
}
.pdp-specs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}
.pdp-specs-row:last-child { border-bottom: none; }
.pdp-specs-cell {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    font-size: 14px;
}
.pdp-specs-cell:first-child { border-right: 1px solid var(--border); }
.pdp-specs-key { color: var(--text-muted); }
.pdp-specs-val { color: var(--text); font-weight: 500; text-align: right; }

.pdp-docs-title {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 18px;
    color: var(--text);
}
.pdp-doc-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    gap: 16px;
    flex-wrap: wrap;
}
.pdp-doc-left { display: flex; gap: 14px; align-items: flex-start; }
.pdp-doc-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pdp-doc-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}
.pdp-doc-dl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

/* ========== REVIEWS ========== */
.pdp-reviews { padding: 48px 0 32px; }
.pdp-reviews-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.pdp-reviews-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.pdp-avg { color: var(--text); }
.pdp-reviews-title .stars { color: #f59e0b; font-size: 20px; }
.pdp-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

.pdp-reviews-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.pdp-reviews-summary {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    height: fit-content;
}
.pdp-rev-avg {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.04em;
}
.pdp-rev-outof {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 20px;
}
.pdp-rev-bars { display: flex; flex-direction: column; gap: 10px; }
.pdp-rev-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}
.pdp-rev-bar-num { width: 10px; }
.pdp-rev-bar-track {
    flex: 1;
    height: 6px;
    background: var(--surface-3);
    border-radius: 3px;
    overflow: hidden;
}
.pdp-rev-bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 3px;
}
.pdp-rev-bar-count { width: 20px; text-align: right; }

.pdp-reviews-main { min-width: 0; }
.pdp-review-filters { margin-bottom: 24px; }
.pdp-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.pdp-fchip {
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
}
.pdp-fchip:hover { border-color: var(--border-2); }
.pdp-fchip.active {
    background: var(--dark);
    color: var(--bg);
    border-color: var(--dark);
}
.pdp-write-rev {
    margin-left: auto;
    color: var(--primary);
    font-size: 13.5px;
    font-weight: 600;
}

.pdp-review-item {
    display: flex;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}
.pdp-rev-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.pdp-rev-content { flex: 1; min-width: 0; }
.pdp-rev-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.pdp-rev-top strong { font-size: 14px; color: var(--text); }
.pdp-verified-badge {
    padding: 3px 9px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
}
.pdp-rev-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.pdp-rev-stars { color: #f59e0b; margin-bottom: 10px; letter-spacing: -2px; }
.pdp-rev-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2);
    margin-bottom: 14px;
}
.pdp-helpful {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
}
.pdp-helpful:hover { border-color: var(--border-2); color: var(--text); }

/* ========== RELATED ========== */
.pdp-related { padding: 32px 0 64px; }
.pdp-related-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .pdp-grid { grid-template-columns: 1fr 1fr; }
    .pdp-buybox { grid-column: 1 / -1; position: static; }
}
@media (max-width: 900px) {
    .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
    .pdp-gallery { position: static; }
    .pdp-specs-cell:first-child { border-right: none; border-bottom: 1px solid var(--border); }
    .pdp-specs-row { grid-template-columns: 1fr; }
    .pdp-reviews-body { grid-template-columns: 1fr; gap: 24px; }
    .pdp-price-main { font-size: 32px; }
}
@media (max-width: 640px) {
    .pdp-gallery { grid-template-columns: 1fr; }
    .pdp-thumbs { flex-direction: row; }
    .pdp-thumb { width: 56px; height: 56px; }
    .pdp-write-rev { margin-left: 0; }
}
/* ============================================================
   CART PAGE + HOVER DROPDOWN — BATCH 4
   ============================================================ */

/* ============ CART PAGE ============ */
.cart-page { padding: 40px 0 60px; }

.cart-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.cart-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
    line-height: 1;
}
.cart-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 4px;
    transition: color 0.15s;
}
.cart-clear:hover { color: var(--danger); }

/* Empty state */
.cart-empty {
    text-align: center;
    padding: 80px 20px;
    max-width: 480px;
    margin: 0 auto;
}
.cart-empty-icon {
    width: 90px;
    height: 90px;
    background: var(--surface-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--text-muted);
}
.cart-empty h2 {
    font-family: var(--font-display);
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text);
}
.cart-empty p { margin-bottom: 24px; }
.btn-primary-cart {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s;
}
.btn-primary-cart:hover { background: var(--primary-h); transform: translateY(-2px); }

/* Grid */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}
.cart-left { min-width: 0; }

/* ============ ITEM CARD ============ */
.cart-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: border-color 0.15s;
}
.cart-item:hover { border-color: var(--border-2); }

.cart-item-thumb {
    width: 140px;
    height: 110px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    position: relative;
}
:root[data-theme="dark"] .cart-item-thumb { background: linear-gradient(135deg, #4a3a1f, #6b5220); }

.cart-thumb-mock { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4px; }
.cart-thumb-window {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}
.cart-thumb-window .dot { width: 6px; height: 6px; border-radius: 50%; }
.cart-thumb-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.ct-line { height: 5px; background: rgba(255,255,255,0.7); border-radius: 3px; }
.ct-block { height: 30px; background: rgba(255,255,255,0.55); border-radius: 5px; margin-top: 4px; }

.cart-thumb-mock img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

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

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}
.cart-item-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.cart-item-title:hover { color: var(--primary); }

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.15s;
}
.cart-item-remove:hover { color: var(--danger); background: var(--danger-soft); }

.cart-item-meta {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
}

.cart-item-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.cart-old-price { color: var(--text-faint); text-decoration: line-through; }
.cart-save {
    color: var(--success);
    font-weight: 700;
    background: var(--success-soft);
    padding: 2px 8px;
    border-radius: 5px;
}

.cart-item-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.cart-qty-form {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}
.cart-qty-btn {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    font-size: 15px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s;
}
.cart-qty-btn:hover { background: var(--surface-2); color: var(--primary); }
.cart-qty-val {
    min-width: 34px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.cart-line-total {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* ============ PROMO ============ */
.promo-card {
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-top: 8px;
}
.promo-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 12px;
}
.promo-head strong { font-weight: 700; }
.promo-form { display: flex; gap: 10px; margin-bottom: 12px; }
.promo-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--text);
    outline: none;
}
.promo-input:focus { border-color: var(--primary); }
.promo-input::placeholder { color: var(--text-faint); }
.promo-apply {
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
}
.promo-apply:hover { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.promo-codes {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.promo-chip {
    padding: 4px 12px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px dashed var(--primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.05em;
}
.promo-chip:hover { background: var(--primary); color: #fff; border-style: solid; }

.cart-continue {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.15s;
}
.btn-continue:hover { border-color: var(--text); transform: translateX(-2px); }
.cart-bundle-note { font-size: 13px; color: var(--text-muted); }
.cart-bundle-note strong { color: var(--success); }

/* ============ SUMMARY ============ */
.cart-summary {
    position: sticky;
    top: 90px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.cart-summary-head { margin-bottom: 20px; }
.cart-summary-head h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}
.cart-summary-sub {
    font-size: 12.5px;
    color: var(--text-muted);
}

.cart-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.cart-sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-2);
}
.cart-green { color: var(--success); font-weight: 600; }

.cart-sum-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
}
.cart-sum-total span { font-size: 14px; color: var(--text-2); }
.cart-sum-total strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.15s;
    margin-bottom: 20px;
}
.cart-checkout-btn:hover { background: var(--primary-h); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }

.cart-promises {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.cart-promise {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
}
.cart-promise svg { flex-shrink: 0; margin-top: 2px; }

/* ============ HOVER CART DROPDOWN ============ */
.cart-wrap { position: relative; }
.cart-wrap:hover .cart-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.cart-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 400px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 300;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
}

.cart-dd-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.cart-dd-head strong { color: var(--text); }
.cart-dd-saving {
    padding: 4px 10px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 6px;
}

.cart-dd-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 14px;
}
.cart-dd-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.cart-dd-thumb {
    width: 56px;
    height: 50px;
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    border-radius: 8px;
    padding: 6px;
    flex-shrink: 0;
}
:root[data-theme="dark"] .cart-dd-thumb { background: linear-gradient(135deg, #4a3a1f, #6b5220); }
.cart-dd-thumb-mock { width: 100%; height: 100%; background: rgba(255,255,255,0.6); border-radius: 4px; }
.cart-dd-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

.cart-dd-body { flex: 1; min-width: 0; }
.cart-dd-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-dd-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.35;
}
.cart-dd-price {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.cart-dd-more {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 6px 0;
}

.cart-dd-sub {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-muted);
}
.cart-dd-sub strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.cart-dd-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.cart-dd-btn-ghost {
    padding: 11px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.15s;
}
.cart-dd-btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); }
.cart-dd-btn-primary {
    padding: 11px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.15s;
}
.cart-dd-btn-primary:hover { background: var(--primary-h); }

.cart-dd-empty {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
}
.cart-dd-empty svg { margin-bottom: 10px; color: var(--text-faint); }
.cart-dd-empty p { margin-bottom: 14px; font-size: 13.5px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
    .cart-grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}
@media (max-width: 640px) {
    .cart-title { font-size: 30px; }
    .cart-item { flex-direction: column; padding: 18px; }
    .cart-item-thumb { width: 100%; height: 140px; }
    .cart-dropdown { width: 320px; right: -60px; }
}
/* ============================================================
   CHECKOUT — BATCH 5
   ============================================================ */

.checkout-page { padding: 40px 0 60px; }

.checkout-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.checkout-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 32px;
    line-height: 1.05;
}

/* ---------- STEPS ---------- */
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}
.co-step {
    display: flex;
    align-items: center;
    gap: 10px;
}
.co-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s;
}
.co-step.active .co-step-circle {
    background: var(--primary);
    color: #fff;
}
.co-step.done .co-step-circle {
    background: #059669;
    color: #fff;
}
.co-step-label {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
}
.co-step.active .co-step-label { color: var(--text); font-weight: 600; }
.co-step.done .co-step-label { color: var(--text); }
.co-step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    max-width: 80px;
}
.co-step-line.done { background: #059669; }

/* ---------- GRID ---------- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* ---------- CARD ---------- */
.co-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
}
.co-card-head { margin-bottom: 28px; }
.co-card-head h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.co-card-head p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- FORM ---------- */
.co-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.co-form-group { margin-bottom: 20px; }
.co-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.co-input {
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    transition: all 0.15s;
    outline: none;
}
.co-input::placeholder { color: var(--text-faint); }
.co-input:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 3px var(--primary-ring); }
.co-input:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- ACTIONS ---------- */
.co-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.co-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}
.co-btn-primary:hover {
    background: var(--primary-h);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37,99,235,0.3);
}
.co-btn-primary.co-btn-place {
    background: var(--primary);
    font-size: 15px;
    padding: 15px 30px;
}
.co-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    background: transparent;
    border: none;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s;
}
.co-btn-back:hover { color: var(--text); }

/* ---------- PAYMENT OPTIONS ---------- */
.co-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.co-pay-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}
.co-pay-option:hover:not(.disabled) { border-color: var(--border-2); }
.co-pay-option.active {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px var(--primary-ring);
}
.co-pay-option.disabled {
    cursor: not-allowed;
    opacity: 0.55;
    background: var(--surface-2);
}
.co-pay-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.co-pay-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border-2);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.15s;
}
.co-pay-option.active .co-pay-radio {
    border-color: var(--primary);
    background: var(--primary);
}
.co-pay-option.active .co-pay-radio::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: #fff;
    border-radius: 50%;
}
.co-pay-body { flex: 1; }
.co-pay-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.co-pay-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---------- CARD + BANK FORM ---------- */
.co-card-form, .co-bank-form {
    padding: 20px;
    background: var(--surface-2);
    border-radius: 14px;
    margin-bottom: 20px;
}
.co-notice {
    padding: 12px 16px;
    background: var(--warning-soft);
    border-left: 3px solid var(--warning);
    border-radius: 8px;
    font-size: 13px;
    color: var(--warning);
    font-weight: 500;
}
.hidden { display: none !important; }

.co-bank-details {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.co-bank-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.co-bank-row:last-child { border-bottom: none; padding-bottom: 0; }
.co-bank-row span { color: var(--text-muted); }
.co-bank-row strong { color: var(--text); font-weight: 700; }
.co-green { color: var(--success) !important; }

/* ---------- REVIEW ---------- */
.co-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}
.co-review-box {
    padding: 18px 20px;
    background: var(--surface-2);
    border-radius: 12px;
}
.co-review-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.co-review-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.co-review-line {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
    margin-top: 3px;
}

.co-items-box {
    padding: 18px 20px;
    background: var(--surface-2);
    border-radius: 12px;
    margin-bottom: 22px;
}
.co-items-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.co-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.co-item-row:first-of-type { border-top: none; padding-top: 0; }
.co-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}
.co-item-sub {
    font-size: 12px;
    color: var(--text-muted);
}
.co-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

/* Terms */
.co-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
    background: var(--surface-2);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 20px;
}
.co-terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}
.co-terms a { color: var(--primary); font-weight: 600; }

/* ---------- SUMMARY (sticky) ---------- */
.co-summary {
    position: sticky;
    top: 90px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.co-summary h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}
.co-sum-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.co-sum-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.co-sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-2);
}
.co-sum-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
}
.co-sum-total span { font-size: 14px; color: var(--text-2); }
.co-sum-total strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.co-sum-promises {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.co-promise {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
}
.co-promise svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .co-summary { position: static; }
}
@media (max-width: 640px) {
    .checkout-title { font-size: 28px; }
    .co-card { padding: 22px; }
    .co-form-row { grid-template-columns: 1fr; }
    .co-payment-grid { grid-template-columns: 1fr; }
    .co-review-grid { grid-template-columns: 1fr; }
    .checkout-steps { gap: 6px; }
    .co-step-label { font-size: 12px; }
    .co-step-line { max-width: 30px; }
}
/* ============================================================
   ACCOUNT + SETTINGS — BATCH 6
   ============================================================ */

/* -------- ACCOUNT PAGE -------- */
.account-page { padding: 40px 0 60px; }
.account-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.account-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0 0 32px;
    line-height: 1.05;
}

.account-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar */
.account-side { position: sticky; top: 90px; }

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    margin-bottom: 20px;
}
.account-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: all 0.15s;
}
.account-nav-item:hover { background: var(--surface-2); color: var(--text); }
.account-nav-item.active {
    background: var(--dark);
    color: var(--bg);
    font-weight: 600;
}
.account-nav-item.active svg { stroke: currentColor; }

.account-store-ops {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.ops-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.ops-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.ops-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* Welcome card */
.account-welcome-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 22px;
}
.account-welcome-card h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.account-welcome-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}
.acc-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    transition: all 0.2s;
}
.acc-stat:hover { border-color: var(--border-2); transform: translateY(-2px); }
.acc-stat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.acc-stat-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
}

/* Quick actions */
.account-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}
.acc-quick-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}
.acc-quick-card:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.acc-quick-card svg { color: var(--text-2); }

/* Recent orders */
.account-recent {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 28px;
}
.account-recent h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
}
.acc-recent-empty {
    text-align: center;
    padding: 30px 0;
    color: var(--text-muted);
    font-size: 14px;
}
.acc-order-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}
.acc-order-row:first-of-type { border-top: none; padding-top: 0; }
.acc-order-id {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.acc-order-items {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 3px;
}
.acc-order-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
}
.acc-order-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.acc-order-status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.acc-order-status.approved { background: var(--success-soft); color: var(--success); }
.acc-order-status.pending  { background: var(--warning-soft); color: var(--warning); }
.acc-order-status.rejected { background: var(--danger-soft); color: var(--danger); }
.acc-order-right strong { font-size: 15px; color: var(--text); }

/* -------- SETTINGS PAGE -------- */
.settings-page { padding: 40px 0 60px; }
.settings-head { margin-bottom: 32px; }

.settings-error {
    padding: 14px 18px;
    background: var(--danger-soft);
    border-left: 3px solid var(--danger);
    border-radius: 10px;
    color: var(--danger);
    font-size: 13.5px;
    margin-bottom: 22px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}
.settings-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    position: sticky;
    top: 90px;
}
.settings-side-item {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: all 0.15s;
}
.settings-side-item:hover { background: var(--surface-2); color: var(--text); }
.settings-side-item.active {
    background: var(--dark);
    color: var(--bg);
    font-weight: 600;
}

.settings-main { display: flex; flex-direction: column; gap: 20px; }

.settings-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 28px;
}
.settings-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.settings-row:last-child { border-bottom: none; padding-bottom: 0; }
.settings-row:first-of-type { padding-top: 0; }
.settings-row-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}
.settings-row-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Theme toggle button in settings */
.settings-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}
.settings-toggle-btn:hover { border-color: var(--border-2); background: var(--surface-3); }

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch span {
    position: absolute;
    inset: 0;
    background: var(--border-2);
    border-radius: 999px;
    transition: 0.2s;
}
.toggle-switch span::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + span { background: var(--primary); }
.toggle-switch input:checked + span::before { transform: translateX(18px); }

/* Danger card */
.settings-danger-card {
    background: var(--surface);
    border: 1.5px solid var(--danger);
    border-radius: 16px;
    padding: 26px 28px;
}
:root[data-theme="dark"] .settings-danger-card { background: rgba(220,38,38,0.05); }
.settings-danger-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.settings-danger-card p {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 18px;
}
.settings-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: transparent;
    border: 1.5px solid var(--danger);
    color: var(--danger);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.settings-reset-btn:hover { background: var(--danger); color: #fff; }

/* -------- RESPONSIVE -------- */
@media (max-width: 1000px) {
    .account-grid, .settings-grid { grid-template-columns: 1fr; }
    .account-side, .settings-side { position: static; }
    .account-nav, .settings-side { flex-direction: row; overflow-x: auto; padding: 6px; }
    .account-nav-item, .settings-side-item { white-space: nowrap; }
    .account-stats { grid-template-columns: repeat(2, 1fr); }
    .account-quick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .account-title { font-size: 28px; }
    .account-stats, .account-quick { grid-template-columns: 1fr; }
    .acc-order-row { flex-direction: column; }
    .acc-order-right { align-items: flex-start; }
    .settings-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* ============================================================
   STATIC PAGES + SHOP — BATCH 8
   ============================================================ */

.page-wrap { padding: 40px 0 60px; }

.page-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}
.page-h1 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0 0 14px;
    line-height: 1.05;
}
.page-lead {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 620px;
}

.page-section { margin-bottom: 40px; }
.page-section h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.page-section p {
    font-size: 15.5px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 12px;
}

.page-list {
    padding-left: 22px;
    list-style: disc;
}
.page-list li {
    color: var(--text-2);
    font-size: 15.5px;
    line-height: 1.9;
}
.page-list li::marker { color: var(--primary); }

.page-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.btn-page-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.15s;
}
.btn-page-primary:hover { background: var(--primary-h); transform: translateY(-1px); }

.btn-page-ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 26px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.15s;
}
.btn-page-ghost:hover { border-color: var(--text); }

/* About grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}
.about-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.2s;
}
.about-card:hover {
    border-color: var(--border-2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.about-icon {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1;
}
.about-card h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.about-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Contact page */
.contact-flash {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}
.contact-flash-success {
    background: var(--success-soft);
    color: var(--success);
    border-left: 3px solid var(--success);
}
.contact-flash-error {
    background: var(--danger-soft);
    color: var(--danger);
    border-left: 3px solid var(--danger);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.2s;
}
.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 3px;
}
.contact-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}
.contact-card a { color: var(--primary); }

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
}
.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

/* Shop page */
.shop-page { padding: 40px 0 60px; }
.shop-head { margin-bottom: 28px; }

.shop-filters {
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 28px;
}
.shop-filter-form {
    display: grid;
    grid-template-columns: 1fr 200px 200px auto;
    gap: 12px;
    align-items: center;
}
.shop-search {
    position: relative;
    display: flex;
    align-items: center;
}
.shop-search svg {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
}
.shop-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: all 0.15s;
}
.shop-search input:focus { border-color: var(--primary); background: var(--surface); }

.shop-select {
    padding: 12px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    cursor: pointer;
}

.btn-shop-filter {
    padding: 12px 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-shop-filter:hover { background: var(--primary-h); }

.shop-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}
.shop-empty h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .shop-filter-form { grid-template-columns: 1fr 1fr; }
    .shop-filter-form .btn-shop-filter { grid-column: 1 / -1; }
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .page-h1 { font-size: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .shop-filter-form { grid-template-columns: 1fr; }
    .contact-form-card { padding: 22px; }
}
/* ============================================================
   MINI CHAT WIDGET — BATCH 9A
   ============================================================ */

/* Floating pill */
.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(37,99,235,0.4);
    z-index: 9998;
    transition: all 0.2s;
}
.chat-fab:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37,99,235,0.5);
}
.chat-fab.hidden { display: none; }

/* Panel */
.mini-chat {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 420px;
    max-height: calc(100vh - 120px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mini-chat.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.mini-chat[aria-hidden="true"] { pointer-events: none; }
.mini-chat[aria-hidden="false"] { pointer-events: auto; }

/* Header */
.mini-chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}
.mini-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    color: #1e3a8a;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.mini-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid var(--surface);
}
.mini-head-info { flex: 1; min-width: 0; }
.mini-head-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.mini-head-status {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-chat-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}
.mini-chat-close:hover { background: var(--surface-2); color: var(--text); }

/* Body */
.mini-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--surface-2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 280px;
    max-height: 380px;
}

/* Empty state */
.mini-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    margin: auto;
}
.mini-empty h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.mini-empty p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 280px;
}

/* Login prompt */
.mini-login-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    margin: auto;
    gap: 10px;
}
.mini-login-prompt h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.mini-login-prompt p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 260px;
    margin-bottom: 6px;
}
.mini-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
}
.mini-btn-primary:hover { background: var(--primary-h); }
.mini-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}
.mini-btn-ghost:hover { border-color: var(--text); }

/* Messages */
.mini-msg { display: flex; margin-bottom: 4px; }
.mini-msg.mine { justify-content: flex-end; }
.mini-msg.theirs { justify-content: flex-start; }
.mini-bubble {
    max-width: 78%;
    padding: 9px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}
.mini-msg.mine .mini-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.mini-msg.theirs .mini-bubble {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 4px;
}
.mini-time {
    font-size: 10.5px;
    opacity: 0.65;
    margin-top: 3px;
    display: block;
}
.mini-msg.mine .mini-time { text-align: right; }

.mini-img-bubble {
    max-width: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}
.mini-img-bubble img { width: 100%; display: block; }

/* Composer */
.mini-chat-composer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}
.mini-attach {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}
.mini-attach:hover { border-color: var(--primary); color: var(--primary); }
.mini-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    transition: all 0.15s;
    min-width: 0;
}
.mini-input:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--primary-ring);
}
.mini-send {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}
.mini-send:hover { background: var(--primary-h); }
.mini-send:disabled { opacity: 0.6; cursor: not-allowed; }

/* Preview */
.mini-attach-preview {
    display: flex;
    gap: 6px;
    padding: 8px 14px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
    overflow-x: auto;
    flex-shrink: 0;
}
.mini-attach-preview.hidden { display: none; }
.mini-preview-item {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-3);
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.mini-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.mini-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile — slide from bottom */
@media (max-width: 640px) {
    .chat-fab {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 13px;
    }
    .chat-fab .chat-fab-label { display: none; }

    .mini-chat {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
    }
    .mini-chat.open {
        transform: translateY(0);
    }
    .mini-chat-body {
        max-height: none;
        min-height: 200px;
        flex: 1;
    }
}
/* ============================================================
   HEADER REDESIGN — Categories dropdown in header
   ============================================================ */


.hdr-cat-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #eff4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}
.hdr-cat-icon svg { width: 14px; height: 14px; }

/* ---------- Cart badge positioning for icon-only button ---------- */
.hdr-icon-btn.cart-btn { position: relative; }
.hdr-icon-btn.cart-btn .cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ---------- Header layout fix (categories dropdown next to logo) ---------- */
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-inner .search-bar { flex: 1; max-width: 520px; margin-left: auto; }
.header-inner .header-right { margin-left: auto; }

/* ---------- MOBILE — hide everything except logo, theme, account, cart ---------- */
@media (max-width: 900px) {
    .header-inner {
        gap: 12px;
    }
    .hdr-cat-wrap { display: none; }
    .search-bar { display: none; }
    .logo-text .sub { display: none; }
    .logo-text .main { font-size: 17px; }
    .logo-mark svg { width: 34px; height: 34px; }
    .hdr-icon-btn { width: 38px; height: 38px; }
    .cart-dropdown { width: 320px; right: -60px; }
}

/* Also hide the category nav bar (we removed it from header) */
.cat-nav { display: none !important; }

/* ---------- MOBILE — icon-only for account + cart ---------- */
@media (max-width: 900px) {
    .hdr-cat-wrap { display: none; }
    .search-bar { display: none; }
    .logo-text .sub { display: none; }
    .logo-text .main { font-size: 17px; }
    .logo-mark svg { width: 34px; height: 34px; }
    .hdr-link .label { display: none; }
    .hdr-link { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 10px; background: transparent; }
    .hdr-link:hover { background: #f7f8fa; }
    .cart-info { display: none; }
    .cart-link { padding: 6px 10px; }
    .cart-icon-wrap { width: 32px; height: 32px; }
    .cart-dropdown { width: 320px; right: -60px; }
}

/* Ensure old cat-nav doesn't render even if leftover HTML exists */
.cat-nav { display: none !important; }
/* ============================================================
   DARK MODE — FULL OVERRIDES (fix partial dark mode)
   ============================================================ */

/* ---------- HEADER in dark ---------- */
:root[data-theme="dark"] .site-header {
    background: #0b0d17;
    border-bottom-color: #232637;
}
:root[data-theme="dark"] .logo-text .main { color: #f5f6fa; }
:root[data-theme="dark"] .logo-text .sub { color: #8b8fa0; }
:root[data-theme="dark"] .search-bar {
    background: #11141f;
    border-color: #2e3147;
}
:root[data-theme="dark"] .search-bar input {
    color: #f5f6fa;
    background: transparent;
}
:root[data-theme="dark"] .search-bar input::placeholder { color: #5a5e72; }
:root[data-theme="dark"] .search-bar .search-btn {
    background: #ffffff;
    color: #0b0d17;
}
:root[data-theme="dark"] .search-bar .search-btn:hover { background: #e8eaf2; }

/* Category dropdown button (in header) */
:root[data-theme="dark"] .hdr-cat-btn {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .hdr-cat-btn:hover { background: #171b2c; border-color: #2e3147; }
:root[data-theme="dark"] .hdr-cat-wrap.open .hdr-cat-btn {
    background: #171b2c;
    border-color: #2e3147;
}
:root[data-theme="dark"] .hdr-cat-btn .chev { color: #8b8fa0; }
:root[data-theme="dark"] .hdr-cat-btn svg { color: #f5f6fa; }


/* Header icon buttons */
:root[data-theme="dark"] .hdr-icon-btn {
    color: #c8cbd8;
}
:root[data-theme="dark"] .hdr-icon-btn:hover {
    background: #171b2c;
    color: #f5f6fa;
}

/* Header account + cart links */
:root[data-theme="dark"] .hdr-link { color: #c8cbd8; }
:root[data-theme="dark"] .hdr-link:hover { background: #171b2c; color: #f5f6fa; }
:root[data-theme="dark"] .hdr-link .label .top { color: #8b8fa0; }
:root[data-theme="dark"] .hdr-link .label .bot { color: #f5f6fa; }
:root[data-theme="dark"] .hdr-link svg { color: #c8cbd8; }

:root[data-theme="dark"] .cart-link:hover { background: #171b2c; }
:root[data-theme="dark"] .cart-icon-wrap svg { color: #f5f6fa; }
:root[data-theme="dark"] .cart-info .cart-label { color: #8b8fa0; }
:root[data-theme="dark"] .cart-info .cart-total { color: #f5f6fa; }
:root[data-theme="dark"] .cart-badge {
    background: #3b82f6;
    border-color: #0b0d17;
}

/* Cart hover dropdown */
:root[data-theme="dark"] .cart-dropdown {
    background: #11141f;
    border-color: #232637;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
:root[data-theme="dark"] .cart-dd-head { border-bottom-color: #232637; color: #f5f6fa; }
:root[data-theme="dark"] .cart-dd-head strong { color: #f5f6fa; }
:root[data-theme="dark"] .cart-dd-saving {
    background: rgba(16,185,129,0.12);
    color: #10b981;
}
:root[data-theme="dark"] .cart-dd-title { color: #f5f6fa; }
:root[data-theme="dark"] .cart-dd-meta { color: #8b8fa0; }
:root[data-theme="dark"] .cart-dd-price { color: #f5f6fa; }
:root[data-theme="dark"] .cart-dd-sub { border-top-color: #232637; color: #8b8fa0; }
:root[data-theme="dark"] .cart-dd-sub strong { color: #f5f6fa; }
:root[data-theme="dark"] .cart-dd-btn-ghost {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .cart-dd-btn-ghost:hover { background: #1e2235; border-color: #2e3147; }
:root[data-theme="dark"] .cart-dd-empty { color: #8b8fa0; }

/* ---------- BODY / PAGE ---------- */
:root[data-theme="dark"] body { background: #0b0d17; color: #f5f6fa; }
:root[data-theme="dark"] .container,
:root[data-theme="dark"] .site-main { color: #f5f6fa; }

/* ---------- SECTION TITLES ---------- */
:root[data-theme="dark"] .industry-title,
:root[data-theme="dark"] .collection-title,
:root[data-theme="dark"] .section-title { color: #f5f6fa; }
:root[data-theme="dark"] .industry-eyebrow,
:root[data-theme="dark"] .collection-eyebrow { color: #60a5fa; }
:root[data-theme="dark"] .collection-note { color: #8b8fa0; }

/* ---------- INDUSTRY ORBS ---------- */
:root[data-theme="dark"] .industry-orb {
    background: #171b2c;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
:root[data-theme="dark"] .industry-name { color: #c8cbd8; }

/* ---------- FEATURE CARDS ---------- */
:root[data-theme="dark"] .feature-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .feature-card:hover {
    border-color: #2e3147;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
:root[data-theme="dark"] .feature-title { color: #f5f6fa; }
:root[data-theme="dark"] .feature-sub { color: #8b8fa0; }
:root[data-theme="dark"] .feature-icon {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
}

/* ---------- COLLECTION TABS ---------- */
:root[data-theme="dark"] .coll-tab {
    background: transparent;
    border-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .coll-tab:hover { border-color: #2e3147; color: #f5f6fa; }
:root[data-theme="dark"] .coll-tab.active {
    background: #ffffff;
    color: #0b0d17;
    border-color: #ffffff;
}
:root[data-theme="dark"] .collection-shoplink { color: #60a5fa; }

/* ---------- PRODUCT CARDS ---------- */
:root[data-theme="dark"] .prod-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .prod-card:hover {
    border-color: #2e3147;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
:root[data-theme="dark"] .prod-thumb { background: #171b2c; }
:root[data-theme="dark"] .prod-title { color: #f5f6fa; }
:root[data-theme="dark"] .prod-price { color: #f5f6fa; }
:root[data-theme="dark"] .prod-price-old { color: #5a5e72; }
:root[data-theme="dark"] .prod-tag {
    background: #171b2c;
    color: #8b8fa0;
}
:root[data-theme="dark"] .prod-sold { color: #8b8fa0; }
:root[data-theme="dark"] .prod-rating .rev { color: #5a5e72; }
:root[data-theme="dark"] .prod-cart-btn {
    background: #ffffff;
    color: #0b0d17;
}
:root[data-theme="dark"] .prod-cart-btn:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* ---------- CHAT FAB ---------- */
:root[data-theme="dark"] .chat-fab {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(59,130,246,0.5);
}
:root[data-theme="dark"] .chat-fab:hover {
    background: #60a5fa;
}

/* ============================================================
   ADMIN PANEL — FULL DARK MODE
   ============================================================ */

:root[data-theme="dark"] .adm-body { background: #0b0d17; color: #f5f6fa; }

/* Sidebar */
:root[data-theme="dark"] .adm-sidebar {
    background: #0f1220;
    border-right-color: #232637;
}
:root[data-theme="dark"] .adm-brand { border-bottom-color: #232637; }
:root[data-theme="dark"] .adm-brand-text strong { color: #f5f6fa; }
:root[data-theme="dark"] .adm-brand-text em { color: #8b8fa0; }
:root[data-theme="dark"] .adm-nav-label { color: #5a5e72; }
:root[data-theme="dark"] .adm-nav-item { color: #c8cbd8; }
:root[data-theme="dark"] .adm-nav-item:hover {
    background: #171b2c;
    color: #f5f6fa;
}
:root[data-theme="dark"] .adm-nav-item.active {
    background: #ffffff;
    color: #0b0d17;
    font-weight: 600;
}
:root[data-theme="dark"] .adm-nav-item.active svg { stroke: #0b0d17; }
:root[data-theme="dark"] .adm-nav-danger { color: #ef4444; }
:root[data-theme="dark"] .adm-nav-danger:hover { background: rgba(239,68,68,0.12); }

/* Main area */
:root[data-theme="dark"] .adm-main { background: #0b0d17; color: #f5f6fa; }
:root[data-theme="dark"] .adm-title { color: #f5f6fa; }
:root[data-theme="dark"] .adm-subtitle { color: #8b8fa0; }

/* Buttons */
:root[data-theme="dark"] .adm-btn-ghost {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .adm-btn-ghost:hover {
    background: #1e2235;
    border-color: #2e3147;
}
:root[data-theme="dark"] .adm-btn-primary {
    background: #3b82f6;
    border-color: #3b82f6;
}
:root[data-theme="dark"] .adm-btn-primary:hover { background: #60a5fa; border-color: #60a5fa; }

/* Stat cards */
:root[data-theme="dark"] .adm-stat {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .adm-stat:hover { border-color: #2e3147; }
:root[data-theme="dark"] .adm-stat-num { color: #f5f6fa; }
:root[data-theme="dark"] .adm-stat-label { color: #8b8fa0; }

:root[data-theme="dark"] .adm-stat-mini {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .adm-stat-mini strong { color: #f5f6fa; }
:root[data-theme="dark"] .adm-stat-mini span { color: #8b8fa0; }
:root[data-theme="dark"] .adm-stat-mini.has-badge strong { color: #ef4444; }

/* Panels */
:root[data-theme="dark"] .adm-panel {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .adm-panel-head h3 { color: #f5f6fa; }
:root[data-theme="dark"] .adm-panel-link { color: #60a5fa; }
:root[data-theme="dark"] .adm-empty { color: #8b8fa0; }

/* Table */
:root[data-theme="dark"] .adm-table-head {
    color: #8b8fa0;
    border-bottom-color: #232637;
}
:root[data-theme="dark"] .adm-table-row {
    border-bottom-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .adm-table-row:hover { background: #171b2c; }
:root[data-theme="dark"] .adm-strong { color: #f5f6fa; }
:root[data-theme="dark"] .adm-dim { color: #8b8fa0; }

/* Badges */
:root[data-theme="dark"] .adm-badge-pending  { background: rgba(245,158,11,0.15); color: #fbbf24; }
:root[data-theme="dark"] .adm-badge-approved { background: rgba(16,185,129,0.15); color: #34d399; }
:root[data-theme="dark"] .adm-badge-rejected { background: rgba(239,68,68,0.15); color: #f87171; }
:root[data-theme="dark"] .adm-badge-admin    { background: rgba(59,130,246,0.15); color: #60a5fa; }

/* User rows */
:root[data-theme="dark"] .adm-user-row { border-bottom-color: #232637; }
:root[data-theme="dark"] .adm-user-info .adm-strong { color: #f5f6fa; }
:root[data-theme="dark"] .adm-avatar {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #ffffff;
}

/* Quick cards */
:root[data-theme="dark"] .adm-quick-card {
    background: #171b2c;
    border-color: transparent;
}
:root[data-theme="dark"] .adm-quick-card:hover {
    background: #11141f;
    border-color: #3b82f6;
}
:root[data-theme="dark"] .adm-quick-card strong { color: #f5f6fa; }
:root[data-theme="dark"] .adm-quick-card small { color: #8b8fa0; }

/* Form inputs in admin */
:root[data-theme="dark"] .co-input,
:root[data-theme="dark"] .adm-input {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .co-input:focus,
:root[data-theme="dark"] .adm-input:focus {
    border-color: #3b82f6;
    background: #11141f;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
}
:root[data-theme="dark"] .co-input::placeholder { color: #5a5e72; }
:root[data-theme="dark"] .co-form-group label { color: #f5f6fa; }

/* Settings rows in admin */
:root[data-theme="dark"] .settings-card,
:root[data-theme="dark"] .settings-row { border-color: #232637; }
:root[data-theme="dark"] .settings-row-title { color: #f5f6fa; }
:root[data-theme="dark"] .settings-row-sub { color: #8b8fa0; }

/* ---------- RESPONSIVE (dark doesn't change layouts) ---------- */
@media (max-width: 900px) {
    :root[data-theme="dark"] .hdr-cat-wrap { display: none; }
    :root[data-theme="dark"] .cart-dropdown {
        background: #11141f;
        border-color: #232637;
    }
}
/* ============================================================
   DARK MODE — Missing parts (homepage + cart/checkout/product)
   ============================================================ */

/* ---------- HOMEPAGE SECTION TITLES & TEXT ---------- */
:root[data-theme="dark"] .section-title,
:root[data-theme="dark"] .collection-title,
:root[data-theme="dark"] .industry-title { color: #f5f6fa !important; }

:root[data-theme="dark"] .section-eyebrow,
:root[data-theme="dark"] .industry-eyebrow,
:root[data-theme="dark"] .collection-eyebrow { color: #60a5fa !important; }

:root[data-theme="dark"] .collection-note { color: #8b8fa0 !important; }
:root[data-theme="dark"] .text-muted { color: #8b8fa0 !important; }

/* ---------- CART PAGE ---------- */
:root[data-theme="dark"] .cart-title { color: #f5f6fa; }
:root[data-theme="dark"] .cart-clear { color: #8b8fa0; }
:root[data-theme="dark"] .cart-clear:hover { color: #ef4444; }
:root[data-theme="dark"] .cart-empty h2 { color: #f5f6fa; }
:root[data-theme="dark"] .cart-empty-icon { background: #171b2c; color: #8b8fa0; }

:root[data-theme="dark"] .cart-item {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .cart-item:hover { border-color: #2e3147; }
:root[data-theme="dark"] .cart-item-thumb { background: linear-gradient(135deg, #4a3a1f, #6b5220); }
:root[data-theme="dark"] .cart-item-title { color: #f5f6fa; }
:root[data-theme="dark"] .cart-item-meta {
    background: #171b2c;
    color: #8b8fa0;
}
:root[data-theme="dark"] .cart-item-prices { color: #c8cbd8; }
:root[data-theme="dark"] .cart-old-price { color: #5a5e72; }
:root[data-theme="dark"] .cart-line-total { color: #f5f6fa; }
:root[data-theme="dark"] .cart-item-foot { border-top-color: #232637; }
:root[data-theme="dark"] .cart-qty-form { border-color: #232637; }
:root[data-theme="dark"] .cart-qty-btn { color: #f5f6fa; }
:root[data-theme="dark"] .cart-qty-btn:hover { background: #171b2c; color: #60a5fa; }

:root[data-theme="dark"] .promo-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .promo-head { color: #f5f6fa; }
:root[data-theme="dark"] .promo-input {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .promo-input::placeholder { color: #5a5e72; }
:root[data-theme="dark"] .promo-apply {
    background: #11141f;
    border-color: #2e3147;
    color: #f5f6fa;
}
:root[data-theme="dark"] .promo-apply:hover {
    background: #ffffff;
    color: #0b0d17;
    border-color: #ffffff;
}
:root[data-theme="dark"] .promo-codes { color: #8b8fa0; }
:root[data-theme="dark"] .promo-chip {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
    border-color: #3b82f6;
}
:root[data-theme="dark"] .promo-chip:hover { background: #3b82f6; color: #ffffff; }

:root[data-theme="dark"] .btn-continue {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .btn-continue:hover { border-color: #f5f6fa; }
:root[data-theme="dark"] .cart-bundle-note { color: #8b8fa0; }

:root[data-theme="dark"] .cart-summary {
    background: #11141f;
    border-color: #232637;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
:root[data-theme="dark"] .cart-summary-head h3 { color: #f5f6fa; }
:root[data-theme="dark"] .cart-summary-sub { color: #8b8fa0; }
:root[data-theme="dark"] .cart-sum-row { color: #c8cbd8; }
:root[data-theme="dark"] .cart-summary-rows { border-bottom-color: #232637; }
:root[data-theme="dark"] .cart-sum-total span { color: #c8cbd8; }
:root[data-theme="dark"] .cart-sum-total strong { color: #f5f6fa; }
:root[data-theme="dark"] .cart-promises { border-top-color: #232637; }
:root[data-theme="dark"] .cart-promise { color: #8b8fa0; }

/* ---------- CHECKOUT PAGE ---------- */
:root[data-theme="dark"] .checkout-title { color: #f5f6fa; }
:root[data-theme="dark"] .checkout-eyebrow { color: #60a5fa; }

:root[data-theme="dark"] .co-step-circle {
    background: #1e2235;
    color: #8b8fa0;
}
:root[data-theme="dark"] .co-step-label { color: #8b8fa0; }
:root[data-theme="dark"] .co-step.active .co-step-label { color: #f5f6fa; }
:root[data-theme="dark"] .co-step-line { background: #232637; }

:root[data-theme="dark"] .co-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .co-card-head h2 { color: #f5f6fa; }
:root[data-theme="dark"] .co-card-head p { color: #8b8fa0; }

:root[data-theme="dark"] .co-form-group label { color: #f5f6fa; }
:root[data-theme="dark"] .co-input {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .co-input:focus {
    border-color: #3b82f6;
    background: #11141f;
}
:root[data-theme="dark"] .co-input::placeholder { color: #5a5e72; }

:root[data-theme="dark"] .co-pay-option {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .co-pay-option:hover:not(.disabled) { border-color: #2e3147; }
:root[data-theme="dark"] .co-pay-option.active {
    background: rgba(59,130,246,0.1);
    border-color: #3b82f6;
}
:root[data-theme="dark"] .co-pay-option.disabled { background: #0f1220; }
:root[data-theme="dark"] .co-pay-title { color: #f5f6fa; }
:root[data-theme="dark"] .co-pay-sub { color: #8b8fa0; }

:root[data-theme="dark"] .co-card-form,
:root[data-theme="dark"] .co-bank-form { background: #0f1220; }

:root[data-theme="dark"] .co-bank-details {
    background: #171b2c;
    border-color: #232637;
}
:root[data-theme="dark"] .co-bank-row { border-bottom-color: #232637; }
:root[data-theme="dark"] .co-bank-row span { color: #8b8fa0; }
:root[data-theme="dark"] .co-bank-row strong { color: #f5f6fa; }

:root[data-theme="dark"] .co-review-box { background: #0f1220; }
:root[data-theme="dark"] .co-review-label { color: #8b8fa0; }
:root[data-theme="dark"] .co-review-name { color: #f5f6fa; }
:root[data-theme="dark"] .co-review-line { color: #c8cbd8; }

:root[data-theme="dark"] .co-items-box { background: #0f1220; }
:root[data-theme="dark"] .co-items-label { color: #8b8fa0; }
:root[data-theme="dark"] .co-item-row { border-top-color: #232637; }
:root[data-theme="dark"] .co-item-title { color: #f5f6fa; }
:root[data-theme="dark"] .co-item-sub { color: #8b8fa0; }
:root[data-theme="dark"] .co-item-price { color: #f5f6fa; }

:root[data-theme="dark"] .co-terms {
    background: #0f1220;
    color: #c8cbd8;
}
:root[data-theme="dark"] .co-terms a { color: #60a5fa; }
:root[data-theme="dark"] .co-notice {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
}

:root[data-theme="dark"] .co-summary {
    background: #11141f;
    border-color: #232637;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
:root[data-theme="dark"] .co-summary h3 { color: #f5f6fa; }
:root[data-theme="dark"] .co-sum-sub { color: #8b8fa0; }
:root[data-theme="dark"] .co-sum-row { color: #c8cbd8; }
:root[data-theme="dark"] .co-sum-rows { border-bottom-color: #232637; }
:root[data-theme="dark"] .co-sum-total span { color: #c8cbd8; }
:root[data-theme="dark"] .co-sum-total strong { color: #f5f6fa; }
:root[data-theme="dark"] .co-sum-promises { border-top-color: #232637; }
:root[data-theme="dark"] .co-promise { color: #8b8fa0; }

:root[data-theme="dark"] .co-btn-back { color: #c8cbd8; }
:root[data-theme="dark"] .co-btn-back:hover { color: #f5f6fa; }

/* ---------- PRODUCT DETAIL PAGE ---------- */
:root[data-theme="dark"] .pdp-breadcrumb { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-breadcrumb a { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-breadcrumb a:hover { color: #60a5fa; }
:root[data-theme="dark"] .pdp-breadcrumb .current { color: #f5f6fa; }

:root[data-theme="dark"] .pdp-thumb {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .pdp-thumb.active {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.1);
}

:root[data-theme="dark"] .pdp-main-inner { background: #171b2c; border-color: #232637; }
:root[data-theme="dark"] .pdp-window-url {
    background: #11141f;
    border-color: #232637;
    color: #8b8fa0;
}
:root[data-theme="dark"] .pdp-dev-btn {
    background: #11141f;
    border-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .pdp-dev-btn:hover { border-color: #2e3147; }
:root[data-theme="dark"] .pdp-dev-btn.active {
    background: #ffffff;
    color: #0b0d17;
    border-color: #ffffff;
}
:root[data-theme="dark"] .pdp-live-note { color: #8b8fa0; }

:root[data-theme="dark"] .pdp-cat-eyebrow { color: #60a5fa; }
:root[data-theme="dark"] .pdp-title { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-subtitle { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-rating-line { color: #c8cbd8; }
:root[data-theme="dark"] .pdp-rating-line strong { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-dot-sep { color: #5a5e72; }
:root[data-theme="dark"] .pdp-sold-line { color: #8b8fa0; }

:root[data-theme="dark"] .pdp-price-main { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-price-old { color: #5a5e72; }
:root[data-theme="dark"] .pdp-save-badge { background: rgba(220,38,38,0.12); color: #f87171; }

:root[data-theme="dark"] .pdp-bulk-pill {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
    border-color: #3b82f6;
}

:root[data-theme="dark"] .pdp-overview-card {
    background: #171b2c;
    border-color: #232637;
}
:root[data-theme="dark"] .pdp-overview-title { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-overview-list { color: #c8cbd8; }
:root[data-theme="dark"] .pdp-desc { color: #c8cbd8; }

:root[data-theme="dark"] .pdp-buybox {
    background: #11141f;
    border-color: #232637;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
:root[data-theme="dark"] .pdp-soldby-row { border-bottom-color: #232637; color: #8b8fa0; }
:root[data-theme="dark"] .pdp-soldby-name { color: #60a5fa; }

:root[data-theme="dark"] .pdp-promises { background: #0f1220; }
:root[data-theme="dark"] .pdp-promise { color: #c8cbd8; }
:root[data-theme="dark"] .pdp-promise strong { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-promise-sub { color: #8b8fa0; }

:root[data-theme="dark"] .pdp-option-label { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-option-label strong { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-chip {
    background: transparent;
    border-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .pdp-chip:hover { border-color: #2e3147; }
:root[data-theme="dark"] .pdp-chip.active {
    background: rgba(59,130,246,0.12);
    border-color: #3b82f6;
    color: #60a5fa;
}

:root[data-theme="dark"] .pdp-qty-row { border-top-color: #232637; border-bottom-color: #232637; }
:root[data-theme="dark"] .pdp-qty-btn {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .pdp-qty-btn:hover { border-color: #3b82f6; color: #60a5fa; }
:root[data-theme="dark"] #pdpQtyVal { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-qty-max { color: #8b8fa0; }

:root[data-theme="dark"] .pdp-total-row { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-total-row strong { color: #f5f6fa; }

:root[data-theme="dark"] .pdp-demo-btn {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .pdp-demo-btn:hover { background: #171b2c; border-color: #2e3147; }
:root[data-theme="dark"] .pdp-add-btn {
    background: transparent;
    border-color: #2e3147;
    color: #f5f6fa;
}
:root[data-theme="dark"] .pdp-add-btn:hover { border-color: #f5f6fa; }

:root[data-theme="dark"] .pdp-meta-row { border-top-color: #232637; color: #8b8fa0; }

/* Specs table */
:root[data-theme="dark"] .pdp-specs-table {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .pdp-specs-row { border-bottom-color: #232637; }
:root[data-theme="dark"] .pdp-specs-cell:first-child { border-right-color: #232637; }
:root[data-theme="dark"] .pdp-specs-key { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-specs-val { color: #f5f6fa; }

:root[data-theme="dark"] .pdp-doc-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .pdp-doc-icon { background: rgba(59,130,246,0.12); }
:root[data-theme="dark"] .pdp-doc-sub { color: #8b8fa0; }

/* Reviews */
:root[data-theme="dark"] .pdp-reviews-title { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-verified-pill {
    background: rgba(16,185,129,0.12);
    color: #34d399;
}
:root[data-theme="dark"] .pdp-reviews-summary {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .pdp-rev-avg { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-rev-outof { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-rev-bar-row { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-rev-bar-track { background: #1e2235; }

:root[data-theme="dark"] .pdp-fchip {
    background: #11141f;
    border-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .pdp-fchip:hover { border-color: #2e3147; }
:root[data-theme="dark"] .pdp-fchip.active {
    background: #ffffff;
    color: #0b0d17;
    border-color: #ffffff;
}
:root[data-theme="dark"] .pdp-write-rev { color: #60a5fa; }

:root[data-theme="dark"] .pdp-review-item { border-top-color: #232637; }
:root[data-theme="dark"] .pdp-rev-top strong { color: #f5f6fa; }
:root[data-theme="dark"] .pdp-verified-badge {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
}
:root[data-theme="dark"] .pdp-rev-meta { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-rev-text { color: #c8cbd8; }
:root[data-theme="dark"] .pdp-helpful {
    background: #11141f;
    border-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .pdp-helpful:hover { border-color: #2e3147; color: #f5f6fa; }

/* ---------- SHOP PAGE ---------- */
:root[data-theme="dark"] .shop-filters {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .shop-search input,
:root[data-theme="dark"] .shop-select {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .shop-search input:focus { border-color: #3b82f6; background: #11141f; }
:root[data-theme="dark"] .shop-empty {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .shop-empty h3 { color: #f5f6fa; }

/* ---------- ACCOUNT / PROFILE / SETTINGS ---------- */
:root[data-theme="dark"] .account-title,
:root[data-theme="dark"] .settings-page .account-title { color: #f5f6fa; }

:root[data-theme="dark"] .account-nav {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .account-nav-item { color: #c8cbd8; }
:root[data-theme="dark"] .account-nav-item:hover { background: #171b2c; color: #f5f6fa; }
:root[data-theme="dark"] .account-nav-item.active {
    background: #ffffff;
    color: #0b0d17;
}

:root[data-theme="dark"] .account-store-ops {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .ops-head { color: #f5f6fa; }
:root[data-theme="dark"] .ops-desc { color: #8b8fa0; }
:root[data-theme="dark"] .ops-link { color: #60a5fa; }

:root[data-theme="dark"] .account-welcome-card,
:root[data-theme="dark"] .account-recent {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .account-welcome-card h2,
:root[data-theme="dark"] .account-recent h3 { color: #f5f6fa; }
:root[data-theme="dark"] .account-welcome-card p { color: #8b8fa0; }

:root[data-theme="dark"] .acc-stat {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .acc-stat-head { color: #8b8fa0; }
:root[data-theme="dark"] .acc-stat-num { color: #f5f6fa; }

:root[data-theme="dark"] .acc-quick-card {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .acc-quick-card:hover { border-color: #2e3147; }

:root[data-theme="dark"] .acc-order-row { border-top-color: #232637; }
:root[data-theme="dark"] .acc-order-id { color: #f5f6fa; }
:root[data-theme="dark"] .acc-order-items,
:root[data-theme="dark"] .acc-order-date { color: #8b8fa0; }
:root[data-theme="dark"] .acc-order-right strong { color: #f5f6fa; }
:root[data-theme="dark"] .acc-recent-empty { color: #8b8fa0; }

:root[data-theme="dark"] .settings-side {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .settings-side-item { color: #c8cbd8; }
:root[data-theme="dark"] .settings-side-item:hover { background: #171b2c; color: #f5f6fa; }
:root[data-theme="dark"] .settings-side-item.active {
    background: #ffffff;
    color: #0b0d17;
}

:root[data-theme="dark"] .settings-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .settings-card h3 { color: #f5f6fa; }
:root[data-theme="dark"] .settings-row { border-bottom-color: #232637; }
:root[data-theme="dark"] .settings-row-title { color: #f5f6fa; }
:root[data-theme="dark"] .settings-row-sub { color: #8b8fa0; }
:root[data-theme="dark"] .settings-toggle-btn {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .settings-toggle-btn:hover { background: #1e2235; border-color: #2e3147; }
:root[data-theme="dark"] .toggle-switch span { background: #2e3147; }
:root[data-theme="dark"] .toggle-switch input:checked + span { background: #3b82f6; }

:root[data-theme="dark"] .settings-danger-card { background: rgba(220,38,38,0.05); }
:root[data-theme="dark"] .settings-danger-card h3 { color: #f5f6fa; }
:root[data-theme="dark"] .settings-danger-card p { color: #c8cbd8; }

/* ---------- CHAT PAGE ---------- */
:root[data-theme="dark"] .chat-title { color: #f5f6fa; }
:root[data-theme="dark"] .chat-subtitle { color: #8b8fa0; }
:root[data-theme="dark"] .chat-shell {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .chat-header {
    background: #11141f;
    border-bottom-color: #232637;
}
:root[data-theme="dark"] .chat-header-avatar {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #ffffff;
}
:root[data-theme="dark"] .chat-header-name { color: #f5f6fa; }
:root[data-theme="dark"] .chat-header-status { color: #8b8fa0; }
:root[data-theme="dark"] .chat-body { background: #0f1220; }
:root[data-theme="dark"] .chat-empty h3 { color: #f5f6fa; }
:root[data-theme="dark"] .chat-empty p { color: #8b8fa0; }
:root[data-theme="dark"] .chat-msg.theirs .chat-bubble {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .chat-composer {
    background: #11141f;
    border-top-color: #232637;
}
:root[data-theme="dark"] .chat-attach {
    background: #171b2c;
    border-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .chat-input {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}

/* ---------- MINI CHAT WIDGET ---------- */
:root[data-theme="dark"] .mini-chat {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .mini-chat-head {
    background: #11141f;
    border-bottom-color: #232637;
}
:root[data-theme="dark"] .mini-head-name { color: #f5f6fa; }
:root[data-theme="dark"] .mini-head-status { color: #8b8fa0; }
:root[data-theme="dark"] .mini-chat-body { background: #0f1220; }
:root[data-theme="dark"] .mini-empty h4 { color: #f5f6fa; }
:root[data-theme="dark"] .mini-empty p { color: #8b8fa0; }
:root[data-theme="dark"] .mini-msg.theirs .mini-bubble {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .mini-chat-composer {
    background: #11141f;
    border-top-color: #232637;
}
:root[data-theme="dark"] .mini-attach {
    background: #171b2c;
    border-color: #232637;
    color: #c8cbd8;
}
:root[data-theme="dark"] .mini-input {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}

/* ---------- STATIC PAGES ---------- */
:root[data-theme="dark"] .page-h1 { color: #f5f6fa; }
:root[data-theme="dark"] .page-lead { color: #8b8fa0; }
:root[data-theme="dark"] .page-section h2 { color: #f5f6fa; }
:root[data-theme="dark"] .page-section p { color: #c8cbd8; }
:root[data-theme="dark"] .page-list li { color: #c8cbd8; }

:root[data-theme="dark"] .about-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .about-card:hover { border-color: #2e3147; }
:root[data-theme="dark"] .about-card h4 { color: #f5f6fa; }
:root[data-theme="dark"] .about-card p { color: #8b8fa0; }

:root[data-theme="dark"] .contact-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .contact-card h4 { color: #f5f6fa; }
:root[data-theme="dark"] .contact-card p { color: #8b8fa0; }
:root[data-theme="dark"] .contact-icon {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
}
:root[data-theme="dark"] .contact-form-card {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .contact-form-card h3 { color: #f5f6fa; }

/* ---------- AUTH PAGES ---------- */
:root[data-theme="dark"] .auth-wrap {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .auth-wrap h2 { color: #f5f6fa; }
:root[data-theme="dark"] .auth-wrap .sub { color: #8b8fa0; }

/* ---------- BUTTONS (default) ---------- */
:root[data-theme="dark"] .btn {
    background: #11141f;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .btn:hover {
    background: #171b2c;
    border-color: #2e3147;
}
:root[data-theme="dark"] .btn-ghost { background: transparent; border-color: transparent; }
:root[data-theme="dark"] .btn-ghost:hover { background: #171b2c; }
:root[data-theme="dark"] .btn-page-ghost {
    background: transparent;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .btn-page-ghost:hover { border-color: #f5f6fa; }

/* ---------- FORMS (default) ---------- */
:root[data-theme="dark"] .form-control {
    background: #171b2c;
    border-color: #232637;
    color: #f5f6fa;
}
:root[data-theme="dark"] .form-control:focus {
    border-color: #3b82f6;
    background: #11141f;
}
:root[data-theme="dark"] .form-control::placeholder { color: #5a5e72; }
:root[data-theme="dark"] .form-group label { color: #f5f6fa; }

/* ---------- FOOTER (ensure dark) ---------- */
:root[data-theme="dark"] .site-footer {
    background: #05060d;
    color: #8085a0;
}
/* ============================================================
   DARK MODE — FORCE FIX (nuclear override)
   ============================================================ */

:root[data-theme="dark"] body,
:root[data-theme="dark"] .site-main,
:root[data-theme="dark"] .container {
    color: #f5f6fa;
    background: #0b0d17;
}

/* All headings — dark mode */
:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4,
:root[data-theme="dark"] h5,
:root[data-theme="dark"] h6,
:root[data-theme="dark"] .section-title,
:root[data-theme="dark"] .collection-title,
:root[data-theme="dark"] .industry-title,
:root[data-theme="dark"] .cart-title,
:root[data-theme="dark"] .checkout-title,
:root[data-theme="dark"] .account-title {
    color: #f5f6fa !important;
}

/* All paragraphs and muted text */
:root[data-theme="dark"] p,
:root[data-theme="dark"] span,
:root[data-theme="dark"] div,
:root[data-theme="dark"] label,
:root[data-theme="dark"] li {
    color: inherit;
}

:root[data-theme="dark"] .text-muted,
:root[data-theme="dark"] .collection-note,
:root[data-theme="dark"] .industry-name,
:root[data-theme="dark"] .feature-sub {
    color: #8b8fa0 !important;
}

/* Eyebrows */
:root[data-theme="dark"] .section-eyebrow,
:root[data-theme="dark"] .collection-eyebrow,
:root[data-theme="dark"] .industry-eyebrow,
:root[data-theme="dark"] .page-eyebrow,
:root[data-theme="dark"] .account-eyebrow,
:root[data-theme="dark"] .checkout-eyebrow {
    color: #60a5fa !important;
}

/* Product titles inside cards */
:root[data-theme="dark"] .prod-title,
:root[data-theme="dark"] .prod-price {
    color: #f5f6fa !important;
}
:root[data-theme="dark"] .prod-price-old,
:root[data-theme="dark"] .prod-sold,
:root[data-theme="dark"] .prod-rating .rev {
    color: #8b8fa0 !important;
}
:root[data-theme="dark"] .prod-tag {
    background: #171b2c !important;
    color: #8b8fa0 !important;
}
:root[data-theme="dark"] .prod-badge-disc {
    background: #ffffff !important;
    color: #0b0d17 !important;
}
:root[data-theme="dark"] .prod-cart-btn {
    background: #ffffff !important;
    color: #0b0d17 !important;
}
:root[data-theme="dark"] .prod-cart-btn:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}
/* ============================================================
   DARK MODE — Kill remaining white gaps on homepage
   ============================================================ */

:root[data-theme="dark"] html,
:root[data-theme="dark"] body {
    background: #0b0d17 !important;
}

:root[data-theme="dark"] .site-main {
    background: #0b0d17 !important;
}

/* All major homepage sections — force dark background */
:root[data-theme="dark"] .hero-slider,
:root[data-theme="dark"] .industry-section,
:root[data-theme="dark"] .feature-strip,
:root[data-theme="dark"] .collection-section,
:root[data-theme="dark"] .shop-page,
:root[data-theme="dark"] .cart-page,
:root[data-theme="dark"] .checkout-page,
:root[data-theme="dark"] .account-page,
:root[data-theme="dark"] .settings-page,
:root[data-theme="dark"] .chat-page,
:root[data-theme="dark"] .page-wrap,
:root[data-theme="dark"] .auth-wrap {
    background: #0b0d17 !important;
}

/* Light theme — keep them white */
:root[data-theme="light"] .hero-slider,
:root[data-theme="light"] .industry-section,
:root[data-theme="light"] .feature-strip,
:root[data-theme="light"] .collection-section,
:root[data-theme="light"] .shop-page,
:root[data-theme="light"] .cart-page,
:root[data-theme="light"] .checkout-page,
:root[data-theme="light"] .account-page,
:root[data-theme="light"] .settings-page,
:root[data-theme="light"] .chat-page,
:root[data-theme="light"] .page-wrap,
:root[data-theme="light"] .auth-wrap {
    background: #ffffff;
}

/* Section containers — dark bg */
:root[data-theme="dark"] .container,
:root[data-theme="dark"] .header-inner,
:root[data-theme="dark"] .industry-head,
:root[data-theme="dark"] .industry-scroller,
:root[data-theme="dark"] .feature-row,
:root[data-theme="dark"] .collection-topline,
:root[data-theme="dark"] .collection-tabs,
:root[data-theme="dark"] .product-grid,
:root[data-theme="dark"] .load-more-wrap {
    background: transparent !important;
}

/* Body base color */
:root[data-theme="dark"] html { background: #0b0d17 !important; }
/* PDP gallery thumbnails with images */
.pdp-thumb img { width:100%;height:100%;object-fit:cover;border-radius:6px; }

/* Meta buttons on PDP */
.pdp-meta-btn {
    display:inline-flex;align-items:center;gap:5px;
    background:transparent;border:none;color:var(--text-muted);
    font-size:12px;font-weight:500;cursor:pointer;
    padding:4px 8px;border-radius:6px;transition:all 0.15s;
}
.pdp-meta-btn:hover { background:var(--surface-2); color:var(--text); }

/* Review write box */
.pdp-write-review-box {
    background:var(--surface-2);
    border:1px solid var(--border);
    border-radius:14px;
    padding:20px 22px;
    margin-bottom:24px;
}
.pdp-write-review-box h3 {
    font-family:var(--font-display);
    font-size:16px;font-weight:700;
    color:var(--text);margin-bottom:12px;
}
.pdp-write-review-box textarea { margin-top:10px; }

.pdp-review-stars-input {
    display:flex;gap:4px;font-size:24px;
    color:#d5d8e0;margin-bottom:6px;
}
.pdp-star-pick {
    cursor:pointer;transition:all 0.15s;user-select:none;
}
.pdp-star-pick:hover,.pdp-star-pick.active {
    color:#f59e0b;transform:scale(1.1);
}

.pdp-no-reviews {
    text-align:center;padding:40px 20px;
    color:var(--text-muted);font-size:14px;
}

/* Dark mode additions */
:root[data-theme="dark"] .pdp-write-review-box { background:#0f1220; border-color:#232637; }
:root[data-theme="dark"] .pdp-write-review-box h3 { color:#f5f6fa; }
:root[data-theme="dark"] .pdp-review-stars-input { color:#5a5e72; }
:root[data-theme="dark"] .pdp-meta-btn:hover { background:#171b2c; color:#f5f6fa; }
.account-nav-logout { color: #dc2626 !important; margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
.account-nav-logout:hover { background: rgba(220,38,38,0.08) !important; color: #dc2626 !important; }
:root[data-theme="dark"] .account-nav-logout { color: #f87171 !important; }
/* Image lightbox */
.img-lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    display: none; align-items: center; justify-content: center;
    z-index: 9999; padding: 20px; cursor: zoom-out;
}
.img-lightbox.open { display: flex; }
.img-lightbox img {
    max-width: 95vw; max-height: 95vh; object-fit: contain;
    border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    cursor: default;
}
.img-lightbox-close {
    position: absolute; top: 24px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.img-lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* Licence chip with price */
.pdp-chip {
    padding: 12px 20px;
    text-align: left;
    line-height: 1.3;
    min-width: 140px;
}
.pdp-chip small {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 500;
}
.pdp-chip.active small { color: var(--primary); }

/* Main product image full size */
.pdp-main-inner { overflow: hidden; }
#pdpMainImg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s;
}
#pdpMainImg:hover { transform: scale(1.02); }

/* Own review "Was this helpful" button active state */
.review-like-btn:disabled { opacity: 0.6; cursor: default; }

/* Dark mode */
:root[data-theme="dark"] .img-lightbox { background: rgba(0,0,0,0.95); }
:root[data-theme="dark"] .pdp-chip small { color: #8b8fa0; }
:root[data-theme="dark"] .pdp-chip.active small { color: #60a5fa; }
/* Mobile — hide feature strip & collection extras */
@media (max-width: 640px) {
    .feature-strip { display: none; }
    .collection-note { display: none; }
    .collection-shoplink { display: none; }
}
/* ============================================================
   MOBILE FIX — Product page + Profile page
   ============================================================ */

@media (max-width: 900px) {
    .pdp-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .pdp-gallery {
        position: static !important;
        grid-template-columns: 1fr !important;
    }
    .pdp-thumbs {
        flex-direction: row !important;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .pdp-thumb { width: 60px !important; height: 60px !important; flex-shrink: 0; }
    .pdp-main-inner { min-height: auto; }
    .pdp-title { font-size: 26px !important; }
    .pdp-price-main { font-size: 32px !important; }
    .pdp-buybox {
        position: static !important;
        padding: 20px;
    }
    .pdp-specs-row {
        grid-template-columns: 1fr !important;
    }
    .pdp-specs-cell:first-child {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
    .pdp-reviews-body {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .pdp-review-filters { flex-direction: column; align-items: flex-start; }
    .pdp-related-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    /* Account / Profile page on mobile */
    .account-grid, .settings-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .account-side, .settings-side {
        position: static !important;
    }
    .account-nav, .settings-side {
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap;
        padding: 6px;
        gap: 6px;
        margin-bottom: 16px;
    }
    .account-nav-item, .settings-side-item {
        flex-shrink: 0;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    .account-nav-item svg { display: none; }
    .account-title { font-size: 26px !important; margin-bottom: 16px; }
    .account-stats, .account-quick {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    .account-welcome-card { padding: 20px !important; }
    .account-welcome-card h2 { font-size: 18px !important; }
    .acc-order-row { flex-direction: column !important; gap: 10px; }
    .acc-order-right { align-items: flex-start !important; }
    .account-recent { padding: 20px !important; }
    .acc-quick-card { padding: 14px 16px !important; font-size: 13px !important; }
}

@media (max-width: 640px) {
    .container { padding: 0 14px !important; }
    .pdp-breadcrumb { font-size: 11px; padding: 12px 0; flex-wrap: wrap; }
    .pdp-title { font-size: 22px !important; }
    .pdp-price-main { font-size: 28px !important; }
    .pdp-promises { padding: 14px !important; }
    .pdp-chip { min-width: auto !important; font-size: 12px !important; padding: 10px 14px !important; }
    .pdp-qty-row { padding: 10px 0 !important; }
    .pdp-buy-btn, .pdp-add-btn { padding: 14px !important; font-size: 14px !important; }
    .pdp-reviews-title { font-size: 22px !important; }
    .pdp-review-item { padding: 16px 0 !important; }
    .pdp-rev-avatar { width: 36px !important; height: 36px !important; font-size: 14px !important; }
    .account-title { font-size: 22px !important; }
    .acc-stat { padding: 16px !important; }
    .acc-stat-num { font-size: 22px !important; }
    .account-nav-item, .settings-side-item { font-size: 12.5px !important; padding: 7px 12px !important; }
    .settings-row { flex-direction: column !important; gap: 10px !important; align-items: flex-start !important; }
}
/* ============================================================
   AUTH PAGES (Login / Signup)
   ============================================================ */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(10,10,30,0.08);
}
.auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.auth-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.auth-sub {
    font-size: 14px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.auth-form { display: flex; flex-direction: column; gap: 4px; }
.auth-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    margin-top: 8px;
}
.auth-btn-primary:hover { background: var(--primary-h); transform: translateY(-1px); }
.auth-errors {
    padding: 12px 16px;
    background: rgba(220,38,38,0.08);
    border-left: 3px solid #dc2626;
    border-radius: 10px;
    color: #dc2626;
    font-size: 13.5px;
    margin-bottom: 20px;
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--text-muted);
}
.auth-footer a { color: var(--primary); font-weight: 600; }

:root[data-theme="dark"] .auth-card { background: #11141f; border-color: #232637; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
:root[data-theme="dark"] .auth-title { color: #f5f6fa; }
:root[data-theme="dark"] .auth-sub,
:root[data-theme="dark"] .auth-footer { color: #8b8fa0; }
:root[data-theme="dark"] .auth-errors { background: rgba(220,38,38,0.12); }

@media (max-width: 640px) {
    .auth-card { padding: 28px 22px; border-radius: 16px; }
    .auth-title { font-size: 24px; }
}
/* ============================================================
   MOBILE FIX — Account / Profile / Wishlist / Purchases pages
   ============================================================ */

@media (max-width: 900px) {

    /* Page and container can scroll normally */
    .account-page,
    .settings-page {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    /* Grid becomes single column */
    .account-grid,
    .settings-grid {
        display: block !important;
        width: 100% !important;
    }

    /* Sidebar: static, not sticky, scrollable horizontally */
    .account-side,
    .settings-side {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        margin-bottom: 16px !important;
        overflow: visible !important;
    }

    /* Sidebar nav becomes horizontal scroll pills */
    .account-nav,
    .settings-side {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding: 6px !important;
        margin: 0 0 16px 0 !important;
        background: var(--surface) !important;
        border: 1px solid var(--border) !important;
        border-radius: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .account-nav::-webkit-scrollbar,
    .settings-side::-webkit-scrollbar { display: none; }

    .account-nav-item,
    .settings-side-item {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 9px 14px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        background: transparent !important;
        border-radius: 8px !important;
        color: var(--text-2) !important;
    }
    .account-nav-item.active,
    .settings-side-item.active {
        background: #0b0d17 !important;
        color: #ffffff !important;
    }
    :root[data-theme="dark"] .account-nav-item.active,
    :root[data-theme="dark"] .settings-side-item.active {
        background: #ffffff !important;
        color: #0b0d17 !important;
    }

    /* Main area: normal width */
    .account-main,
    .settings-main {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Stack card grids vertically */
    .account-stats,
    .account-quick {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Title shrink */
    .account-title {
        font-size: 26px !important;
        margin-bottom: 16px !important;
    }

    /* Padding tweak */
    .account-welcome-card,
    .account-recent,
    .account-store-ops,
    .settings-card,
    .settings-danger-card {
        padding: 22px !important;
    }

    .account-welcome-card h2 { font-size: 20px !important; }

    /* Order row stack */
    .acc-order-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .acc-order-right {
        align-items: flex-start !important;
        text-align: left !important;
    }

    /* Quick card */
    .acc-quick-card {
        padding: 16px !important;
        font-size: 13.5px !important;
    }
}

@media (max-width: 640px) {
    .account-title { font-size: 24px !important; }
    .account-nav-item,
    .settings-side-item {
        padding: 8px 12px !important;
        font-size: 12.5px !important;
    }
    .acc-stat { padding: 18px !important; }
    .acc-stat-num { font-size: 24px !important; }
    .settings-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}
/* ============================================================
   HERO SLIDER — Separate mobile image
   ============================================================ */

/* Desktop — taller slider, uses desktop image */
@media (min-width: 641px) {
    .hero-slider { height: 560px; }
    .hero-slide { background-image: var(--bg-desktop); background-size: cover; background-position: center; }
}

/* Mobile — vertical/taller slider, uses mobile image */
@media (max-width: 640px) {
    .hero-slider {
        height: 480px;
        margin: 12px 12px 0;
        border-radius: 16px;
        overflow: hidden;
    }
    .hero-slide {
        background-image: var(--bg-mobile);
        background-size: cover;
        background-position: center;
    }
    .hero-arrow { display: none; }
}

/* Tablet — in-between */
@media (min-width: 641px) and (max-width: 900px) {
    .hero-slider { height: 400px; }
    .hero-slide { background-image: var(--bg-mobile); }
}
/* Reviews load-more button */
.reviews-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.reviews-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.reviews-load-more:hover {
    border-color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,10,30,0.08);
}
:root[data-theme="dark"] .reviews-load-more {
    background: #11141f;
    border-color: #2e3147;
    color: #f5f6fa;
}
:root[data-theme="dark"] .reviews-load-more:hover {
    background: #171b2c;
    border-color: #f5f6fa;
}
/* ============================================================
   REVIEWS — New card design
   ============================================================ */

/* Summary card */
.pdp-reviews-summary-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 40px;
}
.pdp-rs-left { text-align: left; }
.pdp-rs-avg {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1;
}
.pdp-rs-avg::after {
    content: ' / 5.0';
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 6px;
}
.pdp-rs-stars { color: #f59e0b; font-size: 20px; letter-spacing: 2px; margin: 8px 0; }
.pdp-rs-count { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.pdp-rs-count strong { color: var(--text); }
.pdp-rs-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--success-soft); color: var(--success);
    font-size: 12px; font-weight: 600;
}
.pdp-rs-mid { display: flex; flex-direction: column; gap: 10px; }
.pdp-rs-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.pdp-rs-bar-num { width: 30px; display: inline-flex; align-items: center; gap: 4px; }
.pdp-rs-bar-track {
    flex: 1; height: 8px; background: var(--surface-3);
    border-radius: 4px; overflow: hidden;
}
.pdp-rs-bar-fill { height: 100%; background: linear-gradient(90deg, #fbbf24, #f59e0b); border-radius: 4px; }
.pdp-rs-bar-pct { width: 40px; text-align: right; font-family: monospace; }
.pdp-rs-right { text-align: center; }
.pdp-rs-help { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.pdp-rs-write-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 12px;
    background: var(--primary); color: #fff;
    font-size: 14px; font-weight: 700;
    border: none; cursor: pointer;
    transition: all 0.15s; font-family: inherit;
    text-decoration: none;
}
.pdp-rs-write-btn:hover { background: var(--primary-h); transform: translateY(-1px); }
.pdp-rs-write-disabled {
    background: var(--surface-2) !important; color: var(--text-muted) !important;
    cursor: not-allowed !important;
}
.pdp-rs-write-disabled:hover { transform: none; }
.pdp-rs-write-done {
    background: var(--success-soft) !important; color: var(--success) !important;
    cursor: default !important;
}

/* Reviews grid */
.pdp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.pdp-review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.2s;
}
.pdp-review-card:hover {
    border-color: var(--border-2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.pdp-rc-head { display: flex; align-items: center; gap: 12px; }
.pdp-rc-avatar {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff; font-weight: 800; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pdp-rc-avatar-alt { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.pdp-rc-user { flex: 1; min-width: 0; }
.pdp-rc-name {
    font-size: 14px; font-weight: 700; color: var(--text);
    display: flex; align-items: center; gap: 6px;
}
.pdp-rc-verified { color: #2563eb; font-size: 12px; }
.pdp-rc-role {
    font-size: 11px; color: var(--text-muted);
    background: var(--surface-2);
    padding: 2px 8px; border-radius: 999px;
    display: inline-block; margin-top: 4px;
}
.pdp-rc-date { font-size: 11px; color: var(--text-faint); font-family: monospace; }
.pdp-rc-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.pdp-rc-text {
    font-size: 13.5px; line-height: 1.6;
    color: var(--text-2);
    flex: 1;
}
.pdp-rc-foot {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px; border-top: 1px solid var(--border);
}
.pdp-rc-help { font-size: 11.5px; color: var(--text-muted); }
.pdp-rc-like {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 10px;
    background: var(--surface-2); border: 1px solid var(--border);
    font-size: 12px; font-weight: 600; color: var(--text-2);
    cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.pdp-rc-like:hover { border-color: var(--primary); color: var(--primary); }
.pdp-rc-like.liked {
    background: var(--primary-soft); border-color: var(--primary);
    color: var(--primary); cursor: default;
}

/* Load more */
.reviews-load-more-wrap {
    display: flex; justify-content: center;
    margin-top: 24px; padding-top: 24px;
}
.reviews-load-more {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; background: var(--surface);
    border: 1.5px solid var(--border-2); border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--text);
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.reviews-load-more:hover {
    border-color: var(--text); transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,10,30,0.08);
}

/* Review Modal */
.review-modal {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.review-modal.open { display: flex; }
.review-modal-box {
    width: 100%; max-width: 500px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    max-height: 90vh; overflow-y: auto;
}
.review-modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 10px;
    background: transparent; border: none;
    color: var(--text-muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.review-modal-close:hover { background: var(--surface-2); color: var(--text); }

.review-modal-head { margin-bottom: 24px; }
.review-modal-eyebrow {
    font-family: var(--font-display); font-size: 11px;
    font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--primary);
}
.review-modal-head h3 {
    font-family: var(--font-display); font-size: 24px;
    font-weight: 800; color: var(--text); margin: 4px 0 6px;
    letter-spacing: -0.02em;
}
.review-modal-head p { font-size: 13.5px; color: var(--text-muted); }

.review-modal-stars-wrap {
    text-align: center;
    padding: 20px;
    background: var(--surface-2);
    border-radius: 14px;
    margin-bottom: 20px;
}
.review-modal-stars-wrap label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--text-muted); margin-bottom: 10px;
}
.review-modal-stars {
    display: flex; justify-content: center; gap: 6px;
    font-size: 32px; color: #d5d8e0; margin-bottom: 8px;
}
.review-modal-star-label { font-size: 13px; font-weight: 700; color: var(--primary); }

.review-modal-field { margin-bottom: 16px; }
.review-modal-field label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 8px;
}
.review-modal-field textarea {
    width: 100%; padding: 12px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px; color: var(--text);
    font-family: inherit; resize: vertical;
    outline: none; transition: all 0.15s;
}
.review-modal-field textarea:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--primary-soft);
}
.review-modal-char {
    text-align: right; font-size: 11px;
    color: var(--text-faint); font-family: monospace;
    margin-top: 4px;
}

.review-modal-submit {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; width: 100%;
    padding: 14px; border-radius: 12px;
    background: var(--primary); color: #fff;
    border: none; font-size: 14.5px; font-weight: 700;
    cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.review-modal-submit:hover { background: var(--primary-h); transform: translateY(-1px); }

.pdp-star-pick {
    cursor: pointer; transition: all 0.15s; user-select: none;
}
.pdp-star-pick:hover, .pdp-star-pick.active { color: #f59e0b; transform: scale(1.1); }

/* Dark mode */
:root[data-theme="dark"] .pdp-review-card { background: #11141f; border-color: #232637; }
:root[data-theme="dark"] .pdp-rc-role { background: #171b2c; }
:root[data-theme="dark"] .pdp-rs-bar-track { background: #1e2235; }
:root[data-theme="dark"] .pdp-rs-write-disabled { background: #171b2c !important; color: #8b8fa0 !important; }
:root[data-theme="dark"] .review-modal-box { background: #11141f; border-color: #232637; }
:root[data-theme="dark"] .review-modal-stars-wrap { background: #0f1220; }
:root[data-theme="dark"] .review-modal-field textarea { background: #171b2c; border-color: #232637; color: #f5f6fa; }
:root[data-theme="dark"] .review-modal-field textarea:focus { background: #11141f; border-color: #3b82f6; }
:root[data-theme="dark"] .review-modal-close:hover { background: #171b2c; }
:root[data-theme="dark"] .pdp-rc-like { background: #171b2c; border-color: #232637; }

@media (max-width: 1000px) {
    .pdp-reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .pdp-reviews-summary-card { grid-template-columns: 1fr; gap: 24px; }
    .pdp-rs-right { text-align: left; }
}
@media (max-width: 640px) {
    .pdp-reviews-grid { grid-template-columns: 1fr; }
    .pdp-reviews-summary-card { padding: 20px; }
    .pdp-rs-avg { font-size: 42px; }
    .review-modal-box { padding: 24px; }
}
/* ============================================================
   PRODUCT PAGE — Single cover image
   ============================================================ */

.pdp-gallery-single {
    display: block !important;
}
.pdp-gallery-single .pdp-main {
    width: 100%;
}
.pdp-gallery-single .pdp-main-inner {
    position: relative;
    background: #f2f3f7;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border);
}
.pdp-gallery-single #pdpMainImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s;
}
.pdp-gallery-single #pdpMainImg:hover {
    transform: scale(1.02);
}
.pdp-gallery-single .pdp-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 14px;
}

:root[data-theme="dark"] .pdp-gallery-single .pdp-main-inner {
    background: #171b2c;
    border-color: #232637;
}

/* Mobile — keep square */
@media (max-width: 640px) {
    .pdp-gallery-single .pdp-main-inner {
        border-radius: 14px;
    }
}
/* ============================================================
   FINAL FIX: Categories Dropdown
   ============================================================ */
.hdr-cat-wrap {
    position: relative;
}

.hdr-cat-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    /* Anchor to the right edge of the button */
    right: 0; 
    left: auto;
    /* Fixed width, but never wider than the screen */
    width: 540px;
    max-width: calc(100vw - 32px); 
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 24px 60px rgba(10,10,20,0.15);
    display: none;
    z-index: 250;
    box-sizing: border-box;
}

.hdr-cat-wrap.open .hdr-cat-dropdown {
    display: block;
}

.hdr-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

.hdr-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    color: #3a3d4d;
    transition: all 0.15s;
    min-width: 0;
    overflow: hidden;
}

.hdr-cat-item > span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.hdr-cat-item:hover {
    background: #f7f8fa;
    color: #0a0a15;
}

/* Dark mode */
:root[data-theme="dark"] .hdr-cat-dropdown {
    background: #11141f;
    border-color: #232637;
}
:root[data-theme="dark"] .hdr-cat-item {
    color: #c8cbd8;
}
:root[data-theme="dark"] .hdr-cat-item:hover {
    background: #171b2c;
    color: #f5f6fa;
}
/* ============================================================
   CATEGORY BUTTON FIX
   ============================================================ */
button.hdr-cat-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    background: transparent !important;
    border: 1px solid #e6e8ee !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0a0a15 !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
    white-space: nowrap !important;
    height: 40px !important;
    box-sizing: border-box !important;
}
button.hdr-cat-btn:hover {
    background: #f7f8fa !important;
    border-color: #d5d8e0 !important;
}
button.hdr-cat-btn svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
}

/* Dark mode button fix */
:root[data-theme="dark"] button.hdr-cat-btn {
    background: transparent !important;
    border-color: #232637 !important;
    color: #f5f6fa !important;
}
:root[data-theme="dark"] button.hdr-cat-btn:hover {
    background: #171b2c !important;
    border-color: #2e3147 !important;
}
/* ============================================================
   FORCE DARK MODE (NUCLEAR OPTION)
   ============================================================ */
:root[data-theme="dark"] body {
    background-color: #0b0d17 !important;
    color: #f5f6fa !important;
}
:root[data-theme="dark"] .site-header {
    background-color: #11141f !important;
    border-bottom-color: #232637 !important;
}
:root[data-theme="dark"] .logo-text .main,
:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4 {
    color: #ffffff !important;
}
:root[data-theme="dark"] .search-bar {
    background-color: #171b2c !important;
    border-color: #2e3147 !important;
}
:root[data-theme="dark"] .search-bar input {
    color: #f5f6fa !important;
}
:root[data-theme="dark"] .hdr-cat-btn,
:root[data-theme="dark"] .hdr-link,
:root[data-theme="dark"] .hdr-icon-btn {
    color: #f5f6fa !important;
}
:root[data-theme="dark"] .prod-card,
:root[data-theme="dark"] .industry-section,
:root[data-theme="dark"] .collection-section {
    background-color: #11141f !important;
    border-color: #232637 !important;
}
.hg-placeholder { background: #f2f3f7; border: 2px dashed #d5d8e0; }
:root[data-theme="dark"] .hg-placeholder { background: #171b2c; border-color: #2e3147; }