/* =========================================================
   ALTO CHICHE · ESTILOS
   Paleta: crema #FBEBDD · chocolate #6B3A2E · rosa #EE6F95
   ========================================================= */

@font-face { font-family: "Fredoka"; font-weight: 400; font-display: swap; src: url("fonts/fredoka-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("fonts/fredoka-latin-700-normal.woff2") format("woff2"); }

:root {
  --crema: #FBEBDD;
  --crema-2: #FFF6EE;
  --crema-3: #F6DCC8;
  --choco: #6B3A2E;
  --choco-2: #8C5A4B;
  --choco-osc: #4A251C;
  --rosa: #EE6F95;
  --rosa-osc: #D8557D;
  --rosa-claro: #FCE1E9;
  --verde: #25D366;
  --blanco: #fff;
  --radio: 24px;
  --radio-s: 16px;
  --sombra: 0 10px 30px -8px rgba(107, 58, 46, .18);
  --sombra-s: 0 4px 14px -4px rgba(107, 58, 46, .16);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
  --suave: cubic-bezier(.22, 1, .36, 1);
  --gutter: 16px;
  --font: "Fredoka", ui-rounded, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--choco);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 7vw, 42px); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-wa { stroke: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--rebote), box-shadow .3s, background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.96); }
.btn-white { background: var(--blanco); color: var(--choco); box-shadow: 0 8px 24px -8px rgba(0,0,0,.35); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-rosa { background: var(--rosa); color: #fff; box-shadow: 0 5px 0 var(--rosa-osc), 0 12px 24px -10px rgba(238,111,149,.7); }
.btn-rosa:active { box-shadow: 0 2px 0 var(--rosa-osc); }
.btn-choco { background: var(--choco); color: var(--crema-2); box-shadow: 0 5px 0 var(--choco-osc); }
.btn-mp { background: #009EE3; color: #fff; box-shadow: 0 5px 0 #007DB4; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; }
.btn svg { width: 20px; height: 20px; }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kicker-rosa { color: var(--rosa); margin-bottom: 8px; }

/* ---------- Encabezado ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--gutter);
  padding-top: max(12px, env(safe-area-inset-top));
  transition: background-color .3s, box-shadow .3s, padding .3s;
}
.top.scrolled { background: rgba(251, 235, 221, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 20px -14px rgba(107,58,46,.5); padding-top: 8px; padding-bottom: 8px; }
.top-logo img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); background: var(--crema); transition: transform .4s var(--rebote), width .3s, height .3s; }
.top.scrolled .top-logo img { width: 46px; height: 46px; box-shadow: var(--sombra-s); }
.top-logo:hover img { transform: rotate(-8deg) scale(1.05); }
.top-nav { display: none; }
.top-cart {
  margin-left: auto; position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 18px;
  background: rgba(255,255,255,.94); color: var(--choco);
  border: 0; border-radius: 999px; font-weight: 600;
  box-shadow: var(--sombra-s);
  transition: transform .35s var(--rebote);
}
.top-cart:active { transform: scale(.94); }
.badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center;
  background: var(--rosa); color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 999px; border: 2px solid #fff;
}
.badge.pop, .cart-bar b.pop { animation: pop .5s var(--rebote); }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

/* ---------- Inicio (hero) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88svh, 780px);
  display: flex; align-items: flex-end;
  border-radius: 0 0 36px 36px;
  background: var(--choco-osc);
  color: #fff;
}
.hero-bg { display: none; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-photo { --z: 1.25; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 46% 11%; transform: scale(var(--z)); }
.js .hero-photo { transform: scale(calc(var(--z) * 1.12)); }
.listo .hero-photo { animation: heroZoom 1.8s var(--suave) both; }
@keyframes heroZoom { from { transform: scale(calc(var(--z) * 1.12)); } to { transform: scale(var(--z)); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,18,12,.28) 0%, rgba(40,18,12,0) 22%, rgba(60,26,18,0) 42%, rgba(66,30,21,.72) 70%, rgba(66,30,21,.95) 100%); }
.hero-inner { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px 34px; }
.hero .kicker { opacity: .92; margin-bottom: 10px; }
.hero h1 { font-size: clamp(34px, 9.6vw, 64px); text-wrap: balance; }
.hero h1 em { font-style: normal; color: #FFB8CC; }
.hero-sub { margin-top: 12px; font-size: 18px; opacity: .95; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-ctas .btn { padding: 0 20px; }
/* el texto del inicio entra recién cuando termina la intro */
.js .hero .kicker, .js .hero-sub, .js .hero-ctas { opacity: 0; }
.listo .hero .kicker { animation: rise .9s var(--rebote) .05s both; }
.listo .hero-sub { animation: rise .9s var(--rebote) .45s both; }
.listo .hero-ctas { animation: rise .9s var(--rebote) .6s both; }
/* títulos palabra por palabra (técnica del zip) */
.sw-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .12em; margin: 0 -.05em -.12em; }
.sw { display: inline-block; transform-origin: left bottom; }
.js .hero h1 .sw { transform: translateY(115%) rotate(4deg); }
.listo .hero h1 .sw { animation: sube 1.1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.12s + var(--i) * .07s); }
@keyframes sube { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-cards { display: none; }

/* ---------- Cinta de categorías ---------- */
.marquee { overflow: hidden; padding: 18px 0 6px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 30s linear infinite; color: var(--rosa); font-weight: 600; font-size: 18px; }
.marquee-track i { font-style: normal; color: var(--choco-2); opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Para cada momento ---------- */
.moments { display: grid; gap: 12px; padding-top: 18px; padding-bottom: 8px; }
.moment {
  display: flex; align-items: center; gap: 14px;
  padding: 10px; background: var(--blanco); border-radius: var(--radio);
  text-decoration: none; box-shadow: var(--sombra-s);
  transition: transform .4s var(--rebote), box-shadow .3s;
}
.moment:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--sombra); }
.moment img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex: none; }
.moment strong { display: block; font-size: 20px; font-weight: 700; }
.moment span { display: block; font-size: 15px; color: var(--choco-2); line-height: 1.3; }

