/* ==========================================
   RESET & VARIABLES GLOBALES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--primary-color, #ff007f);
  outline-offset: 3px;
}

:root {
  --primary-color: #ff007f;
  --secondary-color: #7b2cbf;
  --accent-color: #ffb703;
  --blue-bright: #00b4d8;
  --green-whatsapp: #25d366;
  --bg-light: #f4f9ff;
  --card-bg: #ffffff;
  --text-dark: #2b2d42;
  --text-muted: #6c757d;
  --soft-border: #ffe5ec;
  --page-gradient: linear-gradient(135deg, #f0f7ff 0%, #fff0f7 50%, #fdf0ff 100%);
  --brand-gradient: linear-gradient(45deg, #ff007f, #7b2cbf, #00b4d8, #ffb703);
  --bubble-primary: rgba(255, 0, 127, 0.08);
  --bubble-secondary: rgba(0, 180, 216, 0.1);
  --bubble-accent: rgba(255, 183, 3, 0.12);
  --bubble-tertiary: rgba(123, 44, 191, 0.08);
  --font-title: 'Fredoka', cursive, sans-serif;
  --font-body: 'Poppins', sans-serif;
}

body[data-season="school"] {
  --primary-color: #c56b9b;
  --secondary-color: #737bd1;
  --accent-color: #e9a94f;
  --blue-bright: #68aabd;
  --bg-light: #fff9f2;
  --card-bg: #fffefd;
  --text-dark: #43384b;
  --text-muted: #766c7d;
  --soft-border: #eadcf2;
  --page-gradient: linear-gradient(135deg, #fff5e8 0%, #f8efff 52%, #edf9fa 100%);
  --brand-gradient: linear-gradient(45deg, #d278a4, #827bd1, #67aebd, #e9a94f);
  --bubble-primary: rgba(210, 120, 164, 0.1);
  --bubble-secondary: rgba(103, 174, 189, 0.12);
  --bubble-accent: rgba(233, 169, 79, 0.14);
  --bubble-tertiary: rgba(130, 123, 209, 0.1);
}

body[data-season="patriotic"] {
  --primary-color: #b91c1c;
  --secondary-color: #7f1d1d;
  --accent-color: #d4a72c;
  --blue-bright: #a94747;
  --bg-light: #fff8f5;
  --card-bg: #fffefd;
  --text-dark: #3c2929;
  --text-muted: #766565;
  --soft-border: #f0d9d5;
  --page-gradient: linear-gradient(135deg, #fff4ef 0%, #fffdfb 52%, #f8eeee 100%);
  --brand-gradient: linear-gradient(45deg, #b91c1c, #7f1d1d, #d4a72c);
  --bubble-primary: rgba(185, 28, 28, 0.08);
  --bubble-secondary: rgba(127, 29, 29, 0.07);
  --bubble-accent: rgba(212, 167, 44, 0.12);
  --bubble-tertiary: rgba(185, 28, 28, 0.06);
}

body[data-season="halloween"] {
  --primary-color: #ea580c;
  --secondary-color: #5b218a;
  --accent-color: #f59e0b;
  --blue-bright: #9146b8;
  --bg-light: #f8f3fa;
  --card-bg: #fffdf9;
  --text-dark: #302239;
  --text-muted: #746779;
  --soft-border: #e6d7ed;
  --page-gradient: linear-gradient(135deg, #f4eafa 0%, #fff5eb 52%, #f7effa 100%);
  --brand-gradient: linear-gradient(45deg, #5b218a, #9b35a7, #ea580c, #f59e0b);
  --bubble-primary: rgba(91, 33, 138, 0.1);
  --bubble-secondary: rgba(234, 88, 12, 0.09);
  --bubble-accent: rgba(245, 158, 11, 0.13);
  --bubble-tertiary: rgba(155, 53, 167, 0.08);
}

body[data-season="christmas"] {
  --primary-color: #b91c1c;
  --secondary-color: #166534;
  --accent-color: #d4a72c;
  --blue-bright: #24805b;
  --bg-light: #f5faf5;
  --card-bg: #fffefc;
  --text-dark: #26352c;
  --text-muted: #68766d;
  --soft-border: #d9e8dc;
  --page-gradient: linear-gradient(135deg, #edf7ef 0%, #fff9f2 52%, #f8eeee 100%);
  --brand-gradient: linear-gradient(45deg, #166534, #b91c1c, #d4a72c);
  --bubble-primary: rgba(185, 28, 28, 0.08);
  --bubble-secondary: rgba(22, 101, 52, 0.1);
  --bubble-accent: rgba(212, 167, 44, 0.12);
  --bubble-tertiary: rgba(22, 101, 52, 0.07);
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* FONDO ANIMADO DE BURBUJAS */
.light-bg-bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: var(--page-gradient);
  contain: strict;
}

/* MARCA DE AGUA CORPORATIVA MÁGICA CON MOVIMIENTO SUTIL Y SIN BORDES */
.brand-watermark-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75vmin;
  height: 75vmin;
  background-image: url('../img/logo-optimizado.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.12;
  mix-blend-mode: multiply;
  filter: contrast(120%) brightness(105%);
  pointer-events: none;
  z-index: -1;
  will-change: transform, filter;
  animation: fondoRespiracionMagica 8s infinite ease-in-out;
}

/* Animación de respiración fluida */
@keyframes fondoRespiracionMagica {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0px rgba(255, 0, 127, 0)) hue-rotate(0deg);
  }

  25% {
    filter: drop-shadow(0 0 15px rgba(0, 180, 216, 0.4)) hue-rotate(10deg);
  }

  50% {
    transform: translate(-50%, -52%) scale(1.05) rotate(1.5deg);
    filter: drop-shadow(0 0 25px rgba(123, 44, 191, 0.5)) hue-rotate(0deg);
  }

  75% {
    filter: drop-shadow(0 0 15px rgba(255, 183, 3, 0.4)) hue-rotate(-10deg);
  }

  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0px rgba(255, 0, 127, 0)) hue-rotate(0deg);
  }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--bubble-primary);
  bottom: -250px;
  animation: float 12s infinite ease-in-out;
  will-change: transform, opacity;
}

.bubble:nth-child(1) {
  width: 120px;
  height: 120px;
  left: 10%;
  animation-delay: 0s;
  background: var(--bubble-secondary);
}

.bubble:nth-child(2) {
  width: 200px;
  height: 200px;
  left: 70%;
  animation-delay: 3s;
  background: var(--bubble-accent);
}

.bubble:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 40%;
  animation-delay: 5s;
  background: var(--bubble-tertiary);
}

.bubble:nth-child(4) {
  width: 150px;
  height: 150px;
  left: 85%;
  animation-delay: 7s;
}

.bubble:nth-child(5) {
  width: 100px;
  height: 100px;
  left: 25%;
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-130vh) scale(1.2);
    opacity: 0;
  }
}

/* ==========================================
   CONFIGURACIÓN DE CABECERA Y BARRA ESTÁTICAS
   ========================================== */
.top-sales-bar {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 58px;
  height: auto !important;
  position: relative;
  isolation: isolate;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  z-index: 100 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.5s ease;
}

.top-sales-bar::before,
.top-sales-bar::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0.8;
  pointer-events: none;
  transform: translateY(-50%);
}

.top-sales-bar::before {
  content: "\2728";
  left: 14px;
}

.top-sales-bar::after {
  content: "\2728";
  right: 14px;
}

.top-sales-bar[data-season="school"] {
  background: linear-gradient(110deg, #075985, #0284c7, #16a34a);
}

.top-sales-bar[data-season="school"]::before {
  content: "\1F392";
}

.top-sales-bar[data-season="school"]::after {
  content: "\1F4DA";
}

.top-sales-bar[data-season="patriotic"] {
  background: linear-gradient(110deg, #b91c1c, #dc2626 48%, #7f1d1d);
}

.top-sales-bar[data-season="patriotic"]::before {
  content: "\1F1F5 \1F1EA";
}

.top-sales-bar[data-season="patriotic"]::after {
  content: "\1F389";
}

.top-sales-bar[data-season="halloween"] {
  background: linear-gradient(110deg, #3b0764, #7e22ce, #ea580c);
  box-shadow: inset 0 -2px 0 rgba(255, 183, 3, 0.7);
}

.top-sales-bar[data-season="halloween"]::before {
  content: "\1F987";
}

.top-sales-bar[data-season="halloween"]::after {
  content: "\1F47B";
}

.top-sales-bar[data-season="halloween"] .seasonal-campaign-icon {
  animation: halloweenBannerPumpkin 3.5s ease-in-out infinite;
}

@keyframes halloweenBannerPumpkin {

  0%,
  100% {
    transform: rotate(-4deg) scale(1);
  }

  50% {
    transform: rotate(4deg) scale(1.08);
  }
}

.top-sales-bar[data-season="christmas"] {
  background: linear-gradient(110deg, #14532d, #15803d, #b91c1c);
}

.top-sales-bar[data-season="christmas"]::before {
  content: "\2744\FE0F";
}

.top-sales-bar[data-season="christmas"]::after {
  content: "\1F384";
}

.halloween-promo-ribbon {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(64px, 0.45fr) minmax(0, 3fr) minmax(64px, 0.45fr);
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 12px clamp(16px, 4vw, 48px);
  overflow: hidden;
  color: #fff8e8;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 130%, rgba(255, 100, 0, 0.5), transparent 58%),
    linear-gradient(100deg, #160d23 0%, #35114b 28%, #57135e 52%, #35114b 76%, #160d23 100%);
  border-block: 2px solid #ff8b22;
  box-shadow: inset 0 0 24px rgba(255, 94, 0, 0.18), 0 7px 22px rgba(30, 9, 39, 0.25);
}

.halloween-promo-ribbon[hidden] {
  display: none !important;
}

.halloween-promo-ribbon::before,
.halloween-promo-ribbon::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.halloween-promo-ribbon::before {
  background: repeating-linear-gradient(115deg, transparent 0 42px, rgba(255, 255, 255, 0.035) 43px 45px, transparent 46px 82px);
}

.halloween-promo-ribbon::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 151, 53, 0.15) 50%, transparent 100%);
  animation: halloween-ribbon-glow 4s ease-in-out infinite;
}

.halloween-promo-copy {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
}

.halloween-promo-kicker {
  color: #ffb04a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.halloween-promo-copy strong {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.3vw, 1.55rem);
  line-height: 1.25;
  text-shadow: 0 0 12px rgba(255, 118, 25, 0.65), 0 2px 2px rgba(0, 0, 0, 0.5);
}

.halloween-promo-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ff9a30;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  filter: drop-shadow(0 0 9px rgba(255, 110, 25, 0.65));
}

.halloween-promo-decor-right {
  color: #d4b5ef;
}

.halloween-promo-decor > * {
  display: inline-block;
}

@media (max-width: 600px) {
  .halloween-promo-ribbon {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
    min-height: 78px;
    padding: 10px 12px;
  }

  .halloween-promo-decor {
    flex-direction: column;
    gap: 4px;
    font-size: 1.35rem;
  }

  .halloween-promo-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .halloween-promo-copy strong {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }
}

@keyframes halloween-ribbon-glow {
  0%, 100% { opacity: 0.25; transform: translateX(-35%); }
  50% { opacity: 0.8; transform: translateX(35%); }
}

.seasonal-campaign-icon {
  flex: 0 0 auto;
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.seasonal-campaign-copy {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1.3;
}

.seasonal-campaign-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
}

.seasonal-campaign-message {
  font-size: 0.76rem;
  font-weight: 500;
}

#main-header {
  background: var(--card-bg) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 2rem;
  border-bottom: 3px solid var(--soft-border);
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99 !important;
  overflow: visible !important;
}

