:root {
    --cream: #f5f0e8;
    --espresso: #1a0f0a;
    --gold: #b8945a;
    --gold-light: #d4ad78;
    --dark: #0d0d0d;
    --dark-surface: #141414;
    --dark-card: #1c1c1c;
    --dark-border: rgba(255,255,255,0.07);
    --text-dim: rgba(255,255,255,0.45);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--cream); color: var(--espresso); font-family: 'Outfit', sans-serif; overflow-x: hidden; }

.product-card.sold-out { opacity: 0.5; pointer-events: none; position: relative; }
.product-card.sold-out::after { content: "REHOMED"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-15deg); border: 1px solid #000; padding: 4px 10px; font-size: 10px; letter-spacing: 2px; background: #fff; }
.new-badge { position: absolute; top: 10px; right: 10px; background: var(--gold); color: white; font-size: 7px; letter-spacing: .3em; text-transform: uppercase; padding: 5px 10px; z-index: 10; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* Pending badge for seller view */
.pending-badge { position: absolute; top: 10px; left: 10px; background: rgba(255,180,0,0.9); color: #000; font-size: 7px; letter-spacing: .25em; text-transform: uppercase; padding: 5px 10px; z-index: 10; }
.seller-tag { position: absolute; bottom: 10px; left: 10px; background: rgba(13,13,13,0.8); color: rgba(255,255,255,0.7); font-size: 7px; letter-spacing: .2em; text-transform: uppercase; padding: 4px 8px; backdrop-filter: blur(4px); z-index: 10; }

#navbar a:hover .logo-symbol { transform: rotate(15deg); transition: transform 0.4s ease; }

@media (pointer: fine) and (min-width: 769px) { 
    body { cursor: none; } 
    #cursor, #cursor-ring { display: block; } 
}
@media (pointer: coarse) { 
    body { cursor: auto; } 
    #cursor, #cursor-ring { display: none; } 
}

.boldonse-regular { font-family: "Boldonse", system-ui; font-weight: 400; font-style: normal; }
.serif { font-family: 'Boldonse', system-ui; }

#cursor { width: 12px; height: 12px; background: var(--espresso); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .25s,height .25s,background .25s,opacity .2s; mix-blend-mode: multiply; }
#cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(26,15,10,0.3); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: all .1s ease; }
body.cursor-hover #cursor { width: 28px; height: 28px; background: var(--gold); }
body.cursor-hover #cursor-ring { width: 56px; height: 56px; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold); }

#navbar { position: fixed; top: 0; width: 100%; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; z-index: 500; transition: all .5s ease; }
@media (min-width: 768px) { #navbar { padding: 0 48px; height: 80px; } }
#navbar.scrolled { background: rgba(245,240,232,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(26,15,10,0.08); height: 56px; }
@media (min-width: 768px) { #navbar.scrolled { height: 64px; } }
.nav-link { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .55; transition: opacity .2s; text-decoration: none; color: inherit; }
.nav-link:hover { opacity: 1; }

/* Auth button in nav */
#nav-auth-btn { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; padding: 8px 16px; border: 1px solid rgba(26,15,10,0.2); background: none; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .2s; color: var(--espresso); border-radius: 4px; }
#nav-auth-btn:hover { background: var(--espresso); color: white; }
#nav-auth-btn.logged-in { background: var(--gold); color: white; border-color: var(--gold); }

/* ═══ MOBILE TAB BAR ═══ */
/* ═══ MOBILE TAB BAR ═══ */
.mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-top: 1px solid rgba(26,15,10,0.08);
    z-index: 400;
    padding-bottom: max(0px, env(safe-area-inset-bottom));
    display: flex;
    gap: 0;
}

@media (max-width: 767px) {
    .mobile-tab-bar { display: flex; }
    #shop { padding-bottom: max(120px, calc(120px + env(safe-area-inset-bottom))) !important; }
    body { padding-bottom: 60px; }
}

.tab-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 9px;
    color: rgba(26,15,10,0.35);
    transition: all .2s;
    padding: 8px 0;
    font-family: 'Outfit', sans-serif;
}

.tab-bar-item:hover,
.tab-bar-item.active {
    color: var(--espresso);
}

.tab-bar-item.active {
    color: var(--gold);
}

/* ─── HIDE MOBILE NAV ON DESKTOP ─── */
@media (min-width: 769px) {
    #mobile-nav,
    .mobile-tab-bar,
    .tab-bar,
    .admin-tab-bar {
        display: none !important;
    }
}

/* ─── SHOW MOBILE NAV ON MOBILE ─── */
@media (max-width: 768px) {
    .mobile-tab-bar,
    .tab-bar,
    .admin-tab-bar {
        display: flex !important;
    }
}

/* Base state for tab-bar */
.tab-bar {
    display: none;
}

@media (max-width: 768px) {
    .tab-bar {
        display: flex !important;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .tab-bar {
        display: none !important;
    }
}


/* ─── FILTER SELECT DROPDOWNS ─── */
.filter-select {
    padding: 10px 14px;
    border: 1px solid rgba(26,15,10,0.15);
    background: white;
    color: var(--espresso);
    font-size: 12px;
    font-family: 'Outfit', sans-serif;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
    outline: none;
}

.filter-select:hover {
    border-color: var(--gold);
    background: rgba(184,148,90,0.02);
}

.filter-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,148,90,0.1);
}

.filter-select option {
    background: white;
    color: var(--espresso);
    padding: 8px;
}

/* ─── Pull-to-Refresh ─── */
.pull-refresh-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    opacity: 0;
    transform: translateY(-60px);
    transition: all .3s ease;
    font-size: 13px;
    color: var(--gold);
    pointer-events: none;
}

