/* IBIZA STORE — Licorera en Loja, Ecuador
   00 Tokens          07 Combos
   01 Reset           08 Nosotros
   02 Tipografía      09 Visítanos
   03 Botones         10 CTA final
   04 Header + menú   11 Footer
   05 Hero            12 Carrito
   06 Catálogo        13 Age gate + FAB
   14 Responsive
   */

/* 00. TOKENS
   Paleta tomada del logo real de Ibiza Store: neón magenta / violeta / cian
   sobre fondo nocturno.
   */
:root {
  --ink: #0a0710;
  --ink-2: #110c1a;
  --surface: #17111f;
  --surface-2: #1f1729;
  --surface-3: #2a2036;

  --line: rgba(244, 241, 234, 0.1);
  --line-2: rgba(244, 241, 234, 0.18);

  --bone: #f4f1ea;
  --bone-dim: #c9c2d4;
  --muted: #8e85a0;

  /* Acento principal de marca */
  --neon: #ff2d9b;
  --neon-2: #ff6bc0;
  --neon-deep: #a01060;

  --violet: #7c3aed;
  --cyan: #22d3ee;
  --gold: #e8b65c;
  --ok: #3fcf8e;

  --wrap: 1180px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --sh-3: 0 28px 60px -20px rgba(0, 0, 0, 0.85);
  --glow: 0 0 0 1px rgba(255, 45, 155, 0.35), 0 18px 45px -18px rgba(255, 45, 155, 0.5);

  --hdr-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Degradado cromado de "STORE" en el logotipo real */
  --grad-store: linear-gradient(90deg, #22d3ee 0%, #8b7cf6 48%, #ff2d9b 100%);

  --ff-display: "Anton", Impact, "Barlow", sans-serif;
  --ff-logo: "Cinzel", "Trajan Pro", Georgia, serif;
  --ff-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* 01. RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--neon);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: var(--pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-deep);
}

/* 02. TIPOGRAFÍA */
h1,
h2,
h3,
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.wrap {
  width: min(100% - 2.25rem, var(--wrap));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section--alt {
  background: var(--ink-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--neon);
}

.head {
  max-width: 44rem;
}

.head h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 5.6vw, 3.4rem);
}

.head p {
  margin-top: 0.9rem;
  color: var(--bone-dim);
  font-size: 1rem;
  max-width: 38rem;
}

.hl {
  color: var(--neon);
}

/* Logotipo tipográfico: IBIZA en serif blanca, STORE con el degradado neón */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  line-height: 1;
  white-space: nowrap;
}

.logo__ibiza {
  font-family: var(--ff-logo);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.logo__store {
  font-family: var(--ff-body);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--grad-store);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 45, 155, 0.35));
}

/* Texto con contorno, como en el hero */
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--bone);
  text-stroke: 2px var(--bone);
}

/* Aviso de dato pendiente */
.pending {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border: 1px dashed rgba(232, 182, 92, 0.5);
  background: rgba(232, 182, 92, 0.12);
  color: var(--gold);
  border-radius: var(--pill);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px dashed rgba(232, 182, 92, 0.3);
  background: rgba(232, 182, 92, 0.06);
  border-radius: var(--r);
  font-size: 0.85rem;
  color: var(--bone-dim);
}

/* 03. BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.btn--neon {
  background: var(--neon);
  color: #fff;
  box-shadow: var(--glow), 0 0 24px rgba(255, 45, 155, 0.45);
}

.btn--neon:hover {
  background: var(--neon-2);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--bone);
}

.btn--ghost:hover {
  border-color: var(--bone);
  background: rgba(244, 241, 234, 0.06);
}

.btn--wa {
  background: #25d366;
  color: #042a18;
  box-shadow: 0 14px 40px -14px rgba(37, 211, 102, 0.6);
}

.btn--wa:hover {
  background: #2ee878;
}

.btn--sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
}

.btn--block {
  width: 100%;
}

/* 04. HEADER + MENÚ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  background: rgba(10, 7, 16, 0.78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(10, 7, 16, 0.94);
}

.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 50% 60%, rgba(34, 211, 238, 0.35), var(--surface) 70%);
  border: 1px solid rgba(255, 45, 155, 0.45);
  box-shadow: 0 0 14px rgba(255, 45, 155, 0.35);
}

.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__txt .logo {
  font-size: 1.15rem;
}

/* "The Shark of", igual que en la camiseta del tiburón: pequeño y sobre IBIZA */
.brand__pre {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 2px;
}

.brand__txt > span {
  margin-top: 3px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  position: relative;
  padding: 0.45rem 0.8rem;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--bone);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

/* WhatsApp de Ibiza en la cabecera: fijo, sin animación */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 42px;
  padding: 0 1.1rem;
  border-radius: var(--pill);
  background: #25d366;
  color: #042a18;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.45), 0 0 18px rgba(37, 211, 102, 0.45);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-btn:hover {
  background: #2ee878;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.6), 0 0 26px rgba(37, 211, 102, 0.65);
}

.wa-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--bone);
}

.burger {
  display: none;
}

.burger svg {
  width: 20px;
  height: 20px;
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 16, 0.72);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.mobile-menu.is-open .mobile-menu__scrim {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  inset: 0 0 auto 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 1rem 1.25rem 1.75rem;
  transform: translateY(-102%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: var(--sh-3);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: none;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mobile-menu__panel nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu__panel nav a {
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mobile-menu__cta {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.6rem;
}

/* 05. HERO */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.8rem, 6vw, 4.8rem) 0 0;
}

/* Sin foto: solo luz neón. Violeta arriba a la izquierda, magenta a la derecha
   y un toque cian abajo, como las luces de una disco. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(50% 60% at 6% 12%, rgba(139, 60, 255, 0.55), transparent 70%),
    radial-gradient(42% 58% at 84% 38%, rgba(255, 30, 150, 0.5), transparent 70%),
    radial-gradient(40% 40% at 55% 105%, rgba(34, 211, 238, 0.28), transparent 70%),
    linear-gradient(180deg, #0d0716, #0a0710);
}

/* Líneas finas de escenario, muy sutiles */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 45, 155, 0.05) 46px 47px);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000);
  mask-image: linear-gradient(90deg, transparent 35%, #000);
}

/* Marca gigante al fondo (como en la referencia) */
.hero__mark {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: 4.6rem;
  font-family: var(--ff-display);
  font-size: clamp(5rem, 16vw, 14rem);
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(34, 211, 238, 0.07);
  -webkit-text-stroke: 1px rgba(34, 211, 238, 0.12);
  pointer-events: none;
  user-select: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: rgba(23, 17, 31, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bone-dim);
}

.pill svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.hero .eyebrow {
  color: var(--neon-2);
  text-shadow: 0 0 12px rgba(255, 45, 155, 0.8);
}

.hero .eyebrow::before {
  box-shadow: 0 0 10px var(--neon);
}