#main-header .header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.logo-rainbow {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-color);
  margin-left: 0 !important;
}

.nav-circular-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(255, 0, 127, 0.15);
  animation: sutilGiroMagico 6s infinite ease-in-out;
}

@keyframes sutilGiroMagico {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(5deg) scale(1.05);
  }
}

.header-right {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
}

.ws-header-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(45deg, var(--green-whatsapp), #1ebea5) !important;
  color: white !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
  font-size: 0.95rem !important;
}

.pulsar-btn-ventas {
  animation: pulsoLlamativo 2s infinite ease-in-out;
}

@keyframes pulsoLlamativo {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
  }
}

/* HERO / BANNER PRINCIPAL */
.hero {
  text-align: center;
  padding-top: 40px !important;
  padding-bottom: 40px;
}

.kids-rainbow-text {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
}

.hero-tag {
  background: var(--soft-border);
  color: var(--primary-color);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
}

/* MAIN WRAPPER */
.main-content-wrapper {
  flex: 1 0 auto;
}

/* CATEGORÍAS EN PORTADA */
.categories {
  max-width: 1200px;
  margin: 10px auto 60px;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-family: var(--font-title);
  font-size: 2.3rem;
  color: var(--secondary-color);
  margin-bottom: 35px;
}

body[data-season] .kids-rainbow-text::after,
body[data-season] .section-title::after,
body[data-season] .group-title::after {
  display: inline-block;
  margin-inline-start: 0.35em;
  font-size: 0.78em;
  vertical-align: middle;
}

body[data-season="school"] .kids-rainbow-text::after,
body[data-season="school"] .section-title::after,
body[data-season="school"] .group-title::after {
  content: "\1F392";
}

body[data-season="patriotic"] .kids-rainbow-text::after,
body[data-season="patriotic"] .section-title::after,
body[data-season="patriotic"] .group-title::after {
  content: "\1F1F5 \1F1EA";
}

body[data-season="halloween"] .kids-rainbow-text::after,
body[data-season="halloween"] .section-title::after,
body[data-season="halloween"] .group-title::after {
  content: "\1F383";
  filter: drop-shadow(0 0 5px rgba(234, 88, 12, 0.35));
  animation: halloweenBannerPumpkin 4.5s ease-in-out infinite;
}

body[data-season="christmas"] .kids-rainbow-text::after,
body[data-season="christmas"] .section-title::after,
body[data-season="christmas"] .group-title::after {
  content: "\1F384";
}

body[data-season="fantasy"] .kids-rainbow-text::after,
body[data-season="fantasy"] .section-title::after,
body[data-season="fantasy"] .group-title::after {
  content: "\2728";
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: 35px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid var(--soft-border);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-disfraces {
  border-color: var(--primary-color);
}

.card-accesorios {
  border-color: var(--secondary-color);
}

.card-utiles {
  border-color: var(--blue-bright);
}

.card-otros {
  border-color: var(--accent-color);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.card-disfraces .card-icon {
  background: linear-gradient(45deg, var(--primary-color), #ff66b2);
}

.card-accesorios .card-icon {
  background: linear-gradient(45deg, var(--secondary-color), #b5179e);
}

.card-utiles .card-icon {
  background: linear-gradient(45deg, var(--blue-bright), #48cae4);
}

.card-otros .card-icon {
  background: linear-gradient(45deg, var(--accent-color), #ffca3a);
  color: var(--text-dark);
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 20px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.card-btn:hover {
  transform: scale(1.05);
}

.card-accesorios .card-btn {
  background-color: var(--secondary-color);
}

.card-utiles .card-btn {
  background-color: var(--blue-bright);
}

.card-otros .card-btn {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

/* FRANJA DE GARANTÍAS */
.store-guarantees-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: 40px auto 20px;
  padding: 25px;
  background: var(--card-bg);
  border-radius: 25px;
  border: 3px dashed var(--blue-bright);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.08);
}

.guarantee-item {
  text-align: center;
  padding: 10px;
}

.guarantee-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  animation: sutilPulsoMagico 4s infinite ease-in-out;
}

.guarantee-item h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 6px;
}

.guarantee-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@keyframes sutilPulsoMagico {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
    color: var(--blue-bright);
  }
}

/* CUADROS MAYOR Y MENOR */
.store-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 850px;
  margin: 50px auto 0;
}

.mode-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mode-menor {
  border: 4px solid var(--primary-color);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.08);
}

.mode-mayor {
  border: 4px solid var(--secondary-color);
  box-shadow: 0 10px 25px rgba(123, 44, 191, 0.08);
}

.mode-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mode-badge {
  position: absolute;
  top: -15px;
  background: var(--blue-bright);
  color: white;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-gold {
  background: linear-gradient(45deg, var(--accent-color), #ff9200);
  color: var(--text-dark);
}

.mode-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.mode-menor .mode-icon {
  color: var(--primary-color);
}

.mode-mayor .mode-icon {
  color: var(--secondary-color);
}

.mode-card h3 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.mode-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

/* REDES SOCIALES */
.social-media-banner {
  background: #ffffff;
  padding: 50px 20px;
  text-align: center;
  border-top: 4px solid var(--blue-bright);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
}

.social-container {
  max-width: 900px;
  margin: 0 auto;
}

.social-title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.social-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.5;
}

.social-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 15px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.btn-tiktok {
  background: #000000;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-facebook {
  background: #1877f2;
}

/* FOOTER */
.footer-magic {
  flex-shrink: 0;
  background: #2b2d42;
  color: white;
  padding: 50px 20px;
  text-align: center;
  border-top: 6px solid var(--secondary-color);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-quote-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.motivational-phrase {
  font-family: var(--font-title);
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--accent-color);
  font-style: italic;
  max-width: 650px;
  margin: 0;
}

.footer-ws-link {
  color: var(--green-whatsapp);
  font-size: 3.2rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-ws-link:hover {
  transform: scale(1.1);
}

.footer-rights {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #a0a5b5;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.footer-magic .footer-rights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-magic .footer-rights > p {
  flex: 0 0 100%;
  margin: 0 0 4px;
}

.footer-magic .footer-rights .complaints-book-link,
.footer-magic .footer-rights .terms-and-conditions-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-magic .footer-rights .complaints-book-link img {
  width: 24px;
  height: 24px;
}

.footer-magic .footer-rights .complaints-book-link:hover,
.footer-magic .footer-rights .terms-and-conditions-link:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ==========================================
   CONFIGURACIÓN PESTAÑAS DE CATÁLOGO (disfraz.html)
   ========================================== */
.tab-switch {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.search-nav-section {
  max-width: 1000px;
  margin: 30px auto 20px !important;
  padding: 0 20px;
  text-align: center;
  display: block;
}

.search-nav-container {
  background: var(--card-bg);
  border: 3px solid var(--blue-bright);
  border-radius: 20px;
  padding: 15px 20px;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.1);
}

.search-label {
  font-family: var(--font-body);
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.css-tabs-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tab-btn-link {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-light);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 15px;
  border: 2px solid var(--soft-border);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.tab-btn-link.is-keyboard-focused,
.tab-btn-link:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* CONTROL DE VISIBILIDAD DE PESTAÑAS (CSS PURO) */
.catalog-group {
  display: none;
  max-width: 1200px;
  margin: 10px auto 40px;
  padding: 0 20px;
}

#tab-superheroes:checked~.search-nav-section [for="tab-superheroes"],
#tab-animalitos:checked~.search-nav-section [for="tab-animalitos"],
#tab-circo:checked~.search-nav-section [for="tab-circo"],
#tab-toystory:checked~.search-nav-section [for="tab-toystory"],
#tab-mariobros:checked~.search-nav-section [for="tab-mariobros"],
#tab-kpop:checked~.search-nav-section [for="tab-kpop"],
#tab-zootopia:checked~.search-nav-section [for="tab-zootopia"],
#tab-chavo:checked~.search-nav-section [for="tab-chavo"],
#tab-halloween:checked~.search-nav-section [for="tab-halloween"],
#tab-principes:checked~.search-nav-section [for="tab-principes"],
#tab-primavera:checked~.search-nav-section [for="tab-primavera"],
#tab-safari:checked~.search-nav-section [for="tab-safari"],
#tab-nuevacategoria:checked~.search-nav-section [for="tab-nuevacategoria"] {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

#tab-superheroes:checked~#superheroes,
#tab-animalitos:checked~#animalitos,
#tab-circo:checked~#circo,
#tab-toystory:checked~#toystory,
#tab-mariobros:checked~#mariobros,
#tab-chavo:checked~#chavo,
#tab-halloween:checked~#halloween,
#tab-kpop:checked~#kpop,
#tab-zootopia:checked~#zootopia,
#tab-principes:checked~#principes,
#tab-primavera:checked~#primavera,
#tab-safari:checked~#safari,
#tab-nuevacategoria:checked~#nuevacategoria {
  display: block !important;
}

.group-title {
  font-family: var(--font-title);
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 30px;
  border-bottom: 3px dashed var(--blue-bright);
  padding-bottom: 10px;
}

.costumes-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* TARJETAS DE DISFRACES */
.costume-card {
  background: var(--card-bg);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border: 3px solid var(--soft-border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
}

.costume-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color) !important;
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.15) !important;
}

@media (hover: none) {
  .costume-card:hover {
    transform: none;
  }

  .costume-card:hover .costume-photo-box {
    transform: none;
  }
}

.costume-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
}

