/* ============================================================
   USAGI ・ うさぎ — sistema de diseño
   Paleta: Milky #FFF8F0 / Pink #F9BBD0 / Peony #F4C9D6
           Espresso #3E2723 / Brown #59423E / Lilac #E5BDDF
   Tipos:  Fraunces (display) / Zen Maru Gothic (texto)
           Cutive Mono (etiquetas typewriter)
   ============================================================ */

:root {
  --milky: #FFF8F0;
  --pink: #F9BBD0;
  --peony: #F4C9D6;
  --espresso: #3E2723;
  --brown: #59423E;
  --lilac: #E5BDDF;
  --blush: #F7A8C4;
  --glaze: #001111;

  --display: 'Fraunces', serif;
  --body: 'Zen Maru Gothic', sans-serif;
  --mono: 'Cutive Mono', monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --r-pill: 999px;
  --shadow-pop: 0 10px 30px rgba(62, 39, 35, .12);
  --shadow-soft: 0 4px 16px rgba(62, 39, 35, .08);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --smooth: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--body);
  background: var(--milky);
  color: var(--espresso);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: var(--body); font-size: 1rem; color: var(--espresso); }

::selection { background: var(--pink); color: var(--espresso); }

/* ---------- tipografía ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  line-height: .95;
  letter-spacing: -.02em;
}
.mono-tag {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .02em;
}
.jp { font-family: var(--body); font-weight: 700; }

.pill-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: .8rem;
  background: var(--pink);
  color: var(--espresso);
  border-radius: var(--r-pill);
  padding: .35em 1em .25em;
}
.pill-label.dark { background: var(--espresso); color: var(--pink); }

/* ---------- barra de anuncio ---------- */
.announce {
  background: var(--espresso);
  color: var(--milky);
  overflow: hidden;
  font-family: var(--mono);
  font-size: .8rem;
  padding: .5rem 0;
  white-space: nowrap;
  position: relative;
  z-index: 60;
}
.announce__track { display: inline-flex; gap: 3rem; animation: marquee 28s linear infinite; will-change: transform; }
.announce__track span { display: inline-flex; align-items: center; gap: 3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--milky) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid color-mix(in srgb, var(--espresso) 10%, transparent);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-soft); }
.nav__logo img { height: 34px; width: auto; transition: transform .4s var(--bounce); }
.nav__logo:hover img { transform: scale(1.06) rotate(-2deg); }
.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); font-weight: 700; font-size: .95rem; }
.nav__links a { position: relative; padding: .3rem 0; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--pink); border-radius: 3px;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--smooth);
}
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: .8rem; }

.cart-btn {
  position: relative;
  display: flex; align-items: center; gap: .5rem;
  background: var(--espresso); color: var(--milky);
  border-radius: var(--r-pill); padding: .55rem 1.2rem;
  font-weight: 700; font-size: .9rem;
  transition: transform .3s var(--bounce), background .3s;
}
.cart-btn:hover { transform: scale(1.05); background: var(--brown); }
.cart-btn__count {
  background: var(--pink); color: var(--espresso);
  border-radius: 50%; width: 22px; height: 22px;
  display: grid; place-items: center; font-size: .78rem;
  transition: transform .3s var(--bounce);
}
.cart-btn__count.pop { animation: pop .5s var(--bounce); }
@keyframes pop { 40% { transform: scale(1.6); } }

.burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.burger span { width: 24px; height: 3px; background: var(--espresso); border-radius: 3px; transition: .3s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 110px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__bg-jp {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--peony);
  font-size: clamp(8rem, 26vw, 24rem);
  opacity: .28; user-select: none; letter-spacing: .05em;
  z-index: 0;
}
.hero__content { position: relative; z-index: 2; }
.hero__kicker { display: flex; gap: .6rem; align-items: center; margin-bottom: 1.2rem; flex-wrap: wrap; }
.hero h1 {
  font-family: var(--display); font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.02; letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}
