/* ==========================================================================
   Jekids · Moda infantil — hoja de estilos
   ========================================================================== */

:root {
  color-scheme: only light; /* evita que el modo oscuro forzado del teléfono altere los colores */
  --cream: #F6EFE6;
  --paper: #FBF7F1;
  --sand: #EADFD1;
  --nude: #DCC6B2;
  --blush: #EFD3CA;
  --rose: #D9A79A;
  --sage: #CDD5C3;
  --powder: #D3DEE4;
  --honey: #F6E0B2;
  --caramel: #C2734A;
  --caramel-d: #A65C37;
  --cocoa: #3A2620;
  --cocoa-2: rgba(58, 38, 32, .68);
  --cocoa-3: rgba(58, 38, 32, .45);
  --line: rgba(58, 38, 32, .12);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-sans: "Jost", "Futura", "Century Gothic", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-q: cubic-bezier(.25, 1, .5, 1);
  --ease-io: cubic-bezier(.87, 0, .13, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --r: 22px;
  --r-lg: clamp(22px, 3vw, 40px);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--caramel); color: var(--paper); }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
svg use { pointer-events: none; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--cocoa); color: var(--paper); padding: 10px 16px; border-radius: 999px; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* --- Tipografía ---------------------------------------------------------- */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
  letter-spacing: -.025em;
  line-height: .95;
  text-wrap: balance;
}
.display { font-size: clamp(3.4rem, 11vw, 11.5rem); font-weight: 340; letter-spacing: -.045em; line-height: .86; }
.h1 { font-size: clamp(2.9rem, 7.6vw, 8rem); font-weight: 340; letter-spacing: -.04em; line-height: .9; }
.h2 { font-size: clamp(2.3rem, 5.2vw, 5.4rem); font-weight: 350; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; }
em, .it { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.h1 em, .h2 em, .display em { color: var(--caramel); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-sans);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--cocoa-2);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: rgba(246, 239, 230, .7); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.55; color: var(--cocoa-2); max-width: 36ch; text-wrap: pretty; }
.muted { color: var(--cocoa-2); }

/* Split lines */
.line { display: inline-block; vertical-align: top; overflow: hidden; padding: 0 .04em .1em; margin: 0 -.04em -.1em; }
.line > span { display: inline-block; will-change: transform; }

/* --- Botones ------------------------------------------------------------- */
.btn {
  --bg: var(--cocoa); --fg: var(--paper);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 54px; padding: 0 1.7em;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  overflow: hidden; white-space: nowrap;
  transition: transform .5s var(--ease), color .45s var(--ease), box-shadow .5s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--caramel); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--paper); box-shadow: 0 14px 34px -14px rgba(166, 92, 55, .6); }
