/* ═══════════════════════════════════════════════
   PUPÍLOVERS & SHOP · Identidad "Kamui"
   Violeta profundo · magenta · gradiente atardecer
   Kawaii japonés · glow · pétalos
   ═══════════════════════════════════════════════ */

:root {
  --purple-deep: #1b0930;      /* fondo base */
  --purple: #2a0e4d;           /* tarjetas/secciones */
  --purple-mid: #3c1468;
  --magenta: #ff2e97;          /* acento principal */
  --pink: #ff7ac8;
  --lavender: #c9a2ff;
  --sunset-a: #ff5fa2;         /* gradiente atardecer */
  --sunset-b: #b174ff;
  --sunset-c: #7a3bff;
  --cream: #fff3fa;
  --ink: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(255, 46, 151, .18), 0 4px 14px rgba(0,0,0,.35);
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--purple-deep);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

/* ── pétalos flotantes ── */
.petals { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.petal {
  position: absolute; top: -40px;
  width: 14px; height: 14px;
  background: linear-gradient(135deg, #ffc2e2, var(--pink) 55%, var(--magenta));
  border-radius: 14px 2px 14px 2px;
  box-shadow: 0 0 8px rgba(255, 122, 200, .35);
  opacity: 0;
  animation: fall 14s linear infinite;
}
.petal:nth-child(1)  { left: 4%;  animation-delay: 0s;    transform: scale(.8);  animation-duration: 13s; }
.petal:nth-child(2)  { left: 12%; animation-delay: 2.4s;  transform: scale(1);   animation-duration: 15s; }
.petal:nth-child(3)  { left: 19%; animation-delay: 5.1s;  transform: scale(.7);  animation-duration: 12s; }
.petal:nth-child(4)  { left: 26%; animation-delay: 1.2s;  transform: scale(1.15);animation-duration: 16s; }
.petal:nth-child(5)  { left: 33%; animation-delay: 6.8s;  transform: scale(.75); animation-duration: 13.5s; }
.petal:nth-child(6)  { left: 40%; animation-delay: 3.6s;  transform: scale(.9);  animation-duration: 15.5s; }
.petal:nth-child(7)  { left: 47%; animation-delay: 8.9s;  transform: scale(1.1); animation-duration: 12.5s; }
.petal:nth-child(8)  { left: 54%; animation-delay: .8s;   transform: scale(.8);  animation-duration: 14s; }
.petal:nth-child(9)  { left: 60%; animation-delay: 5.4s;  transform: scale(1);   animation-duration: 16.5s; }
.petal:nth-child(10) { left: 66%; animation-delay: 7.3s;  transform: scale(.7);  animation-duration: 13s; }
.petal:nth-child(11) { left: 71%; animation-delay: 2.9s;  transform: scale(1.2); animation-duration: 15s; }
.petal:nth-child(12) { left: 76%; animation-delay: 9.6s;  transform: scale(.85); animation-duration: 12s; }
.petal:nth-child(13) { left: 81%; animation-delay: 4.2s;  transform: scale(.95); animation-duration: 14.5s; }
.petal:nth-child(14) { left: 85%; animation-delay: 10.4s; transform: scale(.7);  animation-duration: 16s; }
.petal:nth-child(15) { left: 89%; animation-delay: 6.1s;  transform: scale(1.05);animation-duration: 13s; }
.petal:nth-child(16) { left: 93%; animation-delay: 1.9s;  transform: scale(.8);  animation-duration: 15.5s; }
.petal:nth-child(17) { left: 96%; animation-delay: 8.1s;  transform: scale(.65); animation-duration: 12.5s; }
.petal:nth-child(18) { left: 9%;  animation-delay: 9s;    transform: scale(1);   animation-duration: 14s; }
.petal:nth-child(19) { left: 23%; animation-delay: 7.7s;  transform: scale(.75); animation-duration: 13.5s; }
.petal:nth-child(20) { left: 37%; animation-delay: 10.9s; transform: scale(1.1); animation-duration: 16.5s; }
.petal:nth-child(21) { left: 51%; animation-delay: 5.8s;  transform: scale(.8);  animation-duration: 12s; }
.petal:nth-child(22) { left: 64%; animation-delay: 3.1s;  transform: scale(.95); animation-duration: 15s; }
@keyframes fall {
  0%   { top: -40px; opacity: 0; rotate: 0deg; }
  8%   { opacity: .9; }
  92%  { opacity: .6; }
  100% { top: 105vh; opacity: 0; rotate: 320deg; }
}

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(27, 9, 48, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 46, 151, .25);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .5px;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 4px 16px rgba(255, 46, 151, .45);
}
.logo-heart { color: #ffd6ef; }
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: 3px; text-transform: uppercase;
  white-space: nowrap;
}
.logo-accent { color: var(--magenta); }
.logo-text i {
  font-family: var(--font-body); font-style: normal;
  font-size: 10px; font-weight: 600; letter-spacing: 4px;
  color: var(--lavender); text-transform: uppercase;
}
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--cream); text-decoration: none;
  font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--lavender));
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-cart-float {
  position: relative;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  color: #fff; cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 46, 151, .45);
  transition: transform .2s ease;
}
.btn-cart-float:hover { transform: scale(1.08) rotate(-4deg); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  background: #fff; color: var(--magenta);
  font-size: 11px; font-weight: 700; font-family: var(--font-display);
  border-radius: 10px;
}

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span {
  display: block; width: 24px; height: 3px; margin: 5px 0;
  background: var(--pink); border-radius: 3px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 60px clamp(20px, 6vw, 80px) 90px;
  overflow: hidden;
}
/* fachada de la tienda como fondo — se difumina al hacer scroll (JS) */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  will-change: filter, transform, opacity;
  transform-origin: 50% 20%;
}
/* capa con zoom Ken Burns continuo + entrada cinemática al abrir la web */
.hero-bg-img {
  position: absolute; inset: 0;
  background: url(../img/hero-tienda.jpg) center 30% / cover no-repeat;
  animation: heroEnter 1.6s cubic-bezier(.22, 1, .36, 1) backwards,
             kenburns 20s ease-in-out infinite alternate;
  animation-delay: 0s, 1.5s;
  filter: saturate(1.18) brightness(1.06);
  will-change: transform, filter, opacity;
}
/* al entrar: la fachada llega desde un zoom fuerte, desenfocada y oscura → nítida y viva */
@keyframes heroEnter {
  from { transform: scale(1.3) translateY(4%); opacity: 0; filter: saturate(1.4) brightness(.55) blur(18px); }
  60%  { opacity: 1; }
  to   { transform: scale(1.06) translateY(0); opacity: 1; filter: saturate(1.18) brightness(1.06) blur(0); }
}
@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.16) translate(-2%, -1.6%); }
}
/* barrido de luz que cruza la fachada de vez en cuando */
.hero-shine {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none;
}
.hero-shine::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%;
  width: 38%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 190, 235, .16) 35%, rgba(255, 255, 255, .3) 50%, rgba(255, 190, 235, .16) 65%, transparent 100%);
  transform: translateX(0) rotate(4deg);
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: shineSweep 7s cubic-bezier(.6, 0, .4, 1) 2s infinite;
}
@keyframes shineSweep {
  0%   { transform: translateX(0) rotate(4deg); opacity: 0; }
  8%   { opacity: 1; }
  42%  { opacity: 1; }
  55%  { transform: translateX(460%) rotate(4deg); opacity: 0; }
  100% { transform: translateX(460%) rotate(4deg); opacity: 0; }
}
/* chispitas titilando sobre el hero */
.hero-sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-sparkles span {
  position: absolute;
  color: #ffd9f2;
  text-shadow: 0 0 10px rgba(255, 150, 215, .95), 0 0 22px rgba(255, 46, 151, .6);
  opacity: 0;
  animation: twinkle 3.4s ease-in-out infinite;
  will-change: opacity, transform;
}
.hero-sparkles span:nth-child(1) { left: 12%; top: 22%; font-size: 15px; animation-delay: .3s; }
.hero-sparkles span:nth-child(2) { left: 30%; top: 64%; font-size: 11px; animation-delay: 1.4s; }
.hero-sparkles span:nth-child(3) { left: 46%; top: 30%; font-size: 13px; animation-delay: 2.2s; }
.hero-sparkles span:nth-child(4) { left: 58%; top: 70%; font-size: 16px; animation-delay: .9s; }
.hero-sparkles span:nth-child(5) { left: 68%; top: 18%; font-size: 11px; animation-delay: 2.8s; }
.hero-sparkles span:nth-child(6) { left: 76%; top: 48%; font-size: 14px; animation-delay: 1.8s; }
.hero-sparkles span:nth-child(7) { left: 88%; top: 26%; font-size: 12px; animation-delay: .6s; }
.hero-sparkles span:nth-child(8) { left: 22%; top: 44%; font-size: 12px; animation-delay: 2.5s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(35deg); }
}
/* velo para que el texto se lea y el fondo se funda con la página */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 9, 48, .82) 0%, rgba(27, 9, 48, .58) 38%, rgba(27, 9, 48, .12) 72%, rgba(27, 9, 48, 0) 100%),
    linear-gradient(180deg, rgba(27, 9, 48, .45) 0%, rgba(27, 9, 48, .05) 30%, rgba(27, 9, 48, .78) 88%, var(--purple-deep) 100%);
}
/* orbes de luz flotando: vida extra al fondo */
.hero-blob {
  position: absolute; z-index: 1;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: .6;
}
.hero-blob.b1 {
  width: 480px; height: 480px; top: -140px; right: 10%;
  background: radial-gradient(circle, rgba(255, 46, 151, .55), transparent 70%);
  animation: blobDrift 16s ease-in-out infinite alternate;
}
.hero-blob.b2 {
  width: 440px; height: 440px; bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(140, 80, 255, .6), transparent 70%);
  animation: blobDrift2 21s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  to { transform: translate(-70px, 60px) scale(1.18); }
}
@keyframes blobDrift2 {
  to { transform: translate(90px, -50px) scale(1.22); }
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(255, 46, 151, .32), transparent 65%),
    radial-gradient(ellipse 55% 45% at 20% 85%, rgba(122, 59, 255, .35), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 110%, rgba(255, 122, 200, .25), transparent 70%);
  pointer-events: none;
}
/* banda de atardecer diagonal como en el video */
.hero::before {
  content: ''; position: absolute;
  inset: -20% -10% -30% 40%;
  background: linear-gradient(115deg, transparent 15%, var(--sunset-a) 38%, var(--sunset-b) 62%, var(--sunset-c) 85%);
  opacity: .25;
  filter: blur(60px);
  transform: skewY(-6deg);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(255, 122, 200, .4);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(255, 122, 200, .08);
  animation: kickerIn .8s cubic-bezier(.16, 1, .3, 1) backwards .05s;
}
@keyframes kickerIn {
  from { opacity: 0; transform: translateY(-16px); letter-spacing: 10px; }
  to { opacity: 1; transform: none; letter-spacing: 4px; }
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.02; letter-spacing: 2px; text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(255, 46, 151, .5);
  margin-bottom: 22px;
}
/* entrada cinética: letra por letra */
.hero-title .ch {
  display: inline-block;
  animation: chIn .85s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i) * 50ms + 180ms);
  will-change: transform, opacity, filter;
}
@keyframes chIn {
  from { opacity: 0; transform: translateY(.7em) rotate(5deg) scale(.65); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
/* KAWAII entra como palabra completa, con glow latiente después */
.hero-title em.ch-word {
  display: inline-block;
  animation: emIn 1s cubic-bezier(.16, 1, .3, 1) both,
             glowPulse 3.2s ease-in-out 1.6s infinite;
  animation-delay: calc(var(--i) * 50ms + 420ms), 1.6s;
  will-change: transform, opacity, filter;
}
@keyframes emIn {
  from { opacity: 0; transform: translateY(.6em) scale(.65); filter: blur(14px); }
  to {
    opacity: 1; transform: none;
    filter: drop-shadow(0 4px 18px rgba(255, 46, 151, .55));
  }
}
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 4px 18px rgba(255, 46, 151, .55)); }
  50% { filter: drop-shadow(0 4px 34px rgba(255, 122, 200, .95)); }
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--sunset-a), var(--pink), var(--lavender));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255, 46, 151, .55));
}
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--cream); max-width: 480px; margin-bottom: 30px; animation: fadeUp .8s cubic-bezier(.16, 1, .3, 1) backwards 1.5s; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-cta .btn:nth-child(1) { animation: btnPop .75s cubic-bezier(.34, 1.56, .64, 1) backwards 1.7s; }
.hero-cta .btn:nth-child(2) { animation: btnPop .75s cubic-bezier(.34, 1.56, .64, 1) backwards 1.85s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes btnPop {
  from { opacity: 0; transform: translateY(26px) scale(.75); }
  to { opacity: 1; transform: none; }
}
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; }
.hero-tags li {
  font-size: 13px; font-weight: 600;
  color: var(--lavender);
  background: rgba(201, 162, 255, .1);
  border: 1px solid rgba(201, 162, 255, .3);
  padding: 6px 14px; border-radius: 999px;
  animation: tagIn .55s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
.hero-tags li:nth-child(1) { animation-delay: 2.05s; }
.hero-tags li:nth-child(2) { animation-delay: 2.15s; }
.hero-tags li:nth-child(3) { animation-delay: 2.25s; }
.hero-tags li:nth-child(4) { animation-delay: 2.35s; }
@keyframes tagIn {
  from { opacity: 0; transform: translateY(18px) scale(.7); }
  to { opacity: 1; transform: none; }
}

/* collage de productos en el hero */
.hero-collage { position: absolute; right: clamp(10px, 6vw, 110px); top: 16%; z-index: 2; width: min(380px, 30vw); height: 70%; }
.hero-collage img {
  position: absolute;
  border-radius: 20px;
  aspect-ratio: 1; object-fit: cover;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, .12);
}
.hc-1 { width: 58%; left: 0; top: 6%; rotate: -5deg; animation: float 5.5s ease-in-out infinite; }
.hc-2 { width: 52%; right: 0; top: 0; rotate: 6deg; animation: float 4.5s ease-in-out .6s infinite; }
.hc-3 { width: 46%; left: 22%; bottom: 4%; rotate: 3deg; border-radius: 50%; animation: float 6s ease-in-out 1.2s infinite; }
.floater-tag {
  position: absolute; top: -18px; right: -14px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  padding: 12px 16px; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(255, 46, 151, .5);
  animation: float 5s ease-in-out infinite reverse;
}
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ── botones ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px; border-radius: 999px;
  border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  box-shadow: 0 6px 22px rgba(255, 46, 151, .45);
}
.btn-ghost {
  color: var(--pink);
  background: rgba(255, 46, 151, .08);
  border: 1.5px solid rgba(255, 46, 151, .5);
}
.btn-wa {
  width: 100%; justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 6px 22px rgba(37, 211, 102, .35);
}