.hero h1 .accent { color: var(--blush); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .3em; overflow: visible; }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; margin-bottom: 2rem; color: var(--brown); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: .95rem 2rem; border-radius: var(--r-pill);
  transition: transform .35s var(--bounce), box-shadow .35s, background .3s;
  will-change: transform;
}
.btn:hover { transform: scale(1.05) rotate(-1deg); }
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--espresso); color: var(--milky); box-shadow: var(--shadow-pop); }
.btn--primary:hover { background: var(--brown); }
.btn--pink { background: var(--pink); color: var(--espresso); box-shadow: var(--shadow-pop); }
.btn--pink:hover { background: var(--blush); }
.btn--ghost { border: 2.5px solid var(--espresso); }
.btn--lg { font-size: 1.1rem; padding: 1.1rem 2.4rem; }

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__visual { position: relative; z-index: 1; display: grid; place-items: center; }
.hero__blob {
  position: absolute; width: min(46vw, 560px); aspect-ratio: 1;
  background: var(--pink);
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  0% { border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%; transform: rotate(4deg) scale(1.04); }
  100% { border-radius: 52% 48% 42% 58% / 45% 52% 48% 55%; transform: rotate(-3deg) scale(.98); }
}
.hero__bunny { position: relative; width: min(34vw, 400px); aspect-ratio: 720 / 857; filter: drop-shadow(0 18px 30px rgba(62,39,35,.18)); cursor: pointer; }
.hero__bunny .bl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bunny .bl-head { transform-origin: 50% 71%; }
.hero__bunny .bl-paws { transform-origin: 63% 72%; }
.hero__bunny .bl-body { transform-origin: 50% 100%; }
.hero__bunny .bl-fx { pointer-events: none; }
.hero__sticker {
  position: absolute; border-radius: var(--r-pill);
  background: var(--milky); box-shadow: var(--shadow-pop);
  font-family: var(--mono); font-size: .85rem; padding: .5em 1.1em;
  border: 2px solid var(--espresso);
  white-space: nowrap;
}
.float { animation: float 5s ease-in-out infinite; }
.float.d1 { animation-delay: -1.4s; }
.float.d2 { animation-delay: -2.8s; }
.float.d3 { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }

.hero__scrollcue {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: .78rem; color: var(--brown);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  animation: float 3s ease-in-out infinite;
}

/* ---------- cinta marquee plaid ---------- */
.ribbon {
  background: var(--espresso); color: var(--milky);
  transform: rotate(-1.6deg) scale(1.02);
  padding: .85rem 0; overflow: hidden; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  box-shadow: var(--shadow-pop);
  position: relative; z-index: 3;
}
.ribbon--pink { background: var(--pink); color: var(--espresso); transform: rotate(1.2deg) scale(1.02); margin-top: -6px; }
.ribbon__track { display: inline-flex; gap: 2.6rem; will-change: transform; animation: marquee 22s linear infinite; }
.ribbon__track span { display: inline-flex; gap: 2.6rem; align-items: center; }
.ribbon--pink .ribbon__track { animation-direction: reverse; }

