@import url('static/css/v3-style-tokens.css');
@import url('static/css/v3-style-components.css');

/*
    Kidatech Solutions — Premium Design System v3.0
    Palette: Deep Midnight / Royal Blue / Electric Cyan / Metallic Gold
    Dual Mode: Dark (default) & Light via body.light-mode
*/

/* ═══════════════════════════════════════════════════════════════════
   0. FLASH-OF-WRONG-THEME PREVENTION
   ═══════════════════════════════════════════════════════════════════ */
html.light-mode-pre body { background-color: #f8fafc; color: #0f172a; }

/* ═══════════════════════════════════════════════════════════════════
   1. CSS DESIGN TOKENS (Dark Mode — Default)
   ═══════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════
   1b. V1 DARK THEME (data-theme attribute) + prefers-color-scheme
   ═══════════════════════════════════════════════════════════════════ */
/* Light theme surface tokens */
[data-theme="light"],
body.light-mode {
    --color-bg:           #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-surface:      #ffffff;
    --color-text:         #1e293b;
    --color-text-muted:   #64748b;
    --color-border:       #e2e8f0;
    --shadow-card:        0 1px 3px rgba(0,0,0,0.08);
    --shadow-card-hover:  0 8px 24px rgba(0,0,0,0.10);
    --brand-price:        #E85D04;
}



/* Reduced motion (Rule 0.10 / WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Component loader anti-flash (js/components.js) */
#header-placeholder,
#footer-placeholder {
    visibility: hidden;
    min-height: 70px;
}
body.components-ready #header-placeholder,
body.components-ready #footer-placeholder {
    visibility: visible;
    min-height: unset;
}

/* Skip link (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    background: var(--brand);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.15s ease;
}
.skip-link:focus {
    top: 0;
}

/* ======================================================
   2. LIGHT MODE OVERRIDES (legacy body.light-mode class)
   ====================================================== */
body.light-mode {
    --bg-primary:    #f8fafc;
    --bg-secondary:  #ffffff;
    --bg-card:       #ffffff;
    --bg-base:       #f8fafc;
    --bg-main:       #f8fafc;
    --text-main:     #0f172a;
    --text-dark:     #0f172a;
    --text-light:    #64748b;
    --text-muted:    #64748b;
    --glass-border:  rgba(0, 0, 0, 0.08);
    --card-border:   1px solid #e2e8f0;
    --nav-bg:        rgba(255, 255, 255, 0.98);
    --nav-shadow:    0 2px 20px rgba(0, 0, 0, 0.08);
    --footer-bg:     #ffffff;
    --footer-border: 1px solid #e2e8f0;
    --input-bg:      #f8fafc;
    --social-icon-bg:rgba(0, 0, 0, 0.05);
}

/* Card & input overrides in light mode */
body.light-mode .product-card,
body.light-mode .service-card,
body.light-mode .feedback-card,
body.light-mode .form-card,
body.light-mode .filter-sidebar,
body.light-mode .flash-card,
body.light-mode .cat-item,
body.light-mode .modal-content,
body.light-mode .cart-drawer {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea,
body.light-mode .otp-input {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
}

body.light-mode .nav-links a {
    color: #0f172a;
}

body.light-mode .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

body.light-mode footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

body.light-mode .hero-new {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

body.light-mode .hero-overlay {
    background: linear-gradient(to right, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.7) 50%, rgba(248, 250, 252, 0.3) 100%);
}

body.light-mode .hero-content h1 { color: #0f172a; }
body.light-mode .hero-content p  { color: #64748b; }

body.light-mode .btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
}

body.light-mode .btn-outline {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

body.light-mode .btn-outline:hover {
    background: var(--accent-blue);
    color: #ffffff;
}

body.light-mode .flash-sales-section {
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.9) 0%, rgba(226, 232, 240, 0.9) 100%);
    border-bottom: 1px solid #e2e8f0;
}

body.light-mode .countdown-container {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
}

body.light-mode .spec-item {
    background: rgba(0, 0, 0, 0.03);
}

body.light-mode .cart-footer {
    background: #f8fafc;
}

body.light-mode .search-overlay {
    background: rgba(248, 250, 252, 0.98);
}

body.light-mode .search-input-wrapper input {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
}

body.light-mode .search-result-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

body.light-mode .theme-float {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-mode .service-section {
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
}

body.light-mode .granular-categories {
    background: #f1f5f9;
}

body.light-mode .brand-section {
    border-bottom-color: #e2e8f0;
}

body.light-mode .filter-group h5,
body.light-mode .dropdown-column h6 {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .cart-item {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .otp-input {
    background: #f1f5f9;
}

/* ═══════════════════════════════════════════════════════════════════
   3. BASE RESET & GLOBAL
   ═══════════════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
}

section { padding: 12rem 0; }
#testimonials { padding: 6rem 0; }

/* ═══════════════════════════════════════════════════════════════════
   4. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
    font-weight: 800;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blue-text { color: var(--accent-light-blue); }

/* ═══════════════════════════════════════════════════════════════════
   5. NAVIGATION — Premium Glassmorphism
   ═══════════════════════════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.9rem 0;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

nav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.35);
    padding: 0.7rem 0;
    background: rgba(2, 6, 23, 0.88);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode nav.scrolled {
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   6. LOGO
   ═══════════════════════════════════════════════════════════════════ */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.88; }
.logo svg, .logo .logo-svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo span { color: var(--accent-light-blue); }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-main {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.06em;
}
.logo-sub {
    font-size: 0.52rem;
    font-weight: 600;
    color: var(--accent-light-blue);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════════
   7. NAV LINKS
   ═══════════════════════════════════════════════════════════════════ */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.nav-links > li > a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.nav-links > li > a:hover { opacity: 1; color: var(--accent-light-blue); }
.nav-links a.active { color: var(--accent-light-blue); opacity: 1; position: relative; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-light-blue);
    box-shadow: 0 0 8px var(--accent-light-blue);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   8. DROPDOWN MENU
   ═══════════════════════════════════════════════════════════════════ */
.dropdown { position: relative; display: inline-block; }

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
}
.dropdown-toggle:hover {
    opacity: 1;
    color: var(--accent-light-blue);
}

.dropdown-toggle .chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.dropdown:hover .dropdown-toggle .chevron,
.dropdown.hover-open .dropdown-toggle .chevron,
.dropdown.keyboard-open .dropdown-toggle .chevron {
    transform: rotate(180deg);
    color: var(--accent-light-blue);
}

/* Active tab style for dropdown trigger on desktop */
.nav-links .dropdown.active > .dropdown-toggle {
    color: var(--accent-light-blue);
    opacity: 1;
    position: relative;
}
.nav-links .dropdown.active > .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-light-blue);
    box-shadow: 0 0 8px var(--accent-light-blue);
    border-radius: 2px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(10, 16, 35, 0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem 2.5rem;
    width: min(820px, calc(100vw - 2rem));
    flex-direction: row !important;
    gap: 2.5rem !important;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56,189,248,0.06);
    display: flex;
    pointer-events: none;
    z-index: 9999;
}
.dropdown:hover .dropdown-menu,
.dropdown.hover-open .dropdown-menu,
.dropdown.keyboard-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Invisible bridge to prevent dropdown from closing when mouse is in the gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
}
.dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 130px;
}
.dropdown-column h6 {
    color: var(--accent-gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 0.4rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    font-weight: 700;
}
.dropdown-menu a, .dropdown-column a {
    color: rgba(248,250,252,0.82) !important;
    font-size: 0.84rem !important;
    padding: 0.25rem 0 !important;
    transition: color 0.18s ease, padding-left 0.18s ease;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
    text-decoration: none;
}
.dropdown-menu a:hover, .dropdown-column a:hover {
    color: var(--accent-light-blue) !important;
    padding-left: 6px !important;
}
/* Mobile dropdown fully controlled by hamburger nav block below. */

/* ═══════════════════════════════════════════════════════════════════
   8b. NAV ACTIONS — right-side cluster
   ═══════════════════════════════════════════════════════════════════ */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* User area: contains welcome + auth btn + order btn */
.nav-user-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* ── Welcome greeting pill ── */
.user-welcome {
    display: none; /* shown via JS */
    align-items: center;
    gap: 0.45rem;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.22);
    border-radius: 50px;
    padding: 0.35rem 0.85rem 0.35rem 0.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-light-blue);
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.25s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    line-height: 1;
}
.user-welcome .welcome-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--accent-light-blue);
    opacity: 0.9;
}
.user-name-highlight {
    color: #f8fafc;
    font-weight: 700;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

/* ── Auth button (Sign In / Sign Out) ── */
.nav-auth-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.nav-auth-btn.btn-outline {
    border: 1.5px solid var(--accent-light-blue);
    color: var(--accent-light-blue);
    background: transparent;
}
.nav-auth-btn.btn-outline:hover {
    background: var(--accent-light-blue);
    color: #020617;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(56,189,248,0.28);
}
.nav-auth-btn.btn-accent {
    background: rgba(239,68,68,0.12);
    border: 1.5px solid rgba(239,68,68,0.4);
    color: #f87171;
}
.nav-auth-btn.btn-accent:hover {
    background: rgba(239,68,68,0.22);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(239,68,68,0.2);
}

.nav-order-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.4;
    background: linear-gradient(135deg, #f68b1e, #e07519);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(246,139,30,0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(246,139,30,0.45);
    background: linear-gradient(135deg, #f79a35, #f68b1e);
}

/* ── Become a Seller CTA button ── */
.nav-seller-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}
.nav-seller-btn:hover {
    background: var(--accent-gold);
    color: #020617;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

/* ── Cart button ── */
.cart-btn {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    padding: 0.48rem 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}
.cart-btn:hover {
    background: rgba(56,189,248,0.1);
    transform: translateY(-1px);
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-light-blue);
    color: #020617;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.2s ease;
}

@keyframes badgePop {
    0% { transform: scale(1); }
    30% { transform: scale(1.4) translateY(-2px); box-shadow: 0 0 15px rgba(56, 189, 248, 0.8); }
    50% { transform: scale(0.9); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.cart-badge.pop {
    animation: badgePop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) {
    .nav-links { gap: 1.6rem; }
    .user-welcome { max-width: 170px; }
}
@media (max-width: 992px) {
    .nav-links { gap: 1.2rem; }
    .nav-links > li > a { font-size: 0.82rem; }
    .user-welcome { max-width: 140px; font-size: 0.78rem; padding: 0.3rem 0.7rem 0.3rem 0.5rem; }
    .nav-auth-btn, .nav-order-btn { padding: 0.42rem 0.85rem; font-size: 0.82rem; }
}
@media (max-width: 768px) {
    .user-welcome { display: none !important; }
    .nav-order-btn { display: none; }
    .nav-actions { gap: 0.5rem; }
    .nav-user-area { gap: 0.4rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   9. BUTTONS — Full variable support
   ═══════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-accent {
    background: var(--accent-light-blue);
    color: #020617;
    box-shadow: 0 10px 20px var(--accent-blue-glow);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--accent-blue-glow);
}

.btn-outline {
    border: 1px solid var(--accent-light-blue);
    color: var(--accent-light-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-light-blue);
    color: #020617;
    transform: translateY(-2px);
}

.btn-highlight {
    background: #f68b1e;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(246, 139, 30, 0.3);
}

.btn-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(246, 139, 30, 0.4);
    background: #e07d19;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

.btn-learn {
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
}

.btn-secondary { transition: transform 0.3s, background-color 0.3s, color 0.3s; }

/* ═══════════════════════════════════════════════════════════════════
   10. HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.hero-new {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.6) 50%, rgba(2, 6, 23, 0.3) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content { max-width: 850px; }

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   11. SECTION HEADERS & LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 { font-size: 3rem; margin-bottom: 1rem; }

.product-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.product-row.reverse { grid-template-columns: 1.2fr 1fr; }
.product-row.reverse .product-info { order: 1; }
.product-row.reverse .product-visual { order: 2; }

.product-visual {
    background: var(--bg-card);
    border-radius: 32px;
    height: 550px;
    position: relative;
    overflow: hidden;
    border: var(--card-border);
    transition: border-color 0.3s ease;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-row:hover .product-visual img { transform: scale(1.05); }

.product-info h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════════
   12. SPEC ITEMS
   ═══════════════════════════════════════════════════════════════════ */
.specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 3px solid var(--accent-light-blue);
    transition: var(--transition);
}

.spec-item:hover {
    background: rgba(56, 189, 248, 0.05);
    border-left-width: 6px;
}

.spec-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* ═══════════════════════════════════════════════════════════════════
   13. SERVICE & FORMS
   ═══════════════════════════════════════════════════════════════════ */

.service-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}




.feedback-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: var(--card-border);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 350px;
    scroll-snap-align: start;
}

.feedback-card:hover,
.testimonial:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.feedback-card::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 5rem;
    color: var(--accent-light-blue);
    opacity: 0.2;
}

.feedback-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    flex-grow: 1; /* Pushes the user info to the absolute bottom of the card */
}

.user-info { display: flex; align-items: center; gap: 1rem; }

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   15. FOOTER — Premium dual-mode
   ═══════════════════════════════════════════════════════════════════ */
footer {
    padding: 6rem 0 3rem;
    background: var(--footer-bg);
    border-top: var(--footer-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-links h4 {
    color: var(--accent-light-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 800;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--accent-light-blue); }

/* ═══════════════════════════════════════════════════════════════════
   16. SOCIAL LINKS — Premium icon circles with platform colors
   ═══════════════════════════════════════════════════════════════════ */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}


.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #161616;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
    position: relative;
}

.social-link svg, .social-link i {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.25s;
}

.social-link.facebook:hover   { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-link.twitter:hover    { background: #000;    border-color: #555;    color: #fff; }
.social-link.instagram:hover  {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: #d6249f;
    color: #fff;
}
.social-link.linkedin:hover   { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.social-link.youtube:hover    { background: #FF0000; border-color: #FF0000; color: #fff; }
.social-link.tiktok:hover     { background: #010101; border-color: #69C9D0; color: #fff; }
.social-link.map:hover        { background: var(--accent-gold); border-color: var(--accent-gold); color: #000; }

.social-link:hover            { transform: translateY(-3px); }
.social-link:hover svg, .social-link:hover i { transform: scale(1.12); }

.social-link::after {
    content: attr(data-label);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1000;
}

.social-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   17. BOOTSTRAP-STYLE UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.d-flex      { display: flex; }
.gap-2       { gap: 0.5rem; }
.gap-3       { gap: 1rem; }
.fw-bold     { font-weight: 700; }
.fs-sm       { font-size: 0.875rem; }
.text-muted  { color: var(--text-muted) !important; }
.rounded     { border-radius: 8px; }
.rounded-lg  { border-radius: 16px; }
.shadow-sm   { box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.shadow-md   { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.mb-2        { margin-bottom: 2rem; }
.hidden      { display: none !important; }
.w-full      { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════
   18. ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-red {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70%  { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ═══════════════════════════════════════════════════════════════════
   19. MODAL SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border-radius: 24px;
    border: var(--card-border);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
}

.modal-content h2 { font-size: 2rem; margin-bottom: 0.5rem; }
#modalSub { color: var(--text-muted); margin-bottom: 2.5rem; }

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-alt {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-alt a { color: var(--accent-light-blue); text-decoration: none; font-weight: 600; }
.guest-btn  { margin-top: 1rem; border-style: dashed; }

/* ═══════════════════════════════════════════════════════════════════
   20. OTP INPUTS
   ═══════════════════════════════════════════════════════════════════ */
.otp-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--accent-light-blue);
}

.otp-input:focus {
    border-color: var(--accent-light-blue);
    outline: none;
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

/* ═══════════════════════════════════════════════════════════════════
   21. PRICING & AUTH STATES
   ═══════════════════════════════════════════════════════════════════ */
.price-display {
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(56, 189, 248, 0.05);
    border-radius: 8px;
    border: 1px dashed var(--accent-light-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
}

.price-display i { width: 16px; color: var(--accent-light-blue); }

/* ═══════════════════════════════════════════════════════════════════
   22. CATALOG HEADER
   ═══════════════════════════════════════════════════════════════════ */
.catalog-header {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 2rem;
}

.catalog-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.95));
    z-index: 1;
}

.catalog-header .container {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
}

.catalog-header h1 { font-size: 4rem; margin-bottom: 1.5rem; }

.catalog-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover { color: var(--accent-light-blue); }

/* ═══════════════════════════════════════════════════════════════════
   23. BRAND SECTIONS (Catalog pages)
   ═══════════════════════════════════════════════════════════════════ */
.brand-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--glass-border);
    transition: border-color 0.3s ease;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.brand-header h2 {
    font-size: 2rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-main);
}

.brand-header h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--accent-light-blue);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   24. PRODUCT CARDS (Catalog Grid) — Jumia-Standard Layout
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Catalog wrapper: constrains grid to max 1280px (Rule 0.6) ─── */
.catalog-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ─── Catalog grid: 4-5 columns at 1920px, responsive collapse ─── */
/* Rule 0.6: minmax(220px,1fr) is correct. minmax(200px) would give 9 cols. */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
    align-items: start;
}

/* Showroom category pages (laptops, phones etc.) — same grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
    align-items: start;
}


/* Individual product card — clean white card like Jumia */
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--brand);
}

.card-visual {
    position: relative;
    width: 100%;
    /* 4:3 ratio — shows more product, matches Jumia (Rule 0.6) */
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.product-card:hover .card-visual img { transform: scale(1.06); }

/* Discount badge — top-LEFT orange pill (Jumia-style) */
.card-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--brand);
    color: #fff;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Verified badge — top-left green pill */
.card-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: #166534;
    background: #dcfce7;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
}
.card-unverified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: #64748b;
    background: rgba(100,116,139,0.12);
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
}

/* Wishlist / heart button — white circle (Jumia-style) */
.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}
.wishlist-btn:hover,
.wishlist-btn.wishlisted,
.wishlist-btn.active {
    background: #fff0e6;
    color: var(--brand);
    border-color: var(--brand);
}

/* Stock status badge */
.status-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    z-index: 2;
}
.status-in-stock  { background: rgba(37,211,102,0.18); color: #25d366; border: 1px solid rgba(37,211,102,0.3); }
.status-out-of-stock { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }

/* Card body */
.card-body {
    padding: 0.85rem 0.85rem 0.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em;
}

.card-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Seller tag */
.seller-tag {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    background: rgba(255,255,255,0.04);
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
}

/* Star rating */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0.3rem 0;
}
.star-rating .star {
    color: var(--color-border);
    font-size: 0.78rem;
    line-height: 1;
}
.star-rating .star.filled { color: #f59e0b; }
.star-rating .rating-count {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-left: 4px;
}

/* ─── Skeleton loading (Phase 1) ─────────────────────── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.05) 25%,
        rgba(255,255,255,0.12) 50%,
        rgba(255,255,255,0.05) 75%
    );
    background-size: 800px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: var(--radius-sm);
}
body.light-mode .skeleton,
[data-theme="light"] .skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%
    );
    background-size: 800px 100%;
}
.skeleton-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.skeleton-img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.skeleton-line {
    height: 14px;
    margin: 10px 12px;
    border-radius: var(--radius-sm);
}
.skeleton-line.short { width: 55%; }
.skeleton-line.med   { width: 80%; }

/* Price box */
.price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}
.price-main {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-price);
    line-height: 1;
    letter-spacing: -0.02em;
}
.price-original {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 2px;
}
.bulk-price-tag {
    font-size: 0.72rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Card footer area */
.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.5rem;
}

/* Backward-compat class name */
.card-price {
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 1.05rem;
}

.price-tag {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.price-tag .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-tag .value {
    font-size: 1.4rem;
    color: var(--accent-gold);
    font-weight: 800;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-specs span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   25. WHATSAPP & ACTION BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: none;
    font-size: 0.85rem;
    padding: 0.6rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-standard);
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════════════════
   26. SERVICES GRID
   ═══════════════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.category-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #9FE1CB;
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}



@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.service-card:hover .service-image img { transform: scale(1.1); }

.service-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 800;
}

.service-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-info .btn { align-self: flex-start; }

/* ═══════════════════════════════════════════════════════════════════
   27. GRANULAR CATEGORIES
   ═══════════════════════════════════════════════════════════════════ */
.granular-categories {
    padding: 6rem 0;
    background: var(--bg-main);
    transition: background 0.3s ease;
}

.category-grid-alt {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.cat-item {
    background: var(--bg-card);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.cat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-light-blue);
    background: rgba(56, 189, 248, 0.05);
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light-blue);
    transition: var(--transition);
}

.cat-item:hover .cat-icon {
    background: var(--accent-light-blue);
    color: #ffffff;
    transform: scale(1.1);
}

.cat-item span {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   28. FLASH SALES SECTION (PREMIUM OVERHAUL)
   ═══════════════════════════════════════════════════════════════════ */
.flash-sales-section {
    padding: 5rem 0;
    background: radial-gradient(circle at top right, rgba(239,68,68,0.08), transparent 40%),
                radial-gradient(circle at bottom left, rgba(56,189,248,0.05), transparent 40%),
                var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.flash-badge {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    border: 1px solid rgba(239, 68, 68, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 20px rgba(239, 68, 68, 0.05);
}

.countdown-timer {
    display: flex;
    gap: 1.2rem;
}

.time-block {
    display: flex;
    align-items: baseline;
    gap: 3px;
    background: rgba(255,255,255,0.03);
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.time-block span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #f8fafc;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.time-block small {
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 700;
}

.flash-grid {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 3rem;
    padding-top: 1rem;
}
@supports (scrollbar-width: thin) {
    .flash-grid {
        scrollbar-width: thin;
        scrollbar-color: var(--accent-red) transparent;
    }
}

.flash-grid::-webkit-scrollbar { height: 6px; }
.flash-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); border-radius: 10px; }
.flash-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 10px;
}

.flash-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    flex: 0 0 auto;
    width: 340px;
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.flash-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(239, 68, 68, 0.15);
}

.flash-visual {
    position: relative;
    height: 240px;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.flash-card:hover .flash-visual img {
    transform: scale(1.1) rotate(-2deg);
}

.discount-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    font-weight: 900;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(239,68,68,0.4);
    z-index: 2;
}

.flash-body { padding: 1.8rem; flex-grow: 1; display: flex; flex-direction: column; }

.flash-prices {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #f8fafc;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.old-price {
    font-size: 1.1rem;
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.8;
    font-weight: 600;
}

.stock-bar { margin-bottom: 1.5rem; }

.stock-fill {
    height: 6px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 50px;
    margin-bottom: 0.6rem;
    position: relative;
    overflow: hidden;
}

.stock-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.stock-bar span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-flash {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(239,68,68,0.25);
}

.btn-flash:hover {
    background: linear-gradient(135deg, #f87171, #ef4444);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(239,68,68,0.4);
}

/* ═══════════════════════════════════════════════════════════════════
   29. FILTER SIDEBAR & SHOWROOM
   ═══════════════════════════════════════════════════════════════════ */
.showroom-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.filter-sidebar {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.filter-group { margin-bottom: 2.5rem; }

.filter-group h5 {
    color: var(--accent-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    font-weight: 700;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-option:hover,
.filter-option.active { color: var(--accent-light-blue); }

.filter-option input { accent-color: var(--accent-light-blue); }

/* ═══════════════════════════════════════════════════════════════════
   30. STATUS BADGES & PRICE BOX
   ═══════════════════════════════════════════════════════════════════ */
.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-in-stock {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-out-of-stock {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.price-box { margin-bottom: 1.5rem; }

.price-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
}

.price-vat-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.price-breakdown {
    font-size: 0.8rem;
    color: var(--accent-gold);
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════
   31. SHOPPING CART DRAWER
   ═══════════════════════════════════════════════════════════════════ */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card);
    border-left: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition-standard);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.cart-drawer.active { right: 0; }

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 { color: var(--text-main); font-weight: 800; }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bg-primary);
}

.cart-item-info { flex: 1; }

.cart-item-info h6 {
    margin-bottom: 0.25rem;
    color: var(--text-main);
    font-weight: 700;
}

.cart-item-info .price {
    color: var(--accent-gold);
    font-weight: 600;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}


.search-trigger {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

/* Overlay */
.drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-standard);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.remove-item {
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════════
   32. HOT / OFFERS BADGES
   ═══════════════════════════════════════════════════════════════════ */
.offers-link {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

.hot-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    animation: pulse-red 2s infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   33. FLOATING BUTTONS — Theme, WhatsApp, Telegram
   ═══════════════════════════════════════════════════════════════════ */
/* Theme Float — beside WhatsApp (right: 105px) */
.theme-float {
    position: fixed;
    bottom: 30px;
    right: 105px;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 998;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-standard);
}

.theme-float:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-light-blue);
    color: var(--accent-light-blue);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.theme-float i { width: 24px; height: 24px; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition-standard);
}

.whatsapp-float:hover { transform: translateY(-5px) scale(1.1); }
.whatsapp-float img { width: 32px; height: 32px; }

/* Telegram Float */
.telegram-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #229ED9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.4);
    z-index: 998;
    transition: var(--transition-standard);
}

.telegram-float:hover { transform: translateY(-5px) scale(1.1); }
.telegram-float img { width: 32px; height: 32px; }

/* Back to Top */
.btn-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 4999;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.btn-top.visible {
    display: flex;
    animation: fadeIn 0.3s;
}

/* ═══════════════════════════════════════════════════════════════════
   34. SEARCH OVERLAY
   ═══════════════════════════════════════════════════════════════════ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-container {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
}

.search-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 1.5rem;
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    color: var(--text-main);
    font-size: 1.2rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input-wrapper input:focus { border-color: var(--accent-light-blue); }

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.btn-close:hover { opacity: 1; }

.search-results {
    flex: 1;
    overflow-y: auto;
    max-height: 70vh;
    padding-right: 1rem;
}

.search-result-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.5rem;
}

.search-result-item:hover { background: rgba(255, 255, 255, 0.05); }
.search-result-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }

.search-result-info h6 { font-size: 1rem; margin-bottom: 0.2rem; color: var(--text-main); }

.search-result-info .cat-tag {
    font-size: 0.7rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-result-info .price {
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-top: 0.2rem;
}

.search-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   35. OFFERS SLIDER
   ═══════════════════════════════════════════════════════════════════ */
.offers-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 32px;
    margin-bottom: 4rem;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, #020617 40%, transparent);
    z-index: 2;
}

.slide-img {
    position: absolute;
    right: 0; top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
}

.slide-badge {
    background: var(--accent-gold);
    color: #020617;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

/* Slide content heading */
.slide-content h1 { color: var(--text-main); }

/* Timer boxes inside slider */
.timer-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
}

.timer-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-light-blue);
}

.timer-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════
   36. ENHANCED FILTERS
   ═══════════════════════════════════════════════════════════════════ */
.filter-sidebar h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.clear-filters {
    margin-top: 2rem;
    width: 100%;
    padding: 0.8rem;
    font-size: 0.85rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.clear-filters:hover { background: rgba(239, 68, 68, 0.2); }

/* ═══════════════════════════════════════════════════════════════════
   37. STICKY / DARK MODE TOGGLE (legacy support)
   ═══════════════════════════════════════════════════════════════════ */
.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ═══════════════════════════════════════════════════════════════════
   38. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .product-row,
    .product-row.reverse { grid-template-columns: 1fr; }
    .product-info { order: 2; }
    .product-visual { order: 1; height: 400px; }
    .form-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .showroom-container { grid-template-columns: 1fr; }
    .filter-sidebar { position: relative; top: 0; margin-bottom: 3rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .section-header h2 { font-size: 2.2rem; }
    .container { padding: 0 1.5rem; }
}

@media (max-width: 768px) {
    .slide-content h1 { font-size: 2.2rem; }
    .catalog-header h1 { font-size: 2rem; }
    .footer-content { grid-template-columns: 1fr; }
    .category-grid-alt { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 1.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .form-container { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; gap: 0.8rem; }
    .hero-btns .btn { width: 100%; text-align: center; }
    .payment-modal-content { padding: 1.5rem; }
    .social-links { justify-content: center; }
    
}

@media (max-width: 480px) {
    .cart-drawer { width: 100%; right: -100%; }
    .hero-content h1 { font-size: 1.75rem; }
    .hero-content p { font-size: 0.9rem; }
    .section-header h2 { font-size: 1.5rem; }
    .countdown-container {
        gap: 0.5rem;
        padding: 0.6rem 0.8rem;
    }
    .countdown-timer {
        gap: 0.4rem;
    }
    .time-block {
        padding: 0.3rem 0.5rem;
        border-radius: 8px;
    }
    .time-block span {
        font-size: 1.2rem;
    }
    .payment-banks .bank-card { padding: 0.8rem; }
    .payment-amount { font-size: 1.2rem; }
    .product-card { margin: 0 0.25rem; }
    .category-grid-alt { grid-template-columns: 1fr; }
    .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   39. PAYMENT CHECKOUT MODAL
   ═══════════════════════════════════════════════════════════════════ */
.payment-modal-content {
    max-width: 520px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
}

.payment-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.payment-close:hover { color: var(--accent-red); }

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}
.payment-header svg { margin-bottom: 1rem; }
.payment-header h2 {
    color: var(--text-main);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.payment-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-summary {
    background: rgba(29, 78, 216, 0.08);
    border: 1px solid rgba(29, 78, 216, 0.15);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.2rem;
}
.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-main);
    font-size: 0.95rem;
}
.payment-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
}
.payment-ref {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light-blue);
    background: rgba(56, 189, 248, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    letter-spacing: 1.5px;
}

.payment-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}
.payment-notice i { color: var(--accent-gold); margin-top: 2px; }

