/* =============================================================
   MVP Store Mx — Editorial Dark Warm · negro y dorado
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg:       #0c0b09;
  --bg-2:     #12100d;
  --bg-3:     #1a1713;
  --bg-4:     #221e18;
  --cream:    #f2ebdc;
  --cream-2:  #cfc5b1;
  --cream-3:  #8d836f;
  --gold:     #c9a45c;
  --gold-hi:  #ecd49a;
  --gold-lo:  #9c7a3a;
  --gold-grad: linear-gradient(135deg, #ecd49a 0%, #c9a45c 48%, #9c7a3a 100%);
  --wa:       #1f8f5f;
  --danger:   #e0866f;
  --line:     rgba(242, 235, 220, 0.10);
  --line-2:   rgba(242, 235, 220, 0.18);
  --line-gold: rgba(201, 164, 92, 0.35);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 72px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
  background: var(--bg);
  color-scheme: dark;
}
html.has-dialog { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.015em; font-weight: 500; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; border-radius: 10px;
  background: var(--gold); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* =============================================================
   4. Typography
   ============================================================= */
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.18); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 500; font-size: .98rem; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold {
  background: var(--gold-grad); color: #17130c;
  box-shadow: 0 10px 30px -12px rgba(201,164,92,.55), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(201,164,92,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 30px -12px rgba(31,143,95,.7); white-space: normal; text-align: center; }
.btn-wa:hover { transform: translateY(-2px); background: #23a46c; }
.btn-link { display: block; margin: .8rem auto 0; color: var(--cream-2); font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.btn-link:hover { color: var(--gold-hi); }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); color: var(--cream-2);
  transition: border-color .25s, color .25s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.icon-btn svg { width: 18px; height: 18px; }

.chip {
  padding: .5rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--cream-2); font-size: .9rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--gold); color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--bg); border-color: var(--cream); }

.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 999px; height: 42px;
}
.stepper button { width: 36px; height: 100%; font-size: 1.1rem; color: var(--cream-2); border-radius: 999px; }
.stepper button:hover { color: var(--gold-hi); }
.stepper input {
  width: 40px; height: 100%; text-align: center; background: transparent; border: 0;
  font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: -2px; }