.costume-photo-box {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 15px !important;
  filter: brightness(1.02) contrast(1.02) !important;
  transition: transform 0.5s ease !important;
}

.costume-card:hover .costume-photo-box {
  transform: scale(1.08) !important;
}

.detail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 45, 66, 0) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
}

.costume-card:hover .detail-overlay {
  background: rgba(0, 0, 0, 0.25) !important;
}

.detail-button-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 20px rgba(255, 0, 127, 0.35) !important;
  border: 2px solid #ffffff !important;
  text-transform: uppercase;
  opacity: 0 !important;
  transform: scale(0.7) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.costume-card:hover .detail-button-box {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.inclusion-box {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.4s ease;
  z-index: 6;
}

.costume-card:hover .inclusion-box {
  bottom: 0;
}

.inclusion-title {
  font-family: var(--font-title);
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.inclusion-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
}

.costume-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--secondary-color);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 10;
  transition: all 0.3s ease;
}

.costume-card:hover .costume-badge {
  transform: scale(1.1) rotate(-3deg);
  background: var(--primary-color) !important;
}

.costume-info-footer {
  padding: 20px;
  text-align: center;
  background: var(--card-bg);
}

.costume-info-footer h4 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pricing-box {
  background: var(--bg-light);
  padding: 10px;
  border-radius: 15px;
  border: 1px dashed var(--soft-border);
}

.price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.price {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
}

@media (min-width: 769px) {
  .pricing-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
  }

  .pricing-box .detalle-tap-hint {
    flex-basis: 100%;
  }

  .adult-size-panel:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    width: 100%;
  }

  .pricing-box .price-row {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .adult-size-panel:not([hidden]) {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .adult-size-panel .price-row,
  .pricing-box > .price-row {
    flex: 1;
    flex-direction: column;
    gap: 0;
  }

  .pricing-box .price {
    font-size: 1.1rem;
  }
}

#chavo .adult-size-table-wrap {
  width: min(100%, 1200px);
  margin: 0 auto 30px;
  overflow-x: auto;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

#chavo .adult-size-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--text-dark);
}

#chavo .adult-size-table caption {
  padding: 14px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

#chavo .adult-size-table th,
#chavo .adult-size-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--soft-border);
  text-align: left;
  vertical-align: middle;
}

#chavo .adult-size-table thead th {
  background: var(--bg-light);
  color: var(--secondary-color);
}

#chavo .adult-size-table tbody th {
  min-width: 180px;
}

#chavo .adult-size-table tbody tr:nth-child(even) {
  background: rgba(255, 248, 251, 0.7);
}

#chavo .adult-size-options {
  min-width: 220px;
}

#chavo .adult-size-option + .adult-size-option {
  margin-top: 4px;
}

#chavo .adult-cart-cell {
  min-width: 240px;
}

#chavo .adult-cart-cell .costume-cart-actions {
  margin: 0;
}

#chavo .adult-cart-cell .costume-cart-config {
  grid-template-columns: minmax(0, 1fr) auto;
}

.adult-size-toggle {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7fb;
  border: 1px dashed rgba(255, 105, 180, 0.5);
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.adult-size-toggle[aria-expanded="true"] {
  background: var(--secondary-color);
  color: #fff;
}

.price-row[hidden],
.adult-size-panel[hidden] {
  display: none !important;
}

.adult-size-panel {
  border-radius: 14px;
  background: #fff7fb;
}
/* MENÚ FLOTANTE MUNDO MÁGICO */
.magic-sidebar-wrapper {
  position: relative !important;
  display: inline-block;
  z-index: 10100 !important;
}

.sidebar-trigger-btn {
  appearance: none;
  font: inherit;
  background: var(--bg-light);
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 20px;
  border: 2px solid var(--soft-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.sidebar-trigger-btn:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.sidebar-trigger-btn:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.sidebar-dropdown-panel {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 240px;
  background: #ffffff !important;
  border: 3px solid var(--secondary-color);
  border-radius: 20px;
  padding: 15px 10px;
  box-shadow: 0 10px 30px rgba(123, 44, 191, 0.15);
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 99999 !important;
}

.magic-sidebar-wrapper.is-open .sidebar-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sidebar-header-title {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 12px;
  border-bottom: 2px dashed var(--soft-border);
  padding-bottom: 8px;
}

.sidebar-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 15px;
  border-radius: 12px;
  margin-bottom: 5px;
  transition: all 0.2s ease;
}

.sidebar-link-item:hover {
  background: var(--soft-border);
  color: var(--primary-color);
}

.sidebar-link-item.active-page {
  background: var(--primary-color);
  color: white;
}

/* PUBLICIDAD POPUP */
.promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 45, 66, 0.6);
  backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-popup-card {
  background: #ffffff;
  width: 90%;
  max-width: 420px;
  padding: 35px 25px;
  border-radius: 25px;
  border: 4px solid var(--primary-color);
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.close-popup-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
}

.popup-badge {
  background: var(--soft-border);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.85rem;
}

.promo-popup-card h3 {
  font-family: var(--font-title);
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin: 15px 0 10px;
}

.promo-popup-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #main-header.disfraz-header .m-left {
    flex: 1;
    min-width: 0;
    gap: 9px !important;
  }

  #main-header.disfraz-header .m-btn-menu {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    justify-content: center;
    padding: 0 !important;
    font-size: 1rem !important;
  }

  #main-header.disfraz-header .m-logo {
    min-width: 0;
    gap: 7px !important;
    white-space: nowrap;
  }

  #main-header.disfraz-header .m-logo-img {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px;
  }

  #main-header.disfraz-header .m-brand-name {
    overflow: hidden;
    font-family: var(--font-title);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  #main-header.disfraz-header .m-right .m-ws-icon {
    display: none !important;
  }

  #main-header.navidad-header .m-left {
    flex: 1;
    min-width: 0;
    gap: 9px !important;
  }

  #main-header.navidad-header .m-btn-menu {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    justify-content: center;
    padding: 0 !important;
    font-size: 1rem !important;
  }

  #main-header.navidad-header .m-logo {
    min-width: 0;
    gap: 7px !important;
    white-space: nowrap;
  }

  #main-header.navidad-header .m-logo-img {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px;
  }

  #main-header.navidad-header .navidad-mobile-brand {
    font-family: var(--font-title, sans-serif);
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
  }

  .search-nav-section {
    margin-top: 20px !important;
  }

  .hero {
    padding-top: 30px !important;
  }
}

/* ==========================================
   ESTILOS PARA NUEVAS SECCIONES
   ========================================== */

/* BOTÓN GUÍA DE TALLAS EN EL HEADER */
.size-guide-nav-btn {
  background: var(--bg-light);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.size-guide-nav-btn:hover {
  background: var(--secondary-color);
  color: white;
}

/* BUSCADOR DEL HERO */
.hero-search-wrapper {
  max-width: 550px;
  margin: 25px auto 0;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 20px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.search-input-box input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 15px 20px 15px 50px;
  border-radius: 30px;
  border: 3px solid var(--soft-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.1);
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input-box input:focus {
  border-color: var(--primary-color);
}

.main-search-submit {
  flex: 0 0 auto;
  margin-left: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 24px;
  background: var(--brand-gradient);
  color: #fff;
  font: 700 0.95rem var(--font-body);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.main-search-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.main-search-submit:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .main-search-submit {
    margin-left: 5px;
    padding: 10px 13px;
    font-size: 0.85rem;
  }
}

.catalog-search-feedback {
  min-height: 1.5em;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* LOS MÁS VENDIDOS (BESTSELLERS) */
.bestsellers-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-header-box {
  text-align: center;
  margin-bottom: 35px;
}

.badge-hot {
  background: #fff0f3;
  color: #ff0054;
  padding: 6px 16px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.85rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: -10px;
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.bestseller-card {
  background: white;
  border-radius: 20px;
  border: 3px solid var(--soft-border);
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bestseller-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.card-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-color);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 10px;
  z-index: 2;
}

.bestseller-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 12px;
}

.bestseller-img,
#featuredCostumeName {
  transition: opacity 0.45s ease-in-out;
}

.bestseller-img.is-changing,
#featuredCostumeName.is-changing {
  opacity: 0;
}

.bestseller-info h4 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.price-tag {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.ws-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-whatsapp);
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.ws-direct-btn:hover {
  background: #1ebea5;
}

.view-all-catalog-btn {
  display: inline-block;
  background: var(--secondary-color);
  color: white !important;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(123, 44, 191, 0.25);
  transition: transform 0.2s ease;
}

.view-all-catalog-btn:hover {
  transform: scale(1.04);
}

/* MÉTODOS DE PAGO Y ENVÍOS */
.trust-banner-section {
  max-width: 1160px;
  margin: 50px auto;
  padding: 0 20px;
}

.payment-shipping-brands {
  margin-top: 25px;
  text-align: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
  border: 2px dashed #b5e2fa;
}

.brands-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.brands-badges-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.brand-pill {
  padding: 6px 16px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}

.brand-pill.yape {
  background: #71237a;
}

.brand-pill.plin {
  background: #00a896;
}

.brand-pill.card-pay {
  background: #1a75ff;
}

.brand-pill.shalom {
  background: #d90429;
}

.brand-pill.olva {
  background: #ffb703;
  color: var(--text-dark);
}

/* TESTIMONIOS (MAMITAS FELICES) */
.testimonials-section {
  background: #ffffff;
  padding: 60px 20px;
  border-top: 3px solid var(--soft-border);
  border-bottom: 3px solid var(--soft-border);
}