.btn--dark { --bg: var(--cocoa); --fg: var(--paper); }
.btn--cream { --bg: var(--cream); --fg: var(--cocoa); }
.btn--ghost { --bg: transparent; --fg: var(--cocoa); box-shadow: inset 0 0 0 1px rgba(58, 38, 32, .3); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px transparent; }
.btn--sm { min-height: 44px; padding: 0 1.2em; font-size: .88rem; }
.btn--lg { min-height: 64px; padding: 0 2.2em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 500; letter-spacing: .02em;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease), gap .5s var(--ease);
}
.link-arrow svg { width: 1.2em; height: 1.2em; transition: transform .5s var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-btn { font-size: .85rem; color: var(--cocoa-2); text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .3s var(--ease); }
.icon-btn:hover { background: rgba(58, 38, 32, .07); }
.icon-btn svg { width: 22px; height: 22px; }

/* --- Loader -------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--cream); pointer-events: none;
  transition: clip-path 1s var(--ease-io) .1s; clip-path: inset(0 0 0 0);
}
.loader__bear { width: 92px; animation: bob 1.4s var(--ease-q) infinite alternate; }
.is-loaded .loader { clip-path: inset(0 0 100% 0); }
@keyframes bob { from { transform: translateY(6px) rotate(-4deg); } to { transform: translateY(-6px) rotate(4deg); } }
.no-loader .loader { display: none; }

/* --- Navegación ---------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: transform .6s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.nav__inner {
  max-width: var(--max); margin-inline: auto; height: var(--nav-h);
  padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav__logo img { height: 62px; width: auto; transition: height .5s var(--ease); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  position: relative; font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--caramel); transform: translate(-50%, 6px) scale(0); transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: translate(-50%, 0) scale(1); }
.nav__actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav__bag { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.nav__bag:hover { background: rgba(58, 38, 32, .07); }
.nav__bag svg { width: 24px; height: 24px; }
.nav__count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--caramel); color: var(--paper);
  font-size: .68rem; font-weight: 600; line-height: 19px; text-align: center;
  transform: scale(0); transition: transform .5s var(--ease);
}
.nav__count.has { transform: scale(1); }
.nav__count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav.is-scrolled { background: rgba(246, 239, 230, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav__logo img { height: 50px; }
.nav.is-scrolled .nav__inner { height: 70px; }
.nav__inner { transition: height .5s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--cream);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease-io);
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 6px 0;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(2.6rem, 11vw, 4.4rem); letter-spacing: -.03em; line-height: 1.08;
  border-bottom: 1px solid var(--line);
}
.menu__links small { font-family: var(--f-sans); font-size: .75rem; letter-spacing: .2em; color: var(--caramel); }
.menu__links a[aria-current] { color: var(--caramel); }
.menu__foot { display: flex; flex-direction: column; gap: 18px; color: var(--cocoa-2); }

/* --- Hero (inicio) ------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(36px, 6vw, 72px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--sand); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform-origin: 70% 60%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 239, 230, .55) 0%, rgba(246, 239, 230, 0) 52%); }
.hero__content { display: grid; gap: clamp(22px, 3vw, 36px); max-width: 760px; }
.hero .display { margin-left: -.04em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(28px, 6vw, 80px);
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa-2);
  padding-right: 96px;
}
.hero__foot strong { font-weight: 500; color: var(--cocoa); }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 46px; background: rgba(58, 38, 32, .2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--cocoa); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* --- Marquee ------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px) 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); }
.marquee__item { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.8rem, 3.6vw, 3.4rem); letter-spacing: -.02em; white-space: nowrap; }
.marquee__item:nth-child(4n+3) { font-style: italic; color: var(--caramel); }
.marquee__dot { width: clamp(22px, 2.4vw, 34px); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Secciones ----------------------------------------------------------- */
.section { padding-block: clamp(80px, 11vw, 170px); }
.section--tight { padding-block: clamp(56px, 7vw, 110px); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--blush { background: var(--blush); }
.section--cocoa { background: var(--cocoa); color: var(--cream); }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 90px); }
.sec-head .lead { justify-self: end; }
.sec-head__title { display: grid; gap: 22px; }

