:root {
    --onyx: #0D0D0F;
    --gold: #C9A227;
    --champagne: #E8D9B5;
    --burgundy: #6E1423;
    --ivory: #F8F6F1;
    --charcoal: #262626;

    --bs-body-font-family: 'Jost', sans-serif;
    --bs-body-color: var(--charcoal);
    --bs-body-bg: var(--ivory);

    --bs-btn-border-radius: 6px;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--charcoal);
    background: var(--ivory);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

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

a {
    color: var(--onyx);
    text-decoration: none;
}

.text-gold { color: var(--gold) !important; }
.bg-onyx { background: var(--onyx) !important; }
.text-champagne { color: var(--champagne) !important; }
.text-burgundy { color: var(--burgundy) !important; }

.section-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: .5rem;
}
.section-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    border: none;
    margin: 0 0 2rem;
}
.section-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    --bs-btn-border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    font-weight: 500;
    padding: .65rem 1.5rem;
}
.btn-gold {
    --bs-btn-color: var(--onyx);
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-color: var(--gold);
    --bs-btn-hover-bg: var(--onyx);
    --bs-btn-hover-border-color: var(--onyx);
    --bs-btn-active-bg: var(--onyx);
    --bs-btn-active-color: var(--gold);
}
.btn-outline-gold {
    --bs-btn-color: var(--champagne);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-color: var(--onyx);
    --bs-btn-hover-bg: var(--gold);
    --bs-btn-hover-border-color: var(--gold);
}
.btn-outline-onyx {
    --bs-btn-color: var(--onyx);
    --bs-btn-border-color: var(--onyx);
    --bs-btn-hover-color: var(--ivory);
    --bs-btn-hover-bg: var(--onyx);
    --bs-btn-hover-border-color: var(--onyx);
}

/* Navbar */
.navbar-imperial {
    background: var(--onyx);
}
.navbar-imperial .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--ivory);
    font-size: 1.4rem;
    letter-spacing: .03em;
}
.navbar-imperial .navbar-brand span { color: var(--gold); }
.navbar-imperial .nav-link {
    color: var(--champagne);
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: .08em;
    padding: .5rem 1rem !important;
}
.navbar-imperial .nav-link:hover,
.navbar-imperial .nav-link.active {
    color: var(--gold);
}
.cart-icon-wrap {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--gold);
    color: var(--onyx);
    font-size: .68rem;
    font-weight: 600;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero */
.hero {
    background: linear-gradient(120deg, var(--onyx) 55%, var(--charcoal) 100%);
    color: var(--ivory);
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--ivory);
}
.hero .lead { color: var(--champagne); }
.hero-watermark {
    position: absolute;
    top: 50%;
    left: -2vw;
    transform: translateY(-50%);
    font-family: 'Playfair Display', serif;
    font-size: min(48vw, 32rem);
    line-height: 1;
    color: rgba(248,246,241,.035);
    pointer-events: none;
    user-select: none;
}
.hero-watch {
    max-width: 320px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}

/* Marquee */
.marquee-strip {
    background: var(--charcoal);
    color: var(--champagne);
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(201,162,39,.25);
}
.marquee-track {
    display: inline-flex;
    animation: marquee 32s linear infinite;
    padding: .6rem 0;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .12em;
}
.marquee-track span { padding-right: 1rem; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* Cards */
.card-imperial {
    background: #fff;
    border: 1px solid rgba(13,13,15,.08);
    border-radius: 4px;
    transition: border-color .2s ease;
    height: 100%;
}
.card-imperial:hover {
    border-color: var(--gold);
}
.card-imperial .card-img-wrap {
    aspect-ratio: 1 / 1;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-imperial .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}
.product-image-wrap {
    position: relative;
    border: 1px solid rgba(13,13,15,.08);
    background:
        radial-gradient(circle at 30% 20%, rgba(201,162,39,.06), transparent 55%),
        var(--ivory);
    padding: 2.5rem;
}
.product-image-wrap .ref-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: .78rem;
    color: rgba(13,13,15,.4);
    letter-spacing: .04em;
}

.eyebrow {
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .1em;
    color: var(--gold);
    font-weight: 500;
}
.price-gold {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.badge-limited {
    background: var(--burgundy);
    color: var(--ivory);
    text-transform: uppercase;
    font-size: .65rem;
    letter-spacing: .08em;
    border-radius: 3px;
    padding: .3rem .55rem;
}

/* Category card */
.category-card {
    background: var(--onyx);
    color: var(--ivory);
    border-radius: 4px;
    padding: 2.5rem 1.75rem;
    height: 100%;
    border: 1px solid transparent;
    transition: border-color .2s ease;
}
.category-card:hover { border-color: var(--gold); }
.category-card h3 { color: var(--champagne); }
.category-card p { color: rgba(248,246,241,.7); }
.category-card .icon-line {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.25rem;
}
.category-card { position: relative; overflow: hidden; }
.category-card .category-num {
    position: absolute;
    top: -.5rem;
    right: .75rem;
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: rgba(248,246,241,.06);
    line-height: 1;
}

/* Trust row */
.trust-item { text-align: center; padding: 1rem; }
.trust-item .trust-icon {
    width: 52px; height: 52px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    color: var(--gold);
}

/* Footer */
.footer-imperial {
    background: var(--onyx);
    color: rgba(248,246,241,.75);
}
.footer-imperial h5 { color: var(--champagne); }
.footer-imperial a { color: rgba(248,246,241,.75); }
.footer-imperial a:hover { color: var(--gold); }
.footer-imperial hr { border-color: rgba(248,246,241,.15); }

/* Forms */
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(201,162,39,.15);
}

/* Chips (shop filter) */
.chip {
    display: inline-block;
    padding: .4rem 1rem;
    border: 1px solid var(--onyx);
    border-radius: 20px;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--onyx);
    margin: 0 .4rem .5rem 0;
}
.chip.active, .chip:hover {
    background: var(--onyx);
    color: var(--gold);
}

/* Variant chips */
.variant-chip {
    border: 1px solid var(--onyx);
    padding: .45rem 1rem;
    border-radius: 4px;
    font-size: .85rem;
    cursor: pointer;
    margin: 0 .5rem .5rem 0;
    display: inline-block;
}
.variant-chip.active {
    background: var(--onyx);
    color: var(--gold);
    border-color: var(--onyx);
}

/* Spec list */
.spec-list { border-top: 1px solid rgba(13,13,15,.1); }
.spec-list dt {
    color: var(--charcoal);
    opacity: .65;
    font-size: .85rem;
}
.spec-list dd { font-weight: 500; }

/* Timeline */
.status-timeline {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.status-timeline li {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(38,38,38,.4);
}
.status-timeline li::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d9d3c4;
    margin: 0 auto .6rem;
}
.status-timeline li::after {
    content: '';
    position: absolute;
    top: 6px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #d9d3c4;
    z-index: -1;
}
.status-timeline li:first-child::after { display: none; }
.status-timeline li.done { color: var(--onyx); }
.status-timeline li.done::before { background: var(--gold); }
.status-timeline li.done::after { background: var(--gold); }
.status-timeline li.cancelled { color: var(--burgundy); }
.status-timeline li.cancelled::before { background: var(--burgundy); }

.stock-urgency { color: var(--burgundy); font-size: .85rem; }

.sticky-checkout-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--onyx);
    padding: .75rem 1rem;
    z-index: 1030;
    display: none;
}
