/* Version 10.5 — Light Luxury Showroom Design System */
html[data-theme="showroom-light"],
html:not([data-theme]) {
    --gold: #B8860B;
    --gold-light: #D4AF37;
    --gold-dark: #8B6914;
    --gold-deep: #5C4A1F;
    --gold-glow: rgba(212, 175, 55, 0.22);
    --ivory: #FAF7F0;
    --champagne: #FFFCF7;
    --beige: #F3EDE3;
    --bg: var(--ivory);
    --bg-elevated: var(--champagne);
    --bg-card: #FFFFFF;
    --text: #1A1612;
    --text-muted: rgba(26, 22, 18, 0.58);
    --border: rgba(184, 134, 11, 0.16);
    --glass: rgba(255, 252, 247, 0.94);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 16px rgba(26, 22, 18, 0.05);
    --shadow-md: 0 12px 40px rgba(26, 22, 18, 0.08);
    --shadow-gold: 0 8px 32px rgba(184, 134, 11, 0.12);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    background: var(--bg);
    color: var(--text);
}

/* Preloader */
.preloader { background: var(--champagne); }

/* Header — premium showroom */
.site-header .navbar { background: transparent; }
.site-header .navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.navbar-brand { color: var(--text) !important; }
.brand-mark {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff !important;
    border: none;
    box-shadow: var(--shadow-gold);
}
.brand-logo-mark {
    background: #FAF7F0 !important;
    border: 1.5px solid rgba(184, 134, 11, 0.7) !important;
    box-shadow: 0 6px 18px rgba(7, 27, 28, 0.16) !important;
}
.brand-name { color: var(--text); }
.brand-tagline { color: var(--text-muted); }
.nav-link { color: var(--text-muted) !important; }
.nav-link:hover, .nav-link.active { color: var(--gold-dark) !important; }
.navbar-toggler span { background: var(--gold-dark); }

.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.header-search-form {
    display: flex; align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    max-width: 220px;
}
.header-search-form input {
    border: none; background: transparent; outline: none;
    font-size: 0.82rem; width: 100%; color: var(--text);
    min-height: 36px;
}
.header-search-form button {
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: var(--beige); color: var(--gold-dark);
    display: grid; place-items: center; cursor: pointer;
}
.header-icon-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text) !important;
    display: grid; place-items: center;
    font-size: 1.15rem;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.header-icon-btn:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    color: var(--gold-dark) !important;
}
.header-icon-btn.club-btn {
    background: linear-gradient(135deg, #FFF8E7, #F5E6C8);
    border-color: rgba(184,134,11,0.3);
    color: var(--gold-dark) !important;
    font-size: 0.72rem;
    width: auto; padding: 0 0.85rem;
    border-radius: 99px;
    font-weight: 600;
    gap: 0.35rem;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.header-account-name { font-size: 0.75rem; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: #fff !important;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-gold);
}
.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold-dark) !important;
    border-radius: var(--radius-sm);
    background: transparent;
}
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Product cards — sales first */
.luxury-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.luxury-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(184,134,11,0.28);
}
.lpc-media { border-radius: var(--radius) var(--radius) 0 0; }
.lpc-category { color: var(--gold-dark); }
.lpc-title { color: var(--text); }
.lpc-price { color: var(--gold-dark); font-weight: 700; }
.lpc-action-btn {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border);
    color: var(--text);
}
.lpc-action-btn:hover, .lpc-wa:hover { background: var(--gold); color: #fff !important; }
.lpc-wa-text {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; color: var(--gold-dark) !important;
    margin-top: 0.5rem; font-weight: 500;
}
.lpc-wa-text i { color: #25D366; }

/* Gold strip — light */
.gold-strip {
    background: linear-gradient(90deg, var(--champagne), var(--beige), var(--champagne));
    border-bottom: 1px solid var(--border);
}
.gold-strip-label { color: var(--text-muted); }
.gold-strip-price { color: var(--gold-dark); }
.gold-market-sheet {
    background: var(--champagne);
    border-top: 1px solid var(--border);
}
.gold-sheet-head { border-bottom-color: var(--border); }
.gold-sheet-head h2 { color: var(--text); }
.gold-sheet-close { color: var(--text-muted); }
.gsi-label { color: var(--text-muted); }
.gold-sheet-meta { color: var(--text-muted); }
.gold-sheet-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.gsi-price { color: var(--gold-dark); }

/* Footer v10 grid */
.site-footer-v10 .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 2rem 1.5rem;
    margin-bottom: 2.5rem;
}
.footer-logo {
    display: inline-flex; align-items: center; gap: 0.65rem;
    color: var(--text) !important; text-decoration: none; margin-bottom: 0.75rem;
}
.footer-brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.footer-tagline-en { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-local-seo {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.9;
    margin: 0.75rem 0 0;
}
.footer-contact li { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.5rem; }
.footer-contact i { color: var(--gold-dark); margin-top: 0.15rem; }
.footer-wa-cta {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 1rem; padding: 0.55rem 1rem;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.25);
    border-radius: var(--radius-sm);
    color: #128C7E !important;
    font-size: 0.82rem; font-weight: 600;
    min-height: 44px;
}
.footer-social { margin-top: 1rem; }

/* Mobile nav — 6 items */
.mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
}
.mobile-nav-item { font-size: 0.62rem; padding: 0.35rem 0.15rem; min-height: 44px; }
.mobile-nav-item i { font-size: 1.15rem; }

