/* ============================================================
   Calamates · estilos
   El sitio recorre un día en el desierto de Atacama:
   amanecer → día → atardecer → noche. Cada sección define su
   "fase" y los colores cambian juntos para mantener contraste.
   ============================================================ */

@property --sky-top    { syntax: "<color>"; inherits: true; initial-value: #efe2cd; }
@property --sky-bottom { syntax: "<color>"; inherits: true; initial-value: #f3d9bd; }
@property --ink        { syntax: "<color>"; inherits: true; initial-value: #3b2417; }
@property --accent     { syntax: "<color>"; inherits: true; initial-value: #9c552d; }
@property --surface    { syntax: "<color>"; inherits: true; initial-value: #f8f1e5; }

:root {
  --terra: #a65c32;
  --terra-deep: #7e3f1d;
  --cream: #ede0cc;
  --cream-2: #f8f1e5;
  --night: #140d0a;
  --muted: color-mix(in srgb, var(--ink) 68%, transparent);
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Fraunces", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;

  transition: --sky-top 1.2s, --sky-bottom 1.2s, --ink .8s, --accent .8s, --surface .8s;
}

/* ---- Fases del día ---- */
html[data-phase="amanecer"] { --sky-top: #efe2cd; --sky-bottom: #f2d3b3; --ink: #3b2417; --accent: #9c552d; --surface: #f8f1e5; }
html[data-phase="dia"]      { --sky-top: #f4ead9; --sky-bottom: #efe2cd; --ink: #33200f; --accent: #9c552d; --surface: #fbf6ee; }
html[data-phase="tarde"]    { --sky-top: #f2dcc0; --sky-bottom: #e8bd92; --ink: #2e1a0d; --accent: #8a4522; --surface: #fcf5ea; }
html[data-phase="atardecer"]{ --sky-top: #e7a577; --sky-bottom: #b8603a; --ink: #26130a; --accent: #5a2711; --surface: #fbeee0; }
html[data-phase="noche"]    { --sky-top: #0f0a08; --sky-bottom: #2a1a13; --ink: #f0e2cc; --accent: #e7b287; --surface: #221712; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sky-top);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Logos: terracota en fondos claros, crema en fondos oscuros */
.ink-light { display: none; }
html[data-phase="noche"] .ink-dark { display: none; }
html[data-phase="noche"] .ink-light { display: block; }

/* ============ Cielo ============ */
.sky {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s; }
html[data-phase="noche"] #stars { opacity: 1; }
.celestial {
  position: absolute; width: 90px; height: 90px; left: 0; top: 0;
  transform: translate(var(--cx, 10vw), var(--cy, 60vh));
  will-change: transform;
}
.sun, .moon { position: absolute; inset: 0; border-radius: 50%; transition: opacity 1.2s, transform 1.2s; }
.sun {
  background: radial-gradient(circle, #ffd8a8 0 40%, #f2a86b 60%, transparent 71%);
  filter: blur(.5px);
  opacity: .5;
}
.moon {
  background: radial-gradient(circle at 35% 35%, #fff6e6, #e6d5bb 60%, transparent 71%);
  box-shadow: 0 0 60px 10px rgba(255, 240, 215, .15);
  opacity: 0; transform: scale(.6);
}
html[data-phase="dia"] .sun { opacity: .18; }
html[data-phase="tarde"] .sun { opacity: .5; }
html[data-phase="atardecer"] .sun { opacity: .85; }
html[data-phase="noche"] .sun { opacity: 0; transform: scale(.6); }
html[data-phase="noche"] .moon { opacity: .9; transform: scale(.7); }

/* ============ Barra superior ============ */
.topbar {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; gap: 20px;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line);
  z-index: 50;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.topbar.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.4); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: .88rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: background .2s;
}
.nav a:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }

.cart-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; padding: 0;
  transition: transform .3s var(--ease);
}
.cart-btn:hover { transform: rotate(-8deg) scale(1.05); }
.cart-btn svg { width: 34px; height: 34px; }
.cart-line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cart-fill { fill: #7c8b3d; transition: y .6s var(--ease), height .6s var(--ease); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: var(--surface);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-10deg); } 100% { transform: none; } }

/* ============ Tipografía y botones ============ */
.eyebrow {
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--accent); margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.lead { font-size: 1.1rem; max-width: 34ch; color: var(--muted); margin: 22px 0 30px; }
.section-sub { color: var(--muted); max-width: 52ch; margin: 14px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1.5px solid var(--accent);
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn-solid { background: var(--accent); color: var(--surface); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.wide { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  padding: 120px max(24px, calc((100vw - 1180px) / 2)) 180px;
  overflow: hidden;
}
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.hero-art {
  position: relative; aspect-ratio: 1; width: min(520px, 100%); justify-self: center;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}
.hero-logo {
  position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain;
  animation: reveal 1.6s var(--ease) .2s both;
}
@keyframes reveal {
  from { clip-path: circle(0% at 44% 22%); opacity: 0; }
  to   { clip-path: circle(120% at 44% 22%); opacity: 1; }
}
.rays { position: absolute; inset: -12%; width: 124%; height: 124%; }
.rays line { stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; opacity: .28; }
#raysGroup { transform-origin: 200px 200px; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hotspot {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px;
  transform: translate(-50%, -50%);
  animation: rise .8s var(--ease) both; animation-delay: 1.4s;
}
.hotspot i {
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent); position: relative;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.hotspot i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--accent); animation: ping 2.2s ease-out infinite;
}
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
.hotspot span {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  background: var(--surface); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  opacity: .85; transform: translateX(-4px); transition: all .3s var(--ease);
}
.hotspot:hover span, .hotspot:focus-visible span { opacity: 1; transform: none; background: var(--accent); color: var(--surface); }

.ridge { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; pointer-events: none; }
.ridge-layer { position: absolute; bottom: 0; left: -3%; width: 106%; height: 100%; transition: transform .6s var(--ease); }
.ridge-layer.l3 path { fill: color-mix(in srgb, var(--terra) 22%, var(--sky-bottom)); }
.ridge-layer.l2 path { fill: color-mix(in srgb, var(--terra) 48%, var(--sky-bottom)); }
.ridge-layer.l1 path { fill: var(--terra-deep); }

/* ============ Ticker ============ */
.ticker { background: var(--terra-deep); color: var(--cream); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 36px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--display); font-style: italic; font-size: 1.25rem; white-space: nowrap; }
.ticker-track span::after { content: "✦"; margin-left: 36px; font-style: normal; font-size: .8rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Secciones ============ */
.section { padding: 120px max(20px, calc((100vw - 1180px) / 2)); position: relative; }
.section-head { margin-bottom: 44px; }

/* ---- Catálogo ---- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 34px; align-items: center; }
.chips {
  position: relative; display: flex; gap: 4px; padding: 5px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--line); border-radius: 999px;
  overflow-x: auto; scrollbar-width: none; max-width: 100%;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; z-index: 1; border: 0; background: none; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px; transition: color .3s;
}
.chip svg { width: 20px; height: 20px; }
.chip small { font-size: .7rem; opacity: .6; font-weight: 500; }
.chip[aria-selected="true"] { color: var(--surface); }
.chip-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
  background: var(--accent); transition: transform .45s var(--ease), width .45s var(--ease);
}
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search {
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search input, #sort {
  border: 0; background: none; font: inherit; font-size: .9rem; color: var(--ink);
  padding: 11px 0; outline: none; width: 160px;
}
#sort { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; width: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }

.card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 14px 14px 18px;
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(var(--ty, 0));
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms);
  cursor: pointer;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.card:hover { --ty: -6px; box-shadow: 0 30px 50px -30px rgba(60, 25, 10, .45); }
.card::after { /* brillo */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::after { opacity: 1; }
.card-media {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: 999px 999px 16px 16px;
  background: radial-gradient(circle at 50% 30%, #fff8ee, #f0e2cc 75%);
  overflow: hidden; display: grid; place-items: center;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .card-media img, .card:hover .card-media .art { transform: scale(1.06); }
.art { width: 70%; height: 70%; color: var(--terra); transition: transform .6s var(--ease); }
.art * { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--terra-deep); color: var(--cream); padding: 5px 10px; border-radius: 999px;
}
.badge.oferta { background: #6f7b33; }
.steam-wisps { position: absolute; top: 10%; left: 50%; display: flex; gap: 10px; transform: translateX(-50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.steam-wisps span { width: 6px; height: 30px; border-radius: 99px; background: linear-gradient(transparent, rgba(166, 92, 50, .35)); animation: wisp 1.8s ease-in-out infinite; }
.steam-wisps span:nth-child(2) { animation-delay: .4s; } .steam-wisps span:nth-child(3) { animation-delay: .8s; }
@keyframes wisp { 0% { transform: translateY(10px) scaleY(.6); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-24px) scaleY(1.1) skewX(10deg); opacity: 0; } }
.card:hover .steam-wisps { opacity: 1; }

.card-body { padding: 16px 6px 0; }
.card-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; }
.card h3 { font-size: 1.35rem; margin: 6px 0 6px; }
.card p { font-size: .86rem; color: var(--muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-size: 1.05rem; }
.price s { font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 6px; }
.add {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent);
  background: none; color: var(--accent); font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.add:hover { background: var(--accent); color: var(--surface); transform: rotate(90deg); }
.add:disabled { opacity: .35; pointer-events: none; }
.sold { font-size: .75rem; font-weight: 600; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---- Pieza única y stock ---- */
.unique-note {
  display: flex; gap: 16px; align-items: center; margin: -10px 0 30px;
  padding: 16px 22px; border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
}
.unique-note svg { flex: 0 0 42px; height: 42px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.unique-note p { margin: 0; font-size: .92rem; }
.unique-note a { color: var(--accent); font-weight: 600; }

.unique-tag {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--surface); color: var(--terra-deep); padding: 5px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--terra-deep) 30%, transparent);
}
.unique-tag::before { content: "✦"; font-size: .8rem; }
.card-serial { /* firma: nº de pieza */
  position: absolute; bottom: 10px; right: 16px; z-index: 2;
  font-family: var(--display); font-style: italic; font-size: 1.05rem; color: color-mix(in srgb, var(--terra) 75%, transparent);
}
.stock { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; margin: -4px 0 12px; color: var(--muted); }
.stock-dots { display: flex; gap: 3px; }
.stock-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.stock-dots i.off { background: color-mix(in srgb, var(--ink) 15%, transparent); }
.stock.low { color: #a3401c; }
.stock.unique { color: var(--terra-deep); }
.stock.in-cart { color: #5d6a22; }
.stock.out { color: var(--muted); }
.card.sold-out .card-media > :not(.sold-stamp) { filter: grayscale(.9); opacity: .45; }
.sold-stamp {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 3;
  font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--terra-deep); transform: rotate(-8deg);
}
.pick:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.pick small { display: block; font-size: .68rem; font-weight: 600; color: var(--terra-deep); }
.unique-box {
  margin: 0 0 20px; padding: 14px 16px; border-radius: 16px; font-size: .86rem;
  background: #f1e3cd; border-left: 3px solid var(--accent);
}
.unique-box a { color: var(--accent); font-weight: 600; }

/* ---- Cómo curar tu mate ---- */
.curar-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.curar-art {
  position: sticky; top: 100px; text-align: center;
  background: var(--surface); border-radius: 999px 999px 32px 32px; padding: 50px 30px 30px;
  border: 1px solid var(--line);
}
.curar-day { font-family: var(--display); font-style: italic; font-size: 2rem; color: var(--accent); min-height: 1.2em; }
.curar-art svg { width: 100%; max-width: 300px; margin: 10px auto; display: block; overflow: visible; }
.curar-art .line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.curar-art svg g, .c-water { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.c-water { fill: #b9cfd6; opacity: 0; }
.c-yerba rect { fill: #7c8b3d; }
.c-yerba circle { fill: #5d6a22; }
.c-yerba { opacity: 0; transform: translateY(40px); }
.c-pulp path { fill: none; stroke: #c9a57a; stroke-width: 5; stroke-linecap: round; }
.c-spoon, .c-clock, .c-sun, .c-drops, .c-spark { opacity: 0; }
/* Estado del dibujo según el paso */
[data-step="0"] .c-spoon, [data-step="3"] .c-spoon { opacity: 1; animation: scrape 1.6s ease-in-out infinite; transform-origin: 196px 36px; }
[data-step="1"] .c-yerba, [data-step="2"] .c-yerba, [data-step="4"] .c-yerba { opacity: 1; transform: none; }
[data-step="1"] .c-pulp, [data-step="2"] .c-pulp { opacity: .6; }
[data-step="2"] .c-clock { opacity: 1; }
[data-step="2"] .c-clock path { animation: spin 3s linear infinite; transform-origin: 196px 48px; }
[data-step="3"] .c-pulp { opacity: .35; }
[data-step="3"] .c-water { opacity: .8; }
[data-step="3"] .c-drops { opacity: 1; animation: drip 1.2s ease-in infinite; }
[data-step="4"] .c-pulp { opacity: .12; }
[data-step="5"] .c-pulp { opacity: 0; }
[data-step="5"] .c-sun, [data-step="5"] .c-spark { opacity: 1; }
[data-step="5"] .c-spark { animation: twinkle 1.4s ease-in-out infinite; }
@keyframes scrape { 50% { transform: rotate(-12deg); } }
@keyframes twinkle { 50% { opacity: .3; } }
@keyframes drip { from { transform: translateY(-6px); } to { transform: translateY(6px); opacity: 0; } }
.curar-progress { height: 8px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 10%, transparent); margin-top: 10px; overflow: hidden; }
.curar-progress span { display: block; height: 100%; width: 0; background: #6f7b33; border-radius: inherit; transition: width .6s var(--ease); }
.curar-count { font-size: .82rem; font-weight: 600; margin: 10px 0 0; color: var(--muted); }
.curar-count.done { color: #5d6a22; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 22px; cursor: pointer;
  background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1.5px solid transparent;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.step:hover { transform: translateX(4px); }
.step.active { background: var(--surface); border-color: var(--accent); box-shadow: 0 20px 40px -30px rgba(60, 25, 10, .5); }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.5rem; border: 1.5px solid var(--accent); color: var(--accent);
  transition: all .3s;
}
.step.done .step-num { background: #6f7b33; border-color: #6f7b33; color: #fff; font-size: 0; }
.step.done .step-num::before { content: "✓"; font-size: 1.3rem; font-family: var(--sans); }
.step-when { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--accent); }
.step h4 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin: 2px 0 4px; }
.step p { margin: 0; font-size: .9rem; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.step.active p { max-height: 160px; }
.step.done h4 { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.step-check {
  align-self: center; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 8px 14px; font-size: .78rem; font-weight: 600; white-space: nowrap;
}
.step.done .step-check { background: #6f7b33; color: #fff; border-color: #6f7b33; }
.curar-done {
  margin-top: 4px; padding: 18px 22px; border-radius: 22px; background: #6f7b33; color: #fff; font-weight: 600;
  animation: rise .5s var(--ease);
}
.curar-done button { margin-left: 8px; background: none; border: 0; color: #fff; text-decoration: underline; font-size: .82rem; }

.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tip { background: var(--surface); border-radius: 22px; padding: 22px 24px; border: 1px solid var(--line); }
.tip h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.tip p { margin: 0; font-size: .9rem; color: var(--muted); }
.tip ul { margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.tip-no li { padding: 3px 0; color: var(--muted); }
.tip-no li::before { content: "✕"; color: #a3401c; font-weight: 700; margin-right: 10px; }

/* ---- Arma tu ritual ---- */
.ritual-wrap > *, .toolbar > *, .punto-grid > * { min-width: 0; }
.ritual-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 34px; align-items: start; }
.altar {
  position: sticky; top: 100px;
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius);
  background: radial-gradient(circle at 50% 38%, #fff3e2, #f0d7b9 70%);
  border: 1px solid rgba(90, 39, 17, .2);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; padding: 38% 10% 16%;
  overflow: hidden; box-shadow: 0 40px 80px -50px rgba(60, 20, 5, .8);
}
.altar-sun { position: absolute; left: 50%; top: 9%; width: 26%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 2px solid rgba(166, 92, 50, .35); }
.altar-sun::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: repeating-conic-gradient(rgba(166, 92, 50, .25) 0 1.5deg, transparent 1.5deg 15deg); mask: radial-gradient(circle, transparent 58%, #000 60%, #000 70%, transparent 72%); animation: spin 40s linear infinite; }
.slot {
  position: relative; border-radius: 18px; border: 1.5px dashed rgba(126, 63, 29, .35);
  display: grid; place-items: center; background: rgba(255, 255, 255, .35); overflow: hidden;
  transition: border-color .3s, background .3s;
}
.slot.filled { border-style: solid; border-color: rgba(126, 63, 29, .45); background: rgba(255, 255, 255, .7); }
.slot-label { position: absolute; bottom: 8px; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--terra-deep); }
.slot .art, .slot img { width: 64%; height: 64%; object-fit: contain; mix-blend-mode: multiply; animation: pop .55s var(--ease); }
@keyframes pop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }
.altar-progress { position: absolute; left: 12%; right: 12%; bottom: 7%; height: 6px; border-radius: 9px; background: rgba(126, 63, 29, .15); }
.altar-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--terra-deep); transition: width .6s var(--ease); }

.altar-slots { display: contents; }
.altar { padding-top: 30% !important; }
.altar .slot img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.altar .slot.filled .slot-label { background: rgba(248, 241, 229, .92); padding: 2px 8px; border-radius: 999px; }
.altar:has(.slot:nth-child(3)) { grid-template-rows: 1fr 1fr; }
.altar .slot:nth-child(3):last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
.pick-nota { font-size: .68rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: #5d6a22; margin-left: 6px; }
.pick:disabled { opacity: .35; cursor: not-allowed; }
.picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pick-group h4 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; display: flex; justify-content: space-between; }
.pick-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pick {
  flex: 0 0 150px; scroll-snap-align: start; text-align: left;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1.5px solid transparent; border-radius: 16px; padding: 10px;
  transition: transform .25s var(--ease), border-color .25s;
}
.pick:hover { transform: translateY(-3px); }
.pick[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.pick-img { aspect-ratio: 1; border-radius: 12px; background: #f3e4cf; display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.pick-img .art { width: 70%; height: 70%; }
.pick-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pick b { display: block; font-size: .8rem; line-height: 1.25; }
.pick span { font-size: .8rem; color: var(--muted); }

.kit-summary {
  margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--surface); border-radius: var(--radius); padding: 22px 26px;
}
.kit-summary > div { min-width: 240px; }
.kit-line { display: flex; justify-content: space-between; gap: 30px; margin: 0; font-size: .9rem; color: var(--muted); }
.kit-disc span:last-child { color: #5d6a22; font-weight: 600; }
.kit-total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 0; }
.kit-total strong { font-family: var(--display); font-size: 1.8rem; font-weight: 600; }

/* ---- El punto justo ---- */
.punto { padding-top: 40px; padding-bottom: 60px; }
.punto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: color-mix(in srgb, var(--surface) 55%, transparent); border-radius: 40px; padding: 50px; border: 1px solid var(--line); }
.thermo { margin-top: 30px; }
.thermo input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 99px;
  background: linear-gradient(90deg, #7fa3b5, #8ea35a 45%, #8ea35a 66%, #d9642f 85%, #b3261e);
  outline: none;
}
.thermo input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.25); cursor: grab; }
.thermo input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); cursor: grab; }
.thermo-read { display: flex; align-items: baseline; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.thermo-read strong { font-family: var(--display); font-size: 3rem; font-weight: 600; }
.thermo-read span { font-weight: 500; max-width: 32ch; }
.punto-art svg { width: 100%; max-width: 340px; margin: auto; display: block; overflow: visible; }
.punto-art .line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
#water { fill: #6e7d33; transition: y .5s var(--ease), fill .5s; }
.steam path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; opacity: .5; animation: rising 2.4s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .5s; } .steam path:nth-child(3) { animation-delay: 1s; }
@keyframes rising { 0% { transform: translateY(8px); opacity: 0; } 50% { opacity: var(--steam, .5); } 100% { transform: translateY(-10px); opacity: 0; } }

/* ---- Noche ---- */
.night { text-align: center; padding-top: 120px; padding-bottom: 40px; min-height: 100svh; display: flex; flex-direction: column; align-items: center; }
.night .section-sub { margin: 18px auto 34px; }
.night-logo { width: 190px; margin-bottom: 30px; filter: drop-shadow(0 0 30px rgba(240, 226, 204, .18)); }
.hint { margin-top: 40px; font-size: .8rem; letter-spacing: .1em; color: var(--muted); }
.footer { margin-top: auto; padding-top: 80px; width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); border-bottom: 0; }

/* ============ Carrito ============ */
.scrim { position: fixed; inset: 0; background: rgba(20, 10, 5, .45); backdrop-filter: blur(3px); z-index: 80; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(420px, calc(100% - 20px));
  background: var(--cream-2); color: #33200f; border-radius: 26px; z-index: 90;
  display: flex; flex-direction: column; padding: 22px;
  transform: translateX(110%); transition: transform .5s var(--ease);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  --accent: #9c552d; --surface: #f8f1e5; --ink: #33200f;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { font-size: 2rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(51, 32, 15, .15); background: none; }
.ship-meter { margin: 16px 0 6px; font-size: .82rem; }
.ship-meter p { margin: 0 0 6px; }
.ship-meter div { height: 6px; border-radius: 9px; background: rgba(126, 63, 29, .15); }
.ship-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: #6f7b33; transition: width .6s var(--ease); }
.cart-list { list-style: none; margin: 10px 0; padding: 0; overflow-y: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(51, 32, 15, .1); animation: rise .4s var(--ease); }
.cart-thumb { width: 64px; height: 64px; border-radius: 14px; background: #f0e2cc; display: grid; place-items: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cart-thumb .art { width: 76%; height: 76%; }
.cart-item b { display: block; font-size: .9rem; line-height: 1.25; }
.cart-item small { color: rgba(51, 32, 15, .65); }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(51, 32, 15, .2); background: none; line-height: 1; }
.qty span { min-width: 20px; text-align: center; font-weight: 600; font-size: .85rem; }
.remove { border: 0; background: none; font-size: .75rem; text-decoration: underline; color: rgba(51, 32, 15, .6); }
.drawer-empty { flex: 1; display: grid; place-content: center; text-align: center; gap: 14px; color: rgba(51, 32, 15, .7); }
.drawer-foot { border-top: 1px solid rgba(51, 32, 15, .12); padding-top: 14px; }
.video-note {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px;
  padding: 12px 14px; border-radius: 16px; background: #efe3cf; border: 1px dashed rgba(126, 63, 29, .4);
}
.video-note p { margin: 0; font-size: .8rem; line-height: 1.45; }
.video-note svg, .video-line svg { flex: 0 0 26px; width: 26px; height: 26px; fill: none; stroke: #9c552d; stroke-width: 1.8; stroke-linejoin: round; }
.video-note .rec, .video-line .rec { fill: #c0392b; stroke: none; animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .2; } }
.video-line { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .8rem; color: rgba(51, 32, 15, .75); }
.video-line svg { width: 20px; height: 20px; flex-basis: 20px; }
.entrega { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.entrega legend { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7e3f1d; margin-bottom: 6px; }
.entrega label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 14px; border: 1.5px solid rgba(126, 63, 29, .18); cursor: pointer; font-size: .86rem; }
.entrega label:has(input:checked) { border-color: #9c552d; background: #f3e6d2; }
.entrega input { accent-color: #9c552d; margin-top: 3px; }
.entrega small { display: block; font-size: .74rem; color: rgba(51, 32, 15, .65); }
.drawer-foot .kit-line { font-size: .86rem; }
.drawer { overflow-y: auto; overscroll-behavior: contain; }
.drawer .cart-list { flex: 1 0 auto; overflow: visible; }
.fine { font-size: .74rem; color: rgba(51, 32, 15, .6); text-align: center; margin: 10px 0 0; }

/* ============ Modal de producto ============ */
.modal {
  border: 0; padding: 0; border-radius: 30px; width: min(920px, calc(100% - 24px)); max-height: calc(100% - 24px);
  background: var(--cream-2); color: #33200f;
  --accent: #9c552d; --surface: #f8f1e5; --ink: #33200f;
}
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal::backdrop { background: rgba(20, 10, 5, .5); backdrop-filter: blur(4px); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--cream-2); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.gallery { padding: 18px; }
.gallery-main { aspect-ratio: 1; border-radius: 999px 999px 22px 22px; background: radial-gradient(circle at 50% 30%, #fff8ee, #ecdcc3 75%); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery-main .art { width: 64%; height: 64%; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #ecdcc3; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { padding: 40px 34px 34px 16px; display: flex; flex-direction: column; }
.info h3 { font-size: 2.4rem; margin: 6px 0 12px; }
.info .price { font-size: 1.5rem; }
.info ul { padding-left: 18px; margin: 18px 0 24px; color: rgba(51, 32, 15, .8); font-size: .92rem; }
.info .buy { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.info .qty button { width: 38px; height: 38px; }

/* ============ Vista 360° ============ */
.gallery-main, .card-media { position: relative; }
.i360 { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .02em; }
.i360 i { /* órbita que gira */
  width: 18px; height: 18px; border-radius: 50%; position: relative;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin 1.6s linear infinite;
}
.chip360 {
  position: absolute; left: 14px; bottom: 12px; z-index: 3;
  padding: 6px 11px 6px 8px; border-radius: 999px; font-size: .74rem;
  background: #33200f; color: #f8f1e5; border: 0;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); transition: transform .25s var(--ease);
}
.chip360:hover { transform: scale(1.08); }
.btn360 {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 11px 18px 11px 14px; border-radius: 999px; border: 0;
  background: #33200f; color: #f8f1e5; font-weight: 600; font-size: .88rem; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); transition: transform .25s var(--ease);
}
.btn360 .i360 { font-size: 0; gap: 0; }
.btn360 .i360 i { width: 20px; height: 20px; }
.btn360:hover { transform: translateX(-50%) translateY(-2px); }
.thumbs .thumb360 { display: grid; place-items: center; background: #33200f; color: #f8f1e5; font-size: .7rem; }
.thumbs .thumb360 .i360 { flex-direction: column; gap: 3px; }

.v360 { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.v360.grabbing { cursor: grabbing; }
.v360:focus-visible { box-shadow: inset 0 0 0 3px var(--accent); }
.v360 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; pointer-events: none; }
.v360 > img.fb { opacity: 0; }

/* Caja 3D */
.box3d-stage { perspective: 1500px; perspective-origin: 50% 35%; display: grid; place-items: center; }
.box3d { position: relative; width: var(--W); height: var(--H); transform-style: preserve-3d; will-change: transform; margin-top: 4%; }
.bf { position: absolute; left: 50%; top: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #f3f1ea; }
.bf img { width: 100%; height: 100%; display: block; object-fit: fill; pointer-events: none; }
.bf i { position: absolute; inset: 0; background: #1d130c; opacity: 0; pointer-events: none; }
.f-front, .f-back { width: var(--W); height: var(--H); margin: calc(var(--H) / -2) 0 0 calc(var(--W) / -2); }
.f-left, .f-right { width: var(--D); height: var(--H); margin: calc(var(--H) / -2) 0 0 calc(var(--D) / -2); }
.f-top, .f-bottom { width: var(--W); height: var(--D); margin: calc(var(--D) / -2) 0 0 calc(var(--W) / -2); }
.f-front  { transform: translateZ(calc(var(--D) / 2)); }
.f-back   { transform: rotateY(180deg) translateZ(calc(var(--D) / 2)); }
.f-right  { transform: rotateY(90deg) translateZ(calc(var(--W) / 2)); }
.f-left   { transform: rotateY(-90deg) translateZ(calc(var(--W) / 2)); }
.f-top    { transform: rotateX(90deg) translateZ(calc(var(--H) / 2)); }
.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--H) / 2)); }
.box3d-shadow {
  position: absolute; left: 50%; height: 34px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 35, 15, .38), transparent); filter: blur(2px);
}
.box3d-stage.loading .box3d { opacity: 0; }
.model3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.model3d.loading .v360-load span { animation: spin 1s linear infinite; }
#gMain > img { transition: transform .25s var(--ease); cursor: zoom-in; touch-action: none; }
#gMain.zoom > img { transform: scale(2.2); }
.vistas { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 22px; background: #ecdcc3; }
.modal-body > * { min-width: 0; }
.vistas button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #5a3a24; transition: background .25s, color .25s; }
.vistas button[aria-current="true"] { background: #33200f; color: #f8f1e5; }
.model-note { font-size: .78rem; color: rgba(51, 32, 15, .6); margin: 0 0 14px; font-style: italic; }
.box3d { transition: opacity .4s; }
.v360-load { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(248, 241, 229, .55); }
.v360-load span {
  grid-area: 1 / 1; width: 74px; height: 74px; border-radius: 50%;
  background: conic-gradient(#9c552d calc(var(--p, 0) * 360deg), rgba(126, 63, 29, .15) 0);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
}
.v360-load b { grid-area: 1 / 1; font-size: .85rem; color: #7e3f1d; }
.v360:not(.loading) .v360-load { display: none; }
.v360-dial {
  position: absolute; bottom: 16px; left: 16px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .7); border: 1.5px solid rgba(126, 63, 29, .3);
  display: grid; place-items: center; font-size: .6rem; color: #7e3f1d; transition: opacity .3s;
}
.v360-dial span { position: absolute; inset: 3px; border-radius: 50%; }
.v360-dial span::before { content: ""; position: absolute; top: 0; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #9c552d; }
.v360.loading .v360-dial { opacity: 0; }
.v360-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 9px 16px; border-radius: 999px; background: rgba(51, 32, 15, .88); color: #f8f1e5;
  font-size: .82rem; font-weight: 600; white-space: nowrap; pointer-events: none; transition: opacity .4s;
}
.v360-hint i { font-style: normal; display: inline-block; margin-right: 4px; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.v360.loading .v360-hint, .v360.touched .v360-hint { opacity: 0; }

/* ============ Toast / fly ============ */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: #33200f; color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  z-index: 100; transition: transform .45s var(--ease), visibility .45s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.fly { position: fixed; z-index: 120; pointer-events: none; border-radius: 50%; overflow: hidden; background: #f0e2cc; display: grid; place-items: center; transition: transform .8s cubic-bezier(.5, -0.3, .7, 1), opacity .8s; }
.fly img, .fly .art { width: 80%; height: 80%; object-fit: contain; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav { display: none; }
  .brand { margin-right: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; gap: 10px; }
  .hero-art { width: min(400px, 88%); order: -1; }
  .ritual-wrap { grid-template-columns: minmax(0, 1fr); }
  .curar-wrap { grid-template-columns: minmax(0, 1fr); }
  .curar-art { position: relative; top: 0; max-width: 420px; width: 100%; margin: auto; }
  .tips { grid-template-columns: minmax(0, 1fr); }
  .altar { position: relative; top: 0; max-width: 420px; width: 100%; margin: auto; }
  .punto-grid { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; }
  .modal-body { grid-template-columns: 1fr; }
  .info { padding: 10px 22px 26px; }
}
@media (max-width: 560px) {
  .section { padding-top: 90px; padding-bottom: 90px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 8px 8px 12px; }
  .card h3 { font-size: 1.05rem; }
  .card p { display: none; }
  .badge { top: 14px; left: 14px; font-size: .6rem; }
  .add { width: 36px; height: 36px; }
  .tools, .search { width: 100%; }
  .search input { width: 100%; }
  .hotspot span { display: none; }
  .card .price s { display: block; margin: 0; }
  .punto-art svg { max-width: 220px; }
  .unique-tag { display: none; } /* en móvil lo dice la línea de stock */
  .card-serial { display: none; }
  .stock { font-size: .68rem; }
  .step { grid-template-columns: 40px 1fr; padding: 14px; }
  .step-num { width: 40px; height: 40px; font-size: 1.2rem; }
  .step-check { grid-column: 2; justify-self: start; }
  .unique-note { align-items: flex-start; padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