.payment-section-title {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-banks {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.bank-option input { display: none; }

.bank-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s;
}
.bank-option input:checked + .bank-card {
    border-color: var(--accent-blue);
    background: rgba(29, 78, 216, 0.06);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.bank-card:hover { border-color: var(--accent-light-blue); }

.bank-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.bank-icon.access { background: linear-gradient(135deg, #003366, #0066CC); }
.bank-icon.kuda   { background: linear-gradient(135deg, #40196D, #7B2FBE); }
.bank-icon.opay   { background: linear-gradient(135deg, #1B5E20, #4CAF50); }

.bank-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.bank-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}
.bank-acct {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-light-blue);
    letter-spacing: 1px;
}
.bank-holder {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-check {
    color: var(--glass-border);
    transition: color 0.2s;
}
.bank-option input:checked + .bank-card .bank-check { color: var(--accent-blue); }

.payment-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.payment-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.spinner-sm {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-sm 0.6s linear infinite;
}
@keyframes spin-sm { to { transform: rotate(360deg); } }

/* Light mode payment modal */
body.light-mode .payment-modal-content {
    background: #fff;
    border: 1px solid #e2e8f0;
}
body.light-mode .bank-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}
body.light-mode .bank-option input:checked + .bank-card {
    background: rgba(29, 78, 216, 0.04);
}
body.light-mode .payment-summary {
    background: rgba(29, 78, 216, 0.04);
    border-color: rgba(29, 78, 216, 0.1);
}
body.light-mode .payment-notice {
    background: rgba(212, 175, 55, 0.05);
}

/* Light mode social link fix */
body.light-mode .social-link {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════
   40. BRAND LOGO IMAGE
   ═══════════════════════════════════════════════════════════════════ */
.brand-img-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.logo:hover .brand-img-logo {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   41. INLINE NAVIGATION SEARCH
   ═══════════════════════════════════════════════════════════════════ */
.nav-search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.3rem 0.5rem;
    width: 280px;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.nav-search-container:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-light-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.nav-search-container i {
    color: var(--text-muted);
    margin-left: 0.3rem;
    width: 18px;
    height: 18px;
}

.nav-search-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    width: 100%;
    font-size: 0.9rem;
    outline: none;
}

.nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Light Mode Search */
body.light-mode .nav-search-container {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
body.light-mode .nav-search-container:focus-within {
    background: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
body.light-mode .nav-search-container i {
    color: #64748b;
}
body.light-mode .nav-search-input {
    color: #0f172a;
}
body.light-mode .nav-search-input::placeholder {
    color: #94a3b8;
}

/* Autocomplete Dropdown */
.nav-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 320px;
    background: rgba(13, 13, 13, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.nav-search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.light-mode .nav-search-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.light-mode .search-result-item {
    border-bottom-color: #e2e8f0;
}
body.light-mode .search-result-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.search-result-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.search-result-info h6 {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
}

.search-result-info .price {
    margin: 0;
    font-size: 0.8rem;
    color: var(--accent-light-blue);
    font-weight: 700;
}

/* Not Found Contact UI */
.search-not-found {
    padding: 1.5rem;
    text-align: center;
}

.search-not-found i {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.search-not-found h5 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.search-not-found p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.search-contact-btns {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #25D366;
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-whatsapp-sm:hover { background: #128C7E; color: white; }

.btn-phone-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-phone-sm:hover { background: rgba(255,255,255,0.2); }

body.light-mode .btn-phone-sm {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #e2e8f0;
}
body.light-mode .btn-phone-sm:hover {
    background: #e2e8f0;
}

/* Responsive Nav Search */
@media (max-width: 768px) {
    .nav-search-container {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
        order: 3;
    }
    .nav-content {
        flex-wrap: wrap;
    }
}

/* Update feedback container for horizontal scrolling */
.feedback-container {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden; /* Prevent vertical scrolling */
    scroll-snap-type: x mandatory;
    gap: 2rem;
    /* Add generous top/bottom padding so the hover scale and box-shadow do not get clipped! */
    padding: 2rem 1rem; 
    margin: -2rem -1rem; /* Offset padding to keep layout aligned */
    scroll-padding-left: 1rem; /* So first card isn't flush on snap */
}
@supports (scrollbar-width: thin) {
    .feedback-container {
        scrollbar-width: thin;
        scrollbar-color: var(--accent-blue) rgba(255, 255, 255, 0.05);
    }
}

.feedback-container::-webkit-scrollbar {
    height: 8px;
}
.feedback-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.feedback-container::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 10px;
}



@media (max-width: 480px) {
    .feedback-card {
        flex: 0 0 280px;
        padding: 2rem;
    }
}

/* HERO SLIDER CSS */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide .hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg img {
    transform: scale(1);
}

.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 50%, rgba(2, 6, 23, 0.3) 100%);
    z-index: 1;
}

body.light-mode .hero-slide .hero-overlay {
    background: linear-gradient(to right, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.7) 50%, rgba(248, 250, 252, 0.3) 100%);
}

.hero-slide .hero-container {
    position: relative;
    z-index: 3;
}

.hero-slide .hero-content {
    max-width: 650px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s, opacity 0.8s ease 0.3s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

body.light-mode .hero-slide h1 {
    color: #0f172a;
}

.hero-slide p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

body.light-mode .hero-slide p {
    color: #64748b;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 2rem;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.3s ease;
}

body.light-mode .slider-arrow {
    background: rgba(0, 0, 0, 0.1);
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .slider-dots .dot {
    background: rgba(0, 0, 0, 0.2);
}

.slider-dots .dot.active {
    background: var(--accent-blue);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-slide h1 { font-size: 2.5rem; }
    .hero-slide p { font-size: 1rem; }
    .slider-arrow { display: none; } /* Hide arrows on mobile for clean look */
}

/* ═══════════════════════════════════════════════════════════════════
   42. AUTH WIZARD MODAL — COMPREHENSIVE 6-STEP REGISTRATION
   ═══════════════════════════════════════════════════════════════════ */

/* Modal container upgrade */
.auth-wizard-content {
    width: 95%;
    max-width: 520px;
    max-height: 94vh;
    overflow-y: auto;
    padding: 0;
    border-radius: 24px;
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(59,130,246,0.05);
    animation: wizardSlideUp 0.35s cubic-bezier(0.22,1,0.36,1);
}

@keyframes wizardSlideUp {
    from { transform: translateY(40px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
}

/* Scrollbar inside modal */
.auth-wizard-content::-webkit-scrollbar { width: 4px; }
.auth-wizard-content::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 20px; }

/* Close button */
.auth-close-btn {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.auth-close-btn:hover { background: rgba(239,68,68,0.15); color: #ef4444; border-color: rgba(239,68,68,0.3); }

/* Auth Panels */
.auth-panel {
    padding: 2.2rem 2.2rem 2rem;
    display: none;
    flex-direction: column;
    animation: panelFadeIn 0.3s ease;
}
.auth-panel.active { display: flex; }
.auth-panel.hidden  { display: none !important; }

@keyframes panelFadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

/* Auth Header (Sign In) */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(59,130,246,0.1);
    border-radius: 18px;
    border: 1px solid rgba(59,130,246,0.2);
    margin-bottom: 1rem;
}
.auth-header h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.4rem; }
.auth-header p  { color: var(--text-muted); font-size: 0.9rem; }

/* Error box */
.auth-error {
    display: none;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #f87171;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}
.auth-error.show { display: block; animation: shake 0.4s ease; }

@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%,60%  { transform: translateX(-5px); }
    40%,80%  { transform: translateX(5px); }
}

/* Form fields */
.auth-form { display: flex; flex-direction: column; gap: 0; }

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.auth-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.req { color: #f87171; }

/* Input wrappers with icons */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrap > i {
    position: absolute;
    left: 0.9rem;
    color: var(--text-muted);
    width: 17px;
    height: 17px;
    pointer-events: none;
    flex-shrink: 0;
}
.input-wrap input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input-wrap input::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.input-wrap input:focus {
    border-color: var(--accent-blue, #3b82f6);
    background: rgba(59,130,246,0.04);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.input-wrap input.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }

/* Password visibility toggle */
.pw-toggle {
    position: absolute;
    right: 0.7rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.pw-toggle i { width: 18px; height: 18px; }
.pw-toggle:hover { color: var(--text-main); }

/* Field status indicator (✓ or ✗) */
.field-status {
    position: absolute;
    right: 2.8rem;
    font-size: 1rem;
    font-weight: 700;
}
.field-status.ok   { color: #10b981; }
.field-status.err  { color: #ef4444; }

/* Field hint */
.field-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Auth button */
.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
}

/* Button spinner */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-sm 0.6s linear infinite;
}
.btn-spinner.hidden { display: none; }

/* Auth links row */
.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.auth-links a { color: var(--accent-light-blue, #38bdf8); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.auth-links a:hover { color: var(--text-main); }

/* Guest button */
.guest-btn {
    font-size: 0.85rem;
    padding: 0.65rem;
    margin-top: 0.4rem;
}

/* ─── WIZARD PROGRESS BAR ─── */
.wizard-progress {
    padding: 1.5rem 2rem 0;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 0;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}
.progress-step span {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 2px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.progress-step.active .step-dot {
    background: var(--accent-blue, #3b82f6);
    border-color: var(--accent-blue, #3b82f6);
    color: white;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
}
.progress-step.completed .step-dot {
    background: #10b981;
    border-color: #10b981;
    color: white;
}
.progress-step.active span, .progress-step.completed span { color: var(--text-main); }

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--glass-border);
    margin: 0 0.2rem;
    margin-bottom: 1.2rem;
    border-radius: 2px;
    transition: background 0.4s;
}
.progress-line.filled { background: #10b981; }

.progress-bar-track {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue, #3b82f6), #38bdf8);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ─── WIZARD STEPS ─── */
.wizard-step { display: none; padding: 1.5rem 2.2rem 0.5rem; }
.wizard-step.active { display: block; }
.wizard-step.hidden { display: none !important; }

.step-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}
.step-icon i { width: 26px; height: 26px; }
.input-wrap input {
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input-wrap input::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.input-wrap input:focus {
    border-color: var(--accent-blue, #3b82f6);
    background: rgba(59,130,246,0.04);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.input-wrap input.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }

/* Password visibility toggle */
.pw-toggle {
    position: absolute;
    right: 0.7rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.pw-toggle i { width: 18px; height: 18px; }
.pw-toggle:hover { color: var(--text-main); }

/* Field status indicator (✓ or ✗) */
.field-status {
    position: absolute;
    right: 2.8rem;
    font-size: 1rem;
    font-weight: 700;
}
.field-status.ok   { color: #10b981; }
.field-status.err  { color: #ef4444; }

/* Field hint */
.field-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Auth button */
.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
}

/* Button spinner */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-sm 0.6s linear infinite;
}
.btn-spinner.hidden { display: none; }

/* Auth links row */
.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.auth-links a { color: var(--accent-light-blue, #38bdf8); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.auth-links a:hover { color: var(--text-main); }

/* Guest button */
.guest-btn {
    font-size: 0.85rem;
    padding: 0.65rem;
    margin-top: 0.4rem;
}

/* ─── WIZARD PROGRESS BAR ─── */
.wizard-progress {
    padding: 1.5rem 2rem 0;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 0;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}
.progress-step span {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 2px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.progress-step.active .step-dot {
    background: var(--accent-blue, #3b82f6);
    border-color: var(--accent-blue, #3b82f6);
    color: white;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
}
.progress-step.completed .step-dot {
    background: #10b981;
    border-color: #10b981;
    color: white;
}
.progress-step.active span, .progress-step.completed span { color: var(--text-main); }

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--glass-border);
    margin: 0 0.2rem;
    margin-bottom: 1.2rem;
    border-radius: 2px;
    transition: background 0.4s;
}
.progress-line.filled { background: #10b981; }

.progress-bar-track {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue, #3b82f6), #38bdf8);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ─── WIZARD STEPS ─── */
.wizard-step { display: none; padding: 1.5rem 2.2rem 0.5rem; }
.wizard-step.active { display: block; }
.wizard-step.hidden { display: none !important; }

.step-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}
.step-icon i { width: 26px; height: 26px; }
.step-icon.blue  { background: rgba(59,130,246,0.15); color: #3b82f6; }
.step-icon.green { background: rgba(16,185,129,0.15);  color: #10b981; }
.step-icon.gold  { background: rgba(212,175,55,0.15);  color: #d4af37; }
.step-icon.red   { background: rgba(239,68,68,0.15);   color: #ef4444; }

.step-header h3 { font-size: 1.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.25rem; }
.step-header p  { color: var(--text-muted); font-size: 0.85rem; }

/* Wizard navigation row */
.wizard-nav {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding-bottom: 1.5rem;
}
.wizard-nav .btn { flex: 1; justify-content: center; }

/* ─── PASSWORD STRENGTH ─── */
.pw-strength-bar {
    height: 5px;
    background: rgba(255,255,255,0.07);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}
.pw-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.4s, background-color 0.4s;
    background: #ef4444;
}
.pw-strength-fill.weak   { width: 25%; background: #ef4444; }
.pw-strength-fill.fair   { width: 50%; background: #f59e0b; }
.pw-strength-fill.good   { width: 75%; background: #3b82f6; }
.pw-strength-fill.strong { width: 100%; background: #10b981; }

.pw-strength-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }

.pw-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-top: 1rem;
}
.pw-req {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.pw-req i { width: 13px; height: 13px; flex-shrink: 0; }
.pw-req.met { color: #10b981; }
.pw-req.met i { color: #10b981; }

/* ─── OTP INPUTS ─── */
.otp-container {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin: 1rem 0;
}
.otp-input {
    width: 48px;
    height: 56px;
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    font-family: 'Inter', monospace;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    caret-color: transparent;
}
.otp-input:focus {
    border-color: var(--accent-blue, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
    background: rgba(59,130,246,0.06);
}
.otp-input.filled {
    border-color: #10b981;
    background: rgba(16,185,129,0.06);
}
.otp-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
    animation: shake 0.35s ease;
}

/* OTP resend link */
.otp-resend {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.link-btn {
    background: none;
    border: none;
    color: var(--accent-light-blue, #38bdf8);
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    font-weight: 600;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}
.link-btn:hover { color: var(--text-main); }

/* ─── NOTICE BOX ─── */
.auth-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.auth-notice i { color: #38bdf8; flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; }

/* ─── SUCCESS PANEL ─── */
.success-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.success-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
}

@keyframes successPop {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.success-animation h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.success-animation .success-msg {
    font-size: 1rem;
    color: var(--text-muted);
    animation: fadeInUp 0.5s ease 0.35s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── FORGOT PASSWORD ─── */
.fp-step { display: block; }
.fp-step.hidden { display: none !important; }

/* Recovery method cards */
.verify-method-choice {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.method-option input { display: none; }

.method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.method-card i { width: 22px; height: 22px; color: var(--text-muted); flex-shrink: 0; }
.method-card strong { display: block; font-size: 0.9rem; color: var(--text-main); }
.method-card p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.method-option input:checked + .method-card {
    border-color: var(--accent-blue, #3b82f6);
    background: rgba(59,130,246,0.06);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.method-option input:checked + .method-card i { color: var(--accent-blue, #3b82f6); }

/* ─── LIGHT MODE ADAPTATIONS ─── */
body.light-mode .auth-wizard-content {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}
body.light-mode .wizard-progress { background: #f8fafc; border-bottom-color: #e2e8f0; }
body.light-mode .input-wrap input {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}
body.light-mode .input-wrap input:focus {
    background: #fff;
    border-color: #3b82f6;
}
body.light-mode .input-wrap input::placeholder { color: #94a3b8; }
body.light-mode .otp-input { background: #f8fafc; border-color: #e2e8f0; color: #0f172a; }
body.light-mode .otp-input:focus { background: #fff; border-color: #3b82f6; }
body.light-mode .method-card { background: #f8fafc; border-color: #e2e8f0; }
body.light-mode .auth-notice { background: rgba(56,189,248,0.05); }
body.light-mode .step-dot { background: #f1f5f9; border-color: #e2e8f0; color: #64748b; }
body.light-mode .auth-close-btn { background: #f1f5f9; border-color: #e2e8f0; color: #64748b; }
body.light-mode .auth-close-btn:hover { background: rgba(239,68,68,0.08); }

/* ─── ADMIN USERS TAB ─── */
.user-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}
.verified-badge.email { background: rgba(59,130,246,0.12); color: #3b82f6; }
.verified-badge.phone { background: rgba(16,185,129,0.12); color: #10b981; }
.verified-badge i { width: 11px; height: 11px; }

/* ─── RESPONSIVE: Mobile Auth ─── */
@media (max-width: 540px) {
    .auth-wizard-content { max-width: 100%; border-radius: 20px 20px 0 0; max-height: 96vh; }
    .auth-panel { padding: 1.6rem 1.4rem 1.2rem; }
    .wizard-step { padding: 1.2rem 1.4rem 0.5rem; }
    .wizard-progress { padding: 1rem 1.4rem 0; }
    .auth-field-row { grid-template-columns: 1fr; }
    .otp-input { width: 42px; height: 50px; font-size: 1.2rem; border-radius: 10px; }
    .pw-requirements { grid-template-columns: 1fr; }
    .progress-step span { display: none; }
}

/* --- ABANDONED CART EMAIL MODAL --- */
.cart-email-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-email-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.cart-email-content {
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-email-modal.active .cart-email-content {
    transform: translateY(0) scale(1);
}
.cart-email-header {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}
.cart-email-header i {
    font-size: 1.4rem;
}
.cart-email-body {
    padding: 32px 28px;
    color: #334155;
    line-height: 1.6;
}
.cart-email-body h4 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.cart-email-body p {
    margin-bottom: 14px;
    font-size: 1rem;
}
.cart-email-btn {
    display: block;
    width: 100%;
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 24px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cart-email-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.cart-email-dismiss {
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
    font-weight: 500;
}
.cart-email-dismiss:hover {
    color: #0f172a;
}
/* ============================================
   MOBILE NAV — HAMBURGER TOGGLE
   ============================================ */

.navbar-toggler {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* The three bars */
.navbar-toggler .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main, #e2e8f0);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Animate bars into X when nav is open */
nav.nav-open .navbar-toggler .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav.nav-open .navbar-toggler .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
nav.nav-open .navbar-toggler .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAV — RESPONSIVE BREAKPOINT (≤ 992px)
   ============================================ */

@media (max-width: 992px) {

  /* Hide the default desktop nav-links on mobile for all pages (except #navbar which overrides this) */
  .nav-links {
    display: none;
  }

  /* Show the hamburger; hide desktop actions row */
  .navbar-toggler {
    display: flex;
  }

  /* Stack the top navbar bar: logo on left, hamburger on right */
  nav .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  /* Hide desktop actions row */
  nav .nav-content > .nav-actions {
      display: none;
  }

  /* Full screen blur backdrop overlay on mobile when nav is open */
  nav::after {
      content: '';
      position: fixed;
      top: 100%; /* starts below the nav bar */
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(2, 6, 23, 0.65);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s;
      z-index: -1; /* behind nav panel but in front of page content */
  }
  body.light-mode nav::after {
      background: rgba(248, 250, 252, 0.65);
  }
  nav.nav-open::after {
      opacity: 1;
      visibility: visible;
  }

  /* The collapsible panel */
  #navbar .nav-links {
    display: flex;              /* override desktop display: none */
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;

    /* Glassmorphic panel — matches existing navbar values exactly */
    background: rgba(10, 16, 35, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    /* Collapse state */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.28s ease, visibility 0s 0.32s;
  }

  /* Open state */
  nav#navbar.nav-open .nav-links {
    max-height: 900px;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    transition: max-height 0.32s ease, opacity 0.28s ease, visibility 0s 0s;
    padding-bottom: 16px;
  }

  /* Individual nav link items */
  #navbar .nav-links > li > a,
  #navbar .nav-links .nav-item {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease, padding-left 0.2s ease;
  }

  .nav-links > li > a:hover,
  .nav-links .nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    padding-left: 30px; /* subtle indent on hover */
  }

  /* Premium active indicator on mobile */
  .nav-links > li > a.active,
  .nav-links .dropdown.active > .dropdown-toggle {
    background: rgba(56, 189, 248, 0.08) !important;
    color: var(--accent-light-blue) !important;
    border-left: 4px solid var(--accent-light-blue) !important;
    padding-left: 30px !important;
    font-weight: 600 !important;
  }


  /* Light mode mobile nav panel */
  body.light-mode .nav-links {
    background: rgba(248, 250, 252, 0.97);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  body.light-mode nav.nav-open .nav-links {
    background: rgba(248, 250, 252, 0.97);
  }
  body.light-mode .nav-links > li > a,
  body.light-mode .nav-links .nav-item {
    color: #0f172a;
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }
  body.light-mode .nav-links > li > a:hover {
    background: rgba(56, 189, 248, 0.06);
  }
  body.light-mode .nav-links > li > a.active,
  body.light-mode .nav-links .dropdown.active > .dropdown-toggle {
    background: rgba(56, 189, 248, 0.06) !important;
  }

  /* Disable desktop hover dropdown for Showrooms on mobile without breaking submenu-open */
  .nav-links .dropdown:hover:not(.submenu-open) .dropdown-menu,
  .nav-links .dropdown.hover-open:not(.submenu-open) .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    pointer-events: none;
  }

  /* ============================================
     SHOWROOMS ACCORDION
     ============================================ */

  .nav-links .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    padding: 14px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
  }

  #navbar .nav-links .dropdown-toggle .chevron {
    display: inline-block;
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
    opacity: 0.7;
  }

  #navbar .nav-links .dropdown.submenu-open .dropdown-toggle .chevron {
    transform: rotate(180deg);
  }

  #navbar .nav-links .dropdown-menu {
    position: static;        /* override desktop absolute positioning */
    transform: none !important; /* override desktop transform to prevent left overlapping */
    display: flex;
    flex-direction: column !important; /* MUST override desktop row !important */
    gap: 0 !important; /* override desktop gap */
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;

    /* Collapse */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease, visibility 0s 0.28s;
  }

  #navbar .nav-links .dropdown.submenu-open .dropdown-menu {
    max-height: 2000px; /* Increased to prevent cutting off if text wraps */
    opacity: 1;
    visibility: visible;
    transform: none !important;
    transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0s 0s;
  }

  /* Mobile Showroom Accordion Columns & Alignment Spacing */
  .nav-links .dropdown-column {
    padding: 6px 0;
    gap: 0;
    flex: none;
    width: 100%;
  }

  .nav-links .dropdown-column h6 {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 12px 24px 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
  }
  body.light-mode .nav-links .dropdown-column h6 {
    border-bottom-color: rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.01);
  }

  .nav-links .dropdown-menu a,
  .nav-links .dropdown-column a {
    display: block;
    width: 100%;
    padding: 12px 36px !important;
    font-size: 0.88rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    color: var(--text-muted, #94a3b8) !important;
    background: transparent !important;
    
    /* Fix text cutting off and alignment issues */
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.4;
    
    transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
  }

  .nav-links .dropdown-menu a:hover,
  .nav-links .dropdown-column a:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    padding-left: 42px !important;
    color: var(--accent-light-blue) !important;
  }
  body.light-mode .nav-links .dropdown-menu a,
  body.light-mode .nav-links .dropdown-column a {
    border-bottom-color: rgba(0, 0, 0, 0.02) !important;
  }

  /* ============================================
     USER ACTION BUTTONS IN MOBILE PANEL
     ============================================ */

  .nav-links .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 8px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links .nav-actions a,
  .nav-links .nav-actions button {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  /* Unlock body scroll when nav closes */
  body.nav-scroll-locked {
    overflow: hidden;
  }
}

/* Extra-small phones (≤ 380px) */
@media (max-width: 380px) {
  .nav-links > li > a,
  .nav-links .nav-item,
  .nav-links .dropdown-toggle {
    padding: 13px 16px;
    font-size: 0.9rem;
  }

  .nav-links .dropdown-column h6 {
    padding: 10px 16px 5px !important;
  }

  .nav-links .dropdown-menu a,
  .nav-links .dropdown-column a {
    padding: 11px 26px !important;
  }

  .nav-links .dropdown-menu a:hover,
  .nav-links .dropdown-column a:hover {
    padding-left: 32px !important;
  }

  .nav-links .nav-actions {
    padding: 14px 16px 8px;
  }
}

/* Hide mobile actions inside nav-links on desktop */
@media (min-width: 993px) {
  .nav-links .nav-actions { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   40. REAL-TIME STOCK TOGGLE SWITCHES
   ═══════════════════════════════════════════════════════════════════ */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  transition: .3s;
}

input:checked + .slider {
  background-color: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #10b981;
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════════
   41. ELITE SELLER PROFILE CARD STYLE
   ═══════════════════════════════════════════════════════════════════ */
.seller-profile-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.25);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.seller-profile-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.12);
}

/* ═══════════════════════════════════════════════════════════════════
   42. POST-CHECKOUT ESCROW OVERLAYS
   ═══════════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fadeIn {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.receipt-details::-webkit-scrollbar {
  width: 5px;
}

.receipt-details::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.receipt-details::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.receipt-details::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Admin portal link � hidden by default, revealed only to admin role via JS */
a[href='admin.html'], a[href='admin.html'] + *, li:has(a[href='admin.html']) { display: none !important; }

/* ========================================================
   MOBILE RESPONSIVE TABLES & NAVBAR REFINEMENTS
   ======================================================== */

/* 1. Navbar Mobile Toggle to Top Right & Slide-in Menu */
@media (max-width: 768px) {
    .navbar-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .navbar-toggler {
        display: flex !important;
        order: 2; /* Force to right side */
        margin-left: auto;
    }

    /* Professional mobile menu styling */
    .nav-links {
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
}

/* 2. Responsive Cards for Tables (Seller Dashboard) */
@media (max-width: 768px) {
    .table-wrap table, 
    .table-wrap thead, 
    .table-wrap tbody, 
    .table-wrap th, 
    .table-wrap td, 
    .table-wrap tr {
        display: block;
        width: 100%;
    }
    
    .table-wrap thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    /* Catalog / product grid — 2 columns on mobile (Rule 0.6) */
    .product-grid,
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .table-wrap tr {
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        margin-bottom: 1.5rem;
        padding: 0.5rem;
        background: var(--bg-card);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .table-wrap td {
        border: none;
        position: relative;
        padding-left: 45%;
        text-align: right;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        min-height: 40px;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }
    
    body.light-mode .table-wrap td {
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    
    .table-wrap td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 40%;
        font-weight: 600;
        text-align: left;
        color: var(--text-muted);
        font-size: 0.85rem;
    }
    
    .table-wrap img.product-thumb {
        margin-left: auto;
    }
    
    /* Enhance forms on mobile */
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        font-size: 16px; /* Prevents iOS auto-zoom */
        padding: 1rem;
    }
}


/* MOBILE FIXES */
@media (max-width: 480px) {
    .flash-card { width: 85vw; }
    .flash-visual { height: 180px; }
    .service-card { margin: 0 10px; }
    .product-card { width: 100%; }
    .cart-drawer { width: 100%; right: -100%; }
    .cart-drawer.active { right: 0; }
    .offers-slider { width: 100%; }
    .flash-header { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUPPORT WIDGET
═══════════════════════════════════════════════════════════════════════════ */
.support-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}
.support-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.6);
}
.support-fab svg { width: 28px; height: 28px; }

.support-modal {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    z-index: 9998;
    transform-origin: bottom right;
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.support-modal.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}
.support-header {
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    padding: 1.5rem;
    color: white;
    position: relative;
}
.support-header h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.2rem; }
.support-header p { font-size: 0.85rem; opacity: 0.9; }
.support-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.support-close:hover { opacity: 1; }

.support-body { padding: 1.5rem; }
.support-form { display: flex; flex-direction: column; gap: 1rem; }
.support-form input, .support-form select, .support-form textarea {
    width: 100%;
    background: var(--bg-base);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.support-form input:focus, .support-form select:focus, .support-form textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.support-form textarea { resize: none; height: 100px; font-family: inherit; }

.support-submit {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.support-submit:hover { background: #2563eb; }
.support-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.support-success {
    text-align: center;
    padding: 2rem 1rem;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.support-success .check-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.support-success h4 { font-size: 1.2rem; color: var(--text-main); }
.support-success p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 640px) {
    .support-modal {
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: 25px 25px 0 0;
        border-bottom: none;
        border-right: none;
        border-left: none;
        height: 85vh;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PHASE 4: PWA & MOBILE-FIRST UPGRADES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── PWA Install Banner ────────────────────────────────────────────────────── */
.pwa-install-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 9999;
    background: linear-gradient(135deg, rgba(79,70,229,0.95), rgba(124,58,237,0.95));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(79,70,229,0.4);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 380px;
    width: calc(100% - 2rem);
}

.pwa-install-banner.show {
    transform: translateX(-50%) translateY(0);
}

.pwa-install-banner .pwa-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.pwa-install-banner .pwa-text {
    flex: 1;
}

.pwa-install-banner .pwa-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.2rem;
}

.pwa-install-banner .pwa-text span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
}

.pwa-install-banner .pwa-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pwa-install-banner .btn-install {
    padding: 0.5rem 1rem;
    background: white;
    color: #4f46e5;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pwa-install-banner .btn-install:hover {
    transform: scale(1.05);
}

.pwa-install-banner .btn-dismiss {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.pwa-install-banner .btn-dismiss:hover {
    background: rgba(255,255,255,0.2);
}

/* ── Seller Dashboard: Responsive Table → Cards ───────────────────────────── */
.table-responsive-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.table-responsive-wrap table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    /* Hide desktop tables; JS renders mobile cards instead */
    .seller-orders-desktop-table,
    .seller-products-desktop-table {
        display: none !important;
    }

    /* Mobile order card */
    .mobile-order-card {
        background: var(--bg-card, rgba(255,255,255,0.03));
        border: 1px solid rgba(255,255,255,0.07);
        border-radius: 14px;
        padding: 1rem 1.2rem;
        margin-bottom: 1rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .mobile-order-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

    .mobile-order-card .order-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }

    .mobile-order-card .order-id {
        font-size: 0.75rem;
        color: var(--text-muted, #94a3b8);
        font-family: 'Courier New', monospace;
    }

    .mobile-order-card .order-amount {
        font-size: 1.1rem;
        font-weight: 700;
        color: white;
    }

    .mobile-order-card .order-meta {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        font-size: 0.8rem;
        color: var(--text-muted, #94a3b8);
        margin-bottom: 0.75rem;
    }

    .mobile-order-card .order-meta span {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .mobile-order-card .order-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    /* Mobile product card */
    .mobile-product-card {
        background: var(--bg-card, rgba(255,255,255,0.03));
        border: 1px solid rgba(255,255,255,0.07);
        border-radius: 14px;
        padding: 1rem;
        margin-bottom: 1rem;
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 1rem;
        align-items: start;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

    .mobile-product-card .product-thumb {
        width: 64px;
        height: 64px;
        border-radius: 10px;
        object-fit: cover;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
    }

    .mobile-product-card .product-card-info .product-name {
        font-weight: 600;
        font-size: 0.9rem;
        color: white;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }

    .mobile-product-card .product-card-info .product-price {
        font-weight: 700;
        color: #4f46e5;
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .mobile-product-card .product-card-info .product-meta {
        font-size: 0.75rem;
        color: var(--text-muted, #94a3b8);
        margin-bottom: 0.6rem;
    }

    .mobile-product-card .product-card-actions {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .mobile-product-card .product-card-actions button {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    /* Catalog page mobile: hide sidebar, show filter toggle */
    .catalog-layout {
        grid-template-columns: 1fr !important;
    }

    .filter-sidebar {
        position: static !important;
        margin-bottom: 1.5rem;
        display: none;
    }

    .filter-sidebar.mobile-open {
        display: block;
    }

    .filter-toggle-btn {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1.2rem;
        background: var(--bg-card);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px;
        color: white;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Catalog grid — 1 column on very small screens */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 400px) {
    /* Single column on very small screens (Rule 0.6 — 320px floor) */
    .product-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .pwa-install-banner {
        flex-direction: column;
        text-align: center;
    }

    .pwa-install-banner .pwa-actions {
        justify-content: center;
        width: 100%;
    }
}

/* ── Mobile-first nav improvements ──────────────────────────────────────── */
@media (max-width: 768px) {
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-title {
        font-size: 1.4rem !important;
    }

    .sort-select {
        width: 100%;
    }

    /* Buyer dashboard timeline on mobile */
    .order-timeline {
        padding-left: 0.5rem;
    }

    .order-timeline .timeline-step::before {
        left: -0.5rem;
    }
}

/* ── PWA Splash / Loading states ─────────────────────────────────────────── */
.pwa-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    gap: 1rem;
}

.pwa-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(79,70,229,0.2);
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Filter toggle (mobile catalog) ──────────────────────────────────────── */
.filter-toggle-btn {
    display: none; /* hidden on desktop, shown via media query */
}

/* ── Touch-friendly tap targets ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .btn, button, a.btn {
        min-height: 44px;
    }

    input, select, textarea {
        min-height: 44px;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }
}


/* ==========================================================================
   PHASE 9: RETENTION & TRUST UPGRADES
   ========================================================================== */

/* --- Trust Bar --- */
#trust-bar {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  margin: 24px 0 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#trust-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  cursor: default;
  transition: background 0.3s ease;
}

.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255, 255, 255, 0.03); }

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trust-title { font-size: 14px; font-weight: 600; line-height: 1.3; color: #f8fafc; letter-spacing: 0.3px; }
.trust-sub   { font-size: 12px; color: #94a3b8; line-height: 1.4; font-weight: 400; }

@media (max-width: 768px) {
  #trust-bar { flex-wrap: wrap; margin: 16px 0 24px; border-radius: 12px; }
  .trust-item { flex: 0 0 50%; padding: 16px 12px; border-right: 1px solid rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
  .trust-icon { width: 36px; height: 36px; font-size: 18px; }
  .trust-title { font-size: 12px; }
  .trust-sub { font-size: 11px; }
  .trust-item:nth-child(2n) { border-right: none; }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* --- Trending Section --- */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E24B4A;
  margin-right: 8px;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.82); }
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.see-all-link { font-size: 13px; color: #1D9E75; text-decoration: none; }
.see-all-link:hover { text-decoration: underline; }

/* --- FOMO Toast --- */
#fomo-container {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
  pointer-events: none;
}

.fomo-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card, #fff);
  border: 0.5px solid var(--border-color, #e0e0e0);
  border-radius: 12px;
  padding: 10px 14px;
  pointer-events: all;
  animation: toastIn 0.35s ease;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fomo-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E1F5EE;
  color: #0F6E56;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fomo-body  { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fomo-text  { font-size: 12px; line-height: 1.4; color: var(--text-main); }
.fomo-time  { font-size: 11px; color: var(--text-muted); }

.fomo-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 15px;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}
.fomo-dismiss:hover { color: var(--text-main); }

/* --- Snap Strip (Scroll Snap) --- */
.snap-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
@supports (scrollbar-width: none) {
  .snap-strip {
    scrollbar-width: none;
  }
}
.snap-strip::-webkit-scrollbar { display: none; }

.snap-strip .product-card,
.snap-strip .skel-card {
  scroll-snap-align: start;
  flex-shrink: 0;
}

#trending-grid .product-card,
#recently-viewed-strip .product-card,
#trending-grid .skel-card,
#recently-viewed-strip .skel-card {
  width: calc(50% - 6px);
}

@media (min-width: 640px) {
  #trending-grid .product-card,
  #recently-viewed-strip .product-card,
  #trending-grid .skel-card,
  #recently-viewed-strip .skel-card {
    width: calc(25% - 9px);
  }
}

/* --- Skeleton Screens --- */
.skel-card {
  background: var(--bg-card, #fff);
  border: 0.5px solid var(--border-color, #ebebeb);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.skel-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-hover, #f0f0f0);
}

.skel-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skel-line {
  height: 10px;
  border-radius: 4px;
  background: var(--bg-hover, #f0f0f0);
  width: 100%;
}
.skel-line.short  { width: 60%; }
.skel-line.xshort { width: 35%; }

@keyframes skelPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
.skel-pulse { animation: skelPulse 1.5s ease-in-out infinite; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .category-card,
  .product-card { transition: none !important; transform: none !important; }
  .live-dot     { animation: none !important; }
  .skel-pulse   { animation: none !important; }
  .fomo-toast   { animation: none !important; }
}

/* Mobile Touch Fix */
.navbar-toggler, .dropdown-toggle, .nav-links a { touch-action: manipulation; cursor: pointer; }


/* ── Cart FAB ─────────────────────────────────────────── */
.kt-cart-fab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #000;
  border-radius: 50px;
  padding: 13px 20px 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,200,83,.4), 0 2px 8px rgba(0,0,0,.35);
  z-index: 9999;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1),
              box-shadow .22s ease,
              opacity .22s ease;
  will-change: transform;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.kt-cart-fab:hover,
.kt-cart-fab:focus-visible {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0,200,83,.5), 0 4px 12px rgba(0,0,0,.35);
  outline: none;
}

/* Hidden when empty */
.kt-cart-fab.empty {
  transform: scale(0) translateY(20px);
  opacity: 0;
  pointer-events: none;
}

/* Pulse when item added */
@keyframes kt-fab-pulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.2); }
  65%  { transform: scale(0.93); }
  100% { transform: scale(1); }
}
.kt-cart-fab.pulse { animation: kt-fab-pulse .42s ease; }

/* Entry animation */
@keyframes kt-fab-enter {
  from { opacity: 0; transform: scale(0) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.kt-cart-fab.visible {
  animation: kt-fab-enter .4s cubic-bezier(.34,1.56,.64,1) forwards;
}

/* Cart icon */
.kt-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  flex-shrink: 0;
}

/* Info stack */
.kt-cart-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.kt-cart-badge {
  font-size: 10px;
  font-weight: 800;
  color: #000;
  line-height: 1;
  letter-spacing: .3px;
}

.kt-cart-total {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  line-height: 1;
}

/* ── Mobile adjustments ────────────────────────────────── */
@media (max-width: 768px) {
  .kt-cart-fab {
    bottom: 20px;
    right: 16px;
    padding: 12px 16px 12px 14px;
  }
  .kt-cart-total { font-size: 12px; }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .kt-cart-fab, .kt-cart-fab.pulse { animation: none !important; transition: none !important; }
}


/* ── Toast ────────────────────────────────────────────── */
.kt-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 99999;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  pointer-events: none;
}
.kt-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.kt-toast--success { border-color: #00c853; }
.kt-toast--warning { border-color: #ffab00; }
.kt-toast--error   { border-color: #ff1744; }
.kt-toast--info    { border-color: #2979ff; }

@media (max-width: 480px) {
  .kt-toast { font-size: 12px; padding: 10px 16px; bottom: 90px; max-width: 90vw; white-space: normal; }
}


/* ── Product Card Interactions ────────────────────────── */
.product-card {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

/* ── Photo Zoom Modal ─────────────────────────────────── */
.kt-zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.kt-zoom-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.kt-zoom-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.kt-zoom-modal.visible .kt-zoom-img {
  transform: scale(1);
}
.kt-zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.kt-zoom-close:hover {
  background: rgba(255,255,255,0.2);
}
@media (prefers-reduced-motion: reduce) {
  .product-card { transition: none !important; transform: none !important; }
  .kt-zoom-modal, .kt-zoom-img { transition: none !important; }
}


/* ── Sidebar & Filters ────────────────────────────────── */
.kt-advanced-sidebar {
  max-height: 85vh;
  overflow-y: auto;
  position: sticky;
  top: 90px;
}
.kt-advanced-sidebar::-webkit-scrollbar { width: 6px; }
.kt-advanced-sidebar::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }

@media (max-width: 768px) {
  .kt-advanced-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}


/* ── Guided Tour ──────────────────────────────────────── */
.kt-tour-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 999998; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.kt-tour-overlay.active { opacity: 1; pointer-events: auto; }
.kt-tour-highlight { position: absolute; z-index: 999999; box-shadow: 0 0 0 9999px rgba(0,0,0,0.7), 0 0 15px rgba(0, 200, 83, 0.5); border-radius: 8px; border: 2px solid #00c853; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); pointer-events: none; }
.kt-tour-popover { position: absolute; z-index: 1000000; background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 20px; width: 280px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); opacity: 0; transform: translateY(10px); transition: all 0.3s; color: #fff; }
.kt-tour-popover.visible { opacity: 1; transform: translateY(0); }
.kt-tour-popover h4 { margin: 0 0 8px 0; color: #00c853; font-size: 16px; font-weight: 700; }
.kt-tour-popover p { margin: 0 0 16px 0; font-size: 13px; color: #cbd5e1; line-height: 1.5; }
.kt-tour-controls { display: flex; justify-content: space-between; align-items: center; }
.kt-tour-dots span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #475569; margin-right: 4px; }
.kt-tour-dots span.active { background: #00c853; width: 12px; border-radius: 4px; transition: width 0.2s; }

@media (max-width: 768px) {
  .kt-tour-popover {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    top: auto !important;
    transform: translateX(-50%) translateY(20px);
  }
  .kt-tour-popover.visible {
    transform: translateX(-50%) translateY(0);
  }
}


/* ── Sidebar & Filters ────────────────────────────────── */
.kt-advanced-sidebar {
  max-height: 85vh;
  overflow-y: auto;
  position: sticky;
  top: 90px;
}
.kt-advanced-sidebar::-webkit-scrollbar { width: 6px; }
.kt-advanced-sidebar::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }

@media (max-width: 768px) {
  .kt-advanced-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   STUB PAGES — CSS for new pages (login, register, 404, about, etc.)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page hero (shared across about, contact, faq, etc.) ─────────── */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: var(--space-xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}
.page-hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Auth pages (login, register) ────────────────────────────────── */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
}
.auth-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-logo {
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}
.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}
.auth-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.auth-form .form-group {
    margin-bottom: 1.25rem;
}
.auth-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}
.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(232,93,4,0.15);
}
.password-wrap {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 4px;
}
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: var(--color-text-muted);
}
.forgot-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}
.forgot-link:hover { text-decoration: underline; }
.form-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    display: none;
}
.form-error:not(:empty) { display: block; }
.field-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}
.auth-divider {
    text-align: center;
    margin: 1.25rem 0;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.auth-divider::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: var(--color-border);
}
.auth-divider span {
    background: var(--color-surface);
    padding: 0 0.75rem;
    position: relative;
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.auth-switch a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .auth-card { padding: 1.75rem 1.25rem; }
}

/* ── 404 Error page ───────────────────────────────────────────────── */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
}
.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.error-code {
    font-size: clamp(5rem, 20vw, 9rem);
    font-weight: 900;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    opacity: 0.8;
}
.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}
.error-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.error-search {
    max-width: 400px;
    margin: 0 auto 2rem;
}
.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── About page ──────────────────────────────────────────────────── */
.about-section {
    padding: var(--space-xl) 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}
.about-content p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { display: none; }
}

/* ── Contact page ────────────────────────────────────────────────── */
.contact-section {
    padding: var(--space-xl) 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}
.contact-channels h2,
.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}
.contact-card svg,
.contact-card [data-lucide] {
    width: 24px;
    height: 24px;
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-card strong {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}
.contact-card p,
.contact-card a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}
.contact-card a:hover { color: var(--brand); }
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ── FAQ page ────────────────────────────────────────────────────── */
.faq-section {
    padding: var(--space-xl) 0;
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--brand);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
    content: '−';
}
.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-answer a { color: var(--brand); }

/* ── Wishlist, Cart ──────────────────────────────────────────────── */
.wishlist-section,
.cart-section {
    padding: var(--space-xl) 0;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-xl);
    align-items: start;
}
.summary-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}
.summary-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--brand) !important;
}
@media (max-width: 768px) {
    .cart-layout { grid-template-columns: 1fr; }
}

/* ── Checkout page ───────────────────────────────────────────────── */
.checkout-section {
    padding: var(--space-xl) 0;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-xl);
    align-items: start;
}
.checkout-form-panel h2,
.checkout-summary h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}
.checkout-summary {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}
@media (max-width: 768px) {
    .checkout-layout { grid-template-columns: 1fr; }
}

/* ── Track Order ─────────────────────────────────────────────────── */
.tracking-section {
    padding: var(--space-xl) 0;
    max-width: 680px;
    margin: 0 auto;
}
.tracking-lookup {
    margin-bottom: 2.5rem;
}
.tracking-lookup label {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}
.tracking-input-row {
    display: flex;
    gap: 0.75rem;
}
.tracking-input-row input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.95rem;
}
.tracking-input-row input:focus {
    outline: none;
    border-color: var(--brand);
}
.order-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    opacity: 0.5;
}
.timeline-step.completed { opacity: 1; border-color: var(--brand); }
.timeline-step.active    { opacity: 1; border-left: 3px solid var(--brand); }
.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-muted);
}
.timeline-step.completed .step-icon { background: var(--brand); color: #fff; }
.step-info strong {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}
.step-time {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ── Nav icon button (wishlist + theme in header) ────────────────── */
.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}
.nav-icon-btn:hover {
    background: var(--color-bg-secondary);
    border-color: var(--brand);
    color: var(--brand);
}
.wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--brand);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wishlist-count:empty { display: none; }

/* ── Footer brand accent colour ──────────────────────────────────── */
.footer-brand-accent { color: var(--brand); }
.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}
.footer-newsletter-desc {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.social-link:hover {
    background: var(--brand);
    color: #fff;
}

/* ── Shared utilities ────────────────────────────────────────────── */
.w-full { width: 100%; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 1rem;
}
.social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════
   PHASE 1.4: DARK MODE VARIABLES
   ═══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
    --color-bg: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-surface: #1e293b;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-border: #334155;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   PHASE 1.5: EXACT JUMIA GRID & CARD STYLES
   ═══════════════════════════════════════════════════════════════════ */
.catalog-grid, .product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 8px !important; /* Tight gap like Jumia */
    padding: 8px;
    background: var(--color-bg-secondary);
}

.jumia-product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.jumia-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    z-index: 10;
}

[data-theme="dark"] .jumia-product-card {
    background: var(--color-surface);
}

.jumia-card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Square image */
    background: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jumia-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

[data-theme="dark"] .jumia-card-visual { background: var(--color-surface); }
[data-theme="dark"] .jumia-card-visual img { mix-blend-mode: normal; }

.jumia-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #feefde;
    color: #f68b1e;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.jumia-out-of-stock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 4px;
    z-index: 2;
}

.jumia-card-body {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jumia-product-title {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.jumia-price-main {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.jumia-price-original {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.jumia-star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}

.jumia-star-rating .star {
    width: 10px;
    height: 10px;
}

.jumia-star-rating .star.filled { color: #f68b1e; fill: #f68b1e; }
.jumia-star-rating .star.empty { color: #e0e0e0; }

.jumia-rating-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 4px;
}

.jumia-add-btn {
    margin-top: auto;
    width: 100%;
    background: #f68b1e;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(246,139,30,0.2);
    text-transform: uppercase;
    transition: background 0.2s;
    opacity: 0; /* Jumia initially hides the button */
}

.jumia-product-card:hover .jumia-add-btn {
    opacity: 1;
}

.jumia-add-btn:hover { background: #e07b1a; }
.jumia-add-btn:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; opacity: 1; }

.snap-strip .jumia-product-card { scroll-snap-align: start; flex-shrink: 0; min-width: 160px; max-width: 160px; }

/* CART ITEM CARD (Rule 0.3 zero inline styles) */
.cart-item-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 16px;
}
.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}
.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: auto;
}
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.cart-qty-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-qty-btn i {
    width: 16px;
    height: 16px;
}

/* PRODUCT CARD HEART BUTTON */
.card-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    width: 32px;
    height: 32px;
    padding: 0 !important;
    box-sizing: border-box;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card-heart-btn:hover {
    background: var(--kt-v5-white, #ffffff);
    border-color: var(--accent-red, #ef4444);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
.card-heart-icon {
    width: 17px;
    height: 17px;
    color: #64748b;
    fill: none;
    transition: all 0.3s ease;
}
.card-heart-btn:hover .card-heart-icon {
    color: var(--accent-red, #ef4444);
    fill: var(--accent-red, #ef4444);
}
.card-heart-btn.active .card-heart-icon {
    color: var(--accent-red, #ef4444);
    fill: var(--accent-red, #ef4444);
}

/* PRODUCT GALLERY */
.prod-gallery-wrap {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}
.prod-gallery-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: transform 0.2s;
}
.prod-gallery-thumb:hover {
    transform: scale(1.05);
    border-color: var(--accent-blue);
}

/* PRODUCT SHARE BUTTON */
.prod-share-btn {
    margin-top: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
}

/* RECENTLY VIEWED CONTAINER */
.recently-viewed-container {
    margin-top: 40px;
    width: 100%;
}
.recently-viewed-container h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
    font-size: 1.25rem;
    color: var(--text-main);
}

/* ACCESSIBILITY & SEO (Phase 3) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-blue);
    color: white;
    padding: 8px;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Custom focus indicators */
*:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent-blue) !important;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Phase 5: Mobile Layouts */
.compare-table { border-collapse: collapse; }
.compare-table th, .compare-table td { min-width: 140px; }
.compare-table-wrapper { overflow-x: auto; }
@media (max-width: 600px) {
    .seller-info-card { flex-direction: column; text-align: center; }
    .seller-stats { flex-direction: column; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════
   KIDATECH V2 STYLES
   Appended — do not modify V1 rules above this line
   ═══════════════════════════════════════════════════════ */

[data-theme="dark"] {
  --kt-v2-brand:       #FB8C3B;
  --kt-v2-brand-light: #1C0A00;
  --kt-v2-border:      #334155;
  --kt-v2-shadow:      0 1px 3px rgba(0,0,0,.35);
  --kt-v2-shadow-lg:   0 8px 24px rgba(0,0,0,.5);
}

.kt-v2-toast-stack {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 9999; pointer-events: none;
}
.kt-v2-toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--kt-v2-radius);
  background: var(--kt-v2-slate); color: #fff;
  font-size: 13px; font-weight: 500;
  box-shadow: var(--kt-v2-shadow-lg);
  pointer-events: auto;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.kt-v2-toast--show { opacity: 1; transform: translateY(0); }
.kt-v2-toast--success { background: #166534; }
.kt-v2-toast--warning { background: #92400E; }
.kt-v2-toast--error   { background: #991B1B; }
.kt-v2-toast__close {
  background: none; border: none; color: rgba(255,255,255,.7);
  cursor: pointer; font-size: 18px; line-height: 1; padding: 0; margin-left: auto;
}

.kt-v2-reviews { margin-top: 40px; }
.kt-v2-reviews__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.kt-v2-reviews__summary {
  display: flex; align-items: center; gap: 16px;
}
.kt-v2-reviews__avg {
  font-size: 3rem; font-weight: 700; color: var(--kt-v2-slate);
  line-height: 1;
}
.kt-v2-rating-bars { flex: 1; }
.kt-v2-rating-bar-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px;
}
.kt-v2-rating-bar-track {
  flex: 1; height: 6px; background: var(--kt-v2-border);
  border-radius: 3px; overflow: hidden;
}
.kt-v2-rating-bar-fill {
  height: 100%; background: var(--kt-v2-star-color);
  border-radius: 3px; transition: width .6s ease;
}
.kt-v2-review-card {
  border: 0.5px solid var(--kt-v2-border); border-radius: var(--kt-v2-radius-lg);
  padding: 16px 20px; margin-bottom: 12px;
  background: #fff;
}
[data-theme="dark"] .kt-v2-review-card { background: #1E293B; }
.kt-v2-review-card__header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.kt-v2-review-card__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--kt-v2-brand-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--kt-v2-brand);
}
.kt-v2-verified-badge {
  font-size: 11px; color: var(--kt-v2-trust-green); background: var(--kt-v2-trust-bg);
  padding: 2px 8px; border-radius: 20px; font-weight: 600; margin-left: auto;
}
.kt-v2-review-form {
  border: 0.5px solid var(--kt-v2-border); border-radius: var(--kt-v2-radius-lg);
  padding: 20px; margin-top: 20px;
}
.kt-v2-star-picker { display: flex; gap: 4px; margin-bottom: 12px; }
.kt-v2-star-picker .star {
  font-size: 24px; cursor: pointer; color: var(--kt-v2-border);
  transition: color var(--kt-v2-transition);
}
.kt-v2-star-picker .star.active,
.kt-v2-star-picker .star:hover,
.kt-v2-star-picker .star:hover ~ .star { color: var(--kt-v2-star-color); }
.kt-v2-star-picker:hover .star { color: var(--kt-v2-star-color); }
.kt-v2-star-picker .star:hover ~ .star { color: var(--kt-v2-border); }

.kt-v2-activity-popup {
  position: fixed; bottom: 100px; left: 24px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 0.5px solid var(--kt-v2-border);
  border-radius: var(--kt-v2-radius-lg); padding: 12px 16px;
  box-shadow: var(--kt-v2-shadow-lg); z-index: 9990;
  max-width: 320px; opacity: 0; transform: translateX(-16px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
[data-theme="dark"] .kt-v2-activity-popup { background: #1E293B; }
.kt-v2-activity-popup--show { opacity: 1; transform: translateX(0); pointer-events: auto; }
.kt-v2-activity-popup__img {
  width: 44px; height: 44px; border-radius: var(--kt-v2-radius);
  object-fit: cover; flex-shrink: 0;
}
.kt-v2-activity-popup__text { font-size: 12px; color: var(--kt-v2-muted); line-height: 1.5; }
.kt-v2-activity-popup__name { font-weight: 600; color: var(--kt-v2-slate); }
.kt-v2-activity-popup__product { color: var(--kt-v2-brand); font-weight: 500; }

.kt-v2-scarcity {
  font-size: 12px; font-weight: 600; padding: 3px 8px;
  border-radius: 4px; display: inline-flex; align-items: center; gap: 4px;
}
.kt-v2-scarcity--low  { background: #FEF9C3; color: #92400E; }
.kt-v2-scarcity--hot  { background: #FEE2E2; color: #991B1B; }
.kt-v2-scarcity--sold { background: #F1F5F9; color: var(--kt-v2-muted); }
@keyframes kt-v2-pulse { 0%,100%{opacity:1} 50%{opacity:.6} }
.kt-v2-scarcity--hot::before {
  content:"●"; font-size:8px; animation: kt-v2-pulse 1.2s infinite;
}

.kt-v2-recs {
  margin-top: 48px; padding-top: 32px;
  border-top: 0.5px solid var(--kt-v2-border);
}
.kt-v2-recs__title {
  font-size: 18px; font-weight: 600; color: var(--kt-v2-slate); margin-bottom: 16px;
}
.kt-v2-recs__scroll {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--kt-v2-border) transparent;
  scroll-snap-type: x mandatory;
}
.kt-v2-recs__scroll::-webkit-scrollbar { height: 4px; }
.kt-v2-recs__scroll::-webkit-scrollbar-thumb { background: var(--kt-v2-border); border-radius: 2px; }
.kt-v2-recs__card {
  flex: 0 0 180px; scroll-snap-align: start;
  border: 0.5px solid var(--kt-v2-border); border-radius: var(--kt-v2-radius-lg);
  overflow: hidden; cursor: pointer; text-decoration: none; color: inherit;
  transition: box-shadow var(--kt-v2-transition), transform var(--kt-v2-transition);
}
.kt-v2-recs__card:hover {
  box-shadow: var(--kt-v2-shadow-lg); transform: translateY(-2px);
}
.kt-v2-recs__img { aspect-ratio: 1/1; width: 100%; object-fit: cover; }
.kt-v2-recs__body { padding: 10px 12px; }
.kt-v2-recs__name { font-size: 12px; font-weight: 500; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kt-v2-recs__price { font-size: 13px; font-weight: 700; color: var(--kt-v2-brand); }

.kt-v2-analytics { padding: 24px 0; }
.kt-v2-analytics__kpis {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px;
  margin-bottom: 28px;
}
.kt-v2-kpi-card {
  background: #F8FAFC; border: 0.5px solid var(--kt-v2-border);
  border-radius: var(--kt-v2-radius-lg); padding: 16px 20px;
}
[data-theme="dark"] .kt-v2-kpi-card { background: #1E293B; }
.kt-v2-kpi-card__label {
  font-size: 12px; color: var(--kt-v2-muted); margin-bottom: 8px; text-transform: uppercase;
  letter-spacing: .04em;
}
.kt-v2-kpi-card__value {
  font-size: 28px; font-weight: 700; color: var(--kt-v2-slate); line-height: 1;
}
.kt-v2-kpi-card__trend {
  font-size: 12px; margin-top: 6px;
}
.kt-v2-kpi-card__trend--up   { color: #166534; }
.kt-v2-kpi-card__trend--down { color: #991B1B; }

.kt-v2-mega-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 2px solid var(--kt-v2-brand);
  box-shadow: var(--kt-v2-shadow-lg); z-index: 1000;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
[data-theme="dark"] .kt-v2-mega-menu { background: #0F172A; }
.kt-v2-mega-menu--open { opacity: 1; visibility: visible; transform: translateY(0); }
.kt-v2-mega-col { padding: 24px 20px; border-right: 0.5px solid var(--kt-v2-border); }
.kt-v2-mega-col:last-child { border-right: none; }
.kt-v2-mega-col__title {
  font-size: 13px; font-weight: 700; color: var(--kt-v2-brand);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
}
.kt-v2-mega-col__link {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--kt-v2-muted); padding: 5px 0;
  text-decoration: none; transition: color var(--kt-v2-transition);
}
.kt-v2-mega-col__link:hover { color: var(--kt-v2-brand); }
.kt-v2-mega-col__icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--kt-v2-brand-light); display: flex;
  align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}

.kt-v2-loyalty-bar {
  background: var(--kt-v2-brand-light); border-radius: var(--kt-v2-radius);
  padding: 12px 16px; display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.kt-v2-loyalty-bar__label { font-size: 13px; color: var(--kt-v2-brand); font-weight: 600; }
.kt-v2-loyalty-bar__track {
  flex: 1; height: 8px; background: rgba(232,93,4,.2); border-radius: 4px; overflow: hidden;
}
.kt-v2-loyalty-bar__fill {
  height: 100%; background: var(--kt-v2-brand); border-radius: 4px;
  transition: width .8s ease;
}
.kt-v2-loyalty-bar__pts {
  font-size: 13px; font-weight: 700; color: var(--kt-v2-brand); white-space: nowrap;
}

.kt-v2-chat-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--kt-v2-brand); color: #fff;
  border: none; cursor: pointer; font-size: 22px;
  box-shadow: var(--kt-v2-shadow-lg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9000; transition: transform var(--kt-v2-transition);
}
.kt-v2-chat-fab:hover { transform: scale(1.08); }
.kt-v2-chat-panel {
  position: fixed; bottom: 86px; right: 24px;
  width: 340px; height: 480px;
  background: #fff; border: 0.5px solid var(--kt-v2-border);
  border-radius: var(--kt-v2-radius-lg); box-shadow: var(--kt-v2-shadow-lg);
  display: flex; flex-direction: column; z-index: 9000;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.kt-v2-chat-panel--open { opacity:1; visibility:visible; transform:translateY(0); }
.kt-v2-chat-panel__header {
  background: var(--kt-v2-brand); color:#fff; padding:14px 16px;
  border-radius: var(--kt-v2-radius-lg) var(--kt-v2-radius-lg) 0 0;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 14px;
}
.kt-v2-chat-panel__messages {
  flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px;
}
.kt-v2-chat-bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size:13px; line-height:1.5;
}
.kt-v2-chat-bubble--buyer { background:#F1F5F9; align-self:flex-end; border-bottom-right-radius:4px; }
.kt-v2-chat-bubble--seller{ background:var(--kt-v2-brand-light); align-self:flex-start;
  border-bottom-left-radius:4px; color:var(--kt-v2-slate); }
.kt-v2-chat-panel__input {
  display:flex; gap:8px; padding:12px; border-top:0.5px solid var(--kt-v2-border);
}
.kt-v2-chat-panel__input input {
  flex:1; border:0.5px solid var(--kt-v2-border); border-radius:20px;
  padding:8px 14px; font-size:13px; outline:none;
}
.kt-v2-chat-panel__input input:focus { border-color:var(--kt-v2-brand); }

@media (max-width: 768px) {
  .kt-v2-mega-menu { grid-template-columns: 1fr 1fr; }
  .kt-v2-chat-panel { width: calc(100vw - 24px); right: 12px; }
  .kt-v2-activity-popup { left: 12px; right: 12px; max-width: none; }
  .kt-v2-analytics__kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .kt-v2-analytics__kpis { grid-template-columns: 1fr; }
  .kt-v2-recs__card { flex: 0 0 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .kt-v2-toast, .kt-v2-activity-popup, .kt-v2-mega-menu, .kt-v2-chat-panel {
    transition: none;
  }
  .kt-v2-scarcity--hot::before { animation: none; }
}

/* ════════════════════════════════════════════════════════
   KIDATECH V3 STYLES
   Appended after V2 block — do not modify anything above
   ════════════════════════════════════════════════════════ */

[data-theme='dark'] {
  --kt-v3-bg:           #0F172A;
  --kt-v3-bg-subtle:    #1E293B;
  --kt-v3-bg-raised:    #1E293B;
  --kt-v3-surface:      #334155;
  --kt-v3-border:       #334155;
  --kt-v3-text:         #F1F5F9;
  --kt-v3-text-muted:   #94A3B8;
  --kt-v3-text-faint:   #64748B;
  --kt-v3-shadow:       0 1px 3px rgba(0,0,0,.35);
  --kt-v3-shadow-md:    0 4px 12px rgba(0,0,0,.4);
  --kt-v3-shadow-lg:    0 12px 32px rgba(0,0,0,.55);
  --kt-v3-seller-bg:    #1E1B4B;
  --kt-v3-seller-border:#3730A3;
}

/* ── V3 Hero ────────────────────────────────────────── */
@keyframes v3FadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes v3BgPulse {
  0%,100% { transform:scale(1) rotate(0deg); }
  50%      { transform:scale(1.06) rotate(2deg); }
}
.v3-hero {
  position:relative; overflow:hidden;
  min-height: 92vh; display:flex; align-items:center;
  background: var(--kt-v3-bg);
}
.v3-hero__bg {
  position:absolute; inset:0; z-index:0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%,
    color-mix(in srgb, var(--kt-v3-brand) 8%, transparent) 0%,
    transparent 70%);
  pointer-events:none;
}
[data-theme='dark'] .v3-hero__bg {
  background: radial-gradient(ellipse 80% 60% at 70% 40%,
    color-mix(in srgb, var(--kt-v3-brand) 14%, transparent) 0%,
    transparent 70%);
}
.v3-hero__inner {
  position:relative; z-index:1;
  max-width:1280px; margin:0 auto; padding:80px 24px;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.v3-hero__eyebrow {
  font-size:13px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; color:var(--kt-v3-brand); margin-bottom:16px;
  opacity:0; animation: v3FadeUp .5s ease .1s forwards;
}
.v3-hero__headline {
  font-size:clamp(2.4rem, 5vw, 4rem); font-weight:700; line-height:1.1;
  color:var(--kt-v3-text); margin-bottom:20px; letter-spacing:-0.02em;
}
.v3-word {
  display:inline-block; opacity:0;
  animation: v3FadeUp .55s ease calc(var(--i)*0.12s + 0.2s) forwards;
}
.v3-word--brand { color:var(--kt-v3-brand); }
.v3-hero__sub {
  font-size:1.05rem; color:var(--kt-v3-text-muted); margin-bottom:32px;
  line-height:1.7; opacity:0; animation:v3FadeUp .5s ease .65s forwards;
}
.v3-hero__ctas {
  display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px;
  opacity:0; animation:v3FadeUp .5s ease .78s forwards;
}
.v3-btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 28px; border-radius:var(--kt-v3-radius); font-size:15px;
  font-weight:600; text-decoration:none; transition:all var(--kt-v3-transition);
  cursor:pointer; border:2px solid transparent;
}
.v3-btn--primary {
  background:var(--kt-v3-brand); color:#fff;
}
.v3-btn--primary:hover {
  background:var(--kt-v3-brand-dark); transform:translateY(-1px);
  box-shadow:var(--kt-v3-shadow-md);
}
.v3-btn--outline {
  border-color:var(--kt-v3-border); color:var(--kt-v3-text);
  background:var(--kt-v3-bg-raised);
}
.v3-btn--outline:hover {
  border-color:var(--kt-v3-brand); color:var(--kt-v3-brand);
}
.v3-hero__trust {
  display:flex; gap:20px; flex-wrap:wrap; font-size:13px;
  color:var(--kt-v3-text-muted);
  opacity:0; animation:v3FadeUp .5s ease .9s forwards;
}
.v3-showcase__card {
  background:var(--kt-v3-bg-raised); border-radius:var(--kt-v3-radius-xl);
  border:0.5px solid var(--kt-v3-border); overflow:hidden;
  box-shadow:var(--kt-v3-shadow-lg); transform-style:preserve-3d;
  transition:transform .08s ease; will-change:transform;
}
.v3-showcase__card img {
  width:100%; aspect-ratio:3/3.5; object-fit:cover; display:block;
}
.v3-showcase__info { padding:16px 20px; }
.v3-showcase__name { font-size:16px; font-weight:600; margin-bottom:4px;
  color:var(--kt-v3-text); }
.v3-showcase__price { font-size:20px; font-weight:700;
  color:var(--kt-v3-brand); margin-bottom:10px; }
.v3-showcase__badge {
  font-size:11px; background:var(--kt-v3-seller-bg);
  color:var(--kt-v3-seller-accent); padding:3px 10px;
  border-radius:20px; font-weight:600;
}
.v3-showcase__dots { display:flex; gap:8px; justify-content:center;
  margin-top:16px; }
.v3-showcase__dot {
  width:8px; height:8px; border-radius:50%;
  background:var(--kt-v3-border); border:none; cursor:pointer;
  transition:background var(--kt-v3-transition), transform var(--kt-v3-transition);
}
.v3-showcase__dot--active { background:var(--kt-v3-brand); transform:scale(1.3); }
@media(max-width:768px){
  .v3-hero__inner { grid-template-columns:minmax(0, 1fr); gap:40px; padding:60px 20px; }
  .v3-hero__left { min-width: 0; }
  .v3-hero__right { order:-1; max-width:100%; min-width: 0; }
  .v3-hero__showcase { max-width:100%; }
  .v3-showcase__card { max-width:320px; margin:0 auto; }
  .v3-hero__headline { font-size:2.2rem; }
}
@media(prefers-reduced-motion:reduce){
  .v3-word,.v3-hero__eyebrow,.v3-hero__sub,
  .v3-hero__ctas,.v3-hero__trust { animation:none; opacity:1; }
}

/* V3: Smooth theme transition — applied globally */
*,*::before,*::after {
  transition: background-color 0.28s ease, border-color 0.28s ease,
              color 0.22s ease !important;
}
/* Exception: remove transition on elements where it causes jank */
.no-theme-transition { transition: none !important; }
/* Disable on page load before first user interaction */
.preload * { transition: none !important; }

/* ── V3 Seller layout ───────────────────────────────── */
.v3-seller-layout {
  display:grid; grid-template-columns:240px 1fr;
  min-height:calc(100vh - 80px); gap:0;
  background:var(--kt-v3-bg);
}
.v3-sidebar {
  background:var(--kt-v3-bg-subtle); border-right:0.5px solid var(--kt-v3-border);
  padding:24px 16px; display:flex; flex-direction:column; gap:4px;
  position:sticky; top:80px; height:calc(100vh - 80px); overflow-y:auto;
}
.v3-sidebar__header {
  display:flex; align-items:center; gap:12px;
  padding-bottom:20px; margin-bottom:12px;
  border-bottom:0.5px solid var(--kt-v3-border);
}
.v3-sidebar__avatar {
  width:42px; height:42px; border-radius:50%;
  background:var(--kt-v3-seller-bg); color:var(--kt-v3-seller-accent);
  font-size:18px; font-weight:700;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.v3-sidebar__name { font-size:14px; font-weight:600; color:var(--kt-v3-text); }
.v3-sidebar__tier { font-size:12px; color:var(--kt-v3-seller-accent); }
.v3-sidebar__link {
  display:flex; align-items:center; gap:10px; width:100%;
  padding:11px 14px; border-radius:var(--kt-v3-radius);
  background:none; border:none; cursor:pointer;
  font-size:14px; font-weight:500; color:var(--kt-v3-text-muted);
  text-align:left; transition:all var(--kt-v3-transition);
}
.v3-sidebar__link:hover {
  background:var(--kt-v3-surface); color:var(--kt-v3-text);
}
.v3-sidebar__link--active {
  background:var(--kt-v3-seller-bg); color:var(--kt-v3-seller-accent);
  font-weight:600;
}
.v3-sidebar__badge {
  margin-left:auto; font-size:11px; background:var(--kt-v3-surface);
  padding:2px 8px; border-radius:20px; color:var(--kt-v3-text-muted);
}
.v3-sidebar__badge--alert {
  background:var(--kt-v3-brand); color:#fff;
}
.v3-sidebar__footer {
  margin-top:auto; padding-top:20px;
  border-top:0.5px solid var(--kt-v3-border);
}
.v3-sidebar__view-store {
  font-size:13px; color:var(--kt-v3-brand); text-decoration:none;
  font-weight:500;
}
.v3-seller-main { padding:32px 36px; overflow-y:auto; }
.v3-seller-tab { display:block; }
.v3-hidden { display:none; }
@media(max-width:768px){
  .v3-seller-layout { grid-template-columns:1fr; }
  .v3-sidebar { position:static; height:auto; flex-direction:row;
    overflow-x:auto; padding:12px; gap:4px; border-right:none;
    border-bottom:0.5px solid var(--kt-v3-border); }
  .v3-sidebar__header { display:none; }
  .v3-seller-main { padding:20px 16px; }
}

/* ── V3 Seller panels ───────────────────────────────── */
.v3-welcome-bar { margin-bottom:28px; }
.v3-welcome-bar__title {
  font-size:22px; font-weight:700; color:var(--kt-v3-text); margin-bottom:4px;
}
.v3-welcome-bar__sub { font-size:14px; color:var(--kt-v3-text-muted); }
.v3-section-title {
  font-size:18px; font-weight:700; color:var(--kt-v3-text); margin-bottom:20px;
}
.v3-listings-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:20px;
}
.v3-listings-table-wrap { overflow-x:auto; }
.v3-listings-table {
  width:100%; border-collapse:collapse; font-size:13px;
}
.v3-listings-table th {
  text-align:left; padding:10px 14px; font-weight:600;
  background:var(--kt-v3-bg-subtle);
  border-bottom:0.5px solid var(--kt-v3-border);
  color:var(--kt-v3-text-muted); font-size:12px;
  text-transform:uppercase; letter-spacing:.04em;
}
.v3-listings-table td {
  padding:12px 14px; border-bottom:0.5px solid var(--kt-v3-border);
  color:var(--kt-v3-text); vertical-align:middle;
}
.v3-listing-name { display:flex; align-items:center; }
.v3-status-toggle {
  font-size:12px; font-weight:600; padding:4px 12px;
  border-radius:20px; border:none; cursor:pointer;
  background:var(--kt-v3-surface); color:var(--kt-v3-text-muted);
  transition:all var(--kt-v3-transition);
}
.v3-status-toggle.active {
  background:var(--kt-v3-seller-bg); color:var(--kt-v3-seller-accent);
}
.v3-action-btn {
  font-size:12px; padding:5px 12px; border-radius:var(--kt-v3-radius);
  border:0.5px solid var(--kt-v3-border); background:none;
  color:var(--kt-v3-text-muted); cursor:pointer; text-decoration:none;
  margin-right:6px; transition:all var(--kt-v3-transition);
}
.v3-action-btn:hover { border-color:var(--kt-v3-brand);
  color:var(--kt-v3-brand); }
.v3-earnings-kpis {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:14px; margin-bottom:32px;
}
.v3-earn-card {
  background:var(--kt-v3-bg-subtle); border:0.5px solid var(--kt-v3-border);
  border-radius:var(--kt-v3-radius-lg); padding:20px;
}
.v3-earn-card--green { background:rgba(20,83,45,.06);
  border-color:rgba(20,83,45,.2); }
.v3-earn-card--amber { background:rgba(146,64,14,.06);
  border-color:rgba(146,64,14,.2); }
.v3-earn-card__label {
  font-size:12px; color:var(--kt-v3-text-muted); margin-bottom:8px;
  text-transform:uppercase; letter-spacing:.04em; font-weight:500;
}
.v3-earn-card__value {
  font-size:26px; font-weight:700; color:var(--kt-v3-text);
}
.v3-earnings-chart-wrap { margin-top:12px; }
.v3-bar-chart {
  display:flex; align-items:flex-end; gap:3px; height:120px;
  padding:12px 0;
}
.v3-bar { flex:1; height:100%; display:flex; align-items:flex-end; }
.v3-bar__fill {
  width:100%; min-height:4px; background:var(--kt-v3-brand);
  border-radius:2px 2px 0 0; opacity:.75;
  transition:height .6s ease;
}
.v3-bar:hover .v3-bar__fill { opacity:1; }

/* V3 overrides for V2 Seller Dashboard to prevent clashing */
#v3-seller-app .seller-sidebar {
    display: none !important;
}
#v3-seller-app .seller-main {
    margin-left: 0 !important;
    padding: 0 !important;
}

/* ── V3 Seller Inbox ────────────────────────────────── */
.v3-inbox { display:grid; grid-template-columns:260px 1fr;
  border:0.5px solid var(--kt-v3-border); border-radius:var(--kt-v3-radius-lg);
  overflow:hidden; height:520px; }
.v3-inbox__list { border-right:0.5px solid var(--kt-v3-border);
  overflow-y:auto; background:var(--kt-v3-bg-subtle); }
.v3-thread-btn { width:100%; text-align:left; padding:14px 16px;
  background:none; border:none; cursor:pointer; position:relative;
  border-bottom:0.5px solid var(--kt-v3-border);
  transition:background var(--kt-v3-transition); }
.v3-thread-btn:hover { background:var(--kt-v3-surface); }
.v3-thread-btn--active { background:var(--kt-v3-seller-bg); }
.v3-thread-btn__product {
  font-size:13px; font-weight:600; color:var(--kt-v3-text);
  margin-bottom:4px; overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap; }
.v3-thread-btn__preview {
  font-size:12px; color:var(--kt-v3-text-muted);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v3-thread-unread {
  position:absolute; top:14px; right:14px;
  width:8px; height:8px; border-radius:50%; background:var(--kt-v3-brand); }
.v3-inbox__chat { display:flex; flex-direction:column; overflow:hidden; }
.v3-chat-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:0.5px solid var(--kt-v3-border);
  background:var(--kt-v3-bg-subtle); }
.v3-chat-header__title {
  font-size:14px; font-weight:600; color:var(--kt-v3-text); }
.v3-chat-msgs { flex:1; overflow-y:auto; padding:16px 18px;
  display:flex; flex-direction:column; gap:10px; }
.v3-chat-bubble { max-width:78%; padding:10px 14px;
  border-radius:14px; font-size:13px; line-height:1.5; }
.v3-chat-bubble--buyer { background:var(--kt-v3-surface);
  align-self:flex-start; border-bottom-left-radius:4px; }
.v3-chat-bubble--seller { background:var(--kt-v3-seller-bg);
  color:var(--kt-v3-seller-accent); align-self:flex-end;
  border-bottom-right-radius:4px; }
.v3-chat-reply { display:flex; gap:10px; padding:12px 16px;
  border-top:0.5px solid var(--kt-v3-border); }
@media(max-width:600px){
  .v3-inbox { grid-template-columns:1fr; height:auto; }
  .v3-inbox__list { max-height:200px; }
}

/* ── V3 Category Grid ───────────────────────────────── */
.v3-category-grid { padding:60px 24px; background:var(--kt-v3-bg); }
.v3-category-grid__inner { max-width:1280px; margin:0 auto; }
.v3-category-grid__tiles {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(130px, 1fr));
  gap:20px; margin-top:24px;
}
.v3-category-tile {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:var(--kt-v3-surface); padding:24px; border-radius:var(--kt-v3-radius-lg);
  border:0.5px solid var(--kt-v3-border); text-decoration:none; color:var(--kt-v3-text);
  transition:all var(--kt-v3-transition);
}
.v3-category-tile:hover {
  transform:translateY(-4px); border-color:var(--kt-v3-brand);
  background:var(--kt-v3-bg-raised); box-shadow:var(--kt-v3-shadow-md);
}
.v3-category-tile__icon { font-size:32px; margin-bottom:12px; }
.v3-category-tile__name { font-size:14px; font-weight:600; }


/* Automatically generated classes to replace inline styles */
        .idx-style-1 { display:block; }
        .idx-style-2 { display:block; }
        .idx-style-3 { display:flex; flex-wrap:wrap; gap:0.5rem; justify-content:flex-end; }
        .idx-style-4 { display:none; width:100%; }
        .idx-style-5 { background:none; border:none; color:white; cursor:pointer; }
        .idx-style-6 { width:18px;height:18px;flex-shrink:0; }
        .idx-style-7 { margin-bottom: 1.5rem; }
        .idx-style-8 { width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; color: white; margin-bottom: 0.5rem; }
        .idx-style-9 { width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; color: white; }
        .idx-style-10 { margin-right: 1rem; }
        .idx-style-11 { margin-right: 1rem; }
        .idx-style-12 { margin-right: 1rem; }
        .idx-style-13 { margin-right: 1rem; }
        .idx-style-14 { margin-right: 1rem; }
        .idx-style-15 { margin-right: 1rem; }
        .idx-style-16 { background:#E1F5EE; color:#0F6E56; }
        .idx-style-17 { background:#E6F1FB; color:#185FA5; }
        .idx-style-18 { background:#FAEEDA; color:#854F0B; }
        .idx-style-19 { background:#FAECE7; color:#993C1D; }
        .idx-style-20 { display:none; margin-bottom: 2rem; }
        .idx-style-21 { display:none;padding:2rem 1rem 0; }
        .idx-style-22 { display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem; }
        .idx-style-23 { width:4px;height:24px;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:2px; }
        .idx-style-24 { font-size:1.2rem;font-weight:700;color:white; }
        .idx-style-25 { overflow-x:auto;padding-bottom:1rem; }
        @supports (scrollbar-width: none) {
            .idx-style-25 { scrollbar-width:none; }
        }
        .idx-style-26 { display:flex;gap:1.5rem;min-width:min-content; }
        .idx-style-27 { background: var(--bg-card); padding: 6rem 0; }
        .idx-style-28 { border-color: var(--accent-blue); }
        .idx-style-29 { background: var(--bg-secondary); padding: 6rem 0; }
        .idx-style-30 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
        .idx-style-31 { font-size: 3rem; margin-bottom: 2rem; }
        .idx-style-32 { font-size: 1.25rem; line-height: 1.8; margin-bottom: 2rem; color: var(--text-main); }
        .idx-style-33 { color: var(--text-muted); margin-bottom: 3rem; }
        .idx-style-34 { display: flex; gap: 2rem; flex-wrap: wrap; }
        .idx-style-35 { display: flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.05); padding: 1rem 1.5rem; border-radius: 12px; border: 1px solid var(--glass-border); }
        .idx-style-36 { color: var(--accent-light-blue); width: 24px; }
        .idx-style-37 { font-weight: 600; font-size: 0.9rem; }
        .idx-style-38 { display: flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.05); padding: 1rem 1.5rem; border-radius: 12px; border: 1px solid var(--glass-border); }
        .idx-style-39 { color: var(--accent-light-blue); width: 24px; }
        .idx-style-40 { font-weight: 600; font-size: 0.9rem; }
        .idx-style-41 { position: relative; }
        .idx-style-42 { position: absolute; top: -20px; left: -20px; background: var(--accent-light-blue); color: #020617; padding: 1.5rem; border-radius: 20px; text-align: center; box-shadow: 0 20px 40px var(--accent-blue-glow); z-index: 5; }
        .idx-style-43 { display: block; font-size: 2rem; font-weight: 800; }
        .idx-style-44 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
        .idx-style-45 { border-radius: 24px; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
        .idx-style-46 { background: var(--accent-gold); }
        .idx-style-47 { display: block; color: var(--text-muted); }
        .idx-style-48 { background: var(--accent-light-blue); }
        .idx-style-49 { display: block; color: var(--text-muted); }
        .idx-style-50 { background: #f59e0b; }
        .idx-style-51 { display: block; color: var(--text-muted); }
        .idx-style-52 { background: #10b981; }
        .idx-style-53 { display: block; color: var(--text-muted); }
        .idx-style-54 { background: var(--accent-light-blue); }
        .idx-style-55 { display: block; color: var(--text-muted); }
        .idx-style-56 { background: #f59e0b; }
        .idx-style-57 { display: block; color: var(--text-muted); }
        .idx-style-58 { background: #f59e0b; }
        .idx-style-59 { display: block; color: var(--text-muted); }
        .idx-style-60 { background: #f59e0b; }
        .idx-style-61 { display: block; color: var(--text-muted); }
        .idx-style-62 { background: #ec4899; }
        .idx-style-63 { display: block; color: var(--text-muted); }
        .idx-style-64 { background: #8b5cf6; }
        .idx-style-65 { display: block; color: var(--text-muted); }
        .idx-style-66 { background: var(--accent-blue); }
        .idx-style-67 { display: block; color: var(--text-muted); }
        .idx-style-68 { background: #8b5cf6; }
        .idx-style-69 { display: block; color: var(--text-muted); }
        .idx-style-70 { background: #10b981; }
        .idx-style-71 { display: block; color: var(--text-muted); }
        .idx-style-72 { background: #ec4899; }
        .idx-style-73 { display: block; color: var(--text-muted); }
        .idx-style-74 { background: #ec4899; }
        .idx-style-75 { display: block; color: var(--text-muted); }
        .idx-style-76 { background: #f59e0b; }
        .idx-style-77 { display: block; color: var(--text-muted); }
        .idx-style-78 { background: var(--accent-gold); }
        .idx-style-79 { display: block; color: var(--text-muted); }
        .idx-style-80 { background: #ec4899; }
        .idx-style-81 { display: block; color: var(--text-muted); }
        .idx-style-82 { background: #8b5cf6; }
        .idx-style-83 { display: block; color: var(--text-muted); }
        .idx-style-84 { background: var(--accent-red); }
        .idx-style-85 { display: block; color: var(--text-muted); }
        .idx-style-86 { background: var(--accent-light-blue); }
        .idx-style-87 { display: block; color: var(--text-muted); }
        .idx-style-88 { background: var(--accent-gold); }
        .idx-style-89 { display: block; color: var(--text-muted); }
        .idx-style-90 { background: #f59e0b; }
        .idx-style-91 { display: block; color: var(--text-muted); }
        .idx-style-92 { background: var(--accent-blue); }
        .idx-style-93 { display: block; color: var(--text-muted); }
        .idx-style-94 { background: #ec4899; }
        .idx-style-95 { display: block; color: var(--text-muted); }
        .idx-style-96 { display: flex; align-items: center; }
        .idx-style-97 { margin-left: 5px; }
        .idx-style-98 { color: var(--text-muted); max-width: 300px; }
        .idx-style-99 { opacity: 0.5; font-size: 0.8rem; margin-top: 1rem; display: inline-block; }
        .idx-style-100 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
        .idx-style-101 { display: flex; gap: 0.5rem; }
        .idx-style-102 { flex: 1; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; color: white; font-size: 0.9rem; }
        .idx-style-103 { padding: 0.8rem; border-radius: 8px; }
        .idx-style-104 { width: 18px; }
        .idx-style-105 { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
        .idx-style-106 { color: var(--text-muted); font-size: 0.8rem; }

/* Automatically generated classes to replace inline styles */
        .off-style-1 { padding-top: 100px; }
        .off-style-2 { text-align: center; margin-bottom: 3rem; }
        .off-style-3 { font-size: 3.5rem; margin-bottom: 1rem; }
        .off-style-4 { color: var(--text-muted); font-size: 1.2rem; }
        .off-style-5 { justify-content: center; width: max-content; margin: 0 auto; margin-top: 2rem; }
        .off-style-6 { margin-bottom: 2rem; }
        .off-style-7 { width:18px;height:18px;flex-shrink:0; }
        .off-style-8 { margin-bottom: 1.5rem; }
        .off-style-9 { width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; color: white; margin-bottom: 0.5rem; }
        .off-style-10 { width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; color: white; }

/* =========================== */
/* MIGRATED INLINE STYLES */
/* =========================== */

/* Extracted from ac.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from accessories.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from buyer-dashboard.html */
.dashboard-container { max-width: 1200px; margin: 4rem auto; padding: 0 1.5rem; }
        .dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
        .dashboard-header h1 { font-size: 2rem; color: var(--text-main); }
        .tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1rem; }
        .tab-btn { background: none; border: none; color: var(--text-muted); font-size: 1rem; font-weight: 600; cursor: pointer; padding: 0.5rem 1rem; border-radius: 8px; transition: var(--transition); }
        .tab-btn.active { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
        .tab-content { display: none; }
        .tab-content.active { display: block; }
        .empty-state { text-align: center; padding: 4rem 2rem; background: var(--bg-card); border-radius: 16px; border: 1px solid var(--glass-border); }
        .empty-state i { color: var(--text-muted); margin-bottom: 1rem; width: 48px; height: 48px; }
        
        .order-card { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; }
        .order-header { display: flex; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .order-id { font-weight: 700; color: var(--accent-blue); }
        .order-status { padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: bold; background: rgba(16,185,129,0.1); color: var(--accent-green); }
        
        .review-box { margin-top: 1rem; padding: 1rem; background: rgba(255,255,255,0.02); border-radius: 8px; display: none; }
        .star-rating { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
        .star { cursor: pointer; fill: none; stroke: var(--accent-gold); width: 24px; height: 24px; transition: 0.2s; }
        .star.selected { fill: var(--accent-gold); }
    
        /* Automatically generated classes to replace inline styles */
        .bd-style-1 { position:fixed;inset:0;background:var(--bg-base);z-index:9999;display:flex;align-items:center;justify-content:center; }
        .bd-style-2 { width:40px;height:40px;border:3px solid var(--glass-border);border-top-color:var(--accent-blue);border-radius:50%;animation:spin 1s linear infinite; }
        .bd-style-3 { color:var(--accent-blue) }
        .bd-style-4 { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
        .bd-style-5 { display:flex; gap:1.5rem; height: 70vh; min-height: 500px; border:1px solid var(--glass-border); border-radius:12px; overflow:hidden; }
        .bd-style-6 { width: 300px; border-right:1px solid var(--glass-border); overflow-y:auto; background:rgba(0,0,0,0.2); display:flex; flex-direction:column; }
        .bd-style-7 { padding:1rem; border-bottom:1px solid var(--glass-border); font-weight:700; }
        .bd-style-8 { flex:1; overflow-y:auto; }
        .bd-style-9 { flex:1; display:flex; flex-direction:column; background:var(--bg-card); position:relative; }
        .bd-style-10 { flex:1; display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
        .bd-style-11 { text-align:center; }
        .bd-style-12 { width:48px; height:48px; opacity:0.5; margin-bottom:1rem; }
        .bd-style-13 { display:none; flex:1; flex-direction:column; }
        .bd-style-14 { padding:1rem; border-bottom:1px solid var(--glass-border); display:flex; justify-content:space-between; align-items:center; }
        .bd-style-15 { font-size:1.1rem; margin:0; }
        .bd-style-16 { font-size:0.8rem; color:var(--text-muted); margin:0; }
        .bd-style-17 { font-size:0.85rem; font-weight:600; padding:4px 8px; border-radius:12px; }
        .bd-style-18 { flex:1; overflow-y:auto; padding:1.5rem; display:flex; flex-direction:column; gap:1rem; }
        .bd-style-19 { padding:1rem; border-top:1px solid var(--glass-border); display:flex; gap:0.5rem; background:rgba(255,255,255,0.02); }
        .bd-style-20 { flex:1; }
        .bd-style-21 { color:var(--accent-gold); border-color:var(--accent-gold); }

/* Extracted from cars.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from catalog.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6 — do not override here) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from compare.html */
.compare-container {
            margin-top: 120px;
            margin-bottom: 80px;
        }
        .compare-table-wrapper {
            overflow-x: auto;
            background: var(--bg-card);
            border-radius: 16px;
            border: 1px solid var(--glass-border);
            padding: 20px;
        }
        .compare-table {
            width: 100%;
            min-width: 800px;
            border-collapse: collapse;
            text-align: left;
        }
        .compare-table th, .compare-table td {
            padding: 20px;
            border-bottom: 1px solid var(--glass-border);
            border-right: 1px solid var(--glass-border);
            vertical-align: top;
            width: 25%;
        }
        .compare-table th:last-child, .compare-table td:last-child {
            border-right: none;
        }
        .compare-table tr:last-child td {
            border-bottom: none;
        }
        .compare-feature-name {
            font-weight: 700;
            color: var(--text-main);
            background: rgba(255,255,255,0.02);
            width: 25%;
        }
        .compare-img {
            width: 100%;
            height: 200px;
            object-fit: contain;
            border-radius: 8px;
            margin-bottom: 15px;
            background: rgba(255,255,255,0.02);
        }
        .compare-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            display: block;
            color: var(--text-main);
            text-decoration: none;
        }
        .compare-price {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--brand-price);
            margin-bottom: 15px;
        }
        .compare-empty {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
            grid-column: 1/-1;
        }

/* Extracted from desktops.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from laptops.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from migrate_data.html */
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #0f172a; color: #f8fafc; text-align: center; padding: 50px; }
        .box { background: #1e293b; padding: 40px; border-radius: 12px; max-width: 600px; margin: 0 auto; box-shadow: 0 10px 25px rgba(0,0,0,0.5); border: 1px solid #334155; }
        h1 { color: #38bdf8; }
        p { color: #94a3b8; line-height: 1.6; }
        button { background: #38bdf8; color: #0f172a; border: none; padding: 15px 30px; font-size: 16px; font-weight: bold; border-radius: 8px; cursor: pointer; transition: 0.2s; margin-top: 20px; }
        button:hover { background: #0ea5e9; transform: scale(1.05); }
        button:disabled { background: #475569; cursor: not-allowed; transform: none; }
        #log { margin-top: 20px; background: #020617; padding: 15px; border-radius: 8px; font-family: monospace; text-align: left; max-height: 300px; overflow-y: auto; font-size: 13px; color: #10b981; }

/* Extracted from monitors.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from offline.html */
body.offline-page *, body.offline-page *::before, body.offline-page *::after { box-sizing: border-box; margin: 0; padding: 0; }

        body.offline-page {
            font-family: 'Inter', system-ui, sans-serif;
            background: #020617;
            color: #f1f5f9;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        /* Animated background orbs */
        body.offline-page::before {
            content: '';
            position: fixed;
            top: -20%;
            left: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: float1 8s ease-in-out infinite;
            pointer-events: none;
        }
        body.offline-page::after {
            content: '';
            position: fixed;
            bottom: -20%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: float2 10s ease-in-out infinite;
            pointer-events: none;
        }

        @keyframes float1 {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(40px, 60px); }
        }
        @keyframes float2 {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(-30px, -40px); }
        }

        body.offline-page .card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 24px;
            padding: 3rem 2.5rem;
            max-width: 480px;
            width: 100%;
            text-align: center;
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.5);
            position: relative;
            z-index: 1;
            animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        body.offline-page .icon-wrap {
            width: 96px;
            height: 96px;
            background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(6,182,212,0.2));
            border: 2px solid rgba(79,70,229,0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2rem;
            animation: pulse 3s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(79,70,229,0.2); }
            50% { box-shadow: 0 0 0 20px rgba(79,70,229,0); }
        }

        body.offline-page .wifi-icon {
            width: 48px;
            height: 48px;
            color: #4f46e5;
        }

        body.offline-page .logo {
            font-size: 1rem;
            font-weight: 800;
            letter-spacing: 0.05em;
            color: white;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
        }

        body.offline-page .logo span { color: #06b6d4; }

        body.offline-page h1 {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        body.offline-page p {
            color: #94a3b8;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        body.offline-page .btn-group {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        body.offline-page .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
        }

        body.offline-page .btn-primary {
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            color: white;
            box-shadow: 0 4px 15px rgba(79,70,229,0.4);
        }
        body.offline-page .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(79,70,229,0.5); }

        body.offline-page .btn-outline {
            background: transparent;
            color: white;
            border: 1px solid rgba(255,255,255,0.15);
        }
        body.offline-page .btn-outline:hover { background: rgba(255,255,255,0.05); transform: translateY(-2px); }

        body.offline-page .status-line {
            margin-top: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: #475569;
        }

        body.offline-page .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ef4444;
            animation: blink 2s ease-in-out infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        /* Auto-reconnect indicator */
        body.offline-page #reconnect-status {
            display: none;
            margin-top: 1rem;
            font-size: 0.85rem;
            color: #06b6d4;
        }

/* Extracted from phones.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from printers.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* Extracted from product.html */
.product-detail-container {
            padding-top: 120px;
            padding-bottom: 80px;
        }

        .jumia-layout {
            display: grid;
            grid-template-columns: 35% 40% 25%;
            gap: 20px;
            align-items: start;
        }

        .jumia-card {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 24px;
        }

        .detail-visual img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            cursor: pointer;
        }

        .detail-info h1 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .detail-brand {
            color: var(--accent-light-blue);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .detail-price {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-main);
            margin: 15px 0;
            border-top: 1px solid var(--glass-border);
            border-bottom: 1px solid var(--glass-border);
            padding: 15px 0;
        }

        .jumia-delivery-card h3 {
            font-size: 1rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 10px;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .delivery-item {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            align-items: flex-start;
        }
        
        .delivery-item i {
            color: var(--text-muted);
            font-size: 1.2rem;
            margin-top: 2px;
        }
        
        .delivery-text h4 {
            font-size: 0.95rem;
            margin-bottom: 4px;
            color: var(--text-main);
        }
        .delivery-text p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.4;
        }

        @media (max-width: 992px) {
            .jumia-layout { grid-template-columns: 1fr; gap: 20px; }
        }
    
        /* Automatically generated classes to replace inline styles */
        .prod-style-1 { text-align:center; padding:5rem; }
        .prod-style-2 { width:40px;height:40px;border:3px solid var(--accent-blue);border-top:3px solid transparent;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem; }
        .prod-style-3 { display:none; position:fixed; top:0; left:0; width:100vw; height:100vh; background:rgba(0,0,0,0.9); z-index:9999; align-items:center; justify-content:center; flex-direction:column; }
        .prod-style-4 { position:absolute; top:20px; right:20px; background:transparent; border:none; color:white; font-size:30px; cursor:pointer; }
        .prod-style-5 { max-width:90%; max-height:80vh; object-fit:contain; }
        .prod-style-6 { display:flex; gap:10px; margin-top:20px; overflow-x:auto; max-width:90%; }

/* Extracted from register_seller.html */
.registration-split-container {
            max-width: 1100px;
            margin: 120px auto 80px;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 28px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        .registration-split-container::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 4px;
            background: linear-gradient(90deg, var(--accent-gold), var(--accent-light-blue));
            z-index: 10;
        }

        .marketing-panel {
            padding: 4rem;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98)), url('images/main_hero.jpg');
            background-size: cover;
            background-position: center;
            border-right: 1px solid var(--glass-border);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .marketing-header h2 {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
            background: linear-gradient(90deg, #ffffff, var(--accent-light-blue));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .marketing-header p {
            color: var(--text-muted);
            font-size: 1.05rem;
            line-height: 1.5;
            margin-bottom: 2rem;
        }

        .benefit-cards {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .benefit-card {
            display: flex;
            gap: 1rem;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            padding: 1.2rem;
            border-radius: 16px;
            transition: 0.3s;
        }

        .benefit-card:hover {
            transform: translateX(5px);
            background: rgba(255,255,255,0.04);
            border-color: rgba(56, 189, 248, 0.2);
        }

        .benefit-card i {
            color: var(--accent-light-blue);
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .benefit-card-content h4 {
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
            color: white;
        }

        .benefit-card-content p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.4;
        }

        .marketing-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 2rem;
        }

        .stat-item {
            text-align: center;
        }

        .stat-item h3 {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent-gold);
            margin-bottom: 0.2rem;
        }

        .stat-item p {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .form-panel {
            padding: 4rem;
            background: rgba(15, 23, 42, 0.3);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .registration-header {
            margin-bottom: 2.5rem;
        }

        .registration-header i {
            color: var(--accent-gold);
            width: 36px;
            height: 36px;
            margin-bottom: 0.8rem;
        }

        .registration-header h1 {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 0.4rem;
        }

        .registration-header p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-main);
            font-size: 0.9rem;
        }

        .registration-notice {
            background: rgba(37, 211, 102, 0.08);
            border: 1px solid rgba(37, 211, 102, 0.2);
            color: #25D366;
            padding: 1rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            display: flex;
            gap: 0.8rem;
            align-items: flex-start;
        }

        @media (max-width: 992px) {
            .registration-split-container {
                grid-template-columns: 1fr;
                margin: 100px auto 40px;
                border-radius: 20px;
            }
            .marketing-panel {
                padding: 3rem;
                border-right: none;
                border-bottom: 1px solid var(--glass-border);
            }
            .form-panel {
                padding: 3rem;
            }
        }
        @media (max-width: 480px) {
            .marketing-panel, .form-panel {
                padding: 1.8rem;
            }
            .marketing-stats {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }
    
        /* Automatically generated classes to replace inline styles */
        .rs-style-1 { flex-shrink:0; margin-top:2px; }
        .rs-style-2 { font-size:0.8rem; line-height:1.4; }
        .rs-style-3 { padding: 1rem; font-size: 1rem; margin-top: 1rem; }

/* Extracted from seller-dashboard.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Inter', sans-serif; background: var(--bg-base); color: var(--text-main); display: flex; min-height: 100vh; overflow-x: hidden; }

        /* ── Sidebar ── */
        .seller-sidebar {
            width: var(--sidebar-w); min-height: 100vh;
            background: var(--bg-card);
            border-right: 1px solid var(--glass-border);
            padding: 1.6rem 1.2rem;
            position: fixed; top: 0; left: 0;
            display: flex; flex-direction: column; z-index: 100;
        }
        .sidebar-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-bottom: 1.4rem; }
        .logo-text { font-size: 0.95rem; font-weight: 800; }
        .logo-text span { color: var(--accent-blue); }
        .sidebar-divider { height: 1px; background: var(--glass-border); margin: 0.8rem 0 1.2rem; }
        .nav-label { font-size: 0.65rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
        .nav-item {
            display: flex; align-items: center; gap: 0.7rem;
            padding: 0.7rem 0.9rem; border-radius: 12px;
            color: var(--text-muted); cursor: pointer;
            font-size: 0.875rem; font-weight: 500;
            border: none; background: none; width: 100%; text-align: left;
            text-decoration: none; transition: all var(--transition);
        }
        .nav-item i { width: 17px; height: 17px; flex-shrink: 0; }
        .nav-item:hover { background: rgba(59,130,246,0.08); color: var(--text-main); }
        .nav-item.active { background: rgba(59,130,246,0.14); color: var(--accent-blue); font-weight: 600; }
        .nav-item .badge-count {
            margin-left: auto; background: var(--accent-gold); color: #000;
            font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 20px;
        }
        .sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
        .seller-avatar {
            width: 42px; height: 42px; border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            color: white; font-size: 0.9rem; font-weight: 700;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .seller-info { flex: 1; min-width: 0; }
        .seller-info .name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .seller-info .role { font-size: 0.72rem; color: var(--accent-gold); font-weight: 600; }
        .seller-profile-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem; background: var(--bg-card2); border-radius: 12px; }

        /* ── Main content ── */
        .seller-main { margin-left: var(--sidebar-w); flex: 1; padding: 2rem 2.4rem; }
        .page-header { margin-bottom: 2rem; }
        .page-header h1 { font-size: 1.75rem; font-weight: 800; }
        .page-header h1 span { color: var(--accent-blue); }
        .page-header p { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.3rem; }
        .tab-content { display: none; }
        .tab-content.active { display: block; }

        /* ── Cards ── */
        .panel { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 20px; overflow: hidden; }
        .panel-body { padding: 1.5rem; }
        .stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 2rem; }
        .stat-card {
            background: var(--bg-card); border: 1px solid var(--glass-border);
            border-radius: 18px; padding: 1.3rem; transition: border-color var(--transition);
        }
        .stat-card:hover { border-color: rgba(59,130,246,0.3); }
        .stat-card .label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.4rem; }
        .stat-card .value { font-size: 1.8rem; font-weight: 800; }
        .sc-blue  .value { color: var(--accent-blue); }
        .sc-gold  .value { color: var(--accent-gold); }
        .sc-green .value { color: var(--accent-green); }

        /* ── Buttons ── */
        .btn {
            display: inline-flex; align-items: center; gap: 0.5rem;
            padding: 0.7rem 1.3rem; border-radius: 12px;
            font-family: inherit; font-size: 0.875rem; font-weight: 600;
            cursor: pointer; transition: all var(--transition); border: none;
            text-decoration: none; white-space: nowrap;
        }
        .btn i { width: 16px; height: 16px; }
        .btn-primary { background: var(--accent-blue); color: white; }
        .btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
        .btn-gold { background: var(--accent-gold); color: #000; }
        .btn-gold:hover { background: #c8a132; transform: translateY(-1px); }
        .btn-outline { background: transparent; color: var(--text-muted); border: 1px solid var(--glass-border); }
        .btn-outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
        .btn-danger { background: rgba(239,68,68,0.12); color: var(--accent-red); border: 1px solid rgba(239,68,68,0.25); }
        .btn-danger:hover { background: var(--accent-red); color: white; }
        .btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; border-radius: 10px; }

        /* ── Form fields ── */
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
        .form-group { display: flex; flex-direction: column; gap: 0.35rem; }
        .form-group.span2 { grid-column: 1 / -1; }
        .form-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.02em; }
        .form-label .req { color: var(--accent-red); margin-left: 2px; }
        .form-input, .form-select, .form-textarea {
            background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
            border-radius: 11px; padding: 0.75rem 1rem; color: var(--text-main);
            font-size: 0.875rem; font-family: inherit; outline: none; width: 100%;
            transition: border-color var(--transition), box-shadow var(--transition);
        }
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
        }
        .form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); font-size: 0.82rem; }
        .form-textarea { resize: vertical; min-height: 100px; }
        .form-select option { background: var(--bg-card2); }

        /* ── Product table ── */
        .table-wrap { overflow-x: auto; }
        table { width: 100%; border-collapse: collapse; min-width: 700px; }
        thead tr { background: rgba(255,255,255,0.02); }
        th { text-align: left; padding: 0.85rem 1.2rem; color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
        td { padding: 0.85rem 1.2rem; border-top: 1px solid rgba(148,163,184,0.07); vertical-align: middle; font-size: 0.875rem; }
        tbody tr:hover { background: rgba(255,255,255,0.02); }
        .product-thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; border: 1px solid var(--glass-border); }
        .status-pill {
            display: inline-flex; align-items: center; gap: 0.3rem;
            font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem;
            border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
        }
        .status-pill.pending  { background: rgba(212,175,55,0.15); color: var(--accent-gold); }
        .status-pill.approved { background: rgba(16,185,129,0.15); color: var(--accent-green); }
        .status-pill.rejected { background: rgba(239,68,68,0.15);  color: var(--accent-red); }

        /* ── Image preview ── */
        .img-preview-wrap { border: 1.5px dashed var(--glass-border); border-radius: 12px; overflow: hidden; }
        .img-preview { width: 100%; height: 150px; object-fit: cover; display: block; background: rgba(255,255,255,0.02); }

/* Compare Page Loader */
.compare-loader {
  margin: 0 auto 15px;
  width: 40px;
  height: 40px;
  border: 3px solid var(--accent-blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Seller Profile Catalog Header */
.seller-catalog-header {
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}

/* Gold Star */
.star-gold {
  fill: var(--accent-gold) !important;
  color: var(--accent-gold) !important;
}

        /* ── Toast ── */
        #toastContainer { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
        .toast { display: flex; align-items: center; gap: 0.7rem; background: var(--bg-card2); border: 1px solid var(--glass-border); padding: 0.85rem 1.2rem; border-radius: 14px; min-width: 260px; font-size: 0.875rem; box-shadow: 0 8px 32px rgba(0,0,0,0.4); animation: slideInRight 0.3s ease, fadeOut 0.4s ease 2.6s forwards; }
        .toast.success { border-left: 3px solid var(--accent-green); }
        .toast.success i { color: var(--accent-green); }
        .toast.error   { border-left: 3px solid var(--accent-red); }
        .toast.error i { color: var(--accent-red); }
        .toast.info    { border-left: 3px solid var(--accent-blue); }
        .toast.info i  { color: var(--accent-blue); }
        @keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; transform: translateX(60px); } }

        /* ── Loading overlay ── */
        #loadingGate {
            position: fixed; inset: 0; z-index: 9999;
            background: var(--bg-base);
            display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
        }
        .spinner { width: 44px; height: 44px; border: 3px solid var(--glass-border); border-top-color: var(--accent-blue); border-radius: 50%; animation: spin 0.8s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ── Feedback form ── */
        .char-count { font-size: 0.72rem; color: var(--text-muted); text-align: right; }
        .feedback-type-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.7rem; margin-bottom: 1rem; }
        .fb-type-card {
            border: 2px solid var(--glass-border); border-radius: 12px;
            padding: 0.8rem 0.5rem; text-align: center; cursor: pointer;
            transition: all var(--transition); font-size: 0.78rem; font-weight: 600;
        }
        .fb-type-card input { display: none; }
        .fb-type-card:hover, .fb-type-card.selected { border-color: var(--accent-blue); background: rgba(59,130,246,0.08); color: var(--accent-blue); }
        .fb-type-card .emoji { font-size: 1.4rem; display: block; margin-bottom: 0.3rem; }

        /* ── Store empty state ── */
        .store-empty {
            text-align: center; padding: 5rem 2rem;
            background: var(--bg-card); border: 1px solid var(--glass-border);
            border-radius: 20px;
        }
        .store-empty .icon-wrap {
            width: 80px; height: 80px; border-radius: 20px;
            background: rgba(59,130,246,0.1); border: 2px solid rgba(59,130,246,0.2);
            display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
        }
        .store-empty h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
        .store-empty p { color: var(--text-muted); font-size: 0.875rem; max-width: 360px; margin: 0 auto 1.5rem; }

        /* ── Rejected reason ── */
        .reject-note {
            margin-top: 0.3rem; font-size: 0.72rem;
            color: var(--accent-red); font-style: italic;
        }

        @media (max-width: 768px) {
            .seller-sidebar { display: none; }
            .seller-main { margin-left: 0; padding: 1rem; }
            .stat-grid { grid-template-columns: 1fr; }
            .form-grid { grid-template-columns: 1fr; }
            .feedback-type-grid { grid-template-columns: 1fr 1fr; }
        }
    
        /* Automatically generated classes to replace inline styles */
        .ds-style-1 { color:var(--text-muted);font-size:0.875rem; }
        .ds-style-2 { border:1px solid var(--glass-border); }
        .ds-style-3 { border:1px solid var(--glass-border); }
        .ds-style-4 { font-size:0.75rem;color:var(--text-muted);margin-top:0.3rem; }
        .ds-style-5 { font-size:0.75rem;color:var(--text-muted);margin-top:0.3rem; }
        .ds-style-6 { font-size:0.75rem;color:var(--text-muted);margin-top:0.3rem; }
        .ds-style-7 { display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem;background:var(--bg-card2);padding:1rem;border-radius:16px;border:1px solid rgba(255,255,255,0.05); }
        .ds-style-8 { text-align:center; }
        .ds-style-9 { font-size:0.75rem;color:var(--text-muted); }
        .ds-style-10 { font-size:1.4rem;font-weight:700; }
        .ds-style-11 { text-align:center;border-left:1px solid rgba(255,255,255,0.05); }
        .ds-style-12 { font-size:0.75rem;color:var(--text-muted); }
        .ds-style-13 { font-size:1.4rem;font-weight:700;color:var(--accent-gold); }
        .ds-style-14 { text-align:center;border-left:1px solid rgba(255,255,255,0.05); }
        .ds-style-15 { font-size:0.75rem;color:var(--text-muted); }
        .ds-style-16 { font-size:1.4rem;font-weight:700;color:var(--accent-green); }
        .ds-style-17 { text-align:center;border-left:1px solid rgba(255,255,255,0.05); }
        .ds-style-18 { font-size:0.75rem;color:var(--text-muted); }
        .ds-style-19 { font-size:1.4rem;font-weight:700; }
        .ds-style-20 { margin-bottom:2rem; }
        .ds-style-21 { font-size:1rem;font-weight:700;margin-bottom:1.5rem;color:white; }
        .ds-style-22 { height:300px;position:relative; }
        .ds-style-23 { font-size:1rem;font-weight:700;margin-bottom:0.5rem; }
        .ds-style-24 { display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem; }
        .ds-style-25 { background:var(--bg-card2);border-radius:14px;padding:1rem; }
        .ds-style-26 { font-size:1.4rem;margin-bottom:0.5rem; }
        .ds-style-27 { font-weight:600;margin-bottom:0.3rem; }
        .ds-style-28 { font-size:0.8rem;color:var(--text-muted); }
        .ds-style-29 { background:var(--bg-card2);border-radius:14px;padding:1rem; }
        .ds-style-30 { font-size:1.4rem;margin-bottom:0.5rem; }
        .ds-style-31 { font-weight:600;margin-bottom:0.3rem; }
        .ds-style-32 { font-size:0.8rem;color:var(--text-muted); }
        .ds-style-33 { background:var(--bg-card2);border-radius:14px;padding:1rem; }
        .ds-style-34 { font-size:1.4rem;margin-bottom:0.5rem; }
        .ds-style-35 { font-weight:600;margin-bottom:0.3rem; }
        .ds-style-36 { font-size:0.8rem;color:var(--text-muted); }
        .ds-style-37 { width:36px;height:36px;color:var(--accent-blue); }
        .ds-style-38 { display:flex;justify-content:space-between;align-items:flex-start; }
        .ds-style-39 { width:36px;height:36px;color:var(--accent-blue); }
        .ds-style-40 { border: 2px dashed var(--glass-border); border-radius: 12px; padding: 2rem; text-align: center; cursor: pointer; transition: all 0.2s; background: rgba(0,0,0,0.1); }
        .ds-style-41 { width:48px; height:48px; color:var(--text-muted); margin-bottom:1rem; display:inline-block; }
        .ds-style-42 { margin-bottom:0.5rem; font-weight:500; }
        .ds-style-43 { font-size:0.8rem; color:var(--text-muted); }
        .ds-style-44 { display:none; }
        .ds-style-45 { display:flex; flex-wrap:wrap; gap:10px; margin-top:1rem; }
        .ds-style-46 { color:var(--accent-gold); font-size:0.85rem; margin-top:0.5rem; display:none; padding:8px; border-radius:4px; background:rgba(250, 204, 21, 0.1); }
        .ds-style-47 { margin:1rem 0;padding:0.8rem 1rem;background:rgba(59,130,246,0.06);border:1px solid rgba(59,130,246,0.15);border-radius:10px;font-size:0.82rem;color:var(--text-muted); }
        .ds-style-48 { display:flex;gap:0.8rem;margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid var(--glass-border); }
        .ds-style-49 { display:flex; gap:1.5rem; height: 70vh; min-height: 500px; border:1px solid var(--glass-border); border-radius:12px; overflow:hidden; }
        .ds-style-50 { width: 300px; border-right:1px solid var(--glass-border); overflow-y:auto; background:rgba(0,0,0,0.2); display:flex; flex-direction:column; }
        .ds-style-51 { padding:1rem; border-bottom:1px solid var(--glass-border); font-weight:700; }
        .ds-style-52 { flex:1; overflow-y:auto; }
        .ds-style-53 { flex:1; display:flex; flex-direction:column; background:var(--bg-card); position:relative; }
        .ds-style-54 { flex:1; display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
        .ds-style-55 { text-align:center; }
        .ds-style-56 { width:48px; height:48px; opacity:0.5; margin-bottom:1rem; }
        .ds-style-57 { display:none; flex:1; flex-direction:column; }
        .ds-style-58 { padding:1rem; border-bottom:1px solid var(--glass-border); display:flex; justify-content:space-between; align-items:center; }
        .ds-style-59 { font-size:1.1rem; margin:0; }
        .ds-style-60 { font-size:0.8rem; color:var(--text-muted); margin:0; }
        .ds-style-61 { display:flex; gap:0.5rem; align-items:center; }
        .ds-style-62 { font-size:0.85rem; font-weight:600; padding:4px 8px; border-radius:12px; }
        .ds-style-63 { display:none; }
        .ds-style-64 { display:none; color:var(--accent-red); border-color:var(--accent-red); }
        .ds-style-65 { flex:1; overflow-y:auto; padding:1.5rem; display:flex; flex-direction:column; gap:1rem; }
        .ds-style-66 { padding:1rem; border-top:1px solid var(--glass-border); display:flex; gap:0.5rem; background:rgba(255,255,255,0.02); }
        .ds-style-67 { flex:1; }
        .ds-style-68 { color:var(--accent-gold); border-color:var(--accent-gold); }
        .ds-style-69 { background:rgba(212,175,55,0.1); padding:1rem; border-radius:12px; border:1px solid rgba(212,175,55,0.3); margin-bottom:1.5rem; }
        .ds-style-70 { color:var(--accent-gold); margin-bottom:0.5rem; }
        .ds-style-71 { vertical-align:middle; width:20px; height:20px; }
        .ds-style-72 { margin-left:1.5rem; color:var(--text-color); font-size:0.9rem; line-height:1.5; }
        .ds-style-73 { display:none; padding:1rem; border-radius:8px; margin-bottom:1.5rem; text-align:center; font-weight:bold; }
        .ds-style-74 { margin-bottom:1rem; }
        .ds-style-75 { margin-bottom:1rem; }
        .ds-style-76 { margin-bottom:1rem; }
        .ds-style-77 { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:1.5rem; }
        .ds-style-78 { flex:1; min-width:200px; }
        .ds-style-79 { color:var(--text-muted); font-size:0.8rem; }
        .ds-style-80 { flex:1; min-width:200px; }
        .ds-style-81 { color:var(--text-muted); font-size:0.8rem; }
        .ds-style-82 { margin-bottom:1.4rem; }
        .ds-style-83 { margin-bottom:0.6rem;display:block; }
        .ds-style-84 { margin-bottom:0.4rem; }
        .ds-style-85 { margin-top:1.4rem; }
        .ds-style-86 { display:none;margin-top:1.5rem;padding:1.2rem;background:rgba(16,185,129,0.1);border:1px solid rgba(16,185,129,0.3);border-radius:14px;text-align:center; }
        .ds-style-87 { font-size:2rem;margin-bottom:0.5rem; }
        .ds-style-88 { font-weight:700;color:var(--accent-green); }
        .ds-style-89 { color:var(--text-muted);font-size:0.875rem;margin-top:0.3rem; }
        .ds-style-90 { max-width: 500px; }
        .ds-style-91 { font-size:0.75rem; color:var(--text-muted); margin-top:5px; }
        .ds-style-92 { width:100%; margin-top:1rem; }
        .ds-style-93 { max-width: 500px; }
        .ds-style-94 { margin-bottom:1rem; font-size:0.9rem; color:var(--text-muted); }
        .ds-style-95 { width:100%; margin-top:1rem; border-color:var(--accent-red); color:var(--accent-red); }

/* Extracted from seller-profile.html */
.seller-header {
            margin-top: 100px;
            padding: 40px 0;
            background: linear-gradient(to right, rgba(15,23,42,0.8), rgba(15,23,42,0.6)), url('https://placehold.co/1200x300/0f172a/334155?text=Storefront+Cover') center/cover;
            border-bottom: 1px solid var(--glass-border);
        }
        .seller-info-card {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 30px;
            display: flex;
            align-items: center;
            gap: 30px;
            margin-top: -60px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            position: relative;
            z-index: 10;
        }
        .seller-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: var(--accent-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            font-weight: 800;
            border: 4px solid var(--bg-card);
            box-shadow: 0 0 0 1px var(--glass-border);
        }
        .seller-details h1 {
            font-size: 1.8rem;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .seller-verified-badge {
            font-size: 0.8rem;
            background: rgba(16, 185, 129, 0.1);
            color: var(--accent-green);
            padding: 4px 8px;
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .seller-stats {
            display: flex;
            gap: 20px;
            margin-top: 15px;
            color: var(--text-muted);
            font-size: 0.95rem;
        }
        .seller-stat-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        @media (max-width: 768px) {
            .seller-info-card { flex-direction: column; text-align: center; }
            .seller-stats { flex-direction: column; gap: 10px; }
            .seller-details h1 { justify-content: center; flex-wrap: wrap; }
        }

/* Extracted from tablets.html */
.catalog-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 5%;
        }

        .filter-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .filter-option:hover { color: white; }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--text-muted);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        
        /* catalog-grid is defined in style.css (Rule 0.6) */
        
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--text-muted);
            background: rgba(255,255,255,0.02);
            border-radius: 12px;
            border: 1px dashed rgba(255,255,255,0.1);
        }
        
        .page-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 1rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            text-transform: capitalize;
        }
        
        .catalog-subtitle {
            color: var(--text-muted);
        }
        
        @media (max-width: 992px) {
            .catalog-layout {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                margin-bottom: 2rem;
            }
        }

/* ════════════════════════════════════════════════════════
   KIDATECH V4 — Gold · Navy · White Premium Palette
   Appended after V3 block. Never modify anything above.
   ════════════════════════════════════════════════════════ */

:root {
  /* V4 Gold — primary accent */
  --kt-v4-gold:          #C9A84C;
  --kt-v4-gold-dark:     #9E7B2A;
  --kt-v4-gold-light:    #FBF6E9;
  --kt-v4-gold-pale:     #FDF9F0;
  --kt-v4-gold-glow:     rgba(201,168,76,0.18);
  --kt-v4-gold-border:   rgba(201,168,76,0.35);

  /* V4 Navy — structural colour */
  --kt-v4-navy:          #1B3A6B;
  --kt-v4-navy-dark:     #0F2548;
  --kt-v4-navy-light:    #EBF0FA;
  --kt-v4-navy-mid:      #2A4F8A;

  /* V4 Surfaces — light mode */
  --kt-v4-bg:            #FFFFFF;
  --kt-v4-bg-subtle:     #FAFAF8;
  --kt-v4-bg-raised:     #FFFFFF;
  --kt-v4-surface:       #F4F6F8;
  --kt-v4-border:        #E2E8F0;

  /* V4 Text — navy replaces black everywhere */
  --kt-v4-text:          #1B3A6B;
  --kt-v4-text-muted:    #64748B;
  --kt-v4-text-faint:    #94A3B8;
  --kt-v4-price:         #C9A84C;  /* Gold for all prices */

  /* V4 Shadows */
  --kt-v4-shadow:        0 1px 4px rgba(27,58,107,0.08);
  --kt-v4-shadow-md:     0 4px 16px rgba(27,58,107,0.12);
  --kt-v4-shadow-lg:     0 12px 40px rgba(27,58,107,0.16);
  --kt-v4-shadow-gold:   0 0 0 2px var(--kt-v4-gold-border);

  /* V4 Shape & motion */
  --kt-v4-radius:        8px;
  --kt-v4-radius-lg:     14px;
  --kt-v4-radius-xl:     20px;
  --kt-v4-transition:    0.22s ease;
}

/* Dark mode — navy surfaces, gold stays gold */
[data-theme="dark"] {
  --kt-v4-bg:            #0D1B33;
  --kt-v4-bg-subtle:     #1B3A6B;
  --kt-v4-bg-raised:     #1F2D4A;
  --kt-v4-surface:       #243552;
  --kt-v4-border:        #2A4F8A;
  --kt-v4-text:          #FFFFFF;
  --kt-v4-text-muted:    #A8B8D0;
  --kt-v4-text-faint:    #5A7298;
  --kt-v4-price:         #C9A84C;  /* Gold never changes in dark mode */
  --kt-v4-shadow:        0 1px 4px rgba(0,0,0,0.40);
  --kt-v4-shadow-md:     0 4px 16px rgba(0,0,0,0.50);
  --kt-v4-shadow-lg:     0 12px 40px rgba(0,0,0,0.60);
  --kt-v4-gold-glow:     rgba(201,168,76,0.28);
}

/* Bootstrap colour override — replaces Bootstrap blue with Navy */
:root {
  --bs-primary:              #1B3A6B;
  --bs-primary-rgb:          27,58,107;
  --bs-primary-bg-subtle:    #EBF0FA;
  --bs-primary-border-subtle:#2A4F8A;
  --bs-link-color:           #C9A84C;
  --bs-link-hover-color:     #9E7B2A;
  --bs-focus-ring-color:     rgba(201,168,76,0.35);
  --bs-border-radius:        8px;
  --bs-border-radius-lg:     14px;
}
[data-theme="dark"] {
  --bs-body-bg:    #0D1B33;
  --bs-body-color: #FFFFFF;
  --bs-border-color: #2A4F8A;
}

/* V4 Global buttons */
.v4-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: var(--kt-v4-radius);
  font-size: 14px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all var(--kt-v4-transition);
  border: 2px solid transparent; font-family: inherit;
}
.v4-btn--gold {
  background: var(--kt-v4-gold); color: var(--kt-v4-navy);
  border-color: var(--kt-v4-gold);
}
.v4-btn--gold:hover {
  background: var(--kt-v4-gold-dark); border-color: var(--kt-v4-gold-dark);
  box-shadow: var(--kt-v4-shadow-md); transform: translateY(-1px);
}
.v4-btn--navy {
  background: var(--kt-v4-navy); color: var(--kt-v4-gold);
  border-color: var(--kt-v4-navy);
}
.v4-btn--navy:hover {
  background: var(--kt-v4-navy-dark); transform: translateY(-1px);
  box-shadow: var(--kt-v4-shadow-md);
}
.v4-btn--outline {
  background: transparent; color: var(--kt-v4-gold);
  border-color: var(--kt-v4-gold-border);
}
.v4-btn--outline:hover {
  background: var(--kt-v4-gold-light); border-color: var(--kt-v4-gold);
}
.v4-btn:focus-visible {
  outline: 2px solid var(--kt-v4-gold); outline-offset: 3px;
}

/* V4 Gold badge (cart count, wishlist count) */
.v4-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--kt-v4-gold); color: var(--kt-v4-navy);
  font-size: 10px; font-weight: 700; padding: 0 5px;
}

/* V4 Price — gold always */
.v4-price {
  color: var(--kt-v4-price); font-weight: 700;
  font-size: 1.15rem; letter-spacing: -0.01em;
}

/* V4 Gold focus ring — overrides browser default on all interactive elements */
*:focus-visible {
  outline: 2px solid var(--kt-v4-gold); outline-offset: 2px;
}

/* ── V4 Phase 1: Bottom Navigation ──────────────────────────
   Location: End of V4 block in style.css
   These rules are mobile-only. Desktop hides the nav via CSS.
   All colours use --kt-v4-* tokens. No hardcoded hex.
   ─────────────────────────────────────────────────────────── */

/* Body padding — prevents content hiding behind fixed bottom nav */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
}

/* Bottom nav bar */
.v4-bottom-nav {
  display: none; /* Hidden by default — shown only on mobile below */
  position: fixed;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--kt-v4-bg-raised);
  border-top: 1px solid var(--kt-v4-border);
  border-bottom: none;
  padding-top: 6px;
  padding-bottom: max(6px, env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: flex-start;
  box-shadow: 0 -4px 20px rgba(27, 58, 107, 0.10);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Show on mobile only */
@media (max-width: 767px) {
  .v4-bottom-nav {
    display: flex;
  }
}

/* Individual tab */
.v4-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  padding: 4px 2px;
  color: var(--kt-v4-text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  background: none;
  border: none;
  border-top: 2px solid transparent;
  cursor: pointer;
  transition: color var(--kt-v4-transition), border-color var(--kt-v4-transition);
  font-family: inherit;
  line-height: 1;
}

.v4-nav-tab i {
  font-size: 21px;
  line-height: 1;
  display: block;
}

.v4-nav-tab__label {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

/* Active state — gold accent */
.v4-nav-tab.v4-active,
.v4-nav-tab[aria-current="page"] {
  color: var(--kt-v4-gold);
  border-top-color: var(--kt-v4-gold);
}

.v4-nav-tab:hover {
  color: var(--kt-v4-gold);
}

.v4-nav-tab:focus-visible {
  outline: 2px solid var(--kt-v4-gold);
  outline-offset: -2px;
  border-radius: 4px;
}

/* Icon wrapper (for badge positioning) */
.v4-nav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Badge on nav icons */
.v4-nav-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
  padding: 0 4px;
}

/* ── V4 More Sheet ────────────────────────────────────────── */
.v4-more-sheet {
  border-radius: 20px 20px 0 0;
  max-height: 75vh;
  background: var(--kt-v4-bg-raised);
  border-top: 2px solid var(--kt-v4-gold-border);
}

.v4-more-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--kt-v4-border);
}

.v4-more-sheet__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--kt-v4-navy);
  margin: 0;
}

[data-theme="dark"] .v4-more-sheet__title {
  color: var(--kt-v4-gold);
}

.v4-more-sheet__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--kt-v4-text-muted);
  font-size: 18px;
  padding: 4px;
  line-height: 1;
  border-radius: var(--kt-v4-radius);
  transition: color var(--kt-v4-transition), background var(--kt-v4-transition);
}

.v4-more-sheet__close:hover {
  color: var(--kt-v4-navy);
  background: var(--kt-v4-surface);
}

[data-theme="dark"] .v4-more-sheet__close:hover {
  color: var(--kt-v4-gold);
}

.v4-more-sheet__body {
  padding: 20px 16px;
  overflow-y: auto;
}

/* 4-column grid of links */
.v4-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.v4-more-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--kt-v4-text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: var(--kt-v4-radius-lg);
  transition: all var(--kt-v4-transition);
  text-align: center;
}

.v4-more-item:hover {
  color: var(--kt-v4-gold);
  background: var(--kt-v4-gold-light);
}

[data-theme="dark"] .v4-more-item:hover {
  background: rgba(201, 168, 76, 0.10);
}

.v4-more-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--kt-v4-radius-lg);
  background: var(--kt-v4-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--kt-v4-navy);
  border: 1px solid var(--kt-v4-border);
  transition: all var(--kt-v4-transition);
}

.v4-more-item:hover .v4-more-icon {
  background: var(--kt-v4-gold-light);
  color: var(--kt-v4-gold);
  border-color: var(--kt-v4-gold-border);
}

[data-theme="dark"] .v4-more-icon {
  background: var(--kt-v4-surface);
  color: var(--kt-v4-gold);
  border-color: var(--kt-v4-border);
}

[data-theme="dark"] .v4-more-item:hover .v4-more-icon {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--kt-v4-gold-border);
}


/* ── V4 Phase 2: Floating Cart Bubble ───────────────────────
   Location: End of V4 block in style.css — after Phase 1 rules
   Desktop only — hidden on mobile where bottom nav handles cart.
   All colours use --kt-v4-* tokens. No hardcoded hex.
   ─────────────────────────────────────────────────────────── */

/* Outer container — fixed position, desktop only */
.v4-cart-bubble {
  display: none; /* Hidden on mobile */
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  flex-direction: column;
  align-items: flex-end;
}

/* Show on desktop only */
@media (min-width: 768px) {
  .v4-cart-bubble {
    display: flex;
  }
}

/* Circular trigger button */
.v4-bubble-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--kt-v4-navy);
  color: var(--kt-v4-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  text-decoration: none;
  position: relative;
  box-shadow: var(--kt-v4-shadow-lg);
  border: 2px solid var(--kt-v4-gold-border);
  transition: all var(--kt-v4-transition);
  cursor: pointer;
}

.v4-bubble-trigger:hover {
  background: var(--kt-v4-navy-dark);
  transform: scale(1.07);
  box-shadow: 0 8px 28px rgba(27, 58, 107, 0.30);
  border-color: var(--kt-v4-gold);
}

.v4-bubble-trigger:focus-visible {
  outline: 2px solid var(--kt-v4-gold);
  outline-offset: 3px;
}

/* Gold badge on trigger */
.v4-bubble-badge {
  position: absolute;
  top: -4px;
  right: -4px;
}

/* Preview panel — hidden until hover or focus-within */
.v4-bubble-panel {
  position: absolute;
  bottom: 66px;
  right: 0;
  width: 310px;
  background: var(--kt-v4-bg-raised);
  border: 1px solid var(--kt-v4-border);
  border-top: 2px solid var(--kt-v4-gold);
  border-radius: var(--kt-v4-radius-lg) var(--kt-v4-radius-lg) 0 0;
  box-shadow: var(--kt-v4-shadow-lg);
  overflow: hidden;

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom right;
  transition:
    opacity var(--kt-v4-transition),
    transform var(--kt-v4-transition),
    visibility var(--kt-v4-transition);
  pointer-events: none;
}

/* Show panel on hover or keyboard focus within bubble */
.v4-cart-bubble:hover .v4-bubble-panel,
.v4-cart-bubble:focus-within .v4-bubble-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Panel header */
.v4-bubble-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  background: var(--kt-v4-navy);
  border-bottom: 1px solid var(--kt-v4-gold-border);
}

.v4-bubble-panel__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--kt-v4-gold);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.v4-bubble-panel__count {
  font-size: 11px;
  font-weight: 500;
  color: var(--kt-v4-gold-light);
  opacity: 0.80;
}

.v4-bubble-panel__view-all {
  font-size: 11px;
  color: var(--kt-v4-gold);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.80;
  transition: opacity var(--kt-v4-transition);
}

.v4-bubble-panel__view-all:hover {
  opacity: 1;
}

/* Scrollable items area */
.v4-bubble-panel__items {
  max-height: 224px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--kt-v4-gold-border) transparent;
}

.v4-bubble-panel__items::-webkit-scrollbar {
  width: 4px;
}

.v4-bubble-panel__items::-webkit-scrollbar-thumb {
  background: var(--kt-v4-gold-border);
  border-radius: 2px;
}

/* Empty cart state */
.v4-bubble-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--kt-v4-text-muted);
  font-size: 13px;
}

.v4-bubble-empty i {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
  color: var(--kt-v4-gold-border);
}

/* Individual cart item row */
.v4-bubble-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 0.5px solid var(--kt-v4-border);
  transition: background var(--kt-v4-transition);
}

.v4-bubble-item:last-child {
  border-bottom: none;
}

.v4-bubble-item:hover {
  background: var(--kt-v4-gold-pale);
}

[data-theme="dark"] .v4-bubble-item:hover {
  background: rgba(201, 168, 76, 0.06);
}

.v4-bubble-item__img {
  width: 42px;
  height: 42px;
  border-radius: var(--kt-v4-radius);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--kt-v4-border);
  background: var(--kt-v4-surface);
}

.v4-bubble-item__details {
  flex: 1;
  min-width: 0;
}

.v4-bubble-item__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--kt-v4-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  display: block;
}

.v4-bubble-item__qty {
  font-size: 11px;
  color: var(--kt-v4-text-muted);
}

.v4-bubble-item__price {
  font-size: 12px;
  font-weight: 700;
  color: var(--kt-v4-price);
  flex-shrink: 0;
}

/* Overflow indicator */
.v4-bubble-overflow {
  padding: 8px 16px;
  font-size: 11px;
  color: var(--kt-v4-text-muted);
  text-align: center;
  border-top: 0.5px solid var(--kt-v4-border);
  background: var(--kt-v4-bg-subtle);
}

/* Footer with total and checkout CTA */
.v4-bubble-panel__footer {
  padding: 14px 16px;
  border-top: 1px solid var(--kt-v4-border);
  background: var(--kt-v4-bg-subtle);
}

.v4-bubble-panel__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.v4-bubble-panel__total-label {
  font-size: 13px;
  color: var(--kt-v4-text-muted);
  font-weight: 500;
}

/* Checkout button — full width inside bubble */
.v4-bubble-checkout {
  width: 100%;
  justify-content: center;
  padding: 11px 0;
  font-size: 13px;
}

/* Dark mode panel adjustments */
[data-theme="dark"] .v4-bubble-panel {
  background: var(--kt-v4-bg-raised);
  border-color: var(--kt-v4-border);
}

[data-theme="dark"] .v4-bubble-panel__footer {
  background: var(--kt-v4-bg-subtle);
}

/* ── V4 Phase 3: Engagement Engine ──────────────────────────
   Location: End of V4 block in style.css — after Phase 2 rules
   Covers: scroll progress bar, exit-intent modal,
           touch momentum scroll strips.
   All colours use --kt-v4-* tokens. No hardcoded hex.
   ─────────────────────────────────────────────────────────── */

/* ── Scroll progress bar ──────────────────────────────────── */
#v4-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--kt-v4-navy) 0%,
    var(--kt-v4-gold) 60%,
    var(--kt-v4-gold-dark) 100%
  );
  box-shadow: 0 0 8px var(--kt-v4-gold-glow);
  transition: width 0.08s linear;
}

/* Hide progress bar when page is at top */
#v4-scroll-progress[aria-valuenow="0"] {
  opacity: 0;
}

/* ── Exit-intent modal backdrop ───────────────────────────── */
.v4-exit-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;

  /* Hidden state — transition in when class added */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.30s ease,
    visibility 0.30s ease;
}

.v4-exit-modal.v4-exit-modal--visible {
  opacity: 1;
  visibility: visible;
}

/* Dimmed backdrop */
.v4-exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 37, 72, 0.75);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

/* Modal card */
.v4-exit-modal__card {
  position: relative;
  z-index: 1;
  background: var(--kt-v4-bg-raised);
  border: 1px solid var(--kt-v4-gold-border);
  border-top: 3px solid var(--kt-v4-gold);
  border-radius: var(--kt-v4-radius-xl);
  padding: 40px 36px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow:
    var(--kt-v4-shadow-lg),
    0 0 0 1px var(--kt-v4-gold-border);
  text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.30s ease;
}

.v4-exit-modal--visible .v4-exit-modal__card {
  transform: translateY(0) scale(1);
}

/* Close button */
.v4-exit-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kt-v4-surface);
  border: 1px solid var(--kt-v4-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--kt-v4-text-muted);
  font-size: 15px;
  transition: all var(--kt-v4-transition);
}

.v4-exit-modal__close:hover {
  background: var(--kt-v4-gold-light);
  color: var(--kt-v4-gold);
  border-color: var(--kt-v4-gold-border);
}

.v4-exit-modal__close:focus-visible {
  outline: 2px solid var(--kt-v4-gold);
  outline-offset: 2px;
}

/* Gold eyebrow label */
.v4-exit-modal__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kt-v4-gold);
  margin-bottom: 10px;
}

/* Main headline */
.v4-exit-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--kt-v4-navy);
  margin-bottom: 10px;
  line-height: 1.3;
  text-wrap: balance;
}

[data-theme="dark"] .v4-exit-modal__title {
  color: var(--kt-v4-gold);
}

/* Subtext */
.v4-exit-modal__sub {
  font-size: 14px;
  color: var(--kt-v4-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Email form */
.v4-exit-modal__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.v4-exit-modal__input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--kt-v4-border);
  border-radius: var(--kt-v4-radius);
  font-size: 14px;
  font-family: inherit;
  background: var(--kt-v4-bg);
  color: var(--kt-v4-text);
  transition: border-color var(--kt-v4-transition),
              box-shadow var(--kt-v4-transition);
}

.v4-exit-modal__input:focus {
  outline: none;
  border-color: var(--kt-v4-gold);
  box-shadow: 0 0 0 3px var(--kt-v4-gold-glow);
}

.v4-exit-modal__input::placeholder {
  color: var(--kt-v4-text-faint);
}

/* Submit button — full width inside modal */
.v4-exit-modal__submit {
  width: 100%;
  justify-content: center;
  padding: 13px 0;
}

/* Disclaimer text */
.v4-exit-modal__disclaimer {
  font-size: 11px;
  color: var(--kt-v4-text-faint);
  margin: 0;
}

/* Success state — shown after email submitted */
.v4-exit-modal__success {
  padding: 8px 0;
}

.v4-exit-modal__success-icon {
  font-size: 40px;
  color: var(--kt-v4-gold);
  display: block;
  margin-bottom: 12px;
}

.v4-exit-modal__code {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: var(--kt-v4-gold);
  background: var(--kt-v4-gold-light);
  border: 1.5px dashed var(--kt-v4-gold-border);
  border-radius: var(--kt-v4-radius);
  padding: 10px 24px;
  letter-spacing: 0.06em;
  margin: 12px 0;
}

[data-theme="dark"] .v4-exit-modal__code {
  background: rgba(201, 168, 76, 0.10);
}

/* ── Touch momentum scroll strips ────────────────────────── */
/* Applied to all horizontal scroll containers across V2 and V3 */
.kt-v2-recs__scroll,
.v3-recs__scroll,
.v4-scroll-strip {
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

/* Snap alignment on child items */
.kt-v2-recs__card,
.v4-scroll-strip > * {
  scroll-snap-align: start;
}

/* ── Reduced motion overrides ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #v4-scroll-progress {
    transition: none;
  }
  .v4-exit-modal,
  .v4-exit-modal__card {
    transition: none;
  }
}

/* ── V4 Phase 4: Pull-to-Refresh, Animations, Transitions ───
   Location: End of V4 block in style.css — after Phase 3 rules
   Covers: pull indicator, scroll-driven card animations,
           View Transitions API, :has() card glow,
           text-wrap balance, color-mix hover tints.
   All colours use --kt-v4-* tokens. No hardcoded hex.
   ─────────────────────────────────────────────────────────── */

/* ── Pull-to-refresh indicator ───────────────────────────── */
#v4-pull-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--kt-v4-bg-raised);
  border: 1px solid var(--kt-v4-gold-border);
  border-radius: 0 0 var(--kt-v4-radius-lg) var(--kt-v4-radius-lg);
  box-shadow: var(--kt-v4-shadow-md);
  z-index: 9990;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  min-width: 140px;
}

/* Visible state — added by JS during pull */
#v4-pull-indicator.v4-pull-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Gold spinner ring */
.v4-pull-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--kt-v4-gold-border);
  border-top-color: var(--kt-v4-gold);
  flex-shrink: 0;
}

/* Spinning state — added by JS when threshold is reached */
.v4-pull-indicator--active .v4-pull-spinner {
  animation: v4-spin 0.70s linear infinite;
}

@keyframes v4-spin {
  to { transform: rotate(360deg); }
}

/* Indicator label */
.v4-pull-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-v4-gold);
  white-space: nowrap;
}

/* ── Scroll-driven card entrance animations ───────────────── */
/*
   Uses CSS animation-timeline: view() — pure CSS, zero JS.
   Wrapped in @supports so unsupported browsers show
   cards normally without any flash or layout issue.
*/
@supports (animation-timeline: scroll()) {
  .product-card {
    animation: v4-card-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}

@keyframes v4-card-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── :has() — gold glow when product is wishlisted ────────── */
/*
   Applies a gold border glow to the entire card when the
   wishlist button inside it has the .active class.
   Pure CSS — zero JS. Falls back silently in Safari < 16.
*/
@supports selector(:has(.wishlist-btn.active)) {
  .product-card:has(.wishlist-btn.active) {
    box-shadow: var(--kt-v4-shadow-gold);
    border-color: var(--kt-v4-gold-border);
  }
}

/* ── text-wrap: balance — all major headings ──────────────── */
/*
   Prevents orphaned single words on the last line of headings.
   Falls back silently in browsers that do not support it.
*/
h1, h2, h3,
.v3-hero__headline,
.v4-exit-modal__title,
.v4-bubble-panel__title {
  text-wrap: balance;
}

/* ── color-mix() — dynamic hover tints from gold token ───── */
/*
   Generates gold tints dynamically without hardcoded hex.
   Falls back to existing hover styles in older browsers.
*/
@supports (color: color-mix(in srgb, red, blue)) {
  .product-card:hover {
    border-color: color-mix(
      in srgb, var(--kt-v4-gold) 40%, transparent
    );
  }
  .v4-nav-tab.v4-active {
    background: color-mix(
      in srgb, var(--kt-v4-gold) 8%, transparent
    );
  }
  .v4-more-item:hover .v4-more-icon {
    background: color-mix(
      in srgb, var(--kt-v4-gold) 12%, var(--kt-v4-bg)
    );
  }
}

/* ── View Transitions API ─────────────────────────────────── */
/*
   Defines the page-level transition and the product image
   morph animation between catalog cards and product pages.
*/
@keyframes v4-vt-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes v4-vt-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Page-level cross-fade */
::view-transition-old(root) {
  animation: 220ms ease v4-vt-fade-out;
}

::view-transition-new(root) {
  animation: 220ms ease v4-vt-fade-in;
}

/*
   Product image morph — the image element on the card and
   the matching image on the product page share a
   view-transition-name set by JS (product-img-[id]).
   Removing animation here lets the browser handle the
   natural position/size morph automatically.
*/
::view-transition-old(product-img),
::view-transition-new(product-img) {
  animation: none;
  mix-blend-mode: normal;
}

/* ── Reduced motion — all Phase 4 animations ─────────────── */
@media (prefers-reduced-motion: reduce) {

  /* Disable scroll-driven animations */
  @supports (animation-timeline: scroll()) {
    .product-card {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }

  /* Disable pull indicator animation */
  .v4-pull-indicator--active .v4-pull-spinner {
    animation: none;
  }

  /* Disable View Transition animations */
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════
   KIDATECH V5 STYLES — Gold · Navy · White · Black System
   Appended after V4 block. Never modify anything above.
   Phases: 0 (tokens) → 1 (header) → 2 (timer) →
           3 (chatbot) → 4 (homepage)
   ════════════════════════════════════════════════════════════ */

/* ── V5 Design Tokens ─────────────────────────────────────── */
:root {

  /* ── Gold palette ─────────────────────────────────────── */
  --kt-v5-gold:            #C9A84C;
  --kt-v5-gold-bright:     #D4AF5A;
  --kt-v5-gold-dark:       #9E7B2A;
  --kt-v5-gold-light:      #FBF6E9;
  --kt-v5-gold-pale:       #FDF9F0;
  --kt-v5-gold-glow:       rgba(201, 168, 76, 0.20);
  --kt-v5-gold-border:     rgba(201, 168, 76, 0.35);
  --kt-v5-gold-strong:     rgba(201, 168, 76, 0.55);

  /* ── Navy palette ─────────────────────────────────────── */
  --kt-v5-navy:            #1B3A6B;
  --kt-v5-navy-dark:       #0F2548;
  --kt-v5-navy-darkest:    #0A1628;
  --kt-v5-navy-mid:        #2A4F8A;
  --kt-v5-navy-light:      #3D5A8A;
  --kt-v5-navy-pale:       #EBF0FA;

  /* ── White and off-white ──────────────────────────────── */
  --kt-v5-white:           #FFFFFF;
  --kt-v5-off-white:       #FAFAF8;
  --kt-v5-near-white:      #F4F6F8;

  /* ── Page surfaces — LIGHT MODE ──────────────────────── */
  --kt-v5-bg:              #FFFFFF;
  --kt-v5-bg-alt:          #FDF9F0;
  --kt-v5-bg-raised:       #FFFFFF;
  --kt-v5-surface:         #F4F6F8;
  --kt-v5-surface-alt:     #EBF0FA;

  /* ── Header — LIGHT MODE ──────────────────────────────── */
  /* Navy glass header — text is always white on header */
  --kt-v5-header-bg:       rgba(27, 58, 107, 0.94);
  --kt-v5-header-border:   rgba(201, 168, 76, 0.25);
  --kt-v5-header-text:     #FFFFFF;
  --kt-v5-header-icon:     #FFFFFF;
  --kt-v5-header-height:   112px;
  --kt-v5-header-compressed: 106px;

  /* ── Text — LIGHT MODE ────────────────────────────────── */
  /* Rule: Navy text ONLY on white/pale backgrounds         */
  /* Rule: White text ONLY on navy/dark backgrounds         */
  /* Rule: Gold text ONLY on navy or white backgrounds      */
  --kt-v5-text-heading:    #1B3A6B;   /* Navy on white */
  --kt-v5-text-body:       #3D5A8A;   /* Mid navy on white */
  --kt-v5-text-muted:      #64748B;   /* Slate on white */
  --kt-v5-text-faint:      #94A3B8;   /* Light slate on white */
  --kt-v5-text-on-dark:    #FFFFFF;   /* White on navy/dark */
  --kt-v5-text-on-gold:    #1B3A6B;   /* Navy on gold */
  --kt-v5-price:           #C9A84C;   /* Gold — always */

  /* ── Borders — LIGHT MODE ────────────────────────────── */
  --kt-v5-border:          #E2E8F0;
  --kt-v5-border-strong:   #CBD5E1;
  --kt-v5-border-gold:     rgba(201, 168, 76, 0.35);

  /* ── Shadows ──────────────────────────────────────────── */
  --kt-v5-shadow-sm:       0 1px 3px rgba(27, 58, 107, 0.08);
  --kt-v5-shadow:          0 4px 12px rgba(27, 58, 107, 0.10);
  --kt-v5-shadow-md:       0 8px 24px rgba(27, 58, 107, 0.13);
  --kt-v5-shadow-lg:       0 16px 48px rgba(27, 58, 107, 0.16);
  --kt-v5-shadow-gold:     0 0 0 2px var(--kt-v5-gold-border);

  /* ── Shape and motion ─────────────────────────────────── */
  --kt-v5-radius:          8px;
  --kt-v5-radius-md:       12px;
  --kt-v5-radius-lg:       16px;
  --kt-v5-radius-xl:       24px;
  --kt-v5-radius-full:     9999px;
  --kt-v5-transition:      0.22s ease;
  --kt-v5-transition-slow: 0.38s ease;

  /* ── Search bar ───────────────────────────────────────── */
  --kt-v5-search-bg:       #FFFFFF;
  --kt-v5-search-border:   rgba(255, 255, 255, 0.30);
  --kt-v5-search-text:     #1B3A6B;
  --kt-v5-search-placeholder: rgba(27, 58, 107, 0.45);
  --kt-v5-search-focus-border: #C9A84C;
  --kt-v5-search-focus-glow: rgba(201, 168, 76, 0.22);

  /* ── Flash timer ──────────────────────────────────────── */
  --kt-v5-timer-bg:        #0F2548;
  --kt-v5-timer-digit-bg:  #1B3A6B;
  --kt-v5-timer-digit-text:#C9A84C;
  --kt-v5-timer-label:     rgba(255, 255, 255, 0.70);

  /* ── Chatbot ──────────────────────────────────────────── */
  --kt-v5-chat-bg:         #FFFFFF;
  --kt-v5-chat-header-bg:  #1B3A6B;
  --kt-v5-chat-header-text:#C9A84C;
  --kt-v5-chat-bubble-bot: #EBF0FA;
  --kt-v5-chat-bubble-user:#1B3A6B;
  --kt-v5-chat-text-bot:   #1B3A6B;
  --kt-v5-chat-text-user:  #FFFFFF;
  --kt-v5-chat-input-bg:   #F4F6F8;
  --kt-v5-chat-fab-bg:     #1B3A6B;
  --kt-v5-chat-fab-icon:   #C9A84C;
}

/* ── DARK MODE TOKEN OVERRIDES ────────────────────────────── */
[data-theme="dark"] {

  /* ── Page surfaces ────────────────────────────────────── */
  --kt-v5-bg:              #0A1628;   /* Deepest navy-black */
  --kt-v5-bg-alt:          #0D1B33;   /* Dark navy */
  --kt-v5-bg-raised:       #1B3A6B;   /* Mid navy for cards */
  --kt-v5-surface:         #243552;   /* Raised surface */
  --kt-v5-surface-alt:     #1F2D4A;   /* Alternative surface */

  /* ── Header ───────────────────────────────────────────── */
  --kt-v5-header-bg:       rgba(10, 22, 40, 0.96);
  --kt-v5-header-border:   rgba(201, 168, 76, 0.20);
  /* Header text stays white in dark mode — no change needed */

  /* ── Text — DARK MODE ─────────────────────────────────── */
  /* Rule A: White text on dark navy backgrounds             */
  /* Rule B: Gold text on dark navy for headings/accents     */
  /* Rule C: Light blue-grey for body copy on dark           */
  /* Rule D: Never use navy text (#1B3A6B) in dark mode      */
  --kt-v5-text-heading:    #FFFFFF;         /* White on dark */
  --kt-v5-text-body:       #A8B8D0;         /* Light blue-grey */
  --kt-v5-text-muted:      #7A96B8;         /* Mid blue-grey */
  --kt-v5-text-faint:      #4A6480;         /* Dim blue-grey */
  --kt-v5-text-on-dark:    #FFFFFF;         /* Unchanged */
  --kt-v5-price:           #D4AF5A;         /* Bright gold */

  /* ── Borders ──────────────────────────────────────────── */
  --kt-v5-border:          #2A4F8A;         /* Navy border */
  --kt-v5-border-strong:   #3D6A9A;
  --kt-v5-border-gold:     rgba(201, 168, 76, 0.28);

  /* ── Shadows ──────────────────────────────────────────── */
  --kt-v5-shadow-sm:       0 1px 3px rgba(0, 0, 0, 0.40);
  --kt-v5-shadow:          0 4px 12px rgba(0, 0, 0, 0.45);
  --kt-v5-shadow-md:       0 8px 24px rgba(0, 0, 0, 0.50);
  --kt-v5-shadow-lg:       0 16px 48px rgba(0, 0, 0, 0.60);
  --kt-v5-gold-glow:       rgba(201, 168, 76, 0.30);

  /* ── Search bar ───────────────────────────────────────── */
  --kt-v5-search-bg:       rgba(255, 255, 255, 0.08);
  --kt-v5-search-border:   rgba(255, 255, 255, 0.15);
  --kt-v5-search-text:     #FFFFFF;
  --kt-v5-search-placeholder: rgba(255, 255, 255, 0.40);

  /* ── Flash timer ──────────────────────────────────────── */
  --kt-v5-timer-bg:        #060E1C;
  --kt-v5-timer-digit-bg:  #0F2548;

  /* ── Chatbot ──────────────────────────────────────────── */
  --kt-v5-chat-bg:         #0D1B33;
  --kt-v5-chat-bubble-bot: #1B3A6B;
  --kt-v5-chat-text-bot:   #A8B8D0;
  --kt-v5-chat-input-bg:   #1B3A6B;
}

/* ── V5 Global Utility Classes ────────────────────────────── */

/* Page body background */
body {
  background-color: var(--kt-v5-bg);
  color: var(--kt-v5-text-body);
  transition:
    background-color 0.28s ease,
    color 0.22s ease;
}

/* All headings use navy in light, white in dark */
h1, h2, h3, h4, h5, h6 {
  color: var(--kt-v5-text-heading);
}

/* V5 Section alternating backgrounds */
.v5-section {
  background-color: var(--kt-v5-bg);
  padding: 60px 0;
}

.v5-section--alt {
  background-color: var(--kt-v5-bg-alt);
  padding: 60px 0;
}

/* V5 Container — respects Bootstrap xxl max-width */
.v5-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 576px)  { .v5-container { padding: 0 24px; } }
@media (min-width: 992px)  { .v5-container { padding: 0 32px; } }
@media (min-width: 1400px) { .v5-container { padding: 0 40px; } }

/* V5 Gold accent line — used under section headings */
.v5-gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--kt-v5-gold);
  border-radius: var(--kt-v5-radius-full);
  margin: 10px auto 0;
}

.v5-gold-line--left {
  margin: 10px 0 0;
}

/* V5 Price display — always gold */
.v5-price {
  color: var(--kt-v5-price);
  font-weight: 700;
}

/* V5 Gold badge */
.v5-badge-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--kt-v5-gold);
  color: var(--kt-v5-navy);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--kt-v5-radius-full);
  min-width: 18px;
  height: 18px;
}

/* V5 Buttons */
.v5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--kt-v5-radius);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--kt-v5-transition);
  white-space: nowrap;
}

.v5-btn--primary {
  background: var(--kt-v5-gold);
  color: var(--kt-v5-navy-darkest);
  border-color: var(--kt-v5-gold);
}

.v5-btn--primary:hover {
  background: var(--kt-v5-gold-dark);
  border-color: var(--kt-v5-gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--kt-v5-shadow-md);
  color: var(--kt-v5-navy-darkest);
}

.v5-btn--secondary {
  background: var(--kt-v5-navy);
  color: var(--kt-v5-gold);
  border-color: var(--kt-v5-navy);
}

.v5-btn--secondary:hover {
  background: var(--kt-v5-navy-dark);
  border-color: var(--kt-v5-navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--kt-v5-shadow-md);
}

.v5-btn--ghost {
  background: transparent;
  color: var(--kt-v5-gold);
  border-color: var(--kt-v5-gold-border);
}

.v5-btn--ghost:hover {
  background: var(--kt-v5-gold-light);
  border-color: var(--kt-v5-gold);
}

[data-theme="dark"] .v5-btn--ghost:hover {
  background: var(--kt-v5-gold-glow);
}

/* Universal gold focus ring for all V5 interactive elements */
.v5-btn:focus-visible,
.v5-input:focus-visible {
  outline: 2px solid var(--kt-v5-gold);
  outline-offset: 2px;
}

/* ── Reduced motion safety ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── V5 Phase 1: Frosted Glass Header ────────────────────────
   Location: End of V5 block in style.css — after Phase 0 tokens
   Bootstrap navbar is structural base.
   V5 CSS provides: frosted glass, gold accents, scroll-compress,
   three-zone layout, search bar, mobile search overlay.
   All colours use --kt-v5-* tokens. Zero hardcoded hex.
   ─────────────────────────────────────────────────────────── */

/* ── Body offset — prevents content hiding under fixed header */
body {
  padding-top: calc(var(--kt-v5-header-height) + env(safe-area-inset-top, 0px));
}

@media (max-width: 1199px) {
  body {
    padding-top: calc(var(--kt-v5-header-compressed) + env(safe-area-inset-top, 0px));
  }
}

/* ── Main header wrapper ──────────────────────────────────── */
.v5-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 1030;
  background: var(--kt-v5-header-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--kt-v5-header-border);
  transition: all var(--kt-v5-transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  padding-top: env(safe-area-inset-top, 0px);
}

.v5-header-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.v5-header-row {
  display: flex;
  align-items: center;
  width: 100%;
  transition: all var(--kt-v5-transition);
}

/* Row 1 Main */
.v5-header-row--main {
  height: 68px;
  justify-content: space-between;
}

/* Row 2 Navigation */
.v5-header-row--nav {
  height: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: space-between;
  align-items: center;
}

/* Row 2 Mobile Scrolling Tag Bar */
.v5-header-row--scroll {
  height: 38px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding: 4px 0 8px 0;
}
.v5-header-row--scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Compressed scrolled state values */
.v5-header--scrolled .v5-header-row--main {
  height: 56px;
}
.v5-header--scrolled .v5-header-row--nav {
  height: 38px;
}

/* ── Zone 1 — Brand / Logo ────────────────────────────────── */
.v5-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
}

.v5-header-brand:hover {
  opacity: 0.90;
}

.v5-header-brand__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  transition: all var(--kt-v5-transition);
}

.v5-header--scrolled .v5-header-brand__logo {
  width: 30px;
  height: 30px;
}

.v5-header-brand__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--kt-v5-white);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: all var(--kt-v5-transition);
}

.v5-header-brand__name::after {
  content: ".";
  color: var(--kt-v5-gold);
}

.v5-header--scrolled .v5-header-brand__name {
  font-size: 18px;
}

/* Hide brand name on mobile to prevent actions overflow */
@media (max-width: 575px) {
  .v5-header-brand__name {
    display: none;
  }
}

/* ── Zone 2 — Search bar ──────────────────────────────────── */
.v5-header-search {
  flex: 1;
  flex-shrink: 1;
  min-width: 200px;
  flex: 1;
  max-width: 580px;
  margin: 0 24px;
  position: relative;
}

.v5-search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
  transition: all var(--kt-v5-transition);
}

.v5-search-form:focus-within {
  border-color: var(--kt-v5-gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3);
  background: rgba(10, 22, 40, 0.2);
}

[data-theme="dark"] .v5-search-form:focus-within {
  background: rgba(0, 0, 0, 0.3);
}

.v5-search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 14px;
}

.search-icon-inside {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  margin-right: 8px;
}

.v5-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 0;
  font-size: 14px;
  color: var(--kt-v5-white);
  font-family: inherit;
  min-width: 0;
}

.v5-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--kt-v5-transition);
}

.v5-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 40px;
  background: var(--kt-v5-gold);
  border: none;
  cursor: pointer;
  color: var(--kt-v5-navy-darkest);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background var(--kt-v5-transition);
}

.v5-search-btn:hover {
  background: var(--kt-v5-gold-dark);
}

/* ── Zone 3 — Action icons ────────────────────────────────── */
.v5-header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.v5-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--kt-v5-white);
  text-decoration: none;
  font-size: 20px;
  position: relative;
  transition: all var(--kt-v5-transition);
}

.v5-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--kt-v5-gold);
}

.v5-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge on action icons */
.v5-action-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  background: #E24B4A; /* clean red indicator */
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
  border: 1.5px solid var(--kt-v5-navy-dark);
}

/* Welcome User Account text button */
.v5-account-dropdown .v5-action-btn--account {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  padding: 6px 12px;
}

.v5-account-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.v5-account-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.v5-account-title {
  font-size: 13px;
  color: var(--kt-v5-white);
  font-weight: 600;
}

.v5-action-btn--account:hover .v5-account-title {
  color: var(--kt-v5-gold);
}

/* ── Theme toggle pill ────────────────────────────────────── */
.v5-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
  border-radius: var(--kt-v5-radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  cursor: pointer;
  position: relative;
  transition: background var(--kt-v5-transition);
  flex-shrink: 0;
}

.v5-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: var(--kt-v5-gold);
}

