/* GALWAY v3: la maqueta de la clienta. Verde bosque del hero (#0d3a29, medido), crema y un solo acento: el verde del logo. Anton + Instrument Sans + Sedgwick Ave Display. */
:root {
  --forest: #0d3a29;
  --forest-d: #082a1c;
  --green: #016738;
  --title: #0d4a30;
  --cream: #e7dccb;
  --cream-d: #d9ccb4;
  --paper: #f0efeb;
  --ink: #12150f;
  --soft: #4a5047;
  --line: rgba(18, 21, 15, 0.2);
  --r: 18px;
  --fd: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --fh: 'Sedgwick Ave Display', 'Marker Felt', cursive;
  --fb: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bar-h: 72px;
  --pad: clamp(16px, 4vw, 56px);
  --pat: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260' fill='none' stroke='%23f0efeb' stroke-opacity='.08' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><g transform='translate(22 26) scale(.7) rotate(-10 32 32)'><path d='M32 10A12 12 0 0 1 51.05 21A12 12 0 0 1 51.05 43A12 12 0 0 1 32 54A12 12 0 0 1 12.95 43A12 12 0 0 1 12.95 21A12 12 0 0 1 32 10Z'/><path d='M26 29v3M38 29v3M25 37c2 4 5 5.5 7 5.5s5-1.5 7-5.5'/></g><g transform='translate(160 40) scale(.62) rotate(12 32 32)'><path d='M32 55C11 41 7 27 13 19c5-6 14-5 19 2 5-7 14-8 19-2 6 8 2 22-19 36Z'/></g><g transform='translate(70 150) scale(.66) rotate(8 32 32)'><circle cx='32' cy='32' r='24'/><ellipse cx='32' cy='32' rx='10' ry='24'/><path d='M8 32h48M12 19h40M12 45h40'/></g><g transform='translate(190 170) scale(.6)'><path d='M32 6c2 14 6 18 20 20-14 2-18 6-20 20-2-14-6-18-20-20 14-2 18-6 20-20Z'/></g></svg>");
  --pat-b: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260' fill='none' stroke='%23f0efeb' stroke-opacity='.2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><g transform='translate(22 26) scale(.7) rotate(-10 32 32)'><path d='M32 10A12 12 0 0 1 51.05 21A12 12 0 0 1 51.05 43A12 12 0 0 1 32 54A12 12 0 0 1 12.95 43A12 12 0 0 1 12.95 21A12 12 0 0 1 32 10Z'/><path d='M26 29v3M38 29v3M25 37c2 4 5 5.5 7 5.5s5-1.5 7-5.5'/></g><g transform='translate(160 40) scale(.62) rotate(12 32 32)'><path d='M32 55C11 41 7 27 13 19c5-6 14-5 19 2 5-7 14-8 19-2 6 8 2 22-19 36Z'/></g><g transform='translate(70 150) scale(.66) rotate(8 32 32)'><circle cx='32' cy='32' r='24'/><ellipse cx='32' cy='32' rx='10' ry='24'/><path d='M8 32h48M12 19h40M12 45h40'/></g><g transform='translate(190 170) scale(.6)'><path d='M32 6c2 14 6 18 20 20-14 2-18 6-20 20-2-14-6-18-20-20 14-2 18-6 20-20Z'/></g></svg>");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body { background: var(--paper); color: var(--ink); font-family: var(--fb); font-size: 17px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.is-loading { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 400; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
[data-tone="forest"] :focus-visible, [data-tone="green"] :focus-visible, .loader :focus-visible, .bar[data-t="dark"] :focus-visible, dialog.ficha :focus-visible { outline-color: var(--paper); }
dialog.ficha :focus-visible { outline-color: var(--green); }

/* ---------- botones (pastilla, una sola línea) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font-family: var(--fb); font-weight: 700; font-size: 14px; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), scale 0.15s var(--ease); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: translateY(101%); transition: transform 0.4s var(--ease); }
.btn:active { scale: 0.98; transform: translateY(1px); }
.btn-green { background: var(--green); color: var(--paper); --fill: var(--forest-d); }
.btn-cream { background: var(--paper); color: var(--forest); --fill: var(--cream); }
.btn-line-cream { border-color: var(--paper); color: var(--paper); --fill: var(--paper); }
.btn-wide { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover svg { transform: translateX(4px); }
  .btn-line-cream:hover { color: var(--forest); }
}
.ib { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; transition: background-color 0.25s var(--ease), scale 0.15s var(--ease); }
.ib svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ib:active { scale: 0.94; }
@media (hover: hover) and (pointer: fine) { .ib:hover { background: color-mix(in srgb, currentColor 14%, transparent); } }

/* ---------- carga ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--forest); display: grid; place-items: center; }
.loader::before { content: ''; position: absolute; inset: 0; background-image: var(--pat); opacity: var(--lo, 0.9); }
.loader-wm { position: relative; width: min(80vw, 1100px); }
.skip { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); translate: -50% 0; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid rgba(240, 239, 235, 0.6); color: var(--paper); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .skip:hover { background: var(--paper); color: var(--forest); } }
.wm { display: block; width: 100%; height: auto; overflow: visible; }
.wm path { fill: currentColor; stroke: currentColor; stroke-width: 0; stroke-linejoin: round; stroke-miterlimit: 3; }
.loader-wm .wm { color: var(--paper); }

/* ---------- barra ---------- */
.bar { --hfg: var(--paper); --hbg: rgba(13, 58, 41, 0.9); position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad); color: var(--hfg); transition: color 0.4s var(--ease); }
.bar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hbg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform-origin: 50% 0; transform: scaleY(0); transition: transform 0.4s var(--ease), background-color 0.4s var(--ease); }
.bar > :not(.bar-nav) { transition: translate 0.4s var(--ease), scale 0.4s var(--ease); }
.bar[data-t="light"] { --hfg: var(--ink); --hbg: rgba(231, 220, 203, 0.92); }
.bar.is-solid::before { transform: scaleY(0.8); }
.bar.is-solid > :not(.bar-nav) { translate: 0 -7px; }
body.is-loading .bar { visibility: hidden; }
.bar-brand { display: block; width: clamp(118px, 12vw, 150px); flex: none; text-decoration: none; transform-origin: 0 50%; }
.bar.is-solid .bar-brand { scale: 0.84; }
.bar-wm .wm { color: currentColor; }
.bar-wm { display: block; visibility: hidden; }
.bar-wm.is-on { visibility: visible; }
.bar-nav { display: flex; gap: clamp(18px, 3.2vw, 46px); font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }
.bar-nav a { position: relative; text-decoration: none; padding: 8px 0; }
.bar-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .bar-nav a:hover::after { transform: scaleX(1); } }
.bar-act { display: flex; align-items: center; gap: 2px; }
.ib-pause span { display: block; width: 3px; height: 14px; border-radius: 2px; background: currentColor; }
.ib-pause { display: flex; gap: 4px; align-items: center; justify-content: center; }
.ib-pause[aria-pressed="true"] span:first-child { height: 0; width: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; background: none; border-radius: 0; }
.ib-pause[aria-pressed="true"] span:last-child { display: none; }
.ib-bag b { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; background: var(--paper); color: var(--forest); font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; }
.bar[data-t="light"] .ib-bag b { background: var(--green); color: var(--paper); }
.ib-menu { display: none; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.ib-menu span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
html.nav-open .ib-menu span:first-child { transform: translateY(4px) rotate(45deg); }
html.nav-open .ib-menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- títulos ---------- */
.h2 { font-family: var(--fd); font-weight: 400; font-size: clamp(3rem, 9.4vw, 9rem); line-height: 0.9; letter-spacing: 0.005em; text-transform: uppercase; color: var(--title); text-wrap: balance; }
.fx-line-mask { padding: 0.18em 0 0.08em; margin: -0.18em 0 -0.08em; }
.tagline { display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; }
.tagline span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 1.1em 0 0.8em; border-radius: 50%; background: currentColor; vertical-align: middle; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: clamp(8px, 2vw, 32px); padding: calc(var(--bar-h) + 1.5vh) 0 clamp(54px, 8vh, 96px) var(--pad); background: var(--forest); color: var(--paper); overflow: clip; }
.hero-pat { position: absolute; inset: 0; background-image: var(--pat); pointer-events: none; }
.hero-h { position: relative; z-index: 2; grid-column: 1; grid-row: 1; align-self: end; font-family: var(--fd); font-weight: 400; font-size: min(12.4vw, 21svh); line-height: 0.9; letter-spacing: 0.005em; text-transform: uppercase; }
.ln-m { display: block; overflow: clip; padding-bottom: 0.03em; }
.ln { display: block; will-change: transform; }
.hero-pile { position: relative; z-index: 3; grid-column: 2; grid-row: 1 / -1; min-height: 58svh; margin-top: calc((var(--bar-h) + 1.5vh) * -1); margin-bottom: calc(clamp(54px, 8vh, 96px) * -1); }
.hp { position: absolute; transform-origin: 50% 60%; will-change: transform; }
.hp img { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.38)); }
.hp-a { width: 78%; left: -16%; top: 26%; rotate: -9deg; z-index: 3; }
.hp-b { width: 72%; right: -10%; top: 9%; rotate: 8deg; z-index: 2; }
.hp-c { width: 62%; right: -20%; bottom: -8%; rotate: 15deg; z-index: 4; }
.hp-in { will-change: transform; }
.stk { position: absolute; z-index: 5; width: clamp(56px, 6.6vw, 108px); color: var(--paper); pointer-events: none; }
.stk svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.stk-flower { left: 28.5%; top: 17%; }
.stk-heart { left: 50%; top: 9%; width: clamp(46px, 5vw, 80px); }
.stk-globe { left: 31%; bottom: 13%; width: clamp(54px, 6vw, 96px); }
.stk-spark { left: 45%; bottom: 17%; width: clamp(30px, 3.2vw, 52px); }
.hero-copy { position: relative; z-index: 4; grid-column: 1; grid-row: 2; display: grid; gap: clamp(16px, 2.6vh, 26px); justify-items: start; padding-top: clamp(18px, 3vh, 32px); }
.rib { position: absolute; z-index: 6; left: 0; top: -1px; width: 100%; height: 64px; transform-origin: 50% 0; pointer-events: none; }

