/* =====================================================================
   TIENDA · ropa, libretas y detalles
   Estilo: femenino y juguetón — rosas empolvados, tinta ciruela, papel de libreta
   (v1 "startup lima" guardada en versiones/v1-startup-lima)
   ===================================================================== */

@property --c1 { syntax: '<color>'; inherits: true; initial-value: #cccccc; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #999999; }
@property --tx { syntax: '<color>'; inherits: true; initial-value: #3B1E2C; }

:root {
  --paper: #FFF4F5;
  --paper2: #FDE6EA;
  --card: #FFFBFA;
  --ink: #3B1E2C;
  --ink2: #7B5163;
  --rose: #FF9DBB;
  --blush: #FFD3E0;
  --berry: #E14B82;
  --lilac: #D4C1F5;
  --peach: #FFCBAE;
  --butter: #FFE08A;
  --sage: #B5DEC2;
  --sky: #C9D6FF;
  --red: #C0263F;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 34px;
  --b: 2px solid var(--ink);
  --sh: 4px 4px 0 var(--ink);
  --sh-lg: 7px 7px 0 var(--ink);
  --gut: clamp(16px, 4vw, 56px);
  --maxw: 82rem;
  --hdr: 80px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --io: cubic-bezier(.76, 0, .24, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --f-d: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-b: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-s: 'Fraunces', Georgia, serif;
  --f-m: 'Manrope', system-ui, sans-serif;

  --z-hdr: 60; --z-menu: 55; --z-pill: 50; --z-drawer: 70; --z-modal: 80; --z-co: 90; --z-toast: 120; --z-fly: 150; --z-loader: 200; --z-cursor: 300;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, .28vw + 12.4px, 20px); scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.locked { overflow: hidden; }
html.locked body { padding-right: var(--sbw, 0px); }
body {
  margin: 0; min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(59, 30, 44, .11) 1.1px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--ink); font-family: var(--f-b); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--f-s); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--rose); color: var(--ink); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 10px; text-decoration: none; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }

.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

/* ---------- tipografía display (Fraunces, suave y femenina) ---------- */
.hero-title, .sec-title, .cat h3, .m-link, .m-promo-t, .club-title, .contact-card h3, .how h3, .co-h, .m-name,
.foot-big, .logo, .d-empty-t, .card-name, .p-info b, .caja-total b, .m-price, .box-count, .el-brand {
  font-family: var(--f-d); font-optical-sizing: auto; font-variation-settings: 'SOFT' 100, 'WONK' 0;
}
.kicker, .eyebrow, .cat-n, .m-promo-k, .m-cat, .foot-title, .upsell-t, .res-count, .m-num, .foot-col em { font-weight: 700 !important; }