/* ---------- secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem); position: relative; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); flex-wrap: wrap; }
.section__title {
  font-family: var(--display); font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1;
}
.section__title .jp-accent { color: var(--blush); font-size: .5em; vertical-align: super; font-family: var(--body); font-weight: 900; }
.section__sub { color: var(--brown); font-weight: 500; max-width: 52ch; }

/* ---------- grid de productos ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--bounce), box-shadow .45s;
  position: relative;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-pop); }
.card__img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--peony); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--smooth); }
.card:hover .card__img img { transform: scale(1.06) rotate(1deg); }
.card__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--espresso); color: var(--pink);
  font-family: var(--mono); font-size: .72rem;
  padding: .35em .9em; border-radius: var(--r-pill);
}
.card__tag--nuevo { background: var(--pink); color: var(--espresso); }
.card__quick {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  background: var(--milky); color: var(--espresso);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 900;
  box-shadow: var(--shadow-pop);
  transform: scale(0); transition: transform .35s var(--bounce);
}
.card:hover .card__quick, .card__quick:focus-visible { transform: scale(1); }
.card__quick:hover { background: var(--pink); }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card__cat { font-family: var(--mono); font-size: .72rem; color: var(--brown); text-transform: uppercase; }
.card__name { font-weight: 900; font-size: 1.06rem; line-height: 1.25; }
.card__name .jp-mini { color: var(--blush); font-size: .85em; margin-left: .3em; }
.card__price { margin-top: auto; padding-top: .5rem; display: flex; align-items: baseline; gap: .6rem; }
.card__price .now { font-family: var(--display); font-weight: 900; font-size: 1.25rem; }
.card__price .before { color: var(--brown); text-decoration: line-through; font-size: .9rem; opacity: .7; }
.card__soldout { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: color-mix(in srgb, var(--milky) 72%, transparent); font-family: var(--display); font-weight: 900; font-size: 1.5rem; transform: rotate(-8deg); }

/* ---------- categorías bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.bento a {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  padding: 2rem 1.6rem; min-height: 190px;
  display: flex; flex-direction: column; justify-content: end; gap: .2rem;
  font-weight: 900; font-size: 1.2rem;
  transition: transform .4s var(--bounce);
  box-shadow: var(--shadow-soft);
}
.bento a:hover { transform: scale(1.04) rotate(-1deg); }
.bento a .jp-bg { position: absolute; top: .4rem; right: .8rem; font-size: 3.2rem; font-weight: 900; opacity: .2; }
.bento a small { font-family: var(--mono); font-weight: 400; font-size: .78rem; opacity: .75; }
.bento .b1 { background: var(--pink); }
.bento .b2 { background: var(--peony); }
.bento .b3 { background: var(--lilac); }
.bento .b4 { background: var(--espresso); color: var(--milky); }

/* ---------- sección "cómo comprar" ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step {
  background: #fff; border-radius: var(--r-lg); padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft); position: relative;
  border-top: 6px solid var(--pink);
}
.step:nth-child(2) { border-color: var(--peony); }
.step:nth-child(3) { border-color: var(--lilac); }
.step:nth-child(4) { border-color: var(--brown); }
.step__icon { font-size: 2rem; margin-bottom: .8rem; }
.step h3 { font-size: 1.05rem; font-weight: 900; margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--brown); line-height: 1.55; }

.pay-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2rem; justify-content: center; }
.pay-badges .paybadge {
  display: inline-flex; align-items: center; gap: .7rem; height: 52px;
  font-family: var(--mono); font-size: .78rem;
  background: #fff; border: 2px solid var(--espresso);
  padding: 0 1.2em; border-radius: var(--r-pill);
  box-shadow: 3px 3px 0 var(--pink);
}
.pay-badges .paybadge img { height: 24px; width: auto; max-width: 150px; display: block; }
.paylogo { display: inline-flex; align-items: center; gap: .4rem; width: 118px; flex-shrink: 0; justify-content: center; }
.paylogo img { height: 26px; width: auto; max-width: 118px; object-fit: contain; }
.paylogo img + img { height: 22px; }
.opt-card .emoji { width: 118px; text-align: center; flex-shrink: 0; }
.auto-tag { font-style: normal; font-family: var(--mono); font-size: .68rem; background: var(--pink); border-radius: var(--r-pill); padding: .15em .6em; margin-left: .4em; vertical-align: middle; }

/* ---------- historia / marca ---------- */
.story {
  background: var(--espresso); color: var(--milky);
  border-radius: clamp(24px, 4vw, 48px);
  margin: 0 clamp(.6rem, 2vw, 2rem);
  overflow: hidden; position: relative;
}
.story .section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__title { color: var(--milky); margin: .6rem 0 1.2rem; }
.story__title .jp-accent { color: var(--pink); }
.story__logo { width: min(60%, 340px); margin-bottom: 1.6rem; }
.story p { color: var(--peony); line-height: 1.8; font-size: 1.02rem; margin-bottom: 1.2rem; }
.story strong { color: var(--pink); }
.story__imgwrap { position: relative; }
.story__imgwrap img { border-radius: var(--r-lg); box-shadow: 0 24px 48px rgba(0,0,0,.3); }
.story__imgwrap .sticker-jp {
  position: absolute; top: -1.2rem; right: -0.6rem;
  background: var(--pink); color: var(--espresso);
  font-weight: 900; padding: .5em .9em; border-radius: var(--r-md);
  transform: rotate(6deg); box-shadow: var(--shadow-pop);
}
.story__values { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.story__values span {
  font-family: var(--mono); font-size: .78rem;
  border: 1.5px solid var(--peony); color: var(--peony);
  border-radius: var(--r-pill); padding: .35em 1em;
}

/* ---------- comunidad ---------- */
.community { text-align: center; }
.community .section__title { margin-bottom: .8rem; }
.community__handle {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: 1.05rem;
  background: var(--pink); border-radius: var(--r-pill);
  padding: .7em 1.6em; margin-top: 1.4rem;
  transition: transform .35s var(--bounce);
  box-shadow: var(--shadow-pop);
}
.community__handle:hover { transform: scale(1.06) rotate(-1.5deg); }
.community__bunnies { display: flex; justify-content: center; gap: 2rem; margin-top: 2.6rem; margin-bottom: -2rem; flex-wrap: wrap; }
.community__bunnies img { width: 130px; border-radius: var(--r-lg); }

/* ---------- footer ---------- */
footer {
  background: var(--espresso); color: var(--milky);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) 2rem;
  margin-top: 1.5rem;
  border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0;
  position: relative; overflow: hidden;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); position: relative; z-index: 1; }
