/* ==========================================================================
   B106 — sistema de diseño
   Sitio estático, sin dependencias, sin fuentes externas.
   Orden: tokens → base → layout → componentes → páginas → utilidades.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0c0a08;
  --bg-soft: #120e0a;
  --surface: #16120d;
  --surface-2: #1e1811;
  --surface-3: #271f16;
  --line: rgba(240, 167, 42, 0.16);
  --line-strong: rgba(240, 167, 42, 0.34);

  --honey: #f0a72a;
  --honey-light: #ffd479;
  --honey-deep: #c97b12;
  --honey-glow: rgba(240, 167, 42, 0.22);

  --cream: #f7efe1;
  --muted: #c3b4a1;
  --muted-2: #9d8d78;

  --ok: #4ec98b;
  --warn: #ffb4a2;

  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
  --shadow-honey: 0 22px 60px -28px rgba(240, 167, 42, 0.55);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(240, 167, 42, 0.16), transparent 62%),
    radial-gradient(700px 460px at 4% 12%, rgba(201, 123, 18, 0.10), transparent 60%),
    linear-gradient(180deg, #0c0a08 0%, #0a0806 100%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--honey-light); text-decoration: none; }
a:hover { color: var(--honey); text-decoration: underline; text-underline-offset: 3px; }

img, svg { max-width: 100%; display: block; }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li + li { margin-top: 0.35rem; }

strong { color: #fff6e6; font-weight: 650; }

::selection { background: rgba(240, 167, 42, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--honey);
  color: #17120a;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; text-decoration: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(3.2rem, 6vw, 6rem); }
.section--tight { padding-block: clamp(2.2rem, 4vw, 3.4rem); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--honey));
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ---------- 4. Botones ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  min-height: 48px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.24s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--honey-light), var(--honey) 48%, var(--honey-deep));
  --btn-fg: #201603;
  --btn-bd: transparent;
  box-shadow: var(--shadow-honey);
}
.btn--primary:hover { box-shadow: 0 26px 66px -26px rgba(240, 167, 42, 0.75); }

.btn--ghost { --btn-bd: var(--line-strong); --btn-fg: var(--cream); }
.btn--ghost:hover { --btn-bd: var(--honey); background: rgba(240, 167, 42, 0.08); }

.btn--wa {
  --btn-bg: #1f7a45;
  --btn-fg: #f2fff6;
  --btn-bd: transparent;
}
.btn--wa:hover { --btn-bg: #25914f; }

.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0.6rem 1rem; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  color: var(--honey-light);
}
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 10, 8, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; color: var(--honey-light); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 1px;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li + li { margin: 0; }
.nav__link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 550;
}
.nav__link:hover { color: var(--cream); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--honey-light); background: rgba(240, 167, 42, 0.1); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(240, 167, 42, 0.06);
  color: var(--cream);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.cart-button:hover { border-color: var(--honey); background: rgba(240, 167, 42, 0.12); }
.cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--honey);
  color: #201603;
  font-size: 0.74rem;
  font-weight: 800;
}
.cart-count[data-empty="true"] { background: var(--surface-3); color: var(--muted); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
  position: relative;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding-block: clamp(2.6rem, 5vw, 5rem) clamp(2.4rem, 5vw, 4.5rem); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
}
.hero__copy { max-width: 40ch; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--honey-light), var(--honey) 55%, var(--honey-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.hero__meta div { min-width: 100px; }
.hero__meta dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.hero__meta dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--honey-light); }

.hero__stage { position: relative; display: grid; place-items: center; }
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 167, 42, 0.24), transparent 68%);
  filter: blur(18px);
}
.hero__art { position: relative; width: min(100%, 470px); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); animation: float 9s ease-in-out infinite; }

.hero__tag {
  position: absolute;
  right: 2%;
  bottom: 4%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(22, 18, 13, 0.9);
  font-size: 0.8rem;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.hero__tag b { color: var(--honey-light); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-14px) rotate(0.4deg); }
}

/* ---------- 7. Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 167, 42, 0.045), transparent);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1.35rem;
}
.trust__item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: var(--muted); }
.trust__item svg { width: 26px; height: 26px; flex: none; color: var(--honey); }
.trust__item b { color: var(--cream); font-weight: 620; display: block; font-size: 0.92rem; }

/* ---------- 8. Productos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-grid > li { margin: 0; display: flex; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(240, 167, 42, 0.16), transparent 62%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.045) rotate(-1deg); }

.badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: var(--honey);
  color: #201603;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--soft { background: rgba(240, 167, 42, 0.14); color: var(--honey-light); border: 1px solid var(--line-strong); }

.card__body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card__kicker { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.card__title { font-size: 1.12rem; margin: 0; }
.card__title a { color: inherit; }
.card__sub { font-size: 0.85rem; color: var(--muted); margin: 0; }
.card__short { font-size: 0.9rem; color: var(--muted); margin: 0.15rem 0 0.2rem; }

.card__foot { margin-top: auto; padding-top: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price__now { font-family: var(--font-display); font-size: 1.28rem; color: var(--cream); }
.price__was { font-size: 0.78rem; color: var(--muted-2); text-decoration: line-through; }

.card__add {
  --size: 46px;
  width: var(--size); height: var(--size);
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(240, 167, 42, 0.08);
  color: var(--honey-light);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.card__add:hover { background: var(--honey); color: #201603; transform: scale(1.06); }
.card__add svg { width: 20px; height: 20px; }

.card__link { font-size: 0.84rem; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.card__link:hover { color: var(--honey-light); text-decoration: underline; text-underline-offset: 3px; }

.card__title-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.card__title-btn:hover { color: var(--honey-light); }

.cart-list { list-style: none; padding: 0; margin: 0; }

.btn[data-empty="true"] { opacity: 0.45; pointer-events: none; }

/* Filtros de catálogo */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover { color: var(--cream); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--honey); border-color: var(--honey); color: #201603; }