.stepper-sm { height: 36px; }
.stepper-sm button { width: 30px; }
.stepper-sm input { width: 34px; font-size: .9rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .35s var(--ease-soft), border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 11, 9, 0.92);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(12, 11, 9, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { height: 48px; width: auto; }
.brand-logo-full { height: 84px; width: auto; }
.brand-mark {
  width: 34px; height: 34px; padding: 6px;
  border: 1px solid var(--line-gold); border-radius: 10px;
  fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
}
.brand-name { font-size: 1.05rem; letter-spacing: .02em; color: var(--cream-2); }
.brand-name strong { color: var(--cream); font-weight: 600; letter-spacing: .06em; }
.brand-mx { color: var(--gold); font-family: var(--serif); font-style: italic; }
.nav-links { display: none; gap: 2rem; font-size: .93rem; color: var(--cream-2); }
.nav-links a { position: relative; padding-block: .3rem; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  height: 44px; padding: 0 .9rem 0 .85rem; border-radius: 999px;
  border: 1px solid var(--line-gold); color: var(--cream);
  transition: border-color .25s, background-color .25s;
}
.cart-btn:hover { border-color: var(--gold); background: rgba(201,164,92,.08); }
.cart-btn svg { width: 20px; height: 20px; color: var(--gold); }
.cart-btn-label { display: none; font-size: .92rem; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--gold-grad); color: #17130c; font-size: .75rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cart-count.is-bump { animation: bump .5s var(--ease-out); }

/* ---------- Product card ---------- */
.products { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .35s, box-shadow .5s var(--ease-out);
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(201,164,92,.08);
}
.product[hidden] { display: none; }
.product-media {
  position: relative; aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(201,164,92,.16), transparent 70%),
    linear-gradient(160deg, var(--bg-4), var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.product-media::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(201,164,92,.12); border-radius: 12px; pointer-events: none;
}
.product-media svg { width: 34%; height: auto; color: var(--gold); stroke-width: 1; transition: transform .6s var(--ease-out); }
.product:hover .product-media svg { transform: scale(1.08) rotate(-3deg); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product:hover .product-media img { transform: scale(1.04); }
.product-media .product-tag { z-index: 2; }
.product-tag.is-low { background: rgba(201,164,92,.92); color: #0c0b09; border-color: transparent; font-weight: 600; }
.product.is-soldout .product-media img { filter: grayscale(.7) brightness(.55); }
.product.is-soldout .product-name, .product.is-soldout .prices { opacity: .55; }
.product.is-soldout [data-add] { background: transparent; color: var(--cream-3); border: 1px solid var(--line-2); box-shadow: none; cursor: not-allowed; }
.product-media.is-light { background: #f3f0ea; }
.product-media.is-light::after { border-color: rgba(12,11,9,.08); }
.product-media.is-dark { background: #050505; }
.product-media { overflow: hidden; }
.product-tag {
  position: absolute; top: 1.4rem; left: 1.4rem;
  padding: .25rem .65rem; border-radius: 999px;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(12,11,9,.7); border: 1px solid var(--line-gold); color: var(--gold-hi);
}
.product-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem 1.25rem 1.3rem; flex: 1; }
.product-cat { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.product-name { font-family: var(--serif); font-size: 1.22rem; line-height: 1.25; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.prices > div { padding: .6rem .75rem; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prices .is-wholesale { border-color: var(--line-gold); background: rgba(201,164,92,.06); }
.prices dt { font-size: .74rem; color: var(--cream-3); line-height: 1.3; }
.prices dt small { display: block; font-size: .7rem; color: var(--gold); }
.prices dd { font-size: 1.18rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.prices .is-wholesale dd { color: var(--gold-hi); }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.ladder li { display: flex; flex-direction: column; align-items: center; padding: .4rem .2rem; border-radius: 10px; border: 1px solid var(--line); font-size: .7rem; color: var(--cream-3); line-height: 1.3; }
.ladder strong { font-size: .86rem; font-weight: 500; color: var(--gold-hi); font-variant-numeric: tabular-nums; }

.honey-tiers { margin-top: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; border: 1px solid var(--line-gold); background: var(--bg-3); }
.honey-tiers h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.honey-tiers > p { color: var(--cream-2); margin: .4rem 0 1.2rem; }
.honey-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.honey-table th, .honey-table td { padding: .75rem .5rem; text-align: center; border-bottom: 1px solid var(--line); }
.honey-table thead th { font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.honey-table tbody th { text-align: left; font-weight: 500; color: var(--cream); }
.honey-table td { color: var(--gold-hi); font-size: 1.05rem; }
.honey-table td.is-retail { color: var(--cream-2); }
.honey-table tr:last-child th, .honey-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.size { display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-size: .85rem; color: var(--cream-3); }
.size select {
  min-height: 38px; padding: .35rem 2.2rem .35rem .9rem; border-radius: 999px;
  border: 1px solid var(--line-2); background-color: var(--bg-2); color: var(--cream);
  appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.size select:hover, .size select:focus { border-color: var(--gold); outline: none; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.product-actions .btn { flex: 1; }
.product-actions .btn.is-added { background: var(--cream); }

/* ---------- Forms ---------- */
.fields { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--cream-2); }
.field em { font-style: normal; color: var(--cream-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--cream); font-size: 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 70px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.18); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.form-error { min-height: 1.3em; margin-block: .8rem; color: var(--danger); font-size: .9rem; }

/* ---------- Summary ---------- */
.summary { display: grid; gap: .45rem; font-size: .93rem; }
.summary > div { display: flex; justify-content: space-between; gap: 1rem; color: var(--cream-2); }
.summary dd { font-variant-numeric: tabular-nums; }
.summary .is-saving dd { color: var(--gold-hi); }
.summary .is-total { margin-top: .4rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--cream); font-size: 1.1rem; font-weight: 500; }
.summary .is-total dd { font-family: var(--serif); font-size: 1.45rem; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--cream); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5, 4, 3, .72); }
@supports (backdrop-filter: blur(4px)) { dialog::backdrop { backdrop-filter: blur(6px); } }

.drawer {
  margin: 0 0 0 auto; width: min(440px, 100%); height: 100dvh;
  background: var(--bg-2); border-left: 1px solid var(--line);
}
.drawer[open] { animation: drawerIn .5s var(--ease-out); }
.drawer-inner { height: 100%; display: flex; flex-direction: column; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.drawer-foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); background: var(--bg-3); }
.drawer-foot .summary { margin-bottom: 1.1rem; }
.cart-empty { padding: 3rem 0; text-align: center; color: var(--cream-3); }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-4); border: 1px solid var(--line-gold); color: var(--gold); }
.cart-thumb svg { width: 26px; height: 26px; stroke-width: 1.2; }
.cart-info { min-width: 0; }
.cart-name { font-size: .95rem; line-height: 1.35; }
.cart-unit { font-size: .82rem; color: var(--cream-3); margin-top: .15rem; }
.cart-unit .is-ws { color: var(--gold-hi); }
.cart-nudge { font-size: .8rem; color: var(--gold); margin-top: .25rem; }
.cart-row { display: flex; align-items: center; gap: .6rem; margin-top: .55rem; }
.cart-remove { font-size: .8rem; color: var(--cream-3); text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: var(--danger); }
.cart-line-total { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.ship-hint { font-size: .85rem; color: var(--gold); margin-bottom: .8rem; }
.ship-hint:empty { display: none; }

.checkout {
  margin: auto; width: min(980px, 100% - 1.5rem); max-height: calc(100dvh - 1.5rem);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden;
}
.checkout[open] { animation: popIn .5s var(--ease-out); }
.checkout-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 1.5rem); }
.checkout-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.progress { display: flex; gap: 1.2rem; font-size: .82rem; color: var(--cream-3); }
.progress li { display: flex; align-items: center; gap: .5rem; }
.progress li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--cream-3); }
.progress li.is-current { color: var(--cream); }
.progress li.is-current::before { background: var(--gold); border-color: var(--gold); }
.progress li.is-done::before { background: var(--cream-3); }
.checkout-step { overflow-y: auto; padding: 1.4rem 1.3rem 1.8rem; }
.checkout-grid { display: grid; gap: 1.5rem; }
.ship-form h2, .done h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); }
.form-lead { color: var(--cream-2); margin: .4rem 0 1.4rem; }
.order-box { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); align-self: start; }
.order-box h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .8rem; }
.order-lines { display: grid; gap: .55rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
.order-lines li { display: flex; justify-content: space-between; gap: 1rem; color: var(--cream-2); }
.order-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--cream); }
.order-lines small { display: block; color: var(--gold); font-size: .75rem; }