.v5-theme-toggle__icon {
  font-size: 12px;
  color: var(--kt-v5-white);
  transition: opacity var(--kt-v5-transition);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.v5-theme-toggle__sun  { opacity: 1; }
.v5-theme-toggle__moon { opacity: 0; }

[data-theme="dark"] .v5-theme-toggle__sun  { opacity: 0; }
[data-theme="dark"] .v5-theme-toggle__moon { opacity: 1; }

/* ── Row 2 Desktop Navigation Categories ─────────────────── */
.v5-nav-dropdown {
  position: relative;
}

.v5-nav-dropdown-btn {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  color: var(--kt-v5-gold);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--kt-v5-transition);
}

.v5-nav-dropdown-btn:hover {
  background: rgba(201, 168, 76, 0.22);
}

.v5-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #0d1e36;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  min-width: 230px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.v5-nav-dropdown:hover .v5-nav-dropdown-menu {
  display: flex;
}

.v5-nav-dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 16px;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.v5-nav-dropdown-item i {
  color: var(--kt-v5-gold);
  font-size: 14px;
}

.v5-nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--kt-v5-gold);
  padding-left: 20px;
}

.v5-nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.v5-nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.v5-nav-link:hover {
  color: var(--kt-v5-gold);
}

.v5-nav-link.active {
  color: var(--kt-v5-gold);
  border-color: var(--kt-v5-gold);
}

