:root {
    --ink: #07080b;
    --ink-2: #0d1016;
    --panel: #13171f;
    --panel-2: #1b212c;
    --line: #2c3444;
    --sand: #f4efe4;
    --mist: #c8c2b4;
    --gold: #e3b34a;
    --gold-2: #f3d28a;
    --font: "Outfit", system-ui, sans-serif;
    --display: "Barlow Condensed", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--sand);
    font-family: var(--font);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }

.display {
    font-family: var(--display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.gold-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
    border-bottom: 1px solid var(--line);
    background: var(--ink-2);
    color: var(--mist);
    font-size: 12px;
}
.topbar-inner, .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-inner { padding: 8px 0; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(44, 52, 68, 0.8);
    background: rgba(7, 8, 11, 0.92);
    backdrop-filter: blur(12px);
}
.nav-inner { padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.mark {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--gold); color: var(--ink);
    display: grid; place-items: center;
    font-family: var(--display); font-size: 22px; font-weight: 800;
}
.brand-name { display: block; font-size: 26px; line-height: 1; }
.brand-sub { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--mist); }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--mist); }
.nav-links a:hover { color: var(--gold); }
.basket-btn {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
}
.basket-count {
    margin-left: 8px;
    background: var(--gold);
    color: var(--ink);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}
.mobile-nav {
    display: none;
    gap: 16px;
    overflow: auto;
    border-top: 1px solid var(--line);
    padding: 12px 16px;
    color: var(--mist);
    font-size: 14px;
}
.flash {
    border-bottom: 1px solid rgba(227, 179, 74, 0.3);
    background: rgba(227, 179, 74, 0.1);
    color: var(--gold-2);
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

.hero { position: relative; overflow: hidden; min-height: 78vh; display: grid; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 12%, rgba(7,8,11,.78), rgba(7,8,11,.18)); }
.hero-grid {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    padding: 88px 0;
    align-items: center;
}
.hero h1 { font-size: clamp(48px, 8vw, 76px); line-height: 0.95; margin-top: 10px; max-width: 12ch; }
.lede { margin-top: 22px; max-width: 38rem; font-size: 18px; line-height: 1.7; color: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; padding: 12px 22px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-sand { background: var(--sand); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--sand); border: 1px solid rgba(244,239,228,.3); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn:hover { filter: brightness(1.06); }
.glass {
    border: 1px solid var(--line);
    background: rgba(19, 23, 31, 0.82);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(10px);
}
.glass ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--mist); }
.glass li { margin: 0 0 14px; }
.gold { color: var(--gold); }
.gold-2 { color: var(--gold-2); }
.mist { color: var(--mist); }

.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.band { border-block: 1px solid var(--line); background: var(--panel); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 56px 0; }

.card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 24px;
}
.card img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s ease; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 20px; }
.sku { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.price-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 16px; }
.price { font-size: 20px; font-weight: 600; color: var(--gold-2); }
.compare { font-size: 12px; color: var(--mist); text-decoration: line-through; }
.muted { color: var(--mist); }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; align-items: start; }
.product-photo { overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); align-self: start; position: sticky; top: 100px; }
.product-photo img { width: 100%; height: auto; }
.feature-list { list-style: none; padding: 0; margin: 40px 0 0; }
.feature-list li { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.desc-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 48px; }
.panel, .panel-2 {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
}
.panel { background: var(--panel); }
.panel-2 { background: var(--panel-2); }
.spec { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; font-size: 14px; }

.cart-layout, .checkout-layout { display: grid; gap: 32px; margin-top: 32px; }
.cart-layout { grid-template-columns: 2fr 1fr; }
.checkout-layout { grid-template-columns: 3fr 2fr; }
.line-item { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); background: var(--panel); border-radius: 24px; margin-bottom: 16px; }
.line-item img { width: 112px; height: 112px; object-fit: cover; border-radius: 16px; }
.grow { flex: 1; }

.input, .qty {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #0b0e14;
    color: var(--sand);
    padding: 12px 16px;
    font: inherit;
}
.qty { width: 88px; }
.input:focus, .qty:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,179,74,.18); }
.form-stack { display: grid; gap: 14px; }
.alert {
    margin-top: 24px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(227,179,74,.4);
    background: rgba(227,179,74,.1);
    color: var(--gold-2);
}
.alert-error { border-color: rgba(248,113,113,.4); background: rgba(239,68,68,.12); color: #fecaca; }
.center { text-align: center; padding: 80px 0; }
.prose { max-width: 760px; margin: 64px auto; }
.prose p { color: var(--mist); line-height: 1.8; }
.inline-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 16px 0 0; color: var(--mist); }
.footer-grid li { margin: 0 0 8px; }
.legal { border-top: 1px solid var(--line); padding: 18px 16px; text-align: center; color: var(--mist); font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 960px) {
    .nav-links, .hide-sm { display: none; }
    .mobile-nav { display: flex; }
    .hero-grid, .grid-4, .grid-3, .product-layout, .desc-grid, .cart-layout, .checkout-layout, .steps, .footer-grid {
        grid-template-columns: 1fr;
    }
    .grid-2 { grid-template-columns: 1fr; }
}
@media (min-width: 700px) and (max-width: 960px) {
    .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
}