/* ---------- botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: .8em 1.5em; border: var(--b); border-radius: 999px;
  background: var(--card); color: var(--ink); box-shadow: var(--sh);
  font: 700 1rem/1.1 var(--f-b); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, translate .5s var(--ease);
}
.btn .i { width: 20px; height: 20px; transition: transform .3s var(--spring); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); transition-duration: .08s; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--rose), 4px 4px 0 2px var(--ink); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--rose), 6px 6px 0 2px var(--ink); }
.btn-ink:active { box-shadow: 1px 1px 0 var(--rose), 1px 1px 0 2px var(--ink); }
.btn-rose { background: var(--rose); }
.btn-line { background: transparent; }
.btn-line:hover { background: var(--card); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: var(--sh); }

.ic-btn {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: var(--b); border-radius: 50%; background: var(--card); cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.ic-btn:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.ic-btn .i { width: 20px; height: 20px; }
.count {
  position: absolute; top: -7px; right: -7px; min-width: 23px; height: 23px; padding: 0 6px;
  display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--berry); color: #fff; font-size: .72rem; font-weight: 800; line-height: 1;
  transform: scale(0); transition: transform .35s var(--spring);
}
.count.has { transform: scale(1); }
.pop { animation: pop .5s var(--spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: none; } 25% { transform: scale(1.25) rotate(-12deg); } 55% { transform: scale(.92) rotate(8deg); } 100% { transform: none; } }

.x-btn { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: var(--b); border-radius: 50%; background: var(--card); cursor: pointer; transition: transform .35s var(--spring), background-color .2s; }
.x-btn:hover { transform: rotate(90deg); background: var(--rose); }

/* ---------- reveals ---------- */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.js .split .wi { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .split.in .wi { transform: none; }

/* =====================================================================
   PRELOADER · carta con lacre
   ===================================================================== */
.loader { display: none; }
.js .loader {
  --lbg: #FFE4EC;
  position: fixed; inset: 0; z-index: var(--z-loader); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background-color: var(--lbg);
  background-image: radial-gradient(rgba(59, 30, 44, .1) 1.1px, transparent 1.5px); background-size: 24px 24px;
  transition: transform 1.05s var(--io); cursor: pointer;
}
.loader::after { /* borde de encaje que se ve al subir */
  content: ''; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 30px; pointer-events: none;
  background: radial-gradient(circle at 15px 0, var(--lbg) 15px, transparent 15.5px) 0 0 / 30px 30px repeat-x;
}
.loader::before {
  content: ''; position: absolute; left: 0; right: 0; top: calc(100% + 18px); height: 6px; pointer-events: none;
  background: radial-gradient(circle, rgba(225, 75, 130, .55) 2px, transparent 2.5px) 12px 0 / 30px 6px repeat-x;
}
.loader.out { transform: translateY(calc(-100% - 48px)); }
.ld-hearts { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ld-hearts span { position: absolute; bottom: -60px; left: var(--l); width: var(--s); color: var(--c); opacity: 0; animation: rise var(--t) linear var(--dl) infinite; }
.ld-hearts svg, .burst-heart svg { width: 100%; height: auto; }
@keyframes rise {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  12% { opacity: .85; }
  50% { transform: translate(22px, -55vh) rotate(16deg); }
  100% { transform: translate(-12px, -118vh) rotate(-12deg); opacity: 0; }
}
.env-stage { position: relative; margin-top: clamp(40px, 9vh, 90px); perspective: 1000px; }
.env { position: relative; width: min(300px, 74vw); aspect-ratio: 3 / 2; animation: envFloat 3.2s ease-in-out infinite; }
@keyframes envFloat { 50% { transform: translateY(-9px) rotate(-1.6deg); } }
.env-back { position: absolute; inset: 0; border: 3px solid var(--ink); border-radius: 12px; background: #F58BAE; box-shadow: 7px 7px 0 var(--ink); }
.env-letter {
  position: absolute; left: 6%; right: 6%; top: 6%; height: 90%; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 7%;
  border: 2.5px solid var(--ink); border-radius: 10px; text-align: center;
  background: #FFFBFA linear-gradient(rgba(225, 75, 130, .13) 1px, transparent 1px) 0 6px / 100% 15px;
  transition: transform 1s var(--spring) .4s;
}
.el-k { font: italic 500 1.08rem/1.2 var(--f-s); color: var(--berry); }
.el-brand { font-size: clamp(1.7rem, 7.4vw, 2.35rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.el-s { margin-top: 4px; font: 700 .6rem/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.env-front { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.env-flap { position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: 3; transform-origin: 50% 1.5px; transition: transform .75s var(--io), z-index 0s .32s; }
.env-flap svg { width: 100%; height: 100%; overflow: visible; }
.env-seal { position: absolute; z-index: 4; left: 50%; top: 54%; width: 27%; transform: translate(-50%, -50%); transition: transform .45s var(--spring); }
.env-seal svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(2px 3px 0 rgba(59, 30, 44, .35)); }
.loader.done .env-seal { transform: translate(-50%, -50%) scale(1.22) rotate(-14deg); }
.loader.open .env { animation-play-state: paused; }
.loader.open .env-seal { transform: translate(-50%, -50%) scale(0) rotate(50deg); transition: transform .3s var(--io); }
.loader.open .env-flap { transform: rotateX(180deg); z-index: 0; }
.loader.open .env-letter { transform: translateY(-60%) rotate(-2deg); }
.burst-heart { position: absolute; left: 50%; top: 50%; width: 22px; margin: -11px 0 0 -11px; pointer-events: none; z-index: 5; }
.ld-thread { width: min(320px, 80vw); margin-top: 6px; }
.ld-thread svg { width: 100%; height: auto; overflow: visible; }
.ld-pct { display: flex; align-items: baseline; gap: 12px; color: var(--ink2); }
.ld-pct em { font-size: 1.12rem; }
.ld-pct b { min-width: 3.2ch; font: 600 1.45rem/1 var(--f-d); font-variation-settings: 'SOFT' 100; color: var(--ink); text-align: right; }
.loader-hint { font: 700 .68rem var(--f-b); text-transform: uppercase; letter-spacing: .16em; opacity: .45; }
@media (max-height: 560px) {
  .js .loader { gap: 8px; }
  .env { width: min(210px, 46vw); }
  .env-stage { margin-top: 64px; }
  .loader-hint { display: none; }
}

/* =====================================================================
   CABECERA
   ===================================================================== */
.hdr { position: fixed; inset: 0 0 auto; z-index: var(--z-hdr); padding: 12px var(--gut) 0; pointer-events: none; }
html.locked .hdr { padding-right: calc(var(--gut) + var(--sbw, 0px)); }
.hdr-in {
  pointer-events: auto; max-width: var(--maxw); margin-inline: auto; height: 62px; padding: 0 8px 0 14px;
  display: flex; align-items: center; gap: 12px;
  border: 2px solid transparent; border-radius: 999px;
  transition: background-color .35s, border-color .35s, box-shadow .35s, transform .5s var(--ease);
}
.scrolled .hdr-in { background: rgba(255, 253, 247, .88); border-color: var(--ink); box-shadow: var(--sh); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.36rem; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.logo-mark svg { width: 34px; height: 34px; transition: transform .7s var(--spring); }
.logo:hover .logo-mark svg { transform: rotate(180deg) scale(1.08); }
.nav { position: relative; display: none; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { position: relative; z-index: 1; padding: .55rem .95rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-blob { position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0; border: 2px solid var(--ink); border-radius: 999px; background: var(--rose); opacity: 0; transition: transform .4s var(--spring), width .4s var(--spring), opacity .2s; pointer-events: none; }
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { position: relative; width: 50px; height: 50px; flex: none; border: var(--b); border-radius: 50%; background: var(--ink); cursor: pointer; transition: background-color .4s, transform .3s var(--ease); }
.burger:hover { transform: scale(1.05); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2.5px; border-radius: 3px; background: var(--paper); transition: transform .45s var(--spring), top .3s var(--ease), background-color .3s, right .3s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; right: 20px; }
.burger:hover span:nth-child(2) { right: 14px; }
.menu-open .burger { background: var(--rose); }
.menu-open .burger span { background: var(--ink); top: 23px; right: 14px; }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }
.menu-open .hdr-in { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .logo { color: var(--paper); }
.menu-open .hdr-actions .ic-btn { background: transparent; border-color: rgba(255, 244, 245, .5); color: var(--paper); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
}
@media (max-width: 479px) {
  .hide-xs { display: none; }
  .logo { font-size: 1.18rem; }
  .logo-mark svg { width: 30px; height: 30px; }
}

/* =====================================================================
   MENÚ MÓVIL / TABLET
   ===================================================================== */
.menu { position: fixed; inset: 0; z-index: var(--z-menu); }
.menu-bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0px at var(--mx, 92%) var(--my, 44px)); transition: clip-path .75s var(--io); }
.menu.is-open .menu-bg { clip-path: circle(150vmax at var(--mx, 92%) var(--my, 44px)); }
.menu-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 244, 245, .08) 1.1px, transparent 1.5px); background-size: 24px 24px; }
.menu-in {
  position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 18px;
  padding: calc(var(--hdr) + 14px) var(--gut) calc(18px + env(safe-area-inset-bottom));
  color: var(--paper);
}
.menu-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 52px; border: 2px solid rgba(255, 244, 245, .25); border-radius: 999px; opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .5s var(--ease), border-color .2s; }
.menu-search:focus-within { border-color: var(--rose); }
.menu-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 1rem; color: var(--paper); }
.menu-search input::placeholder { color: rgba(255, 244, 245, .55); }
.menu-grid { display: grid; gap: 20px; flex: 1; align-content: start; }
.m-link {
  display: flex; align-items: center; gap: 14px; padding: .55rem 0; border-bottom: 1px solid rgba(255, 244, 245, .14);
  color: var(--paper); text-decoration: none; font-weight: 500; font-size: clamp(2rem, 8.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em;
  opacity: 0; transform: translateY(36px);
  transition: opacity .4s, transform .55s var(--ease), color .2s;
}
.m-num { align-self: flex-start; margin-top: .5em; font: 600 .72rem var(--f-m); opacity: .45; letter-spacing: .06em; }
.m-txt { transition: transform .35s var(--ease), color .2s; }
.mn-art { margin-left: auto; width: 56px; height: 56px; flex: none; padding: 6px; border: 2px solid var(--paper); border-radius: 16px; background: var(--bg); transform: rotate(-8deg) scale(.4); opacity: 0; transition: transform .5s var(--spring), opacity .3s; }
.m-link:hover .m-txt, .m-link:focus-visible .m-txt { color: var(--rose); transform: translateX(8px); }
.m-link:hover .mn-art { transform: rotate(6deg) scale(1.08); }
.menu.is-open .menu-search { opacity: 1; transform: none; transition-delay: .2s; }
.menu.is-open .m-link { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .055s); }
.menu.is-open .mn-art { opacity: 1; transform: rotate(-6deg) scale(1); transition-delay: calc(.3s + var(--i) * .055s); }
.menu-side { display: none; }
.m-promo { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 260px; padding: 24px; border: 2px solid var(--paper); border-radius: var(--r-lg); background: var(--lilac); color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: 6px 6px 0 var(--rose); opacity: 0; transform: translateY(30px) rotate(2deg); transition: opacity .5s, transform .7s var(--spring); }
.menu.is-open .m-promo { opacity: 1; transform: none; transition-delay: .45s; }
.m-promo-art { position: absolute; right: -6%; bottom: -8%; width: 62%; transform: rotate(-10deg); transition: transform .6s var(--spring); }
.m-promo:hover .m-promo-art { transform: rotate(4deg) scale(1.06); }
.m-promo-k { align-self: flex-start; padding: 5px 10px; border: var(--b); border-radius: 999px; background: var(--card); font: 600 .72rem var(--f-m); text-transform: uppercase; letter-spacing: .1em; }
.m-promo-t { max-width: 15ch; font-size: 1.55rem; font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
.m-promo-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
.menu.is-open .menu-foot { opacity: 1; transform: none; transition-delay: .5s; }
.m-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px; border: 2px solid rgba(255, 244, 245, .4); border-radius: 999px; background: transparent; color: var(--paper); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.m-pill b { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; border-radius: 11px; background: var(--paper); color: var(--ink); font-size: .75rem; }
.m-pill:active { transform: scale(.96); }
.m-pill-rose { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.m-pill-rose b { background: var(--ink); color: var(--rose); }
.m-close { margin-left: auto; }
.m-close:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 640px) {
  .menu-grid { grid-template-columns: 1.35fr 1fr; gap: 32px; }
  .menu-side { display: block; }
  .m-link { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
}
@media (max-height: 560px) and (orientation: landscape) {
  .m-link { font-size: 1.6rem; padding: .3rem 0; }
  .mn-art { width: 40px; height: 40px; }
  .menu-side { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 28px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; }
.b1 { width: 58vmax; height: 58vmax; right: -20vmax; top: -18vmax; background: radial-gradient(circle, rgba(212, 193, 245, .65), rgba(212, 193, 245, 0) 62%); }
.b2 { width: 50vmax; height: 50vmax; left: -22vmax; bottom: -26vmax; background: radial-gradient(circle, rgba(255, 184, 207, .45), rgba(255, 184, 207, 0) 62%); }
.spot { position: absolute; left: 0; top: 0; width: 46vmax; height: 46vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 157, 187, .6), rgba(255, 157, 187, 0) 60%); transform: translate(var(--sx, 30vw), var(--sy, 40vh)) translate(-50%, -50%); will-change: transform; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: var(--b); border-radius: 999px; background: var(--card); box-shadow: var(--sh); font: 600 .74rem var(--f-m); text-transform: uppercase; letter-spacing: .08em; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--berry); }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--berry); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.hero-title { margin: .3em 0 .36em; font-size: clamp(2.4rem, 13vw, 6rem); font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.ht-line { display: block; overflow: hidden; padding: .02em .14em .16em 0; margin: 0 -.14em -.16em 0; white-space: nowrap; }
.ht-w { display: inline-block; }
.js .ht-w { transform: translateY(115%); transition: transform 1.1s var(--ease); transition-delay: var(--d); }
.ready .ht-w { transform: none; }
.rotor {
  --rc: var(--rose);
  position: relative; display: inline-block; vertical-align: bottom; height: 1.14em; overflow: hidden;
  padding: 0 .16em; border: .045em solid var(--ink); border-radius: .2em; background: var(--rc);
  box-shadow: .05em .05em 0 var(--ink); transform: rotate(-2deg);
  font-style: italic; font-weight: 500; letter-spacing: -.02em;
  transition: width .6s var(--spring), background-color .5s;
}
.rotor-track { display: block; transition: transform .7s var(--spring); }
.rotor-track > span { display: block; height: 1.14em; line-height: 1.08; white-space: nowrap; }
.hero-sub { max-width: 34rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink2); }
.hero-sub em { color: var(--ink); font-size: 1.12em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-stats li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: var(--b); border-radius: 999px; background: var(--card); font-size: .9rem; font-weight: 600; }
.hero-stats b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--bg); border: 2px solid var(--ink); font-size: .85rem; }
.js .hero [data-in] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.ready .hero [data-in] { opacity: 1; transform: none; }

