:root {
  --bg: #0b0b0a;
  --bg-2: #141412;
  --card: #171715;
  --line: #2a2823;
  --text: #f1ece2;
  --muted: #a49d8f;
  --gold: #c9a35b;
  --gold-2: #e2c48a;
  --red: #b3261e;
  --green: #5bbf7a;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.muted { color: var(--muted); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(11, 11, 10, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--gold); line-height: 1;
}
.brand-mark i { font-style: normal; display: inline-block; transform: skewX(-12deg); margin: 0 1px; }
.brand-mark.small { font-size: 22px; }
.brand-sub {
  font-size: 10px; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.topnav { display: flex; gap: 28px; margin-left: auto; }
.topnav a { text-decoration: none; font-size: 14px; color: var(--muted); }
.topnav a:hover { color: var(--text); }
.cart-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
}
.cart-btn:hover { border-color: var(--gold); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--gold); color: #111; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-2); }
.btn-gold:disabled { opacity: .6; cursor: wait; }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn.wide { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('/static/img/site/hero-box.jpg') 85% center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,11,10,.92) 0%, rgba(11,11,10,.7) 38%, rgba(11,11,10,0) 70%),
              linear-gradient(0deg, var(--bg) 0%, rgba(11,11,10,0) 25%);
}
.hero-inner { position: relative; padding: 80px clamp(16px, 6vw, 96px); max-width: 720px; }
.lead { font-size: 18px; color: #d8d1c3; max-width: 480px; margin: 22px 0 32px; }
.lead b { color: var(--gold-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.status.is-open i { background: var(--green); box-shadow: 0 0 0 4px rgba(91,191,122,.18); }

/* ---------- sections ---------- */
.section { padding: 88px clamp(16px, 4vw, 48px); max-width: 1280px; margin: 0 auto; }
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head p.muted { margin: 14px 0 0; }

.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price b { font-size: 18px; font-weight: 700; }

/* sets */
.sets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.set-card {
  display: grid; grid-template-columns: 44% 1fr;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.set-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.set-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.set-body h3 { font-size: 26px; line-height: 1.15; }
.set-body p { margin: 0; font-size: 13.5px; color: var(--muted); }

button.set-photo {
  position: relative; display: block; padding: 0; border: 0; background: var(--bg-2); overflow: hidden; cursor: zoom-in;
}
button.set-photo img { transition: transform .5s ease; }
button.set-photo:hover img { transform: scale(1.04); }
button.set-photo:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.set-photo-count {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: rgba(11,11,10,.72); backdrop-filter: blur(6px); border: 1px solid rgba(201,163,91,.35);
  color: var(--gold-2); font-size: 12px; font-weight: 600;
}

/* set photo carousel */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: rgba(8, 8, 7, .96);
  animation: fade .2s ease-out;
}
@keyframes fade { from { opacity: 0; } }
.lightbox-head {
  display: flex; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
}
.lightbox-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold-2); line-height: 1.2; }
.lightbox-count { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lightbox-track {
  flex: 1; min-height: 0;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none;
}
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-track figure {
  flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; align-items: center; justify-content: center; padding: 0 clamp(16px, 8vw, 96px);
}
.lightbox-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(11,11,10,.7); color: var(--gold-2);
  font-size: 30px; line-height: 1; padding-bottom: 4px;
}
.lb-nav:hover:not(:disabled) { border-color: var(--gold); }
.lb-nav:disabled { opacity: .25; cursor: default; }
.lb-nav.prev { left: clamp(10px, 2vw, 32px); }
.lb-nav.next { right: clamp(10px, 2vw, 32px); }
.lightbox-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 max(18px, env(safe-area-inset-bottom)); }
.lightbox-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #4a463e; transition: width .2s, background .2s; }
.lightbox-dots button.active { width: 22px; background: var(--gold); }