/* ---------- Encabezados de sección ---------- */
section.wrap { padding-top: 56px; padding-bottom: 8px; }
.sec-head { margin-bottom: 18px; }
.sec-head p { margin-top: 6px; color: var(--choco-2); }
.sec-head-center { text-align: center; }

/* ---------- Catálogo ---------- */
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 18px; padding: 4px var(--gutter) 8px;
  scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  height: 42px; padding: 0 18px; border-radius: 999px;
  border: 0; background: var(--blanco); color: var(--choco); font-weight: 600;
  box-shadow: var(--sombra-s);
  transition: background-color .25s, color .25s, transform .35s var(--rebote);
}
.chip:active { transform: scale(.93); }
.chip[aria-selected="true"] { background: var(--choco); color: var(--crema-2); }
.chip small { font-weight: 500; opacity: .6; margin-left: 4px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanco); border-radius: var(--radio); padding: 8px;
  box-shadow: var(--sombra-s); text-align: left; border: 0; width: 100%;
  transition: transform .45s var(--rebote), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.pcard:focus:not(:focus-visible) { outline: none; }
.pcard-img { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--crema-3); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--suave); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.tag {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--rosa); color: #fff; font-size: 12px; font-weight: 600;
}
.pcard-body { display: flex; align-items: flex-end; gap: 6px; padding: 10px 4px 4px; flex: 1; }
.pcard-txt { flex: 1; min-width: 0; }
.pcard h3 { font-size: 16px; font-weight: 600; line-height: 1.2; }
.price { display: block; margin-top: 4px; font-weight: 700; color: var(--rosa); font-size: 17px; }
.price.ask { font-size: 13px; font-weight: 600; color: var(--choco-2); white-space: nowrap; }
.pcard-add {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--crema); color: var(--choco);
  transition: background-color .2s, color .2s, transform .35s var(--rebote);
}
.pcard:hover .pcard-add { background: var(--rosa); color: #fff; transform: rotate(90deg); }
.grid-empty { text-align: center; padding: 24px 8px; color: var(--choco-2); }

/* ---------- Reel ---------- */
.reel { margin-top: 64px; padding: 56px 0; background: var(--choco); color: var(--crema-2); border-radius: 36px; }
.reel-inner { display: grid; gap: 28px; justify-items: center; }
/* el reel dentro de un iPhone (medidas proporcionales al ancho del teléfono) */
.reel-video { position: relative; width: min(100%, 300px); container-type: inline-size; }
.iphone {
  position: relative; padding: 3.6cqw;
  border-radius: 17cqw; background: #141416;
  box-shadow:
    inset 0 0 0 .7cqw #3a3a3e,          /* canto metálico */
    inset 0 0 0 1.6cqw #0b0b0c,
    0 0 0 .5cqw #55555a,
    0 30px 60px -20px rgba(0, 0, 0, .65), 0 10px 20px -10px rgba(0, 0, 0, .5);
}
/* botones laterales: silencio y volumen a la izquierda, encendido a la derecha */
.iphone::before, .iphone::after, .iph-btns { content: ""; position: absolute; width: 1.3cqw; background: #2b2b2f; }
.iph-btns { left: -1.3cqw; top: 24cqw; height: 7cqw; border-radius: 1cqw 0 0 1cqw; }
.iphone::before { left: -1.3cqw; top: 37cqw; height: 11cqw; border-radius: 1cqw 0 0 1cqw; box-shadow: 0 15cqw 0 #2b2b2f; }
.iphone::after { right: -1.3cqw; top: 46cqw; height: 22cqw; border-radius: 0 1cqw 1cqw 0; }
.reel-screen {
  position: relative; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black);
  aspect-ratio: 9 / 16; border-radius: 13.5cqw; overflow: hidden;
  background: #000 url("video/poster.jpg") center / cover;
}
.reel-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.iph-island { position: absolute; z-index: 2; top: 3.6cqw; left: 50%; width: 32%; height: 9cqw; transform: translateX(-50%); border-radius: 99px; background: #000; box-shadow: inset -5cqw 0 0 -3.6cqw #1d2433; pointer-events: none; }
.reel-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--rosa); box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); animation: popIn .5s var(--rebote) both; }
.reel-play svg { width: 32px; height: 32px; margin-left: 4px; }
.reel-text { text-align: center; max-width: 440px; }
.reel-text p:not(.kicker) { margin: 12px 0 22px; color: #F3D9CB; }
.reel .kicker-rosa { color: #FFA6C0; }

/* ---------- Bloques con formulario ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.split-info p { margin-top: 10px; color: var(--choco-2); }
.split-img { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; margin-top: 18px; box-shadow: var(--sombra); transform: rotate(-3deg); }
.split-img-wide { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; transform: rotate(2deg); }
.card { background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra); }
.form { display: grid; gap: 14px; padding: 20px; }
.form label, .cart-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 2px solid var(--crema-3); border-radius: 14px;
  background: var(--crema-2); font-weight: 500; font-size: 16px;
  transition: border-color .2s, background-color .2s;
}
textarea { resize: vertical; min-height: 0; }
input::placeholder, textarea::placeholder { color: #B7958A; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rosa); background: #fff; }
.invalid { border-color: var(--rosa) !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.row2 { display: grid; gap: 14px; }
.form-note { font-size: 13px; color: var(--choco-2); text-align: center; }

.wholesale { margin-top: 64px; padding: 4px 0 56px; background: linear-gradient(180deg, var(--rosa-claro), var(--crema)); border-radius: 36px; }
.wholesale .split { padding-top: 48px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--rosa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Cómo comprar ---------- */
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step { position: relative; padding: 22px 20px 20px 84px; min-height: 104px; }
.step-n {
  position: absolute; left: 18px; top: 20px;
  width: 50px; height: 50px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--rosa); color: #fff; font-size: 26px; font-weight: 700;
  transform: rotate(-6deg); box-shadow: 0 4px 0 var(--rosa-osc);
}
.step:nth-child(2) .step-n { background: #8FC9B9; box-shadow: 0 4px 0 #6AAE9B; transform: rotate(5deg); }
.step:nth-child(3) .step-n { background: #F2B84B; box-shadow: 0 4px 0 #D99A2B; }
.step h3 { font-size: 20px; }
.step p { margin-top: 4px; color: var(--choco-2); font-size: 15px; }
.steps-cta { text-align: center; margin-top: 24px; }

/* ---------- Pie ---------- */
.foot { margin-top: 64px; background: var(--choco); color: var(--crema-2); border-radius: 36px 36px 0 0; padding: 44px 0 calc(110px + env(safe-area-inset-bottom)); text-align: center; }
.foot-inner { display: grid; justify-items: center; gap: 10px; }
.foot-logo { width: 88px; height: 88px; border-radius: 50%; }
.foot-tag { font-size: 20px; font-weight: 600; }
.foot-loc { color: #E6C6B6; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.1); text-decoration: none; font-weight: 600; transition: background-color .2s, transform .35s var(--rebote); }
.foot-links a:hover { background: var(--rosa); transform: translateY(-2px); }
.foot-copy { font-size: 13px; color: #C9A797; margin-top: 10px; }

/* ---------- Flotantes ---------- */
.wa-float {
  position: fixed; z-index: 45; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde); color: #fff;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6);
  transition: transform .35s var(--rebote), opacity .3s;
}
.wa-float svg { width: 30px; height: 30px; }
.js .wa-float { opacity: 0; }
.listo .wa-float { animation: popIn .7s 1s var(--rebote) both; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes popIn { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.cart-bar {
  position: fixed; z-index: 45; left: 16px; right: 86px; bottom: calc(18px + env(safe-area-inset-bottom));
  height: 54px; padding: 0 10px 0 18px; border: 0; border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  background: var(--choco); color: var(--crema-2); font-weight: 600; font-size: 17px;
  box-shadow: 0 0 0 2px rgba(255,246,238,.35), 0 12px 28px -10px rgba(74,37,28,.7);
  animation: barIn .55s var(--rebote) both;
}
.cart-bar span { flex: 1; text-align: left; }
.cart-bar b { min-width: 34px; height: 34px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; background: var(--rosa); color: #fff; }
@keyframes barIn { from { opacity: 0; transform: translateY(120%); } to { opacity: 1; transform: none; } }
body.lock .wa-float, body.lock .cart-bar { opacity: 0; pointer-events: none; }

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom));
  transform: translate(-50%, 40px) scale(.9); opacity: 0;
  padding: 12px 20px; border-radius: 999px;
  background: var(--choco); color: #fff; font-weight: 600; white-space: nowrap;
  box-shadow: var(--sombra); transition: transform .5s var(--rebote), opacity .25s, visibility 0s .5s;
  pointer-events: none; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--rebote), opacity .25s; }

/* ---------- Ventanas (ficha y pedido) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(58, 28, 20, .45);
  opacity: 0; transition: opacity .3s;
}
.overlay.open { opacity: 1; }
.sheet {
  position: relative; width: 100%; max-height: 92svh;
  background: var(--crema-2); border-radius: 28px 28px 0 0;
  overflow: auto; overscroll-behavior: contain;
  transform: translateY(100%); transition: transform .5s var(--suave);
  padding-bottom: env(safe-area-inset-bottom);
}
.overlay.open .sheet { transform: none; }
.sheet-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: var(--choco); box-shadow: var(--sombra-s);
  transition: transform .35s var(--rebote);
}
.sheet-close:hover { transform: rotate(90deg); }
.sheet-close-static { position: static; }

/* Ficha */
.pd-gal { position: relative; background: var(--crema-3); }
.pd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd-track::-webkit-scrollbar { display: none; }
.pd-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 4; max-height: 56svh; object-fit: cover; scroll-snap-align: center; }
.pd-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.pd-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.7); transition: width .3s var(--rebote), background-color .2s; }
.pd-dots button.on { width: 22px; background: #fff; }
.pd-arrow { display: none; }
.pd-thumbs { display: none; }
.pd-info { padding: 20px 20px 24px; display: grid; gap: 14px; }
.pd-info h2 { font-size: 28px; }
.pd-info .price { font-size: 22px; margin-top: 2px; }
.pd-info .price.ask { font-size: 17px; }
.pd-desc { color: var(--choco-2); }
.pd-label { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px 0 6px; border-radius: 999px;
  border: 2px solid var(--crema-3); background: #fff; font-weight: 600; font-size: 15px;
  transition: border-color .2s, transform .35s var(--rebote);
}
.swatch i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch[aria-checked="true"] { border-color: var(--rosa); transform: scale(1.04); }
.pd-buy { display: flex; gap: 10px; align-items: center; }
.qty { display: inline-flex; align-items: center; height: 50px; border-radius: 999px; background: #fff; border: 2px solid var(--crema-3); }
.qty button { width: 44px; height: 46px; border: 0; background: none; display: grid; place-items: center; color: var(--choco); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-size: 18px; }
.qty-s { height: 38px; }
.qty-s button { width: 34px; height: 34px; }
.qty-s output { font-size: 16px; min-width: 20px; }
.pd-buy .btn { flex: 1; padding: 0 16px; }
.pd-ask { font-size: 15px; text-align: center; color: var(--choco-2); }
.pd-ask a { color: var(--rosa-osc); font-weight: 600; }

/* Pedido */
.sheet-cart { display: flex; flex-direction: column; overflow: hidden; height: 92svh; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 12px 20px; border-bottom: 2px dashed var(--crema-3); }
.cart-head h2 { font-size: 26px; }
.cart-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 14px 16px 24px; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px; background: #fff; border-radius: 18px; box-shadow: var(--sombra-s); animation: rise .45s var(--rebote) both; }
.citem img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.citem h3 { font-size: 16px; font-weight: 600; line-height: 1.2; }
.citem small { display: block; color: var(--choco-2); font-size: 13px; }
.citem .price { font-size: 15px; margin-top: 2px; }
.citem-side { display: grid; justify-items: end; gap: 6px; }
.citem-del { border: 0; background: none; color: var(--choco-2); font-size: 13px; text-decoration: underline; padding: 2px; }
.cart-empty { text-align: center; padding: 40px 10px; display: grid; gap: 16px; justify-items: center; color: var(--choco-2); }
.cart-form { display: grid; gap: 14px; margin-top: 16px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; background: var(--rosa-claro); border-radius: 16px; font-weight: 600; }
.cart-total b { white-space: nowrap; font-size: 22px; color: var(--rosa-osc); }
.cart-total small { display: block; font-size: 13px; font-weight: 500; color: var(--choco-2); }
.delivery { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.delivery legend { font-size: 15px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.radio { display: flex !important; grid-template-columns: none; align-items: center; gap: 12px !important; padding: 12px 14px; border-radius: 16px; background: #fff; border: 2px solid var(--crema-3); cursor: pointer; transition: border-color .2s; }
.radio:has(input:checked) { border-color: var(--rosa); }
.radio input { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: var(--rosa); flex: none; }
.radio strong { display: block; font-weight: 600; }
.radio small { display: block; font-weight: 500; color: var(--choco-2); font-size: 13px; }
.pay-buttons { display: grid; gap: 12px; margin-top: 4px; }

/* ---------- Animaciones al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px) scale(.97); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .6s var(--suave) var(--d, 0s), transform .9s var(--rebote) var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html:not(.forzar-anim) *, html:not(.forzar-anim) *::before, html:not(.forzar-anim) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html:not(.forzar-anim).js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   TABLET Y COMPU
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .moments { grid-template-columns: repeat(3, 1fr); }
  .moment { flex-direction: column; align-items: flex-start; padding: 10px 10px 16px; }
  .moment img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .moment div { padding: 0 6px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .form { padding: 28px; }
  .steps-list { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 84px 22px 24px; }
  .cart-bar { left: auto; right: 90px; width: 260px; }

  .overlay { align-items: center; padding: 24px; }
  .sheet { border-radius: 28px; max-height: 88vh; transform: translateY(30px) scale(.96); opacity: 0; transition: transform .5s var(--rebote), opacity .3s; }
  .overlay.open .sheet { opacity: 1; }
  .sheet-product { max-width: 920px; }
  .overlay[data-overlay="carrito"] { justify-content: flex-end; align-items: stretch; padding: 12px; }
  .sheet-cart { max-width: 440px; height: auto; max-height: none; transform: translateX(110%); opacity: 1; transition: transform .5s var(--suave); }
}

@media (min-width: 820px) {
  .pd { display: grid; grid-template-columns: 1.05fr 1fr; }
  .pd-gal { border-radius: 28px 0 0 28px; overflow: hidden; display: flex; flex-direction: column; }
  .pd-track img { max-height: 70vh; aspect-ratio: 3 / 4; }
  .pd-arrow {
    display: grid; place-items: center; position: absolute; top: 40%;
    width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.92); color: var(--choco); box-shadow: var(--sombra-s);
  }
  .pd-arrow.prev { left: 12px; } .pd-arrow.next { right: 12px; }
  .pd-info { padding: 40px 32px 32px; align-content: start; }
  .pd-info h2 { font-size: 34px; padding-right: 40px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
  .split-rev .split-info { order: 2; }
  .reel-inner { grid-template-columns: auto 1fr; gap: 64px; justify-items: start; align-items: center; max-width: 900px; }
  .reel-text { text-align: left; }
  .reel-video { width: 320px; }
}

@media (min-width: 960px) {
  html { scroll-padding-top: 96px; }
  .top { padding-left: 32px; padding-right: 32px; }
  .top-nav { display: flex; gap: 4px; margin-left: auto; padding: 5px; background: rgba(255,255,255,.94); border-radius: 999px; box-shadow: var(--sombra-s); }
  .top-nav a { padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: background-color .2s, color .2s; }
  .top-nav a:hover { background: var(--crema); color: var(--rosa-osc); }
  .top-cart { margin-left: 8px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .pcard { padding: 10px; }
  .pcard h3 { font-size: 17px; }
  section.wrap { padding-top: 80px; }
  .chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; }

  /* Hero en compu: foto desenfocada de fondo + tarjetas de fotos a la derecha */
  .hero { min-height: min(86vh, 760px); align-items: center; border-radius: 0 0 48px 48px; }
  .hero-media { display: none; }
  .hero-bg { display: block; position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; object-position: 50% 30%; filter: blur(26px) saturate(1.15); z-index: -2; }
  .hero-shade { background: linear-gradient(90deg, rgba(66,30,21,.94) 0%, rgba(66,30,21,.82) 42%, rgba(107,58,46,.5) 100%); }
  .hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 120px 48px 64px; }
  .hero h1 { font-size: clamp(48px, 5.2vw, 70px); }
  .hero-sub { font-size: 21px; }
  .hero-cards { display: block; position: relative; height: min(64vh, 560px); }
  .hc { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
  .js .hc { opacity: 0; }
  .listo .hc { animation: cardIn 1s var(--rebote) both; }
  .hc img { width: 100%; height: 100%; object-fit: cover; }
  .hc-1 { right: 18%; top: 0; width: 56%; height: 100%; transform: rotate(-2deg); animation-delay: .15s; }
  .hc-1 img { object-position: 50% 25%; }
  .hc-2 { right: 0; top: 6%; width: 34%; aspect-ratio: 3 / 4; transform: rotate(6deg); animation-delay: .35s; }
  .hc-3 { left: 0; bottom: 4%; width: 34%; aspect-ratio: 3 / 4; transform: rotate(-7deg); animation-delay: .5s; }
  @keyframes cardIn { from { opacity: 0; translate: 0 60px; scale: .85; } to { opacity: 1; translate: 0 0; scale: 1; } }

  .moments { gap: 20px; }
  .reel, .wholesale { max-width: 1240px; margin-left: auto; margin-right: auto; }
  .reel { padding: 72px 0; }
  .split-img { width: 180px; }
  .split-img-wide { width: 100%; max-width: 320px; }
  .moment img { aspect-ratio: 16 / 9; }
}

/* Abrir la ventana del pedido desde el costado en pantallas anchas */
@media (min-width: 600px) {
  .overlay.open .sheet-cart { transform: none; }
}

/* =========================================================
   SCROLL SUAVE (Lenis)
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   INTRO: el logo se imprime en 3D capa por capa
   ========================================================= */
html.con-intro, html.con-intro body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.intro-panel {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background-color: var(--crema);
  background-image: radial-gradient(rgba(238, 111, 149, .16) 1.6px, transparent 1.8px);
  background-size: 24px 24px;
  will-change: transform;
  transition: transform 1.05s cubic-bezier(.77, 0, .18, 1), border-radius 1.05s cubic-bezier(.77, 0, .18, 1);
}
.intro-panel.arriba { top: 0; }
.intro-panel.abajo { bottom: 0; background-position: 0 100%; }
.intro-panel.abajo::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 4px; border-radius: 4px;
  background: var(--rosa); box-shadow: 0 0 22px 3px rgba(238, 111, 149, .75);
  transform: scaleX(0); transition: transform .5s var(--suave);
}
.intro.corte .intro-panel.abajo::before { transform: scaleX(1); }
.intro.abre .intro-panel.arriba { transform: translateY(-102%); border-radius: 0 0 50% 50% / 0 0 90px 90px; }
.intro.abre .intro-panel.abajo { transform: translateY(102%); border-radius: 50% 50% 0 0 / 90px 90px 0 0; }
.intro.abre .intro-panel.abajo::before { opacity: 0; transition: opacity .2s; }

.intro-centro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; transition: opacity .45s, transform .8s var(--suave); }
.intro.corte .intro-centro { opacity: 0; transform: scale(1.12); }

.intro-print { --s: min(56vw, 230px); position: relative; width: var(--s); height: var(--s); }
.intro-print img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* el "molde": el logo apagado que se va a imprimir */
.intro-ghost { opacity: 0; filter: grayscale(1) contrast(.6); }
.intro.go .intro-ghost { animation: ghost 2.3s forwards; }
@keyframes ghost { 0% { opacity: 0; } 15%, 80% { opacity: .18; } 100% { opacity: 0; } }
/* la parte impresa: aparece de abajo hacia arriba, en capas */
.intro-build { position: absolute; inset: 0; filter: drop-shadow(0 14px 22px rgba(107, 58, 46, .22)); }
.intro.go .intro-build { animation: logoPop .6s 1.95s var(--rebote); }
.intro-build img, .intro-build::after { clip-path: inset(100% 0 0 0); }
.intro.go .intro-build img { animation: imprimir 1.6s .3s steps(16, end) forwards; }
.intro-build::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(0deg, rgba(107, 58, 46, .13) 0 1px, transparent 1px 6px); }
.intro.go .intro-build::after { animation: imprimir 1.6s .3s steps(16, end) forwards, fuera .5s 1.9s forwards; }
@keyframes imprimir { to { clip-path: inset(0 0 0 0); } }
@keyframes logoPop { 0% { transform: scale(1); } 40% { transform: scale(1.09); } 100% { transform: scale(1); } }
@keyframes fuera { to { opacity: 0; } }

/* el cabezal de la impresora: sube por capas y va y viene */
.intro-gantry { position: absolute; inset: 0; pointer-events: none; }
.intro.go .intro-gantry { animation: subirCabezal 1.6s .3s steps(16, end) forwards; }
.intro-rail { position: absolute; left: -14%; right: -14%; top: 100%; height: 0; opacity: 0; }
.intro-rail::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; border-radius: 3px; background: rgba(107, 58, 46, .28); }
.intro.go .intro-rail { animation: rielIn .35s .1s var(--rebote) forwards, rielOut .4s 1.9s ease-in forwards; }
.intro-head { position: absolute; left: 50%; top: 0; width: 48px; height: 0; margin-left: -24px; }
.intro.go .intro-head { animation: vaiven .19s linear infinite alternate; }
.intro-head::before { content: ""; position: absolute; left: 0; bottom: 10px; width: 48px; height: 26px; border-radius: 10px; background: var(--choco); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18); }
.intro-head i { position: absolute; left: 17px; bottom: -2px; width: 14px; height: 13px; background: var(--rosa); clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%); }
.intro-head::after { content: ""; position: absolute; left: 21px; bottom: -5px; width: 6px; height: 6px; border-radius: 50%; background: #FFD1DE; box-shadow: 0 0 10px 4px rgba(238, 111, 149, .85); }
@keyframes subirCabezal { to { transform: translateY(-100%); } }
@keyframes vaiven { from { transform: translateX(calc(var(--s) * -.36)); } to { transform: translateX(calc(var(--s) * .36)); } }
@keyframes rielIn { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes rielOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-60px); } }