.v5-nav-link--highlight {
  color: var(--kt-v5-gold);
  font-weight: 600;
}

.v5-header-delivery-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.v5-header-delivery-badge i {
  color: var(--kt-v5-gold);
  font-size: 14px;
}

/* ── Row 2 Mobile Scrolling tag bar ──────────────────────── */
.v5-scroll-tags {
  display: flex;
  gap: 8px;
  padding: 2px 12px 6px 12px;
  align-items: center;
}

.v5-scroll-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.v5-scroll-tag i {
  font-size: 11px;
  color: var(--kt-v5-gold);
}

.v5-scroll-tag:hover,
.v5-scroll-tag:active {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--kt-v5-gold);
  color: var(--kt-v5-gold);
}

.v5-scroll-tag--hot {
  border-color: rgba(226, 75, 74, 0.3);
  color: #f87171;
  background: rgba(226, 75, 74, 0.06);
}

.v5-scroll-tag--hot i {
  color: #f87171;
}

/* ── Mobile/Tablet search icon ──────────────────────────── */
.v5-action-btn--search {
  display: flex;
}

/* Hide desktop elements on tablet & mobile */
@media (max-width: 991px) {
  .v5-header-search,
  .v5-account-dropdown {
    display: none !important;
  }
}

/* ── Search overlay — full screen on mobile/tablet ────────── */
.v5-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--kt-v5-header-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.v5-search-overlay--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.v5-search-overlay__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v5-search-overlay__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: var(--kt-v5-white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--kt-v5-transition);
}