/* Categorías — mosaico editorial */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.cat { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); isolation: isolate; }
.cat:nth-child(1) { grid-column: 1 / span 5; grid-row: span 2; aspect-ratio: 4 / 5.6; }
.cat:nth-child(2) { grid-column: 6 / span 4; aspect-ratio: 4 / 4.4; margin-top: clamp(40px, 8vw, 120px); }
.cat:nth-child(3) { grid-column: 10 / span 3; aspect-ratio: 3 / 4.4; }
.cat:nth-child(4) { grid-column: 6 / span 3; aspect-ratio: 3 / 4; }
.cat:nth-child(5) { grid-column: 9 / span 4; aspect-ratio: 4 / 3.4; margin-top: clamp(-120px, -6vw, -40px); }
.cat:nth-child(6) { grid-column: 2 / span 4; aspect-ratio: 4 / 3; margin-top: -1px; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat:hover img { transform: scale(1.06); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(40, 24, 18, .55)); z-index: 1; }
.cat__label {
  position: absolute; left: clamp(18px, 2vw, 30px); right: clamp(18px, 2vw, 30px); bottom: clamp(16px, 2vw, 28px); z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; color: var(--paper);
}
.cat__label h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.cat__label small { display: block; margin-top: 6px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.cat__go { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 247, 241, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.cat__go svg { width: 20px; height: 20px; }
.cat:hover .cat__go { background: var(--paper); color: var(--cocoa); transform: rotate(-45deg); }
.cats__note { grid-column: 1 / span 5; align-self: center; padding: clamp(10px, 2vw, 30px) 0; }

/* Osito — momento firma */
.hello { position: relative; overflow: hidden; }
.hello__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.hello__bear { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hello__bear .bear { width: 54%; position: relative; top: 2%; overflow: visible; filter: drop-shadow(0 40px 50px rgba(120, 70, 40, .18)); transition: transform .9s var(--ease); }
.hello__ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 55%, var(--honey) 0, rgba(246, 224, 178, .0) 66%); }
.hello__orbit { position: absolute; inset: 2%; animation: spin 40s linear infinite; }
.hello__orbit text { font-family: var(--f-sans); font-size: 13px; letter-spacing: .5em; text-transform: uppercase; fill: var(--cocoa-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.bear-eye { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease); }
.bear.blink .bear-eye { animation: blink .32s var(--ease-io); }
@keyframes blink { 50% { transform: scaleY(.1); } }
.manifesto { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.7rem, 3.1vw, 3.1rem); line-height: 1.14; letter-spacing: -.022em; text-wrap: pretty; }
.manifesto .w { opacity: .16; transition: opacity .3s; }
.manifesto em { color: var(--caramel); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.facts b { display: block; font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 350; font-size: clamp(2.4rem, 4vw, 3.8rem); letter-spacing: -.04em; line-height: 1; }
.facts span { display: block; margin-top: 8px; font-size: .86rem; color: var(--cocoa-2); }

/* Productos */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 340px); gap: clamp(14px, 1.8vw, 26px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 30px;
  scroll-padding-inline: var(--gutter); cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 10px; }
.rail__nav button { width: 54px; height: 54px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, .25); display: grid; place-items: center; transition: background .4s var(--ease), color .4s var(--ease); }
.rail__nav button:hover { background: var(--cocoa); color: var(--paper); }
.rail__nav button svg { width: 20px; height: 20px; }
.rail__nav button:first-child svg { transform: scaleX(-1); }
.rail__progress { height: 1px; background: var(--line); margin: 0 var(--gutter); position: relative; }
.rail__progress i { position: absolute; left: 0; top: 0; height: 1px; width: 20%; background: var(--cocoa); transition: transform .3s var(--ease); }

.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #EFE5DA;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__open { position: absolute; inset: 0; z-index: 1; }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  background: rgba(251, 247, 241, .9); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.card__tag--gift { background: var(--blush); }
.card__add {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 14px; border-radius: 999px;
  background: var(--paper); font-size: .82rem; font-weight: 500;
  box-shadow: 0 10px 30px -12px rgba(58, 38, 32, .35);
  transform: translateY(12px); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease), background .4s, color .4s;
}
.card__add svg { width: 18px; height: 18px; }
.card:hover .card__add, .card__add:focus-visible { transform: none; opacity: 1; }
.card__add:hover { background: var(--cocoa); color: var(--paper); }
.card__body { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-inline: 4px; }
.card__cat { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cocoa-3); font-weight: 500; }
.card__name { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em; margin-top: 4px; }
.card__price { flex: none; font-size: .8rem; color: var(--cocoa-2); white-space: nowrap; padding-top: 22px; }

/* Split editorial */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.split__media--wide { aspect-ratio: 16 / 11; }
.split__media img { width: 100%; height: 115%; object-fit: cover; }
.split__text { display: grid; gap: 26px; align-content: center; }
.split__text .lead { max-width: 42ch; }
.badge-float {
  position: absolute; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 2;
  width: clamp(110px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; text-align: center; padding: 18px;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(.95rem, 1.2vw, 1.15rem); line-height: 1.1;
  box-shadow: 0 20px 40px -20px rgba(58, 38, 32, .35);
}
.badge-float svg { width: 22px; height: 22px; color: var(--caramel); margin: 0 auto 6px; }
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--paper); color: var(--caramel); }
.section--paper .ticks svg { background: var(--sand); }