/* chispitas que saltan cuando termina */
.chispa { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; color: var(--c); font-size: 24px; line-height: 1; opacity: 0; pointer-events: none; }
.intro.go .chispa { animation: chispa 1.1s 1.95s var(--rebote) forwards; }
.intro.go .chispa:nth-of-type(2n) { animation-delay: 2s; font-size: 20px; }
.intro.go .chispa:nth-of-type(3n) { animation-delay: 2.06s; font-size: 16px; }
@keyframes chispa {
  0% { opacity: 0; transform: translate(0, 0) scale(0) rotate(0); }
  20% { opacity: 1; }
  65% { opacity: 1; transform: translate(var(--x), var(--y)) scale(1) rotate(20deg); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.12), calc(var(--y) * 1.12 + 18px)) scale(.7) rotate(30deg); }
}

.intro-sub { margin-top: 24px; font-size: clamp(13px, 3.6vw, 17px); font-weight: 600; text-transform: uppercase; color: var(--choco); letter-spacing: 1.1em; padding-left: 1.1em; opacity: 0; white-space: nowrap; }
.intro.go .intro-sub { animation: subIntro 1.3s .5s var(--suave) forwards; }
@keyframes subIntro { to { opacity: 1; letter-spacing: .42em; padding-left: .42em; } }
.intro-barra { width: min(210px, 54vw); height: 8px; margin-top: 18px; border-radius: 999px; background: rgba(107, 58, 46, .12); overflow: hidden; opacity: 0; }
.intro-barra i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rosa), #F2B84B); transform: scaleX(0); transform-origin: left; }
.intro.go .intro-barra { animation: aparecer .4s .25s forwards; }
.intro.go .intro-barra i { animation: imprimirBarra 1.6s .3s steps(16, end) forwards; }
@keyframes imprimirBarra { to { transform: scaleX(1); } }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.intro-pct { margin-top: 10px; font-size: 15px; color: var(--choco-2); opacity: 0; min-height: 1.5em; }
.intro-pct b { color: var(--rosa-osc); font-weight: 700; display: inline-block; min-width: 3ch; text-align: left; }
.intro.go .intro-pct { animation: aparecer .4s .35s forwards; }
.intro-saltar { position: absolute; bottom: calc(26px + env(safe-area-inset-bottom)); left: 50%; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--choco-2); opacity: 0; white-space: nowrap; transform: translateX(-50%); }
.intro.go .intro-saltar { animation: aparecerX .5s 1.2s forwards; }
@keyframes aparecerX { to { opacity: 1; } }
.intro.corte .intro-saltar { opacity: 0 !important; animation: none; transition: opacity .25s; }