.hero h1,
.hero h2 {
  margin-top: 1.1rem;
  font-size: clamp(2.3rem, 5.1vw, 4.6rem);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.hero h1 em,
.hero h2 em {
  font-style: normal;
}

/* "ANTES": pintado sólido en magenta, con un halo suave detrás que no
   difumina las letras (se tiene que leer igual que el resto). */
.neon {
  color: var(--neon);
  text-shadow: 0 0 28px rgba(255, 45, 155, 0.45);
}

/* "DE QUE": pintado sólido en cian (el otro color del logo), mismo halo suave */
.hero .outline {
  color: var(--cyan);
  -webkit-text-stroke: 0;
  text-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
}

.hero h1 span,
.hero h2 span {
  display: block;
}

/* Segunda línea: el mismo degradado cian → violeta → magenta de "STORE" */
.grad {
  background: var(--grad-store);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 45, 155, 0.35));
  padding-bottom: 0.06em;
}

/* "Pide antes. Disfruta después." — el remate del titular */
.hero__sub {
  margin-top: 0.7rem;
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.hero__sub em {
  font-style: normal;
}

.hero__lead {
  margin-top: 1.1rem;
  max-width: 33rem;
  color: var(--bone-dim);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
}

.hero__lead b {
  color: var(--bone);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.9rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.2rem;
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__proof b {
  color: var(--bone);
}

.hero__proof .stars {
  color: var(--gold);
  letter-spacing: 0.06em;
}

.hero__proof i {
  width: 1px;
  height: 13px;
  background: var(--line-2);
  display: inline-block;
}

/* Composición del logotipo: IBIZA detrás del tiburón, STORE delante */
.hero__art {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 460px;
}

.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -46%);
  background: radial-gradient(circle, rgba(255, 45, 155, 0.4), rgba(124, 58, 237, 0.22) 45%, transparent 70%);
  box-shadow: inset 0 0 0 2px rgba(255, 45, 155, 0.55), 0 0 30px rgba(255, 45, 155, 0.45),
    inset 0 0 30px rgba(255, 45, 155, 0.3);
  animation: breathe 5s ease-in-out infinite;
}

/* Pantalla vertical con el video del tiburón (o su foto mientras no hay video) */
.hero__screen {
  position: relative;
  z-index: 2;
  display: block;
  width: min(78%, 330px);
  aspect-ratio: 9 / 16;
  max-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 155, 0.55);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 0 40px rgba(255, 45, 155, 0.35),
    0 30px 60px -24px rgba(0, 0, 0, 0.9);
  animation: floaty 7s ease-in-out infinite;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0710;
}

/* Mientras no se sabe si hay foto principal, el póster del video no se
   enseña: si se enseñara, al recargar se vería un instante la foto anterior
   y luego el salto a la nueva. El recuadro se queda con su propio fondo, que
   ya trae borde y resplandor, así que no parece roto. */
.js .hero__screen:not(.hero__screen--listo) .hero__video {
  visibility: hidden;
}

/* Con foto principal el recuadro se queda QUIETO. La animación floaty gira
   un grado, y un giro obliga al navegador a remuestrear la capa entera: el
   texto deja de caer sobre la rejilla de píxeles y se ve borroso. Sin foto
   sigue flotando, que ahí no hay nada que leer. */
.hero__screen--promo {
  animation: none;
}

/* Foto principal: ocupa el recuadro entero y es un enlace a su categoría.
   El pie se apoya sobre un degradado para que el precio se lea siempre,
   venga la foto clara u oscura. */
.hero__promo {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: var(--bone);
}

.hero__promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__promo-pie {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  display: grid;
  gap: 0.1rem;
  padding: 2.6rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(10, 7, 16, 0.92) 55%);
  text-align: left;
}

.hero__promo-pie em {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-2);
}

.hero__promo-pie b {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.hero__promo-pie > span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.hero__promo-pie > span::after {
  content: "→";
}

.hero__promo:hover .hero__promo-pie > span {
  color: #fff;
}

/* Brillo del borde, por encima del video */
.hero__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(255, 45, 155, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@keyframes floaty {
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes breathe {
  50% {
    opacity: 0.7;
    transform: translate(-50%, -46%) scale(1.04);
  }
}

/* Estadísticas */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  background: var(--ink);
  padding: 1.5rem 1rem;
}

.stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 400;
  color: var(--bone);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Ticker */
.ticker {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.75rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--ff-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
}

.ticker__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon);
  flex: none;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* 06. CATÁLOGO */
/* Encabezado con el tiburón asomándose por detrás de la línea neón */
.head--peek {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--neon), rgba(124, 58, 237, 0.6), transparent) 1;
}

.head--peek > div {
  max-width: 44rem;
}

.peek {
  position: relative;
  flex: none;
  width: clamp(130px, 18vw, 210px);
  margin-bottom: -18px;
}

/* El sticker trae el borde ya difuminado: se funde con la página sin marco */
.peek img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-out);
}

.head--peek:hover .peek img {
  transform: translateY(-6px);
}

/* Grilla de categorías del inicio (referencia "Productos"): tarjetas altas
   con foto, nombre y descripción. Cada una abre su propia vista. */
.catgrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.catcard {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: radial-gradient(70% 55% at 50% 45%, rgba(255, 45, 155, 0.22), transparent 70%), var(--surface);
  animation: pop 0.5s var(--ease-out) both;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Degradado inferior para que el texto se lea sobre la foto */
.catcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 7, 16, 0.55) 68%, rgba(10, 7, 16, 0.95));
}

.catcard__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

.catcard__art {
  position: absolute;
  inset: 8% 0 30%;
  z-index: -2;
  display: grid;
  place-items: center;
}

.catcard__art svg,
.catcard__art img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(255, 45, 155, 0.3));
  transition: transform 0.5s var(--ease-out);
}

.catcard__soon {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.4rem;
  padding-bottom: 25%;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-2);
  background: repeating-linear-gradient(135deg, rgba(255, 45, 155, 0.06) 0 10px, transparent 10px 20px);
}

.catcard__soon svg {
  width: 30px;
  height: 30px;
}

.catcard__count {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--pill);
  background: rgba(10, 7, 16, 0.65);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.catcard__txt {
  padding: 0.95rem 0.95rem 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--bone-dim);
}

.catcard__txt b {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-right: 0.15rem;
}

.catcard:hover,
.catcard:focus-visible {
  /* Sin mover la tarjeta: si se desplaza, el borde se escapa del puntero y el
     hover se enciende y apaga en bucle (parpadeo). El brillo hace el efecto. */
  border-color: var(--neon);
  box-shadow: 0 0 0 1px var(--neon), 0 22px 50px -20px rgba(255, 45, 155, 0.7), 0 0 30px rgba(255, 45, 155, 0.25);
}

.catcard:hover .catcard__img {
  transform: scale(1.07);
  filter: saturate(1.15);
}

.catcard:hover .catcard__art svg {
  transform: translateY(-4px) scale(1.04);
}

