:root {
  --bg-main: #f7fbff;
  --bg-soft: #eef7ff;
  --surface: #ffffff;
  --surface-2: #f2f8ff;
  --text: #2f4866;
  --text-soft: #5d7591;
  --line: rgba(135, 173, 206, 0.35);
  --pink: #f2559a;
  --pink-strong: #dc3d84;
  --violet: #89b5e8;
  --lilac: #bed9f6;
  --cyan: #9fe6ff;
  --peach: #ffd0e7;
  --whatsapp: #25d366;
  --shadow: 0 12px 30px rgba(146, 185, 220, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 120% 80% at 8% -10%, rgba(159, 230, 255, 0.42) 0%, transparent 42%),
    radial-gradient(ellipse 90% 60% at 92% 8%, rgba(242, 85, 154, 0.22) 0%, transparent 38%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(137, 181, 232, 0.2) 0%, transparent 45%),
    linear-gradient(158deg, #fbfdff 0%, #f0f7ff 38%, #e8f2fc 100%);
  min-height: 100vh;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 252, 254, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(190, 217, 246, 0.65);
  box-shadow: 0 4px 24px rgba(137, 181, 232, 0.12);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.navbar {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0.55rem clamp(8px, 1.4vw, 18px);
  min-height: 113px;
  display: grid;
  /* Marca | menú (usa el espacio central) | acciones */
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(0.7rem, 1.9vw, 1.35rem);
  row-gap: 0.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
  justify-self: start;
  margin-left: 0;
}

.navbar-brand:hover .navbar-brand-name {
  color: var(--pink-strong);
}

.navbar-logo {
  width: 98px;
  height: 98px;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.15;
  text-align: left;
}

.navbar-brand-taglines {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.navbar-brand-name {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #3f6288;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.navbar-brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: #6d8eb5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.navbar-menu {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 0.45rem 0.5rem;
  row-gap: 0.5rem;
  min-width: 0;
  max-width: none;
  width: 100%;
  padding: 0.2rem 0;
  box-sizing: border-box;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.navbar-catalog-links {
  display: contents;
}

.nav-link {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  color: #5d7591;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.25;
  border: 2px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: #416b98;
  background: rgba(190, 217, 246, 0.45);
  border-color: rgba(137, 181, 232, 0.35);
}

.nav-link-cat.active {
  color: #71224b;
  background: linear-gradient(135deg, rgba(255, 192, 225, 0.75), rgba(190, 217, 246, 0.55));
  border-color: rgba(242, 85, 154, 0.45);
  box-shadow: 0 4px 14px rgba(242, 85, 154, 0.15);
}

.navbar-end {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  margin-right: 0;
}

.btn-nav-cta {
  padding: 0.46rem 0.88rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(137, 181, 232, 0.55);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(190, 217, 246, 0.35);
  border-color: rgba(137, 181, 232, 0.85);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #416b98;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero.hero-slider {
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #e8eef5;
  min-height: clamp(34rem, 94vh, 60rem);
  isolation: isolate;
  box-shadow:
    0 24px 60px rgba(47, 72, 102, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* Imagen unica: sin forzar cover a pantalla completa (evita pixelado por upscale) */
.hero.hero-slider.hero-slider--static {
  min-height: 0;
  display: block;
}

.hero-slider--static .hero-media {
  position: relative;
  inset: auto;
  z-index: 1;
  min-height: 0;
  max-width: min(100%, 1920px);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3.5vw, 1.75rem);
  padding-bottom: clamp(0.375rem, 1.125vw, 0.75rem);
}

.hero-slider--static .hero-slides {
  position: relative;
  inset: auto;
}

.hero-slider--static .hero-slide {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-radius: clamp(20px, 3.2vw, 36px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 8px 32px rgba(45, 72, 102, 0.12),
    0 2px 8px rgba(45, 72, 102, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  border: 1px solid rgba(135, 173, 206, 0.45);
}

.hero-slider--static .hero-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(92vh, 1080px);
  margin: 0 auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  /* Tamano natural del archivo: no escalar por encima de los pixeles reales */
  image-rendering: auto;
}

/* Inicio: carrusel + banners; pegado al navbar, sin franja en blanco */
.hero.hero-slider.hero-home {
  margin: 0;
  padding: 0;
  border-top: 0;
}

/* Hermano inmediato del header: cero desplazamiento y min-height solo al contenido */
header.site-top + section#inicio.hero.hero-slider.hero-home {
  margin-top: 0;
  padding-top: 0;
  min-height: 0;
  border-top: 0;
}

header.site-top + #inicio .hero-home-stack {
  margin-top: 0;
  padding-top: 0;
}

/* Inicio: imagen principal + carrusel promoción + banners (Día de la Madre) */
.hero-home-stack {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(0.65rem, 2vw, 1.1rem);
}

.hero-home {
  min-height: 0;
}

.hero-home .hero-promo-carousel {
  width: 100%;
  margin: 0;
}

.hero-promo-carousel {
  display: block;
  width: 100%;
  min-height: 0;
}

.hero-promo-viewport {
  position: relative;
  width: 100%;
  /* Misma proporción que referencia 1024x512 (2:1) */
  aspect-ratio: 2 / 1;
  min-height: 0;
  /* Esquinas superiores planas: el bloque toca el borde bajo el navbar (sin tira clara) */
  border-radius: 0 0 clamp(14px, 2.4vw, 26px) clamp(14px, 2.4vw, 26px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(135, 173, 206, 0.45);
  box-shadow:
    0 8px 32px rgba(45, 72, 102, 0.12),
    0 2px 8px rgba(45, 72, 102, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  outline: none;
}

/* Después de border abreviado: sin borde superior bajo el navbar (evita doble línea) */
.hero-home .hero-promo-viewport {
  border-top: none;
}

/* Sutil velo inferior para que flechas y puntos se lean sobre fotos claras */
.hero-promo-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(45, 72, 102, 0.12) 55%,
    rgba(45, 72, 102, 0.2) 100%
  );
  pointer-events: none;
  z-index: 2;
  border-radius: 0 0 inherit inherit;
}

.hero-promo-viewport:focus-visible {
  outline: 3px solid rgba(159, 230, 255, 0.95);
  outline-offset: 3px;
}

.hero-promo-track {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(0.2rem, 0.8vw, 0.45rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s step-end;
  pointer-events: none;
}

.hero-promo-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s step-start;
  z-index: 1;
  pointer-events: auto;
}

.hero-promo-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: clamp(8px, 1vw, 12px);
}

.hero-promo-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(0.45rem, 1.8vw, 0.95rem);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
  max-width: calc(100% - 1.25rem);
  margin: 0;
  pointer-events: auto;
}

.hero-promo-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(137, 181, 232, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #416b98;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.18s ease, border-color 0.2s ease;
}

.hero-promo-arrow:hover {
  background: rgba(190, 217, 246, 0.55);
  border-color: rgba(242, 85, 154, 0.45);
  color: var(--pink-strong);
}

.hero-promo-arrow:focus-visible {
  outline: 3px solid rgba(159, 230, 255, 0.95);
  outline-offset: 2px;
}

.hero-promo-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(135, 173, 206, 0.4);
}

.hero-promo-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(65, 107, 152, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-promo-dot.is-active {
  width: 1.5rem;
  background: linear-gradient(90deg, #ff80bc, #9fe6ff);
}

.hero-promo-dot:focus-visible {
  outline: 2px solid rgba(159, 230, 255, 0.95);
  outline-offset: 2px;
}

.promo-banners-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.4rem, 1.5vw, 0.85rem);
  margin-top: clamp(0.45rem, 1.5vw, 0.9rem);
  padding: 0 clamp(0.45rem, 1.2vw, 0.9rem);
}

.promo-banner-card {
  display: block;
  border-radius: clamp(12px, 2vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(135, 173, 206, 0.45);
  background: #fff;
  box-shadow: 0 6px 22px rgba(45, 72, 102, 0.1);
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45, 72, 102, 0.14);
}

.promo-banner-card:focus-visible {
  outline: 3px solid rgba(159, 230, 255, 0.95);
  outline-offset: 3px;
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 720px) {
  .hero-promo-viewport {
    aspect-ratio: 2 / 1;
    min-height: 0;
  }

  .promo-banners-row {
    grid-template-columns: 1fr;
  }

  .hero-promo-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

@media (max-width: 420px) {
  .hero-home-stack {
    padding-bottom: 0.65rem;
  }

  .hero-promo-viewport {
    border-radius: 0 0 12px 12px;
  }

  .promo-banners-row {
    gap: 0.35rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-promo-slide {
    transition: opacity 0.25s ease, visibility 0.25s step-end;
  }

  .hero-promo-slide.is-active {
    transition: opacity 0.25s ease, visibility 0s step-start;
  }

  .promo-banner-card {
    transition: none;
  }

  .promo-banner-card:hover {
    transform: none;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 100%;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.35s ease;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Sin velo fuerte: la foto se ve limpia */
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(15, 23, 42, 0.06) 100%
  );
}

.hero-overlay {
  position: relative;
  z-index: 3;
  min-height: clamp(34rem, 94vh, 60rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2.75rem, 7vw, 5rem) env(safe-area-inset-right, 0) clamp(4.5rem, 12vw, 6.5rem) env(safe-area-inset-left, 0);
  padding-top: max(clamp(2.75rem, 7vw, 5rem), env(safe-area-inset-top, 0));
  background: transparent;
}

.hero-slider .hero-content {
  max-width: 44rem;
  width: min(100%, 44rem);
  margin: 0 auto;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  justify-items: center;
  text-align: center;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 3.5vw, 2rem);
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.hero-slider .hero-tag {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  color: #f0f7ff;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slider .hero-title {
  color: #f8fbff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
  max-width: min(100%, 42rem);
}

.hero-slider .hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  line-height: 1.55;
  font-weight: 500;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 2px 14px rgba(0, 0, 0, 0.3);
}

.hero-slider .hero-mini-note {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  margin-top: 0.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(137, 181, 232, 0.55);
  background: rgba(159, 230, 255, 0.36);
  color: #406e9c;
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font-size: 0.8rem;
  font-weight: 700;
}

h2 {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.05;
}

.hero-title {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #2f4866;
}

#heroLead {
  white-space: pre-line;
}

.hero-content p,
.hero-lead {
  color: var(--text-soft);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.35rem;
  justify-content: center;
}

.hero-slider .hero-cta {
  margin-top: 0.5rem;
}

.hero-slider .hero-cta .btn-large {
  min-height: 48px;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.hero-slider .btn-outline.btn-large {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero-slider .btn-outline.btn-large:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: #fff;
}

.mini-note {
  font-size: 0.92rem;
}

.hero-slider-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
  pointer-events: none;
}

.hero-slider-ui > * {
  pointer-events: auto;
}

.hero-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-slider-btn:focus-visible {
  outline: 2px solid rgba(159, 230, 255, 0.9);
  outline-offset: 3px;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 35, 55, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-slider-dot.is-active {
  width: 1.65rem;
  background: linear-gradient(90deg, #ff80bc, #9fe6ff);
}

.hero-slider-dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .hero-slider-btn {
    display: none;
  }

  .hero-overlay {
    min-height: clamp(30rem, 88vh, 48rem);
  }
}

.section {
  padding: clamp(1.69rem, 3.15vw, 2.25rem) 0;
  text-align: center;
}

/* Ritmo vertical: aire tras el hero; menos “doble” espacio entre secciones consecutivas */
main > .section:first-child {
  padding-top: clamp(2.25rem, 4.5vw, 3rem);
  padding-bottom: clamp(1.69rem, 3vw, 2.25rem);
}

main > .section:not(:first-child) {
  padding-top: clamp(1.125rem, 2.4vw, 1.76rem);
  padding-bottom: clamp(1.69rem, 3vw, 2.25rem);
}

.section-title {
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.5rem, 3.1vw, 2.1rem);
  margin-bottom: 1rem;
  text-align: center;
}

.section-description {
  color: var(--text-soft);
  margin-bottom: 1rem;
  text-align: center;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  text-align: center;
}

.card {
  background: linear-gradient(170deg, #ffffff, #f6fbff);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.benefits-grid,
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.benefits-grid .card,
.testimonials-grid .card {
  flex: 1 1 260px;
  max-width: 360px;
  text-align: center;
}

/* Sección "Por qué elegir…": tarjetas con icono y más relieve */
#beneficios .section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
  background: linear-gradient(120deg, var(--text) 0%, #3d6a9e 45%, var(--pink-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

#beneficios .section-title::after {
  content: "";
  display: block;
  width: min(120px, 40vw);
  height: 4px;
  margin: 0.65rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--violet), transparent);
  opacity: 0.85;
}

#catalogo .section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(118deg, #2f4866 0%, #4a7ab8 42%, var(--pink-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#catalogo .section-title::after {
  content: "";
  display: block;
  width: min(100px, 35vw);
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  opacity: 0.9;
}