.done { max-width: 620px; margin-inline: auto; text-align: center; }
.done-icon { width: 64px; height: 64px; margin: .4rem auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #17130c; }
.done-icon svg { width: 30px; height: 30px; stroke-width: 2; }
.done-icon path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .7s .25s var(--ease-out) forwards; }
.pay-total { display: flex; flex-direction: column; gap: .2rem; padding: 1.2rem; margin-bottom: 1rem; border-radius: var(--radius); border: 1px solid var(--line-gold); background: rgba(201,164,92,.07); }
.pay-total span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pay-total strong { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; }
.bank { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.3rem; }
.bank > div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.bank > div:last-child { border-bottom: 0; }
.bank > div[hidden] { display: none; }
.bank dt { font-size: .76rem; color: var(--cream-3); letter-spacing: .06em; text-transform: uppercase; }
.bank dd { display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-variant-numeric: tabular-nums; word-break: break-all; }
.copy { flex: none; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line-gold); font-size: .78rem; color: var(--gold-hi); transition: background-color .25s, color .25s; }
.copy:hover { background: rgba(201,164,92,.12); }
.copy.is-copied { background: var(--gold); color: #17130c; }
.finish-steps { counter-reset: fs; text-align: left; display: grid; gap: .6rem; margin-bottom: 1.4rem; font-size: .93rem; color: var(--cream-2); }
.finish-steps li { counter-increment: fs; display: grid; grid-template-columns: 28px 1fr; gap: .6rem; }
.finish-steps li::before { content: counter(fs); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-gold); color: var(--gold); font-size: .78rem; }
.done-foot { margin-top: 1rem; font-size: .85rem; color: var(--cream-3); }

.toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 200;
  transform: translate(-50%, 140%); opacity: 0;
  padding: .75rem 1.2rem; border-radius: 999px;
  background: var(--cream); color: var(--bg); font-size: .92rem; font-weight: 500;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.7);
  transition: transform .5s var(--ease-out), opacity .3s;
  pointer-events: none; max-width: calc(100% - 2rem); text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* =============================================================
   6. Sections
   ============================================================= */