.footer__logo { width: min(280px, 70%); margin-bottom: 1.2rem; }
footer p { color: var(--peony); font-size: .95rem; line-height: 1.7; }
footer h4 { font-family: var(--mono); font-weight: 400; color: var(--pink); margin-bottom: 1rem; font-size: .85rem; letter-spacing: .06em; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
footer ul a { color: var(--milky); font-weight: 500; transition: color .25s; }
footer ul a:hover { color: var(--pink); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--peony) 30%, transparent);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .75rem; color: var(--peony);
  position: relative; z-index: 1;
}
.footer__watermark {
  position: absolute; right: 2%; bottom: -6%;
  width: 22%; opacity: .09; pointer-events: none; filter: brightness(3);
}

/* ---------- drawer del carrito ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(62, 39, 35, .4);
  opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 90;
  backdrop-filter: blur(3px);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
  width: min(430px, 94vw);
  background: var(--milky);
  transform: translateX(105%);
  transition: transform .5s var(--bounce);
  display: flex; flex-direction: column;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  box-shadow: -20px 0 60px rgba(62,39,35,.25);
}
.drawer.open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.6rem; border-bottom: 2px dashed var(--peony);
}
.drawer__head h3 { font-family: var(--display); font-weight: 900; font-size: 1.4rem; }
.drawer__close { font-size: 1.6rem; line-height: 1; transition: transform .3s var(--bounce); }
.drawer__close:hover { transform: rotate(90deg) scale(1.2); }
.drawer__items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.drawer__empty { text-align: center; margin-top: 3rem; color: var(--brown); }
.drawer__empty img { width: 110px; margin: 0 auto 1rem; opacity: .8; }
.citem { display: grid; grid-template-columns: 74px 1fr auto; gap: .9rem; align-items: center; animation: slideIn .4s var(--bounce); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
.citem img { width: 74px; height: 88px; object-fit: cover; border-radius: var(--r-md); background: var(--peony); }
.citem__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.citem__meta { font-family: var(--mono); font-size: .74rem; color: var(--brown); }
.citem__qty { display: inline-flex; align-items: center; gap: .55rem; margin-top: .35rem; }
.citem__qty button {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--peony); font-weight: 900;
  transition: transform .25s var(--bounce), background .25s;
}
.citem__qty button:hover { transform: scale(1.15); background: var(--pink); }
.citem__price { font-weight: 900; }
.citem__del { font-size: .78rem; color: var(--brown); text-decoration: underline; margin-top: .3rem; }
.drawer__foot { padding: 1.3rem 1.6rem 1.6rem; border-top: 2px dashed var(--peony); }
.drawer__total { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.15rem; margin-bottom: 1rem; }
.drawer__foot .btn { width: 100%; justify-content: center; }
.drawer__hint { text-align: center; font-family: var(--mono); font-size: .74rem; color: var(--brown); margin-top: .7rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; transform: translate(-50%, 200%);
  background: var(--espresso); color: var(--milky);
  padding: .9rem 1.6rem; border-radius: var(--r-pill);
  font-weight: 700; z-index: 120; box-shadow: var(--shadow-pop);
  transition: transform .5s var(--bounce);
  display: flex; align-items: center; gap: .6rem;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- página tienda ---------- */