.pull-refresh-indicator.active {
    opacity: 1;
    transform: translateY(0);
}

#pull-refresh-text {
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ─── Skeleton Loaders ─── */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
}

@media (min-width: 480px) { .skeleton-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (min-width: 768px) { .skeleton-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1200px) { .skeleton-grid { grid-template-columns: repeat(4, 1fr); gap: 48px 32px; } }

.skeleton-card {
    animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton-card::before {
    content: '';
    display: block;
    aspect-ratio: 3 / 4;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-bottom: 14px;
}

.skeleton-card::after {
    content: '';
    display: block;
    height: 60px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Loading Spinner ─── */
.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(26,15,10,0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#mobile-menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; }
@media (min-width: 768px) { #mobile-menu-btn { display: none; } }
.hamburger-line { width: 100%; height: 1px; background: var(--espresso); transition: all .3s; }
#mobile-nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--cream); z-index: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.77,0,.18,1); }
#mobile-nav.open { transform: translateY(0); }
.mobile-nav-link { font-family: 'Boldonse', system-ui; font-size: 40px; font-style: italic; font-weight: 300; text-decoration: none; color: var(--espresso); opacity: .7; transition: opacity .2s; }
.mobile-nav-link:hover { opacity: 1; }
#mobile-nav-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 28px; opacity: .4; cursor: pointer; }

#cart-btn { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(26,15,10,0.15); border-radius: 50%; cursor: pointer; transition: all .2s; flex-shrink: 0; }
#cart-btn:hover { background: var(--espresso); color: white; border-color: var(--espresso); }
/* ─── CART COUNT BADGE ─── */
#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--gold);
    color: white;
    font-size: 9px;
    font-weight: 600;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#cart-count.visible {
    display: flex;
}

#cart-btn {
    position: relative;
}

#cart-count-mobile {
    position: relative;
}


/* ─── HIDE MOBILE NAV ON DESKTOP ─── */
@media (min-width: 769px) {
    #mobile-nav,
    .tab-bar,
    .admin-tab-bar {
        display: none !important;
    }
}

/* ─── SHOW MOBILE NAV ON MOBILE ─── */
@media (max-width: 768px) {
    .tab-bar,
    .admin-tab-bar {
        display: flex !important;
    }
}

/* Mobile tab bar - only show on small screens */
.tab-bar {
    display: none;
}

@media (max-width: 768px) {
    .tab-bar {
        display: flex;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .tab-bar {
        display: none !important;
    }
}

#hero { min-height: 100svh; background: var(--dark); position: relative; overflow: hidden; display: flex; align-items: flex-end; }
#hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.5; transform: scale(1.08); transition: transform 8s ease; }
#hero.loaded #hero-bg { transform: scale(1); }
.hero-grain { position: absolute; inset: 0; z-index: 1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); opacity: 0.4; pointer-events: none; }
#hero-vignette { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(127,92,4,0.95) 0%, rgba(13,13,13,0.3) 50%, transparent 100%); }
.hero-content { position: relative; z-index: 3; padding: 48px 24px 64px; width: 100%; }
@media (min-width: 768px) { .hero-content { padding: 80px 64px; max-width: 900px; } }
.hero-eyebrow { font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero-title { font-family: 'Boldonse', system-ui; font-size: clamp(40px, 8vw, 90px); letter-spacing: -0.02em; color: white; font-style: italic; margin-bottom: 24px; }
.hero-desc { color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 300; max-width: 480px; line-height: 1.8; margin-bottom: 36px; }
@media (min-width: 768px) { .hero-desc { font-size: 14px; margin-bottom: 48px; } }

.btn-primary { display: inline-flex; align-items: center; gap: 12px; background: var(--gold); color: white; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; padding: 14px 24px; border: none; cursor: pointer; transition: all .25s; font-family: 'Outfit', sans-serif; }
@media (min-width: 768px) { .btn-primary { padding: 16px 32px; } }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-outline { display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; padding: 14px 24px; background: transparent; cursor: pointer; transition: all .25s; font-family: 'Outfit', sans-serif; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-outline:active { transform: scale(0.98); }

.marquee-wrap { background: var(--espresso); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-item { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,0.4); white-space: nowrap; font-family: 'Outfit', sans-serif; }
.marquee-dot { color: var(--gold); font-size: 6px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

#shop { padding: 60px 16px; }
@media (min-width: 768px) { #shop { padding: 120px 64px; } }
.section-label { font-size: 10px; letter-spacing: .4em; text-transform: uppercase; opacity: .4; margin-bottom: 12px; }
.section-title { font-family: 'Boldonse', system-ui; font-size: clamp(32px, 5vw, 60px); font-weight: 300; line-height: 1; margin-bottom: 40px; }

.filter-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid rgba(26,15,10,0.08); }
@media (min-width: 768px) { .filter-bar { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 56px; padding-bottom: 24px; } }
.filter-tabs { display: flex; gap: 0; flex-wrap: wrap; }
.filter-tab { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 9px 16px; border: 1px solid transparent; cursor: pointer; background: none; color: inherit; transition: all .2s; opacity: .45; font-family: 'Outfit', sans-serif; }
.filter-tab:hover { opacity: .8; }
.filter-tab.active { opacity: 1; border-color: rgba(26,15,10,0.2); background: white; }
.search-box { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(26,15,10,0.15); padding: 10px 16px; background: white; width: 100%; }
@media (min-width: 768px) { .search-box { width: 280px; } }
.search-box input { border: none; background: none; outline: none; font-size: 12px; font-family: 'Outfit', sans-serif; color: var(--espresso); width: 100%; }
.search-box input::placeholder { opacity: .4; }
.search-icon { opacity: .35; font-size: 14px; }
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pill { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 14px; border: 1px solid rgba(26,15,10,0.15); border-radius: 100px; cursor: pointer; background: none; color: inherit; transition: all .2s; font-family: 'Outfit', sans-serif; }
.cat-pill.active { background: var(--espresso); color: white; border-color: var(--espresso); }

#products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 480px) { #products-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (min-width: 768px) { #products-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1200px) { #products-grid { grid-template-columns: repeat(4, 1fr); gap: 48px 32px; } }

.products-grid-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
}

@media (min-width: 480px) { .products-grid-scroll { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (min-width: 768px) { .products-grid-scroll { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1200px) { .products-grid-scroll { grid-template-columns: repeat(4, 1fr); gap: 48px 32px; } }

.product-card { cursor: pointer; }
.product-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #e8e2d8; margin-bottom: 14px; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.25,.46,.45,.94); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-overlay { position: absolute; inset: 0; background: rgba(13,13,13,0); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; padding: 16px; transition: background .3s; }
.product-card:hover .product-overlay { background: rgba(13,13,13,0.45); }
.overlay-btn { width: 100%; padding: 10px; font-size: 9px; letter-spacing: .25em; text-transform: uppercase; font-family: 'Outfit', sans-serif; cursor: pointer; border: none; transform: translateY(16px); opacity: 0; transition: transform .3s,opacity .3s; }
@media (pointer: coarse) { .overlay-btn { transform: translateY(0); opacity: 1; } .product-overlay { background: linear-gradient(to top, rgba(13,13,13,0.6) 0%, transparent 60%); } }
.overlay-btn-primary { background: white; color: var(--espresso); }
.overlay-btn-secondary { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.2); }
.product-card:hover .overlay-btn { transform: translateY(0); opacity: 1; }
.product-card:hover .overlay-btn:nth-child(2) { transition-delay: .06s; }

/* Micro-interaction: Add to Bag success state */
.overlay-btn-primary.success {
    background: #2ecc71;
    color: white;
}

.product-meta { text-align: center; }
.product-col { font-size: 8px; letter-spacing: .3em; text-transform: uppercase; opacity: .35; margin-bottom: 5px; }
.product-name { font-size: 18px; margin-bottom: 5px; }
@media (min-width: 768px) { .product-name { font-size: 22px; } }
.product-price { font-size: 12px; opacity: .65; }
.seller-info-tag { font-size: 9px; opacity: .4; letter-spacing: .1em; margin-top: 3px; }

/* ─── QV SIDEBAR (REDESIGNED 2-COLUMN FOR DESKTOP) ─── */
#quickview { 
    position: fixed; 
    right: 0; 
    top: 0; 
    bottom: 0; 
    width: min(90vw, 100vw); 
    background: white; 
    z-index: 800; 
    transform: translateX(100%); 
    transition: transform .5s cubic-bezier(.77,0,.18,1); 
    display: flex; 
    flex-direction: column; 
    box-shadow: -32px 0 80px rgba(0,0,0,0.12);
    padding-bottom: max(0px, env(safe-area-inset-bottom));
    overflow: hidden;
}

#quickview.open { 
    transform: translateX(0); 
}

/* Desktop: 2-Column Layout */
@media (min-width: 1024px) {
    #quickview {
        width: min(1000px, 90vw);
    }
    
    .qv-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 100%;
        overflow: hidden;
    }
}

/* Mobile: Single Column, Scrollable */
@media (max-width: 1023px) {
    #quickview {
        width: 100vw;
    }
    
    .qv-container {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }
}

/* ─── QV Header ─── */
.qv-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 16px 24px; 
    border-bottom: 1px solid rgba(26,15,10,0.08); 
    flex-shrink: 0;
    background: white;
    z-index: 10;
}