.search {
  position: relative;
  flex: 1 1 220px;
  max-width: 320px;
  margin-left: auto;
}
.search input {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.9rem 0.6rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--cream);
  font: inherit;
  font-size: 0.92rem;
}
.search input::placeholder { color: var(--muted-2); }
.search svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }

.sort select {
  min-height: 44px;
  padding: 0.5rem 2rem 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--cream);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 51%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.empty-state h3 { color: var(--cream); }

/* ---------- 9. Split / proceso ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.15rem; }
.steps li {
  position: relative;
  padding-left: 3.1rem;
  margin: 0;
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: -0.1rem;
  width: 2.2rem; height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--honey);
  background: rgba(240, 167, 42, 0.06);
}
.steps h3 { font-size: 1.06rem; margin-bottom: 0.25rem; }
.steps p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- 10. Testimonios ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}
.quote {
  margin: 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.quote blockquote { margin: 0 0 0.9rem; font-size: 0.98rem; color: var(--cream); }
.quote blockquote::before { content: "“"; color: var(--honey); font-family: var(--font-display); font-size: 1.6rem; line-height: 0; margin-right: 2px; }
.quote figcaption { font-size: 0.82rem; color: var(--muted-2); }
.quote figcaption b { color: var(--muted); }

.stars { color: var(--honey); letter-spacing: 0.12em; font-size: 0.9rem; margin-bottom: 0.6rem; }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; gap: 0.7rem; max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.15rem 1.1rem;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 620;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--honey);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 220px at 88% 10%, rgba(240, 167, 42, 0.22), transparent 65%),
    linear-gradient(140deg, var(--surface-2), var(--bg-soft));
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.cta-band h2 { margin-bottom: 0.3rem; }
.cta-band p { color: var(--muted); max-width: 48ch; }

/* ---------- 13. Footer ---------- */
.site-footer {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(240, 167, 42, 0.035));
  padding-block: clamp(2rem, 4vw, 3rem) 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.site-footer h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a, .site-footer p { color: var(--muted); font-size: 0.92rem; }
.footer-note {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ---------- 14. Drawer del carrito ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}
.drawer[data-open="true"] { visibility: visible; pointer-events: auto; }
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, 0.72);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  backdrop-filter: blur(3px);
}
.drawer[data-open="true"] .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px -40px #000;
  transform: translateX(102%);
  transition: transform 0.32s var(--ease);
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-size: 1.2rem; margin: 0; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.icon-btn:hover { color: var(--cream); border-color: var(--line-strong); }

.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.1rem 1.25rem 1.3rem; background: var(--surface); }

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__img { width: 64px; height: 64px; border-radius: 12px; background: var(--surface-2); padding: 4px; object-fit: contain; }
.cart-item__name { font-size: 0.94rem; font-weight: 600; margin: 0; color: var(--cream); }
.cart-item__meta { font-size: 0.78rem; color: var(--muted-2); margin: 0.1rem 0 0.45rem; }
.cart-item__price { font-size: 0.86rem; color: var(--honey-light); }
.cart-item__side { text-align: right; }