/* ---------- colecciones ---------- */
.cols { position: relative; background: var(--cream); padding: clamp(100px, 12vw, 160px) var(--pad) clamp(56px, 8vw, 110px); }
.col-row { display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(460px, 68svh, 660px); margin-top: clamp(28px, 4vw, 52px); }
.panel { --pbg: var(--forest); position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--pbg); color: var(--paper); isolation: isolate; transition: flex-grow 0.75s var(--ease), flex-basis 0.75s var(--ease); }
.panel.is-open { flex-grow: 2.5; }
.pn-pat { position: absolute; inset: 0; z-index: -2; background-image: var(--pat); opacity: 0.7; }
.pn-btn { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; text-align: left; cursor: pointer; border-radius: var(--r); }
.pn-img { position: absolute; z-index: -1; left: 50%; bottom: -6%; height: 80%; width: auto; max-width: none; translate: -50% 0; rotate: 0deg; transition: rotate 0.8s var(--ease), scale 0.8s var(--ease), translate 0.8s var(--ease); filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.4)); transform-origin: 50% 80%; }
.panel.is-open .pn-img { rotate: -3deg; scale: 1.06; }
.pn-txt { position: absolute; z-index: 2; left: clamp(16px, 1.8vw, 26px); right: 16px; top: clamp(16px, 1.8vw, 26px); display: grid; gap: 8px; pointer-events: none; }
.pn-name { font-family: var(--fd); font-weight: 400; font-size: clamp(2.1rem, 3.5vw, 3.7rem); line-height: 0.92; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.pn-line { font-size: 15px; line-height: 1.35; max-width: 22ch; opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.panel.is-open .pn-line { opacity: 1; transform: none; transition-delay: 0.2s; }

/* ---------- catálogo ---------- */
.cat { position: relative; background: var(--paper); padding: clamp(86px, 10vw, 140px) var(--pad) clamp(70px, 9vw, 130px); }
.stitch { position: absolute; left: var(--pad); right: var(--pad); top: 30px; width: calc(100% - var(--pad) * 2); height: 12px; overflow: visible; pointer-events: none; }
.stitch path { fill: none; stroke: var(--title); stroke-width: 3; stroke-dasharray: 11 10; stroke-linecap: round; }
.cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; }
.search { position: relative; display: block; width: min(100%, 340px); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; fill: none; stroke: var(--soft); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0 18px 0 48px; border-radius: 999px; border: 2px solid var(--ink); background: #fbfaf7; font-weight: 500; font-size: 1rem; }
.search input::placeholder { color: #6b6f66; }
.search input:focus { outline: 3px solid var(--green); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 2.6vw, 30px); }
.chip { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 600; font-size: 15px; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), scale 0.15s var(--ease); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.chip:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-checked="true"]):not([aria-pressed="true"]):hover { background: var(--cream); } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(24px, 3vw, 40px); }
.card { position: relative; display: block; width: 100%; text-align: left; border-radius: var(--r); overflow: hidden; background: var(--tint, var(--cream)); transition: translate 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.cd-art { position: relative; aspect-ratio: 1 / 1.04; overflow: hidden; }
.cd-art img { position: absolute; left: 50%; top: 7%; width: 84%; translate: -50% 0; max-width: none; transition: opacity 0.4s var(--ease), scale 0.6s var(--ease); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.22)); }
.cd-f { opacity: 0; }
.cd-t { display: grid; gap: 2px; padding: 14px 18px 18px; }
.cd-n { font-family: var(--fd); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.cd-c { font-size: 14px; color: var(--soft); font-weight: 500; }
.card:active { scale: 0.99; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { translate: 0 -6px; box-shadow: 0 22px 36px -16px rgba(18, 21, 15, 0.4); }
  .card:hover .cd-b { opacity: 0; }
  .card:hover .cd-f { opacity: 1; }
  .card:hover .cd-art img { scale: 1.04; }
}
.empty { margin-top: 30px; font-size: 1.1rem; }
.empty a { color: var(--green); font-weight: 700; }

/* ---------- vestimos historias ---------- */
.vest { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(16px, 3vw, 48px); min-height: 100svh; padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 120px) var(--pad); background: var(--cream); overflow: clip; }
.vest::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: clamp(40px, 6vw, 90px); background: var(--paper); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.vest-copy { position: relative; display: grid; gap: clamp(18px, 2.6vw, 30px); justify-items: start; }
.vest-h { font-family: var(--fd); font-weight: 400; font-size: clamp(3.6rem, 10.4vw, 10.6rem); line-height: 0.88; text-transform: uppercase; color: var(--title); }
.vl { display: block; }
.vest-smile { position: absolute; right: 4%; top: 2%; width: clamp(60px, 7.5vw, 112px); fill: none; stroke: var(--title); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.tagline-dark { color: var(--ink); }
.vest-p { max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.5; font-weight: 500; color: var(--ink); }
.vest-video { position: relative; margin: 0; justify-self: end; width: 100%; }
.vframe { position: relative; margin-left: auto; height: min(82svh, 780px); aspect-ratio: 9 / 16; max-width: 100%; background: #1a1d19; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; }
.vframe video, .vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.note { position: absolute; right: 8%; top: 4%; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--paper); font-family: var(--fh); font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1; rotate: -6deg; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); }
.note span { max-width: 4ch; text-align: center; }
.note svg { width: 70px; height: 52px; fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- escena: diseña, estampa, vive, repite ---------- */
.scene { position: relative; height: 470svh; background: var(--forest); color: var(--paper); }
.scene-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px); padding: calc(var(--bar-h) + 8px) var(--pad) 28px; overflow: clip; }
.scene-pat { position: absolute; inset: 0; background-image: var(--pat); pointer-events: none; }
.scene-copy { position: relative; z-index: 2; }
.rail { display: grid; gap: clamp(2px, 1.2svh, 12px); }
.rail li { opacity: 0.2; transition: opacity 0.5s var(--ease); }
.rail li.is-on { opacity: 1; }
.rail .w { font-family: var(--fd); font-size: min(9.4vw, 15.2svh); line-height: 0.92; text-transform: uppercase; }
/* dibujos a línea de la escena (2 o 3 por palabra) */
.scene-art { position: relative; z-index: 2; display: grid; place-items: center; height: 100%; min-height: 0; }
.scene-art > * { grid-area: 1 / 1; }
.scene-art { container-type: size; }
.s-zoom { display: grid; place-items: center; width: 100%; height: 100%; }
.s-hood { position: relative; width: min(100cqw, calc(100cqh * 700 / 749)); height: auto; aspect-ratio: 700 / 749; }
.s-base { display: block; width: 100%; height: 100%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.4)); }
.s-sketch { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--paper); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.s-sketch #skRect { stroke-dasharray: 14 11; }
.s-sketch .sk-it { stroke-width: 4; }
.s-sketch .sk-it path { fill-opacity: 0; }
.s-sketch .sk-it.is-mini { stroke-width: 3.2; }
.sk-it.c-cream, .sk-it.c-cream path { stroke: #f3ead8; } .sk-it.f-cream path { fill: #f3ead8; }
.sk-it.c-pink, .sk-it.c-pink path { stroke: #f35fbe; } .sk-it.f-pink path { fill: #f35fbe; }
.sk-it.c-sun, .sk-it.c-sun path { stroke: #ffd35a; } .sk-it.f-sun path { fill: #ffd35a; }
.sk-it.c-mint, .sk-it.c-mint path { stroke: #8ff0c4; } .sk-it.f-mint path { fill: #8ff0c4; }
.sk-dot { stroke: none; } .sk-dot.c-pink { fill: #f35fbe; } .sk-dot.c-sun { fill: #ffd35a; }
html.reduce .s-sketch .sk-it[class*="f-"] path { fill-opacity: 1; }

/* ---------- nosotros ---------- */
.mos { position: relative; background: var(--cream); padding: clamp(86px, 10vw, 140px) var(--pad) clamp(80px, 9vw, 130px); overflow: clip; }
.mos-p { max-width: 46ch; margin-top: clamp(10px, 1.4vw, 18px); font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.5; font-weight: 500; color: var(--ink); }
.mos-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(28px, 4vw, 56px); align-items: start; }
.mt { grid-column: span 2; margin: 0; }
.mt button { display: block; width: 100%; border-radius: var(--r); overflow: hidden; }
.mt img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mt figcaption { display: grid; padding: 12px 4px 0; }
.mt b { font-family: var(--fd); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.9rem); text-transform: uppercase; line-height: 1.05; color: var(--title); }
.mt span { font-size: 14px; color: var(--soft); font-weight: 500; }
.mt-wide { grid-column: span 3; }
.mt-wide img { aspect-ratio: 16 / 11; }
.mt-market { grid-column: span 3; position: relative; display: grid; align-content: space-between; aspect-ratio: 16 / 11; padding: clamp(18px, 2.4vw, 34px); border-radius: var(--r); background: var(--green); color: var(--paper); overflow: hidden; }
.mt-market::before { content: ''; position: absolute; inset: 0; background-image: var(--pat); opacity: 0.9; }
.mt-market > * { position: relative; }
.mt-market svg { width: clamp(70px, 9vw, 130px); fill: none; stroke: var(--paper); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mt-market p { font-family: var(--fd); font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: 0.9; text-transform: uppercase; }

/* ---------- personaliza ---------- */
.cz-sec { background: var(--paper); padding: clamp(86px, 10vw, 140px) var(--pad) clamp(80px, 9vw, 130px); }
.cz-p { margin-top: 16px; max-width: 46ch; font-size: 1.1rem; color: var(--soft); }
.cz { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(26px, 4.4vw, 70px); margin-top: clamp(30px, 4vw, 56px); align-items: start; }
.cz-view { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--bar-h) + 18px); display: grid; gap: 14px; justify-items: center; }
.cz-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: calc(100svh - var(--bar-h) - 100px); border-radius: var(--r); background: var(--cream); overflow: hidden; }
.cz-img { position: absolute; inset: 4% 8% 4%; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.cz-img img { grid-area: 1 / 1; height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.26)); }
.cz-note { position: absolute; right: 7%; top: 5%; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--title); font-family: var(--fh); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1; rotate: 5deg; }
.cz-note span { max-width: 4ch; text-align: center; }
.cz-note svg { width: 66px; height: 50px; fill: none; stroke: var(--title); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ball { --bc: #14120f; position: absolute; z-index: 3; left: 4%; bottom: 4%; width: clamp(88px, 22%, 150px); aspect-ratio: 1; }
.ball-spin { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.34), transparent 30%), var(--bc); box-shadow: inset -12px -16px 24px rgba(0, 0, 0, 0.5), 0 18px 30px rgba(18, 21, 15, 0.3); display: grid; place-items: center; }
.ball-disc { width: 50%; aspect-ratio: 1; border-radius: 50%; background: #fbfaf7; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08); }
.ball-num { position: relative; display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--fd); font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1; color: var(--ink); overflow: hidden; }
.ball-num b { grid-area: 1 / 1; font-weight: 400; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); }
.seg button { min-height: 40px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--green); color: var(--paper); }
.cz-side { grid-column: 2; display: grid; gap: 16px; min-width: 0; }
.cz-form { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.cz-form fieldset { border: 0; padding: 0; min-width: 0; }
.cz-form legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 1rem; }
.cz-form legend b { color: var(--green); }
.cz-form .chips, .cz-form .sws { margin-top: 0; }
.sws { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--ink); padding: 4px; transition: scale 0.15s var(--ease), box-shadow 0.25s var(--ease); }
.sw i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); border: 1px solid rgba(18, 21, 15, 0.25); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--green); }
.sw:active { scale: 0.92; }
.fld { display: grid; gap: 8px; font-weight: 700; font-size: 0.98rem; }
.fld input, .fld textarea { width: 100%; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--ink); background: #fbfaf7; font-weight: 500; font-size: 1rem; resize: vertical; }
.fld input { min-height: 52px; }
.fld input::placeholder, .fld textarea::placeholder { color: #6b6f66; }
.fld input:focus, .fld textarea:focus { outline: 3px solid var(--green); outline-offset: 1px; }
.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; }
.qty button { width: 52px; height: 48px; font-size: 1.5rem; font-weight: 700; border-radius: 999px; }
.qty output { min-width: 108px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty button:active { scale: 0.92; }
.qq { display: flex; flex-wrap: wrap; gap: 8px; }
.qq .chip { min-height: 40px; padding: 0 16px; }
.cz-out { grid-column: 2; display: grid; gap: 14px; }
.cz-ol { font-weight: 700; font-size: 0.95rem; }
.bubble { position: relative; padding: 16px 18px; border-radius: var(--r) var(--r) var(--r) 4px; background: #fbfaf7; border: 2px solid var(--ink); font-size: 1rem; line-height: 1.5; white-space: pre-wrap; min-height: 9em; }
.bubble .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); vertical-align: -0.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cz-small { font-size: 0.9rem; color: var(--soft); }

/* ---------- cierre ---------- */
.end { position: relative; background: radial-gradient(120% 90% at 50% 0%, #11422f 0%, var(--forest) 55%, var(--forest-d) 100%); color: var(--paper); padding: clamp(90px, 12vw, 160px) var(--pad) max(36px, env(safe-area-inset-bottom)); overflow: clip; }
.end::before { content: ''; position: absolute; inset: 0; background-image: var(--pat-b); pointer-events: none; }
.end-in { position: relative; z-index: 1; display: grid; gap: clamp(20px, 3.4vw, 38px); justify-items: center; text-align: center; max-width: 1500px; margin: 0 auto; }
.end-word { width: min(90vw, 1180px); color: var(--paper); }
.end-word .wm path { stroke-width: 6; }
.end-tag { font-family: var(--fd); font-size: clamp(2rem, 4.8vw, 4.8rem); line-height: 1; text-transform: uppercase; }
.end-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.end-note { font-size: 1rem; }
.end-loc { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; }
.end-loc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.made-by { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.55rem 0.9rem; margin-top: 24px; font-size: 0.88rem; }
.aw-mark { height: 28px; width: auto; flex: none; fill: var(--paper); overflow: visible; }
.aw-mark path { transform-box: fill-box; }
.made-by a { text-underline-offset: 3px; }
.made-by.aw-pre .aw-a { opacity: 0; transform: scaleY(0.2); transform-origin: 50% 100%; }
.made-by.aw-pre .aw-w { opacity: 0; transform: scaleX(0.15); transform-origin: 0 100%; }
.made-by.aw-pre .aw-c { opacity: 0; transform: translate(-30%, 35%) scale(0.7); transform-origin: 0 0; }
.made-by.aw-go .aw-a, .made-by.aw-go .aw-w, .made-by.aw-go .aw-c { transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.made-by.aw-go .aw-w { transition-delay: 0.25s; }
.made-by.aw-go .aw-c { transition-delay: 0.55s; }

/* ---------- diálogos ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(8, 42, 28, 0.72); animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.x { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); transition: scale 0.15s var(--ease); }
.x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.x:active { scale: 0.92; }
.ficha { position: fixed; inset: 0; margin: auto; border: 0; padding: 0; width: min(1060px, 94vw); height: min(700px, 92svh); max-width: none; max-height: none; border-radius: 26px; background: var(--paper); overflow: hidden; }
.ficha[open] { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.ficha .x { position: absolute; top: 14px; right: 14px; z-index: 3; }
.fi-art { position: relative; background: var(--tint, var(--cream)); overflow: hidden; }
.fi-img { position: absolute; inset: 5% 7%; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.fi-img img { grid-area: 1 / 1; height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.28)); }
.fi-info { display: grid; align-content: center; gap: 14px; padding: clamp(24px, 3.4vw, 48px); overflow: auto; }
.fi-col { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.fi-name { font-family: var(--fd); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.92; text-transform: uppercase; color: var(--title); }
.fi-desc { color: var(--soft); max-width: 40ch; }
.fi-color { font-size: 15px; font-weight: 600; }
.fi-info fieldset { border: 0; padding: 0; }
.fi-info legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.fi-info .chips { margin-top: 0; }
.fi-buy { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 8px 0 2px; background: var(--paper); }
.fi-buy .btn { flex: 1 1 170px; padding: 0 16px; }
.fi-buy .qty button { width: 46px; }
.fi-buy .qty output { min-width: 40px; }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; border: 0; padding: 0; width: min(460px, 100vw); height: 100svh; max-width: none; max-height: none; background: var(--paper); overflow: hidden; }
.drawer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.pd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 2px solid var(--ink); }
.pd-head h3 { font-family: var(--fd); font-weight: 400; font-size: 2.2rem; text-transform: uppercase; color: var(--title); line-height: 1; }
.pd-list { overflow: auto; padding: 8px 20px; }
.pd-list li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pd-list img { width: 74px; height: 74px; object-fit: contain; border-radius: 12px; background: var(--cream); }
.pd-n { font-family: var(--fd); font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; }
.pd-m { font-size: 14px; color: var(--soft); }
.pd-ctl { display: flex; align-items: center; gap: 6px; }
.pd-ctl button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); font-weight: 700; line-height: 1; }
.pd-ctl output { min-width: 22px; text-align: center; font-weight: 700; }
.pd-empty { padding: 28px 20px; color: var(--soft); align-self: start; }
.pd-foot { display: grid; gap: 12px; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--cream); }
.lb { border: 0; padding: 0; width: 100vw; height: 100svh; max-width: none; max-height: none; background: rgba(8, 28, 19, 0.94); color: var(--paper); }
.lb::backdrop { background: rgba(8, 28, 19, 0.9); }
.lb-body { position: absolute; inset: 70px 16px 16px; display: grid; place-items: center; }
.lb-body img { max-height: 100%; width: auto; max-width: 100%; border-radius: var(--r); }
.lb-x { position: absolute; top: 14px; right: 14px; z-index: 3; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--paper); font-weight: 700; }
.toast { position: fixed; z-index: 500; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- movimiento reducido ---------- */
html.reduce .loader { display: none; }
html.reduce .scene { height: auto; }
html.reduce .scene-stage { position: relative; height: auto; min-height: 100svh; padding-top: 80px; padding-bottom: 60px; }
html.reduce .scene-art { height: min(80svh, 640px); }
html.reduce .rail li { opacity: 1; }
html.reduce .rib { transform: none; }
html.reduce .btn::before { transition: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
html.is-paused .bubble .caret { animation: none; }

/* ---------- tablet y móvil ---------- */
@media (max-width: 1100px) {
  .bar-nav { gap: 18px; font-size: 12px; }
  .ficha { height: min(760px, 94svh); }
}
@media (max-width: 899px), (max-aspect-ratio: 1 / 1) {
  :root { --bar-h: 62px; }
  .bar-nav { position: fixed; z-index: -1; inset: 0; height: 100svh; flex-direction: column; justify-content: center; gap: 6px; padding: 80px var(--pad) 40px; background: var(--forest); color: var(--paper); font-family: var(--fd); font-size: clamp(2.8rem, 13vw, 4.6rem); font-weight: 400; letter-spacing: 0.01em; line-height: 1.02; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.6s var(--ease), visibility 0s 0.6s; }
  .bar-nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--pat); }
  .bar-nav a { padding: 2px 0; }
  html.nav-open .bar-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.6s var(--ease), visibility 0s; }
  html.nav-open .bar { color: var(--paper); }
  html.nav-open .bar.is-solid::before { transform: scaleY(0); }
  html.nav-open { overflow: hidden; }
  .ib-menu { display: flex; }
  .ib-pause { display: none; }
  .tagline { font-size: 10.5px; letter-spacing: 0.24em; }
  .tagline span + span::before { margin: 0 0.8em 0 0.55em; }

  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; padding: calc(var(--bar-h) + 10px) var(--pad) calc(24px + env(safe-area-inset-bottom)); min-height: 100svh; }
  .hero-h { grid-row: 1; align-self: start; font-size: min(22.5vw, 11.4svh); }
  .hero-copy { display: contents; }
  .hero .tagline { grid-column: 1; grid-row: 2; position: relative; z-index: 4; padding-top: 12px; }
  .hero-copy .btn { grid-column: 1; grid-row: 4; position: relative; z-index: 5; justify-self: start; min-height: 48px; }
  .hero-pile { grid-column: 1; grid-row: 3 / 5; margin: 0 calc(var(--pad) * -1) calc((24px + env(safe-area-inset-bottom)) * -1); min-height: 0; clip-path: inset(-30% 0 0 0); }
  .hp-a { width: min(62%, 36svh); left: -4%; bottom: -6%; top: auto; }
  .hp-b { width: min(54%, 30svh); right: -7%; bottom: 10%; top: auto; }
  .hp-c { width: min(48%, 28svh); right: -9%; bottom: -8%; top: auto; }
  .stk-flower { left: auto; right: 5%; top: calc(var(--bar-h) + 6px); width: 52px; }
  .stk-heart { left: 36%; top: auto; bottom: 34%; width: 38px; }
  .stk-globe { left: auto; right: 5%; bottom: 31%; width: 44px; }
  .stk-spark { left: 8%; right: auto; top: auto; bottom: 38%; width: 26px; }

  .col-row { flex-direction: column; height: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-n { font-size: 1.25rem; }
  .cd-t { padding: 10px 12px 14px; }
  .cd-c { font-size: 12.5px; }
  .panel { flex: 0 0 112px; }
  .panel.is-open { flex: 0 0 clamp(300px, 52svh, 400px); }
  .pn-img { left: auto; right: -6%; bottom: -14%; translate: 0 0; width: min(54%, 250px); }
  .panel.is-open .pn-img { width: min(70%, 300px); right: -2%; bottom: -6%; }
  .pn-txt { top: 14px; }
  .pn-line { max-width: 14ch; }
  .pn-name { font-size: clamp(2.2rem, 11vw, 3rem); }

  .vest { grid-template-columns: minmax(0, 1fr); padding: calc(var(--bar-h) + 70px) 0 clamp(50px, 10vw, 90px) 0; min-height: 0; gap: 30px; }
  .vest-copy { padding: 0 var(--pad); }
  .vest-h { font-size: min(19.4vw, 9rem); }
  .vest-smile { right: var(--pad); top: -6px; width: 56px; }
  .vframe { height: min(74svh, 640px); }
  .note { right: 12%; }

  .scene { height: 440svh; }
  .scene-art { overflow: clip; }
  .s-zoom { scale: 1.2; transform-origin: 50% 60%; }
  .scene-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: calc(var(--bar-h) + 6px) var(--pad) calc(18px + env(safe-area-inset-bottom)); }
  .rail { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 0; }
  .rail .w { font-size: min(13.4vw, 6.2svh); }

  .mos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt { grid-column: span 1; }
  .mt:nth-child(3), .mt-wide, .mt-market { grid-column: 1 / -1; }
  .mt:nth-child(3) img { aspect-ratio: 4 / 3; }
  .mt-market { aspect-ratio: 16 / 9; }

  .cz { grid-template-columns: minmax(0, 1fr); }
  .cz-view, .cz-side, .cz-out { grid-column: 1; grid-row: auto; }
  .cz-view { position: relative; top: 0; }
  .cz-stage { max-height: none; aspect-ratio: 1 / 0.92; }

  .ficha { width: 100vw; height: 100svh; border-radius: 0; }
  .ficha[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 0.5fr) minmax(0, 1.5fr); }
  .fi-info { padding: 18px var(--pad) max(20px, env(safe-area-inset-bottom)); gap: 10px; align-content: start; }
  .fi-name { font-size: 2.6rem; }
  .fi-desc { font-size: 15px; }
}
@media (max-width: 560px) {
  .mos-grid { grid-template-columns: minmax(0, 1fr); }
  .mt:nth-child(3) img { aspect-ratio: 3 / 4; }
}
@media (max-width: 480px) {
  .btn { padding: 0 20px; font-size: 13px; }
  .end-act .btn { width: 100%; }
  .pd-list li { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .pd-list img { width: 60px; height: 60px; }
}

/* ---------- tienda: precios, carrito y compra por pasos ---------- */
.btn-line-ink { border-color: var(--ink); color: var(--ink); --fill: var(--cream-d); }
.cat-sub { flex-basis: 100%; max-width: 54ch; color: var(--soft); font-size: 1.05rem; }
.cd-p { font-family: var(--fd); font-size: 1.3rem; letter-spacing: 0.01em; color: var(--green); }
.fi-price { font-family: var(--fd); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; color: var(--green); }
.fi-price[hidden] { display: none; }
.pd-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 600; }
.pd-total b { font-family: var(--fd); font-size: 2rem; font-weight: 400; color: var(--title); }
.pd-quote { display: grid; gap: 12px; }
.pd-quote.is-alt .fld { display: none; }
.pd-quote.is-alt .btn { background: transparent; border-color: var(--ink); color: var(--ink); --fill: var(--cream-d); }
.pd-last { padding: 0 20px 20px; }
.pd-last[hidden] { display: none; }