/* Marcas */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand {
  position: relative; padding: clamp(28px, 4vw, 54px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; gap: 14px; grid-template-rows: auto auto 1fr; min-height: clamp(200px, 22vw, 300px); overflow: hidden; isolation: isolate;
}
.brand > p { align-self: end; }
.brand__name { margin-top: clamp(10px, 2.4vw, 36px); }
.brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b, var(--blush)); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.brand:hover::before { transform: scaleY(1); }
.brand__name { font-family: var(--f-display); font-variation-settings: "SOFT" 30; font-size: clamp(2.2rem, 4.4vw, 4.2rem); letter-spacing: -.035em; line-height: 1; transition: transform .8s var(--ease); }
.brand:hover .brand__name { transform: translateY(-6px); }
.brand__type { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--cocoa-2); }
.brand__type svg { width: 16px; height: 16px; color: var(--caramel); }
.brand p { font-size: .92rem; color: var(--cocoa-2); max-width: 34ch; }

/* Tienda física */
.store { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(520px, 70vw, 820px); display: flex; align-items: flex-end; padding: clamp(18px, 3vw, 44px); isolation: isolate; }
.store > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.store__card { background: rgba(251, 247, 241, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: calc(var(--r-lg) - 8px); padding: clamp(24px, 3.4vw, 46px); max-width: 520px; display: grid; gap: 20px; }
.info-list { display: grid; gap: 16px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.info-list svg { width: 22px; height: 22px; color: var(--caramel); margin-top: 2px; }
.info-list b { display: block; font-weight: 500; }
.info-list span { color: var(--cocoa-2); font-size: .95rem; }

/* Social */
.social { text-align: center; display: grid; justify-items: center; gap: 26px; }
.social__handle { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: clamp(3rem, 10vw, 10rem); letter-spacing: -.05em; line-height: .9; transition: color .5s var(--ease); }
.social__handle:hover { color: var(--caramel); }
.social__links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.social__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; width: 100%; margin-top: 20px; }
.social__grid a { aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative; }
.social__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.social__grid a:hover img { transform: scale(1.08); filter: saturate(1.1); }
.social__grid a::after { content: ""; position: absolute; inset: 0; background: rgba(58, 38, 32, .25); opacity: 0; transition: opacity .5s; }
.social__grid a:hover::after { opacity: 1; }

/* --- Cabecera de páginas internas --------------------------------------- */
.phead { padding: calc(var(--nav-h) + clamp(50px, 8vw, 120px)) 0 clamp(40px, 6vw, 80px); position: relative; }
.phead__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.phead__grid > div { display: grid; gap: 24px; }
.phead .lead { justify-self: end; }
.phead__media { margin-top: clamp(40px, 6vw, 80px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--sand); }
.phead__media img { width: 100%; height: 118%; object-fit: cover; }
.crumbs { display: flex; gap: 10px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa-3); }
.crumbs a:hover { color: var(--cocoa); }

/* --- Tienda (catálogo) --------------------------------------------------- */
.shop-bar {
  position: sticky; top: 0; z-index: 30; background: rgba(246, 239, 230, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--line); transition: top .6s var(--ease);
}
.nav-visible .shop-bar { top: var(--nav-h-s, 70px); }
.shop-bar__inner { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding-block: 14px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 42px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, .2);
  font-size: .86rem; font-weight: 450; display: inline-flex; align-items: center; gap: 8px; transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.chip sup { font-size: .66rem; opacity: .6; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--cocoa); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--cocoa); color: var(--paper); box-shadow: none; }