.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 35px;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 20px;
  border: 2px solid #e2ece9;
  text-align: left;
}

.stars-row {
  color: #ffb703;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.5;
}

.client-info strong {
  display: block;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.client-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ ACORDEÓN */
.faq-section {
  max-width: 850px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.faq-item {
  background: white;
  border-radius: 15px;
  border: 2px solid var(--soft-border);
  padding: 15px 20px;
}

.faq-question {
  font-weight: 700;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-answer {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ==========================================
   MEJORAS VISUALES PUBLICIDAD POPUP PREMIUM
   ========================================== */
.promo-popup-card.popup-enhanced {
  max-width: 440px !important;
  padding: 30px 20px 20px !important;
  border: 4px solid var(--primary-color) !important;
  border-radius: 30px !important;
  overflow: visible !important;
}

.discount-badge-circle {
  position: absolute;
  top: -20px;
  left: -15px;
  background: linear-gradient(135deg, #ff0054, #ff5400);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 0, 84, 0.4);
  transform: rotate(-12deg);
  animation: pulsoBadge 2s infinite ease-in-out;
}

.discount-badge-circle span {
  font-size: 2rem;
  line-height: 1;
}

@keyframes pulsoBadge {

  0%,
  100% {
    transform: rotate(-12deg) scale(1);
  }

  50% {
    transform: rotate(-12deg) scale(1.1);
  }
}

.popup-product-showcase {
  position: relative;
  background: #fdf0f5;
  border-radius: 20px;
  padding: 10px;
  margin: 15px 0;
  border: 2px dashed var(--soft-border);
}

.popup-hero-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.popup-hero-img.is-changing {
  opacity: 0;
  transform: scale(0.97);
}

.popup-product-name {
  display: block;
  min-height: 1.6em;
  margin-top: 7px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.05rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.popup-product-name.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

#promoPopup[data-season="school"] .promo-popup-card {
  border-color: #0284c7 !important;
}

#promoPopup[data-season="patriotic"] .promo-popup-card {
  border-color: #dc2626 !important;
}

#promoPopup[data-season="halloween"] .promo-popup-card {
  border-color: #7e22ce !important;
}

#promoPopup[data-season="christmas"] .promo-popup-card {
  border-color: #15803d !important;
}

#promoPopup[data-season="school"] .discount-badge-circle {
  background: linear-gradient(135deg, #0284c7, #16a34a);
}

#promoPopup[data-season="patriotic"] .discount-badge-circle {
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
}

#promoPopup[data-season="halloween"] .discount-badge-circle {
  background: linear-gradient(135deg, #7e22ce, #ea580c);
}

#promoPopup[data-season="christmas"] .discount-badge-circle {
  background: linear-gradient(135deg, #15803d, #b91c1c);
}

.popup-timer-text {
  font-size: 0.85rem !important;
  color: var(--secondary-color) !important;
  margin-bottom: 15px !important;
}

.popup-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-ws-action-btn {
  background: linear-gradient(45deg, #25d366, #1ebea5);
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.popup-ws-action-btn:hover {
  transform: scale(1.03);
}

.popup-secondary-link {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: underline;
}

.popup-trust-footer {
  margin-top: 15px;
  border-top: 1px dashed #e0e0e0;
  padding-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* BOTÓN FLOTANTE WHATSAPP */
.ws-floating-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
  animation: pulsoFlotante 2s infinite ease-in-out;
}

.ws-floating-widget:hover {
  transform: scale(1.1);
}

.ws-floating-widget.is-obstructed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ws-floating-tooltip {
  position: absolute;
  right: 70px;
  background: white;
  color: var(--text-dark);
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #25d366;
  pointer-events: none;
}

@keyframes pulsoFlotante {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* PASOS DE COMPRA */
.how-to-buy-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 35px;
}

.step-card {
  background: white;
  border-radius: 25px;
  padding: 30px 20px;
  border: 3px dashed var(--soft-border);
  position: relative;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.step-card h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================
   ESTILOS: MEJORA 1
   ========================================== */
.event-filter-wrapper {
  margin-top: 18px;
  text-align: center;
}

.event-filter-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.event-pills-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.event-pill {
  background: #ffffff;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 15px;
  border: 2px solid var(--soft-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.event-pill:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* ==========================================
   OPTIMIZACIÓN DE RENDIMIENTO EN CATALOGOS
   ========================================== */
.costume-card,
.bestseller-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 380px;
}

/* PANTALLA DE INTRODUCCIÓN CUBRE-TODO */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 30%, #58308b 0, #241347 42%, #10101d 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  /* Máxima prioridad por encima de la publicidad */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-overlay[data-season="school"] {
  background: radial-gradient(circle at 50% 30%, #38bdf8 0, #075985 48%, #123047 100%);
}

.splash-overlay[data-season="patriotic"] {
  background: radial-gradient(circle at 50% 30%, #f87171 0, #b91c1c 48%, #450a0a 100%);
}

.splash-overlay[data-season="halloween"] {
  background:
    radial-gradient(ellipse at 50% 115%, rgba(255, 112, 20, 0.3), transparent 48%),
    radial-gradient(circle at 50% 30%, #57135e 0, #35114b 45%, #160d23 100%);
}

.splash-overlay[data-season="halloween"] .splash-content-box {
  border: 1px solid rgba(255, 139, 34, 0.65);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(87, 19, 94, 0.92), rgba(22, 13, 35, 0.94) 72%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(255, 112, 20, 0.2),
    inset 0 0 28px rgba(255, 139, 34, 0.08);
}

.splash-overlay[data-season="halloween"] .splash-logo-animado {
  box-shadow:
    0 0 24px rgba(255, 139, 34, 0.45),
    0 0 44px rgba(123, 30, 97, 0.5);
}

.splash-overlay[data-season="halloween"] .splash-title {
  color: #fff3df;
  text-shadow: 0 0 18px rgba(255, 139, 34, 0.3);
}

.splash-overlay[data-season="halloween"] .splash-enter-btn {
  background: linear-gradient(110deg, #ea580c 0%, #ff8b22 48%, #7e22ce 100%);
  border: 1px solid rgba(255, 227, 176, 0.65);
  box-shadow:
    0 5px 22px rgba(255, 112, 20, 0.42),
    0 0 24px rgba(126, 34, 206, 0.28);
}

.splash-overlay[data-season="halloween"] .splash-enter-btn:hover {
  box-shadow:
    0 8px 28px rgba(255, 112, 20, 0.62),
    0 0 32px rgba(126, 34, 206, 0.42);
}

.splash-overlay[data-season="halloween"] .splash-season-icon {
  filter:
    drop-shadow(0 0 18px rgba(255, 139, 34, 0.75))
    drop-shadow(0 0 38px rgba(255, 87, 34, 0.45));
}

.splash-overlay[data-season="christmas"] {
  background: radial-gradient(circle at 50% 30%, #22c55e 0, #14532d 45%, #082b1b 100%);
}

.cookie-consent {
  position: fixed;
  z-index: 999998;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(20px, env(safe-area-inset-left));
  max-width: 940px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid var(--soft-border);
  border-radius: 20px;
  background: var(--card-bg);
  color: var(--text-dark);
  box-shadow: 0 12px 40px rgba(43, 45, 66, 0.2);
  font-family: var(--font-body);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent.is-closing {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition-duration: 0.01ms;
  }
}

.cookie-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-consent__copy {
  flex: 1;
}

.cookie-consent__copy h2 {
  margin-bottom: 7px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.35rem;
}

.cookie-consent__copy p,
.cookie-consent__setting p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.cookie-consent__text-button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--secondary-color);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 10px 15px;
  border: 2px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
}

.cookie-consent__button:focus-visible,
.cookie-consent__text-button:focus-visible,
.cookie-consent__setting input:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.cookie-consent__button--primary {
  background: var(--secondary-color);
  color: #fff;
}

.cookie-consent__button--secondary {
  border-color: var(--soft-border);
  background: var(--card-bg);
  color: var(--text-dark);
}

.cookie-consent__settings {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--soft-border);
}

.cookie-consent__settings[hidden] {
  display: none;
}

.cookie-consent__setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-dark);
  font-size: 0.82rem;
}

.cookie-consent__setting strong,
.cookie-consent__setting-description {
  display: block;
}

.cookie-consent__setting-description,
.cookie-consent__required {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 400;
}

.cookie-consent__setting input {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color);
  cursor: pointer;
}

.cookie-consent__settings > .cookie-consent__button {
  justify-self: end;
}

.cookie-consent__status {
  margin: 0;
  color: #a12626;
  font-size: 0.78rem;
}

.cookie-consent__status:empty {
  display: none;
}

.complaints-book-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.complaints-book-link:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.complaints-book-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.complaints-book-link:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.claims-page {
  min-height: 100%;
  background: var(--page-gradient);
  color: var(--text-dark);
}

.terms-page {
  min-height: 100%;
  background: var(--page-gradient);
  color: var(--text-dark);
}

.terms-header,
.terms-content,
.terms-footer {
  width: min(100% - 32px, 920px);
  margin-inline: auto;
}

.terms-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--soft-border);
}

.terms-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.terms-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.terms-home-link {
  color: var(--secondary-color);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.terms-home-link:hover,
.terms-breadcrumb a:hover,
.terms-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-home-link:focus-visible,
.terms-brand:focus-visible,
.terms-contact a:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.terms-content {
  padding-block: 24px 60px;
}

.terms-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.terms-breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.terms-card {
  max-width: 100%;
  padding: clamp(20px, 5vw, 44px);
  border: 1px solid var(--soft-border);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 12px 34px rgba(43, 45, 66, 0.08);
}

.terms-card__header {
  max-width: 720px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--soft-border);
}

.terms-eyebrow {
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.terms-card__header h1 {
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.2;
}

.terms-card__header > p:last-child {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.terms-clause {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding-block: 25px;
  border-bottom: 1px solid var(--soft-border);
}

.terms-clause__number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--bubble-tertiary);
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
}

.terms-clause h2 {
  margin-bottom: 9px;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 1.3rem;
}

.terms-clause h3 {
  margin-block: 15px 5px;
  color: var(--secondary-color);
  font-size: 0.94rem;
  font-weight: 700;
}

.terms-clause h3:first-of-type {
  margin-top: 0;
}

.terms-clause p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.terms-contact {
  padding: 20px;
  margin-top: 24px;
  border-radius: 14px;
  background: var(--bg-light);
}

.terms-contact h2 {
  margin-bottom: 7px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.08rem;
}

.terms-contact p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.terms-contact a {
  color: var(--secondary-color);
  font-weight: 700;
}

.returns-contact {
  padding: 22px;
  margin-top: 25px;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: var(--bubble-tertiary);
}

.returns-contact h2 {
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.2rem;
}

.returns-contact > p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.returns-contact__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.returns-contact__details div {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--soft-border);
  border-radius: 11px;
  background: var(--card-bg);
}