.catcard:hover .catcard__txt b {
  text-shadow: 0 0 14px rgba(255, 45, 155, 0.8);
}

.catcard--skeleton {
  animation: shimmer 1.3s linear infinite;
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
}

.catalog__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.catalog__more .search {
  flex: 1 1 320px;
  max-width: 460px;
}

/* Vista de categoría */
.catview[hidden] {
  display: none;
}

.catview__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.8rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(55% 90% at 80% 10%, rgba(160, 20, 100, 0.45), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, rgba(124, 58, 237, 0.3), transparent 70%), var(--ink-2);
}

/* La foto de la categoría, a la derecha y fundida con el fondo */
.catview__bg {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 45%;
  background: center / cover no-repeat;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.catview__bg.is-empty {
  display: none;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: rgba(10, 7, 16, 0.55);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bone-dim);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.back:hover {
  border-color: var(--neon);
  color: #fff;
}

.catview__hero .eyebrow {
  display: flex;
}

#gridTitle {
  margin-top: 0.7rem;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  text-shadow: 0 0 30px rgba(255, 45, 155, 0.35);
}

.catview__hero p {
  margin-top: 0.7rem;
  max-width: 30rem;
  color: var(--bone-dim);
}

.catview__count {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--pill);
  background: var(--neon);
  box-shadow: var(--glow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catview__body {
  padding: 1.4rem 0 clamp(3rem, 7vw, 5rem);
}

.catview__tools {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.catview__tools .search {
  /* En columna, flex-basis sería la ALTURA: hay que anularlo */
  flex: none;
  width: 100%;
  max-width: 420px;
  align-self: flex-end;
}

/* Carrusel horizontal: tira que se desliza con flechas (categorías, combos) */
.tabsbar,
.carrusel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.carrusel {
  gap: 0.6rem;
  margin-top: 2.25rem;
}

.tabsbar__nav,
.carrusel__nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--bone-dim);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.tabsbar__nav:hover,
.carrusel__nav:hover {
  border-color: var(--neon);
  color: #fff;
}

.tabsbar__nav:disabled,
.carrusel__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.tabsbar__nav svg,
.carrusel__nav svg {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.tabsbar__nav--next svg,
.carrusel__nav--next svg {
  transform: none;
}

/* Las flechas del carrusel de combos son más grandes: hay que verlas */
.carrusel__nav {
  width: 42px;
  height: 42px;
}

.carrusel__nav svg {
  width: 18px;
  height: 18px;
}

/* En el móvil la tira se desliza con el dedo: las flechas solo quitarían
   espacio a las pestañas. */
@media (max-width: 559px) {
  .tabsbar__nav,
  .carrusel__nav {
    display: none;
  }
}

/* Pestañas para saltar a otra categoría sin volver al inicio */
.tabs {
  display: flex;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 0.3rem 0.1rem;
  scrollbar-width: none;
}

/* Con muchas categorías se reparten en DOS filas: se ven el doble sin
   alargar la página, y la tira sigue deslizándose de lado. */
.tabs--dos {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: max-content;
  align-items: center;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  padding: 0.45rem 0.95rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: all 0.25s var(--ease);
}

.tab:hover {
  border-color: var(--neon);
  color: #fff;
}

.tab.is-active {
  background: var(--neon);
  border-color: var(--neon);
  color: #fff;
  box-shadow: var(--glow);
}

/* Espacio reservado para producto sin foto todavía */
.card--soon {
  min-height: 300px;
  cursor: default;
  border-style: dashed;
  border-color: rgba(255, 45, 155, 0.35);
}

.card--soon:hover {
  transform: none;
  box-shadow: none;
}

.card--soon .cat__img--soon {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  color: var(--neon-2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: repeating-linear-gradient(135deg, rgba(255, 45, 155, 0.06) 0 10px, transparent 10px 20px);
}

.card--soon svg {
  width: 30px;
  height: 30px;
}

.search {
  position: relative;
  flex: 0 1 260px;
  min-width: 200px;
}

.search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 0.65rem 0.9rem 0.65rem 2.5rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--bone);
  font-size: 0.9rem;
}

.search input::placeholder {
  color: var(--muted);
}

.search input:focus {
  outline: none;
  border-color: var(--neon);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.75rem;
}

/* Misma grilla, pero con las tarjetas de sección (Cervezas → Litronas, Lata…) */
.grid--cats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Lista que el servidor escribe en la vista de categoría (categoria.php).
   El JavaScript la reemplaza por las tarjetas en cuanto carga; mientras tanto
   es lo que lee el buscador y lo que ve quien llegue sin JavaScript. */
.previa {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.previa li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.previa li:last-child {
  border-bottom: 0;
}
.previa__tit {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.previa i {
  opacity: 0.6;
  font-style: normal;
}
.previa b {
  white-space: nowrap;
}

/* Nada con [hidden] se dibuja, aunque tenga display propio */
[hidden] {
  display: none !important;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  animation: pop 0.45s var(--ease-out) both;
}

.card:hover {
  /* Sin mover la tarjeta: si se desplaza, el borde se escapa del puntero y el
     hover se enciende y apaga en bucle (parpadeo). El brillo hace el efecto. */
  border-color: rgba(255, 45, 155, 0.55);
  box-shadow: var(--sh-3), 0 0 0 1px rgba(255, 45, 155, 0.25), 0 18px 50px -24px rgba(255, 45, 155, 0.6);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.22rem 0.6rem;
  border-radius: var(--pill);
  background: var(--neon);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge--cy {
  background: var(--cyan);
  color: #06232b;
}

.badge--off {
  left: auto;
  right: 0.7rem;
  background: var(--ok);
  color: #04291a;
}

/* Mano solo en las tarjetas que abren algo (los listados). Las demás no
   responden al toque: el + es lo único que hace algo. */
.card[data-open] {
  cursor: pointer;
}

.card__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* mismo formato que las fotos del panel (1:1) */
  display: grid;
  place-items: center;
  padding: 1rem 0 0.5rem;
  border: 0;
  background: radial-gradient(60% 55% at 50% 78%, rgba(255, 45, 155, 0.16), transparent 70%);
}

.card__art svg,
.card__art img {
  height: 100%;
  width: auto;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}

/* Botella dibujada (productos sin foto) en el recuadro cuadrado. Tamaño
   absoluto respecto al recuadro: dentro de un <button> el height:100% no se
   resuelve. El SVG mide 100×260, así que 80% de alto = 30.77% de ancho. */
.card__art svg {
  position: absolute;
  top: 10%;
  left: 50%;
  height: 80%;
  width: 30.77%;
  max-width: none;
  margin-left: -15.385%;
}

/* Foto de producto: llega del panel ya ajustada a 1:1, así que CUBRE todo el
   recuadro sin franjas y sin recortes que el administrador no haya elegido. */
.card .card__art--photo {
  padding: 0;
  overflow: hidden;
}

.card .card__art--photo img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.card:hover .card__art--photo img {
  transform: scale(1.03);
  filter: none;
}

.sheet .sheet__art--photo {
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
}

.sheet .sheet__art--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
}

/* En galería cada foto es una diapositiva: deja de estar suelta y absoluta. */
.sheet .sheet__art--galeria.sheet__art--photo .sheet__foto img {
  position: relative;
  inset: auto;
}

/* Foto subida desde el panel: dentro de un <button> el height:100% no se
   resuelve, así que se posiciona absoluta y se ajusta con object-fit. */
.card__art img {
  position: absolute;
  top: 1rem;
  left: 6%;
  width: 88%;
  max-width: none;
  height: calc(100% - 1.5rem);
}

.card:hover .card__art svg,
.card:hover .card__art img {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(255, 45, 155, 0.35));
}

.card--skeleton {
  min-height: 320px;
  cursor: default;
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}

/* Categoría preparada sin productos todavía */
.soon {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 3rem 1.25rem;
  text-align: center;
  border: 1px dashed rgba(255, 45, 155, 0.45);
  border-radius: var(--r-lg);
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 45, 155, 0.1), transparent 70%), var(--surface);
}