/* ── secciones ── */
.section {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) clamp(16px, 4vw, 48px);
}
.section-head { text-align: center; margin-bottom: 44px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 44px); letter-spacing: 4px; text-transform: uppercase; }
.section-title span {
  background: linear-gradient(90deg, var(--sunset-a), var(--lavender));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title--pink span {
  background: linear-gradient(90deg, var(--pink), var(--sunset-a));
  -webkit-background-clip: text; background-clip: text;
}
.section-sub { color: var(--lavender); max-width: 620px; margin: 12px auto 0; font-size: 15px; }

/* ── carrusel de banners (del sitio original) ── */
.carousel {
  position: relative;
  max-width: 1100px; margin: 0 auto;
  border-radius: clamp(18px, 2.5vw, 28px);
  overflow: hidden;
  border: 1.5px solid rgba(201, 162, 255, .3);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .45), 0 0 50px rgba(255, 46, 151, .12);
}
.carousel-track {
  display: flex;
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  display: block;
  position: relative;
  cursor: pointer;
  transition: filter .25s ease;
}
.carousel-slide:hover { filter: brightness(1.08) saturate(1.06); }
.carousel-slide img, .carousel-slide video {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1280 / 533; object-fit: cover;
  pointer-events: none; /* el click completo lo toma el <a> */
}
/* flechas */
.car-btn {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%;
  background: rgba(27, 9, 48, .55); backdrop-filter: blur(6px);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.car-btn:hover { background: var(--magenta); transform: scale(1.08); }
.car-prev { left: 14px; }
.car-next { right: 14px; }
/* puntitos */
.car-dots {
  position: absolute; bottom: 12px; left: 50%; translate: -50% 0;
  display: flex; gap: 8px; z-index: 2;
}
.car-dot {
  width: 10px; height: 10px; padding: 0;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .4);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.car-dot:hover { transform: scale(1.25); }
.car-dot.on {
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 46, 151, .8);
  transform: scale(1.2);
}