@media (max-width: 1023px) {
    .qv-header {
        padding: 14px 16px;
    }
}

.qv-close { 
    width: 36px; 
    height: 36px; 
    border: 1px solid rgba(26,15,10,0.12); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    background: none; 
    font-size: 18px; 
    opacity: .5; 
    transition: all .2s; 
    border-radius: 50%;
}

.qv-close:hover { 
    opacity: 1; 
    background: var(--espresso); 
    color: white; 
}

/* ─── QV IMAGE SECTION (LEFT SIDE) ─── */
.qv-image-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #ede7dc;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .qv-image-section {
        border-right: 1px solid rgba(26,15,10,0.08);
        min-height: 0;
    }
}

@media (max-width: 1023px) {
    .qv-image-section {
        max-height: 50vh;
        flex-shrink: 0;
    }
}

/* ─── QV Image Carousel ─── */
.qv-img-carousel { 
    position: relative; 
    overflow: hidden; 
    background: #ede7dc; 
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

@media (max-width: 1023px) {
    .qv-img-carousel {
        aspect-ratio: 4/3;
        min-height: auto;
    }
}

.qv-img-slides { 
    display: flex; 
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    width: 100%;
    height: 100%;
}

.qv-img-slide { 
    min-width: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.qv-img-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    padding: 12px;
}

.qv-carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 40px; 
    height: 40px; 
    background: rgba(255,255,255,0.9); 
    border: none; 
    cursor: pointer; 
    font-size: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all .2s; 
    z-index: 10;
    border-radius: 50%;
}