.soon__ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px dashed rgba(255, 45, 155, 0.6);
  color: var(--neon-2);
}

.soon__ico svg {
  width: 26px;
  height: 26px;
}

.soon h3 {
  font-size: 1.4rem;
}

.soon p {
  max-width: 28rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 1rem 1rem;
}

.card__cat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
}

.card__name {
  margin-top: 0.3rem;
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card__size {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  flex: 1;
}

.card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.card__price em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__price b {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--bone);
}

.card__price s {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 0.3rem;
}

.add {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: var(--surface-3);
  color: var(--bone);
  transition: all 0.25s var(--ease);
}

.add:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: #fff;
  transform: scale(1.08);
}

.add.is-added {
  background: var(--ok);
  border-color: var(--ok);
  color: #04291a;
}

.add svg {
  width: 18px;
  height: 18px;
}

.empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
}

/* 07. COMBOS */
/* Fondo de "Ibiza colores": halo magenta arriba y la marca gigante abajo */
.section--glow {
  overflow: hidden;
  background: radial-gradient(55% 60% at 70% 20%, rgba(160, 20, 100, 0.45), transparent 70%),
    linear-gradient(180deg, #1a0b1c 0%, var(--ink-2) 60%, #0b1116 100%);
}

.section--glow > .wrap {
  position: relative;
}

.bigword {
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: clamp(5rem, 19vw, 17rem);
  line-height: 0.8;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(34, 211, 238, 0.045);
  pointer-events: none;
  user-select: none;
}

/* El tiburón sentado sobre la última letra del título */
.sit {
  position: relative;
  display: inline-block;
}

.sit img {
  position: absolute;
  left: 50%;
  bottom: 66%;
  width: clamp(58px, 7vw, 84px);
  max-width: none; /* el global img{max-width:100%} lo limitaría al ancho de la letra */
  height: auto;
  transform: translateX(-46%) rotate(4deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.4));
  animation: wiggle 4s ease-in-out infinite;
}

@keyframes wiggle {
  50% {
    transform: translateX(-46%) rotate(-3deg);
  }
}

/* Tira horizontal: caben todos los combos, se deslizan de lado */
.combos__grid {
  --hueco: 1rem;
  display: flex;
  gap: var(--hueco);
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0.4rem 0.2rem 1rem;
}

.combos__grid::-webkit-scrollbar {
  display: none;
}

/* Desplegado: el carrusel se convierte en cuadrícula y se ven todos. */
.combos__mas {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
}

.combos--todos .combos__grid {
  /* Sin anclaje: si no, al crecer la cuadrícula el navegador empuja la vista
     para dejar quieto el botón, y la lista entera se va por arriba. */
  overflow-anchor: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
  scroll-snap-type: none;
}

.combos--todos .combo {
  width: auto;
}

/* Desplegado se ve igual que plegado, solo que más chico: foto más pequeña,
   menos aire y letra algo menor, para que entren varios de un vistazo. */
.combos--todos .combo {
  padding: 1.05rem;
}

.combos--todos .combo__img {
  height: min(185px, 24vh);
}

.combos--todos .combo h3 {
  font-size: 1.05rem;
}

.combos--todos .combo ul {
  font-size: 0.82rem;
}

.combos--todos .combo__foot {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
}

.combos--todos .carrusel__nav {
  display: none;
}

.combo {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(86vw, 340px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 1.4rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation: pop 0.5s var(--ease-out) both;
}

.combo:hover {
  /* Sin mover la tarjeta: si se desplaza, el borde se escapa del puntero y el
     hover se enciende y apaga en bucle (parpadeo). El brillo hace el efecto. */
  box-shadow: 0 0 0 1px rgba(255, 45, 155, 0.35), 0 22px 50px -24px rgba(255, 45, 155, 0.6);
  border-color: var(--neon);
}

.combo::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 45, 155, 0.35);
  filter: blur(60px);
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}

.combo:hover::before {
  opacity: 0.9;
}

/* Foto del combo arriba, dentro de la misma tarjeta */
.combo--foto {
  padding-top: 1.1rem;
}

/* La foto manda su ALTO, no su ancho: así la tarjeta nunca se estira tanto
   como para que no se vean juntas la foto y la lista del combo. */
.combo__img {
  position: relative;
  isolation: isolate;
  height: min(250px, 30vh);
  width: auto;
  aspect-ratio: 4 / 5; /* mismo formato que las fotos del panel: entra completa */
  margin: 0 auto 1rem;
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 45, 155, 0.35);
  box-shadow: 0 0 24px -6px rgba(255, 45, 155, 0.5);
  background: var(--ink);
}

.combo__img img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover; /* la foto llega ajustada a 4:5 desde el panel: cubre todo */
  transition: transform 0.5s var(--ease-out);
}

/* De tablet en adelante las tarjetas se miden para que entren ENTERAS en la
   tira: --por-vista dice cuántas caben a la vez, y de ahí sale su ancho. Así
   en escritorio nunca queda un combo cortado por la mitad.
   (En el celular no se toca: ahí la siguiente tarjeta asoma a propósito.) */
@media (min-width: 760px) {
  .combos__grid {
    --por-vista: 2;
    scroll-snap-type: x mandatory;
  }

  /* Dos por fila: el mismo ancho que el carrusel ya les da, así la tarjeta
     conserva su forma en vez de aplastarse. */
  .combos--todos .combos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .combo {
    width: calc((100% - (var(--por-vista) - 1) * var(--hueco)) / var(--por-vista));
  }
}

/* Con sitio de sobra, la foto se pone al lado del contenido: la tarjeta mide
   la mitad de alto y se lee todo de un vistazo. */