.hero { position: relative; isolation: isolate; margin-top: calc(var(--nav-h) * -1); padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3.5rem, 8vw, 6rem); }
.hero-mesh {
  position: absolute; inset: -10% -10% 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(201,164,92,.22), transparent 70%),
    radial-gradient(35% 45% at 15% 80%, rgba(156,122,58,.16), transparent 70%),
    conic-gradient(from var(--mesh-angle) at 70% 40%, rgba(236,212,154,.08), transparent 30%, rgba(201,164,92,.10) 60%, rgba(236,212,154,.08));
  filter: blur(60px);
  animation: meshTurn 28s linear infinite;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { display: grid; gap: 3rem; align-items: center; }
.hero-title { font-family: var(--serif); font-size: clamp(2.6rem, 7.4vw, 5.4rem); line-height: 1.02; margin: 1.2rem 0 1.3rem; max-width: 14ch; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--cream-2); max-width: 46ch; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--gold-hi); }
.hero-facts span { font-size: .82rem; color: var(--cream-3); }

.hero-card { justify-self: center; width: min(400px, 100%); animation: float 7s ease-in-out infinite; }
.receipt {
  position: relative; padding: 1.6rem;
  border-radius: 24px; border: 1px solid var(--line-gold);
  background: linear-gradient(160deg, rgba(34,30,24,.95), rgba(18,16,13,.95));
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(236,212,154,.12);
}
.receipt::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--mesh-angle), transparent 0 70%, rgba(236,212,154,.8) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: meshTurn 9s linear infinite;
}
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); padding-bottom: 1rem; border-bottom: 1px dashed var(--line-2); }
.receipt-id { color: var(--gold); letter-spacing: .06em; }
.receipt-lines { display: grid; gap: .7rem; padding: 1.1rem 0; font-size: .92rem; color: var(--cream-2); }
.receipt-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.receipt-lines li span:last-child { color: var(--cream); font-variant-numeric: tabular-nums; }
.receipt-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(201,164,92,.12); color: var(--gold-hi); font-size: .8rem; }
.receipt-badge svg { width: 16px; height: 16px; stroke-width: 2; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.receipt-total span { color: var(--cream-2); }
.receipt-total strong { font-family: var(--serif); font-weight: 500; font-size: 2rem; }
.receipt-foot { margin-top: .9rem; font-size: .78rem; color: var(--cream-3); }

.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: 1fr; }
.trust-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border-bottom: 0; }
.trust-item svg { flex: none; width: 28px; height: 28px; color: var(--gold); }
.trust-item h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.trust-item p { font-size: .87rem; color: var(--cream-3); }

.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head h2 { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: .8rem; }
.section-lead { margin-top: 1rem; color: var(--cream-2); font-weight: 300; font-size: 1.05rem; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; }
.noscript-note { margin-top: 1.5rem; color: var(--gold-hi); }
.noscript-note a { text-decoration: underline; }

.tiers { display: grid; gap: 1.1rem; }
.tier { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 24px; border: 1px solid var(--line); background: var(--bg-3); display: flex; flex-direction: column; gap: .9rem; }
.tier-featured { border-color: var(--line-gold); background: radial-gradient(80% 90% at 100% 0%, rgba(201,164,92,.14), transparent 60%), var(--bg-3); }
.tier-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tier h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.tier > p { color: var(--cream-2); }
.tier .btn { align-self: flex-start; margin-top: .6rem; }
.ticks { display: grid; gap: .55rem; margin-top: .3rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--cream-2); font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: .55rem; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg) scale(.8); transform-origin: center; }
.assure { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.assure-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .8rem;
  padding: clamp(1.5rem, 4vw, 2.2rem); border: 1px solid var(--line-gold); border-radius: var(--radius);
  background: radial-gradient(80% 90% at 0% 0%, rgba(201,164,92,.10), transparent 60%), var(--bg);
}
.assure-card svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.assure-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.assure-card p { color: var(--cream-2); font-weight: 300; max-width: 46ch; }
.assure-card .btn { margin-top: auto; }
@media (min-width: 760px) { .assure { grid-template-columns: 1fr 1fr; } }