.v5-search-overlay__close:hover {
  background: rgba(255, 255, 255, 0.20);
}

.v5-search-overlay__form {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--kt-v5-radius-full);
  overflow: hidden;
  transition: border-color var(--kt-v5-transition),
              box-shadow var(--kt-v5-transition);
}

.v5-search-overlay__form:focus-within {
  border-color: var(--kt-v5-gold);
  box-shadow: 0 0 0 3px var(--kt-v5-gold-glow);
}

.v5-search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 18px;
  font-size: 16px;
  color: var(--kt-v5-white);
  font-family: inherit;
  min-width: 0;
}

.v5-search-overlay__input::placeholder {
  color: rgba(255, 255, 255, 0.50);
}

.v5-search-overlay__btn {
  width: 50px;
  height: 50px;
  background: var(--kt-v5-gold);
  border: none;
  cursor: pointer;
  color: var(--kt-v5-navy-darkest);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--kt-v5-transition);
}

.v5-search-overlay__btn:hover {
  background: var(--kt-v5-gold-dark);
}

/* Quick-search category pills below search in overlay */
.v5-search-overlay__quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.v5-search-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--kt-v5-radius-full);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--kt-v5-white);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--kt-v5-transition);
}

.v5-search-quick-pill:hover {
  background: var(--kt-v5-gold-glow);
  border-color: var(--kt-v5-gold-border);
  color: var(--kt-v5-gold);
}