.section:has(#testimonialsSectionTitle) .section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(118deg, var(--text) 0%, #5a7aa8 50%, #c94a8c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section:has(#testimonialsSectionTitle) .section-title::after {
  content: "";
  display: block;
  width: min(88px, 32vw);
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--pink-strong), transparent);
  opacity: 0.85;
}

.benefit-card {
  position: relative;
  text-align: center;
  padding: 1.35rem 1.2rem 1.25rem;
  border: 1px solid rgba(242, 85, 154, 0.12);
  background: linear-gradient(165deg, #ffffff 0%, #fff8fc 48%, #f4faff 100%);
  box-shadow:
    0 4px 18px rgba(45, 74, 110, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--pink-strong));
  opacity: 0.9;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 36px rgba(45, 74, 110, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  border-color: rgba(242, 85, 154, 0.22);
}

.benefit-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 255, 0.9));
  border: 1px solid rgba(159, 230, 255, 0.35);
  box-shadow: 0 6px 16px rgba(45, 74, 110, 0.08);
}

.benefits-grid .benefit-card:nth-child(1) .benefit-card-icon {
  background: linear-gradient(145deg, #fff5fb, #ffe8f4);
  border-color: rgba(242, 85, 154, 0.22);
}

.benefits-grid .benefit-card:nth-child(1) .benefit-card-icon::after {
  content: "✦";
  font-family: "Segoe UI Symbol", "Apple Color Emoji", sans-serif;
}

.benefits-grid .benefit-card:nth-child(2) .benefit-card-icon {
  background: linear-gradient(145deg, #f0f9ff, #e8f4ff);
  border-color: rgba(78, 132, 186, 0.28);
}

.benefits-grid .benefit-card:nth-child(2) .benefit-card-icon::after {
  content: "💬";
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}

.benefits-grid .benefit-card:nth-child(3) .benefit-card-icon {
  background: linear-gradient(145deg, #fffbf5, #fff0e8);
  border-color: rgba(232, 168, 124, 0.35);
}

.benefits-grid .benefit-card:nth-child(3) .benefit-card-icon::after {
  content: "⚡";
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}

.benefits-grid .benefit-card h4 {
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.benefits-grid .benefit-card .benefit-card-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #5a6578;
  margin: 0;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid h4,
.testimonials-grid h4 {
  margin-bottom: 0.45rem;
}

.benefits-grid p,
.testimonial p {
  color: var(--text-soft);
}

.testimonial span {
  margin-top: 0.55rem;
  color: #4e84ba;
  font-weight: 700;
}

.center-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0 1.2rem;
  justify-content: center;
}

.filters-sub {
  margin-top: -0.35rem;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.filters-sub-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-right: 0.15rem;
}

.filter-btn-sub {
  font-size: 0.82rem;
  padding: 0.38rem 0.65rem;
}

.catalog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.catalog-pagination-info {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
  max-width: min(100%, 22rem);
  line-height: 1.35;
}

.catalog-pagination-arrow {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  border-radius: 12px;
}

.catalog-pagination-arrow span {
  display: block;
  transform: translateY(-1px);
}

.catalog-pagination-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  width: min(100%, 280px);
  flex: 0 1 260px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 85, 154, 0.32);
  box-shadow:
    0 20px 44px rgba(137, 181, 232, 0.28),
    0 8px 20px rgba(242, 85, 154, 0.12);
}

.product-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #edf6ff;
}