@media (max-width: 560px) {
  .car-btn { width: 34px; height: 34px; font-size: 20px; }
  .car-prev { left: 8px; }
  .car-next { right: 8px; }
}

/* ── paginación del catálogo ── */
.pagination {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; align-items: center;
  margin-top: 34px;
}
.page-btn {
  min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(201, 162, 255, .3);
  background: rgba(201, 162, 255, .08);
  color: var(--lavender);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.page-btn:hover { border-color: var(--pink); color: #fff; transform: translateY(-2px); }
.page-btn.active {
  background: var(--magenta); border-color: var(--magenta); color: #fff;
  box-shadow: 0 6px 18px rgba(255, 46, 151, .4);
}
.page-btn:disabled { opacity: .3; cursor: default; transform: none; }
.page-gap { color: var(--lavender); opacity: .6; padding: 0 2px; }

/* ── herramientas del catálogo ── */
.catalog-tools { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.searchbox {
  display: flex; align-items: center; gap: 12px;
  max-width: 520px; width: 100%; margin: 0 auto;
  padding: 12px 20px;
  background: rgba(201, 162, 255, .07);
  border: 1.5px solid rgba(201, 162, 255, .3);
  border-radius: 999px;
  color: var(--lavender);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.searchbox:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 46, 151, .12);
}
.searchbox input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: #fff; font-family: var(--font-body); font-size: 15px;
}
.searchbox input::placeholder { color: rgba(201, 162, 255, .55); }
.searchbox input::-webkit-search-cancel-button { display: none; }
.search-clear {
  flex: none; width: 26px; height: 26px;
  display: grid; place-items: center;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255, 46, 151, .18); color: var(--pink);
  font-size: 13px; line-height: 1;
  transition: all .15s ease;
}
.search-clear:hover { background: var(--pink); color: #fff; }
.search-clear[hidden] { display: none; }
.cat-menu { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; }
.cat-group { position: relative; }
.cat-toggle .caret { display: inline-block; margin-left: 5px; font-size: 10px; transition: transform .25s ease; }
.cat-group.open .caret { transform: rotate(180deg); }
.cat-group.open .cat-toggle { border-color: var(--pink); color: var(--pink); }
.cat-toggle.sel {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 46, 151, .4);
}
.cat-sub[hidden] { display: none !important; }
.cat-sub {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  min-width: 230px;
  display: flex; flex-direction: column; gap: 3px;
  padding: 8px;
  background: #241040;
  border: 1.5px solid rgba(201, 162, 255, .3);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  animation: catPop .22s cubic-bezier(.22, 1, .36, 1);
}
@keyframes catPop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.cat-item {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 13.5px;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--cream); text-align: left;
  background: none; border: none; border-radius: 10px;
  padding: 9px 12px; cursor: pointer;
  transition: all .15s ease;
}
.cat-item small { color: var(--lavender); font-size: 11px; }
.cat-item:hover { background: rgba(255, 46, 151, .12); color: var(--pink); }
.cat-item.active {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
}
.cat-item.active small { color: rgba(255, 255, 255, .8); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--cream);
  background: var(--purple);
  border: 1.5px solid rgba(201, 162, 255, .25);
  padding: 9px 18px; border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-2px); }
.chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 46, 151, .4);
}

/* ── grid de productos ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.card {
  background: var(--purple);
  border: 1px solid rgba(201, 162, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: cardIn .5s ease backwards;
}
@keyframes cardIn { from { opacity: 0; translate: 0 24px; } }
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 46, 151, .45);
  box-shadow: var(--shadow);
}
.card-imgwrap {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 40%, var(--purple-mid), var(--purple-deep));
  overflow: hidden;
}
.card-imgwrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-imgwrap img { transform: scale(1.07); }
.card-stock {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(27, 9, 48, .8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 122, 200, .5);
  color: var(--pink);
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-brand { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--magenta); }
.card-name { font-weight: 600; font-size: 15px; line-height: 1.35; min-height: 2.6em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 10px 18px 16px; }
.card-price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--pink); }
.card-add {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  color: #fff; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 46, 151, .4);
  transition: transform .2s ease;
}
.card-add:hover { transform: scale(1.12) rotate(-6deg); }
.card-add svg { width: 19px; height: 19px; }
.card-price.na { font-size: 14px; color: var(--lavender); font-weight: 500; letter-spacing: 1px; }

.empty-note { text-align: center; color: var(--lavender); padding: 40px 0; font-size: 16px; }

/* ── drawer del carrito ── */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(12, 3, 24, .6);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(420px, 100vw);
  height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--purple);
  border-left: 1px solid rgba(255, 46, 151, .3);
  translate: 105% 0;
  transition: translate .35s cubic-bezier(.22, 1, .36, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
}
.drawer.open { translate: 0 0; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(201, 162, 255, .18);
  background: linear-gradient(135deg, rgba(255, 46, 151, .14), transparent);
}
.drawer-head h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; text-transform: uppercase; }
.drawer-close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(201, 162, 255, .35);
  background: none; color: var(--cream); font-size: 16px; cursor: pointer;
  transition: all .2s ease;
}
.drawer-close:hover { background: var(--magenta); border-color: var(--magenta); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer-empty {
  margin: auto; text-align: center; color: var(--lavender); padding: 30px 0;
}
.drawer-empty .big { font-size: 46px; display: block; margin-bottom: 10px; }

.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px;
  align-items: center;
  background: var(--purple-deep);
  border: 1px solid rgba(201, 162, 255, .15);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item-name { font-weight: 600; font-size: 13px; line-height: 1.3; }
.cart-item-price { font-size: 12px; color: var(--pink); font-weight: 700; }
.qty-controller { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 8px;
  border: 1.5px solid rgba(201, 162, 255, .35);
  background: none; color: var(--pink); font-weight: 700; cursor: pointer;
  transition: all .15s ease;
}
.qty-btn:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.qty-num { font-family: var(--font-display); font-weight: 600; min-width: 22px; text-align: center; }
.cart-item-remove {
  border: none; background: none; color: var(--lavender);
  font-size: 15px; cursor: pointer; opacity: .6;
  transition: all .2s ease;
}
.cart-item-remove:hover { opacity: 1; color: var(--magenta); }

.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid rgba(201, 162, 255, .18); display: flex; flex-direction: column; gap: 14px; }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display);
}
.cart-total-row span { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--lavender); }
.cart-total-row strong { font-size: 28px; color: var(--pink); }
.pickup-row { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--lavender); font-weight: 600; }
.pickup-row select {
  background: var(--purple-deep); color: #fff;
  border: 1.5px solid rgba(201, 162, 255, .3); border-radius: 10px;
  padding: 10px 12px; font-family: var(--font-body); font-size: 14px;
  outline: none;
}
.drawer-note { font-size: 12px; color: var(--lavender); text-align: center; opacity: .8; margin-top: -6px; }