.returns-contact__details div:last-child {
  grid-column: 1 / -1;
}

.returns-contact__details dt {
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.returns-contact__details dd {
  overflow-wrap: anywhere;
  color: var(--text-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.terms-footer {
  padding-block: 18px 30px;
  border-top: 1px solid var(--soft-border);
  color: var(--text-muted);
  font-size: 0.76rem;
  text-align: center;
}

.terms-footer p {
  margin-bottom: 4px;
}

.terms-footer .footer-rights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--soft-border);
}

.terms-footer .complaints-book-link,
.terms-footer .terms-and-conditions-link {
  margin-top: 0;
  color: var(--secondary-color);
}

.terms-footer .complaints-book-link {
  padding: 0;
  border: 0;
}

.terms-footer .complaints-book-link:hover {
  background: transparent;
  text-decoration: underline;
}

.terms-and-conditions-link {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.terms-and-conditions-link:hover {
  text-decoration: underline;
}

.terms-and-conditions-link:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.claims-header,
.claims-main,
.claims-footer {
  width: min(100% - 32px, 920px);
  margin-inline: auto;
}

.claims-header {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--soft-border);
}

.claims-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.claims-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.claims-home-link {
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.claims-home-link:hover,
.claims-breadcrumb a:hover,
.claims-privacy a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.claims-main {
  padding-block: 26px 64px;
}

.claims-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.claims-breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.claims-intro {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 24px;
}

.claims-intro__icon {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border-radius: 20px;
  background: var(--bubble-tertiary);
  color: var(--secondary-color);
  font-size: 1.8rem;
}

.claims-eyebrow {
  margin-bottom: 4px;
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.claims-intro h1 {
  margin-bottom: 7px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  line-height: 1.2;
}

.claims-intro p:last-child {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.claims-book-logo {
  width: min(100%, 360px);
  margin: 0 auto 22px;
}

.claims-book-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.claims-provider,
.claims-explanation,
.claims-form,
.claims-receipt {
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: 0 8px 24px rgba(43, 45, 66, 0.06);
}

.claims-provider {
  padding: 20px 22px;
  margin-bottom: 14px;
}

.claims-provider__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--secondary-color);
}

.claims-provider__heading h2,
.claims-privacy h2 {
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.claims-provider__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
  margin: 0;
}

.claims-provider__details div:last-child {
  grid-column: 1 / -1;
}

.claims-provider__details dt {
  margin-bottom: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.claims-provider__details dd {
  overflow-wrap: anywhere;
  font-size: 0.85rem;
  font-weight: 600;
}

.claims-explanation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: var(--bubble-tertiary);
  box-shadow: none;
}

.claims-explanation p {
  font-size: 0.78rem;
  line-height: 1.6;
}

.claims-explanation strong {
  color: var(--secondary-color);
}

.claims-form {
  padding: 26px;
}

.claims-section {
  min-width: 0;
  padding: 0;
  margin: 0 0 27px;
  border: 0;
}

.claims-section legend {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 0 0 14px;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 1.16rem;
  font-weight: 700;
}

.claims-section__number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.83rem;
}

.claims-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.claims-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.claims-field--full {
  grid-column: 1 / -1;
}

.claims-field label,
.claims-label {
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.claims-field label > span,
.claims-label > span,
.claims-consent > span > span {
  color: #b4234d;
}

.claims-field input,
.claims-field select,
.claims-field textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #d9d5e2;
  border-radius: 10px;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
  font-size: 0.84rem;
}

.claims-field textarea {
  min-height: 115px;
  resize: vertical;
}

.claims-field input:focus,
.claims-field select:focus,
.claims-field textarea:focus {
  border-color: var(--secondary-color);
  outline: 3px solid rgba(123, 44, 191, 0.15);
}

.claims-field [aria-invalid="true"] {
  border-color: #b4234d;
}

.claims-field__hint {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.claims-field__error {
  min-height: 0;
  color: #a12626;
  font-size: 0.73rem;
}

.claims-field__error:empty {
  display: none;
}

.claims-choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.claims-choice {
  display: flex;
  min-height: 72px;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid #d9d5e2;
  border-radius: 12px;
  cursor: pointer;
}

.claims-choice:has(input:checked) {
  border-color: var(--secondary-color);
  background: var(--bubble-tertiary);
}

.claims-choice input,
.claims-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--secondary-color);
}

.claims-choice strong,
.claims-choice small {
  display: block;
}

.claims-choice strong {
  margin-bottom: 3px;
  font-size: 0.82rem;
}

.claims-choice small {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.claims-privacy {
  padding: 18px;
  border-radius: 12px;
  background: var(--bg-light);
}

.claims-declaration {
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--soft-border);
  border-radius: 12px;
}

.claims-privacy h2 {
  margin-bottom: 9px;
  color: var(--secondary-color);
}

.claims-privacy > p,
.claims-legal-note,
.claims-submit > p {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.claims-privacy a {
  color: var(--secondary-color);
  font-weight: 600;
}

.claims-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.76rem;
  line-height: 1.6;
  cursor: pointer;
}

.claims-legal-note {
  padding: 15px 0;
}

.claims-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-border);
}

.claims-submit__button,
.claims-print-button {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--secondary-color);
  color: #fff;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.claims-submit__button:hover,
.claims-print-button:hover {
  transform: translateY(-1px);
}

.claims-submit__button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.claims-submit__button:focus-visible,
.claims-print-button:focus-visible,
.claims-home-link:focus-visible,
.claims-brand:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.claims-form__status {
  margin-top: 14px;
  color: #a12626;
  font-size: 0.83rem;
}

.claims-form__status:empty {
  display: none;
}

.claims-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.claims-receipt {
  padding: 28px;
  margin-top: 22px;
}

.claims-receipt__success {
  margin-bottom: 8px;
  color: #198754;
  font-size: 2rem;
}

.claims-receipt h2 {
  margin-bottom: 7px;
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.55rem;
}

.claims-receipt > p {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.claims-receipt__details,
.claims-receipt__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.claims-receipt__details div,
.claims-receipt__summary div {
  min-width: 0;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-light);
}

.claims-receipt__details dt,
.claims-receipt__summary dt {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.claims-receipt__details dd,
.claims-receipt__summary dd {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  font-weight: 600;
}

.claims-receipt__note {
  padding: 12px;
  border-left: 3px solid var(--accent-color);
  background: var(--bubble-accent);
}

.claims-provider-response {
  padding: 16px;
  margin-block: 18px;
  border: 1px dashed #a59aad;
  border-radius: 10px;
}

.claims-provider-response h3 {
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-size: 0.95rem;
}

.claims-provider-response p {
  margin-block: 5px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.claims-provider-response div {
  min-height: 70px;
  border-bottom: 1px solid #a59aad;
}

.claims-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--soft-border);
  color: var(--text-muted);
  font-size: 0.76rem;
}

.claims-footer a {
  color: var(--secondary-color);
  font-weight: 700;
}