.qv-carousel-btn:hover { 
    background: white;
    transform: translateY(-50%) scale(1.15);
}

.qv-carousel-prev { 
    left: 12px; 
}

.qv-carousel-next { 
    right: 12px; 
}

.qv-carousel-dots { 
    position: absolute; 
    bottom: 12px; 
    left: 0; 
    right: 0; 
    display: flex; 
    justify-content: center; 
    gap: 6px;
    padding: 0 12px;
}

.qv-dot { 
    width: 6px; 
    height: 6px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.5); 
    cursor: pointer; 
    transition: background .2s; 
    border: 1px solid rgba(255,255,255,0.3);
}

.qv-dot.active { 
    background: white;
    border-color: white;
}

/* ─── QV INFO SECTION (RIGHT SIDE) ─── */
.qv-info-section {
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
    min-height: 0;
}

@media (max-width: 1023px) {
    .qv-info-section {
        flex: 1;
        overflow-y: auto;
    }
}

@media (min-width: 1024px) {
    .qv-info-section {
        overflow-y: auto;
    }
}

/* ─── QV Body (CONTENT) ─── */
.qv-body { 
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 1023px) {
    .qv-body {
        padding: 20px 16px;
        gap: 12px;
    }
}

.qv-tag { 
    font-size: 9px; 
    letter-spacing: .3em; 
    text-transform: uppercase; 
    color: var(--gold); 
    margin: 0; 
    font-weight: 600;
}

.qv-title { 
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 300; 
    margin: 0;
    line-height: 1.2;
    color: var(--espresso);
}

.qv-price { 
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    color: var(--espresso);
    margin: 0;
}

.qv-desc { 
    font-size: 14px; 
    line-height: 1.7; 
    opacity: .7;
    margin: 0;
}

.qv-divider { 
    height: 1px; 
    background: rgba(26,15,10,0.08); 
    margin: 8px 0;
}

/* ─── QV Details Section ─── */
#qv-details {
    font-size: 13px;
    line-height: 1.8;
    opacity: .65;
    background: rgba(26,15,10,0.03);
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

@media (max-width: 1023px) {
    #qv-details {
        font-size: 12px;
        padding: 12px;
    }
}

#qv-details span {
    display: block;
    margin-bottom: 6px;
}

#qv-details span:last-child {
    margin-bottom: 0;
}

#qv-details strong {
    color: var(--espresso);
    font-weight: 600;
    margin-right: 6px;
}

/* ─── QV Footer (ACTION BUTTONS) ─── */
.qv-footer { 
    padding: 16px 32px; 
    border-top: 1px solid rgba(26,15,10,0.08); 
    display: flex; 
    gap: 12px; 
    flex-shrink: 0;
    background: white;
}

@media (max-width: 1023px) {
    .qv-footer {
        padding: 14px 16px max(14px, env(safe-area-inset-bottom));
    }
}

.btn-add-cart { 
    flex: 1; 
    padding: 14px 24px; 
    background: var(--espresso); 
    color: white; 
    font-size: 11px; 
    letter-spacing: .2em; 
    text-transform: uppercase; 
    border: none; 
    cursor: pointer; 
    font-family: 'Outfit', sans-serif; 
    transition: all .2s;
    border-radius: 6px;
    font-weight: 600;
}

.btn-add-cart:hover { 
    background: #2d1a0f; 
}

.btn-add-cart:disabled { 
    background: #ccc; 
    cursor: not-allowed; 
}

.btn-add-cart.success {
    background: #2ecc71;
}

.btn-wishlist { 
    width: 48px; 
    height: 48px; 
    border: 1px solid rgba(26,15,10,0.15); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    background: none; 
    font-size: 18px; 
    transition: all .2s; 
    flex-shrink: 0;
    border-radius: 6px;
}