@media (min-width: 1200px) {
  .combo--foto {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: repeat(4, auto);
    column-gap: 1.3rem;
    align-content: start;
    padding-top: 1.4rem;
  }

  .combo--foto .combo__img {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    height: auto;
    width: 100%;
    margin: 0;
  }

  .combo--foto > *:not(.combo__img) {
    grid-column: 2;
  }

  .combo--foto .combo__foot {
    align-self: end;
  }

  /* Desplegado: la foto no se estira aunque la tarjeta sea más ancha. Así el
     texto gana sitio, la tarjeta queda más baja y entran más de un vistazo. */
  .combos--todos .combo--foto {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    column-gap: 1rem;
    padding-top: 1.05rem;
  }

  .combos--todos .combo--foto .combo__img {
    max-width: 165px;
  }
}

.combo:hover .combo__img img {
  transform: scale(1.02);
}

.combo__kicker {
  position: relative;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.combo h3 {
  position: relative;
  margin-top: 0.55rem;
  font-size: 1.32rem;
  line-height: 1.1;
}

.combo ul {
  position: relative;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  /* juntos arriba: en el carrusel las tarjetas igualan alturas y, sin esto,
     los combos cortos repartían el sobrante entre sus líneas */
  align-content: start;
  gap: 0.45rem;
  flex: 1;
}

.combo li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--bone-dim);
}

.combo li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--neon);
  flex: none;
}

.combo__foot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

/* Promos */
.head--center {
  margin-inline: auto;
  text-align: center;
}

.head--center .eyebrow::before {
  display: none;
}

.head--center p {
  margin-inline: auto;
}

.eyebrow--cy {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
}

.promos {
  background: radial-gradient(50% 60% at 15% 30%, rgba(255, 45, 155, 0.12), transparent 70%),
    radial-gradient(45% 60% at 90% 80%, rgba(124, 58, 237, 0.16), transparent 70%), var(--ink);
}

.promos__grid {
  display: grid;
  /* Tres tarjetas normales en una fila; la del video ocupa la de abajo entera.
     Con dos columnas, la tercera dejaba un hueco al lado. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.promo {
  --tone: 255, 45, 155;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(var(--tone), 0.35);
  background: radial-gradient(70% 80% at 85% 0%, rgba(var(--tone), 0.28), transparent 65%),
    linear-gradient(170deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.promo--cyan {
  --tone: 34, 211, 238;
}

.promo--violet {
  --tone: 157, 92, 255;
}

.promo:hover {
  border-color: rgba(var(--tone), 0.8);
  box-shadow: 0 0 0 1px rgba(var(--tone), 0.4), 0 20px 50px -20px rgba(var(--tone), 0.6);
}

.promo__kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--tone));
  text-shadow: 0 0 10px rgba(var(--tone), 0.7);
}

.promo h3 {
  margin-top: 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.promo p {
  margin-top: 0.6rem;
  max-width: 30rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

.promo__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
}

.promo__arrow {
  width: 64px;
  height: 64px;
  flex: none;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.7));
  transition: transform 0.35s var(--ease-out);
}

.promo__cta:focus-visible {
  outline-offset: 4px;
  border-radius: var(--r);
}

.promo__cta:focus:not(:focus-visible) {
  outline: none;
}

.promo__cta:hover .promo__arrow {
  transform: translateX(6px);
}

/* Tarjeta de sorteos: ancho completo con el video al lado */
/* Sticker del mes: igual que las otras dos tarjetas, solo cambia el tono. */
.promo--sticker {
  --tone: 124, 58, 237;
}

.promo--video {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}

.promo__info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(var(--tone), 0.5);
  box-shadow: 0 0 30px rgba(var(--tone), 0.35);
  background: #000;
}

.video[hidden] {
  display: none;
}

/* Los reels de Instagram son verticales y además Instagram manda su propio
   marco (usuario, corazón, comentarios). Se limita el tamaño para que el
   recuadro no se coma la tarjeta entera. */
.video--ig {
  aspect-ratio: 4 / 5;
  width: min(100%, 340px);
  max-height: 440px;
  margin-inline: auto;
  background: #0a0710;
}

.video__cover--ig {
  display: grid;
  place-items: center;
  gap: 0.6rem;
  background: radial-gradient(70% 60% at 50% 40%, rgba(124, 58, 237, 0.55), rgba(10, 7, 16, 0.95) 72%);
}

.video__ig {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.video__ig svg {
  width: 18px;
  height: 18px;
  color: var(--neon-2);
}

.promo--video:has(.video[hidden]) {
  grid-template-columns: 1fr;
}

.video iframe,
.video__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
}

.video__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease-out);
}

.video__cover:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--neon);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 45, 155, 0.25), 0 0 40px rgba(255, 45, 155, 0.8);
  transition: box-shadow 0.3s var(--ease);
}

.video__cover:hover .video__play {
  box-shadow: 0 0 0 12px rgba(255, 45, 155, 0.3), 0 0 60px rgba(255, 45, 155, 0.95);
}

.video__play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

/* 08. NOSOTROS */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__text p {
  margin-top: 1rem;
  color: var(--bone-dim);
}

/* La historia de la marca va justificada, como un texto impreso */
.about__text .head p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Banner de La Chiva Fiestera
 Cierra la sección de sorteos y eventos: foto a la izquierda, texto y
 botón a la derecha; en el móvil se apila.
*/
.chiva {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 0;
  margin-top: 1.1rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.28), rgba(255, 45, 155, 0.18) 60%, transparent),
    var(--surface);
}

.chiva__art {
  position: relative;
  display: block;
  min-height: 260px;
}

.chiva__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

/* La foto se funde con el fondo de la tarjeta */
.chiva__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--surface));
}

.chiva__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.7rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.chiva__kicker {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.chiva__name {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 26px rgba(255, 45, 155, 0.5);
}

.chiva__lead {
  max-width: 30rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--bone-dim);
}

/* Sello de convenio, en lugar de un botón: no lleva a ninguna parte */
.chiva__kicker {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: var(--pill);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
}

/* Convenio secundario. Va debajo del de la chiva y tiene que pasar
   desapercibido: sin degradado, sin neón y sin tipografía de titular. Solo
   una franja baja con la foto en miniatura al lado del texto en gris. */
.convenio {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 0.7rem;
  padding: 0.8rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.convenio__art {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  overflow: hidden;
}

.convenio__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.convenio__txt {
  display: grid;
  gap: 0.15rem;
}

.convenio__kicker {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.convenio__name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bone);
}

.convenio__lead {
  /* Sin tope de ancho: el texto llega hasta el final de la franja. Al ir
     justificado, el renglón cierra parejo contra el borde derecho. */
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  /* Justificado. En una columna estrecha el justificado abre huecos entre
     palabras, así que va con partición de palabras: el navegador corta por
     sílabas (la página declara lang="es-EC") y los renglones quedan parejos. */
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Enlace al sitio de Clipp. Apagado como el resto del bloque: solo se
   enciende al pasar el ratón. */
.convenio__btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  color: var(--bone-dim);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.convenio__btn:hover {
  color: #fff;
  border-color: var(--cyan);
}

.convenio__btn svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 560px) {
  .convenio {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.7rem;
  }

  .convenio__lead {
    font-size: 0.73rem;
  }
}