/* zona de pegatinas */
.play { position: relative; height: clamp(330px, 92vw, 560px); width: 100%; max-width: 640px; margin-inline: auto; }
.play-badge { position: absolute; left: 50%; top: 50%; width: 38%; max-width: 230px; transform: translate(-50%, -50%) scale(.2); opacity: 0; transition: transform 1.1s var(--spring), opacity .6s; transition-delay: .55s; }
.ready .play-badge { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.play-badge svg { width: 100%; height: auto; animation: spin 22s linear infinite; }
.play-badge text { font-family: var(--f-b); }
@keyframes spin { to { transform: rotate(360deg); } }
.play-hint { position: absolute; left: 4%; bottom: -6px; font: italic 1.25rem/1 var(--f-s); color: var(--ink2); transform: rotate(-3deg); opacity: 0; transition: opacity .8s 1.6s; }
.ready .play-hint { opacity: 1; }
.stk { position: absolute; left: var(--x); top: var(--y); width: var(--w, auto); z-index: 2; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; will-change: transform; }
.stk-in { display: block; scale: 0; transition: scale .9s var(--spring); transition-delay: var(--pd, .4s); will-change: transform; animation: floaty var(--fd, 6s) ease-in-out infinite; animation-delay: var(--fdl, 0s); }
.ready .stk-in { scale: 1; }
@keyframes floaty { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) + 4deg)) translateY(-10px); } }
.stk.drag { cursor: grabbing; }
.stk.drag .stk-in { animation-play-state: paused; scale: 1.1; transition-delay: 0s; transition-duration: .3s; }
.stk-art { display: block; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(4px 5px 0 rgba(59, 30, 44, .9)); }
.stk-pill { display: inline-block; padding: .5em .9em; border: var(--b); border-radius: 999px; background: var(--card); box-shadow: var(--sh); font: italic clamp(1rem, 2.2vw, 1.5rem)/1 var(--f-s); white-space: nowrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font: 600 .7rem var(--f-m); letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue i { width: 2px; height: 34px; background: linear-gradient(var(--ink) 50%, transparent 50%) 0 0 / 2px 12px; animation: cue 1.2s linear infinite; }
@keyframes cue { to { background-position: 0 12px; } }

@media (min-width: 768px) {
  .scroll-cue { display: flex; }
  .play { height: clamp(420px, 62vw, 560px); }
}
@media (min-width: 1024px) {
  .hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .hero-title { font-size: clamp(3.6rem, 6vw, 6.8rem); }
  .play { height: min(620px, 74vh); min-height: 460px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; }
}

/* =====================================================================
   SEPARADOR · cintas cruzadas
   ===================================================================== */
.ribbons { position: relative; height: clamp(130px, 17vw, 220px); margin: -24px 0 -10px; overflow: hidden; display: grid; place-items: center; pointer-events: none; }
.ribbon { position: absolute; left: -6%; width: 112%; padding: .85rem 0; border-block: var(--b); white-space: nowrap; overflow: hidden; }
.r1 { z-index: 2; background: var(--rose); transform: rotate(-3.2deg); box-shadow: 0 6px 0 var(--ink); }
.r2 { background: var(--ink); color: var(--paper); transform: rotate(2.6deg); }
.ribbon-track { display: inline-flex; align-items: center; will-change: transform; font-weight: 800; font-size: clamp(1.25rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.ribbon-track .rg { display: inline-flex; align-items: center; flex: none; }
.ribbon-track .ri { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; }
.ribbon-track em { text-transform: none; font-size: 1.12em; }
.ribbon-track .i { width: .8em; height: .8em; }
.r2 .ribbon-track .i { color: var(--rose); }

/* =====================================================================
   SECCIONES · comunes
   ===================================================================== */
.sec { padding: clamp(64px, 9vw, 130px) 0; }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sec-head.center { align-items: center; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: var(--b); border-radius: 999px; background: var(--card); font: 600 .74rem/1 var(--f-m); text-transform: uppercase; letter-spacing: .1em; }
.kicker .i { width: 14px; height: 14px; }
.sec-title { max-width: 15ch; font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.sec-title em { letter-spacing: -.025em; }

/* =====================================================================
   CATEGORÍAS (bento)
   ===================================================================== */
.bento { display: grid; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 4vw, 52px); grid-template-columns: minmax(0, 1fr); }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; overflow: hidden;
  padding: clamp(20px, 2.4vw, 32px); border: var(--b); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--sh);
  color: var(--ink); text-decoration: none; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease);
}
.cat:hover { transform: translate(-4px, -4px); box-shadow: var(--sh-lg); }
.cat-top { position: relative; z-index: 2; max-width: 62%; }
.cat-n { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border: var(--b); border-radius: 999px; background: var(--card); font: 600 .72rem/1 var(--f-m); text-transform: uppercase; letter-spacing: .08em; }
.cat h3 { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 600; line-height: .95; letter-spacing: -.03em; }
.cat p { margin-top: 10px; max-width: 22ch; font-weight: 500; }
.cat-arts { position: absolute; z-index: 1; right: 0; bottom: 0; width: 58%; height: 100%; pointer-events: none; }
.ca { position: absolute; display: block; transition: transform .7s var(--spring); }
.cat-ropa .ca1 { width: 74%; right: -6%; bottom: -4%; transform: rotate(8deg); }
.cat-ropa .ca2 { width: 56%; right: 36%; bottom: -8%; transform: rotate(-12deg); }
.cat-ropa .ca3 { width: 40%; right: 2%; top: 6%; transform: rotate(14deg); }
.cat-ropa:hover .ca1 { transform: rotate(2deg) translateY(-8px) scale(1.04); }
.cat-ropa:hover .ca2 { transform: rotate(-4deg) translate(-8px, -14px); }
.cat-ropa:hover .ca3 { transform: rotate(-6deg) scale(1.1); }
.cat-libretas .ca1 { width: 58%; right: 26%; bottom: -14%; transform: rotate(-14deg); }
.cat-libretas .ca2 { width: 60%; right: -4%; bottom: -8%; transform: rotate(10deg); }
.cat-libretas:hover .ca1 { transform: rotate(-22deg) translate(-10px, -10px); }
.cat-libretas:hover .ca2 { transform: rotate(16deg) translateY(-12px); }
.cat-detalles .ca1 { width: 70%; right: -4%; bottom: -6%; transform: rotate(-8deg); }
.cat-detalles .ca2 { width: 48%; right: 50%; bottom: -10%; transform: rotate(12deg); }
.cat-detalles:hover .ca1 { transform: rotate(4deg) translateY(-10px); }
.cat-detalles:hover .ca2 { transform: rotate(-8deg) scale(1.1); }
.cat-caja .ca1 { width: 74%; right: -6%; bottom: -10%; transform: rotate(10deg); }
.cat-caja:hover .ca1 { transform: rotate(-6deg) translateY(-12px) scale(1.06); }
.cat-go { position: relative; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; margin-top: 18px; border: var(--b); border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform .5s var(--spring), background-color .3s, color .3s; }
.cat:hover .cat-go { transform: rotate(45deg); background: var(--card); color: var(--ink); }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-ropa, .cat-caja { grid-column: span 2; }
  .cat { min-height: 300px; }
  .cat-ropa .cat-arts, .cat-caja .cat-arts { width: 46%; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(270px, 21vw)); }
  .cat-ropa { grid-column: 1 / 3; grid-row: 1 / 3; }
  .cat-libretas { grid-column: 3 / 5; grid-row: 1; }
  .cat-detalles { grid-column: 3 / 4; grid-row: 2; }
  .cat-caja { grid-column: 4 / 5; grid-row: 2; }
  .cat-ropa .cat-arts { width: 70%; height: 80%; }
  .cat-caja .cat-arts, .cat-detalles .cat-arts { width: 70%; height: 70%; }
  .cat-detalles .cat-top, .cat-caja .cat-top { max-width: 100%; }
  .cat-detalles h3, .cat-caja h3 { font-size: clamp(1.9rem, 2.8vw, 3rem); }
  .cat-detalles p, .cat-caja p { display: none; }
}