.co { position: fixed; inset: 0; margin: auto; border: 0; padding: 0; width: min(1060px, 96vw); height: min(780px, 94svh); max-width: none; max-height: none; border-radius: 26px; background: var(--paper); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.co[open] { display: flex; flex-direction: column; }
.co-top { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 46px; align-items: center; gap: 12px; padding: 14px 20px 12px; border-bottom: 2px solid var(--ink); background: var(--cream); }
.co-brand { font-family: var(--fd); font-size: 1.9rem; line-height: 1; letter-spacing: 0.02em; color: var(--title); }
.co-steps { --p: 0; position: relative; display: flex; justify-content: space-between; max-width: 560px; width: 100%; margin: 0 auto; padding: 0; list-style: none; }
.co-steps::before, .co-steps::after { content: ''; position: absolute; top: 13px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: var(--line); }
.co-steps::after { background: var(--green); transform: scaleX(var(--p)); transform-origin: left; transition: transform 0.6s var(--ease); }
.co-steps li { position: relative; z-index: 1; flex: 1 1 0; display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.co-steps li i { display: block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); background: var(--cream); transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.co-steps li.is-on { color: var(--ink); }
.co-steps li.is-on i { border-color: var(--green); background: var(--paper); box-shadow: inset 0 0 0 5px var(--green); }
.co-steps li.is-done i { border-color: var(--green); background: var(--green); position: relative; }
.co-steps li.is-done i::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.co-demo { padding: 8px 16px; background: var(--ink); color: var(--paper); text-align: center; font-size: 14px; font-weight: 600; }
.co-demo[hidden] { display: none; }
.co-body { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr); overflow: hidden; }
.co-main { min-width: 0; overflow: auto; overscroll-behavior: contain; padding: clamp(20px, 3vw, 38px); }
.co-sum { display: grid; align-content: start; gap: 14px; padding: clamp(20px, 2.6vw, 32px); background: var(--cream); border-left: 2px solid var(--ink); overflow: auto; }
.co-p[hidden] { display: none; }
.co-h { font-family: var(--fd); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 0.95; text-transform: uppercase; color: var(--title); }
.co-h:focus { outline: none; }
.co-lead { margin-top: 10px; max-width: 52ch; color: var(--soft); }
.co-items { margin-top: 22px; display: grid; }
.co-items li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.co-items img { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; background: var(--cream); }
.co-in { font-family: var(--fd); font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; }
.co-im { font-size: 14px; color: var(--soft); }
.co-lp { font-family: var(--fd); font-weight: 400; font-size: 1.4rem; min-width: 5.5ch; text-align: right; color: var(--title); }
.co-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.co-hint { font-weight: 500; color: var(--soft); font-size: 13px; }
.fld.is-bad input { border-color: #a1201a; background: #fdf0ee; }
.co-err { margin-top: 14px; color: #a1201a; font-weight: 700; }
.co-err[hidden] { display: none; }
.co-ship { border: 0; padding: 0; margin: 22px 0 0; }
.co-ship legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.co-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.co-two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.co-card { display: grid; align-content: start; gap: 4px; padding: 16px 18px; text-align: left; border: 2px solid var(--ink); border-radius: 18px; background: #fbfaf7; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.co-card b { font-family: var(--fd); font-weight: 400; font-size: 1.4rem; line-height: 1.05; text-transform: uppercase; color: var(--title); }
.co-card span { font-size: 14px; color: var(--soft); line-height: 1.4; }
.co-card em { margin-top: 6px; font-style: normal; font-weight: 700; color: var(--green); }
.co-card[aria-checked="true"] { border-color: var(--green); background: #e5efe8; box-shadow: inset 0 0 0 2px var(--green); }
.co-card:active { scale: 0.99; }
.co-card:disabled { opacity: 0.5; cursor: not-allowed; }
.co-note { margin-top: 14px; color: var(--soft); }
.co-small { margin-top: 16px; font-size: 14px; color: var(--soft); }
.co-pay { display: grid; grid-template-columns: minmax(200px, 290px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; margin-top: 18px; padding: clamp(16px, 2.4vw, 26px); border-radius: 22px; background: var(--cream); }
.co-qr { margin: 0; }
.co-qr img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 12px 28px rgba(18, 21, 15, 0.18); }
.co-how { display: grid; gap: 12px; align-content: start; }
.co-wide { grid-column: 1 / -1; }
.co-big { font-family: var(--fd); font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; text-transform: uppercase; color: var(--title); }
.co-how ol, .co-after { display: grid; gap: 8px; padding-left: 1.3em; margin: 0; }
.co-how li, .co-after li { padding-left: 4px; }
.co-row { display: flex; flex-wrap: wrap; gap: 10px; }
.co-row .btn { min-height: 46px; padding: 0 20px; font-size: 14px; }
.co-pay .btn-green { justify-self: start; }
.co-sh { font-family: var(--fd); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; color: var(--title); }
.co-sl { display: grid; gap: 10px; }
.co-sl li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; font-weight: 600; }
.co-sl li:not(:has(img)) { grid-template-columns: minmax(0, 1fr) auto; }
.co-sl img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--paper); }
.co-sl small { display: block; font-weight: 500; color: var(--soft); }
.co-sl b { font-variant-numeric: tabular-nums; }
.co-sr { display: grid; gap: 6px; padding-top: 12px; border-top: 2px solid var(--ink); }
.co-sr p { display: flex; justify-content: space-between; gap: 10px; }
.co-sr b { font-variant-numeric: tabular-nums; }
.co-sg { align-items: baseline; }
.co-sg span { font-weight: 700; }
.co-sg b { font-family: var(--fd); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--title); }
.co-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--cream); }
.co-tot { display: none; margin-right: auto; line-height: 1.1; }
.co-tot small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.co-tot b { font-family: var(--fd); font-weight: 400; font-size: 1.9rem; color: var(--title); }
.co-foot .btn { min-height: 52px; padding: 0 22px; }
.co-foot .btn[hidden] { display: none; }
.tk { position: relative; max-width: 470px; margin: 22px auto 0; padding-bottom: 30px; background: #fbfaf7; border: 2px solid var(--ink); border-bottom: 0; border-radius: 16px 16px 0 0; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; box-shadow: 0 18px 30px rgba(18, 21, 15, 0.14); }
.tk header { display: grid; justify-items: center; gap: 2px; padding: 20px 16px 16px; background: var(--forest); color: var(--paper); border-radius: 14px 14px 0 0; }
.tk-w { font-family: var(--fd); font-weight: 400; font-size: 3.2rem; line-height: 1; letter-spacing: 0.02em; }
.tk header span { font-size: 14px; font-weight: 600; }
.tk-meta { display: grid; gap: 2px; padding: 16px 20px 6px; }
.tk-meta span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.tk-meta b { font-family: var(--fd); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--title); }
.tk-meta small { color: var(--soft); font-size: 14px; }
.tk-who, .tk-items, .tk-tot, .tk footer { margin: 0 20px; padding: 14px 0; border-top: 2px dashed var(--ink); }
.tk-who { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 15px; }
.tk-who dt { font-weight: 700; color: var(--soft); }
.tk-who dd { margin: 0; }
.tk-items { display: grid; gap: 8px; font-size: 15px; }
.tk-items li { display: flex; justify-content: space-between; gap: 12px; }
.tk-items b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-tot { display: grid; gap: 4px; }
.tk-tot p { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.tk-g span { font-family: var(--fd); font-size: 2rem; line-height: 1; }
.tk-g b { font-family: var(--fd); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--title); }
.tk footer { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.tk footer em { font-style: normal; color: var(--green); font-weight: 700; }
.co-after { margin-top: 22px; }
@media (max-width: 899px), (max-aspect-ratio: 1 / 1) {
  .co { inset: 0; width: 100vw; height: 100svh; border-radius: 0; }
  .co-top { grid-template-columns: minmax(0, 1fr) 46px; padding: 10px 14px; }
  .co-brand { display: none; }
  .co-steps li { font-size: 11px; letter-spacing: 0.06em; }
  .co-body { display: block; overflow: auto; }
  .co-main { overflow: visible; padding: 20px 16px 28px; }
  .co-sum { display: none; }
  .co-cards, .co-two { grid-template-columns: minmax(0, 1fr); }
  .co-pay { grid-template-columns: minmax(0, 1fr); }
  .co-qr { max-width: 300px; margin: 0 auto; }
  .co-items li { grid-template-columns: 64px minmax(0, 1fr) auto; row-gap: 6px; }
  .co-items img { width: 64px; height: 64px; }
  .co-items .co-lp { grid-column: 2 / 4; text-align: left; }
  .co-tot { display: block; }
  .co-foot { flex-wrap: wrap; }
  .co-foot .btn { flex: 1 1 140px; padding: 0 14px; font-size: 14px; }
  .co-foot.is-end .co-tot { display: none; }
  .co-foot.is-end .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .co-steps::after, .co-steps li i { transition: none; } }

/* carrito flotante: siempre a mano al elegir y comprar */
.fab { position: fixed; z-index: 90; right: clamp(14px, 2vw, 28px); bottom: max(18px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 64px; height: 64px; padding: 0 17px; border-radius: 999px; background: var(--green); color: var(--paper); border: 2px solid var(--paper); box-shadow: 0 14px 30px rgba(8, 42, 28, 0.38); opacity: 0; transform: translateY(24px) scale(0.9); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), background-color 0.25s var(--ease); }
.fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab.has { padding: 0 22px 0 18px; }
.fab-t { font-weight: 800; font-size: 16px; letter-spacing: 0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fab-t:empty { display: none; }
.fab b { position: absolute; top: -9px; right: -5px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--paper); color: var(--forest); border: 2px solid var(--green); font-size: 13px; font-weight: 800; line-height: 22px; text-align: center; }
.fab:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) { .fab:hover { background: var(--forest); } }
body.is-loading .fab { opacity: 0 !important; pointer-events: none !important; }
@media (prefers-reduced-motion: reduce) { .fab { transition: opacity 0.2s linear; transform: none; } }
@media (max-width: 899px), (max-aspect-ratio: 1 / 1) { .toast { bottom: max(92px, calc(env(safe-area-inset-bottom) + 84px)); } }