.btn-wishlist:hover { 
    background: #fdf0f0; 
    border-color: #e88; 
}

.btn-wishlist.loved { 
    color: #e55; 
    border-color: #e55; 
    background: rgba(230, 85, 85, 0.05);
}

/* ─── QV Overlay ─── */
#qv-overlay { 
    position: fixed; 
    inset: 0; 
    z-index: 799; 
    background: rgba(13,13,13,0.4); 
    backdrop-filter: blur(4px); 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity .4s; 
}

#qv-overlay.open { 
    opacity: 1; 
    pointer-events: all; 
}
#cart-sidebar { position: fixed; right: 0; top: 0; bottom: 0; width: min(420px,100vw); background: var(--dark-surface); z-index: 900; transform: translateX(100%); transition: transform .5s cubic-bezier(.77,0,.18,1); display: flex; flex-direction: column; color: white; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
#cart-sidebar.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--dark-border); }
@media (min-width: 768px) { .cart-header { padding: 28px 32px; } }
.cart-title { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.cart-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 22px; cursor: pointer; transition: color .2s; }
.cart-close:hover { color: white; }
#cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
@media (min-width: 768px) { #cart-items { padding: 24px 32px; } }
.cart-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--dark-border); }
.cart-item-img { width: 64px; height: 80px; object-fit: cover; flex-shrink: 0; background: #2a2a2a; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-family: 'Boldonse', system-ui; font-style: italic; margin-bottom: 4px; }
.cart-item-sub { font-size: 9px; opacity: .4; letter-spacing: .1em; margin-bottom: 10px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; }
.cart-qty { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 24px; height: 24px; border: 1px solid var(--dark-border); background: none; color: white; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-num { font-size: 13px; min-width: 18px; text-align: center; }
.cart-item-price { font-size: 13px; }
.remove-btn { color: rgba(255,255,255,0.2); background: none; border: none; cursor: pointer; font-size: 12px; transition: color .2s; }
.remove-btn:hover { color: #e55; }
.cart-empty { text-align: center; padding: 60px 20px; opacity: .4; }
.cart-empty-icon { font-size: 40px; margin-bottom: 14px; }
.cart-empty-text { font-size: 13px; font-family: 'Boldonse', system-ui; font-style: italic; }
.cart-footer { padding: 16px 24px; border-top: 1px solid var(--dark-border); }
@media (min-width: 768px) { .cart-footer { padding: 24px 32px; } }
.cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 6px; }
.cart-subtotal-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; }
.cart-subtotal-val { font-size: 18px; font-family: 'Boldonse', system-ui; }
.cart-note { font-size: 10px; opacity: .3; margin-bottom: 16px; letter-spacing: .1em; }
.btn-checkout { width: 100%; padding: 16px; background: var(--gold); color: white; border: none; cursor: pointer; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-family: 'Outfit', sans-serif; transition: background .2s; }
.btn-checkout:hover { background: var(--gold-light); }

#toast { position: fixed; bottom: 80px; left: 50%; z-index: 9999 !important; transform: translateX(-50%) translateY(24px); background: var(--espresso); color: white; padding: 12px 24px; border-left: 3px solid var(--gold); font-size: 12px; letter-spacing: .1em; opacity: 0; transition: all .4s; pointer-events: none; box-shadow: 0 20px 60px rgba(0,0,0,0.25); white-space: nowrap; }
#toast.error { 
    border-left: 4px solid #ff4444; 
    color: #ff4444;
    z-index: 9999 !important;
}
@media (min-width: 768px) { #toast { bottom: 32px; } }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.policy-modal-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(13,13,13,0.7); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 16px; }
.policy-modal-overlay.open { display: flex; }
.policy-modal-box { background: white; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; padding: 32px 24px; position: relative; border-radius: 2px; }
@media (min-width: 768px) { .policy-modal-box { padding: 56px; } }
.policy-modal-title { font-family: 'Boldonse', system-ui; font-size: 36px; font-style: italic; font-weight: 300; margin-bottom: 8px; }
.policy-modal-sub { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .35; margin-bottom: 32px; }
.policy-modal-content { font-size: 13px; line-height: 1.9; opacity: .7; white-space: pre-wrap; }
.policy-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; opacity: .35; transition: opacity .2s; }
.policy-modal-close:hover { opacity: .9; }