.shop-head { padding-top: clamp(2rem, 5vw, 4rem); }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip {
  font-family: var(--mono); font-size: .85rem;
  padding: .5em 1.3em; border-radius: var(--r-pill);
  border: 2px solid var(--espresso); background: transparent;
  transition: all .3s var(--bounce);
}
.chip:hover { transform: scale(1.06); background: var(--peony); }
.chip.active { background: var(--espresso); color: var(--pink); transform: scale(1.04); }

/* ---------- página producto ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); padding-top: clamp(1.5rem, 4vw, 3rem); }
.pdp__gallery { position: relative; }
.pdp__img {
  border-radius: var(--r-lg); overflow: hidden; background: var(--peony);
  aspect-ratio: 4/5; box-shadow: var(--shadow-pop);
}
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: .7rem; margin-top: .9rem; }
.pdp__thumbs img {
  width: 72px; height: 88px; object-fit: cover; border-radius: var(--r-md);
  cursor: pointer; border: 3px solid transparent; transition: .3s;
  background: var(--peony);
}
.pdp__thumbs img.active, .pdp__thumbs img:hover { border-color: var(--pink); transform: translateY(-3px); }
.pdp__info h1 { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; margin: .4rem 0 .8rem; }
.pdp__jp { color: var(--blush); font-weight: 900; font-size: 1.2rem; }
.pdp__price { display: flex; align-items: baseline; gap: .8rem; margin: 1rem 0 1.4rem; }
.pdp__price .now { font-family: var(--display); font-weight: 900; font-size: 2rem; }
.pdp__price .before { text-decoration: line-through; color: var(--brown); opacity: .6; font-size: 1.1rem; }
.pdp__desc { color: var(--brown); line-height: 1.75; margin-bottom: 1.6rem; }
.pdp__label { font-family: var(--mono); font-size: .8rem; margin-bottom: .6rem; color: var(--brown); }
.sizes { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.size-btn {
  min-width: 52px; padding: .6em .9em; text-align: center;
  border: 2.5px solid var(--espresso); border-radius: var(--r-md);
  font-weight: 900; transition: all .3s var(--bounce); position: relative;
}
.size-btn:hover:not(:disabled) { transform: scale(1.08); background: var(--peony); }
.size-btn.active { background: var(--espresso); color: var(--pink); transform: scale(1.06); }
.size-btn:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.size-btn .stock-dot {
  position: absolute; top: -6px; right: -6px;
  font-size: .6rem; background: var(--pink); border-radius: var(--r-pill);
  padding: .1em .5em; font-family: var(--mono);
}
.colors { display: flex; gap: .7rem; margin-bottom: 1.6rem; }
.color-dot {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--espresso);
  transition: transform .3s var(--bounce); position: relative;
}
.color-dot:hover { transform: scale(1.15); }
.color-dot.active { transform: scale(1.15); box-shadow: 0 0 0 3px var(--pink); }
.pdp__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2rem; }
.pdp__features { border-top: 2px dashed var(--peony); padding-top: 1.4rem; }
.pdp__features li {
  list-style: none; padding-left: 1.8rem; position: relative;
  margin-bottom: .55rem; color: var(--brown); font-weight: 500;
}
.pdp__features li::before { content: '🥕'; position: absolute; left: 0; font-size: .9rem; }

/* ---------- checkout ---------- */
.checkout { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cobox { background: #fff; border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-soft); margin-bottom: 1.4rem; }
.cobox h3 { font-family: var(--display); font-weight: 900; font-size: 1.3rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.cobox h3 .n {
  width: 30px; height: 30px; background: var(--pink); border-radius: 50%;
  display: inline-grid; place-items: center; font-family: var(--mono); font-size: .9rem;
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--mono); font-size: .78rem; margin-bottom: .4rem; color: var(--brown); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1.1rem;
  border: 2px solid var(--peony); border-radius: var(--r-md);
  background: var(--milky); transition: border-color .3s, transform .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pink); transform: scale(1.005);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.opt-cards { display: grid; gap: .8rem; }
.opt-card {
  display: flex; gap: 1rem; align-items: center;
  border: 2.5px solid var(--peony); border-radius: var(--r-md);
  padding: 1rem 1.2rem; cursor: pointer;
  transition: all .3s var(--bounce);
}
.opt-card:hover { transform: scale(1.015); border-color: var(--pink); }
.opt-card.active { border-color: var(--espresso); background: var(--peony); transform: scale(1.02); }
.opt-card input { accent-color: var(--espresso); width: 20px; height: 20px; flex-shrink: 0; }
.opt-card .t { font-weight: 900; }
.opt-card .d { font-size: .85rem; color: var(--brown); }
.opt-card .emoji { font-size: 1.6rem; }
.co-summary { position: sticky; top: 90px; }
.co-summary .cobox { border: 2px solid var(--pink); }
.co-line { display: flex; justify-content: space-between; margin-bottom: .6rem; font-size: .95rem; }
.co-line.total { font-weight: 900; font-size: 1.2rem; border-top: 2px dashed var(--peony); padding-top: .8rem; margin-top: .8rem; }
.co-items { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.2rem; max-height: 300px; overflow-y: auto; }
.co-item { display: grid; grid-template-columns: 52px 1fr auto; gap: .7rem; align-items: center; font-size: .9rem; }
.co-item img { width: 52px; height: 62px; border-radius: 12px; object-fit: cover; background: var(--peony); }

/* éxito */
.success-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.success-card { background: #fff; border-radius: var(--r-lg); padding: 2.5rem 2rem; box-shadow: var(--shadow-pop); border: 3px solid var(--pink); }
.success-card .folio { font-family: var(--mono); background: var(--peony); display: inline-block; padding: .4em 1.2em; border-radius: var(--r-pill); margin: .8rem 0 1.2rem; }
.success-card h1 { font-family: var(--display); font-weight: 900; font-size: 2rem; }
.transfer-box {
  background: var(--espresso); color: var(--milky); text-align: left;
  border-radius: var(--r-md); padding: 1.4rem; margin: 1.4rem 0;
  font-family: var(--mono); font-size: .9rem; line-height: 2;
}
.transfer-box b { color: var(--pink); }

/* ---------- entregas: mapa de puntos ---------- */
.delivery-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(1.4rem, 3vw, 2.5rem); align-items: start; }
.dcard {
  background: #fff; border-radius: var(--r-lg); padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft); margin-bottom: 1rem; border-left: 6px solid var(--pink);
}
.dcard:nth-child(2) { border-color: var(--espresso); }
.dcard h3 { font-weight: 900; font-size: 1.1rem; margin-bottom: .5rem; display: flex; gap: .5rem; align-items: center; }
.dcard p { color: var(--brown); font-size: .93rem; line-height: 1.6; }
.dcard .big { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--espresso); }
.dcard ul { list-style: none; margin-top: .6rem; display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--brown); }
.dcard ul li::before { content: '✦ '; color: var(--blush); }
.mx-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .8rem;
  background: #fff; color: var(--espresso); border: 2px solid var(--espresso); border-radius: var(--r-pill);
  padding: .4em 1em; box-shadow: 3px 3px 0 var(--pink);
}
footer .mx-badge { background: var(--pink); color: var(--espresso); border-color: var(--pink); box-shadow: none; }