/* ---- sin JavaScript (antes estaba en un <noscript><style>, que la CSP no permite) ---- */
html:not(.js) body.is-loading { overflow: auto; }
html:not(.js) .loader { display: none; }
html:not(.js) .hero-h .ln, html:not(.js) .hp, html:not(.js) .stk, html:not(.js) .hero-copy { opacity: 1 !important; transform: none !important; }

/* ---- casillas de la compra (términos y privacidad) ---- */
.co-agree { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; font-size: 0.96rem; line-height: 1.45; cursor: pointer; }
.co-agree input { flex: none; width: 26px; height: 26px; margin-top: 1px; accent-color: var(--green); cursor: pointer; }
.co-agree a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.co-agree.is-bad { color: #a1201a; }
.co-agree.is-bad input { outline: 3px solid #a1201a; outline-offset: 2px; }

/* ---- enlaces legales del cierre y aviso de la tienda ---- */
.end-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin-top: 10px; }
.end-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font-weight: 600; font-size: 0.92rem; text-underline-offset: 3px; }
.ann { position: fixed; z-index: 340; top: calc(var(--bar-h, 64px) + 10px); right: 12px; max-width: min(340px, calc(100vw - 24px)); display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28); opacity: 0; transform: translateY(-10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.ann.is-on { opacity: 1; transform: none; }
.ann p { margin: 0; font-weight: 600; line-height: 1.4; }
.ann a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.ann button { justify-self: start; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ann { transition: none; transform: none; } }

/* ---------- guía de tallas y preguntas frecuentes ---------- */
.cat-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: clamp(20px, 2.6vw, 30px); }
.cat-tools .chips { margin-top: 0; }
.sg-open { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; }
.sg-open svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sg-link { margin-left: 10px; padding: 0 2px; min-height: 32px; font: 600 0.88rem/1 var(--fb); color: var(--green); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.sg-link:active { translate: 0 1px; }
.tallas { position: fixed; inset: 0; margin: auto; border: 0; padding: clamp(18px, 3vw, 32px); width: min(760px, 94vw); height: fit-content; max-height: 92svh; overflow: auto; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(8, 42, 28, 0.35); }
.tallas::backdrop { background: rgba(8, 42, 28, 0.62); }
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tl-head h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; text-transform: uppercase; color: var(--title); }
.sg-seg { margin-bottom: 16px; }
.sg-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px clamp(16px, 3vw, 32px); align-items: center; }
.sg-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sg-table th, .sg-table td { padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--line, rgba(18, 21, 15, 0.18)); font-weight: 700; font-size: 1.02rem; }
.sg-table thead th { font-size: 0.88rem; line-height: 1.15; vertical-align: bottom; }
.sg-table tbody th { font-family: var(--fd); font-weight: 400; font-size: 1.5rem; }
.sg-h i { display: block; height: 6px; width: 100%; margin: 0 auto 8px; border-radius: 3px; background: var(--c); }
.sg-h-manga { --c: #c2287a; }
.sg-h-pecho { --c: #2f8fc4; }
.sg-h-largo { --c: #d9b90b; }
.sg-fig { display: grid; place-items: center; }
.sg-note { grid-column: 1 / -1; margin-top: 8px; font-size: 0.92rem; color: var(--soft); }
.faq { background: var(--paper); padding: clamp(70px, 9vw, 130px) var(--pad); }
.faq-in { max-width: 920px; margin: 0 auto; }
.faq-list { margin-top: clamp(24px, 4vw, 44px); border-top: 2px solid var(--ink); }
.faq-q { border-bottom: 2px solid var(--ink); }
.faq-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.3rem); }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); rotate: 45deg; translate: 0 -3px; transition: rotate 0.3s var(--ease, ease), translate 0.3s var(--ease, ease); }
.faq-q[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq-a { padding: 0 0 22px; max-width: 70ch; }
.faq-a p + [data-sizeguide] { margin-top: 16px; }
.faq-a a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.faq-q .sg-body { max-width: 720px; }
@media (max-width: 640px) { .sg-body { grid-template-columns: minmax(0, 1fr); } .sg-fig { order: -1; } .sg-table th, .sg-table td { padding: 12px 6px; } }
@media (hover: hover) and (pointer: fine) { .faq-q summary:hover { color: var(--green); } }
@media (prefers-reduced-motion: reduce) { .faq-q summary::after { transition: none; } }

.ib-lang { width: auto; min-width: 44px; padding: 0 8px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: 0.06em; }
.sg-draw { width: auto; max-width: 100%; height: auto; max-height: 300px; object-fit: contain; }
@media (max-width: 640px) { .sg-draw { max-height: 190px; } }

/* ---------- colección abierta (el panel crece) ---------- */
.colv { position: fixed; inset: 0; margin: 0; padding: 0; border: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; overflow-y: auto; overscroll-behavior: contain; background: var(--cbg, var(--forest)); color: var(--paper); }
.colv::backdrop { background: transparent; }
.colv-x { position: fixed; top: 14px; right: 14px; z-index: 6; }
.colv-hero { position: relative; min-height: min(62svh, 560px); padding: clamp(84px, 11vw, 120px) var(--pad) clamp(40px, 5vw, 64px); display: grid; align-content: end; overflow: clip; isolation: isolate; }
.colv-pat { position: absolute; inset: 0; z-index: -2; background-image: var(--pat); opacity: 0.7; }
.colv-txt { position: relative; z-index: 2; display: grid; gap: 10px; max-width: 100%; }
.colv-n { font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.colv-h { font-family: var(--fd); font-weight: 400; font-size: clamp(3.6rem, 13vw, 11rem); line-height: 0.9; text-transform: uppercase; }
.colv-h .w { display: inline-block; white-space: nowrap; }
.colv-h .ch { display: inline-block; }
.colv-line { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 26ch; }
.colv-img { position: absolute; z-index: 1; right: max(2vw, 8px); bottom: -4%; height: 96%; width: auto; max-width: 52%; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.35)); transform-origin: 50% 80%; }
.colv-sheet { position: relative; z-index: 3; margin-top: -26px; padding: clamp(10px, 2vw, 26px) var(--pad) clamp(48px, 7vw, 90px); background: var(--paper); color: var(--ink); border-radius: 28px 28px 0 0; min-height: 40svh; }
.colv-grid { margin-top: clamp(18px, 2.4vw, 30px); }
.colv-all { margin-top: clamp(26px, 4vw, 44px); }
.colv-all svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .colv-hero { min-height: 64svh; } .colv-img { max-width: 58%; height: 44%; top: 64px; bottom: auto; right: -2%; } .colv-h { font-size: clamp(3.2rem, 17vw, 5.4rem); } }