/* menu */
.cat-tabs {
  position: sticky; top: 69px; z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * clamp(16px, 4vw, 48px)) 24px; padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(11, 11, 10, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a {
  flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; text-decoration: none; color: var(--muted); white-space: nowrap;
}
.cat-tabs a:hover { color: var(--text); }
.cat-tabs a.active { background: var(--gold); border-color: var(--gold); color: #111; font-weight: 600; }
.cat { padding-top: 24px; }
.cat-title { font-size: 30px; margin-bottom: 20px; }
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 32px; }
.item {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.item-photo { position: relative; background: var(--bg-2); aspect-ratio: 4 / 3; }
.item-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(11,11,10,.75); color: var(--gold-2); font-size: 11px; font-weight: 600; letter-spacing: .06em;
}
.item-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px; }
.item-body h4 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.desc {
  margin: 0 0 6px; font-size: 13px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.item.is-out { opacity: .5; }
.soldout { font-size: 13px; color: var(--muted); }

.add-btn {
  height: 38px; padding: 0 20px; border-radius: 999px;
  background: transparent; border: 1px solid var(--gold); color: var(--gold-2); font-weight: 600;
}
.add-btn:hover { background: var(--gold); color: #111; }
.stepper {
  display: inline-flex; align-items: center; height: 38px; border-radius: 999px; background: var(--gold); color: #111;
}
.stepper button { width: 38px; height: 38px; border: 0; background: none; font-size: 18px; font-weight: 700; }
.stepper span { min-width: 18px; text-align: center; font-weight: 700; }

/* info */
.info { position: relative; max-width: none; }
.info::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(11,11,10,.82), rgba(11,11,10,.92)), var(--photo) center / cover;
}
.info-grid {
  position: relative; max-width: 1184px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.info h3 { font-size: 24px; color: var(--gold); margin-bottom: 10px; }
.info p { margin: 0 0 8px; }
.info .muted { font-size: 13.5px; }
.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.apps .btn { height: 42px; padding: 0 18px; font-size: 14px; }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 28px clamp(16px, 4vw, 48px) 110px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-links { margin-left: auto; display: flex; gap: 18px; }

/* ---------- cart bar & drawer ---------- */
.cart-bar {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  transform: translateX(-50%);
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  width: min(520px, calc(100% - 32px)); height: 56px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--gold); color: #111; font-size: 15px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(460px, 100%); display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--line);
  animation: slide .25s ease-out;
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 22px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 32px; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-list img, .cart-list li > span { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--card); }
.cart-list b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cart-list small { color: var(--muted); }
.cart-list .stepper, .cart-list .add-btn { height: 34px; }
.cart-list .stepper button { width: 32px; height: 34px; }
.empty { color: var(--muted); padding: 24px 0; }
.totals { padding: 14px 0; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.totals .grand { color: var(--text); font-size: 18px; font-weight: 700; padding-top: 10px; }
.hint { font-size: 13px; color: var(--gold-2); margin: 8px 0 0; }
.hint.center { text-align: center; color: var(--muted); }

.checkout { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkout h3 { font-size: 22px; }
.checkout label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.checkout small { color: #6f695e; }
.checkout input, .checkout textarea, .checkout select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text); font: 15px var(--sans);
}
.checkout input:focus, .checkout textarea:focus, .checkout select:focus { outline: none; border-color: var(--gold); }
.pay { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.pay legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.pay label { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.pay input { width: auto; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.error { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(179,38,30,.15); color: #f2a19b; font-size: 14px; }
.closed-note { padding: 18px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.closed-note p { margin: 0 0 6px; }
.success { text-align: center; padding-top: 60px; }
.success-mark {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: #111; font-size: 34px; font-weight: 700;
}
.success h3 { font-size: 30px; margin-bottom: 10px; }
.success p { color: var(--muted); margin-bottom: 28px; }

/* ---------- responsive ---------- */
/* phones and tablets: box photo on top, text below it */
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: min(96vw, 560px); align-items: flex-end; }
  .hero-bg {
    background: url('/static/img/site/hero-box-mobile.jpg') center top / min(100%, 600px) auto no-repeat, #060606; /* same black as the photo */
  }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 30%, rgba(11,11,10,.6) 52%, rgba(11,11,10,0) 75%); }
  .hero-inner { padding-top: 0; }
}
@media (max-width: 960px) {
  .sets-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 120px; }
  .topnav { display: none; }
  .cart-btn { margin-left: auto; }
  .brand-mark { font-size: 28px; }
  .hero-inner { padding: 0 16px 48px; }
  .lead { font-size: 16px; }
  .section { padding: 64px 16px; }
  .set-card { grid-template-columns: 1fr; }
  .set-photo img { aspect-ratio: 4 / 3; }
  .lb-nav { display: none; }
  .lightbox-track figure { padding: 0 12px; }
  .lightbox-title { font-size: 18px; }
  .cat-tabs { top: 65px; }
  .items-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { margin-left: 0; }
}
.kcal { margin: -2px 0 6px; font-size: 11.5px; letter-spacing: .02em; color: #7d776b; }