.claims-page [hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .terms-header,
  .terms-content,
  .terms-footer {
    width: min(100% - 24px, 920px);
  }

  .terms-header {
    min-height: 70px;
  }

  .terms-brand {
    gap: 7px;
    font-size: 1rem;
  }

  .terms-brand img {
    width: 40px;
    height: 40px;
  }

  .terms-home-link {
    max-width: 125px;
    font-size: 0.72rem;
    text-align: right;
  }

  .terms-content {
    padding-top: 18px;
  }

  .terms-card {
    padding: 20px 17px;
    border-radius: 16px;
  }

  .terms-clause {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 11px;
    padding-block: 20px;
  }

  .terms-clause__number {
    width: 30px;
    height: 30px;
  }

  .terms-clause h2 {
    font-size: 1.15rem;
  }

  .terms-clause h3 {
    font-size: 0.88rem;
  }

  .terms-clause p {
    font-size: 0.82rem;
    line-height: 1.75;
  }

  .terms-contact {
    padding: 16px;
  }

  .returns-contact {
    padding: 17px;
  }

  .returns-contact__details {
    grid-template-columns: minmax(0, 1fr);
  }

  .returns-contact__details div:last-child {
    grid-column: auto;
  }

  .terms-footer .footer-rights {
    flex-direction: column;
    gap: 9px;
  }

  .claims-header,
  .claims-main,
  .claims-footer {
    width: min(100% - 24px, 920px);
  }

  .claims-header {
    min-height: 72px;
  }

  .claims-brand {
    gap: 8px;
    font-size: 1rem;
  }

  .claims-brand img {
    width: 40px;
    height: 40px;
  }

  .claims-home-link {
    max-width: 120px;
    font-size: 0.72rem;
    text-align: right;
  }

  .claims-main {
    padding-top: 18px;
  }

  .claims-intro {
    align-items: flex-start;
    gap: 12px;
  }

  .claims-intro__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
    font-size: 1.3rem;
  }

  .claims-provider {
    padding: 17px;
  }

  .claims-provider__details,
  .claims-explanation,
  .claims-fields,
  .claims-choice-group,
  .claims-receipt__details,
  .claims-receipt__summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .claims-provider__details div:last-child {
    grid-column: auto;
  }

  .claims-explanation {
    padding: 15px;
  }

  .claims-form,
  .claims-receipt {
    padding: 18px;
  }

  .claims-section legend {
    font-size: 1.02rem;
  }

  .claims-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .claims-submit__button,
  .claims-print-button {
    width: 100%;
  }

  .claims-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body.claims-page {
    min-height: auto;
    background: #fff;
  }

  body.claims-page > :not(.claims-main),
  .claims-main > :not(.claims-receipt),
  .claims-receipt__success,
  .claims-print-button {
    display: none !important;
  }

  .claims-main,
  .claims-receipt {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .claims-receipt[hidden] {
    display: none !important;
  }

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

@media (max-width: 640px) {
  .cookie-consent {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    padding: 18px;
    border-radius: 16px;
  }

  .cookie-consent__content {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .cookie-consent__copy h2 {
    font-size: 1.2rem;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__button {
    flex: 1 1 145px;
  }
}

.splash-halloween-decor {
  display: none;
}

.splash-overlay[data-season="halloween"] .splash-halloween-decor {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.splash-halloween-moon,
.splash-halloween-ghost,
.splash-halloween-bat,
.splash-halloween-star {
  position: absolute;
  display: block;
}

.splash-halloween-moon {
  top: 7%;
  right: 9%;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  filter: drop-shadow(0 0 12px rgba(255, 242, 176, 0.65));
  animation: halloweenMoonGlow 4.5s ease-in-out infinite alternate;
}

.splash-halloween-ghost {
  bottom: 12%;
  left: 13%;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  opacity: 0.42;
  filter: drop-shadow(0 0 16px rgba(220, 225, 255, 0.55));
  animation: halloweenGhostFloat 6s ease-in-out infinite;
}

.splash-halloween-bat {
  top: 15%;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  filter: drop-shadow(0 0 8px rgba(203, 164, 255, 0.6));
}

.splash-halloween-bat-left {
  left: 10%;
  animation: halloweenBatLeft 11s ease-in-out infinite;
}

.splash-halloween-bat-right {
  top: 22%;
  right: 12%;
  animation: halloweenBatRight 13s ease-in-out infinite;
}

.splash-halloween-star {
  color: #fff4b8;
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-shadow: 0 0 8px #fff, 0 0 18px #ffbf47, 0 0 28px #a855f7;
  animation: halloweenStarTwinkle 3.4s ease-in-out infinite alternate;
}

.splash-halloween-star-one {
  top: 24%;
  left: 27%;
}

.splash-halloween-star-two {
  top: 34%;
  right: 19%;
  animation-delay: 0.45s;
}

.splash-halloween-star-three {
  right: 30%;
  bottom: 20%;
  animation-delay: 0.9s;
}

.splash-halloween-star-four {
  bottom: 29%;
  left: 19%;
  animation-delay: 1.25s;
}

@keyframes halloweenMoonGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(255, 242, 176, 0.55));
  }

  to {
    filter: drop-shadow(0 0 25px rgba(255, 242, 176, 1));
  }
}

@keyframes halloweenGhostFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-26px);
  }
}

@keyframes halloweenBatLeft {

  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }

  50% {
    transform: translate(48px, -12px) rotate(-5deg);
  }
}

@keyframes halloweenBatRight {

  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }

  50% {
    transform: translate(-46px, 12px) rotate(5deg);
  }
}

@keyframes halloweenStarTwinkle {
  from {
    opacity: 0.48;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 191, 71, 0.55), 0 0 16px rgba(168, 85, 247, 0.4);
  }

  to {
    opacity: 0.95;
    text-shadow: 0 0 9px #fff, 0 0 19px #ffbf47, 0 0 29px #a855f7;
  }
}

.splash-content-box {
  position: relative;
  z-index: 3;
  text-align: center;
  width: min(460px, calc(100% - 32px));
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(16, 12, 28, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.splash-season-icon {
  position: absolute;
  z-index: 2;
  top: calc(50% - 270px);
  left: 50%;
  display: block;
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  line-height: 1;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
  transform: translateX(-50%);
}

.splash-overlay[data-season="halloween"] .splash-season-icon {
  position: fixed;
  z-index: 2;
  top: 6%;
  left: 6%;
  font-size: clamp(5rem, 17vw, 9rem);
  pointer-events: none;
  will-change: top, left, transform, filter;
  animation: splashPumpkinHaunt 10s ease-in-out infinite;
  transform-origin: center;
}

@keyframes splashPumpkinHaunt {
  0% {
    top: 6%;
    left: 6%;
    transform: translate(-10%, -10%) scale(0.9) rotate(-18deg);
    filter: drop-shadow(0 0 18px rgba(255, 111, 0, 0.65));
  }

  16% {
    top: 5%;
    left: 94%;
    transform: translate(-90%, -10%) scale(1.35) rotate(20deg);
    filter: drop-shadow(0 0 28px rgba(255, 111, 0, 0.9));
  }

  30% {
    top: 43%;
    left: 96%;
    transform: translate(-90%, -50%) scale(1.75) rotate(-12deg);
    filter: drop-shadow(0 0 38px rgba(255, 93, 0, 1));
  }

  43% {
    top: 94%;
    left: 94%;
    transform: translate(-90%, -90%) scale(1.3) rotate(16deg);
    filter: drop-shadow(0 0 27px rgba(255, 111, 0, 0.85));
  }

  58% {
    top: 95%;
    left: 7%;
    transform: translate(-10%, -90%) scale(1.8) rotate(-15deg);
    filter: drop-shadow(0 0 38px rgba(255, 93, 0, 1));
  }

  74% {
    top: 48%;
    left: 4%;
    transform: translate(-10%, -50%) scale(1.65) rotate(19deg);
    filter: drop-shadow(0 0 36px rgba(255, 93, 0, 0.95));
  }

  88% {
    top: 7%;
    left: 6%;
    transform: translate(-10%, -10%) scale(1.3) rotate(-22deg);
    filter: drop-shadow(0 0 29px rgba(255, 111, 0, 0.9));
  }

  100% {
    top: 6%;
    left: 6%;
    transform: translate(-10%, -10%) scale(0.9) rotate(-18deg);
    filter: drop-shadow(0 0 18px rgba(255, 111, 0, 0.65));
  }
}

.splash-logo-animado {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.4);
  animation: logoEfectoMagico 3s infinite ease-in-out;
}

.splash-title {
  font-family: var(--font-title);
  color: #ffffff;
  font-size: clamp(1.65rem, 7vw, 2.3rem);
  line-height: 1.1;
  margin-bottom: 9px;
}

.splash-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.splash-enter-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-title);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(255, 0, 127, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.splash-enter-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.6);
}

@media (max-width: 600px) {
  .splash-halloween-moon {
    top: 5%;
    right: 6%;
    font-size: 2.8rem;
  }

  .splash-halloween-ghost {
    bottom: 8%;
    left: 7%;
    font-size: 2.8rem;
  }

  .splash-halloween-bat-left {
    top: 18%;
    left: 7%;
  }

  .splash-halloween-bat-right {
    top: 27%;
    right: 6%;
  }

  .splash-halloween-star-one {
    top: 34%;
    left: 10%;
  }

  .splash-halloween-star-two {
    top: 38%;
    right: 9%;
  }

  .splash-halloween-star-three {
    right: 12%;
    bottom: 15%;
  }

  .splash-halloween-star-four {
    bottom: 24%;
    left: 10%;
  }

  .splash-content-box {
    width: calc(100% - 28px);
    padding: 22px 16px;
    border-radius: 24px;
    background: rgba(16, 12, 28, 0.9);
  }

  .splash-logo-animado {
    width: 68px;
    height: 68px;
  }

  .splash-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .splash-subtitle {
    margin-bottom: 18px;
    font-size: 0.82rem;
  }

  .splash-enter-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .splash-overlay[data-season="halloween"] .splash-season-icon {
    font-size: clamp(3.8rem, 18vw, 4.8rem);
    animation-name: splashPumpkinHauntMobile;
    animation-duration: 9s;
  }

  @keyframes splashPumpkinHauntMobile {
    0% {
      top: 13%;
      left: 13%;
      transform: translate(-50%, -50%) scale(0.85) rotate(-16deg);
    }

    25% {
      top: 13%;
      left: 87%;
      transform: translate(-50%, -50%) scale(1.15) rotate(18deg);
    }

    50% {
      top: 87%;
      left: 87%;
      transform: translate(-50%, -50%) scale(1.25) rotate(-14deg);
    }

    75% {
      top: 87%;
      left: 13%;
      transform: translate(-50%, -50%) scale(1.15) rotate(18deg);
    }

    100% {
      top: 13%;
      left: 13%;
      transform: translate(-50%, -50%) scale(0.85) rotate(-16deg);
    }
  }
}

@keyframes logoEfectoMagico {

  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
  }

  50% {
    transform: scale(1.08);
    filter: brightness(1.2);
    box-shadow: 0 0 40px rgba(255, 0, 127, 0.6);
  }
}

/* Clase para ocultar suavemente al hacer clic */
.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* FRANJA DEL ENCABEZADO MÁS CÓMODA Y ESPACIOSA EN CELULARES */
@media (max-width: 768px) {
  #main-header {
    padding: 0.9rem 1rem !important;
    /* Aumentamos el grosor superior e inferior de la franja */
  }

  #main-header .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 60px !important;
    /* Le damos una altura mínima generosa */
  }

  .header-left-group,
  .header-left-combo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .logo-rainbow {
    font-size: 1.4rem !important;
    /* Mantenemos el estilo y tamaño llamativo original */
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .nav-circular-logo {
    width: 45px !important;
    /* Logo con buen tamaño */
    height: 45px !important;
    min-width: 45px !important;
  }

  .ws-header-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
  }
}

/* FRANJA SUPERIOR FUCSIA AMPLIADA EN CELULARES */
@media (max-width: 768px) {
  .top-sales-bar {
    height: auto !important;
    /* Permitimos que crezca en altura según lo necesite el texto */
    min-height: 50px !important;
    /* Le damos un tamaño más grueso y cómodo */
    padding: 10px 15px !important;
    /* Más espacio interno para que el texto respire */
    font-size: 0.8rem !important;
    /* Un tamaño de letra legible */
    line-height: 1.3 !important;
    gap: 9px;
    text-align: left;
  }

  .seasonal-campaign-icon {
    font-size: 1.6rem;
  }

  .seasonal-campaign-title {
    font-size: 0.95rem;
  }

  .seasonal-campaign-message {
    font-size: 0.7rem;
  }
}