/* ── reseñas ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.review-card {
  position: relative;
  background: var(--purple);
  border: 1px solid rgba(201, 162, 255, .16);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  transition: transform .25s ease, border-color .25s ease;
}
.review-card:hover { transform: translateY(-5px); border-color: rgba(255, 46, 151, .4); }
.review-quote {
  position: absolute; top: -16px; left: 22px;
  width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 4px 14px rgba(255, 46, 151, .45);
}
.review-stars { color: #ffc857; letter-spacing: 3px; font-size: 15px; margin: 8px 0 10px; }
.review-text { color: var(--cream); font-size: 14px; min-height: 4.2em; }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600;
  background: linear-gradient(135deg, var(--sunset-b), var(--sunset-c));
  color: #fff;
}
.review-name { font-weight: 700; font-size: 14px; }
.review-when { font-size: 12px; color: var(--lavender); }

.rating-summary {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: -22px auto 36px;
  font-size: 14px; color: var(--lavender);
}
.rating-summary strong { font-family: var(--font-display); font-size: 22px; color: var(--pink); }

/* ── ubicaciones ── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 26px;
}
.loc-card {
  background: var(--purple);
  border: 1px solid rgba(201, 162, 255, .16);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.loc-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--sunset-c));
  padding: 5px 14px; border-radius: 999px;
}
.loc-card h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: 1px; }
.loc-addr { color: var(--lavender); font-size: 14px; }
.map-frame {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid rgba(201, 162, 255, .2);
  min-height: 260px; flex: 1;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; filter: saturate(.9) hue-rotate(-30deg); }
.loc-card .btn { align-self: flex-start; }

/* ── footer ── */
.footer {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(42, 14, 77, .6), rgba(12, 3, 24, .9));
  border-top: 1px solid rgba(255, 46, 151, .25);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 60px clamp(16px, 4vw, 48px) 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-contact { color: var(--lavender); font-size: 13px; }