/* Misión y visión */
.mv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.mv__card {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 5.9rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), transparent 60%), var(--surface);
  overflow: hidden;
}

.mv__card img {
  position: absolute;
  left: -1rem;
  bottom: -1.2rem;
  width: 7rem;
  height: auto;
}

.mv__card h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neon-2);
}

.mv__card p {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--bone-dim);
}

.mv__card b {
  color: var(--bone);
}

.pillars {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pillar {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
}

.pillar__ico {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 45, 155, 0.12);
  border: 1px solid rgba(255, 45, 155, 0.28);
  color: var(--neon);
}

.pillar__ico svg {
  width: 19px;
  height: 19px;
}

.pillar b {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pillar p {
  margin-top: 0.15rem;
  font-size: 0.87rem;
  color: var(--muted);
}

/* Póster real del local, en marco neón, con el tiburón de gorra asomándose */
.poster {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
}

.poster > img {
  display: block;
  width: 100%;
  height: auto;
  animation: floaty 7s ease-in-out infinite;
}

.poster figcaption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* Franja de marca */
.stripe {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255, 45, 155, 0.1), transparent);
  text-align: center;
  font-family: var(--ff-display);
  font-size: clamp(0.9rem, 2.4vw, 1.5rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* 09. VISÍTANOS */
.visit__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  margin-top: 2.25rem;
  /* Sin esto las dos columnas se estiran a la misma altura y el panel de
     horarios queda medio vacío: la de al lado lleva mapa y cuatro tarjetas. */
  align-items: start;
}

/* Columna izquierda: horarios arriba, convenio debajo. Cada uno mide lo
   que mide su contenido. */
.visit__col {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.panel {
  padding: 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.panel h3 {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}

.hours {
  display: grid;
  gap: 0;
}

.hours div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.hours div:last-child {
  border-bottom: 0;
}

.hours dt {
  color: var(--muted);
}

.hours dd {
  margin: 0;
  font-weight: 600;
}

.hours .is-pending dd {
  color: var(--gold);
}

.map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.fact {
  padding: 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
}

.fact em {
  font-style: normal;
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
}

.fact p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--bone-dim);
}

.fact a:hover {
  color: var(--neon);
}

/* Invitación a hacer convenio. Ocupa las dos columnas de la rejilla porque
   lleva mensaje y dos contactos; apretada a la mitad, el correo se parte. */
.fact--convenio {
  display: grid;
  gap: 0.6rem;
  background: linear-gradient(130deg, rgba(34, 211, 238, 0.09), transparent 55%), var(--surface);
  border-color: rgba(34, 211, 238, 0.28);
}

/* El mismo sello de la tarjeta de la chiva, con resplandor. */
.fact__sello {
  justify-self: start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--pill);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.75), 0 0 22px rgba(34, 211, 238, 0.35);
}

.fact--convenio .fact__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--bone-dim);
}

.fact--convenio .fact__lead b {
  color: var(--bone);
  font-weight: 700;
}

.fact__contacto {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.fact__contacto a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cyan);
  word-break: break-word;
}

.fact__contacto a:hover {
  color: #fff;
}

@media (max-width: 560px) {
  .fact__contacto {
    gap: 0.3rem;
  }

  .fact__contacto a {
    font-size: 0.85rem;
  }
}

/* 10. CTA FINAL */
.cta {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 75% at 50% 50%, rgba(255, 45, 155, 0.22), transparent 70%);
}

.cta > .wrap {
  position: relative;
}

.cta__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.cta__shark {
  width: min(100%, 360px);
  height: auto;
  justify-self: center;
}

.cta h2 {
  font-size: clamp(2.1rem, 6.5vw, 4rem);
  margin-top: 0.8rem;
}

.cta p {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--bone-dim);
}

.cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

/* 11. FOOTER */
.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.footer p {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 21rem;
}

.footer h4 {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer li,
.footer ul a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.footer ul a:hover {
  color: var(--neon);
}

.socials {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--bone-dim);
  transition: all 0.28s var(--ease);
}

.socials a:hover {
  box-shadow: 0 0 14px rgba(255, 45, 155, 0.45);
  border-color: var(--neon);
  color: var(--neon);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.age-chip {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  font-family: var(--ff-display);
  font-size: 0.8rem;
}

.footer__bar .dev {
  font-size: 0.68rem;
  opacity: 0.8;
}

.footer__bar .dev b {
  font-weight: 600;
  color: var(--bone-dim);
}

.footer__bar .dev a:hover {
  color: var(--neon);
}

.footer__bar {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

/* 12. CARRITO */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 65;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 16, 0.7);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.drawer.is-open .drawer__scrim {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 400px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line-2);
  transform: translateX(102%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: var(--sh-3);
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.drawer__head h3 {
  font-size: 1.15rem;
}

.drawer__items {
  flex: 1 1 auto;
  /* Cero, no 34vh: un elemento flex no baja de su mínimo, y con la tira alta
     eso empujaba el pie —y el botón de WhatsApp— fuera de la pantalla. Ahora
     esta lista cede y se desplaza por dentro. */
  min-height: 0;
  overflow-y: auto;
  padding: 0.85rem 1.1rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.drawer__head h3 span {
  color: var(--neon);
}

.line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface-2);
  animation: pop 0.35s var(--ease-out) both;
}

.line__art {
  /* Cuadrado, como las fotos que suben por el panel: así la foto lo llena
     entera y no quedan franjas arriba y abajo. */
  width: 64px;
  height: 64px;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  border-radius: var(--r-sm);
  background: radial-gradient(circle at 50% 75%, rgba(255, 45, 155, 0.2), var(--ink) 75%);
  overflow: hidden;
}

/* La foto llena el cuadrado. */
.line__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* El dibujo de respaldo es muy alargado: se deja entero, sin recortar. */
.line__art svg {
  height: 54px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
}

.line__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.line__name {
  display: block;
  max-width: 100%;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.line__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.line .qty {
  margin-top: 0.45rem;
}

.line__side {
  display: grid;
  justify-items: end;
  align-self: stretch;
  align-content: space-between;
  gap: 0.4rem;
}

.line__side b {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
}

.line__del {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}

.line__del:hover {
  color: #ff6b7a;
  border-color: #ff6b7a;
  background: rgba(255, 77, 94, 0.1);
}

.line__del svg {
  width: 16px;
  height: 16px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.qty button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface-3);
  color: var(--bone);
  font-size: 0.95rem;
  line-height: 1;
  transition: all 0.2s var(--ease);
}

.qty button:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.drawer__empty {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.drawer__empty img {
  width: 155px;
  height: auto;
  margin: -1.2rem 0 -1.4rem;
}

.drawer__empty b {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bone);
}

.drawer__foot {
  flex: none;
  padding: 0.85rem 1.1rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.totals {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 0.5rem;
}

.totals div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9rem;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  margin: 0;
  font-weight: 600;
}

.totals dd.is-pending {
  color: var(--gold);
  font-size: 0.8rem;
}

.totals__total {
  margin-top: 0.2rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}

.totals__total dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.totals__total dd {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  text-shadow: 0 0 18px rgba(255, 45, 155, 0.4);
}

#cartSend.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.drawer__note {
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

/* 13. AGE GATE + FAB */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 7, 16, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.agegate[hidden] {
  display: none;
}

.agegate__card {
  position: relative;
  width: min(100%, 27rem);
  padding: clamp(1.75rem, 4vw, 2.4rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  /* el degradado oscuro de arriba iguala el fondo del sticker: no se ve el recuadro */
  background: radial-gradient(85% 40% at 50% 10%, var(--ink) 26%, transparent 88%), var(--surface);
  box-shadow: var(--sh-3);
  text-align: center;
  overflow: hidden;
}

.agegate__card::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 45, 155, 0.32);
  filter: blur(70px);
}

