:root {
  --bg: #0c0a08;
  --bg-2: #13100c;
  --surface: #1a1611;
  --surface-2: #231d16;
  --line: rgba(233, 196, 106, .14);
  --line-strong: rgba(233, 196, 106, .32);
  --gold: #d9a84a;
  --gold-light: #f2d78f;
  --gold-deep: #a9761f;
  --text: #f3ece0;
  --muted: #b3a690;
  --dim: #7d725f;
  --danger: #e2735c;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold-grad: linear-gradient(135deg, #f5dfa0 0%, #d9a84a 50%, #a9761f 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: .005em; }
[hidden] { display: none !important; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
  font-weight: 600;
}

/* ---------- Announcement + header ---------- */
.announce {
  display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap;
  font-size: .8rem; letter-spacing: .04em;
  padding: .55rem 1rem;
  background: #080706;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.announce strong { color: var(--gold-light); font-weight: 600; }
.announce .dot { color: var(--gold-deep); }

.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(12, 10, 8, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: auto; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-the { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: .95rem; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .9rem; letter-spacing: .05em; transition: color .2s; }
.nav a:hover { color: var(--gold-light); }

.cart-btn {
  display: flex; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .5rem 1rem .5rem .8rem; transition: border-color .2s, background .2s;
}
.cart-btn:hover { border-color: var(--gold); background: rgba(217, 168, 74, .08); }
.cart-btn svg { width: 20px; height: 20px; color: var(--gold-light); }
.cart-label { font-size: .9rem; }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 999px; padding: 0 6px;
  display: inline-grid; place-items: center;
  background: var(--gold-grad); color: #1a1208; font-size: .75rem; font-weight: 700;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn-gold { background: var(--gold-grad); color: #1a1208; box-shadow: 0 6px 24px -8px rgba(217, 168, 74, .55); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(217, 168, 74, .7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
  min-height: 78vh;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(217, 150, 60, .28), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(169, 118, 31, .12), transparent 70%);
}
.hero-copy { position: relative; max-width: 620px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 600; }
.hero h1 em {
  font-style: italic; font-weight: 500;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 1.4rem 0 2rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin: 2.8rem 0 0; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); font-weight: 600; line-height: 1; }
.hero-facts span { font-size: .78rem; color: var(--dim); letter-spacing: .12em; text-transform: uppercase; margin-top: .35rem; }

