:root{
  --bg:#070707;
  --gold:#d9ab4b;
  --gold-text:#e3b955;
  --line:#2e2c28;
  --muted:#8c8c8c;
  --font:"Inter","Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:#000;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:#fff;font-family:var(--font);line-height:1.2}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

.page{max-width:1536px;margin:0 auto;background:var(--bg);position:relative}

.preview-banner{background:#1a1408;color:#d9ab4b;font-size:12px;letter-spacing:.04em;text-align:center;padding:6px 12px}

.compare .preview-banner{display:none}

/* ---------- Header (67px) ---------- */
.header{height:67px;background:#000;display:flex;align-items:center;padding:0 46px 0 50px;position:relative;z-index:5}
.icon-btn{display:grid;place-items:center;color:#fff;position:relative}
.menu-btn svg{width:30px;height:22px}
.menu-btn svg path{stroke-width:2}
.nav{display:flex;align-items:center;gap:60px;margin-left:80px;font-size:17px;font-weight:600;text-transform:uppercase;letter-spacing:.01em}
.nav a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.nav .chev{width:11px;height:8px;stroke-width:1.8}
.nav .sale{color:var(--gold-text);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
.header-tools{margin-left:auto;display:flex;align-items:center;gap:34px}
.header-tools svg{width:28px;height:28px}
.bag .badge{position:absolute;top:-9px;right:-12px;min-width:20px;height:20px;border-radius:10px;background:#d6b460;color:#000;font-size:12px;font-weight:700;display:grid;place-items:center}

/* ---------- Hero (to y=492 => 425px tall) ---------- */
.hero{position:relative;height:425px;overflow:hidden;background:#070707}
.hero-img{position:absolute;right:0;top:0;height:425px;width:auto;max-width:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 130px);mask-image:linear-gradient(90deg,transparent 0,#000 130px)}
.hero-copy{position:absolute;left:0;top:0;width:700px;height:100%}
.eyebrow{position:absolute;left:116px;top:50px;font-size:21px;font-weight:600;letter-spacing:.5em;text-transform:uppercase;white-space:nowrap}
.hero h1{position:absolute;left:35px;top:83px;width:640px;line-height:0}
.hero h1 img{width:640px;height:auto}
.hero-cats{position:absolute;left:72px;top:305px;display:flex;gap:16px;font-size:15px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;white-space:nowrap}
.hero-cats span{opacity:.8}
.hero-actions{position:absolute;left:69px;top:346px;display:flex;gap:18px}
.btn-outline{width:294px;height:54px;display:flex;align-items:center;justify-content:center;gap:14px;border:2px solid var(--gold);color:#f3cf7a;background:rgba(7,7,7,.55);font-size:20px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.btn-outline svg{width:22px;height:16px;stroke-width:2.2}
.btn-outline:hover{background:rgba(217,171,75,.16)}
.btn-gold{width:294px;height:54px;display:flex;align-items:center;justify-content:center;gap:20px;
  background:linear-gradient(100deg,#d9a748 0%,#f8cd68 45%,#c29439 100%);color:#150700;font-size:26px;font-weight:800;text-transform:uppercase;letter-spacing:.01em;
  box-shadow:0 0 0 1px rgba(255,214,120,.25)}
.btn-gold svg{width:26px;height:18px;stroke-width:2.2}
.btn-gold:hover{filter:brightness(1.06)}

/* ---------- Trust bar (to y=573 => 81px) ---------- */
.trust{height:81px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:0 36px 0 56px}
.trust-item{display:flex;align-items:center;gap:26px;justify-content:center;height:34px;position:relative}
.trust-item + .trust-item{border-left:1px solid #313131}
.trust-item svg{color:var(--gold);flex:none}
.trust-item .fill-bg{fill:var(--bg)}
.trust-item strong{display:block;font-size:17px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.trust-item span{display:block;margin-top:5px;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:#a0a0a0}

/* ---------- Categories (y=573–765 => 192px) ---------- */
.cats{display:grid;grid-template-columns:292fr 291fr 283fr 285fr 280fr;gap:13px;padding:0 20px 0 36px;height:192px}
.cat{position:relative;display:block;height:192px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#080808}
.cat img{width:100%;height:148px;object-fit:cover}
.cat::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(8,8,8,.9) 82%)}
.cat span{position:absolute;z-index:1;left:0;right:0;bottom:12px;display:flex;align-items:center;justify-content:center;gap:14px;font-size:26px;font-weight:700;text-transform:uppercase;letter-spacing:.005em}
.cat span svg{width:22px;height:16px;stroke-width:2}
.cat:hover{border-color:#6b5a2e}

/* ---------- Best sellers (heading y≈808, cards y=863) ---------- */
.best{padding:0 20px 60px 36px}
.best-head{display:flex;align-items:center;justify-content:space-between;height:46px;margin-top:34px;margin-bottom:18px}
.best-head h2{font-size:38px;font-weight:800;text-transform:uppercase;letter-spacing:.01em}
.view-all{display:inline-flex;align-items:center;gap:12px;color:var(--gold-text);font-size:18px;font-weight:600;text-transform:uppercase;text-decoration:underline;text-underline-offset:4px;margin-right:12px}
.view-all svg{width:24px;height:17px;stroke-width:2}
.grid{display:grid;grid-template-columns:288fr 284fr 283fr 283fr 284fr;gap:13px}
.card{position:relative;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#080808}
.card img{width:100%;height:auto;aspect-ratio:285/159;object-fit:cover}
.card-note{padding:14px 16px 16px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.heart{position:absolute;top:3px;right:8px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(8,8,8,.55);color:#fff}
.heart svg{width:22px;height:20px;stroke-width:1.8}
.heart[aria-pressed="true"]{color:var(--gold)}
.heart[aria-pressed="true"] svg{fill:var(--gold)}

/* ---------- Toast (preview-state notice) ---------- */
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#16120a;border:1px solid #6b5a2e;color:#f0d28a;padding:12px 20px;border-radius:8px;font-size:14px;z-index:50;max-width:calc(100% - 32px);text-align:center}

/* ---------- Narrow desktop ---------- */
@media (max-width:1400px){
  .nav{gap:36px;margin-left:50px;font-size:16px}
  .hero-img{height:425px}
}

/* ---------- Tablet (<=1100px) ---------- */
@media (max-width:1100px){
  .header{padding:0 24px}
  .nav{display:none;position:absolute;top:67px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:0;margin:0;background:#000;border-top:1px solid #1d1d1d;padding:8px 24px 18px}
  .nav.open{display:flex}
  .nav a{padding:14px 0;width:100%;font-size:17px}
  .header-tools{gap:26px}

  .hero{height:auto;display:flex;flex-direction:column}
  .hero-img{position:relative;height:auto;width:100%;max-width:none;aspect-ratio:856/425;object-fit:cover;object-position:right top;
    -webkit-mask-image:none;mask-image:none;order:1}
  .hero-copy{position:relative;order:2;width:100%;height:auto;padding:28px 32px 36px;margin-top:-40px;z-index:2;
    background:linear-gradient(180deg,rgba(7,7,7,0) 0,#070707 40px)}
  .eyebrow,.hero h1,.hero-cats,.btn-gold{position:static}
  .eyebrow{font-size:16px;letter-spacing:.42em;margin-bottom:14px}
  .hero h1{width:min(520px,100%);margin-left:-6px}
  .hero h1 img{width:100%}
  .hero-cats{margin:18px 0 22px;font-size:13px;gap:12px;flex-wrap:wrap;white-space:normal}
  .hero-actions{position:static;flex-wrap:wrap;gap:12px}
  .btn-gold{display:flex;width:260px;height:52px;font-size:22px}
  .btn-outline{width:260px;height:52px;font-size:18px}

  .trust{height:auto;grid-template-columns:1fr 1fr;row-gap:22px;padding:22px 24px}
  .trust-item{justify-content:flex-start;gap:18px;border-left:0 !important;padding-left:8%}

  /* category scroller */
  .cats{display:flex;height:auto;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 24px 6px;gap:12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .cats::-webkit-scrollbar{display:none}
  .cat{flex:0 0 250px;scroll-snap-align:start}

  .best{padding:0 24px 48px}
  .best-head h2{font-size:30px}
  .grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------- Mobile (<=640px) ---------- */
@media (max-width:640px){
  .preview-banner{font-size:11px}
  .header{padding:0 16px}
  .header-tools{gap:20px}
  .header-tools svg{width:24px;height:24px}
  /* keep the photo at or below its native size so the jewelry stays sharp */
  .hero-img{aspect-ratio:3/2;object-position:31% 0}
  .hero-copy{padding:22px 18px 30px;margin-top:-36px}
  .eyebrow{font-size:12px;letter-spacing:.4em}
  .hero h1{width:100%}
  .hero-cats{font-size:11px;letter-spacing:.16em;gap:8px}
  .hero-actions{flex-direction:column}
  .btn-gold,.btn-outline{width:100%}
  .btn-gold{font-size:20px}

  .trust{padding:18px 16px;column-gap:6px}
  .trust-item{gap:10px;padding-left:0}
  .trust-item svg{width:30px;height:30px}
  .trust-item strong{font-size:12px;letter-spacing:.04em}
  .trust-item span{font-size:10px;letter-spacing:.1em}

  .cats{padding:0 16px 6px}
  .cat{flex-basis:70vw;max-width:260px}
  .cat span{font-size:22px}

  .best{padding:0 16px 40px}
  .best-head{margin-top:28px;margin-bottom:14px}
  .best-head h2{font-size:24px}
  .view-all{font-size:14px;margin-right:0}
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .card-note{font-size:11px;padding:10px 10px 12px}
}