.product-image--empty {
  object-fit: none;
  background: linear-gradient(160deg, #e8f2fc 0%, #edf6ff 55%, #e4eef8 100%);
  box-shadow: inset 0 0 0 1px rgba(135, 173, 206, 0.2);
}

.product-media-wrap {
  position: relative;
  width: 100%;
}

.product-image--gallery {
  cursor: zoom-in;
}

.product-image--gallery:focus-visible {
  outline: 3px solid rgba(159, 230, 255, 0.95);
  outline-offset: 2px;
}

.product-gallery-badge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0.28rem 0.55rem 0.32rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(242, 85, 154, 0.95), rgba(137, 181, 232, 0.92));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(47, 72, 102, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.product-gallery-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(47, 72, 102, 0.34);
}

.product-gallery-badge-num {
  font-size: 0.95rem;
  line-height: 1;
}

.product-gallery-badge-label {
  font-weight: 700;
  font-size: 0.68rem;
  opacity: 0.95;
  text-transform: lowercase;
}

body.gallery-modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: clamp(0.5rem, 2vw, 1.25rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 48, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  border-radius: clamp(16px, 2.5vw, 24px);
  background: linear-gradient(165deg, #ffffff 0%, #f0f7ff 55%, #e8f2fc 100%);
  border: 1px solid rgba(135, 173, 206, 0.45);
  box-shadow:
    0 28px 80px rgba(47, 72, 102, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.gallery-modal.is-open .gallery-modal-dialog {
  transform: scale(1) translateY(0);
}

.gallery-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid rgba(135, 173, 206, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.gallery-modal-title {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  padding-right: 0.5rem;
}

.gallery-modal-close {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-modal-close:hover {
  background: rgba(242, 85, 154, 0.12);
  color: var(--pink-strong);
}

.gallery-modal-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.5rem 0.5rem;
  min-height: 0;
}

.gallery-modal-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1c30;
  min-height: min(52vh, 420px);
  display: grid;
  place-items: center;
}

.gallery-modal-img {
  max-width: 100%;
  max-height: min(52vh, 420px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gallery-modal-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(137, 181, 232, 0.55);
  background: rgba(255, 255, 255, 0.95);
  color: #416b98;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.gallery-modal-nav:hover {
  background: #fff;
  transform: scale(1.06);
}

.gallery-modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 1rem 0.35rem;
  justify-content: center;
  max-height: 120px;
  overflow-y: auto;
  border-top: 1px solid rgba(135, 173, 206, 0.2);
  background: rgba(255, 255, 255, 0.5);
}

.gallery-modal-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #edf6ff;
  opacity: 0.75;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.gallery-modal-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-modal-thumb.is-active {
  opacity: 1;
  border-color: var(--pink);
  box-shadow: 0 0 0 1px rgba(242, 85, 154, 0.35);
}

.gallery-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-modal-counter {
  margin: 0;
  padding: 0.35rem 1rem 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .gallery-modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }

  .gallery-modal-nav {
    display: none;
  }

  .gallery-modal-stage {
    min-height: min(42vh, 320px);
  }

  .gallery-modal-img {
    max-height: min(42vh, 320px);
  }
}

.product-body {
  padding: 0.85rem;
  display: grid;
  gap: 0.62rem;
  text-align: center;
  justify-items: center;
}

.product-body .btn {
  width: 100%;
  max-width: 100%;
}

.product-actions {
  width: 100%;
  display: grid;
  gap: 0.85rem;
  margin-top: 0.15rem;
  justify-items: stretch;
}

.product-actions .btn {
  width: 100%;
  font-size: 0.86rem;
  padding: 0.52rem 0.65rem;
}

/* Carrito (lista de consulta) */
.cart-nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(137, 181, 232, 0.65);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #416b98;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cart-nav-btn-icon svg {
  width: 18px;
  height: 18px;
}

.cart-nav-btn:hover {
  background: rgba(190, 217, 246, 0.4);
  border-color: rgba(242, 85, 154, 0.45);
  color: var(--pink-strong);
}

.cart-nav-btn:focus-visible {
  outline: 3px solid rgba(159, 230, 255, 0.95);
  outline-offset: 2px;
}

.cart-nav-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-strong), var(--pink));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.15rem;
  text-align: center;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(220, 61, 132, 0.35);
}