.hero-art { position: relative; height: 520px; }
.ha {
  position: absolute; width: 58%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.ha1 { right: 4%; top: 2%; transform: rotate(6deg); z-index: 1; aspect-ratio: 1; }
.ha2 { left: 4%; top: 12%; transform: rotate(-7deg); z-index: 2; }
.ha3 { right: 16%; bottom: 0; transform: rotate(2deg); z-index: 3; width: 50%; }

/* ---------- Shop ---------- */
.shop { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.chip {
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  padding: .5rem 1.1rem; border-radius: 999px; font-size: .85rem; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip.is-active { background: var(--gold-grad); color: #1a1208; border-color: transparent; font-weight: 600; }

.grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  max-width: 1320px; margin: 0 auto;
}
.card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(217, 168, 74, .1); }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; border: 0; padding: 0; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.badges { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .4rem; }
.badge {
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .55rem; border-radius: 999px;
  background: rgba(12, 10, 8, .78); border: 1px solid var(--line-strong); color: var(--gold-light);
  backdrop-filter: blur(6px);
}
.badge.adult { color: #f2a08c; border-color: rgba(226, 115, 92, .5); }
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.card-type { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.card-title { font-size: 1.45rem; }
.card-tagline { color: var(--muted); font-size: .9rem; margin: 0; }
.card-info {
  margin-top: .3rem; align-self: flex-start;
  background: none; border: 0; padding: 0;
  font-size: .82rem; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong);
}
.card-info:hover { color: var(--gold-light); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: 1rem; }
.price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-light); }
.add-btn { padding: .65rem 1.1rem; font-size: .82rem; }
.add-btn.added { background: #2b3d27; color: #cfe8c3; box-shadow: none; }

/* ---------- Story / pillars ---------- */
.story {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(217, 150, 60, .14), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.story-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.story-mark { width: 64px; margin: 0 auto 1.5rem; }
.story h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
.story p { color: var(--muted); font-size: 1.05rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 3.5rem auto 0; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; background: rgba(26, 22, 17, .6); }
.pillar-icon { font-size: 1.4rem; color: var(--gold); }
.pillar h3 { font-size: 1.5rem; margin: .6rem 0 .4rem; }
.pillar p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Delivery ---------- */
.delivery { padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem); }
.delivery-card {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line-strong); border-radius: 20px;
  background: linear-gradient(120deg, rgba(217, 168, 74, .12), rgba(26, 22, 17, .4) 60%);
}
.delivery-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .6rem; }
.delivery-card p { color: var(--muted); margin: 0; max-width: 560px; }
.delivery-card strong { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem clamp(1rem, 5vw, 4rem) 2rem; border-top: 1px solid var(--line);
  display: grid; gap: 1.2rem; text-align: center; justify-items: center;
}
.foot-brand { display: flex; align-items: center; gap: .9rem; text-align: left; }
.foot-brand strong { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .06em; }
.foot-brand p { margin: 0; color: var(--muted); font-size: .9rem; font-style: italic; }
.foot-note { color: var(--dim); font-size: .8rem; max-width: 640px; margin: 0; }
.foot-copy { color: var(--dim); font-size: .78rem; margin: 0; }

/* ---------- Overlays / modals ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(5, 4, 3, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 1rem;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9);
  animation: rise .25s ease;
}
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.close {
  position: absolute; top: .7rem; right: .8rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px; font-size: 1.5rem; line-height: 1;
  background: rgba(12, 10, 8, .7); border: 1px solid var(--line-strong); color: var(--text);
}
.close:hover { border-color: var(--gold); color: var(--gold-light); }

.product-modal { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm-gallery { background: #000; display: flex; flex-direction: column; }
.pm-gallery > img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; flex: 1; }
.pm-thumbs { display: flex; gap: .5rem; padding: .5rem; background: var(--bg-2); }
.pm-thumbs:empty { display: none; }
.pm-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 64px; height: 64px; background: none; }
.pm-thumbs button.is-active { border-color: var(--gold); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-body { padding: 2.2rem 2rem 2rem; display: flex; flex-direction: column; }
.pm-body h2 { font-size: 2.4rem; }
.pm-tagline { color: var(--gold-light); font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: .3rem 0 1rem; }
.pm-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.pm-meta .badge { position: static; }

.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.tab {
  background: none; border: 0; padding: .7rem 1rem; color: var(--muted);
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--gold-light); border-bottom-color: var(--gold); }
.tab-panel { color: var(--muted); min-height: 200px; }
.tab-panel p { margin: 0 0 1rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: .7rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: start; }
.steps li::before {
  content: counter(step);
  width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold-light); font-size: .78rem; font-weight: 600; margin-top: 1px;
}
.pm-buy { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pm-buy .btn { flex: 1; min-width: 160px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { background: none; border: 0; width: 34px; height: 34px; font-size: 1.1rem; color: var(--gold-light); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }

/* ---------- Cart drawer ---------- */
.drawer-overlay { place-items: stretch end; padding: 0; }
.drawer {
  width: min(440px, 100vw); height: 100%;
  background: var(--surface); border-left: 1px solid var(--line-strong);
  display: flex; flex-direction: column;
  animation: slide .28s ease;
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; }
.drawer-head h2 { font-size: 1.8rem; }
.drawer-head .close { position: static; }
.ship-progress { padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.ship-progress strong { color: var(--gold-light); }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); margin-top: .6rem; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold-grad); border-radius: 999px; transition: width .4s ease; }
.cart-items { flex: 1; overflow: auto; padding: .6rem 1.4rem; }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.cart-empty img { width: 64px; margin: 0 auto 1rem; opacity: .7; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.line h4 { margin: 0 0 .35rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.line .qty button { width: 28px; height: 28px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.line-price { font-weight: 600; color: var(--gold-light); }
.remove { background: none; border: 0; padding: 0; color: var(--dim); font-size: .78rem; text-decoration: underline; }
.remove:hover { color: var(--danger); }
.cart-summary { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); background: var(--bg-2); }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .92rem; margin-bottom: .45rem; }
.sum-row.total { color: var(--text); font-size: 1.15rem; font-weight: 600; margin: .8rem 0 1.1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.free { color: #a9d79a; font-weight: 600; }

/* ---------- Checkout ---------- */
.checkout-modal { padding: 2.2rem 2rem 2rem; }
.checkout-modal h2 { font-size: 2.2rem; margin-bottom: 1.4rem; }
.co-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.co-form { display: grid; gap: .9rem; align-content: start; }
.co-form h3, .co-summary h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.co-form label { display: grid; gap: .35rem; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.co-form input, .co-form select {
  font: inherit; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: .7rem .8rem;
}
.co-form input:focus, .co-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 168, 74, .15); }
.co-form .invalid { border-color: var(--danger); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8rem; }
.co-form label.check { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--text); letter-spacing: 0; }
.co-form label.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-error { color: var(--danger); font-size: .88rem; margin: 0; min-height: 1.2em; }
.pay-note { margin: 0; font-size: .8rem; color: var(--dim); text-align: center; }
.pay-note strong { color: var(--muted); }
.co-summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; align-self: start; }
.co-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.co-line span:first-child { color: var(--text); }
.co-line span:last-child { color: var(--gold-light); white-space: nowrap; }
.co-summary .sum-row:first-of-type { margin-top: 1rem; }