/* ── Responsive overrides ─────────────────────────────────── */
@media (max-width: 575px) {
  .v5-header-actions {
    gap: 2px;
  }
  .v5-action-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .v5-header-search {
    max-width: 640px;
  }
}

@media (min-width: 1400px) {
  .v5-header-search {
    max-width: 720px;
  }
}

/* ── Prefers reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .v5-header,
  .v5-search-overlay,
  .v5-action-btn::after {
    transition: none;
  }
}

/* ── V5 Phase 2: Flash Sale Auto-Reset Timer ─────────────────
   Location: End of V5 block in style.css — after Phase 1 rules
   Covers: timer wrapper, countdown digits, product strip,
           category badge, flash deal card overlay.
   All colours use --kt-v5-* tokens. Zero hardcoded hex.
   Only appears on index.html.
   ─────────────────────────────────────────────────────────── */

/* ── Flash timer outer section ────────────────────────────── */
.v5-flash-section {
  background: var(--kt-v5-timer-bg);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
}

/* Decorative gold line at top of section */
.v5-flash-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--kt-v5-gold) 30%,
    var(--kt-v5-gold-bright) 50%,
    var(--kt-v5-gold) 70%,
    transparent 100%
  );
}

/* ── Flash header row ─────────────────────────────────────── */
.v5-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