/* El atributo hidden debe ganar a los display:flex de las rejillas */
[hidden] { display: none !important; }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}
.qty button {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.qty button:hover { background: rgba(240, 167, 42, 0.14); color: var(--honey-light); }
.qty output { min-width: 22px; text-align: center; font-size: 0.85rem; }

.totals { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; font-size: 0.92rem; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals div[data-total] { color: var(--cream); font-size: 1.08rem; font-family: var(--font-display); border-top: 1px solid var(--line); padding-top: 0.5rem; margin-top: 0.3rem; }

.ship-progress { margin-bottom: 0.9rem; font-size: 0.8rem; color: var(--muted); }
.ship-progress__bar { height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 0.4rem; }
.ship-progress__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--honey-deep), var(--honey-light)); transition: width 0.4s var(--ease); }

/* ---------- 15. Dialog producto ---------- */
dialog.product {
  width: min(880px, 94vw);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  color: var(--cream);
  box-shadow: 0 40px 120px -40px #000;
}
dialog.product::backdrop { background: rgba(4, 3, 2, 0.76); backdrop-filter: blur(4px); }
.product__grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.product__media {
  display: grid;
  place-items: center;
  padding: 1.4rem;
  background: radial-gradient(circle at 50% 45%, rgba(240, 167, 42, 0.16), transparent 62%), var(--surface);
  border-right: 1px solid var(--line);
}
.product__media img { width: 100%; max-width: 330px; }
.product__body { padding: clamp(1.2rem, 3vw, 2rem); }
.product__close { position: absolute; top: 0.8rem; right: 0.8rem; }
.product__price { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.6rem 0 1rem; }
.product__price .price__now { font-size: 1.7rem; }
.product__notes { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.product__notes li {
  margin: 0;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--muted);
  background: rgba(240, 167, 42, 0.05);
}
.product__desc { color: var(--muted); font-size: 0.95rem; }
.product__actions { display: flex; gap: 0.6rem; margin-top: 1.2rem; flex-wrap: wrap; }

/* ---------- 16. Formularios / pedido ---------- */
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--cream); }
.field .hint { font-size: 0.78rem; color: var(--muted-2); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--cream);
  font: inherit;
  font-size: 0.95rem;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--honey); outline: none; box-shadow: 0 0 0 3px rgba(240, 167, 42, 0.16); }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: #e2725b; }
.field .error { font-size: 0.8rem; color: var(--warn); min-height: 1em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field .check { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 500; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.field .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--honey); flex: none; }
.field .check a { color: var(--honey-light); text-decoration: underline; text-underline-offset: 2px; }

.summary-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.7rem; }
.summary-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--muted); margin: 0; }
.summary-list b { color: var(--cream); font-weight: 600; }

.notice {
  display: flex;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(240, 167, 42, 0.06);
  font-size: 0.86rem;
  color: var(--muted);
}
.notice svg { width: 20px; height: 20px; color: var(--honey); flex: none; margin-top: 2px; }

/* ---------- 17. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translate(-50%, 130%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: min(420px, calc(100% - 2rem));
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #201a12;
  color: var(--cream);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition: transform 0.32s var(--ease);
}
.toast[data-show="true"] { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--ok); }

/* ---------- 18. Página interior ---------- */
.page-hero { padding-block: clamp(2.4rem, 5vw, 4rem) 1.5rem; }
.page-hero p { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.breadcrumb { font-size: 0.8rem; color: var(--muted-2); margin-bottom: 0.9rem; }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--honey-light); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; background: var(--surface); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--honey-light); line-height: 1; }
.stat span { font-size: 0.82rem; color: var(--muted-2); }

.prose { max-width: 68ch; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.2rem); }
.legal-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.legal-toc li { counter-increment: toc; margin: 0; }
.legal-toc a { display: block; padding: 0.35rem 0 0.35rem 1.9rem; position: relative; font-size: 0.86rem; color: var(--muted); border-radius: 8px; }
.legal-toc a::before { content: counter(toc) "."; position: absolute; left: 0.4rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: var(--honey-light); background: rgba(240, 167, 42, 0.06); text-decoration: none; }

.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--cream); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .hero__stage { order: -1; }
  .hero__art { width: min(78%, 380px); }
  .hero__copy { max-width: none; }
  .split, .order-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 0.6rem var(--gutter) 1rem;
    background: rgba(12, 10, 8, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav__link { padding: 0.85rem 0.9rem; border-radius: 12px; font-size: 1rem; }
  .cart-button span.cart-button__label { display: none; }
  .product__grid { grid-template-columns: 1fr; }
  .product__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .product__media img { max-width: 240px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search { max-width: none; margin-left: 0; }
  .toolbar { align-items: stretch; }
}

/* ---------- 20. Preferencias ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .drawer, .toast, .site-footer, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  a { color: #000; text-decoration: underline; }
}