/* ─── ADMIN PANEL ─── */
#admin-panel { display: none; position: fixed; inset: 0; z-index: 1000; background: var(--dark); color: #ffffff; font-family: 'Outfit', sans-serif; }
.admin-layout { display: flex; height: 100%; overflow: hidden; }
#admin-tab-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark-surface); border-top: 1px solid var(--dark-border); z-index: 1001; padding: 8px 0 max(8px,env(safe-area-inset-bottom)); }
@media (max-width: 767px) { #admin-tab-bar { display: flex; } }
.admin-tab-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; cursor: pointer; opacity: .4; transition: opacity .2s; background: none; border: none; color: #ffffff; font-family: 'Outfit', sans-serif; }
.admin-tab-bar-item.active { opacity: 1; color: var(--gold-light); }
.admin-tab-bar-item span:first-child { font-size: 18px; }
.admin-tab-bar-item span:last-child { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.admin-sidebar { width: 260px; flex-shrink: 0; background: var(--dark-surface); border-right: 1px solid var(--dark-border); display: flex; flex-direction: column; padding: 40px 0; }
@media (max-width: 767px) { .admin-sidebar { display: none; } }
.admin-logo { padding: 0 32px 40px; border-bottom: 1px solid var(--dark-border); }
.admin-logo-text { font-family: 'Boldonse', system-ui; font-size: 26px; color: var(--gold-light); letter-spacing: .2em; }
.admin-logo-sub { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .3; margin-top: 4px; }
.admin-user-info { padding: 16px 32px; border-bottom: 1px solid var(--dark-border); }
.admin-user-name { font-size: 13px; color: white; margin-bottom: 3px; }
.admin-user-role { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.admin-nav { padding: 24px 16px; flex: 1; overflow-y: auto; }
.admin-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; font-size: 12px; letter-spacing: .05em; opacity: .45; cursor: pointer; transition: all .2s; margin-bottom: 4px; }
.admin-nav-item:hover { opacity: .8; background: rgba(255,255,255,0.03); }
.admin-nav-item.active { opacity: 1; background: rgba(184,148,90,0.1); color: var(--gold-light); border-left: 2px solid var(--gold); }
.admin-nav-icon { font-size: 16px; }
.admin-nav-separator { height: 1px; background: var(--dark-border); margin: 12px 16px; }
.admin-exit { padding: 16px 32px; border-top: 1px solid var(--dark-border); }
.admin-exit-btn { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,100,100,0.6); cursor: pointer; background: none; border: none; transition: color .2s; font-family: 'Outfit', sans-serif; }
.admin-exit-btn:hover { color: rgba(255,100,100,0.9); }
.admin-main { flex: 1; overflow-y: auto; padding: 32px 24px; padding-bottom: max(80px, calc(80px + env(safe-area-inset-bottom))); }
@media (min-width: 768px) { .admin-main { padding: 48px 56px 48px; } }
.admin-main::-webkit-scrollbar { width: 3px; }
.admin-main::-webkit-scrollbar-thumb { background: var(--gold); }
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-page-title { font-family: 'Boldonse', system-ui; font-size: clamp(30px,6vw,42px); font-style: italic; font-weight: 300; color: white; margin-bottom: 6px; }
.admin-page-sub { font-size: 11px; opacity: .35; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 32px; }
.stat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
@media (min-width: 480px) { .stat-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; } }
.stat-card { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 16px; padding: 22px 24px; }
@media (min-width: 768px) { .stat-card { padding: 28px 32px; } }
.stat-label { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.stat-value { font-size: 30px; color: white; font-family: 'Boldonse', system-ui; }
@media (min-width: 768px) { .stat-value { font-size: 36px; } }
.stat-change { font-size: 10px; opacity: .4; margin-top: 6px; }
.admin-card { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
@media (min-width: 768px) { .admin-card { padding: 32px; margin-bottom: 24px; } }
.admin-card-title { font-size: 13px; letter-spacing: .1em; color: white; margin-bottom: 20px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; min-width: 500px; }
.admin-table th { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .3; padding: 0 12px 14px; text-align: left; border-bottom: 1px solid var(--dark-border); }
.admin-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 12px; vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--dark-border); color: white; padding: 11px 14px; border-radius: 8px; font-size: 13px; font-family: 'Outfit', sans-serif; outline: none; transition: border-color .2s; }
.admin-input:focus { border-color: var(--gold); }
.admin-input::placeholder { color: rgba(255,255,255,0.25); }
.admin-btn { padding: 12px 24px; background: var(--gold); color: white; border: none; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; font-family: 'Outfit', sans-serif; cursor: pointer; border-radius: 6px; transition: all .2s; }
.admin-btn:hover { background: var(--gold-light); }
.admin-btn-sm { padding: 6px 14px; font-size: 9px; background: rgba(184,148,90,0.15); color: var(--gold-light); border: 1px solid rgba(184,148,90,0.2); border-radius: 6px; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .2s; letter-spacing: .1em; text-transform: uppercase; }
.admin-btn-sm:hover { background: rgba(184,148,90,0.25); }
.admin-btn-approve { padding: 6px 14px; font-size: 9px; background: rgba(80,200,120,0.15); color: rgba(80,220,120,0.9); border: 1px solid rgba(80,200,120,0.2); border-radius: 6px; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .2s; letter-spacing: .1em; text-transform: uppercase; }
.admin-btn-approve:hover { background: rgba(80,200,120,0.3); }
.admin-btn-danger { padding: 6px 14px; font-size: 9px; background: rgba(255,80,80,0.08); color: rgba(255,100,100,0.7); border: 1px solid rgba(255,80,80,0.15); border-radius: 6px; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .2s; letter-spacing: .1em; text-transform: uppercase; }
.admin-btn-danger:hover { background: rgba(255,80,80,0.15); color: rgba(255,100,100,0.9); }
.badge-stock { padding: 4px 10px; border-radius: 100px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.badge-in { background: rgba(80,200,120,0.1); color: rgba(80,220,120,0.8); border: 1px solid rgba(80,200,120,0.2); }
.badge-out { background: rgba(255,80,80,0.1); color: rgba(255,100,100,0.8); border: 1px solid rgba(255,80,80,0.2); }
.badge-pending { background: rgba(255,180,0,0.1); color: rgba(255,200,0,0.9); border: 1px solid rgba(255,180,0,0.2); }

#product-modal { display: none; position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); align-items: flex-start; justify-content: center; padding: 16px; overflow-y: auto; }
#product-modal.open { display: flex; }
.modal-box { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 20px; padding: 28px 24px; width: 100%; max-width: 560px; margin: auto; }
@media (min-width: 768px) { .modal-box { padding: 40px; } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.modal-title { font-family: 'Boldonse', system-ui; font-size: 26px; color: white; font-style: italic; }
.modal-close { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 22px; cursor: pointer; transition: color .2s; }
.modal-close:hover { color: white; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 9px;color: #fdf0f0; letter-spacing: .25em; text-transform: uppercase; opacity: .45; margin-bottom: 7px; }
.img-upload-area { border: 2px dashed var(--dark-border); border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; transition: border-color .2s; margin-bottom: 12px; }
.img-upload-area:hover { border-color: var(--gold); }
.img-upload-area input { display: none; }
.img-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.img-preview-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,0.05); }
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-remove { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; background: rgba(255,0,0,0.7); border: none; color: white; border-radius: 50%; cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; }

#checkout-modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); align-items: flex-start; justify-content: center; padding: 16px; overflow-y: auto; }
#checkout-modal.open { display: flex; }
.checkout-box { background: white; width: 100%; max-width: 640px; padding: 32px 24px; margin: auto; position: relative; }
@media (min-width: 768px) { .checkout-box { padding: 56px; } }
.checkout-title { font-family: 'Boldonse', system-ui; font-size: 36px; font-style: italic; margin-bottom: 6px; }
.checkout-sub { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .35; margin-bottom: 36px; }
.checkout-input { width: 100%; border: none; border-bottom: 1px solid rgba(26,15,10,0.15); padding: 11px 0; font-size: 14px; font-family: 'Outfit', sans-serif; background: none; outline: none; color: var(--espresso); margin-bottom: 20px; transition: border-color .2s; }
.checkout-input:focus { border-bottom-color: var(--gold); }
.checkout-input::placeholder { opacity: .4; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.checkout-section-title { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .4; margin-bottom: 20px; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(26,15,10,0.08); }
.checkout-order-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(26,15,10,0.06); font-size: 13px; }
.checkout-seller-group { margin-bottom: 16px; }
.checkout-seller-label { font-size: 8px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; padding-bottom: 4px; border-bottom: 1px solid rgba(26,15,10,0.06); }
.checkout-total { display: flex; justify-content: space-between; padding: 18px 0 0; font-size: 18px; font-family: 'Boldonse', system-ui; }
.checkout-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; opacity: .3; transition: opacity .2s; }
.checkout-close:hover { opacity: .8; }
.wa-btn-group { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.wa-seller-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; background: #25D366; color: white; border: none; cursor: pointer; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-family: 'Outfit', sans-serif; transition: all .2s; border-radius: 4px; }
.wa-seller-btn:hover { background: #1ebe5d; }

footer { background: var(--espresso); color: rgba(255,255,255,0.5); padding: 48px 24px 32px; }
@media (min-width: 768px) { footer { padding: 80px 64px 40px; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 64px; } }
.footer-brand { font-family: 'Boldonse', system-ui; font-size: 40px; color: white; font-style: italic; font-weight: 300; margin-bottom: 14px; }
@media (min-width: 768px) { .footer-brand { font-size: 48px; } }
.footer-tagline { font-size: 12px; line-height: 1.8; max-width: 280px; }
.footer-col-title { font-size: 9px; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 12px; text-decoration: none; color: rgba(255,255,255,0.4); transition: color .2s; cursor: pointer; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 10px; letter-spacing: .1em; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

.wishlist-toggle-btn { position: fixed; bottom: 100px; right: 16px; width: 48px; height: 48px; background: white; border-radius: 50%; border: 1px solid rgba(26,15,10,0.1); display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; z-index: 300; box-shadow: 0 8px 32px rgba(0,0,0,0.1); transition: all .2s; }
@media (min-width: 768px) { .wishlist-toggle-btn { bottom: 32px; right: 32px; width: 56px; height: 56px; font-size: 22px; } }
.wishlist-toggle-btn:hover { transform: scale(1.1); }
#wishlist-count-badge { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; background: var(--gold); color: white; font-size: 9px; font-weight: 600; border-radius: 50%; display: none; align-items: center; justify-content: center; }
#wishlist-count-badge.visible { display: flex; }

.color-picker-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.color-swatch { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: border-color .2s; flex-shrink: 0; }
.color-swatch:hover { border-color: rgba(255,255,255,0.4); }
.color-picker-label { font-size: 11px; opacity: .5; min-width: 120px; }
.color-picker-input { background: none; border: 1px solid var(--dark-border); border-radius: 6px; padding: 6px; cursor: pointer; height: 36px; width: 56px; }
.marquee-item-admin { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--dark-border); border-radius: 6px; margin-bottom: 8px; }
.marquee-item-text { flex: 1; font-size: 12px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .admin-grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ─── Auth / Phone Modal ─── */
.auth-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(13,13,13,0.98); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 20px; }
.auth-overlay.open { display: flex; }
.auth-box { background: var(--dark-card); width: 100%; max-width: 420px; padding: 40px; border: 1px solid var(--dark-border); border-radius: 24px; text-align: center; }
.auth-title { font-family: 'Boldonse', system-ui; font-size: 32px; color: var(--gold); margin-bottom: 8px; font-style: italic; }
.auth-sub { font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,0.3); margin-bottom: 32px; text-transform: uppercase; }
.auth-step { display: none; }
.auth-step.active { display: block; }
.auth-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--dark-border); color: white; padding: 14px 16px; border-radius: 10px; font-size: 16px; font-family: 'Outfit', sans-serif; outline: none; transition: border-color .2s; margin-bottom: 14px; text-align: center; letter-spacing: .05em; }
.auth-input:focus { border-color: var(--gold); }
.auth-input::placeholder { color: rgba(255,255,255,0.2); }
.auth-btn { width: 100%; padding: 14px; background: var(--gold); color: white; border: none; border-radius: 10px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; font-family: 'Outfit', sans-serif; cursor: pointer; transition: all .2s; margin-bottom: 12px; }
.auth-btn:hover { background: var(--gold-light); }
.auth-btn:disabled { background: #555; cursor: not-allowed; }
.auth-link { background: none; border: none; color: rgba(255,255,255,0.3); font-size: 11px; cursor: pointer; font-family: 'Outfit', sans-serif; letter-spacing: .1em; transition: color .2s; }
.auth-link:hover { color: rgba(255,255,255,0.7); }
.auth-hint { font-size: 11px; color: rgba(255,255,255,0.25); line-height: 1.6; margin-bottom: 20px; }
.auth-wa-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: #25D366; color: white; border: none; border-radius: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-family: 'Outfit', sans-serif; cursor: pointer; transition: all .2s; margin-bottom: 12px; }
.auth-wa-btn:hover { background: #1ebe5d; }
.profile-field { text-align: left; margin-bottom: 14px; }
.profile-field label { font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,0.35); display: block; margin-bottom: 6px; }
/* Seller badge */
.verified-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: rgba(80,220,120,0.8); background: rgba(80,200,120,0.1); border: 1px solid rgba(80,200,120,0.2); padding: 4px 10px; border-radius: 100px; }
.pending-verify-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,200,0,0.9); background: rgba(255,180,0,0.1); border: 1px solid rgba(255,180,0,0.2); padding: 4px 10px; border-radius: 100px; }