.policy { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-top: clamp(2.4rem, 6vw, 3.6rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.policy-item svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.policy-item h3 { margin-top: .7rem; font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
.policy-item p { margin-top: .35rem; font-size: .92rem; color: var(--cream-3); max-width: 40ch; }
.carriers { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.carriers li { padding: .3rem .7rem; border: 1px solid var(--line-gold); border-radius: 999px; font-size: .8rem; letter-spacing: .04em; color: var(--cream-2); }
@media (min-width: 760px) { .policy { grid-template-columns: repeat(3, 1fr); } }

.reviews { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.review {
  position: relative; display: flex; flex-direction: column; gap: .9rem; margin: 0;
  padding: clamp(1.4rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.review-stars { color: var(--gold); letter-spacing: .2em; font-size: .95rem; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--cream); }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: .1rem; font-size: .88rem; }
.review figcaption span { color: var(--cream-3); }
.review-sample {
  position: absolute; top: 1rem; right: 1rem; padding: .15rem .55rem; border-radius: 999px;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); border: 1px dashed var(--line-2);
}
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem; height: 56px; padding: 0 1.15rem 0 1rem; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 500; font-size: .92rem;
  box-shadow: 0 14px 34px -12px rgba(31,143,95,.8), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .25s var(--ease-out), background-color .25s;
}
.wa-float:hover { transform: translateY(-3px); background: #23a46c; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 640px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } }
body:has(dialog[open]) .wa-float { display: none; }
.tiers-note { margin-top: 1.6rem; color: var(--cream-2); }
.tiers-note a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }

.steps { display: grid; gap: 1.1rem; counter-reset: none; }
.step { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); transition: border-color .35s, transform .5s var(--ease-out); }
.step:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.step-num { display: block; font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; margin-bottom: 1.1rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: 0; margin-bottom: .4rem; }
.step p { color: var(--cream-3); font-size: .93rem; }

.faq-wrap { display: grid; gap: 1rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-size: 1.05rem; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-gold); color: var(--gold); font-size: 1.1rem; transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--cream-2); }

.cta { padding: clamp(4.5rem, 10vw, 7.5rem) 0; text-align: center; position: relative; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(201,164,92,.16), transparent 70%); }
.cta-inner { max-width: 760px; }
.cta h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.cta p { margin-top: 1rem; color: var(--cream-2); }
.cta .hero-actions { justify-content: center; }
.cta p.cta-lines { margin-top: 1.8rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.cta-lines + .hero-actions { margin-top: .8rem; }

.footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; background: var(--bg-2); }
.footer-inner { display: grid; gap: 1.2rem; }
.footer-text { color: var(--cream-3); font-size: .92rem; max-width: 42ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .92rem; color: var(--cream-2); }
.footer-links a:hover { color: var(--gold-hi); }
.footer-copy a { color: var(--cream-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--gold-hi); }
.form-privacy { margin: .2rem 0 .9rem; font-size: .8rem; line-height: 1.5; color: var(--cream-3); }
.form-privacy a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-social a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem .5rem .6rem;
  border: 1px solid var(--line-gold); border-radius: 999px; font-size: .88rem; color: var(--cream-2);
  transition: color .25s, border-color .25s, background-color .25s;
}
.footer-social a:hover { color: var(--gold-hi); border-color: var(--gold); background: rgba(201,164,92,.08); }
.footer-social svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-social svg .dot { fill: var(--gold); stroke: none; }
.footer-copy { padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--cream-3); }

/* =============================================================
   7. Effects
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
@keyframes meshTurn { to { --mesh-angle: 360deg; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes popIn { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .bank > div { grid-template-columns: 150px 1fr; align-items: center; }
  .cart-btn-label { display: inline; }
}
@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 1.6rem 1.4rem; border-bottom: 0; }
  .trust-item:nth-child(odd) { padding-left: 0; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-copy { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .hero-card { justify-self: end; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item, .trust-item:nth-child(odd) { padding: 1.8rem 1.4rem; border-left: 1px solid var(--line); }
  .trust-item:first-child { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .checkout-grid { grid-template-columns: 1.35fr .9fr; gap: 2rem; }
  .order-box { position: sticky; top: 0; }
  .checkout-step { padding: 2rem 2.2rem 2.4rem; }
  .checkout-head { padding: 1.1rem 2.2rem; }
}
@media (min-width: 1280px) {
  .products { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 539px) {
  .checkout { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .checkout-inner { max-height: 100dvh; height: 100%; }
  .progress { gap: .8rem; font-size: .76rem; }
  .hero-facts { gap: 1rem; }
  .hero-facts strong { font-size: 1.25rem; }
}

/* =============================================================
   9. Reduced-motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-card { animation: none; }
}