@media (max-width: 991px) {
    .header-tools .header-search-form { display: none; }
    .header-account-name { display: none; }
    .navbar-collapse .header-search-form.d-lg-none { display: flex !important; max-width: none; }
}
@media (max-width: 1199px) {
    .site-footer-v10 .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .site-footer-v10 .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
    .mobile-nav-item span { font-size: 0.58rem; }
    .site-footer-v10 .footer-grid { grid-template-columns: 1fr; }
}

.site-footer {
    background: linear-gradient(180deg, var(--beige) 0%, var(--ivory) 100%);
    border-top: 1px solid var(--border);
    color: var(--text);
    padding: 4rem 0 2rem;
}
.footer-title { color: var(--gold-dark); font-family: var(--font-display); }
.footer-desc, .footer-links a, .footer-contact { color: var(--text-muted); }
.footer-links a:hover { color: var(--gold-dark); }
.footer-bottom { border-top: 1px solid var(--border); color: var(--text-muted); }
.social-links a {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: inline-grid; place-items: center;
    color: var(--gold-dark) !important;
    margin-left: 0.5rem;
}
.lux-dev-card {
    background:
        radial-gradient(circle at 18% 0%, rgba(232,194,115,0.22), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(34,197,94,0.12), transparent 28%),
        linear-gradient(135deg, #061819 0%, #102828 48%, #251806 100%) !important;
    border: 1px solid rgba(232,194,115,0.34) !important;
    box-shadow: 0 22px 60px rgba(7,27,28,0.18), inset 0 1px 0 rgba(255,255,255,0.08) !important;
    color: #fff !important;
}
.lux-dev-card .developer-profile-inner {
    background: rgba(255,255,255,0.055) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
}
.lux-dev-card .developer-profile-copy h6,
.lux-dev-card .developer-bio {
    color: #fff !important;
}
.lux-dev-card .developer-title {
    color: rgba(255,240,184,0.9) !important;
}
.lux-dev-card .developer-profile-label {
    color: #fff0b8 !important;
    background: rgba(216,180,93,0.14) !important;
    border-color: rgba(216,180,93,0.24) !important;
}
.lux-dev-card .developer-quality-row span,
.lux-dev-card .developer-skill-pills span,
.lux-dev-card .developer-links a {
    background: rgba(255,255,255,0.11) !important;
    border-color: rgba(255,255,255,0.16) !important;
    color: rgba(255,255,255,0.92) !important;
}

@media (max-width: 575px) {
    .developer-profile-card.lux-dev-card {
        margin: 1.6rem 0 0.75rem !important;
        padding: 0.82rem !important;
        border-radius: 24px !important;
    }
    .developer-profile-card.lux-dev-card::after,
    .developer-profile-gridline,
    .developer-profile-orb {
        display: none !important;
    }
    .lux-dev-card .developer-profile-glow {
        width: 140px !important;
        height: 140px !important;
        top: -60px !important;
        right: -42px !important;
    }
    .lux-dev-card .developer-profile-inner {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 0.78rem !important;
        align-items: center !important;
        text-align: right !important;
        padding: 0.78rem !important;
        border-radius: 20px !important;
        min-height: auto !important;
    }
    .lux-dev-card .developer-portrait-wrap {
        width: 82px !important;
        border-radius: 20px !important;
        padding: 3px !important;
    }
    .lux-dev-card .developer-photo,
    .lux-dev-card .developer-photo-placeholder,
    .lux-dev-card .developer-portrait-shine {
        border-radius: 17px !important;
    }
    .lux-dev-card .developer-photo-caption {
        display: none !important;
    }
    .lux-dev-card .developer-status-dot {
        width: 15px !important;
        height: 15px !important;
        left: 6px !important;
        bottom: 6px !important;
        border-width: 3px !important;
    }
    .lux-dev-card .developer-profile-topline {
        justify-content: flex-start !important;
        gap: 0.35rem !important;
        margin-bottom: 0.25rem !important;
    }
    .lux-dev-card .developer-profile-label,
    .lux-dev-card .developer-availability {
        font-size: 0.62rem !important;
        padding: 0.22rem 0.48rem !important;
        min-height: 26px !important;
    }
    .lux-dev-card .developer-profile-copy h6 {
        font-size: 1.04rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.12rem !important;
    }
    .lux-dev-card .developer-title {
        display: flex !important;
        margin: 0 0 0.35rem !important;
        font-size: 0.72rem !important;
        line-height: 1.55 !important;
    }
    .lux-dev-card .developer-bio {
        display: none !important;
    }
    .lux-dev-card .developer-quality-row {
        margin-top: 0.35rem !important;
        gap: 0.28rem !important;
        justify-content: flex-start !important;
    }
    .lux-dev-card .developer-quality-row span {
        min-height: 26px !important;
        padding: 0.2rem 0.42rem !important;
        border-radius: 999px !important;
        font-size: 0.58rem !important;
    }
    .lux-dev-card .developer-profile-footerline {
        display: none !important;
    }
}

/* Mobile nav light */
.mobile-bottom-nav {
    background: var(--glass);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(26,22,18,0.06);
}
.mobile-nav-item { color: var(--text-muted) !important; }
.mobile-nav-item.active { color: var(--gold-dark) !important; }

/* Page hero light */
.page-hero {
    background: linear-gradient(180deg, var(--beige), var(--ivory));
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: var(--text); font-family: var(--font-display); }

/* WhatsApp float */
.whatsapp-float {
    background: #25D366;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

@media (max-width: 991px) {
    .header-tools .header-search-form { display: none; }
    .header-account-name { display: none; }
}

@media (max-width: 767px) {
    .navbar-collapse {
        background: var(--bg-card);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
}