@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@media (max-width: 768px) { #lookbook [style*="grid-column: span"] { grid-column: span 12 !important; } }

@media (min-width: 768px) { .desktop-nav-links { display: flex !important; } #mobile-menu-btn { display: none !important; } }

/* ─── ADVANCED FILTERS ─── */
.advanced-filters {
    display: none;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(26,15,10,0.03);
    border-radius: 8px;
    border: 1px solid rgba(26,15,10,0.08);
}

.advanced-filters.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .advanced-filters.open {
        grid-template-columns: repeat(3, 1fr);
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .4;
    font-weight: 600;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 12px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
}

.filter-option input[type="range"] {
    width: 100%;
    cursor: pointer;
}

.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: none;
    border: 1px solid rgba(26,15,10,0.15);
    border-radius: 20px;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: all .2s;
}

.filter-button:hover {
    background: var(--espresso);
    color: white;
    border-color: var(--espresso);
}

.filter-button.active {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: var(--gold);
    color: white;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
}

.active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(184,148,90,0.1);
    border: 1px solid rgba(184,148,90,0.3);
    border-radius: 20px;
    font-size: 11px;
    color: var(--gold);
}

.active-filter-tag button {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 4px;
}

/* ─── MOBILE WISHLIST BADGE ─── */
#mobile-wishlist-btn {
    position: relative;
}

#mobile-wishlist-btn::before {
    content: attr(data-count);
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    color: white;
    font-size: 9px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

#mobile-wishlist-btn.has-items::before {
    opacity: 1;
}

/* ─── MULTI-SELLER CHECKOUT STYLES ─── */
.checkout-seller-group {
    padding: 12px;
    background: rgba(26,15,10,0.03);
    border: 1px solid rgba(26,15,10,0.08);
    border-radius: 6px;
    margin-bottom: 12px;
}

.checkout-seller-label {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--espresso);
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(26,15,10,0.08);
}

.checkout-order-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(26,15,10,0.05);
    font-size: 12px;
}

.checkout-order-item:last-child {
    border-bottom: none;
}

.wa-seller-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: #25D366;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    transition: all .2s;
    border-radius: 6px;
}

.wa-seller-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.wa-seller-btn:active {
    transform: translateY(0);
}