/* Sale title — "Flash Sale" */
.v5-flash-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v5-flash-title__icon {
  font-size: 24px;
  color: var(--kt-v5-gold);
  animation: v5-flash-pulse 1.8s ease-in-out infinite;
}

@keyframes v5-flash-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.70; transform: scale(0.92); }
}

.v5-flash-title__text {
  font-size: 22px;
  font-weight: 700;
  color: var(--kt-v5-white);
  letter-spacing: -0.01em;
}

.v5-flash-title__text span {
  color: var(--kt-v5-gold);
}

/* Category badge — shows current sale category */
.v5-flash-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--kt-v5-gold-glow);
  border: 1px solid var(--kt-v5-gold-border);
  color: var(--kt-v5-gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--kt-v5-radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Countdown display ────────────────────────────────────── */
.v5-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v5-countdown__label {
  font-size: 12px;
  color: var(--kt-v5-timer-label);
  font-weight: 500;
  white-space: nowrap;
}

.v5-countdown__digits {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Individual digit unit (days/hours/minutes/seconds) */
.v5-digit-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

/* The number block */
.v5-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 48px;
  background: var(--kt-v5-timer-digit-bg);
  border: 1px solid var(--kt-v5-gold-border);
  border-radius: var(--kt-v5-radius);
  font-size: 22px;
  font-weight: 700;
  color: var(--kt-v5-gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}

/* Flip animation trigger class — added by JS */
.v5-digit--flip {
  animation: v5-digit-flip 0.35s ease both;
}

@keyframes v5-digit-flip {
  0%   { transform: rotateX(0deg);   opacity: 1; }
  45%  { transform: rotateX(-90deg); opacity: 0; }
  55%  { transform: rotateX(90deg);  opacity: 0; }
  100% { transform: rotateX(0deg);   opacity: 1; }
}

/* Unit label (DAYS / HRS / MIN / SEC) */
.v5-digit-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--kt-v5-timer-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Separator colon between digit groups */
.v5-digit-sep {
  font-size: 22px;
  font-weight: 700;
  color: var(--kt-v5-gold);
  margin-bottom: 12px;
  opacity: 0.60;
  animation: v5-colon-blink 1s step-end infinite;
}

@keyframes v5-colon-blink {
  0%, 100% { opacity: 0.60; }
  50%       { opacity: 0.20; }
}

/* ── View all link ────────────────────────────────────────── */
.v5-flash-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--kt-v5-gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--kt-v5-gold-border);
  padding: 8px 16px;
  border-radius: var(--kt-v5-radius-full);
  transition: all var(--kt-v5-transition);
  white-space: nowrap;
}

.v5-flash-view-all:hover {
  background: var(--kt-v5-gold-glow);
  border-color: var(--kt-v5-gold-strong);
  color: var(--kt-v5-gold-bright);
  transform: translateX(2px);
}

/* ── Flash sale product strip ─────────────────────────────── */
.v5-flash-products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.v5-flash-products::-webkit-scrollbar {
  display: none;
}

/* Individual flash product card */
.v5-flash-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  background: var(--kt-v5-navy);
  border: 1px solid var(--kt-v5-gold-border);
  border-radius: var(--kt-v5-radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--kt-v5-transition);
  position: relative;
}

.v5-flash-card:hover {
  transform: translateY(-3px);
  border-color: var(--kt-v5-gold-strong);
  box-shadow: var(--kt-v5-shadow-gold),
              var(--kt-v5-shadow);
}

/* Flash deal badge overlay */
.v5-flash-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--kt-v5-gold);
  color: var(--kt-v5-navy-darkest);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--kt-v5-radius-full);
  letter-spacing: 0.04em;
  z-index: 1;
}

.v5-flash-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--kt-v5-navy-dark);
}

.v5-flash-card__body {
  padding: 10px 12px;
}

.v5-flash-card__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--kt-v5-white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  line-height: 1.4;
}

.v5-flash-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--kt-v5-gold);
}

.v5-flash-card__original {
  font-size: 11px;
  color: var(--kt-v5-timer-label);
  text-decoration: line-through;
  margin-left: 4px;
}

/* ── Reset announcement toast styling ─────────────────────── */
/* Uses existing V2 toast system — no new styles needed */

/* ── Loading skeleton for flash cards ─────────────────────── */
.v5-flash-skeleton {
  flex: 0 0 180px;
  height: 240px;
  background: linear-gradient(
    90deg,
    var(--kt-v5-navy-dark) 25%,
    var(--kt-v5-navy-mid)  50%,
    var(--kt-v5-navy-dark) 75%
  );
  background-size: 400px 100%;
  animation: v5-skeleton-shimmer 1.4s linear infinite;
  border-radius: var(--kt-v5-radius-lg);
  border: 1px solid var(--kt-v5-gold-border);
  flex-shrink: 0;
}

@keyframes v5-skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

/* ── Responsive adjustments ───────────────────────────────── */
@media (max-width: 767px) {
  .v5-flash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .v5-flash-title__text {
    font-size: 18px;
  }

  .v5-digit {
    min-width: 36px;
    height: 40px;
    font-size: 18px;
  }

  .v5-flash-card {
    flex: 0 0 150px;
  }
}

@media (max-width: 400px) {
  .v5-digit {
    min-width: 32px;
    height: 36px;
    font-size: 16px;
  }

  .v5-countdown__label {
    display: none;
  }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .v5-flash-title__icon {
    animation: none;
  }
  .v5-digit--flip {
    animation: none;
  }
  .v5-digit-sep {
    animation: none;
    opacity: 0.60;
  }
  .v5-flash-skeleton {
    animation: none;
    background: var(--kt-v5-navy-dark);
  }
}

/* ── V5 Phase 3: AI Chatbot Assistant ────────────────────────
   Location: End of V5 block in style.css — after Phase 2 rules
   Covers: FAB bubble, chat panel, messages, typing indicator,
           ticket form, context badge, send button.
   All colours use --kt-v5-* tokens. Zero hardcoded hex.
   Loads on all 18 pages — panel only visible when opened.
   ─────────────────────────────────────────────────────────── */

/* ── Chatbot FAB — floating action button ─────────────────── */
.v5-chat-fab {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 1020;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--kt-v5-navy);
  border: 2px solid var(--kt-v5-gold-border);
  color: var(--kt-v5-gold);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--kt-v5-shadow-lg);
  transition: all var(--kt-v5-transition);
  outline: none;
}

.v5-chat-fab:hover {
  background: var(--kt-v5-navy-dark);
  border-color: var(--kt-v5-gold-strong);
  transform: scale(1.08);
  box-shadow:
    var(--kt-v5-shadow-lg),
    0 0 0 4px var(--kt-v5-gold-glow);
}

.v5-chat-fab:focus-visible {
  outline: 2px solid var(--kt-v5-gold);
  outline-offset: 3px;
}

/* Notification dot on FAB */
.v5-chat-fab__dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--kt-v5-gold);
  border: 2px solid var(--kt-v5-navy);
  animation: v5-dot-pulse 2s ease-in-out infinite;
}

@keyframes v5-dot-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.25); opacity: 0.70; }
}

/* Mobile position — above bottom nav */
@media (max-width: 767px) {
  .v5-chat-fab {
    bottom: calc(68px + env(safe-area-inset-bottom) + 16px);
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 21px;
  }
}

/* ── Chat panel wrapper ────────────────────────────────────── */
.v5-chat-panel {
  position: fixed;
  bottom: 168px;
  right: 28px;
  z-index: 1020;
  width: 380px;
  height: 520px;
  display: flex;
  flex-direction: column;
  background: var(--kt-v5-chat-bg);
  border: 1px solid var(--kt-v5-border);
  border-top: 2px solid var(--kt-v5-gold);
  border-radius: var(--kt-v5-radius-lg) var(--kt-v5-radius-lg) 0 0;
  box-shadow: var(--kt-v5-shadow-lg);
  overflow: hidden;

  /* Hidden state — pointer-events:none is CRITICAL so the invisible
     panel does not block page scrolling and clicks beneath it */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.97);
  transform-origin: bottom right;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

/* Open state — class added by JS */
.v5-chat-panel--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Mobile panel — wider and taller */
@media (max-width: 767px) {
  .v5-chat-panel {
    bottom: calc(68px + env(safe-area-inset-bottom) + 74px);
    right: 16px;
    left: 16px;
    width: auto;
    height: 70vh;
    max-height: 520px;
  }
}

/* ── Chat panel header ─────────────────────────────────────── */
.v5-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--kt-v5-chat-header-bg);
  border-bottom: 1px solid var(--kt-v5-gold-border);
  flex-shrink: 0;
}

.v5-chat-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kt-v5-gold-glow);
  border: 2px solid var(--kt-v5-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--kt-v5-gold);
  flex-shrink: 0;
}

.v5-chat-header__info {
  flex: 1;
  min-width: 0;
}

.v5-chat-header__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--kt-v5-gold);
  margin-bottom: 1px;
}

.v5-chat-header__status {
  font-size: 11px;
  color: var(--kt-v5-timer-label);
  display: flex;
  align-items: center;
  gap: 5px;
}

.v5-chat-header__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

/* Context badge: Guest / Buyer / Seller */
.v5-chat-context-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--kt-v5-radius-full);
  background: var(--kt-v5-gold-glow);
  color: var(--kt-v5-gold);
  border: 1px solid var(--kt-v5-gold-border);
  white-space: nowrap;
}

.v5-chat-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--kt-v5-timer-label);
  font-size: 18px;
  padding: 4px;
  border-radius: var(--kt-v5-radius);
  transition: color var(--kt-v5-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v5-chat-close-btn:hover {
  color: var(--kt-v5-white);
}

.v5-chat-close-btn:focus-visible {
  outline: 2px solid var(--kt-v5-gold);
}

/* ── Messages area ─────────────────────────────────────────── */
.v5-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--kt-v5-border) transparent;
}

.v5-chat-messages::-webkit-scrollbar {
  width: 4px;
}

.v5-chat-messages::-webkit-scrollbar-thumb {
  background: var(--kt-v5-border);
  border-radius: 2px;
}

/* Individual message bubble */
.v5-chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
}

/* Bot message — left aligned */
.v5-chat-bubble--bot {
  background: var(--kt-v5-chat-bubble-bot);
  color: var(--kt-v5-chat-text-bot);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

[data-theme="dark"] .v5-chat-bubble--bot {
  background: var(--kt-v5-surface);
  color: var(--kt-v5-text-body);
}

/* User message — right aligned */
.v5-chat-bubble--user {
  background: var(--kt-v5-chat-bubble-user);
  color: var(--kt-v5-chat-text-user);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Timestamp under messages */
.v5-chat-timestamp {
  font-size: 10px;
  color: var(--kt-v5-text-faint);
  align-self: center;
  margin: 4px 0;
}

/* ── Typing indicator ──────────────────────────────────────── */
.v5-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: var(--kt-v5-chat-bubble-bot);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}

[data-theme="dark"] .v5-typing-indicator {
  background: var(--kt-v5-surface);
}

.v5-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kt-v5-gold);
  animation: v5-typing-bounce 1.2s ease-in-out infinite;
}

.v5-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.v5-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes v5-typing-bounce {
  0%, 60%, 100% { transform: translateY(0);    opacity: 0.40; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* ── Quick reply chips ─────────────────────────────────────── */
.v5-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}

.v5-quick-reply {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--kt-v5-radius-full);
  background: var(--kt-v5-gold-light);
  border: 1px solid var(--kt-v5-gold-border);
  color: var(--kt-v5-navy);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--kt-v5-transition);
  font-family: inherit;
}

[data-theme="dark"] .v5-quick-reply {
  background: var(--kt-v5-gold-glow);
  color: var(--kt-v5-gold);
}

.v5-quick-reply:hover {
  background: var(--kt-v5-gold);
  color: var(--kt-v5-navy-darkest);
  border-color: var(--kt-v5-gold);
}

.v5-quick-reply:focus-visible {
  outline: 2px solid var(--kt-v5-gold);
  outline-offset: 2px;
}

/* ── Message input area ────────────────────────────────────── */
.v5-chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--kt-v5-border);
  background: var(--kt-v5-bg-raised);
  flex-shrink: 0;
}

.v5-chat-input {
  flex: 1;
  border: 1.5px solid var(--kt-v5-border);
  border-radius: var(--kt-v5-radius-lg);
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  background: var(--kt-v5-chat-input-bg);
  color: var(--kt-v5-text-heading);
  resize: none;
  min-height: 42px;
  max-height: 100px;
  outline: none;
  transition: border-color var(--kt-v5-transition),
              box-shadow var(--kt-v5-transition);
  line-height: 1.5;
}

.v5-chat-input::placeholder {
  color: var(--kt-v5-text-faint);
}

.v5-chat-input:focus {
  border-color: var(--kt-v5-gold);
  box-shadow: 0 0 0 3px var(--kt-v5-gold-glow);
}

.v5-chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--kt-v5-navy);
  border: 2px solid var(--kt-v5-gold-border);
  color: var(--kt-v5-gold);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--kt-v5-transition);
}

.v5-chat-send-btn:hover {
  background: var(--kt-v5-gold);
  color: var(--kt-v5-navy-darkest);
  border-color: var(--kt-v5-gold);
}

.v5-chat-send-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.v5-chat-send-btn:focus-visible {
  outline: 2px solid var(--kt-v5-gold);
  outline-offset: 2px;
}

/* ── Ticket form ───────────────────────────────────────────── */
.v5-ticket-form {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v5-ticket-form__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--kt-v5-text-heading);
  margin-bottom: 4px;
}

.v5-ticket-form__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-v5-text-muted);
  display: block;
  margin-bottom: 5px;
}

.v5-ticket-form__select,
.v5-ticket-form__input,
.v5-ticket-form__textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--kt-v5-border);
  border-radius: var(--kt-v5-radius);
  font-size: 13px;
  font-family: inherit;
  background: var(--kt-v5-chat-input-bg);
  color: var(--kt-v5-text-heading);
  outline: none;
  transition: border-color var(--kt-v5-transition);
}

.v5-ticket-form__select:focus,
.v5-ticket-form__input:focus,
.v5-ticket-form__textarea:focus {
  border-color: var(--kt-v5-gold);
  box-shadow: 0 0 0 3px var(--kt-v5-gold-glow);
}

.v5-ticket-form__textarea {
  resize: vertical;
  min-height: 80px;
}

/* Ticket confirmation */
.v5-ticket-confirm {
  padding: 20px 16px;
  text-align: center;
}

.v5-ticket-confirm__icon {
  font-size: 36px;
  color: var(--kt-v5-gold);
  display: block;
  margin-bottom: 10px;
}

.v5-ticket-confirm__ref {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--kt-v5-gold);
  background: var(--kt-v5-gold-light);
  border: 1.5px dashed var(--kt-v5-gold-border);
  border-radius: var(--kt-v5-radius);
  padding: 8px 20px;
  letter-spacing: 0.06em;
  margin: 10px 0;
}

[data-theme="dark"] .v5-ticket-confirm__ref {
  background: var(--kt-v5-gold-glow);
}

/* ── Message count warning ─────────────────────────────────── */
.v5-chat-limit-warning {
  font-size: 11px;
  color: var(--kt-v5-text-muted);
  text-align: center;
  padding: 4px 16px;
  flex-shrink: 0;
}

/* ── Reduced motion ───────────────────────────────────────────*/
@media (prefers-reduced-motion: reduce) {
  .v5-chat-fab__dot { animation: none; }
  .v5-typing-dot    { animation: none; opacity: 1; }
  .v5-chat-panel {
    transition: opacity 0.01ms, visibility 0.01ms;
  }
  .v5-chat-fab      { transition: none; }
}

/* ── V5 Phase 4: Homepage First-Visit Experience ─────────────
   Location: End of V5 block in style.css — after Phase 3 rules
   Covers: welcome overlay, category quick-entry grid,
           returning user greeting, lazy loading helpers.
   All colours use --kt-v5-* tokens. Zero hardcoded hex.
   Loads on index.html only (via js/v5-homepage.js).
   ─────────────────────────────────────────────────────────── */

/* ── Welcome overlay ──────────────────────────────────────── */
.v5-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;

  /* Backdrop */
  background: rgba(10, 22, 40, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  /* Animate in */
  opacity: 0;
  animation: v5-overlay-in 0.45s ease 0.20s forwards;
}

@keyframes v5-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Dismiss animation — class added by JS */
.v5-welcome-overlay--out {
  animation: v5-overlay-out 0.35s ease forwards;
}

@keyframes v5-overlay-out {
  from { opacity: 1; }
  to   { opacity: 0; pointer-events: none; }
}

/* Welcome card */
.v5-welcome-card {
  background: var(--kt-v5-bg-raised);
  border: 1px solid var(--kt-v5-gold-border);
  border-top: 3px solid var(--kt-v5-gold);
  border-radius: var(--kt-v5-radius-xl);
  padding: 40px 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--kt-v5-shadow-lg);

  /* Card entrance */
  transform: translateY(20px) scale(0.97);
  animation: v5-card-in 0.45s ease 0.25s both;
}

@keyframes v5-card-in {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* Gold logo mark at top of card */
.v5-welcome-card__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--kt-v5-navy);
  border: 2px solid var(--kt-v5-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--kt-v5-gold);
}

.v5-welcome-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--kt-v5-gold);
  margin-bottom: 10px;
}

.v5-welcome-card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--kt-v5-text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
  text-wrap: balance;
}

.v5-welcome-card__sub {
  font-size: 14px;
  color: var(--kt-v5-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Trust micro-points */
.v5-welcome-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.v5-welcome-trust__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-v5-text-body);
}

.v5-welcome-trust__item i {
  color: var(--kt-v5-gold);
  font-size: 14px;
}