.shop-tools { display: flex; gap: 10px; align-items: center; flex: none; }
.search { position: relative; }
.search input {
  width: clamp(160px, 18vw, 240px); height: 42px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, .2);
  background: var(--paper); padding: 0 16px 0 42px; font: inherit; font-size: .9rem; color: var(--cocoa);
}
.search input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--caramel); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--cocoa-2); }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; height: 42px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, .2);
  background: var(--paper); padding: 0 38px 0 16px; font: inherit; font-size: .88rem; color: var(--cocoa); cursor: pointer;
}
.select::after { content: ""; position: absolute; right: 17px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(30px, 3.4vw, 50px) clamp(14px, 1.8vw, 26px); }
.grid-products .card { animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px); } }
.grid-products .feature { grid-column: span 2; grid-row: span 2; }
.shop-count { font-size: .82rem; color: var(--cocoa-2); margin-bottom: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; display: grid; gap: 18px; justify-items: center; }
.empty .bear { width: 90px; }
.promo-tile { grid-column: span 2; border-radius: var(--r-lg); background: var(--blush); padding: clamp(26px, 3.4vw, 50px); display: grid; align-content: space-between; gap: 24px; min-height: 100%; position: relative; overflow: hidden; }
.promo-tile .bear { position: absolute; right: -30px; bottom: -40px; width: 52%; opacity: .95; transform: rotate(-10deg); }
.promo-tile > * { position: relative; }
.promo-tile .h3 { max-width: 14ch; }

.sizes-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sizes-table th, .sizes-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.sizes-table th { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--cocoa-2); }
.sizes-table tr:hover td { background: rgba(255, 255, 255, .4); }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--r); padding: 8px 18px; }

/* --- Drawer bolsa -------------------------------------------------------- */
.drawer, .qv { position: fixed; inset: 0; z-index: 90; }
.drawer__veil, .qv__veil { position: absolute; inset: 0; background: rgba(40, 24, 18, .38); opacity: 0; transition: opacity .5s var(--ease); }
.drawer.open .drawer__veil, .qv.open .qv__veil { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .7s var(--ease);
}
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.8rem; letter-spacing: -.02em; }
.drawer__body { overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: center; }
.drawer__note { font-size: .86rem; color: var(--cocoa-2); text-align: center; }
.bag-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.bag-item img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #EFE5DA; }
.bag-item h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.05rem; line-height: 1.2; }
.bag-item p { font-size: .8rem; color: var(--cocoa-2); margin-top: 4px; }
.bag-item .qty { margin-top: 10px; }
.bag-empty { text-align: center; padding: 60px 10px; display: grid; gap: 16px; justify-items: center; color: var(--cocoa-2); }
.bag-empty .bear { width: 80px; }
.bag-empty strong { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 1.6rem; color: var(--cocoa); }

.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, .2); height: 40px; }
.qty button { width: 38px; height: 40px; display: grid; place-items: center; }
.qty button svg { width: 16px; height: 16px; }
.qty output { min-width: 22px; text-align: center; font-size: .9rem; font-weight: 500; }
.bag-item .qty { height: 34px; } .bag-item .qty button { height: 34px; width: 32px; }