/* POR DEFECTO (COMPUTADORA): Muestra el logo de escritorio y oculta el de celular */
.logo-mobile {
  display: none !important;
}

.logo-desktop {
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  .nav-logo-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .logo-text-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .logo-top-text {
    font-family: var(--font-title, sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color, #ff007f);
  }

  .logo-bottom-text {
    font-family: var(--font-title, sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color, #4361ee);
  }

  #main-header {
    padding: 0.8rem 1rem !important;
  }

  #main-header .header-container {
    min-height: 55px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

/* ==========================================================
   2. MODAL DE TALLAS UNIFICADO (PC Y CELULAR)
   ========================================================== */

/* Fondo oscuro translúcido (Oculto por defecto) */
.modal-tallas-overlay {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.75) !important;
  z-index: 2147483647 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px !important;
  box-sizing: border-box !important;
}

/* Caja interna (Diseño amplio para COMPUTADORAS) */
.modal-tallas-overlay .modal-contenedor {
  background: linear-gradient(145deg, #fffaf0 0%, #f4eaff 100%) !important;
  width: 650px !important;
  max-width: 90vw !important;
  max-height: 86vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  border: 2px solid #e5b94f !important;
  border-radius: 24px !important;
  padding: 28px !important;
  box-shadow: 0 18px 48px rgba(31, 12, 58, 0.5), inset 0 0 0 5px rgba(255, 255, 255, 0.55) !important;
  position: relative !important;
  box-sizing: border-box !important;
  z-index: 2147483648 !important;
}

.modal-tallas-overlay .modal-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 32px 8px;
  color: #7136a8;
  font-size: 1.35rem;
}

.modal-tallas-overlay .modal-header-title h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.modal-tallas-overlay #sizeGuideDescription {
  margin: 0 0 18px;
  color: #514362;
  line-height: 1.5;
}

/* Botón de cerrar "X" fijo arriba a la derecha */
.modal-tallas-overlay .cerrar-modal {
  position: sticky !important;
  top: 0 !important;
  float: right !important;
  background: linear-gradient(145deg, #8a42c2, #5d258d) !important;
  color: white !important;
  border: 2px solid #f1d27d !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 3px 9px rgba(49, 20, 72, 0.3) !important;
  z-index: 1000 !important;
}

/* Tabla legible, con contraste y acentos de la marca */
.modal-tallas-overlay .table-responsive-wrapper {
  overflow-x: auto;
  border: 1px solid #d9c2ee;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 5px 16px rgba(76, 41, 105, 0.1);
}

.modal-tallas-overlay .size-table {
  width: 100% !important;
  font-size: 0.95rem !important;
  border-collapse: separate;
  border-spacing: 0;
  color: #38264c;
}

.modal-tallas-overlay .size-table th,
.modal-tallas-overlay .size-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e5d8ef;
  text-align: center;
}

.modal-tallas-overlay .size-table th {
  background: linear-gradient(120deg, #7435a8, #512579);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.modal-tallas-overlay .size-table th:first-child {
  border-top-left-radius: 12px;
}

.modal-tallas-overlay .size-table th:last-child {
  border-top-right-radius: 12px;
}

.modal-tallas-overlay .size-table tbody tr:nth-child(even) {
  background: rgba(226, 210, 244, 0.52);
}

.modal-tallas-overlay .size-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.7);
}

.modal-tallas-overlay .size-table tbody tr:last-child td {
  border-bottom: 0;
}

.modal-tallas-overlay .badge-size {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #e8c45f;
  border-radius: 999px;
  background: #fff1bf;
  color: #603d08;
  font-weight: 700;
  white-space: nowrap;
}

.modal-tallas-overlay .modal-contenedor>p:last-of-type {
  margin: 16px 0 12px;
  color: #59466b;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================
   3. ADAPTACIÓN EXCLUSIVA PARA CELULARES
   ========================================================== */
@media (max-width: 768px) {
  .modal-tallas-overlay .modal-contenedor {
    width: min(94vw, 440px) !important;
    max-width: 94vw !important;
    max-height: 88vh !important;
    padding: 18px 14px !important;
    border-radius: 20px !important;
  }

  .modal-tallas-overlay .modal-header-title {
    gap: 7px;
    margin: 2px 28px 8px;
    font-size: 1.1rem;
  }

  .modal-tallas-overlay .modal-header-title h3 {
    font-size: 1.05rem;
  }

  .modal-tallas-overlay #sizeGuideDescription {
    margin-bottom: 13px;
    font-size: 0.9rem;
  }

  .modal-tallas-overlay .size-table {
    width: 100% !important;
    table-layout: fixed;
    font-size: 0.72rem !important;
  }

  .modal-tallas-overlay .size-table th,
  .modal-tallas-overlay .size-table td {
    padding: 8px 4px;
    overflow-wrap: anywhere;
  }

  .modal-tallas-overlay .size-table th:first-child,
  .modal-tallas-overlay .size-table td:first-child {
    width: 24%;
  }

  .modal-tallas-overlay .size-table th:nth-child(2),
  .modal-tallas-overlay .size-table td:nth-child(2) {
    width: 38%;
  }

  .modal-tallas-overlay .size-table th:last-child,
  .modal-tallas-overlay .size-table td:last-child {
    width: 38%;
  }

  .modal-tallas-overlay .badge-size {
    padding: 4px 7px;
  }

  .modal-tallas-overlay .cerrar-modal {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }
}

/* ==========================================================
   4. ENCABEZADO MÓVIL Y ESCRITORIO
   ========================================================== */

/* Ocultar enlace móvil en PC por defecto */
.header-mobile-clean {
  display: none !important;
}

@media (max-width: 768px) {

  /* Ocultar elementos de escritorio */
  .logo-desktop {
    display: none !important;
  }

  /* Mostrar contenedor móvil limpio */
  .header-mobile-clean {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 6px !important;
  }

  #main-header {
    padding: 0.5rem 0.6rem !important;
  }

  #main-header .header-container {
    width: 100% !important;
    display: flex !important;
  }

  .m-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .m-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* Botón Menú compacto */
  .m-btn-menu {
    padding: 5px 9px !important;
    font-size: 0.75rem !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
  }

  /* Logo móvil alineado */
  .m-logo {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-decoration: none !important;
  }

  .m-logo-img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  .m-logo-texts {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
  }

  .m-txt-top {
    font-family: var(--font-title, sans-serif) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--primary-color, #ff007f) !important;
  }

  .m-txt-bot {
    font-family: var(--font-title, sans-serif) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--secondary-color, #4361ee) !important;
  }

  /* Botón Tallas pequeño */
  .m-btn-tallas {
    padding: 5px 8px !important;
    font-size: 0.7rem !important;
    white-space: nowrap !important;
  }

  /* Icono circular de WhatsApp compacto */
  .m-ws-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    background: #25d366 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
  }
}

/* Centrar el botón final del modal */
.modal-tallas-overlay .modal-close-action,
.tallas-box-card .modal-close-action {
  display: block !important;
  margin: 20px auto 0 auto !important;
  /* Centra el botón horizontalmente */
  text-align: center !important;
  background: var(--primary-color) !important;
  color: white !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 10px 25px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* ==========================================================
   CORRECCIÓN EXCLUSIVA PARA EL INDEX (SIN AFECTAR CATEGORÍAS)
   ========================================================== */
@media (max-width: 768px) {

  /* Solo si el header NO usa la clase .header-mobile-clean (es decir, el Index) */
  #main-header:not(:has(.header-mobile-clean)) .header-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
  }

  #main-header:not(:has(.header-mobile-clean)) .logo-mobile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }

  #main-header:not(:has(.header-mobile-clean)) .header-right {
    display: flex !important;
    align-items: center !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  #main-header:not(:has(.header-mobile-clean)) .header-right a,
  #main-header:not(:has(.header-mobile-clean)) .ws-header-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    border-radius: 15px !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
}

/* Indicador táctil para celulares en las tarjetas de disfraces */
.detalle-tap-hint {
  display: none;
  /* Oculto por defecto en PC */
}

@media (max-width: 768px) {
  .detalle-tap-hint {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--brand-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    animation: pulsoSuave 2s infinite;
  }
}

/* Animación sutil para llamar la atención del dedo */
@keyframes pulsoSuave {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .utiles-live-proof {
    margin: 8px 12px !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }

  .utiles-live-proof>div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  .utiles-live-proof>div>div:nth-child(-n+3) {
    min-width: 0 !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    text-align: left;
  }

  .utiles-live-proof>div>div:nth-child(-n+3) span:first-child {
    flex: 0 0 auto;
    font-size: 1.15rem !important;
  }

  .utiles-live-proof>div>div:nth-child(-n+3) span:last-child {
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
  }

  .utiles-live-proof .live-proof-cta {
    grid-column: 1 / -1;
    flex: initial;
  }

  .utiles-live-proof .live-proof-cta a {
    padding: 8px 16px !important;
    font-size: 0.78rem !important;
  }

  .live-proof-cta {
    display: flex;
    flex: 1 0 100%;
    justify-content: center;
  }

  .utiles-trust-section {
    width: 100%;
    margin: 30px auto;
    padding: 0 12px;
  }

  .utiles-trust-section .store-guarantees-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0 auto;
    padding: 14px;
    border-width: 2px;
    border-radius: 18px;
  }

  .utiles-trust-section .guarantee-item {
    min-width: 0;
    padding: 14px 10px;
    border-radius: 12px;
    background: #f8fbff;
  }

  .utiles-trust-section .guarantee-icon {
    margin-bottom: 6px;
    font-size: 2rem;
  }

  .utiles-trust-section .guarantee-item h4 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .utiles-trust-section .guarantee-item p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  #main-header.utiles-header .header-mobile-clean {
    justify-content: flex-start !important;
  }

  #main-header.utiles-header .m-left {
    flex: 1;
    justify-content: flex-start;
    gap: 10px !important;
  }

  #main-header.utiles-header .m-logo {
    gap: 8px !important;
    white-space: nowrap;
  }

  #main-header.utiles-header .m-logo-img {
    width: 38px !important;
    height: 38px !important;
  }

  #main-header.utiles-header .m-btn-menu {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    justify-content: center;
    font-size: 1rem !important;
  }

  #main-header.utiles-header .utiles-mobile-brand {
    font-family: var(--font-title, sans-serif);
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
  }

  #main-header.accesorios-header .header-mobile-clean {
    justify-content: flex-start !important;
  }

  #main-header.accesorios-header .m-left {
    flex: 1;
    justify-content: flex-start;
    gap: 10px !important;
  }

  #main-header.accesorios-header .m-logo {
    gap: 8px !important;
    white-space: nowrap;
  }

  #main-header.accesorios-header .m-logo-img {
    width: 38px !important;
    height: 38px !important;
  }

  #main-header.accesorios-header .m-btn-menu {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    justify-content: center;
    font-size: 1rem !important;
  }

  #main-header.accesorios-header .accesorios-mobile-brand {
    font-family: var(--font-title, sans-serif);
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
  }
}