body.cart-open {
  overflow: hidden;
}

/* [hidden] debe poder ocultar del todo: sin !important .cart-drawer { display:flex } lo anula en algunos navegadores */
.cart-overlay[hidden],
.cart-drawer[hidden] {
  display: none !important;
}

.cart-overlay:not([hidden]) {
  display: block;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(45, 72, 102, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cart-drawer:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
  width: min(100%, 400px);
  height: 100%;
  max-height: 100dvh;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: -12px 0 40px rgba(45, 72, 102, 0.18);
  border-left: 1px solid rgba(190, 217, 246, 0.85);
}

.cart-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  padding: 0;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(190, 217, 246, 0.65);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.cart-drawer-head-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.cart-drawer-close-text {
  border: none;
  background: transparent;
  color: #4f89c0;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

.cart-drawer-close-text:hover {
  color: var(--pink-strong);
}

.cart-drawer-title {
  font-family: "Nunito", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.cart-drawer-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(190, 217, 246, 0.35);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.cart-drawer-close:hover {
  background: rgba(242, 85, 154, 0.2);
}

.cart-drawer-close:focus-visible {
  outline: 3px solid rgba(159, 230, 255, 0.95);
  outline-offset: 2px;
}

.cart-empty {
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cart-empty-hint {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.cart-empty-catalog {
  font-size: 0.84rem;
  padding: 0.45rem 0.9rem;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.cart-line {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(190, 217, 246, 0.45);
}

.cart-line-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.cart-line-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.3;
}

.cart-line-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4f89c0;
}

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

.cart-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(137, 181, 232, 0.65);
  background: #fff;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease;
}

.cart-qty-btn:hover {
  background: rgba(190, 217, 246, 0.45);
}

.cart-qty-input {
  width: 3rem;
  padding: 0.35rem;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(137, 181, 232, 0.55);
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-line-remove {
  margin-left: auto;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #c44a6b;
  cursor: pointer;
  text-decoration: underline;
}

.cart-line-remove:hover {
  color: var(--pink-strong);
}

.cart-drawer-foot {
  flex-shrink: 0;
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid rgba(190, 217, 246, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 12px));
}

.cart-clear {
  font-size: 0.86rem;
}

.cart-send.is-disabled {
  pointer-events: none;
  opacity: 0.45;
  cursor: not-allowed;
}

.product-category {
  color: #4f89c0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-title {
  font-family: "Nunito", sans-serif;
  font-size: 1.08rem;
}

.product-price {
  color: #b9fff2;
  font-size: 1.03rem;
  font-weight: 800;
}

.product-benefit,
.product-desc {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.product-price {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.product-stock {
  color: #4f7fb3;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact .contact-card {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(137, 181, 232, 0.45);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 252, 255, 0.98) 45%, rgba(255, 248, 252, 0.95) 100%);
  box-shadow:
    0 16px 48px rgba(45, 74, 110, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  padding: clamp(1.25rem, 3vw, 1.65rem);
}

.contact .contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(242, 85, 154, 0.06) 50%, transparent 60%);
  pointer-events: none;
  animation: contact-shimmer 8s ease-in-out infinite;
}

.contact .contact-card > * {
  position: relative;
  z-index: 1;
}

@keyframes contact-shimmer {
  0%,
  100% {
    transform: translateX(-30%);
    opacity: 0.4;
  }

  50% {
    transform: translateX(30%);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact .contact-card::before {
    animation: none;
  }
}

.contact-card p {
  color: var(--text-soft);
  margin-top: 0.52rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.admin-section {
  text-align: center;
}

.admin-section details {
  border: 1px solid var(--line);
  background: #f6fbff;
  border-radius: 18px;
  padding: 0.9rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.admin-section summary {
  cursor: pointer;
  font-weight: 700;
  color: #4f7fb3;
}

.admin-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 0.9rem;
  justify-items: stretch;
  text-align: left;
}

.admin-card {
  display: grid;
  gap: 0.65rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: #49698b;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(126, 173, 215, 0.42);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(137, 181, 232, 0.5);
  border-color: rgba(137, 181, 232, 0.9);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-line input {
  width: auto;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.admin-products-list {
  display: grid;
  gap: 0.55rem;
  max-height: 430px;
  overflow: auto;
  padding-right: 0.25rem;
}

.admin-product-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem;
  background: #fff;
}

.admin-product-item p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.65rem;
  justify-content: center;
}

.btn {
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0.62rem 0.98rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-large {
  font-size: 1rem;
  padding: 0.8rem 1.1rem;
}

.btn-primary {
  border-color: rgba(242, 85, 154, 0.74);
  background: linear-gradient(90deg, #ff80bc 0%, #f58bc0 56%, #ffc4e1 100%);
  color: #71224b;
  box-shadow: 0 8px 20px rgba(242, 85, 154, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #f763a9 0%, #ef79b5 60%, #ffb7db 100%);
}

.btn-outline {
  border-color: rgba(137, 181, 232, 0.8);
  background: rgba(190, 217, 246, 0.42);
  color: #416b98;
}

.btn-outline:hover {
  background: rgba(190, 217, 246, 0.65);
}

.filter-btn {
  border-color: rgba(153, 203, 236, 0.9);
  background: rgba(211, 235, 255, 0.75);
  color: #466c91;
}

.filter-btn.active {
  background: rgba(183, 223, 252, 0.88);
}

.floating-whatsapp {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  left: auto;
  transform: none;
  z-index: 160;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 20px rgba(18, 140, 126, 0.42),
    0 2px 6px rgba(0, 0, 0, 0.12);
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 10px 28px rgba(18, 140, 126, 0.48),
    0 2px 8px rgba(0, 0, 0, 0.14);
  color: #fff;
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(159, 230, 255, 0.95);
  outline-offset: 3px;
}

.floating-whatsapp-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: #fff;
}

@media (max-width: 380px) {
  .floating-whatsapp {
    width: 3.25rem;
    height: 3.25rem;
  }
}

.footer {
  position: relative;
  margin-top: 1.5rem;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.97) 0%, rgba(233, 244, 255, 0.98) 45%, rgba(220, 235, 252, 0.99) 100%);
  border-top: 1px solid rgba(190, 217, 246, 0.85);
  box-shadow: 0 -8px 32px rgba(137, 181, 232, 0.12);
}

.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(255, 128, 188, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(159, 230, 255, 0.2) 0%, transparent 50%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  padding: 2.75rem 0 2.25rem;
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-family: "Nunito", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #4f7fb3;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(242, 85, 154, 0.22);
  width: fit-content;
  max-width: 100%;
}

.footer-brand-col .footer-heading {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.85rem;
}

.footer-brand:hover .footer-brand-name {
  color: var(--pink-strong);
}

.footer-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #3f6288;
  transition: color 0.2s ease;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 0.65rem;
  max-width: 28rem;
}

.footer-contact-links {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}

.footer-contact-links a {
  color: #4f7fb3;
  text-decoration: none;
  border-bottom: 1px solid rgba(137, 181, 232, 0.45);
  padding-bottom: 0.1rem;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-contact-links a:hover {
  color: var(--pink-strong);
  border-bottom-color: rgba(242, 85, 154, 0.45);
}

.footer-contact-sep {
  margin: 0 0.4rem;
  color: #a0b4cc;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: #5d7591;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-links a:hover {
  color: #c43d7a;
  border-bottom-color: rgba(242, 85, 154, 0.35);
}

.footer-links a[data-nav-cat].active {
  color: #71224b;
  font-weight: 800;
}

.footer-col-contact .footer-address,
.footer-col-contact .footer-hours {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.footer-visit-medios {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.92rem;
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.footer-medios-label {
  font-weight: 700;
  color: #4f7fb3;
  margin-right: 0.15rem;
}

.footer-visit-link {
  font-weight: 700;
  color: #4f7fb3;
  text-decoration: none;
  border-bottom: 2px solid rgba(137, 181, 232, 0.45);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-visit-link:hover {
  color: var(--pink-strong);
  border-bottom-color: rgba(242, 85, 154, 0.5);
}

.footer-ig {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #4f7fb3;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid rgba(137, 181, 232, 0.45);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-ig:hover {
  color: var(--pink-strong);
  border-bottom-color: rgba(242, 85, 154, 0.5);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(190, 217, 246, 0.65);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-bottom-inner {
  padding: 1rem 0 1.35rem;
  text-align: center;
  display: grid;
  gap: 0.35rem;
}

.footer-copy {
  font-size: 0.86rem;
  font-weight: 600;
  color: #6284a7;
}

.footer-note {
  font-size: 0.8rem;
  color: #8aa3bd;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand-col .footer-brand {
    justify-content: center;
  }

  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand-col .footer-contact-links {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-heading {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    justify-items: center;
    text-align: center;
  }

  .footer-col-contact {
    text-align: center;
    grid-column: 1 / -1;
  }

  .footer-col-contact .footer-heading {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 0 1.75rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-heading {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    justify-items: center;
  }
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.45rem 0;
}

@media (min-width: 1101px) and (max-width: 1180px) {
  .nav-link {
    font-size: 0.74rem;
    padding: 0.36rem 0.52rem;
  }

  .btn-nav-cta {
    font-size: 0.8rem;
    padding: 0.44rem 0.78rem;
  }

  .navbar-menu {
    gap: 0.4rem 0.42rem;
  }
}

@media (min-width: 1181px) {
  .nav-link {
    font-size: 0.84rem;
    padding: 0.42rem 0.7rem;
  }
}

/* Escritorio: menú central en una sola fila (evita que el último ítem baje, p. ej. Accesorios) */
@media (min-width: 1101px) {
  .navbar {
    column-gap: clamp(0.8rem, 2vw, 1.45rem);
    padding-left: clamp(4px, 1.1vw, 14px);
    padding-right: clamp(10px, 1.5vw, 20px);
  }

  .navbar-brand {
    margin-left: -0.55rem;
    margin-right: clamp(0.35rem, 1vw, 0.8rem);
  }

  .navbar-menu {
    flex-wrap: nowrap;
    overflow: visible;
    row-gap: 0;
    justify-content: center;
    gap: 0.48rem 0.62rem;
    padding-left: clamp(0.3rem, 1.05vw, 0.9rem);
    padding-right: clamp(0.3rem, 1.05vw, 0.9rem);
  }

  .navbar-end {
    margin-left: clamp(0.45rem, 1.2vw, 0.95rem);
    margin-right: 0;
    gap: 0.78rem;
  }
}

/* Dropdown de subcategorías en el navbar */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-chevron {
  display: inline-flex;
  transition: transform 0.18s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  padding: 0.45rem;
  background: #ffffff;
  border: 1px solid rgba(190, 217, 246, 0.75);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(91, 130, 180, 0.22), 0 4px 10px rgba(91, 130, 180, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(190, 217, 246, 0.75);
  border-left: 1px solid rgba(190, 217, 246, 0.75);
}

.nav-dropdown-item {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5d7591;
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: linear-gradient(135deg, rgba(255, 192, 225, 0.35), rgba(190, 217, 246, 0.35));
  color: #71224b;
  outline: none;
}

.nav-dropdown-item-all {
  color: #4f7fb3;
  border-bottom: 1px dashed rgba(137, 181, 232, 0.35);
  border-radius: 10px 10px 6px 6px;
  margin-bottom: 0.15rem;
  padding-bottom: 0.55rem;
}

@media (max-width: 1100px) {
  .navbar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0;
    padding: 0.45rem clamp(8px, 2.5vw, 16px);
  }

  .navbar-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
  }

  .navbar-end {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .navbar-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.35rem;
    max-width: none;
    width: 100%;
    padding: 0.75rem 0 0.5rem;
    margin-top: 0.65rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(190, 217, 246, 0.85);
    row-gap: 0.35rem;
  }

  .navbar-menu.is-open {
    display: flex;
  }

  .navbar-menu .nav-link {
    text-align: center;
    border-radius: 12px;
    padding: 0.62rem 1rem;
    white-space: normal;
    font-size: 0.9rem;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-dropdown-chevron {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.15rem 0 0.4rem;
    margin: 0 auto 0.3rem;
    width: 100%;
    max-width: 440px;
    transition: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-item {
    text-align: center;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    color: #6d8eb5;
    border-radius: 10px;
  }

  .nav-dropdown-item-all {
    font-weight: 700;
    border-bottom: 1px dashed rgba(137, 181, 232, 0.45);
    border-radius: 10px 10px 6px 6px;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar-brand-text {
    display: none;
  }

  .navbar-logo {
    width: 84px;
    height: 84px;
  }

  .btn-nav-cta {
    padding: 0.42rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .btn-nav-cta {
    padding: 0.4rem 0.55rem;
    font-size: 0.74rem;
  }
}