.agegate__shark {
  position: relative;
  display: block;
  width: 210px;
  height: auto;
  margin: -1.6rem auto -0.9rem;
}

.agegate h2 {
  position: relative;
  margin-top: 1.25rem;
  font-size: 1.5rem;
}

.agegate p {
  position: relative;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--bone-dim);
}

.agegate__actions {
  position: relative;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.7rem;
}

.agegate small {
  position: relative;
  display: block;
  margin-top: 1.3rem;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Carrito flotante (reemplaza al botón de WhatsApp) */
.fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 45;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--neon), var(--violet));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 14px 34px -10px rgba(255, 45, 155, 0.8),
    0 0 26px rgba(255, 45, 155, 0.35);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.fab:hover {
  transform: scale(1.07);
}

.fab svg {
  width: 26px;
  height: 26px;
}

.fab__count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  border: 2px solid var(--ink);
  background: var(--cyan);
  color: #06232b;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.fab__count.is-zero {
  background: var(--surface-3);
  color: var(--bone-dim);
}

body.cart-open .fab {
  opacity: 0;
  pointer-events: none;
}

/* Glow breve al agregar un producto */
.is-bump {
  animation: bump 0.65s var(--ease-out);
}

.is-bump::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 45, 155, 0.75);
  animation: ring 0.75s var(--ease-out);
  pointer-events: none;
}

@keyframes bump {
  30% {
    transform: scale(1.18);
    filter: brightness(1.25);
  }
  60% {
    transform: scale(0.95);
  }
}

@keyframes ring {
  to {
    box-shadow: 0 0 0 16px rgba(255, 45, 155, 0);
  }
}

/* FICHA DE PRODUCTO (sigue la referencia "como se deberían ver los productos") */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 66;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.sheet[hidden] {
  display: none;
}

.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.sheet__card {
  position: relative;
  width: min(100%, 780px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 45, 155, 0.45);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--sh-3), 0 0 60px -20px rgba(255, 45, 155, 0.6);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.28s var(--ease), transform 0.35s var(--ease-out);
}

.sheet.is-open .sheet__scrim,
.sheet.is-open .sheet__card {
  opacity: 1;
  transform: none;
}

.sheet__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
}

/* Galería de la ficha
 Las fotos se pasan deslizando (dedo o flechas) y la barra de abajo marca por
 dónde va. El deslizamiento lo lleva el navegador con scroll-snap: sale suave
 y sin JavaScript en medio.
*/
.sheet__media {
  position: relative;
  isolation: isolate;
}

.sheet__art--galeria {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0;
}

.sheet__art--galeria::-webkit-scrollbar {
  display: none;
}

.sheet__foto {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* Flechas: solo en pantallas con puntero, como en las tiendas de ropa. */
.sheet__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 7, 16, 0.6);
  backdrop-filter: blur(6px);
  color: var(--bone);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.sheet__nav:hover {
  background: rgba(10, 7, 16, 0.85);
}

.sheet__nav svg {
  width: 17px;
  height: 17px;
}

.sheet__nav--prev {
  left: 0.7rem;
  transform: rotate(180deg);
}

.sheet__nav--next {
  right: 0.7rem;
}

.sheet__nav[hidden] {
  display: none;
}

.sheet__barra {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.8rem;
  z-index: 2;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.sheet__barra span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--bone);
  transition: transform 0.15s linear;
}

.sheet__barra[hidden] {
  display: none;
}

.sheet__art {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem 1.5rem;
  background: radial-gradient(55% 55% at 50% 70%, rgba(255, 45, 155, 0.28), transparent 70%),
    radial-gradient(40% 30% at 50% 92%, rgba(124, 58, 237, 0.3), transparent 70%);
  border-right: 1px solid var(--line);
}

.sheet__art svg,
.sheet__art img {
  height: 300px;
  max-height: 100%;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(255, 45, 155, 0.3));
}

.sheet__body {
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.6rem 1.6rem;
}

.sheet__name {
  margin-top: 0.4rem;
  padding-right: 2.5rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1;
}

.sheet__desc {
  margin-top: 1rem;
  color: var(--bone-dim);
  font-size: 0.95rem;
  flex: 1;
  /* El panel guarda la descripción con sus párrafos y el servidor los
     conserva; sin esto la ficha los pintaba todos pegados en un bloque. */
  white-space: pre-line;
}

/* Tallas de una prenda
 Una caja por talla, como en cualquier tienda de ropa: la elegida se rellena,
 la agotada se apaga y no se deja tocar.
*/
.sheet__buy {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.sheet__precio b {
  font-size: 1.9rem;
}

.tallas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
}

.talla {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.1rem;
  min-height: 48px;
  padding: 0.4rem 0.3rem;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--bone);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.talla:hover:not(:disabled) {
  border-color: var(--neon);
}

.talla.is-on {
  border-color: var(--neon);
  background: var(--neon);
  color: #fff;
  box-shadow: 0 0 20px -4px rgba(255, 45, 155, 0.75);
}

.talla--no {
  cursor: not-allowed;
  opacity: 0.4;
  text-decoration: line-through;
}

.talla small {
  font-family: var(--ff-base);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.sheet__aviso {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* En celular la ficha se desplaza por dentro y el botón quedaba abajo del
   todo, fuera de la vista. Se queda pegado al borde, siempre a un toque. */
@media (max-width: 760px) {
  .sheet__buy #sheetAdd {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -14px 20px -6px var(--surface);
  }
}

/* La talla, bajo el nombre, en la línea del carrito */
.line__talla {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon);
}

.card__foot--info {
  justify-content: flex-start;
}

.card__foot--info .card__price b {
  font-size: 1.05rem;
  color: var(--cyan);
}