/* logo real de la marca */
/* logo nuevo con fondo transparente */
.logo-img, .footer-logo {
  filter: drop-shadow(0 0 14px rgba(255, 122, 200, .3));
}
.logo-img { height: 52px; width: auto; }
.footer-logo { height: 110px; width: auto; margin-bottom: 4px; }
@media (max-width: 560px) { .logo-img { height: 42px; } .footer-logo { height: 84px; } }

.maps-link { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.maps-link:hover { color: #fff; }

/* enlaces de tarjeta */
.card-link { display: block; color: inherit; text-decoration: none; }

/* ── animaciones reveal-on-scroll ── */
.reveal {
  opacity: 0;
  translate: 0 34px;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), translate .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.in { opacity: 1; translate: 0 0; }
.reveal-zoom { opacity: 0; scale: .94; transition: opacity .7s ease, scale .7s cubic-bezier(.22, 1, .36, 1); }
.reveal-zoom.in { opacity: 1; scale: 1; }
.footer-brand .logo-mark { margin-bottom: 14px; }
.footer-brand h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.footer-brand p { color: var(--lavender); font-size: 13px; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pink); margin-bottom: 6px;
}
.footer-col a {
  color: var(--cream); text-decoration: none; font-size: 14px;
  opacity: .85; transition: all .2s ease;
}
.footer-col a:hover { opacity: 1; color: var(--pink); translate: 3px 0; }
.footer-base {
  max-width: 1180px; margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 48px);
  border-top: 1px solid rgba(201, 162, 255, .14);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--lavender);
}