.dm { min-width: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); overflow: hidden; }
.dm__tabs { display: flex; border-bottom: 2px dashed var(--peony); overflow-x: auto; }
.dm__tab {
  flex: 1; display: flex; gap: .5rem; align-items: center; text-align: left;
  padding: .8rem .8rem; min-width: 150px; transition: background .25s;
  border-bottom: 4px solid transparent;
}
.dm__tab:hover { background: var(--milky); }
.dm__tab.active { background: var(--peony); border-bottom-color: var(--espresso); }
.dm__tab-ico { font-size: 1.4rem; }
.dm__tab b { display: block; font-size: .92rem; }
.dm__tab small { font-family: var(--mono); font-size: .66rem; color: var(--brown); white-space: nowrap; display: block; }
.dm__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); min-height: 440px; }
.dm__map { min-height: 440px; background: var(--milky); }
.dm__side { padding: 1rem 1.1rem; display: flex; flex-direction: column; border-left: 2px dashed var(--peony); max-height: 520px; }
.dm__zoneinfo p { font-size: .84rem; color: var(--brown); line-height: 1.55; margin: .6rem 0; }
.dm__sched { display: flex; gap: .4rem; flex-wrap: wrap; }
.dm__deposit { background: var(--milky); border-radius: var(--r-md); padding: .6rem .8rem; }
.dm__list { list-style: none; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: .35rem; padding-right: .2rem; }
.dm__item {
  display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center;
  padding: .55rem .7rem; border-radius: var(--r-md); cursor: pointer;
  border: 2px solid transparent; transition: all .25s var(--bounce);
}
.dm__item:hover { background: var(--milky); transform: translateX(3px); }
.dm__item.active { background: var(--peony); border-color: var(--espresso); }
.dm__item b { display: block; font-size: .88rem; }
.dm__item small { font-size: .74rem; color: var(--brown); }
.dm__check { opacity: 0; font-weight: 900; }
.dm__item.active .dm__check { opacity: 1; }
.dm-marker { background: none; border: none; }
.dm-marker span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px;
  background: #fff; border: 3px solid var(--espresso); font-size: 1rem; transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(62,39,35,.25); transition: transform .25s var(--bounce), background .25s;
}
.dm-marker span > * { transform: rotate(45deg); }
.dm-marker--active span, .dm-marker:hover span { background: var(--pink); transform: rotate(-45deg) scale(1.2); }
.dm .leaflet-tile-pane { filter: saturate(.35) brightness(1.04) contrast(.95); }
.leaflet-popup-content-wrapper { border-radius: 14px; font-family: var(--body); color: var(--espresso); }
.leaflet-popup-content { margin: .8rem 1rem; line-height: 1.4; }
.dm__pick {
  margin-top: .5rem; background: var(--espresso); color: var(--milky); font-weight: 700;
  border-radius: var(--r-pill); padding: .4em 1em; font-size: .8rem;
}
.dm__pick:hover { background: var(--pink); color: var(--espresso); }