.confirm { text-align: center; padding: 2rem 1rem; max-width: 560px; margin: 0 auto; }
.confirm img { width: 84px; margin: 0 auto 1.2rem; }
.confirm h2 { margin-bottom: .6rem; }
.confirm p { color: var(--muted); }
.confirm .ref { display: inline-block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light); border: 1px solid var(--line-strong); border-radius: 10px; padding: .3rem 1rem; margin: .5rem 0 1rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 60;
  transform: translate(-50%, 200%); opacity: 0;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text);
  padding: .75rem 1.2rem; border-radius: 999px; font-size: .9rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8);
  transition: transform .3s ease, opacity .3s ease; pointer-events: none; white-space: nowrap; max-width: calc(100vw - 2rem);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 640px) { .toast { white-space: normal; text-align: center; border-radius: 16px; width: max-content; } }
.toast strong { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
  .product-modal { grid-template-columns: 1fr; }
  .pm-gallery > img { max-height: 380px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { order: -1; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .announce { gap: .2rem .6rem; font-size: .74rem; }
  .announce .dot { display: none; }
  .hero-facts { gap: 1.6rem; }
  .hero-facts strong { font-size: 1.6rem; }
  .brand-mark { width: auto; height: 42px; }
  .brand-name { font-size: 1.2rem; }
  .cart-label { display: none; }
  .hero-art { height: 300px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .9rem; }
  .card-body { padding: .9rem; }
  .card-title { font-size: 1.2rem; }
  .card-tagline { font-size: .82rem; }
  .card-foot { flex-direction: column; align-items: stretch; gap: .5rem; }
  .price { font-size: 1.35rem; }
  .pm-body { padding: 1.6rem 1.2rem 1.4rem; }
  .pm-body h2 { font-size: 2rem; }
  .checkout-modal { padding: 1.8rem 1.1rem 1.4rem; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .overlay:not(.drawer-overlay) { padding: .5rem; }
}