/* Acompáñalo con
 Tira de sugerencias: hielo, colas, agua. Vive SOLO dentro del carrito, que
 es donde la gente cierra el pedido y la ve sin tener que abrir nada. En la
 ficha del producto estorbaba, sobre todo en el celular.
 En pantallas chicas se desliza en horizontal para no alargar la pantalla.
*/
.pair {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Dentro del carrito va pegada al pie y en pequeño: lo que importa ahí son
   los productos del pedido, esto es un extra. */
.pair--cart {
  flex: none;
  margin-top: 0;
  padding: 0.6rem 1.1rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
}

.pair--cart .pair__title {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
}

.pair--cart .pair__list {
  /* Fijo, no 1fr: si no, con pocas fichas cada una se estira y la foto se
     vuelve enorme. Así siempre se ven igual y la tira se desliza. */
  grid-auto-columns: 120px;
  gap: 0.5rem;
}

.pair--cart .pair__item {
  padding: 0.85rem 0.35rem 0.45rem;
  border-radius: 12px;
}

.pair--cart .pair__art {
  /* Cuadrado y del ancho de la ficha: la foto, que tambien es cuadrada, lo
     llena entero. Mas grande que esto solo se consigue recortandola. */
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.3rem;
}

.pair--cart .pair__name {
  font-size: 0.68rem;
  -webkit-line-clamp: 1;
}

.pair--cart .pair__price {
  font-size: 0.84rem;
  font-weight: 800;
}

.pair--cart .pair__plus {
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
}

.pair--cart .pair__plus svg {
  width: 13px;
  height: 13px;
}

/* Pantallas bajas (celular apaisado, ventanas cortas): el aviso de WhatsApp
   se puede leer después; los productos no. */
@media (max-height: 700px) {
  .drawer__note {
    display: none;
  }

  .totals__total dd {
    font-size: 1.3rem;
  }

  /* Pantallas bajas: se le pone techo para que el pedido siga cabiendo. */
  .pair--cart .pair__art {
    max-height: 88px;
  }
}

/* Ventanas muy bajas (portátil con la barra del navegador): la tira se aprieta
   más todavía para que se sigan viendo productos del pedido. */
@media (max-height: 620px) {
  .pair--cart .pair__art {
    max-height: 60px;
  }

  .pair--cart .pair__list {
    grid-auto-columns: 92px;
  }
}

.pair[hidden] {
  display: none;
}

/* Puede haber varias tiras seguidas (una por regla): la segunda y las
   siguientes necesitan aire por arriba. */
.pair__list + .pair__title {
  margin-top: 0.85rem;
}

.pair--cart .pair__list + .pair__title {
  margin-top: 0.6rem;
}

.pair__title {
  margin: 0 0 0.7rem;
  font-family: var(--ff-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pair__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(104px, 1fr);
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.3rem;
  scrollbar-width: thin;
}

.pair__item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 1.1rem 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.pair__item:hover,
.pair__item:focus-visible {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
}

.pair__item.is-added {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.18);
}

.pair__art {
  display: grid;
  /* La fila se queda en la altura del hueco. Sin esto crece con la foto y
     esta se desborda encima del nombre y del precio. */
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: 54px;
  margin-bottom: 0.25rem;
  overflow: hidden;
}

.pair__art img,
.pair__art svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pair__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
}

.pair__price {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  color: var(--cyan);
}

/* El + va DENTRO de la ficha: si sobresale, la tira (que se desliza) se lo
   come por el borde. Del tamaño de un dedo. */
.pair__plus {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--neon);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pair__plus svg {
  width: 16px;
  height: 16px;
}

/* Aviso flotante al agregar al carrito */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 70;
  transform: translate(-50%, 24px);
  padding: 0.7rem 1.2rem;
  border-radius: var(--pill);
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-3);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 14. RESPONSIVE */
@media (max-width: 1180px) {
  .nav a {
    padding-inline: 0.55rem;
    font-size: 0.8rem;
  }

  .nav a::after {
    left: 0.55rem;
    right: 0.55rem;
  }

  .wa-btn__label {
    display: none;
  }

  .wa-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 1080px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .catgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
  }

  .wa-btn__label {
    display: none;
  }

  .wa-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .about,
  .visit__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .catgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catview__bg {
    inset: 0;
    opacity: 0.3;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .poster {
    order: -1;
    width: min(100%, 320px);
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__art {
    min-height: 0;
    padding-top: 0.5rem;
  }

  .hero__screen {
    width: min(70%, 280px);
    max-height: 420px;
  }

  .mv {
    grid-template-columns: 1fr;
  }

  /* En columna, la marca va abajo, detrás del tiburón (no detrás de botones) */
  .hero__mark {
    bottom: 7.5rem;
    font-size: clamp(4rem, 22vw, 9rem);
  }

  .promos__grid,
  .promo--video {
    grid-template-columns: 1fr;
  }

  .chiva {
    grid-template-columns: 1fr;
  }

  .chiva__art {
    min-height: 220px;
  }

  .chiva__art::after {
    background: linear-gradient(180deg, transparent 45%, var(--surface));
  }

  .cta__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta__shark {
    width: min(60%, 240px);
  }

  /* En una columna, espacio abajo para que la marca gigante quede
     debajo de los botones y no detrás de ellos */
  .cta {
    padding-bottom: calc(3.5rem + 14vw);
  }

  .cta p {
    margin-inline: auto;
  }

  .cta__btns {
    justify-content: center;
  }

  .sheet__card {
    grid-template-columns: 1fr;
    width: min(100%, 460px);
  }

  .sheet__art {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sheet__art svg,
  .sheet__art img {
    height: 220px;
  }

  .sheet__body {
    padding-top: 1.4rem;
  }
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .search {
    flex: 1 1 100%;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

@media (max-width: 520px) {
  :root {
    --hdr-h: 60px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__txt .logo {
    font-size: 1rem;
  }

  .catgrid {
    gap: 0.6rem;
  }

  .catcard {
    border-radius: 16px;
  }

  .catcard__txt {
    padding: 0.7rem;
    font-size: 0.72rem;
  }

  .catcard__txt b {
    display: block;
    font-size: 1.1rem;
  }

  .catalog__more .btn {
    width: 100%;
  }

  .note {
    flex-direction: column;
    gap: 0.45rem;
  }

  .peek {
    width: 118px;
    margin-bottom: -12px;
  }

  .hero__screen {
    width: min(74%, 240px);
    border-radius: 20px;
  }

  .mv__card {
    padding-left: 4.6rem;
  }

  .mv__card img {
    width: 4.6rem;
  }

  .search {
    min-width: 0;
  }

  /* Ficha como hoja inferior en el móvil */
  .sheet {
    align-items: end;
    padding: 0;
  }

  .sheet__card {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: translateY(40px);
  }

  .sheet__art {
    min-height: 210px;
    padding-top: 1.8rem;
  }

  .sheet__art svg,
  .sheet__art img {
    height: 180px;
  }

  .fab {
    width: 56px;
    height: 56px;
  }

  .line {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 0.6rem;
    padding: 0.6rem;
  }

  .line__art {
    width: 56px;
    height: 56px;
  }

  .brand__txt > span {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .hero__cta .btn,
  .cta__btns .btn {
    width: 100%;
  }

  .agegate__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