/* aviso de punto elegido en checkout */
.point-chosen {
  background: var(--peony); border-radius: var(--r-md); padding: 1rem 1.2rem; margin-top: 1rem;
  display: none;
}
.point-chosen.show { display: block; }
.point-chosen > b { display: block; font-size: 1.02rem; }
.point-chosen p { font-size: .88rem; color: var(--brown); margin: .4rem 0 .8rem; line-height: 1.55; }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1fb457; }

/* ---------- reveal (GSAP hooks) ---------- */
.reveal { opacity: 0; }
.no-js .reveal, .reveal.shown { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 2rem; min-height: auto; padding-bottom: 4rem; }
  .hero__kicker, .hero__cta { justify-content: center; }
  .hero p.lead { margin-inline: auto; }
  .hero__visual { order: -1; margin-top: 1rem; }
  .hero__bunny { width: min(60vw, 320px); }
  .hero__blob { width: min(72vw, 420px); }
  .story .section { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; }
  .dm__body { grid-template-columns: 1fr; }
  .dm__map { min-height: 340px; }
  .dm__side { border-left: none; border-top: 2px dashed var(--peony); max-height: none; }
  .dm__list { max-height: 260px; }
  .steps, .bento { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links {
    position: fixed; inset: 62px 0 auto 0; z-index: 49;
    flex-direction: column; background: var(--milky);
    padding: 1.4rem 2rem 2rem; gap: 1.1rem;
    border-bottom: 2px dashed var(--peony);
    transform: translateY(-130%); transition: transform .45s var(--bounce);
  }
  .nav__links.open { transform: translateY(0); }
  .burger { display: flex; }
  .steps, .bento { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cart-btn span.txt { display: none; }
}

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

/* focus visible */
:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; border-radius: 6px; }