.costume-cart-actions {
  margin-top: 14px;
}

.costume-cart-add,
.costume-cart-confirm,
.costume-cart-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.costume-cart-add {
  width: 100%;
}

.costume-cart-add:hover,
.costume-cart-confirm:hover,
.costume-cart-checkout:not(:disabled):hover {
  filter: brightness(1.08);
}

.costume-cart-config {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  background: #fff8fb;
}

.costume-cart-config[hidden] {
  display: none;
}

.costume-cart-config label {
  display: grid;
  gap: 5px;
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.costume-cart-config select {
  min-width: 0;
  padding: 9px;
  border: 1px solid #dedee8;
  border-radius: 9px;
  background: white;
  color: var(--text-dark);
  font: inherit;
}

.costume-cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.costume-cart-quantity button {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e9d5df;
  border-radius: 50%;
  background: white;
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.costume-cart-quantity output {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
}

.costume-cart-confirm {
  grid-column: 1 / -1;
  width: 100%;
}

.costume-cart-launcher {
  position: fixed;
  z-index: 10020;
  right: 18px;
  bottom: 98px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  border: 0;
  border-radius: 30px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 22px rgba(20, 80, 44, 0.3);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.costume-cart-launcher b {
  display: inline-grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #168944;
  font-size: 0.8rem;
}

.costume-cart-hint {
  position: fixed;
  z-index: 10020;
  right: 18px;
  bottom: 166px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #f6bfd6;
  border-radius: 16px;
  background: #fff;
  color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(45, 45, 75, 0.18);
  font-size: 0.88rem;
  font-weight: 700;
}

.costume-cart-hint.is-visible {
  display: inline-flex;
  animation: costume-cart-hint-in 0.25s ease-out both;
}

.costume-cart-hint::after {
  position: absolute;
  right: 24px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-right: 1px solid #f6bfd6;
  border-bottom: 1px solid #f6bfd6;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.costume-cart-hint i {
  color: #168944;
  animation: costume-cart-arrow 0.8s ease-in-out infinite alternate;
}

@keyframes costume-cart-hint-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes costume-cart-arrow {
  to {
    transform: translateY(4px);
  }
}

.costume-cart-launcher.is-attention {
  animation: costume-cart-pulse 1.1s ease-in-out infinite;
}

@keyframes costume-cart-pulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(20, 130, 65, 0.45);
  }
}

.costume-cart-backdrop {
  position: fixed;
  z-index: 10029;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
}

.costume-cart-backdrop[hidden] {
  display: none;
}

.costume-cart-drawer {
  position: fixed;
  z-index: 10030;
  top: 0;
  right: 0;
  display: flex;
  width: min(420px, 100vw);
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.16);
  transform: translateX(105%);
  transition: transform 0.25s ease;
}

.costume-cart-drawer.is-open {
  transform: translateX(0);
}

.costume-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.costume-cart-header h2 {
  margin: 0;
  color: var(--secondary-color);
  font-family: var(--font-title);
}

.costume-cart-count {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.costume-cart-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #333;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.costume-cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  padding: 14px 2px;
}

.costume-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid #f0e3e9;
  border-radius: 14px;
}

.costume-cart-item-details {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--text-dark);
}

.costume-cart-item-details strong {
  overflow-wrap: anywhere;
}

.costume-cart-item-details span {
  color: #6b7280;
  font-size: 0.85rem;
}

.costume-cart-item-subtotal {
  color: var(--secondary-color) !important;
  font-weight: 700;
}

.costume-cart-line-quantity {
  flex-shrink: 0;
}

.costume-cart-line-quantity button {
  width: 29px;
  height: 29px;
}

.costume-cart-empty {
  margin: auto 0;
  color: #6b7280;
  text-align: center;
}

.costume-cart-empty[hidden] {
  display: none;
}

.costume-cart-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.costume-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.costume-cart-total strong {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.costume-cart-marketing-consent {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 8px 4px;
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.costume-cart-marketing-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
  accent-color: var(--secondary-color);
  cursor: pointer;
}

.costume-cart-marketing-consent input:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.costume-cart-consent-note {
  margin: 0 0 12px 39px;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.costume-cart-checkout {
  width: 100%;
  padding: 14px;
  background: #25d366;
}

.costume-cart-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.costume-cart-is-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .search-nav-section {
    margin: 18px auto 14px !important;
    padding: 0 12px;
  }

  .search-nav-container {
    padding: 12px;
    border-width: 2px;
    border-radius: 18px;
  }

  .search-label {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .css-tabs-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .tab-btn-link {
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    padding: 7px 8px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .tab-btn-link:last-child {
    grid-column: 1 / -1;
  }

  .costume-info-footer {
    padding: 14px !important;
  }

  .costume-info-footer h4 {
    margin-bottom: 9px;
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .pricing-box {
    padding: 9px;
  }

  .price-row {
    flex-wrap: wrap;
    gap: 5px 7px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  #chavo .adult-size-table caption {
    padding: 11px 8px;
    font-size: 1.1rem;
  }

  #chavo .adult-size-table th,
  #chavo .adult-size-table td {
    padding: 9px 10px;
  }

  #chavo .adult-size-table-wrap {
    overflow: visible;
    border-radius: 14px;
  }

  #chavo .adult-size-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  #chavo .adult-size-table caption {
    display: block;
    line-height: 1.3;
  }

  #chavo .adult-size-table thead {
    display: none;
  }

  #chavo .adult-size-table tbody {
    display: grid;
    gap: 10px;
    padding: 0 10px 10px;
  }

  #chavo .adult-size-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--soft-border);
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  }

  #chavo .adult-size-table tbody tr:nth-child(even) {
    background: var(--card-bg);
  }

  #chavo .adult-size-table tbody th,
  #chavo .adult-size-table tbody td {
    min-width: 0;
    padding: 5px 0;
    border: 0;
  }

  #chavo .adult-size-table tbody th {
    padding-bottom: 7px;
    color: var(--secondary-color);
    font-size: 1rem;
  }

  #chavo .adult-size-options {
    display: grid;
    gap: 4px;
  }

  #chavo .adult-size-option + .adult-size-option {
    margin-top: 0;
  }

  #chavo .adult-cart-cell {
    width: 100%;
  }

  #chavo .adult-cart-cell .costume-cart-add {
    width: 100%;
  }

  #chavo .adult-cart-cell .costume-cart-config {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .adult-size-toggle {
    width: calc(100% - 28px);
    margin: 0 14px 10px;
    font-size: 0.82rem;
  }

  .costume-cart-actions {
    margin-top: 10px;
  }

  .costume-cart-add {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .costume-cart-config {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin-top: 8px;
    padding: 10px;
  }

  .costume-cart-config label {
    grid-column: 1 / -1;
  }

  .costume-cart-config select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .costume-cart-quantity {
    justify-content: center;
    gap: 8px;
  }

  .costume-cart-quantity button {
    width: 38px;
    height: 38px;
    touch-action: manipulation;
  }

  .costume-cart-confirm {
    grid-column: auto;
    min-height: 42px;
    padding: 9px;
    font-size: 0.9rem;
  }

  .costume-cart-launcher {
    right: 12px;
    bottom: 92px;
    min-height: 48px;
    padding: 10px 13px;
  }

  .costume-cart-hint {
    right: 12px;
    bottom: 150px;
    max-width: calc(100vw - 24px);
    font-size: 0.82rem;
  }

  .costume-cart-drawer {
    width: 100%;
    padding: max(16px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  }

  .costume-cart-items {
    gap: 10px;
    padding: 12px 1px;
  }

  .costume-cart-item {
    align-items: center;
    gap: 8px;
    padding: 11px 10px;
  }

  .costume-cart-item-details {
    gap: 5px;
  }

  .costume-cart-item-details strong {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .costume-cart-item-details span {
    font-size: 0.8rem;
  }

  .costume-cart-line-quantity {
    gap: 6px;
  }

  .costume-cart-line-quantity button {
    width: 34px;
    height: 34px;
  }

  .costume-cart-total {
    font-size: 1rem;
  }

  .costume-cart-total strong {
    font-size: 1.2rem;
  }

  .costume-cart-checkout {
    min-height: 48px;
  }

  .costume-cart-marketing-consent {
    min-height: 48px;
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .costume-cart-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .costume-cart-line-quantity {
    align-self: flex-end;
  }
}

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

  body[data-season="halloween"] .kids-rainbow-text::after,
  body[data-season="halloween"] .section-title::after,
  body[data-season="halloween"] .group-title::after,
  .top-sales-bar[data-season="halloween"] .seasonal-campaign-icon {
    animation: none;
  }

  .splash-overlay[data-season="halloween"] .splash-season-icon {
    animation-duration: 14s;
  }

  .splash-halloween-moon {
    animation-duration: 7s;
  }

  .splash-halloween-ghost {
    animation-duration: 9s;
  }

  .splash-halloween-bat-left,
  .splash-halloween-bat-right {
    animation-duration: 16s;
  }

  .splash-halloween-star {
    animation-duration: 5s;
  }

  .costume-cart-drawer,
  .costume-cart-hint,
  .costume-cart-hint i,
  .costume-cart-launcher.is-attention {
    transition: none;
    animation: none;
  }
}