/* ── fab WhatsApp ── */
.wa-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
  animation: pulseWa 2.6s ease infinite;
}
.wa-fab:hover { transform: scale(1.1); }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 8px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  50% { box-shadow: 0 8px 26px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ── toast ── */
.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 120;
  translate: -50% 20px;
  background: var(--purple-mid);
  color: #fff; font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid rgba(255, 46, 151, .5);
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, translate .25s ease;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; z-index: 60;
    flex-direction: column; gap: 0;
    background: rgba(27, 9, 48, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 46, 151, .3);
    padding: 10px 0 18px;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.open { max-height: 300px; }
  .nav a { padding: 13px clamp(16px, 4vw, 48px); font-size: 15px; }
  .nav a::after { display: none; }
  .burger { display: block; }

  .hero { min-height: auto; padding-top: 46px; }
  .hero-collage { display: none; }
  .hero-blob { display: none; }
  .hero-sparkles { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-body { padding: 12px 13px 14px; }
  .card-name { font-size: 13px; }
  .card-price { font-size: 17px; }
  .card-add { width: 38px; height: 38px; }
  .hero-title { font-size: clamp(38px, 13vw, 54px); }
  .chips, .cat-menu { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .cat-sub { position: fixed; top: auto; left: 12px; right: 12px; min-width: 0; }
  .chip { white-space: nowrap; font-size: 12px; padding: 8px 14px; }
  .drawer { width: 100vw; }
  .wa-fab { left: 14px; bottom: 14px; width: 52px; height: 52px; }
  .footer-base { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
