:root {
    --bg: #050507;
    --elevated: #0d0e14;
    --panel: #131523;
    --gold: #c7a645;
    --gold-soft: #e6cd7d;
    --amber: #f6c343;
    --muted: #9ea0ad;
    --text-primary: #f6f7fb;
    --text-secondary: #c8cbd6;
    --line: rgba(255, 255, 255, 0.08);
    --radius: 14px;
    --shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
    --gradient: radial-gradient(120% 120% at 10% 10%, rgba(199, 166, 69, 0.16), rgba(5, 5, 7, 0.4)), radial-gradient(80% 80% at 90% 10%, rgba(13, 14, 20, 0.65), rgba(5, 5, 7, 0.9));
}

.theme-light {
    --bg: #f5f5f8;
    --elevated: #ffffff;
    --panel: #f9f9fb;
    --gold: #b8911f;
    --gold-soft: #e4c45a;
    --amber: #e8b430;
    --muted: #5a5d6a;
    --text-primary: #0d0e14;
    --text-secondary: #3a3d4a;
    --line: rgba(0, 0, 0, 0.08);
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    --gradient: radial-gradient(120% 120% at 10% 10%, rgba(184, 145, 31, 0.1), rgba(255, 255, 255, 0.8)), radial-gradient(80% 80% at 90% 10%, rgba(250, 250, 253, 0.9), rgba(245, 245, 248, 1));
}

* {
    box-sizing: border-box;
}

body {
    background: var(--gradient), var(--bg);
    color: var(--text-primary);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Manrope', serif;
}

a {
    color: var(--gold);
}

.text-muted {
    color: var(--muted) !important;
}

.bg-page {
    background-color: transparent;
}

.bg-elevated {
    background: var(--elevated);
}

.topbar {
    background: linear-gradient(90deg, rgba(199, 166, 69, 0.08), rgba(17, 18, 26, 0.75));
    border-bottom: 1px solid var(--line);
    color: var(--text-primary);
}

.navbar {
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    background: rgba(13, 14, 20, 0.9);
    color: var(--text-primary);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-secondary);
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

.navbar-brand .brand-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(199, 166, 69, 0.25), rgba(17, 18, 26, 0.8));
    border: 1px solid var(--line);
}

.brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold), #6d5720);
    display: inline-block;
}

.nav-link {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--gold) !important;
}

.btn-gold {
    background: linear-gradient(120deg, var(--gold), var(--gold-soft));
    border: none;
    color: #0b0b0f;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover {
    background: linear-gradient(120deg, var(--gold-soft), var(--gold));
    color: #0b0b0f;
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(199, 166, 69, 0.3);
}

.btn-outline-gold {
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline-gold:hover,
.btn-outline-gold.active {
    background: var(--gold);
    color: #0b0b0f;
}

.border-gold-subtle {
    border-color: rgba(199, 166, 69, 0.25) !important;
}

.page-wrapper {
    min-height: 70vh;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 10% 20% auto auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 30% 30%, rgba(246, 195, 67, 0.22), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}

.eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-size: 0.85rem;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
}

.chip {
    background: rgba(199, 166, 69, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(199, 166, 69, 0.2);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.bg-gold { background: var(--gold); }
.bg-amber { background: var(--amber); }
.bg-slate { background: #4a4d5e; }
.text-gold { color: var(--gold) !important; }

.letter-space-1 {
    letter-spacing: 0.12em;
}

.metric {
    background: linear-gradient(135deg, rgba(199, 166, 69, 0.08), rgba(17, 18, 26, 0.8));
    border-radius: var(--radius);
}

.hero-carousel .carousel-item {
    min-height: 340px;
}

.hero-carousel .carousel-caption {
    position: static;
    text-align: left;
    padding: 0;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(199, 166, 69, 0.35);
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--gold);
}

.banner-ribbon {
    background: linear-gradient(135deg, rgba(199, 166, 69, 0.06), rgba(18, 19, 28, 0.9));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.client-badge,
.brand-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(199, 166, 69, 0.12), rgba(12, 13, 19, 0.95));
    border-radius: 12px;
    padding: 14px 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 0 0 1px rgba(199, 166, 69, 0.18);
}

.brand-card small {
    color: var(--muted);
    letter-spacing: normal;
    font-weight: 500;
    text-transform: none;
}

.cta-bar {
    background: linear-gradient(120deg, rgba(199, 166, 69, 0.18), rgba(12, 13, 19, 0.9));
    border: 1px solid rgba(199, 166, 69, 0.25);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.floating-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.modal-content {
    background: var(--panel);
    color: #fff;
    border: 1px solid rgba(199, 166, 69, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.modal-header {
    border-color: var(--line);
}

.modal-footer {
    border-color: var(--line);
}

.highlight-banner {
    position: relative;
    overflow: hidden;
    /* background: linear-gradient(180deg, rgba(12, 13, 19, 0.95), rgba(6, 6, 9, 0.95)); */
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.highlight-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(199, 166, 69, 0.06), transparent);
    pointer-events: none;
}

.highlight-banner .skyline {
    height: 140px;
    background: linear-gradient(90deg, #f5d445 0%, #c7a645 50%, #f5d445 100%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 60%, transparent 100%);
    opacity: 0.85;
    position: relative;
    overflow: hidden;
}

.highlight-banner .skyline::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 60%, transparent 100%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0 4px, transparent 4px 12px);
    mix-blend-mode: multiply;
    opacity: 0.45;
}

.hover-raise {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-raise:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.logo-ticker {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: inline-flex;
    gap: 12px;
    animation: ticker 18s linear infinite;
    white-space: nowrap;
}

.logo-track .client-badge {
    flex: 0 0 auto;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
    }
    .btn,
    .hover-raise,
    .animate-fade-up {
        transition: none;
        animation: none;
    }
}

.page-hero {
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 10% 20%, rgba(199, 166, 69, 0.05), transparent);
    pointer-events: none;
}

#productsGrid .product-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card h5 {
    color: var(--gold);
}