/* --- Vista rápida -------------------------------------------------------- */
.qv { display: grid; place-items: center; padding: 20px; }
.qv__panel {
  position: relative; width: min(1040px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--paper); border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1.05fr 1fr; opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease);
  overscroll-behavior: contain;
}
.qv.open .qv__panel { opacity: 1; transform: none; }
.qv__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--paper); }
.qv__media { background: #EFE5DA; aspect-ratio: 4 / 5; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: clamp(28px, 4vw, 56px); display: grid; gap: 22px; align-content: center; }
.qv__info h2 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.03em; }
.qv__desc { color: var(--cocoa-2); }
.qv__label { display: flex; justify-content: space-between; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; font-weight: 500; }
.qv__label a { letter-spacing: .04em; text-transform: none; text-decoration: underline; text-underline-offset: 3px; color: var(--cocoa-2); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { height: 40px; min-width: 48px; justify-content: center; padding: 0 14px; }
.chips.shake { animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qv__row { display: flex; gap: 12px; }
.qv__row .qty { height: 54px; } .qv__row .qty button { height: 54px; width: 44px; }
.qv__add { flex: 1; }
.qv__perks { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--cocoa-2); }
.qv__perks li { display: flex; gap: 10px; align-items: center; }
.qv__perks svg { width: 20px; height: 20px; color: var(--caramel); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; padding: 14px 22px; border-radius: 999px;
  background: var(--cocoa); color: var(--paper); font-size: .9rem; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  transition: transform .6s var(--ease), visibility 0s .6s; white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }
.toast button { text-decoration: underline; text-underline-offset: 3px; color: var(--honey); }

/* --- WhatsApp flotante --------------------------------------------------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 50;
  width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 18px 36px -14px rgba(37, 211, 102, .7); transition: transform .5s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.6s var(--ease-q) infinite; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(10px, -50%); opacity: 0; pointer-events: none;
  background: var(--paper); color: var(--cocoa); padding: 9px 15px; border-radius: 999px; font-size: .85rem; font-weight: 500; white-space: nowrap;
  box-shadow: 0 10px 30px -14px rgba(58, 38, 32, .4); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.wa-float:hover .wa-float__tip, .wa-float.tip .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* --- Footer -------------------------------------------------------------- */
.footer { background: var(--cocoa); color: var(--cream); padding-top: clamp(80px, 11vw, 160px); overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer__cta { display: grid; justify-items: start; gap: 28px; padding-bottom: clamp(60px, 8vw, 120px); border-bottom: 1px solid rgba(246, 239, 230, .14); }
.footer__title { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 340; font-size: clamp(2.4rem, 6vw, 6rem); letter-spacing: -.04em; line-height: .96; max-width: 16ch; text-wrap: balance; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; padding-block: clamp(50px, 6vw, 80px); }
.footer__brand img { width: 128px; margin-bottom: 22px; }
.footer__brand p, .footer address, .footer__hours { color: rgba(246, 239, 230, .66); font-size: .94rem; max-width: 34ch; }
.footer__hours { margin-top: 14px; }
.footer h3 { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; font-weight: 500; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: rgba(246, 239, 230, .82); transition: color .3s; }
.footer ul a:hover { color: var(--honey); }
.footer__word { line-height: .74; text-align: center; user-select: none; }
.footer__word span { display: inline-block; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-weight: 340; font-size: clamp(6rem, 25vw, 26rem); letter-spacing: -.06em; color: rgba(246, 224, 178, .1); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 26px; border-top: 1px solid rgba(246, 239, 230, .14); font-size: .8rem; color: rgba(246, 239, 230, .5); }

/* --- Páginas internas: bloques ------------------------------------------ */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.value { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; transition: transform .7s var(--ease), background .5s; }
.value:hover { transform: translateY(-6px); background: #fff9f2; }
.value__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--b, var(--blush)); }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.015em; }
.value p { font-size: .93rem; color: var(--cocoa-2); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--sand); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 18px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(251, 247, 241, .9); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.gallery .g1 { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.gallery .g2 { grid-column: 8 / span 5; aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery .g3 { grid-column: 1 / span 4; aspect-ratio: 3 / 4; }
.gallery .g4 { grid-column: 5 / span 3; aspect-ratio: 3 / 4; }
.quote { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; max-width: 20ch; }
.quote em { color: var(--caramel); }

.brand-feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 100px); padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); align-items: start; }
.brand-feature__name { font-family: var(--f-display); font-variation-settings: "SOFT" 30; font-size: clamp(3.4rem, 9vw, 9rem); letter-spacing: -.05em; line-height: .86; }
.brand-feature__name small { display: block; margin-top: 18px; }
.brand-feature__body { display: grid; gap: 20px; padding-top: clamp(0px, 1.6vw, 24px); }
.brand-feature__body p { color: var(--cocoa-2); max-width: 52ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--b, var(--blush)); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; width: max-content; }
.pill svg { width: 16px; height: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .84rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.contact-cards { display: grid; gap: 14px; }
.ccard { background: var(--paper); border-radius: var(--r); padding: clamp(22px, 2.6vw, 34px); display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
a.ccard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(58, 38, 32, .4); }
.ccard__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--b, var(--blush)); }
.ccard__icon svg { width: 24px; height: 24px; }
.ccard h3 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--cocoa-2); }
.ccard p { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.2; letter-spacing: -.01em; margin-top: 4px; }
.ccard > svg { width: 22px; height: 22px; color: var(--cocoa-3); transition: transform .5s var(--ease); }
a.ccard:hover > svg { transform: translateX(4px); color: var(--caramel); }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 460px; background: var(--sand); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.2) saturate(.9); }
.hours { display: grid; gap: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { color: var(--cocoa-2); }
.hours li.today { color: var(--caramel); }
.hours li.today span:last-child { color: var(--caramel); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #8FB28A; box-shadow: 0 0 0 4px rgba(143, 178, 138, .25); }
.status.closed i { background: var(--rose); box-shadow: 0 0 0 4px rgba(217, 167, 154, .3); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.015em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, .22); position: relative; transition: transform .6s var(--ease), background .4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.faq details[open] summary i { background: var(--cocoa); color: var(--paper); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 60px 28px 0; color: var(--cocoa-2); max-width: 70ch; }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; }
.notfound .bear { width: min(260px, 60vw); margin: 0 auto 30px; }
.notfound > div { display: grid; gap: 22px; justify-items: center; }

/* --- Reveal -------------------------------------------------------------- */
.js [data-split-intro], .js [data-intro-fade] { opacity: 0; }
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.5s var(--ease); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js [data-reveal="clip"].in img { transform: scale(1); }
.js .cat[data-reveal="clip"].in:hover img { transform: scale(1.06); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__burger { display: block; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .nav__logo img { height: 52px; }
  .nav.is-scrolled .nav__logo img { height: 44px; }
  .nav__wa span { display: none; }
  .nav__wa { width: 44px; padding: 0; }
  .sec-head, .phead__grid, .split, .hello__grid, .contact-grid, .brand-feature { grid-template-columns: 1fr; }
  .sec-head .lead, .phead .lead { justify-self: start; }
  .split--rev .split__media { order: 0; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5.2; margin-top: 0; }
  .cat:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 4.2; }
  .cat:nth-child(6) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .cat:not(:first-child) .cat__go { display: none; }
  .cat:not(:first-child) .cat__label h3 { font-size: clamp(1.35rem, 6vw, 1.8rem); }
  .cat__label small { font-size: .62rem; letter-spacing: .16em; }
  .cats__note { grid-column: 1 / -1; }
  .brands { grid-template-columns: 1fr 1fr; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .grid-products .feature, .promo-tile { grid-column: 1 / -1; grid-row: auto; }
  .qv__panel { grid-template-columns: 1fr; }
  .qv__media { aspect-ratio: 1; }
  .qv { padding: 0; align-items: end; }
  .qv__panel { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92svh; }
  .hero { align-items: stretch; padding-top: calc(var(--nav-h) + 18px); padding-bottom: 28px; }
  .hero > .wrap { display: flex; flex-direction: column; }
  .hero__media img { object-position: 50% 100%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(246, 239, 230, .9) 0%, rgba(246, 239, 230, .55) 34%, rgba(246, 239, 230, 0) 52%, rgba(246, 239, 230, 0) 76%, rgba(246, 239, 230, .7) 100%); }
  .hero__content { flex: 1; display: flex; flex-direction: column; gap: 18px; }
  .hero .display { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .hero__lead { font-size: 1rem; max-width: 30ch; }
  .hero__ctas { margin-top: auto; }
  .hero__ctas .btn { flex: 1 1 100%; min-height: 56px; }
  .hero__ctas .btn--ghost { background: rgba(251, 247, 241, .75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .hero__foot { display: none; }
  [data-page="inicio"].at-top .wa-float { transform: scale(0); }
  .phead__media { aspect-ratio: 4 / 3; }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.4; }
  .social__grid { grid-template-columns: repeat(3, 1fr); }
  .shop-bar__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .shop-tools .search { flex: 1; } .search input { width: 100%; }
  .map { min-height: 380px; }
}
@media (max-width: 560px) {
  .brands, .values { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .facts span { font-size: .76rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .card__add { opacity: 1; transform: none; width: 44px; height: 44px; padding: 0; justify-content: center; right: 10px; bottom: 10px; }
  .card__add span { display: none; }
  .card__name { font-size: 1.05rem; }
  .card__body { flex-direction: column; gap: 2px; }
  .card__price { padding-top: 0; }
  .ccard { grid-template-columns: 46px 1fr; }
  .ccard > svg { display: none; }
  .ccard__icon { width: 46px; height: 46px; }
  .faq details p { padding-right: 0; }
  .wa-float { width: 56px; height: 56px; }
  .toast { white-space: normal; width: calc(100% - 32px); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
}