/* ticket como imagen */
.tk-fig { max-width: 440px; margin: 22px auto 0; }
.tk-img { display: block; width: 100%; height: auto; min-height: 320px; border-radius: 22px; background: var(--cream); box-shadow: 0 18px 40px rgba(8, 42, 28, 0.18); }
.tk-fig.is-ready .tk-img { min-height: 0; animation: tkIn 0.7s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) both; }
@keyframes tkIn { from { opacity: 0; transform: translateY(18px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tk-fig.is-ready .tk-img { animation: none; } }

/* consultas por WhatsApp (ficha, guía de tallas y preguntas) */
.fi-ask { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 44px; font-weight: 700; font-size: 0.98rem; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.fi-ask svg, .tl-wa svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tl-wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.faq-wa { margin-top: clamp(26px, 4vw, 46px); padding: clamp(20px, 3vw, 30px); border-radius: var(--r); background: var(--cream); }
.faq-wa p { font-weight: 700; font-size: 1.1rem; }
.faq-wa-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* micro animaciones: letras, onda al tocar */
.fx-char { display: inline-block; will-change: transform; }
.btn.is-wave::after, .chip.is-wave::after { content: ''; position: absolute; left: var(--rx, 50%); top: var(--ry, 50%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: currentColor; opacity: 0.28; pointer-events: none; animation: gwWave 0.65s var(--ease, ease-out) forwards; }
.chip { position: relative; overflow: hidden; }
@keyframes gwWave { to { transform: scale(26); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .btn.is-wave::after, .chip.is-wave::after { animation: none; display: none; } }

/* pantalla de confianza (compra, celular, reseñas, ticket) */
dialog.trust { position: fixed; inset: 0; margin: 0; border: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; padding: 20px; background: rgba(8, 42, 28, 0.94); backdrop-filter: blur(10px); color: var(--paper); }
dialog.trust[open] { display: grid; place-items: center; }
dialog.trust::backdrop { background: transparent; }
.trust-card { width: min(440px, 100%); display: grid; justify-items: center; gap: 14px; text-align: center; }
.trust-ball { position: relative; width: 96px; height: 96px; }
.trust-spin { position: absolute; inset: 0; border-radius: 50%; background: #14120f; display: grid; place-items: center; overflow: hidden; }
.trust-spin::before { content: ''; position: absolute; inset: -20%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28) 0, rgba(255, 255, 255, 0) 45%); animation: trustSpin 2.4s linear infinite; }
.trust-spin b { position: relative; }
.trust-spin b { display: grid; place-items: center; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fbfaf7; color: #14120f; font: 400 1.7rem/1 var(--fd); }
.trust-lock { position: absolute; margin-top: 70px; margin-left: 66px; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--green); fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-h { margin-top: 18px; font-family: var(--fd); font-weight: 400; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.trust-steps { display: grid; gap: 10px; width: 100%; max-width: 330px; margin: 6px 0; text-align: left; list-style: none; }
.trust-steps li { position: relative; padding-left: 34px; font-weight: 600; opacity: 0.55; transition: opacity 0.3s; }
.trust-steps li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
.trust-steps li.is-on { opacity: 1; }
.trust-steps li.is-on::before { border-color: var(--paper); border-top-color: transparent; animation: trustSpin 0.8s linear infinite; }
.trust-steps li.is-done { opacity: 1; }
.trust-steps li.is-done::before { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 4px var(--green); }
.trust-steps li.is-done::after { content: ''; position: absolute; left: 6px; top: 7px; width: 8px; height: 4px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); rotate: -45deg; }
.trust-bar { width: 100%; max-width: 330px; height: 8px; border-radius: 99px; background: rgba(240, 239, 235, 0.2); overflow: hidden; }
.trust-bar i { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); border-radius: 99px; }
.trust-note { max-width: 34ch; font-size: 0.95rem; opacity: 0.9; }
html.is-trust { overflow: hidden; }
@keyframes trustSpin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .trust-spin::before, .trust-steps li.is-on::before { animation: none; } }
/* datos del pedido: celular con su prefijo, aviso de precio del exterior */
.co-phone .ph { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 14px; background: #fff; overflow: hidden; }
.co-phone .ph:focus-within { outline: 3px solid var(--green); outline-offset: 1px; }
.co-phone .ph-d { display: grid; place-items: center; padding: 0 14px; background: var(--cream); font-weight: 700; font-variant-numeric: tabular-nums; }
.co-phone .ph input { border: 0; border-radius: 0; flex: 1; min-width: 0; outline: none; }
.co-phone.is-bad .ph { border-color: #a1201a; background: #fdf0ee; }
.co-ext { margin: 14px 0; padding: 14px 18px; border-radius: var(--r); background: var(--cream); }
.co-ext b { display: block; font-size: 1.05rem; }
.co-ext p { margin-top: 6px; font-size: 0.95rem; color: var(--soft); }
.co-country select { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; font: inherit; }

/* reseñas con foto y recordatorio de carrito */
.rv { background: var(--cream); padding: clamp(70px, 9vw, 130px) var(--pad); }
.rv-in { max-width: 1180px; margin: 0 auto; }
.rv-lead { margin-top: 14px; max-width: 52ch; font-size: 1.1rem; color: var(--soft); }
.rv-avg { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; }
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: clamp(22px, 3vw, 36px) 0; }
.rv-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: 0 10px 30px rgba(8, 42, 28, 0.1); }
.rv-ph img { display: block; width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.rv-b { display: grid; gap: 8px; align-content: start; padding: 16px 18px 20px; }
.rv-q { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.rv-w { font-weight: 700; font-size: 0.92rem; color: var(--green); }
.rv-empty { margin: clamp(20px, 3vw, 32px) 0; padding: 20px 22px; border-radius: var(--r); background: var(--paper); max-width: 60ch; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars i, .rv-pick i { width: 18px; height: 18px; background: #c9c2b3; clip-path: polygon(50% 0, 62% 35%, 98% 35%, 69% 57%, 80% 92%, 50% 70%, 20% 92%, 31% 57%, 2% 35%, 38% 35%); }
.rv-stars i.on, .rv-pick .on i { background: var(--green); }
.rvd { position: fixed; inset: 0; margin: auto; border: 0; padding: clamp(18px, 3vw, 30px); width: min(560px, 94vw); height: fit-content; max-height: 92svh; overflow: auto; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(8, 42, 28, 0.35); }
.rvd::backdrop { background: rgba(8, 42, 28, 0.62); }
.rvd form { display: grid; gap: 14px; }
.rvd textarea { width: 100%; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; font: inherit; resize: vertical; }
.rvd input[type="file"] { padding: 10px; border-radius: 14px; border: 2px dashed var(--ink); background: #fff; font: inherit; }
.rv-pickset { border: 0; padding: 0; }
.rv-pickset legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.rv-pick { display: flex; gap: 4px; }
.rv-pick button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; }
.rv-pick button i { width: 30px; height: 30px; }
.rv-pick button:active { scale: 0.92; }
.rv-prev { width: 120px; height: 140px; object-fit: cover; border-radius: 14px; }
.rv-prev[hidden] { display: none; }
#rvMsg.is-bad { color: #a1201a; }
#rvDone h4 { font-family: var(--fd); font-weight: 400; font-size: 2.4rem; text-transform: uppercase; color: var(--title); }
#rvDone p { margin: 8px 0 18px; }
.rm { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--cream); display: grid; gap: 10px; }
.rm-h { font-weight: 700; font-size: 1rem; }
.rm-f { display: grid; gap: 8px; }
.rm-f select, .rm-f input { min-height: 48px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; font: inherit; }
.rm-msg { font-size: 0.92rem; font-weight: 600; }
.rm-msg.is-bad { color: #a1201a; }
.co-ver { display: grid; gap: 10px; margin: 8px 0 4px; padding: 14px 16px; border-radius: var(--r); background: var(--cream); }
.co-ok { font-weight: 700; color: var(--green); }

/* ---------- personalizador mejorado: pestañas y capas sobre el hoodie ---------- */
.cz-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream); }
.cz-tab { min-height: 44px; padding: 0 8px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), scale 0.15s var(--ease); }
.cz-tab[aria-selected="true"] { background: var(--green); color: var(--paper); }
.cz-tab:active { scale: 0.97; }
.cz-panel { display: grid; gap: clamp(16px, 2vw, 22px); }
.cz-panel[hidden] { display: none; }
.cz-art { position: absolute; inset: 4% 8% 4%; display: grid; place-content: center; pointer-events: none; z-index: 1; }
.cz-box { position: relative; container-type: size; }
.cz-layer { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; max-width: 96%; }
.cz-layer.is-drag { cursor: grabbing; }
.cz-l-art { height: auto; display: block; }
.cz-l-txt::before { content: attr(data-txt); }
.cz-l-txt { white-space: nowrap; line-height: 1; text-align: center; text-transform: uppercase; letter-spacing: 0.01em; }
.cz-layer:focus-visible { outline: 3px dashed var(--green); outline-offset: 4px; }
.cz-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 3; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 0.9rem; text-align: center; max-width: 92%; }
.cz-hint[hidden] { display: none; }
.fld-rng input[type="range"] { min-height: 0; padding: 0; border: 0; background: none; accent-color: var(--green); height: 36px; }
#fArt { padding: 10px 14px; }
.cz-small { margin: 0; font-size: 0.9rem; color: #4d5148; }
@media (max-width: 520px) { .cz-tab { font-size: 12.5px; letter-spacing: 0.02em; padding: 0 4px; } }
@media (prefers-reduced-motion: reduce) { .cz-tab, .cz-tab:active { transition: none; scale: 1; } }