.product-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.badge {
    font-weight: 600;
}

.theme-light .text-light,
.theme-light h1,
.theme-light h2,
.theme-light h3,
.theme-light h4,
.theme-light h5,
.theme-light h6 {
    color: var(--text-primary) !important;
}

.theme-light .text-bg-dark,
.theme-light .badge.text-bg-dark {
    background-color: #ececf2 !important;
    color: #0d0e14 !important;
}

.theme-light .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
}

.theme-light .navbar-dark .navbar-nav .nav-link {
    color: rgba(13, 14, 20, 0.75);
}

.theme-light .navbar-dark .navbar-nav .nav-link.active,
.theme-light .navbar-dark .navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

.theme-light .navbar-brand,
.theme-light .navbar-brand span {
    color: #0d0e14 !important;
}

.theme-light .topbar {
    background: linear-gradient(90deg, rgba(184, 145, 31, 0.06), rgba(255, 255, 255, 0.8));
    color: var(--text-primary);
}

.theme-light .panel,
.theme-light .bg-elevated {
    background: var(--panel);
    border-color: var(--line);
}

.theme-light .search-suggestion {
    border-color: rgba(0, 0, 0, 0.05);
}

.theme-light body,
.theme-light .text-muted {
    color: var(--text-secondary) !important;
}

.theme-light .form-control::placeholder {
    color: rgba(13, 14, 20, 0.6);
}

.theme-light .text-muted {
    color: var(--text-secondary) !important;
}

.theme-light .text-bg-dark,
.theme-light .badge.text-bg-dark {
    background-color: #ececf2 !important;
    color: #0d0e14 !important;
}

.theme-light .navbar-toggler {
    filter: invert(0.8);
}

.theme-toggle {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.theme-toggle:hover {
    background: var(--gold);
    color: #0b0b0f;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.theme-light .form-control,
.theme-light .form-select {
    color: var(--text-primary);
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(199, 166, 69, 0.2);
    border-color: var(--gold);
}

.form-select {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.form-control,
.form-select {
    color: var(--text-primary);
}

.form-select option {
    color: #0b0b0f;
}

.list-group-item {
    border-bottom: 1px solid var(--line);
}

.footer {
    background: linear-gradient(180deg, rgba(22, 24, 36, 0.9), #0b0b0f);
}

.global-search {
    background: linear-gradient(90deg, rgba(199, 166, 69, 0.05), rgba(5, 5, 7, 0.9));
    border-bottom: 1px solid var(--line);
}

.search-elevated {
    background: rgba(12, 13, 19, 0.85);
    border: 1px solid rgba(199, 166, 69, 0.25);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.search-suggestions {
    position: absolute;
    width: 100%;
    background: var(--panel);
    border: 1px solid rgba(199, 166, 69, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 6px;
    z-index: 1030;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
}

.search-wrapper {
    position: relative;
}

.search-suggestion {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    border: 1px solid transparent;
}

.search-suggestion:hover {
    background: rgba(199, 166, 69, 0.08);
    border-color: rgba(199, 166, 69, 0.18);
}

.search-suggestion small {
    color: var(--text-secondary);
}

.theme-light .global-search {
    background: linear-gradient(90deg, rgba(184, 145, 31, 0.06), rgba(255, 255, 255, 0.9));
}

.theme-light .search-elevated {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(184, 145, 31, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card .btn-sm {
    font-size: 0.85rem;
}

.media-frame {
    background: linear-gradient(120deg, rgba(199, 166, 69, 0.08), rgba(12, 13, 19, 0.85));
    border: 1px solid rgba(199, 166, 69, 0.15);
    border-radius: var(--radius);
    padding: 10px;
}

.product-media img,
.media-frame img {
    width: 100%;
    object-fit: cover;
    max-height: 340px;
}

.product-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 16px;
    margin-bottom: 12px;
}

.product-list .thumb {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.05);
}

.product-list h6 {
    color: var(--text-primary);
}

.product-list .meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-list .tags {
    gap: 6px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(199, 166, 69, 0.04);
}

.filter-check input {
    accent-color: var(--gold);
}

.filter-check label {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown-menu {
    position: absolute;
    inset: auto 0 0 0;
    transform: translateY(105%);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 20;
}

.filter-dropdown-menu .form-control {
    color: var(--text-primary);
}

.filter-dropdown-menu .form-control::placeholder {
    color: var(--text-secondary);
}

.compare-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 16px;
    height: 100%;
}

.compare-card h6 {
    color: var(--text-primary);
}

.compare-card .meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .topbar {
        gap: 0.5rem;
    }
    .navbar .btn {
        width: 100%;
    }
    .input-group-lg .form-control {
        font-size: 1rem;
    }
    .global-search {
        padding: 12px 16px;
    }
    .search-suggestions {
        position: fixed;
        left: 10px;
        right: 10px;
        width: auto;
        top: 140px;
        max-height: 60vh;
    }
    .search-wrapper {
        position: static;
    }
    .media-frame {
        padding: 8px;
    }
}