/* Primary CTA */
.v5-welcome-cta {
  width: 100%;
  justify-content: center;
  padding: 14px 0;
  font-size: 15px;
  margin-bottom: 12px;
}

/* Skip link */
.v5-welcome-skip {
  font-size: 12px;
  color: var(--kt-v5-text-faint);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--kt-v5-transition);
}

.v5-welcome-skip:hover {
  color: var(--kt-v5-text-muted);
}

/* Auto-dismiss progress bar */
.v5-welcome-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--kt-v5-gold);
  border-radius: 0 0 0 var(--kt-v5-radius-xl);
  width: 100%;
  transform-origin: left;
  animation: v5-progress-shrink 5s linear 0.65s forwards;
}

@keyframes v5-progress-shrink {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* ── Category quick-entry grid ────────────────────────────── */
.v5-category-section {
  padding: 40px 0 32px;
  background: var(--kt-v5-bg);
}
.v5-category-section .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-left: -8px;
}
.v5-category-section .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 8px;
  padding-left: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}
@media (min-width: 576px) {
  .v5-category-section .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}
@media (min-width: 768px) {
  .v5-category-section .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (min-width: 992px) {
  .v5-category-section .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}


.v5-category-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.v5-category-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--kt-v5-text-heading);
  margin: 0;
}

.v5-category-section__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--kt-v5-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--kt-v5-transition);
}

.v5-category-section__link:hover {
  gap: 9px;
}

/* Individual category tile */
.v5-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 8px;
  text-decoration: none;
  border-radius: var(--kt-v5-radius-lg);
  border: 1px solid var(--kt-v5-border);
  background: var(--kt-v5-bg-raised);
  transition: all var(--kt-v5-transition);
  cursor: pointer;
  text-align: center;
}

.v5-cat-tile:hover {
  border-color: var(--kt-v5-gold-strong);
  background: var(--kt-v5-gold-light);
  transform: translateY(-3px);
  box-shadow: var(--kt-v5-shadow-md);
}

[data-theme="dark"] .v5-cat-tile:hover {
  background: var(--kt-v5-gold-glow);
  border-color: var(--kt-v5-gold-border);
}

.v5-cat-tile:focus-visible {
  outline: 2px solid var(--kt-v5-gold);
  outline-offset: 2px;
}

/* Icon circle */
.v5-cat-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--kt-v5-navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--kt-v5-navy);
  transition: all var(--kt-v5-transition);
  flex-shrink: 0;
}

[data-theme="dark"] .v5-cat-tile__icon {
  background: var(--kt-v5-surface);
  color: var(--kt-v5-gold);
}

.v5-cat-tile:hover .v5-cat-tile__icon {
  background: var(--kt-v5-gold);
  color: var(--kt-v5-navy-darkest);
}

[data-theme="dark"] .v5-cat-tile:hover .v5-cat-tile__icon {
  background: var(--kt-v5-gold);
  color: var(--kt-v5-navy-darkest);
}

/* Category name */
.v5-cat-tile__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-v5-text-heading);
  line-height: 1.3;
  transition: color var(--kt-v5-transition);
}

.v5-cat-tile:hover .v5-cat-tile__name {
  color: var(--kt-v5-navy);
}

[data-theme="dark"] .v5-cat-tile:hover .v5-cat-tile__name {
  color: var(--kt-v5-gold);
}

/* Product count under category name */
.v5-cat-tile__count {
  font-size: 10px;
  color: var(--kt-v5-text-faint);
  margin-top: -4px;
}

/* ── Returning user greeting ───────────────────────────────── */
.v5-greeting-bar {
  padding: 14px 0;
  background: linear-gradient(
    135deg,
    var(--kt-v5-navy) 0%,
    var(--kt-v5-navy-dark) 100%
  );
  border-bottom: 1px solid var(--kt-v5-gold-border);
}

.v5-greeting-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.v5-greeting-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v5-greeting-bar__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--kt-v5-gold-glow);
  border: 2px solid var(--kt-v5-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--kt-v5-gold);
  flex-shrink: 0;
}

.v5-greeting-bar__text {
  font-size: 14px;
  color: var(--kt-v5-white);
  font-weight: 500;
}

.v5-greeting-bar__text span {
  color: var(--kt-v5-gold);
  font-weight: 700;
}

.v5-greeting-bar__actions {
  display: flex;
  gap: 8px;
}

/* ── Lazy loading image helper ────────────────────────────── */
/* Images that have not yet loaded get a shimmer placeholder */
img[loading="lazy"]:not([src]) {
  background: linear-gradient(
    90deg,
    var(--kt-v5-surface)     25%,
    var(--kt-v5-surface-alt) 50%,
    var(--kt-v5-surface)     75%
  );
  background-size: 400px 100%;
  animation: v5-img-shimmer 1.4s linear infinite;
}

@keyframes v5-img-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .v5-welcome-overlay,
  .v5-welcome-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .v5-welcome-progress {
    animation: none;
    display: none;
  }
  .v5-cat-tile:hover {
    transform: none;
  }
}

/* Restores default block layout for body on all standard showroom pages,
   leaving dashboard layouts unaffected. Prevents flex column from shrink-wrapping
   content and causing horizontal overflow/cut-off footers on mobile. */
body:not([data-page="seller-dashboard"]):not([data-page="buyer-dashboard"]):not([data-page="admin"]) {
  display: block;
  background: var(--kt-v5-bg);
  color: var(--kt-v5-text-body);
  overflow-x: hidden;
}
html {
  overflow-x: hidden;
}

/* ── Dark Mode Audit Enhancements ── */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
  background: var(--input-bg, rgba(255,255,255,0.05));
  color: var(--color-text, #f8fafc);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition, all 0.2s);
}
.newsletter-form input:focus {
  border-color: var(--accent-light-blue, #60a5fa);
  box-shadow: 0 0 8px var(--accent-blue-glow, rgba(96,165,250,0.3));
}
[data-theme="light"] .newsletter-form input {
  background: rgba(0,0,0,0.02);
  color: #0f172a;
}
[data-theme="dark"] .card-heart-btn {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .card-heart-btn:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: var(--accent-red, #ef4444);
}
[data-theme="dark"] .card-heart-icon {
  color: #cbd5e1;
}
#priceFilter {
  background: transparent !important;
}

/* ── Mobile Touch Target Upgrades (min 44px) ── */
@media (max-width: 768px) {
  .social-link {
    width: 44px !important;
    height: 44px !important;
  }
  .v4-exit-modal__close {
    width: 44px !important;
    height: 44px !important;
  }
  .v5-chat-close-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
  }
  .v5-chat-send-btn {
    height: 44px !important;
  }
  .flash-card button, .flash-card a.btn {
    min-width: 110px !important;
  }
}

/* ════════════════════════════════════════════════════════════
   V6 PHASE 3 — Orders, Order Cards, Track Timeline
   Location: End of style.css (appended after V5 block)
   Covers: buyer order cards · order status badges ·
           seller notification badge · track-order timeline ·
           empty order state
   All tokens: var(--kt-v5-*) for full dark/light support.
   ════════════════════════════════════════════════════════════ */

/* ── Order cards (buyer dashboard) ──────────────────────── */
.v6-order-card {
  background: var(--kt-v5-bg-raised);
  border: 1px solid var(--kt-v5-border);
  border-radius: var(--kt-v5-radius-lg);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: box-shadow var(--kt-v5-transition);
}
.v6-order-card:hover {
  box-shadow: var(--kt-v5-shadow-md);
}
.v6-order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.v6-order-ref {
  font-size: 13px;
  font-weight: 700;
  color: var(--kt-v5-gold);
  font-family: monospace;
  letter-spacing: 0.04em;
}
.v6-order-card__body {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.v6-order-date,
.v6-order-items {
  font-size: 12px;
  color: var(--kt-v5-text-muted);
}
.v6-order-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--kt-v5-price, var(--kt-v5-gold));
  margin-left: auto;
}
.v6-order-card__footer {
  display: flex;
  justify-content: flex-end;
}

/* ── Order status badges ─────────────────────────────────── */
.v6-order-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--kt-v5-radius-full);
  text-transform: capitalize;
}
.v6-status--pending {
  background: var(--kt-v5-gold-light, rgba(201,168,76,0.15));
  color: var(--kt-v5-gold-dark, #A87C22);
}
.v6-status--paid {
  background: #DCFCE7;
  color: #14532D;
}
.v6-status--shipped {
  background: var(--kt-v5-navy-pale, rgba(10,35,66,0.1));
  color: var(--kt-v5-navy, #0A2342);
}
.v6-status--delivered {
  background: #DCFCE7;
  color: #14532D;
  font-weight: 700;
}
.v6-status--cancelled {
  background: #FEE2E2;
  color: #991B1B;
}
[data-theme="dark"] .v6-status--paid,
[data-theme="dark"] .v6-status--delivered {
  background: rgba(20,83,45,0.25);
  color: #86EFAC;
}
[data-theme="dark"] .v6-status--shipped {
  background: var(--kt-v5-surface);
  color: var(--kt-v5-gold);
}
[data-theme="dark"] .v6-status--cancelled {
  background: rgba(153,27,27,0.25);
  color: #FCA5A5;
}

/* ── Empty orders state ──────────────────────────────────── */
.v6-empty-orders {
  text-align: center;
  padding: 48px 20px;
  color: var(--kt-v5-text-muted);
}
.v6-empty-orders i {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.4;
}
.v6-empty-orders p {
  margin-bottom: 20px;
  font-size: 15px;
}

/* ── Seller new-order notification badge ─────────────────── */
.v6-new-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--kt-v5-gold, #C9A84C);
  color: var(--kt-v5-navy-darkest, #020617);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--kt-v5-radius-full);
  margin-bottom: 12px;
  animation: v6-badge-pulse 1.5s ease-in-out infinite;
}
@keyframes v6-badge-pulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%       { opacity: 0.80; transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .v6-new-order-badge { animation: none; }
}

/* ── Track order timeline ────────────────────────────────── */
.v6-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--kt-v5-border);
}
.v6-track-ref {
  font-size: 16px;
  font-weight: 700;
  color: var(--kt-v5-gold);
  font-family: monospace;
  letter-spacing: 0.04em;
}
.v6-track-date {
  font-size: 13px;
  color: var(--kt-v5-text-muted);
}
.v6-track-steps {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.v6-track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 80px;
}
.v6-track-step__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--kt-v5-surface);
  border: 2px solid var(--kt-v5-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--kt-v5-text-muted);
  transition: all var(--kt-v5-transition);
}
.v6-track-step--done .v6-track-step__dot {
  background: var(--kt-v5-gold);
  border-color: var(--kt-v5-gold);
  color: var(--kt-v5-navy-darkest, #020617);
}
.v6-track-step--active .v6-track-step__dot {
  background: var(--kt-v5-navy, #0A2342);
  border-color: var(--kt-v5-gold);
  color: var(--kt-v5-gold);
  box-shadow: 0 0 0 4px var(--kt-v5-gold-glow, rgba(201,168,76,0.2));
}
.v6-track-step__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--kt-v5-text-muted);
  text-align: center;
  line-height: 1.3;
}
.v6-track-step--done .v6-track-step__label {
  color: var(--kt-v5-text-heading);
  font-weight: 600;
}
.v6-track-connector {
  flex: 1;
  height: 2px;
  background: var(--kt-v5-border);
  margin-top: 15px;
  min-width: 24px;
  transition: background var(--kt-v5-transition);
}
.v6-track-connector--done {
  background: var(--kt-v5-gold);
}
.v6-track-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--kt-v5-bg-alt, var(--kt-v5-surface));
  border-radius: var(--kt-v5-radius-lg);
  border: 1px solid var(--kt-v5-border);
}
.v6-track-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--kt-v5-gold);
}
.v6-track-items {
  font-size: 13px;
  color: var(--kt-v5-text-muted);
}

/* ── Seller orders table row ─────────────────────────────── */
.v6-order-row td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--kt-v5-border, rgba(255,255,255,0.06));
  font-size: 13px;
  vertical-align: middle;
}
.v6-order-row:last-child td {
  border-bottom: none;
}

/* ── V3 Personalised Section (Dual Panel) ── */
.v3-dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .v3-dual-panel {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
.v3-panel-buyers, .v3-panel-sellers {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.v3-panel-buyers:hover, .v3-panel-sellers:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.v3-panel-buyers h2, .v3-panel-sellers h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}
.v3-panel-buyers p, .v3-panel-sellers p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 320px;
  line-height: 1.5;
}
.v3-panel-buyers .btn, .v3-panel-sellers .btn {
  padding: 10px 24px;
  font-weight: 600;
  border-radius: var(--radius-md);
}

/* ── V3 Social Proof Section (Stats) ── */
.v3-social-proof {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-top: 40px;
  margin-bottom: 40px;
}
.v3-social-proof__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  text-align: center;
}
.v3-social-proof__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.v3-social-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 992px) {
  .v3-social-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .v3-social-proof__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
.v3-stat {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.v3-stat:hover {
  transform: translateY(-2px);
}
.v3-stat__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.1;
  font-family: var(--v3-font-sans);
}
.v3-stat__label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===================================================================
   V6 FOOTER — Premium Showroom Design
   =================================================================== */
.v6-footer {
  background: #020617;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 14px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .v6-footer {
  background: #f8fafc;
  color: #475569;
  border-top-color: #e2e8f0;
}

/* 1. Trust & Value Badges Bar */
.footer-trust-bar {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
}

[data-theme="light"] .footer-trust-bar {
  background: #ffffff;
  border-bottom-color: #e2e8f0;
}

.footer-trust-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-badge-icon {
  font-size: 28px;
  color: var(--kt-v5-gold, #C9A84C);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-text h5 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
}

[data-theme="light"] .trust-badge-text h5 {
  color: #0f172a;
}

.trust-badge-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

[data-theme="light"] .trust-badge-text p {
  color: #64748b;
}

/* 2. Main Footer Links Area */
.footer-main-area {
  padding: 60px 0 40px 0;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.8fr;
  gap: 40px;
}

@media (max-width: 991px) {
  .footer-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .footer-content-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

[data-theme="light"] .footer-brand-logo {
  color: #0f172a;
}

.footer-brand-accent {
  color: var(--kt-v5-gold, #C9A84C);
}

.footer-tagline {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  max-width: 320px;
}

[data-theme="light"] .footer-tagline {
  color: #475569;
}

.footer-contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer-contact-details p i {
  color: var(--kt-v5-gold, #C9A84C);
}

[data-theme="light"] .footer-contact-details p {
  color: #475569;
}

.footer-col-links h4,
.footer-col-newsletter h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 20px;
}

[data-theme="light"] .footer-col-links h4,
[data-theme="light"] .footer-col-newsletter h4 {
  color: #0f172a;
}

.footer-col-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-links li {
  margin-bottom: 10px;
}

.footer-col-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

[data-theme="light"] .footer-col-links a {
  color: #475569;
}

.footer-col-links a:hover {
  color: var(--kt-v5-gold, #C9A84C);
  padding-left: 5px;
}

/* Newsletter Col */
.footer-newsletter-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
}

[data-theme="light"] .footer-newsletter-desc {
  color: #475569;
}

.newsletter-input-group {
  display: flex;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

[data-theme="light"] .newsletter-input-group {
  border-color: #cbd5e1;
  background: #ffffff;
}

.newsletter-input-group:focus-within {
  border-color: var(--kt-v5-gold, #C9A84C);
}

#footerEmail {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #ffffff;
}

[data-theme="light"] #footerEmail {
  color: #0f172a;
}

.newsletter-submit-btn {
  background: var(--kt-v5-gold, #C9A84C);
  border: none;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  cursor: pointer;
  transition: all 0.2s ease;
}

.newsletter-submit-btn:hover {
  background: var(--kt-v5-gold-dark, #C9A84C);
}

/* 3. Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .footer-bottom-bar {
  border-top-color: #e2e8f0;
  background: #f1f5f9;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copy-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

[data-theme="light"] .footer-copy-text {
  color: #64748b;
}

.footer-payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-payment-methods .payment-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .footer-payment-methods .payment-title {
  color: #64748b;
}

.payment-badges-grid {
  display: flex;
  gap: 6px;
}

.payment-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-paystack {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-visa {
  background: rgba(30, 64, 175, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(30, 64, 175, 0.25);
}

.badge-mastercard {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-verve {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.social-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .social-icon-circle {
  border-color: #cbd5e1;
  color: #475569;
  background: #ffffff;
}

.social-icon-circle:hover {
  border-color: var(--kt-v5-gold, #C9A84C);
  color: var(--kt-v5-gold, #C9A84C);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(201, 168, 76, 0.15);
}

/* Bulletproof empty-state and wishlist card heart icon svg sizes */
.empty-state i,
.empty-state svg,
.empty-state .lucide {
    width: 64px !important;
    height: 64px !important;
    color: var(--text-muted, #64748b) !important;
    margin-bottom: 1.5rem !important;
    display: inline-block !important;
}

.card-heart-btn svg,
.card-heart-btn .lucide,
.card-heart-btn i {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
}





/* ══════════════════════════════════════════════════════════
   V6 — Deals of the Day Strip
   ══════════════════════════════════════════════════════════
   RULES:
   - All tokens use --kt-v5-* to stay consistent with the
     established design system.
   - No hardcoded colours outside of this block.
   - The bar sits immediately below the fixed V5 header.
   - Fully responsive: horizontal scroll on mobile,
     arrow buttons + grid on desktop.
   ══════════════════════════════════════════════════════════ */

/* ── Header button overflow fix ──────────────────────────
   Prevents action buttons from exceeding header bounds
   on narrow viewports (≤ 768px)
   ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .v5-header-actions {
    gap: 0;
    flex-wrap: nowrap;
    overflow: visible;
  }
  .v5-action-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
    flex-shrink: 0;
  }
  .v5-theme-toggle {
    width: 34px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .v5-action-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .v5-theme-toggle {
    display: none; /* Hide theme toggle on mobile screens to prevent overflow */
  }
}

/* ========================================================= */
/* V10 ELITE DAILY DEALS (REWRITTEN)                         */
/* ========================================================= */

#v6-deals-bar-mount {
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--kt-v5-bg);
}

.v6-deals-bar {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--kt-v5-bg);
}

.elite-deals-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(90deg, #111, #222);
  border-bottom: 2px solid var(--kt-v5-gold, #c9a84c);
}

.elite-deals-title {
  color: var(--kt-v5-gold, #c9a84c);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.elite-deals-title i {
  color: #ef4444;
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  from { filter: drop-shadow(0 0 2px #ef4444); }
  to { filter: drop-shadow(0 0 8px #ef4444); }
}

.elite-timer {
  font-family: 'Courier New', Courier, monospace; /* Digital Cyber-Font */
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  background: rgba(201, 168, 76, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--kt-v5-gold, #c9a84c);
  letter-spacing: 2px;
  text-shadow: 0 0 5px var(--kt-v5-gold, #c9a84c);
}

.elite-deals-track-wrap {
  position: relative;
  width: 100%;
  background: var(--kt-v5-bg);
  padding: 10px 0;
}

[data-theme="dark"] .elite-deals-track-wrap {
  background: var(--kt-v5-bg);
}

.elite-deals-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 10px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.elite-deals-track::-webkit-scrollbar {
  display: none;
}

.elite-deal-card {
  scroll-snap-align: start;
  flex: 0 0 240px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .elite-deal-card {
  background: #162035;
  border-color: rgba(201, 168, 76, 0.5);
}

.elite-deal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
  border-color: var(--kt-v5-gold, #c9a84c);
}

.elite-deal-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.elite-deal-img-wrap {
  width: 100%;
  height: 180px;
  position: relative;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

[data-theme="dark"] .elite-deal-img-wrap {
  background: #0a111a;
}

.elite-deal-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.elite-deal-card:hover .elite-deal-img {
  transform: scale(1.05);
}

.elite-save-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e11d48;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(225, 29, 72, 0.4);
}

.elite-deal-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.elite-deal-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px 0;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

[data-theme="dark"] .elite-deal-name {
  color: #e2e8f0;
}

.elite-deal-prices {
  margin-top: auto;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.elite-deal-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--kt-v5-gold, #c9a84c);
}

.elite-deal-old {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: #94a3b8;
}

.elite-scarcity {
  margin-top: auto;
}

.elite-scarcity-text {
  font-size: 0.75rem;
  color: #e11d48;
  font-weight: bold;
  margin-bottom: 4px;
}

.elite-scarcity-bar {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

[data-theme="dark"] .elite-scarcity-bar {
  background: #334155;
}

.elite-scarcity-fill {
  height: 100%;
  background: linear-gradient(90deg, #f43f5e, #e11d48);
  border-radius: 2px;
}

.elite-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--kt-v5-gold, #c9a84c);
  color: var(--kt-v5-gold, #c9a84c);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

[data-theme="dark"] .elite-arrow {
  background: #1e293b;
}

.elite-arrow:hover {
  background: var(--kt-v5-gold, #c9a84c);
  color: #fff;
}

.elite-arrow--prev {
  left: 10px;
}

.elite-arrow--next {
  right: 10px;
}

@media (max-width: 600px) {
  .elite-deals-title-wrap {
    flex-direction: column;
    gap: 8px;
  }
  .elite-deal-card {
    flex: 0 0 180px;
  }
  .elite-deal-img-wrap {
    height: 140px;
  }
  .elite-deal-price {
    font-size: 1rem;
  }
}



/* ───────────────────────────────────────────────────────────────
   CSS Container Queries (V6 Phase 8 — Visual Optimizations)
   ─────────────────────────────────────────────────────────────── */
@supports (container-type: inline-size) {
  .catalog-grid {
    container-type: inline-size;
  }
  
  @container (max-width: 250px) {
    .product-card {
      border-radius: 8px !important;
    }
    .product-card .card-info, 
    .product-card .product-card-info,
    .product-card .p-3 {
      padding: 0.6rem !important;
    }
    .product-card h3,
    .product-card .product-title,
    .product-card .card-title {
      font-size: 0.85rem !important;
      margin-bottom: 0.3rem !important;
      line-height: 1.2 !important;
    }
    .product-card .product-price,
    .product-card .price,
    .product-card .fw-bold {
      font-size: 0.9rem !important;
    }
    .product-card .btn-outline,
    .product-card .btn {
      font-size: 0.75rem !important;
      padding: 0.5rem 0.4rem !important;
    }
  }
}

/* ── V7: Native camera action sheet ──────────────────── */
.v7-camera-sheet {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.v7-camera-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.70);
}

.v7-camera-sheet__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--kt-v5-bg-raised, #101625);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  border-top: 2px solid var(--kt-v5-gold-border, rgba(201,168,76,0.3));
}

.v7-camera-sheet__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--kt-v5-text-heading, #ffffff);
  text-align: center;
  margin-bottom: 16px;
}

.v7-camera-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--kt-v5-surface, #1e293b);
  border: 1px solid var(--kt-v5-border, #334155);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--kt-v5-text-heading, #ffffff);
  cursor: pointer;
  margin-bottom: 10px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.v7-camera-option i {
  font-size: 22px;
  color: var(--kt-v5-gold, #c9a84c);
}

.v7-camera-option:hover {
  background: var(--kt-v5-gold-light, rgba(201,168,76,0.1));
  border-color: var(--kt-v5-gold-border, #c9a84c);
}

.v7-camera-cancel {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--kt-v5-text-muted, #94a3b8);
  cursor: pointer;
  font-family: inherit;
}

/* ── V7: Biometric settings styling ─────────────────── */
.v7-biometric-card {
  background: rgba(27, 58, 107, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
}

.v7-biometric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v7-biometric-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v7-biometric-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color, #ffffff);
}

.v7-biometric-desc {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
}

.v7-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.v7-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.v7-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255,255,255,0.1);
  transition: .3s;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.v7-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 50%;
}

.v7-switch input:checked + .v7-slider {
  background-color: var(--kt-v5-gold, #c9a84c);
  border-color: var(--kt-v5-gold-border, #c9a84c);
}

.v7-switch input:checked + .v7-slider:before {
  transform: translateX(22px);
  background-color: #0b1628;
}


/* ========================================================= */
/* V10 PREMIUM LOGIN / AUTH STYLING                          */
/* ========================================================= */

.auth-section {
  min-height: calc(100vh - var(--kt-v5-header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .auth-section {
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

.auth-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

[data-theme="dark"] .auth-section::before {
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.auth-section .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

[data-theme="dark"] .auth-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0,0,0,0.2);
}

.auth-card:hover {
  transform: translateY(-2px);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.auth-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .auth-header h1 {
  color: #f8fafc;
}

.auth-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

[data-theme="dark"] .auth-subtitle {
  color: #94a3b8;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

[data-theme="dark"] .form-group label {
  color: #cbd5e1;
}

.form-group input:not([type="checkbox"]) {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  color: #0f172a;
  transition: all 0.2s ease;
}

[data-theme="dark"] .form-group input:not([type="checkbox"]) {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.form-group input:focus {
  outline: none;
  border-color: var(--kt-v5-gold, #c9a84c);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  background: #fff;
}

[data-theme="dark"] .form-group input:focus {
  background: #0f172a;
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  padding-right: 45px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: var(--kt-v5-gold, #c9a84c);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #475569;
  font-weight: 500;
}

[data-theme="dark"] .checkbox-label {
  color: #cbd5e1;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--kt-v5-gold, #c9a84c);
  cursor: pointer;
}

.forgot-link {
  color: var(--kt-v5-gold, #c9a84c);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: #a07830;
  text-decoration: underline;
}

.btn-accent {
  background: linear-gradient(135deg, var(--kt-v5-gold, #c9a84c) 0%, #a07830 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 168, 76, 0.4);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after {
  border-bottom-color: #334155;
}

.auth-divider span {
  padding: 0 10px;
}

.btn-google {
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="dark"] .btn-google {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

[data-theme="dark"] .btn-google:hover {
  background: #334155;
  border-color: #475569;
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0;
}

[data-theme="dark"] .auth-switch {
  color: #cbd5e1;
}

.auth-switch a {
  color: var(--kt-v5-gold, #c9a84c);
  font-weight: 700;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.auth-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 30px 20px;
    border-radius: 16px;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   PHASE 3 — PRODUCTION POLISH
   Added: Skeleton Loaders · Safe-Area Nav · Confirmation Modal
   ════════════════════════════════════════════════════════════════════════════ */

/* ── P3.3: Skeleton Loading Shimmer ──────────────────────────────────────── */
@keyframes kt-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.kt-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 600px 100%;
  animation: kt-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
  display: block;
}

/* Product card skeleton */
.kt-skeleton-card {
  background: var(--bg-card, #1a1a2e);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.kt-skeleton-card .kt-skeleton-img {
  height: 200px;
  width: 100%;
  border-radius: 0;
}
.kt-skeleton-card .kt-skeleton-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kt-skeleton-card .kt-skeleton-title  { height: 18px; width: 80%; }
.kt-skeleton-card .kt-skeleton-sub    { height: 13px; width: 55%; }
.kt-skeleton-card .kt-skeleton-price  { height: 22px; width: 40%; margin-top: 6px; }
.kt-skeleton-card .kt-skeleton-btn    { height: 38px; width: 100%; border-radius: 10px; margin-top: 4px; }

/* Order row skeleton */
.kt-skeleton-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 100px 80px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.kt-skeleton-row .kt-skeleton-thumb { height: 48px; width: 48px; border-radius: 10px; }
.kt-skeleton-row .kt-skeleton-line  { height: 14px; }
.kt-skeleton-row .kt-skeleton-line.short { width: 60%; }
.kt-skeleton-row .kt-skeleton-badge { height: 24px; width: 70px; border-radius: 20px; }

/* Helper: generate n skeleton cards via JS */
.kt-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ── P3.4: Safe-Area Padding (Mobile Bottom Nav) ─────────────────────────── */
/* Ensures page content is never hidden behind the bottom navigation bar
   on iOS (home indicator) and Android (gesture bar). */
body {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Pages with persistent bottom nav need extra clearance */
.kt-page-with-bottom-nav,
.buyer-dashboard-page,
.seller-dashboard-page,
.kt-catalog-page {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
}

/* The bottom nav bar itself sits above the safe area */
.kt-v4-bottom-nav,
[data-component="bottom-nav"],
.mobile-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  bottom: 0;
}

/* ── P3.5: Destructive Action Confirmation Modal ─────────────────────────── */
.kt-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.kt-confirm-overlay.kt-confirm--open {
  opacity: 1;
  visibility: visible;
}

.kt-confirm-modal {
  background: var(--bg-card, #1a1a2e);
  border: 1px solid rgba(255, 80, 80, 0.4);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,80,80,0.15);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s ease;
}
.kt-confirm-overlay.kt-confirm--open .kt-confirm-modal {
  transform: scale(1) translateY(0);
}

.kt-confirm-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 60, 60, 0.15);
  border: 1px solid rgba(255, 60, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
}

.kt-confirm-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  text-align: center;
  margin: 0 0 8px;
}

.kt-confirm-body {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  text-align: center;
  line-height: 1.6;
  margin: 0 0 20px;
}

.kt-confirm-body strong {
  color: var(--accent-red, #ff4444);
}

.kt-confirm-input-wrap {
  margin-bottom: 20px;
}
.kt-confirm-input-wrap label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 8px;
  font-weight: 500;
}
.kt-confirm-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text-main, #fff);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.kt-confirm-input:focus {
  border-color: rgba(255, 60, 60, 0.5);
}
.kt-confirm-input.kt-confirm-input--valid {
  border-color: rgba(60, 200, 100, 0.6);
  color: #3cc864;
}

.kt-confirm-actions {
  display: flex;
  gap: 10px;
}
.kt-confirm-cancel-btn {
  flex: 1;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--text-muted, #94a3b8);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.kt-confirm-cancel-btn:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-main, #fff);
}
.kt-confirm-destroy-btn {
  flex: 1.5;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 60, 60, 0.15);
  color: #ff5555;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  opacity: 0.45;
  pointer-events: none;
}
.kt-confirm-destroy-btn.kt-confirm-destroy-btn--ready {
  opacity: 1;
  pointer-events: all;
  background: rgba(255, 60, 60, 0.25);
}
.kt-confirm-destroy-btn.kt-confirm-destroy-btn--ready:hover {
  background: rgba(255, 60, 60, 0.4);
  color: #ff2222;
}