/* =====================================================================
   SEPARADOR · costura
   ===================================================================== */
.stitch { position: relative; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }
.stitch svg { width: 100%; height: auto; overflow: visible; }

/* =====================================================================
   TIENDA
   ===================================================================== */
.shop { padding-top: clamp(40px, 6vw, 90px); }
.shop-head { flex-direction: column; }
.note-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px dashed var(--ink); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink2); background: rgba(255, 224, 138, .3); }
.note-chip .i { width: 16px; height: 16px; }
@media (min-width: 900px) { .shop-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.toolbar { display: flex; flex-direction: column; gap: 10px; margin: clamp(26px, 3.4vw, 44px) 0 14px; }
.filters { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 5px; border: var(--b); border-radius: 999px; background: var(--card); box-shadow: var(--sh); -webkit-overflow-scrolling: touch; }
.filters::-webkit-scrollbar { display: none; }
.f-btn { position: relative; z-index: 1; flex: 1 0 auto; min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .95rem; white-space: nowrap; cursor: pointer; transition: color .3s; }
.f-btn sup { font-size: .68em; font-weight: 600; opacity: .55; margin-left: 1px; }
.f-btn.is-on { color: var(--paper); }
.f-ind { position: absolute; z-index: 0; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--spring), width .5s var(--spring); }
.tools { display: flex; gap: 10px; }
.search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border: var(--b); border-radius: 999px; background: var(--card); box-shadow: var(--sh); transition: box-shadow .2s, transform .2s; }
.search:focus-within { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.search .i { width: 19px; height: 19px; opacity: .7; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 1rem; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.sort select { height: 52px; padding: 0 40px 0 16px; border: var(--b); border-radius: 999px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B1E2C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; box-shadow: var(--sh); font-weight: 600; font-size: 1rem; cursor: pointer; appearance: none; -webkit-appearance: none; }
@media (min-width: 1024px) {
  .toolbar { position: sticky; top: 90px; z-index: 20; flex-direction: row; align-items: center; justify-content: space-between; padding: 6px; border: var(--b); border-radius: 999px; background: rgba(255, 251, 250, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--sh); }
  .toolbar .filters { flex: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .toolbar .f-ind { top: 0; bottom: 0; }
  .tools { flex: 0 1 440px; gap: 6px; }
  .toolbar .search { min-height: 46px; box-shadow: none; }
  .toolbar .search:focus-within { transform: none; box-shadow: 0 0 0 3px var(--blush); }
  .toolbar .sort select { height: 46px; box-shadow: none; }
}
.res-count { margin-bottom: 16px; font: 500 .8rem var(--f-m); text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); }

.grid { display: grid; gap: clamp(12px, 1.6vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 339px) { .grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; border: var(--b); border-radius: var(--r); background: var(--card); box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--sh-lg); }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-bottom: var(--b); border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0; background: var(--bg); }
.card-media::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(59, 30, 44, .09) 1px, transparent 1.4px); background-size: 16px 16px; }
.card-art { position: absolute; inset: 7%; transition: transform .6s var(--ease); will-change: transform; }
.card-open { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; }
.badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 9px; border: var(--b); border-radius: 999px; background: var(--card); font-size: .68rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .05em; pointer-events: none; }
.fav { position: absolute; z-index: 2; top: 6px; right: 6px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.fav span { display: grid; place-items: center; width: 36px; height: 36px; border: var(--b); border-radius: 50%; background: var(--card); transition: transform .3s var(--spring), background-color .2s; }
.fav .i { width: 17px; height: 17px; }
.fav:hover span { transform: scale(1.1); }
.fav.is-on span { background: var(--blush); }
.fav.is-on .i { fill: var(--ink); }
.fav.boom span { animation: boom .5s var(--spring); }
@keyframes boom { 30% { transform: scale(1.45) rotate(-12deg); } 60% { transform: scale(.9); } }
.card-peek { position: absolute; z-index: 2; left: 50%; bottom: 12px; padding: 8px 14px; border: var(--b); border-radius: 999px; background: var(--card); font-size: .82rem; font-weight: 700; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 14px); transition: opacity .3s, transform .4s var(--spring); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-peek { opacity: 1; transform: translate(-50%, 0); }
  .card:hover .card-art { transform: scale(1.07) rotate(-3deg); }
}
.card-info { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 12px 12px 14px; }
.card-name { font-size: clamp(1rem, 1.3vw, 1.18rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.card-meta { font-size: .78rem; color: var(--ink2); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-price { font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.dots { display: flex; gap: 5px; margin-top: 6px; }
.dot { position: relative; width: 20px; height: 20px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--c); cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s; }
.dot::after { content: ''; position: absolute; inset: -6px; }
.dot:hover { transform: scale(1.15); }
.dot.is-on { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.add { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: var(--b); border-radius: 50%; background: var(--rose); cursor: pointer; transition: transform .35s var(--spring), box-shadow .2s; }
.add:hover { transform: rotate(90deg) scale(1.06); box-shadow: 0 3px 0 var(--ink); }
.add .i { width: 20px; height: 20px; stroke-width: 2.6; }
@media (max-width: 479px) {
  .card-info { padding: 10px; }
  .dot { width: 16px; height: 16px; }
  .dots { gap: 6px; }
  .add { width: 40px; height: 40px; }
  .badge { top: 8px; left: 8px; font-size: .6rem; padding: 4px 7px; }
}
@media (max-width: 379px) { .dot:nth-child(n+4) { display: none; } }
@media (max-width: 480px) { .f-btn { padding: 0 .7rem; font-size: .9rem; } .filters { gap: 0; } }

.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; text-align: center; font-size: 1.1rem; }
.empty-art { width: 110px; }

/* =====================================================================
   SEPARADOR · espiral de libreta
   ===================================================================== */
.spiral { height: 56px; margin-top: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='56' viewBox='0 0 44 56'%3E%3Crect y='28' width='44' height='29' fill='%233B1E2C'/%3E%3Ccircle cx='22' cy='43' r='5.5' fill='%23FFF4F5'/%3E%3Cpath d='M19.5 43C12 33 13 9 23 7C31 6 33 18 28.5 28' fill='none' stroke='%233B1E2C' stroke-width='7.5' stroke-linecap='round'/%3E%3Cpath d='M19.5 43C12 33 13 9 23 7C31 6 33 18 28.5 28' fill='none' stroke='%23EAD8DF' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center bottom / 44px 56px; }

/* =====================================================================
   CAJA REGALO
   ===================================================================== */
.caja { position: relative; z-index: 1; padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); background: var(--ink); color: var(--paper); }
.caja::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 244, 245, .07) 1.1px, transparent 1.5px); background-size: 24px 24px; pointer-events: none; }
.caja .kicker { background: transparent; border-color: rgba(255, 244, 245, .6); color: var(--paper); }
.caja .kicker .i { color: var(--rose); }
.caja .sec-title em { color: var(--rose); }
.caja-in { position: relative; display: grid; gap: clamp(26px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
.caja-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.caja-lead { max-width: 34rem; font-size: 1.08rem; color: rgba(255, 244, 245, .78); }
@media (min-width: 1024px) {
  .caja-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'copy pick' 'stage pick'; align-items: start; }
  .caja-copy { grid-area: copy; }
  .caja-stage { grid-area: stage; position: sticky; top: 110px; }
  .caja-pick { grid-area: pick; }
}

.box { --bx: #FFB8CF; --bx2: #F58BAE; position: relative; width: min(100%, 400px); aspect-ratio: 1 / .92; margin-inline: auto; }
.box-back { position: absolute; left: 8%; right: 8%; top: 30%; height: 40%; border: 3px solid #2A1520; border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--bx2); }
.box-items { position: absolute; left: 10%; right: 10%; bottom: 30%; height: 46%; display: flex; align-items: flex-end; justify-content: center; }
.box-item { position: relative; width: 34%; flex: none; margin: 0 -4%; transform: rotate(var(--r)); transition: transform .7s var(--spring), opacity .4s; }
.box-item:nth-child(even) { margin-bottom: 6%; }
.box-item.out { transform: translateY(-120%) rotate(30deg) scale(.4); opacity: 0; }
.box-front { position: absolute; left: 4%; right: 4%; bottom: 4%; height: 44%; display: grid; place-items: center; border: 3px solid #2A1520; border-radius: 10px 10px 18px 18px; background: var(--bx); box-shadow: 8px 8px 0 var(--lilac); overflow: hidden; }
.box-front::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 14%; transform: translateX(-50%); background: #FFFBFA; border-inline: 3px solid #2A1520; }
.box-count { position: relative; z-index: 1; padding: 6px 12px; border: 3px solid #2A1520; border-radius: 999px; background: var(--card); color: var(--ink); font: 800 1.1rem/1 var(--f-b); }
.box-empty { position: absolute; bottom: 12%; left: 0; right: 0; z-index: 1; text-align: center; font: italic 1.1rem var(--f-s); color: var(--ink); opacity: .7; transition: opacity .3s; }
.box.has .box-empty { opacity: 0; }
.box-lid { position: absolute; z-index: 3; left: 0; right: 0; top: 38%; height: 17%; border: 3px solid #2A1520; border-radius: 12px; background: var(--bx); transform: translate(-3%, -150%) rotate(-9deg); transition: transform .8s var(--spring); animation: lidfloat 4s ease-in-out infinite; }
.box-lid::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 14%; transform: translateX(-50%); background: #FFFBFA; border-inline: 3px solid #2A1520; }
@keyframes lidfloat { 50% { translate: 0 -8px; } }
.box-bow { position: absolute; left: 50%; bottom: 82%; width: 40%; transform: translateX(-50%) scale(0); transition: transform .6s var(--spring) .45s; }
.box.closed .box-lid { transform: none; animation: none; }
.box.closed .box-bow { transform: translateX(-50%) scale(1); }
.box.closed .box-item { transform: translateY(70%) rotate(0deg) scale(.9); }
.box-tag { position: absolute; z-index: 4; right: -2%; bottom: 10%; max-width: 46%; padding: 10px 12px 10px 22px; border: 3px solid #2A1520; border-radius: 6px 12px 12px 6px; background: #FFFBFA; color: var(--ink); font: italic clamp(.95rem, 2.4vw, 1.2rem)/1.15 var(--f-s); transform: rotate(-7deg); transform-origin: left center; box-shadow: 4px 4px 0 var(--berry); word-break: break-word; transition: transform .5s var(--spring); }
.box-tag::before { content: ''; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: 2px solid #2A1520; border-radius: 50%; }
.box-tag.wiggle { animation: wiggle .5s var(--spring); }
@keyframes wiggle { 30% { transform: rotate(-14deg) scale(1.06); } 60% { transform: rotate(-3deg); } }

.caja-pick { padding: clamp(18px, 2.4vw, 28px); border: 2px solid rgba(255, 244, 245, .22); border-radius: var(--r-lg); background: rgba(255, 244, 245, .05); }
.pick-title { margin-bottom: 12px; font-weight: 700; font-size: 1.05rem; }
.pick-title small { font-weight: 500; opacity: .6; }
.pick-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(clamp(18px, 2.4vw, 28px) * -1) 18px; padding: 4px clamp(18px, 2.4vw, 28px) 10px; scrollbar-width: thin; scrollbar-color: rgba(246,242,233,.3) transparent; }
.pick { position: relative; flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 10px; border: 2px solid rgba(255, 244, 245, .3); border-radius: 18px; background: #4E2B3D; color: var(--paper); text-align: left; cursor: pointer; transition: transform .3s var(--spring), border-color .2s, background-color .2s, color .2s; }
.pick:hover { transform: translateY(-3px); border-color: var(--paper); }
.pick-art { aspect-ratio: 1; border-radius: 12px; background: var(--bg); padding: 6px; border: 2px solid #2A1520; }
.pick-n { font-size: .82rem; font-weight: 700; line-height: 1.15; }
.pick-p { font-size: .8rem; opacity: .7; }
.pick-check { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #2A1520; border-radius: 50%; background: var(--rose); color: var(--ink); transform: scale(0); transition: transform .35s var(--spring); }
.pick-check .i { width: 15px; height: 15px; stroke-width: 3; }
.pick.is-on { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.pick.is-on .pick-check { transform: scale(1); background: var(--card); }
.pick.is-on .pick-p { opacity: .8; }
@media (min-width: 1024px) {
  .pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); overflow: visible; margin: 0 0 18px; padding: 0; }
  .pick { flex: auto; }
}
.nota { display: block; }
.nota textarea { width: 100%; min-height: 70px; padding: 12px 14px; border: 2px solid rgba(255, 244, 245, .3); border-radius: 16px; background: #4E2B3D; color: var(--paper); font-size: 1rem; resize: vertical; outline: none; transition: border-color .2s; }
.nota textarea:focus { border-color: var(--rose); }
.nota textarea::placeholder { color: rgba(255, 244, 245, .4); }
.caja-total { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 14px; padding-top: 14px; border-top: 2px dashed rgba(255, 244, 245, .25); }
.caja-total b { font-size: 1.6rem; letter-spacing: -.03em; }
.caja .btn-rose { box-shadow: 4px 4px 0 var(--paper); }
.caja .btn-rose:hover { box-shadow: 6px 6px 0 var(--paper); }
.caja .btn[disabled] { box-shadow: 4px 4px 0 rgba(255, 244, 245, .3); }

/* papel roto */
.torn { position: absolute; left: 0; bottom: -38px; width: 100%; height: 40px; pointer-events: none; }

/* =====================================================================
   PERSONALIZA
   ===================================================================== */
.perso { padding-top: clamp(100px, 12vw, 170px); }
.perso-input { position: relative; display: flex; justify-content: center; margin: clamp(26px, 4vw, 44px) auto 10px; max-width: 760px; }
.perso-input input { width: 100%; padding: .2em 1.4em .25em .4em; border: 0; border-bottom: 4px solid var(--ink); border-radius: 0; background: transparent; outline: none; text-align: center; font: 800 clamp(1.9rem, 6.4vw, 4rem)/1.1 var(--f-b); letter-spacing: -.045em; color: var(--ink); }
.perso-input input::placeholder { color: rgba(59, 30, 44, .28); }
.perso-input input:focus { border-color: var(--berry); }
.perso-pen { position: absolute; right: 6px; bottom: 18px; width: clamp(22px, 3vw, 34px); height: clamp(22px, 3vw, 34px); color: var(--berry); animation: penwiggle 2.4s ease-in-out infinite; }
@keyframes penwiggle { 50% { transform: rotate(-14deg) translateY(-4px); } }
.perso-help { text-align: center; color: var(--ink2); margin-bottom: clamp(26px, 4vw, 48px); }
.perso-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 18px; scrollbar-width: none; }
.perso-row::-webkit-scrollbar { display: none; }
.p-card { flex: 0 0 min(78%, 320px); scroll-snap-align: center; display: flex; flex-direction: column; border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.p-card:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: var(--sh-lg); }
.p-art { aspect-ratio: 1.05; padding: 8%; background: var(--bg); border-bottom: var(--b); }
.p-art .art-wrap { transition: transform .5s var(--spring); }
.p-art.tick .art-wrap { animation: tick .35s var(--spring); }
@keyframes tick { 40% { transform: scale(1.05) rotate(-2deg); } }
.p-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 18px; }
.p-info b { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.p-info small { color: var(--ink2); }
.p-info .btn { min-height: 46px; padding: .6em 1em; font-size: .9rem; }
@media (min-width: 768px) {
  .perso-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
}
.how { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 80px); grid-template-columns: minmax(0, 1fr); counter-reset: how; }
.how li { position: relative; padding: 24px 22px 22px; border: var(--b); border-radius: var(--r); background: var(--card); }
.how-n { position: absolute; top: -18px; left: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: var(--b); border-radius: 50%; background: var(--rose); font-weight: 800; }
.how li:nth-child(2) .how-n { background: var(--blush); }
.how li:nth-child(3) .how-n { background: var(--butter); }
.how h3 { margin: 8px 0 4px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.how p { color: var(--ink2); }
@media (min-width: 768px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* =====================================================================
   SEPARADOR · tijeras
   ===================================================================== */
.cut { --p: 0; position: relative; height: 64px; margin: 0 var(--gut); }
.cut-line { position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 22px); -webkit-mask: linear-gradient(90deg, rgba(0,0,0,.18) calc(var(--p) * 100%), #000 calc(var(--p) * 100%)); mask: linear-gradient(90deg, rgba(0,0,0,.18) calc(var(--p) * 100%), #000 calc(var(--p) * 100%)); }
.scissors { position: absolute; left: 0; top: 50%; width: 60px; height: 60px; transform: translate(0, -50%); will-change: transform; }
.blade { transform-origin: 30px 32px; transition: transform .12s linear; }

/* =====================================================================
   CLUB + CONTACTO
   ===================================================================== */
.club { padding-top: clamp(50px, 7vw, 90px); }
.club-in { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .club-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.club-card, .contact-card { position: relative; padding: clamp(24px, 4vw, 48px); border: var(--b); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.club-card { background: var(--rose); }
.club-card > p:not(.kicker):not(.form-msg) { max-width: 30rem; margin-top: 10px; font-size: 1.06rem; }
.club-title { margin-top: 18px; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; max-width: 12ch; }
.club-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.club-form input { flex: 1 1 220px; min-width: 0; min-height: 54px; padding: 0 20px; border: var(--b); border-radius: 999px; background: var(--card); font-size: 1rem; outline: none; transition: box-shadow .2s; }
.club-form input:focus { box-shadow: var(--sh); }
.club-form .btn { flex: 0 0 auto; }
.form-msg { min-height: 1.4em; margin-top: 10px; font-weight: 600; }
.form-msg.err { color: var(--red); }
.stamp { position: absolute; right: 6%; top: 12%; padding: 8px 16px; border: 4px solid var(--ink); border-radius: 12px; font: 800 1.6rem/1 var(--f-b); letter-spacing: -.02em; color: var(--ink); background: var(--card); transform: rotate(14deg) scale(2.6); opacity: 0; pointer-events: none; }
.stamp.on { opacity: 1; transform: rotate(14deg) scale(1); transition: transform .4s var(--spring), opacity .15s; }
.contact-card { background: var(--card); }
.contact-card h3 { margin: 16px 0 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.contact-list { display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 10px; border: var(--b); border-radius: 18px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, background-color .2s; }
.contact-list a:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); background: var(--paper); }
.cl-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: var(--b); border-radius: 14px; background: var(--bg); }
.contact-list b { display: block; line-height: 1.2; }
.contact-list small { color: var(--ink2); }

/* =====================================================================
   PIE
   ===================================================================== */
.foot { position: relative; margin-top: clamp(80px, 10vw, 140px); padding: clamp(40px, 6vw, 70px) 0 calc(24px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); }
.foot-wave { position: absolute; left: 0; top: -59px; width: 100%; height: 60px; }
.foot-cols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-col a, .foot-col span { text-decoration: none; color: rgba(255, 244, 245, .82); transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--rose); transform: translateX(4px); }
.foot-col em { margin-left: 4px; padding: 1px 7px; border: 1px solid rgba(255, 244, 245, .3); border-radius: 999px; font: 500 .68rem var(--f-m); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 244, 245, .55); }
.foot-title { margin-bottom: 4px; font: 600 .74rem var(--f-m); text-transform: uppercase; letter-spacing: .12em; color: var(--rose); }
.foot-social { grid-column: 1 / -1; }
@media (min-width: 768px) { .foot-social { grid-column: auto; } }
.soc { display: flex; gap: 10px; }
.soc a { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid rgba(255, 244, 245, .35); border-radius: 50%; transition: background-color .2s, color .2s, transform .3s var(--spring), border-color .2s; }
.soc a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--rose); color: var(--ink); border-color: var(--rose); }
.foot-big {
  margin: clamp(30px, 6vw, 70px) 0 clamp(14px, 2vw, 24px); text-align: center; white-space: nowrap;
  font-size: clamp(3.4rem, 17vw, 20rem); font-weight: 600; line-height: .9; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 244, 245, .85);
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), var(--rose) 0, var(--rose) 16%, transparent 16.5%) no-repeat;
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.foot-bottom { padding-right: 60px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; border-top: 1px solid rgba(255, 244, 245, .15); font-size: .85rem; color: rgba(255, 244, 245, .6); }

/* =====================================================================
   SUPERPOSICIONES (base)
   ===================================================================== */
.ovl { position: fixed; inset: 0; }
.ovl-back { position: absolute; inset: 0; background: rgba(59, 30, 44, .5); opacity: 0; transition: opacity .4s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ovl.is-open .ovl-back { opacity: 1; }

/* ---------- carrito ---------- */
.drawer { z-index: var(--z-drawer); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--paper); border-left: var(--b); transform: translateX(105%); transition: transform .6s var(--io); }
.drawer.is-open .drawer-panel { transform: none; }
@media (min-width: 560px) {
  .drawer-panel { top: 12px; right: 12px; bottom: 12px; border: var(--b); border-radius: 28px; box-shadow: var(--sh-lg); overflow: hidden; transform: translateX(calc(100% + 30px)); }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(14px + env(safe-area-inset-top)) 16px 14px; border-bottom: var(--b); background: var(--card); }
.tabs { display: flex; gap: 4px; padding: 4px; border: var(--b); border-radius: 999px; background: var(--paper); }
.tab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; cursor: pointer; transition: background-color .3s, color .3s; }
.tab.is-on { background: var(--ink); color: var(--paper); }
.tab-n { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; border-radius: 11px; background: var(--rose); color: var(--ink); font-size: .75rem; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.lines { display: grid; gap: 12px; }
.line { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 10px; border: var(--b); border-radius: 18px; background: var(--card); }
.line.new { animation: lineIn .5s var(--spring) both; }
@keyframes lineIn { from { opacity: 0; transform: translateX(30px) scale(.96); } }
.line.leaving { animation: lineOut .35s var(--ease) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(60px); } }
.line-thumb { aspect-ratio: 1; padding: 6px; border: var(--b); border-radius: 12px; background: var(--bg); }
.line-thumb.is-box { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; }
.line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 34px; }
.line-name { font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.line-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.line-meta span { padding: 2px 8px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--paper); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.line-price { font-weight: 800; }
.line-del { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; opacity: .55; transition: opacity .2s, background-color .2s; }
.line-del:hover { opacity: 1; background: #FFE1EA; }
.line-del .i { width: 17px; height: 17px; }
.qty { display: inline-flex; align-items: center; border: var(--b); border-radius: 999px; background: var(--card); }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .2s; }
.qty button:hover { background: var(--rose); }
.qty .i { width: 16px; height: 16px; stroke-width: 2.6; }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.qty.sm button { width: 34px; height: 34px; }
.d-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 10px; text-align: center; color: var(--ink2); }
.d-empty-art { width: 130px; margin-bottom: 6px; animation: floaty2 4s ease-in-out infinite; }
@keyframes floaty2 { 50% { transform: translateY(-8px) rotate(3deg); } }
.d-empty-t { font-size: 1.4rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.d-empty .btn { margin-top: 12px; }
.upsell { margin-top: 22px; }
.upsell-t { margin-bottom: 10px; font: 600 .74rem var(--f-m); text-transform: uppercase; letter-spacing: .1em; color: var(--ink2); }
.upsell-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.up { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px; border: var(--b); border-radius: 14px; background: var(--card); text-align: left; cursor: pointer; transition: transform .3s var(--spring); }
.up:hover { transform: translateY(-3px); }
.up-art { aspect-ratio: 1; padding: 4px; border-radius: 9px; background: var(--bg); }
.up-n { font-size: .74rem; font-weight: 700; line-height: 1.15; }
.up-p { font-size: .74rem; }
.up-plus { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; background: var(--rose); }
.up-plus .i { width: 13px; height: 13px; stroke-width: 3; }
.favlist { display: grid; gap: 10px; }
.favline { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: var(--b); border-radius: 16px; background: var(--card); animation: lineIn .5s var(--spring) both; }
.favline .line-thumb { padding: 4px; }
.favline-btns { display: flex; gap: 6px; }
.favline-btns .ic-btn { width: 40px; height: 40px; }
.favline-btns .ic-btn.add-it { background: var(--rose); }
.drawer-foot { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-top: var(--b); background: var(--card); }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 1.05rem; }
.sum-row b { font-size: 1.3rem; letter-spacing: -.02em; }
.sum-note { display: flex; align-items: center; gap: 8px; margin: 8px 0 14px; font-size: .82rem; color: var(--ink2); }
.sum-note .i { width: 17px; height: 17px; }

/* ---------- ficha de producto ---------- */
.modal { z-index: var(--z-modal); }
.modal-card {
  position: absolute; left: 50%; top: 50%; width: min(1060px, calc(100% - 48px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-lg); overflow: hidden;
  opacity: 0; transform: translate(-50%, -46%) scale(.95); transition: transform .55s var(--spring), opacity .3s;
}
.modal.is-open .modal-card { opacity: 1; transform: translate(-50%, -50%); }
.sheet-handle { display: none; }
.modal-x { position: absolute; z-index: 5; top: 14px; right: 14px; }
.m-media { position: relative; min-height: 460px; display: grid; place-items: center; padding: 6%; border-right: var(--b); background: var(--bg); overflow: hidden; }
.m-media::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(59, 30, 44, .1) 1.1px, transparent 1.5px); background-size: 20px 20px; }
.m-art { position: relative; width: 100%; max-width: 440px; transition: transform .5s var(--spring); }
.m-art.swap { animation: swap .5s var(--spring); }
@keyframes swap { 40% { transform: scale(.94) rotate(-3deg); } }
.m-paper { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: var(--b); border-radius: 14px; background: var(--card); box-shadow: var(--sh); transform: rotate(-3deg); }
.m-paper-sheet { width: 54px; height: 70px; border: 2px solid var(--ink); border-radius: 4px; background-color: #FFFBFA; }
.m-paper-lbl { font-weight: 700; font-size: .9rem; }
.pp-Puntos { background-image: radial-gradient(rgba(59,30,44,.55) 1px, transparent 1.3px); background-size: 7px 7px; }
.pp-Rayas { background-image: linear-gradient(rgba(59,30,44,.4) 1px, transparent 1px); background-size: 100% 7px; }
.pp-Cuadrícula { background-image: linear-gradient(rgba(59,30,44,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(59,30,44,.35) 1px, transparent 1px); background-size: 7px 7px; }
.pp-Liso { background-image: none; }
.m-info { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 40px); padding-top: clamp(26px, 3vw, 44px); overflow-y: auto; overscroll-behavior: contain; }
.m-cat { align-self: flex-start; padding: 5px 11px; border: var(--b); border-radius: 999px; font: 600 .72rem var(--f-m); text-transform: uppercase; letter-spacing: .08em; background: var(--bg); }
.m-name { padding-right: 50px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.m-price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.m-price small { margin-left: 4px; padding: 2px 8px; border: 1.5px dashed var(--ink2); border-radius: 999px; font-size: .68rem; font-weight: 600; color: var(--ink2); vertical-align: middle; letter-spacing: 0; }
.m-desc { color: var(--ink2); }
.opt-label { margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.opt-label b { font-weight: 600; color: var(--ink2); }
.opt-label small { font-weight: 500; color: var(--ink2); }
.opt-hint { margin-left: 6px; color: var(--berry); font-weight: 700; opacity: 0; transition: opacity .2s; }
.opt.need .opt-hint { opacity: 1; }
.opt.need .chips { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; width: 40px; height: 40px; padding: 0; border: var(--b); border-radius: 50%; background: var(--c); cursor: pointer; transition: transform .25s var(--spring), box-shadow .2s; }
.sw:hover { transform: scale(1.1); }
.sw.is-on { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-width: 50px; min-height: 44px; justify-content: center; padding: 0 14px; border: var(--b); border-radius: 12px; background: var(--card); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, transform .25s var(--spring); }
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--paper); }
.chip .pp { width: 18px; height: 22px; border: 1.5px solid currentColor; border-radius: 3px; background-color: #FFFBFA; }
.opt input { width: 100%; min-height: 52px; padding: 0 16px; border: var(--b); border-radius: 14px; background: var(--card); font-size: 1rem; outline: none; transition: box-shadow .2s; }
.opt input:focus { box-shadow: var(--sh); }
.m-buy { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.m-buy .qty button { width: 44px; height: 50px; }
.btn-add { flex: 1; min-width: 0; overflow: hidden; }
.btn-add .ba-txt, .btn-add .ba-ok { display: inline-flex; align-items: center; gap: 6px; transition: transform .4s var(--spring), opacity .2s; }
.btn-add .ba-ok { position: absolute; inset: 0; justify-content: center; transform: translateY(120%); opacity: 0; }
.btn-add.ok { background: var(--rose); color: var(--ink); }
.btn-add.ok .ba-txt { transform: translateY(-120%); opacity: 0; }
.btn-add.ok .ba-ok { transform: none; opacity: 1; }
.m-fav { width: 54px; height: 54px; }
.m-fav[aria-pressed="true"] { background: var(--blush); }
.m-fav[aria-pressed="true"] .i { fill: var(--ink); }
@media (max-width: 767px) {
  .modal-card {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92vh; max-height: 92dvh;
    grid-template-columns: minmax(0, 1fr); border-radius: 28px 28px 0 0; border-bottom: 0;
    overflow-y: auto; overscroll-behavior: contain; opacity: 1; transform: translateY(105%); transition: transform .55s var(--io);
  }
  .modal.is-open .modal-card { transform: none; }
  .sheet-handle { display: block; position: absolute; z-index: 6; left: 50%; top: 8px; width: 46px; height: 5px; margin-left: -23px; border-radius: 4px; background: rgba(59, 30, 44, .35); }
  .m-media { min-height: 0; aspect-ratio: 1.3; padding: 4% 18%; border-right: 0; border-bottom: var(--b); }
  .m-art { max-width: 300px; }
  .m-info { overflow: visible; padding-bottom: 0; }
  .m-buy { position: sticky; bottom: 0; z-index: 3; margin: 0 calc(clamp(22px, 3vw, 40px) * -1); padding: 12px clamp(22px, 3vw, 40px) calc(12px + env(safe-area-inset-bottom)); border-top: var(--b); background: var(--card); }
  .m-paper { left: 10px; bottom: 10px; transform: rotate(-3deg) scale(.82); transform-origin: left bottom; }
}
@media (max-width: 380px) {
  .m-buy .qty button { width: 36px; }
  .m-fav { display: none; }
}

/* ---------- checkout ---------- */
.checkout { z-index: var(--z-co); }
.co-panel { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--paper); background-image: radial-gradient(rgba(59, 30, 44, .09) 1.1px, transparent 1.5px); background-size: 24px 24px; transform: translateY(100%); transition: transform .7s var(--io); overflow-y: auto; overscroll-behavior: contain; }
.checkout.is-open .co-panel { transform: none; }
.co-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: calc(12px + env(safe-area-inset-top)) var(--gut) 12px; border-bottom: var(--b); background: var(--card); }
.co-head h2 { margin-inline: auto; font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: -.02em; }
.co-head .logo { font-size: 1.1rem; }
.co-head .logo-mark svg { width: 28px; height: 28px; }
@media (max-width: 479px) { .co-head .logo-txt { display: none; } }
.co-steps { width: min(100% - var(--gut) * 2, 760px); margin: 26px auto 8px; }
.co-steps ol { display: flex; justify-content: space-between; }
.co-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; color: var(--ink2); }
.co-steps i { display: grid; place-items: center; width: 38px; height: 38px; border: var(--b); border-radius: 50%; background: var(--card); font-style: normal; transition: background-color .4s, transform .4s var(--spring); }
.co-steps li.is-on { color: var(--ink); }
.co-steps li.is-on i { background: var(--rose); transform: scale(1.1); }
.co-steps li.is-done i { background: var(--ink); color: var(--paper); }
.co-steps { position: relative; }
.co-bar { position: absolute; left: 22px; right: 22px; top: 17px; height: 4px; border-radius: 4px; background: rgba(59, 30, 44, .16); z-index: 0; }
.co-bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--ink); transition: width .6s var(--ease); }
.co-steps ol { position: relative; z-index: 1; }
.co-body { width: min(100% - var(--gut) * 2, 1180px); margin: 0 auto; padding-bottom: 60px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .co-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; } .co-summary { position: sticky; top: 90px; order: 2; } }
.co-body.solo { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.co-main { padding: clamp(20px, 3vw, 36px); border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh); }
.co-step { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.co-h { margin-bottom: 18px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.fields { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field label small { font-weight: 500; color: var(--ink2); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: var(--b); border-radius: 14px; background: var(--paper); font-size: 1rem; outline: none; transition: box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { box-shadow: var(--sh); background: #fff; }
.field .msg { min-height: 0; font-size: .82rem; font-weight: 600; color: var(--red); }
.field.err input { border-color: var(--red); background: #FFF0F3; }
.field.ok input { border-color: #2C7A4B; }
.pend-box { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding: 16px; border: 2px dashed var(--ink); border-radius: 18px; background: rgba(255, 224, 138, .28); }
.pend-box .i { width: 28px; height: 28px; margin-top: 2px; }
.pend-box p { margin-top: 2px; font-size: .92rem; color: var(--ink2); }
.ship-opt { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 14px 16px; border: var(--b); border-radius: 16px; background: var(--paper); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.ship-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ship-opt b { display: block; }
.ship-opt small { color: var(--ink2); }
.so-dot { width: 22px; height: 22px; flex: none; border: var(--b); border-radius: 50%; background: var(--card); transition: box-shadow .2s, background-color .2s; }
.ship-opt:has(input:checked) { background: var(--card); box-shadow: var(--sh); }
.ship-opt:has(input:checked) .so-dot { background: var(--ink); box-shadow: inset 0 0 0 4px var(--card); }
.ship-opt:has(input:focus-visible) { outline: 3px solid var(--berry); outline-offset: 2px; }
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-opt { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border: 2px dashed rgba(59, 30, 44, .45); border-radius: 14px; font-weight: 700; color: var(--ink2); background: var(--paper); }
.pay-note { margin-top: 12px; font-size: .84rem; color: var(--ink2); }
.co-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 2px dashed rgba(59, 30, 44, .2); }
.co-nav .btn { min-width: 0; }
.co-nav #coNext { flex: 1; max-width: 340px; margin-left: auto; }
.co-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.done-check { width: 96px; height: 96px; margin-bottom: 8px; animation: popin .7s var(--spring); }
.done-check path { stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw .6s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popin { from { transform: scale(0) rotate(-30deg); } }
.done-num { font-family: var(--f-m); font-size: .9rem; }
.done-ticket { width: min(100%, 380px); margin: 14px 0 6px; padding: 16px 18px; border: 2px dashed var(--ink); border-radius: 12px; background: #FFFBFA; text-align: left; font: 500 .82rem/1.6 var(--f-m); }
.done-ticket div { display: flex; justify-content: space-between; gap: 10px; }
.done-ticket .tt { margin-top: 8px; padding-top: 8px; border-top: 2px dashed rgba(59, 30, 44, .3); font-weight: 800; }
.co-done .btn { margin-top: 14px; }
.co-summary { border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh); overflow: hidden; }
.sum-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 58px; padding: 0 18px; border: 0; background: var(--rose); font-weight: 700; text-align: left; cursor: pointer; }
.sum-toggle small { font-weight: 500; }
.sum-toggle::after { content: ''; width: 10px; height: 10px; margin-left: 6px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.sum-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
.sum-toggle b { margin-left: auto; }
.sum-body { display: none; padding: 16px 18px 18px; }
.co-summary.open .sum-body { display: block; }
@media (min-width: 1024px) { .sum-body { display: block; } .sum-toggle { pointer-events: none; } .sum-toggle::after, .sum-toggle b { display: none; } }
.sum-lines { display: grid; gap: 12px; margin-bottom: 14px; padding: 8px 8px 14px 0; border-bottom: 2px dashed rgba(59, 30, 44, .2); max-height: 320px; overflow-y: auto; }
.sum-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .9rem; }
.sum-line .line-thumb { position: relative; padding: 3px; border-radius: 10px; }
.sum-line .q { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 5px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: .7rem; font-weight: 800; }
.sum-line small { display: block; color: var(--ink2); font-size: .76rem; }
.co-summary .sum-row { margin-top: 6px; font-size: .98rem; }
.co-summary .sum-row b { font-size: 1.05rem; }
.co-summary .sum-total { margin-top: 12px; padding-top: 12px; border-top: var(--b); }
.co-summary .sum-total b { font-size: 1.45rem; }
.tag-pend { padding: 2px 10px; border: 1.5px dashed var(--ink2); border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--ink2); }

/* =====================================================================
   FLOTANTES
   ===================================================================== */
.cart-pill {
  position: fixed; z-index: var(--z-pill); left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 10px 0 20px;
  border: var(--b); border-radius: 999px; background: var(--rose); box-shadow: var(--sh); font-weight: 700; cursor: pointer;
  transform: translate(-50%, 160%); transition: transform .6s var(--spring);
}
.cart-pill.show { transform: translate(-50%, 0); }
.cart-pill b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--ink); color: var(--rose); font-size: .8rem; }
.pill-total { padding: 8px 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--ink); font-size: .9rem; }
@media (min-width: 1024px) { .cart-pill { display: none; } }
@media (max-width: 359px) { .cart-pill > span:first-of-type { display: none; } }
.totop { position: fixed; z-index: var(--z-pill); right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 50px; height: 50px; border: var(--b); border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .4s var(--spring), bottom .4s var(--ease); }
.totop svg:first-child { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); }
.totop .i { width: 20px; height: 20px; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--rose); }
.has-pill .totop { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .has-pill .totop { bottom: calc(16px + env(safe-area-inset-bottom)); } }
.toasts { position: fixed; z-index: var(--z-toast); left: 50%; top: calc(84px + env(safe-area-inset-top)); width: min(420px, calc(100% - 24px)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
@media (min-width: 1024px) { .toast { transform: translateY(20px) scale(.96); } .toasts { top: auto; left: 24px; bottom: 24px; transform: none; } }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border: var(--b); border-radius: 16px; background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--rose); pointer-events: auto; opacity: 0; transform: translateY(-16px) scale(.96); transition: opacity .3s, transform .45s var(--spring); }
.toast.in { opacity: 1; transform: none; }
.toast .i { color: var(--rose); width: 20px; height: 20px; }
.toast span { flex: 1; font-size: .92rem; line-height: 1.3; }
.toast button { flex: none; min-height: 36px; padding: 0 12px; border: 2px solid var(--paper); border-radius: 999px; background: transparent; color: var(--paper); font-weight: 700; cursor: pointer; }
.toast button:hover { background: var(--rose); color: var(--ink); border-color: var(--rose); }
.progress { position: fixed; z-index: calc(var(--z-hdr) + 1); left: 0; top: 0; width: 100%; height: 4px; background: var(--berry); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.cursor { position: fixed; z-index: var(--z-cursor); left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; display: none; place-items: center; border: 2px solid var(--ink); border-radius: 50%; pointer-events: none; transition: width .35s var(--spring), height .35s var(--spring), margin .35s var(--spring), background-color .3s, opacity .3s, border-color .3s; }
.cursor span { font-size: .78rem; font-weight: 800; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.has-cursor .cursor { display: grid; }
.cursor.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255, 157, 187, .35); }
.cursor.is-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--rose); }
.cursor.is-label span { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.fly { position: fixed; z-index: var(--z-fly); left: 0; top: 0; pointer-events: none; }
.fly-in { width: 100%; height: 100%; padding: 8%; border: var(--b); border-radius: 22px; background: var(--bg, var(--card)); box-shadow: var(--sh); }
.confetti { position: fixed; inset: 0; z-index: calc(var(--z-co) + 5); pointer-events: none; }

/* arte de producto */
.art-wrap { position: relative; width: 100%; aspect-ratio: 1; transition: --c1 .45s ease, --c2 .45s ease, --tx .45s ease; }
.art { width: 100%; height: 100%; overflow: visible; }
.art .a1 { fill: var(--c1); }
.art .a2 { fill: var(--c2); }
.art .ap { fill: #FFFBFA; }
.art .s1 { stroke: var(--c1); }
.art .s2 { stroke: var(--c2); }
.art .atx { fill: var(--tx); font-family: var(--f-s); font-style: italic; }

/* =====================================================================
   MOVIMIENTO REDUCIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .hero [data-in] { opacity: 1; transform: none; }
  .js .split .wi, .js .ht-w { transform: none; }
}
