/* --- GLOBAL STYLES & VARIABLES (UPDATED WITH YOUR LOGO COLORS) --- */
:root {
  --primary-color: #00A99D;
  /* Teal from your logo */
  --secondary-color: #F06B7E;
  /* Pink/Coral from your logo */
  --dark-color: #3C3C3B;
  /* Dark Grey from your logo */
  --light-color: #FFFFFF;
  --grey-color: #f0f2f5;
  /* A slightly lighter grey for backgrounds */
  --font-family: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  background-color: var(--card-4-light);
  color: #5c7c2c;
  ;
  color: #5B4B4B;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.landing-section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* --- ANNOUNCEMENT BAR (NEWS TICKER) --- */
.announcement-bar {
  background-color: #A90060;
  color: var(--light-color);
  padding: 0.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Asegura que ocupe todo el ancho */
  z-index: 1001;
  /* La ponemos por encima de todo */
}

/* ... (El código de la animación .announcement-ticker no necesita cambios) ... */
.announcement-ticker {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 10s linear infinite;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.announcement-ticker span {
  display: inline-block;
  padding: 0 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.announcement-ticker a {
  color: #fff;
  text-decoration: none;
  display: inline-block
}

.announcement-ticker a:hover {
  text-decoration: underline
}

.announcement-ticker span {
  margin-right: 3rem
}


/* --- HEADER & NAVIGATION --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  /* Color sólido para que no sea transparente */
  border-bottom: 1px solid #eee;
  width: 100%;

  position: fixed;
  top: 34px;
  /* ALTURA DE LA BARRA DE ANUNCIOS (ajusta si es necesario) */
  left: 0;
  right: 0;
  /* Asegura que ocupe todo el ancho */
  z-index: 1000;
}

/* 3. Empujamos todo el contenido de la página hacia abajo */
body {
  /* ... (tus otras reglas de body como font-family, etc.) ... */
  padding-top: 90px;
  /* ESPACIO TOTAL para la barra de anuncios + el header (ajusta si es necesario) */
}


.nav-logo {
  display: flex;
  /* La clave para alinear elementos uno al lado del otro */
  align-items: center;
  /* Centra verticalmente la imagen y el texto */
  gap: 12px;
  /* Añade un pequeño espacio entre la imagen y el texto */
  text-decoration: none;
  /* Quita el subrayado del enlace */
}

.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-primary);
  /* Usamos el color violeta principal del tema */
}

.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link-button {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.nav-link-button:hover {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

/* --- HERO SECTION --- */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
  color: var(--light-color);
}

/* =========================
   LAYOUT: GRID + HERO + RIGHT
   ========================= */

.hero-landing {
  --hero-h: clamp(360px, 55vh, 520px);

  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;

  display: grid;
  gap: 2rem;
  align-items: stretch;
  background: none;
  text-align: center;

  /* 1 columna en mobile */
  grid-template-columns: 1fr;
}

/* 2 columnas estables (2/3 + 1/3) desde tablet/desktop */
@media (min-width: 768px) {
  .hero-landing {
    grid-template-columns: 2fr 1fr;
  }
}

/* Evita que los hijos “aprieten” el track del grid */
.hero-card,
.right-col {
  min-width: 0;
}

/* Si tu HTML tiene md:col-span-2, lo neutralizamos aquí */
@media (min-width: 768px) {
  .hero-card {
    grid-column: auto;
  }
}

/* ===== HERO ===== */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    linear-gradient(rgba(0, 0, 0, .40), rgba(0, 0, 0, .40)),
    url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
  min-height: var(--hero-h);
  display: grid;
  place-items: center;
}

.hero-content {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 56px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  max-width: 640px;
  margin: 0 auto 2rem;
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RIGHT COLUMN ===== */
.right-col {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  /* similar a space-y-8 */
}

/* Los paneles de la derecha NO deben crecer por flex */
.right-col>.bg-gray-50 {
  display: block;
}

/* =========================
   SWIPER: CONTENEDOR FIJO + NAV
   ========================= */

/* NUNCA declares reglas globales tipo:
   .swiper .swiper-slide img { height: var(--slide-h); }  */

/* El “contrato” de altura va SOLO dentro de .swiper-uniform */
.swiper-uniform {
  --slide-h: 11rem;
  /* altura del contenido (productos) */
  --chrome-h: 2.25rem;
  /* paginación/flechas */
  position: relative;
  width: 100%;
  height: calc(var(--slide-h) + var(--chrome-h));
  overflow: hidden;
}

.swiper-uniform .swiper-wrapper,
.swiper-uniform .swiper-slide {
  height: 100%;
}

/* Imágenes dentro del carrusel */
.swiper-uniform .swiper-slide img {
  width: 100%;
  height: var(--slide-h);
  object-fit: cover;
  border-radius: .75rem;
  display: block;
}

/* Flechas y paginación */
.swiper-uniform .swiper-button-prev,
.swiper-uniform .swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  transition: opacity .2s;
}

.swiper-uniform .swiper-button-prev:hover,
.swiper-uniform .swiper-button-next:hover {
  opacity: .7;
}

.swiper-uniform .swiper-pagination {
  bottom: .5rem;
}

.swiper-uniform .swiper-pagination-bullet {
  background: #000;
  opacity: .3;
}

.swiper-uniform .swiper-pagination-bullet-active {
  opacity: 1;
}

/* =========================
   BLOG: TARJETAS COMPACTAS + CLAMP
   ========================= */

.blog2.swiper-uniform {
  --slide-h: 10.5rem;
}

/* desktop por defecto */

.blog2 .swiper-slide {
  display: flex;
}

.blog2 .swiper-slide>article {
  height: 100%;
  width: 100%;
  min-height: var(--slide-h);
  padding: 1rem 1.1rem;
  border-radius: .75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .35rem;
  box-sizing: border-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.blog2 .swiper-slide h4,
.blog2 .swiper-slide p {
  overflow: hidden;
}

.blog2 .swiper-slide h4 {
  font-size: .98rem;
  line-height: 1.25;
  margin: 0 0 .2rem 0;
  max-height: calc(2 * 1.25em);
}

.blog2 .swiper-slide p {
  font-size: .9rem;
  line-height: 1.35;
  margin: 0;
  max-height: calc(3 * 1.35em);
}

/* Clamp progresivo (sin warnings) */
@supports (-webkit-line-clamp: 2) {

  .blog2 .swiper-slide h4,
  .blog2 .swiper-slide p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .blog2 .swiper-slide h4 {
    -webkit-line-clamp: 2;
  }

  .blog2 .swiper-slide p {
    -webkit-line-clamp: 3;
  }
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 767.98px) {

  /* Un poquito más de alto para que no recorte */
  .nuevos2.swiper-uniform {
    --slide-h: 12.5rem;
  }

  .blog2.swiper-uniform {
    --slide-h: 13rem;
  }

  /* Hero algo más compacto si lo ves muy alto */
  .hero-landing {
    --hero-h: 400px;
  }
}

/* =========================
   BOTONES / ANIM
   ========================= */

.btn {
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: .3s;
  margin: 0 .5rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--light-color);
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--light-color);
  color: var(--light-color);
}

.btn-secondary:hover {
  background: var(--light-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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


/* --- FORMATO CUTE --- */
.bg-amicasa-primary {
  background-color: #F9BEC7;
  /* Rosa claro */
}

.bg-amicasa-secondary {
  background-color: #7FC9C0;
  /* Verde menta */
}

.bg-amicasa-tertiary {
  background-color: #FEF5E7;
  /* Naranja suave */
}

.text-amicasa-dark {
  color: #5B4B4B;
  /* Marrón oscuro para texto */
}

.btn-amicasa {
  background-color: #F06B7E;
  /* Rosa más vibrante para botones */
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  /* Completamente redondeado */
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  /* Para el efecto de "pop" */
  overflow: hidden;
  z-index: 1;
}

.btn-amicasa:hover {
  background-color: #F06B7E;
  transform: translateY(-2px) scale(1.02);
  /* Pequeña escala en hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-amicasa::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-out, height 0.4s ease-out;
  z-index: -1;
}

.btn-amicasa:hover::before {
  width: 200%;
  height: 200%;
}

/* --- SERVICE SECTION --- */
.card-amicasa {
  background-color: white;
  border-radius: 1.5rem;
  /* Esquinas muy redondeadas */
  padding: 2rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-amicasa:hover {
  transform: translateY(-8px) scale(1.02);
  /* Mayor levantamiento y escala en hover */
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.icon-large {
  width: 3.5rem;
  height: 3.5rem;
  color: #FF8BA7;
  /* Color de los iconos */
}


.services-section {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--light-color);
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* --- NEWS SECTION --- */
.news-section {
  padding: 4rem 0;
  background-color: var(--grey-color);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-content {
  padding: 1.5rem;
}

.news-card-content h3 {
  margin-bottom: 0.5rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* --- ABOUT US SECTION --- */
.about-section {
  padding: 4rem 0;
  background-color: #F9BEC7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

.about-section>.am-container,
.instagram-section>.am-container,
.services-section>.am-container,
.reviews-section>.am-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 4rem;
  padding-right: 4rem;
}

/* --- REVIEWS SECTION --- */
.reviews-section {
  padding: 4rem 0;
  background-color: var(--grey-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--light-color);
  border-left: 5px solid var(--secondary-color);
  padding: 2rem;
  border-radius: 5px;
}

.reviewer-info {
  margin-top: 1rem;
  text-align: right;
  color: #555;
}

/* --- INSTAGRAM SECTION --- */
.instagram-section {
  padding: 4rem 0;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.insta-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.insta-post img:hover {
  opacity: 0.8;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 4rem 0;
  background-color: var(--dark-color);
  color: var(--light-color);
}

.contact-section .section-title,
.contact-subtitle {
  color: var(--light-color);
  text-align: center;
}

.contact-subtitle {
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  border: none;
  font-family: var(--font-family);
}

.contact-form textarea {
  margin-bottom: 1rem;
}

/* --- FOOTER --- */
.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 2rem 0;
}

/* --- UTILITY: ANIMATE ON SCROLL --- */
.reveal {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  /* On mobile, we'd need a hamburger menu. Hiding for now. */
  .hero-title {
    font-size: 2.5rem;
  }

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

  .about-image {
    order: -1;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

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

}


/* --- STYLES FOR UPGRADED HEADER (NEW) --- */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  flex-grow: 1;
  justify-content: center;
}

.nav-item {
  margin: 0 1rem;
  /* Spacing between menu items */
}

.nav-utility {
  display: flex;
  align-items: center;
  list-style: none;
}

.utility-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.utility-link:hover {
  background-color: var(--grey-color);
}

.utility-link i {
  font-size: 1.2rem;
}

/* --- Dropdown Menu Styles (NEW) --- */
.dropdown {
  position: relative;
}

.submenu {
  position: relative;
}

.submenu-menu.show {
  display: block;
}

.dropdown-menu,
.submenu-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: auto;
  background-color: var(--light-color);
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 200px;
  z-index: 1001;
}

.submenu-menu {
  top: 0;
  left: 100%;
  margin-left: 0.5rem;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--dark-color);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: var(--grey-color);
}

.dropdown .fa-chevron-down {
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.dropdown.open .fa-chevron-down {
  transform: rotate(180deg);
}


/* Estilos para el botón de Volver Arriba */
#scrollTopBtn {
  display: none;
  /* Oculto por defecto */
  position: fixed;
  /* Fijo en la pantalla */
  bottom: 20px;
  /* 20px desde abajo */
  right: 20px;
  /* 20px desde la derecha */
  z-index: 99;
  /* Asegura que esté por encima de otros elementos */
  background-color: #FF8BA7;
  color: white;
  border: none;
  border-radius: 50%;
  /* Redondo */
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
  background-color: #FF6B8B;
  transform: translateY(-5px) scale(1.1);
  /* Mayor efecto en hover */
}

.nav-logo img {
  height: 40px !important;
  /* Ajusta este valor según el tamaño que quieras */
  width: auto !important;
  /* Mantiene la proporción de la imagen */
  vertical-align: middle;
  /* Ayuda a alinear el logo con los links del menú */
}

.dropdown-menu.lang-menu {
  /* deja tus estilos */
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  /* <-- agrega esto */
  background-color: white;
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 150px;
  z-index: 1002;
  /* opcional: súbelo si lo necesitas */
  /* quita display:none; o déjalo y añade la línea de abajo */
}

/* asegúrate de tener esto DESPUÉS de la regla anterior */
.dropdown-menu.lang-menu.show {
  display: block;
}


/* ===== News & Announcements (landing KR) ===== */
.am-news {
  padding: 1rem 0;
  background: #FEFBF6;
}

.am-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem;
  text-align: center;
}

.am-news__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.am-news__empty {
  color: #6B7280;
}

.am-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem;
}

.am-news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.am-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

/* Imagen */
.am-news-card__thumb img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Contenido */
.am-news-card__content {
  padding: 1rem 1rem 1.25rem;
}

.am-news-card__date {
  font-size: .875rem;
  color: #6B7280;
  margin: 0 0 .25rem;
}

.am-news-card__title {
  font-size: 1.125rem;
  margin: 0 0 .5rem;
  line-height: 1.35;
  font-weight: 700;
}

.am-news-card__title a {
  color: #111;
  text-decoration: none;
}

.am-news-card__title a:hover {
  text-decoration: underline;
}

.am-news-card__desc {
  font-size: .95rem;
  color: #374151;
  margin: 0 0 .75rem;
}

.am-news-card__more {
  font-weight: 700;
  text-decoration: none;
  color: #00A99D;
}

.am-news-card__more:hover {
  text-decoration: underline;
}

/* Aparición suave opcional */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s;
}

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

/* === Instagram thumbnails (prolijo) === */
.am-igthumb__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.am-igthumb__item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  background: #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.am-igthumb__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
}

.am-igthumb__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cuadrado perfecto */
  display: block;
}

@media (min-width: 1024px) {
  .am-igthumb__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* === Contact form fixes === */
.contact-section .contact-form input,
.contact-section .contact-form textarea {
  background: #ffffff;
  color: #111827;
  /* gris muy oscuro */
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}

.contact-section .contact-form input::placeholder,
.contact-section .contact-form textarea::placeholder {
  color: #9ca3af;
  /* gris placeholder */
}

/* por si alguna clase utilitaria les pone color blanco */
.contact-section .contact-form input,
.contact-section .contact-form textarea,
.contact-section .contact-form input::placeholder,
.contact-section .contact-form textarea::placeholder {
  -webkit-text-fill-color: initial;
  /* safari */
}

.contact-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.contact-flash.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-flash.error {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

/* ===== Public FAQ (Landing KR) ===== */
.am-faq {
  max-width: 840px;
  margin: 0 auto;
  text-align: left
}

.am-faq__item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08)
}

.am-faq__item[open] {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12)
}

.am-faq__q {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 18px;
  list-style: none;
  position: relative
}

.am-faq__q::-webkit-details-marker {
  display: none
}

.am-faq__q::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .2s ease
}

.am-faq__item[open] .am-faq__q::after {
  transform: translateY(-50%) rotate(180deg)
}

.am-faq__a {
  padding: 0 18px 16px;
  color: #374151
}

/* Encapsulamos todo al navbar nuevo */
#am-navbar .nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  flex-grow: 1;
  justify-content: center;
}

#am-navbar .nav-utility {
  display: flex;
  align-items: center;
  list-style: none;
}

/* Estado base (mobile-first): oculta desktop, muestra mobile colapsado */
#am-navbar .nav-menu {
  display: none;
}

/* desktop menu oculto por defecto en mobile */
#nav-mobile {
  display: none;
}

/* contenedor móvil colapsado */
#more-menu-m {
  display: none;
}

/* submenu mobile cerrado */

/* Desktop >= 769px: muestra desktop, oculta mobile SIEMPRE */
@media (min-width: 769px) {
  #am-navbar .nav-menu {
    display: flex !important;
  }

  /* desktop visible */
  #nav-mobile {
    display: none !important;
  }

  /* oculta contenedor mobile entero */
  #more-menu-m {
    display: none !important;
  }

  /* evita que el submenu mobile aparezca en desktop */
}

/* Mobile <= 768px: oculta desktop y usa nav-mobile */
@media (max-width: 768px) {
  #am-navbar .nav-menu {
    display: none !important;
  }

  /* desktop fuera en mobile */
  /* #nav-mobile seguirá hidden hasta que el burger lo abra por JS */
}

/* Todos los dropdowns comparten la clase show */
.dropdown-menu {
  display: none;
  position: absolute;
}

.dropdown-menu.show {
  display: block;
}

/* Asegura el posicionamiento relativo del trigger */
#am-navbar .nav-item.dropdown {
  position: relative;
}

/* Menú de "More" (desktop) debajo del botón */
#more-menu {
  top: 100%;
  left: 0;
  z-index: 1003;
  min-width: 200px;
}

/* ====================================================== */
/* ESTILOS "FUERTES" Y DEFINITIVOS PARA EL NUEVO HEADER */
/* ====================================================== */

/* Regla para anular cualquier espacio fantasma superior */
#new-landing-header {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  /* Anula posibles flotados del tema antiguo */
  position: relative;
  /* Resetea la posición */
}

/* Barra de Navegación */
#new-landing-header .navbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1rem 2rem !important;
  background: white !important;
  border-bottom: 1px solid #eee !important;
  width: 100% !important;
  height: auto !important;
  /* Resetea la altura */
  margin: 0 !important;
}

/* Logo y su Contenedor */
#new-landing-header .nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}

#new-landing-header .nav-logo img {
  height: 40px !important;
  width: auto !important;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.4));
  max-width: none !important;
  /* Anula posibles restricciones de materialize */
}

#new-landing-header .nav-logo span {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.8rem !important;
  color: #8A2BE2 !important;
  background: none !important;
  /* Quitamos el gradiente por si da problemas */
  -webkit-text-fill-color: initial !important;
  /* Reseteamos por si acaso */
}

/* Menús de Navegación */
#new-landing-header .nav-menu,
#new-landing-header .nav-utility {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== Fixed header + (opcional) announcement bar ===== */
:root {
  --announce-h: 34px;
  --header-h: 60px;
}

/* POSICIÓN del header: por defecto pegado arriba; solo baja si hay anuncio */
.navbar {
  top: 0 !important;
}

body.has-announcement .navbar {
  top: var(--announce-h) !important;
}

/* Usa clases en <body> para calcular el padding-top real */
body.has-fixed-header.has-announcement {
  padding-top: calc(var(--announce-h) + var(--header-h)) !important;
}

body.has-fixed-header:not(.has-announcement) {
  padding-top: var(--header-h) !important;
}

body:not(.has-fixed-header) {
  padding-top: 0 !important;
}

/* Evita “saltos” por márgenes colapsados del primer/último elemento */
main.page-main {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

main.page-main> :first-child {
  margin-top: 0;
}

main.page-main> :last-child {
  margin-bottom: 0;
}

/* ===== Blog index ===== */
.am-blog {
  background: #FEFBF6;
}

.am-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.am-blog__title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 1.25rem;
  color: var(--dark-color);
}

.am-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  padding: 0 1rem;
}

.am-post {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.am-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.am-post__thumb {
  display: block;
  background: #f3f4f6;
}

.am-post__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.am-post__content {
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.am-post__date {
  font-size: .85rem;
  color: #6B7280;
}

.am-post__title a {
  color: #111;
  font-weight: 800;
  font-size: 1.125rem;
  text-decoration: none;
  line-height: 1.35;
}

.am-post__title a:hover {
  text-decoration: underline;
}

.am-post__excerpt {
  color: #374151;
  font-size: .95rem;
}

.am-post__more {
  margin-top: auto;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.am-post__more:hover {
  text-decoration: underline;
}

:root {
  --announce-h: 34px;
  --header-h: 60px;
}



.faq-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.faq-category-filter {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: white;
}

.accordion-item {
  background: #00A99D;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(200, 180, 240, 0.4);
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-dark);
}

.accordion-header::after {
  content: '+';
  /* Usamos el signo de más simple */
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  content: '-';
  /* Usamos el guión/signo de menos simple */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content p {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.8;
  color: #555;
}

.faq-category-group {
  margin-top: 2rem;
}

.faq-category-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}

.faq-login-prompt {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: #fdfcff;
  /* Un lila muy claro */
  border-radius: var(--border-radius);
}

.faq-login-prompt p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.btn--faq {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
  padding: .8rem 1.25rem;
  /* tamaño que se adapta al viewport */
  font-size: clamp(.88rem, 2.6vw, 1rem);
}

.btn--faq .btn-arrow {
  font-weight: 700;
  transform: translateY(1px);
}

@media (max-width: 380px) {
  .btn--faq {
    font-size: clamp(.82rem, 3.6vw, .95rem);
  }
}

/* ====================================================== */
/* RESPONSIVE DESIGN PARA EL HEADER (VERSIÓN MEJORADA) */
/* ====================================================== */

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  z-index: 1001;
  /* Para que esté por encima del menú */
}

.nav-item-divider-mobile {
  display: none;
  /* Oculto por defecto */
}

/* Reglas para tablets y móviles (menos de 900px) */
@media (max-width: 900px) {
  .navbar {
    /* Esto empuja el logo a la izquierda y la hamburguesa a la derecha */
    justify-content: space-between;
  }

  .nav-menu {
    /* Ocultamos el menú por defecto */
    display: none;

    /* Lo convertimos en un menú vertical desplegable */
    flex-direction: column;
    position: absolute;
    top: 65px;
    /* Ajusta esta altura a la de tu header */
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }

  .nav-menu.is-active {
    display: flex;
    /* Lo mostramos al hacer clic */
  }

  .nav-menu .nav-item {
    width: 100%;
    text-align: center;
  }

  /* Hacemos que los links de utilidades se vean bien en el menú móvil */
  .nav-item-utility {
    display: block !important;
    /* Asegura que se vean */
  }

  .nav-item-utility .utility-link {
    justify-content: center;
    /* Centra el ícono y el texto */
  }

  /* Mostramos un separador en el menú móvil */
  .nav-item-divider-mobile {
    display: block;
    height: 1px;
    background-color: #eee;
    margin: 0.5rem 1rem;
  }

  .hamburger {
    display: block;
    /* Mostramos el botón de hamburguesa */
  }

  /* Ocultamos los links de utilidades de la barra principal */
  .nav-utility {
    display: none;
  }
}

main,
#main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  /* Altura combinada de la barra de anuncios y el header. ¡Puedes ajustar este valor! */
  flex-grow: 1;

}

/* --- ESTILOS PARA EL NUEVO FOOTER --- */
.footer-new {
  background-color: #000000;
  /* Fondo negro sólido, como pediste */
  color: #a0aec0;
  padding: 4rem 0 2rem 0;
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-bottom: 1rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: 1rem;
}

.footer-column p {
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  color: #a0aec0;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--color-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #3e3e5b;
  font-size: 0.9rem;
}

.perspective-1000 {
  perspective: 1000px;
}

.transform-style-3d {
  transform-style: preserve-3d;
}

/* Clases para el volteo con JavaScript en móviles */
.card.is-flipped {
  transform: rotateY(180deg);
}

/* --- COLORES DE LAS TARJETAS --- */
:root {
  --card-1: #aee1e1;
  --card-1-light: #e4f5f5;
  --card-2: #fcc2d7;
  --card-2-light: #fce8ef;
  --card-3: #ffd8a8;
  --card-3-light: #fff3e0;
  --card-4: #c0eb75;
  --card-4-light: #e9fac8;
}

/* --- CUADRÍCULA DE TARJETAS --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* --- ESCENA 3D Y TARJETA --- */
.card-scene {
  perspective: 1000px;
  height: 350px;
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
}

.card-scene:hover .card {
  transform: rotateY(180deg);
}

/* --- CARAS DE LA TARJETA (FRONTAL Y TRASERA) --- */
.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.card-front {
  z-index: 2;
}

.card-back {
  transform: rotateY(180deg);
}

/* --- ESTILO DEL CONTENIDO DE LA TARJETA --- */
.card-illustration {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.card-front h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.price {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0.5rem 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 5px 15px;
  border-radius: 50px;
}

.details-hover {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 1rem;
}

.card-back h3 {
  font-weight: 800;
  margin-top: 0;
}

.card-back ul {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
  text-align: left;
}

.card-back ul li {
  margin-bottom: 0.8rem;
}

.feature-highlight {
  font-weight: 700;
  background-color: #fff;
  padding: 10px;
  border-radius: 12px;
  margin-top: 1rem;
}

.button-calc {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 25px;
  background-color: var(--card-3);
  color: #555;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: transform 0.2s;
}

.button-calc:hover {
  transform: scale(1.05);
}

/* --- ASIGNACIÓN DE COLORES --- */
.card-color-1 {
  background-color: var(--card-1);
}

.card-color-1-light {
  background-color: var(--card-1-light);
  color: #3d6a6a;
}

.card-color-2 {
  background-color: var(--card-2);
}

.card-color-2-light {
  background-color: var(--card-2-light);
  color: #8d3d5b;
}

.card-color-3 {
  background-color: var(--card-3);
}

.card-color-3-light {
  background-color: var(--card-3-light);
  color: #8d6230;
}

.card-color-4 {
  background-color: var(--card-4);
}

.card-color-4-light {
  background-color: var(--card-4-light);
  color: #5c7c2c;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 600px) {
  .header h1 {
    font-size: 2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Estilos para las pestañas tipo Chipset */
.tab-btn {
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background-color: #f3f4f6;
  /* Gris claro para inactivos */
  color: #4b5563;
  /* Gris oscuro para inactivos */
}

.tab-btn.active {
  background-color: #ec4899;
  /* Color de acento (rosa) */
  color: white;
}

.tab-content.active {
  display: block;
}

.tab-content {
  scroll-margin-top: 110px;
  /* <-- ¡La línea mágica! */
}

.page-hero {
  background-color: #d3f585ff;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 50px;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #3C3C3B;
}

.page-hero p {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-services {
  background-color: var(--primary-color);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 50px;
}

.page-hero-services h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #f6f6f2;
}

.page-hero-services p {
  font-size: 1.2rem;
  color: #fcfafa;
  max-width: 700px;
  margin: 0 auto;
}

.blog-container {
  max-width: 840px;
  margin: auto;
  font-family: 'Poppins', sans-serif;
  /* Asegúrate de usar la misma fuente que tu landing */
  padding: 4rem;
}

.blog-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #3C3C3B;
  /* Color oscuro principal */
  margin-bottom: 10px;
  line-height: 1.2;
}

.blog-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.featured-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 30px;
  object-fit: cover;
}

.blog-content {
  color: #3C3C3B;
  line-height: 1.8;
  font-size: 1.1rem;
}

.blog-content h2,
.blog-content h3 {
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.blog-content p {
  margin-bottom: 1.5em;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-content a {
  color: #E95A8D;
  /* Color rosa de tu marca */
  text-decoration: underline;
}

.related-posts {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

.related-posts h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #3C3C3B;
  margin-bottom: 40px;
}

/* Reutilizamos el grid de noticias de tu landing para consistencia */
.am-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem;
}

@media (max-width: 480px) {
  .am-news__grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    /* menos padding para que entre mejor */
  }
}

/*faqs*/
.page-hero {
  background-color: #d3f585ff;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 50px;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #3C3C3B;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-pills button {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-pills button.active {
  background-color: #E95A8D;
  color: white;
  border-color: #E95A8D;
}

.faq-category-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #3C3C3B;
  margin: 2.5rem 0 1.5rem 0;
}

.faq-category-group.hidden {
  display: none;
}

/* === NUEVOS ESTILOS PARA TU ACORDEÓN ORIGINAL === */

.am-faq__q::-webkit-details-marker {
  display: none;
}

/* Oculta el triángulo en Chrome/Safari */
.am-faq__q::after {
  content: '+';
  font-size: 1.5rem;
  color: #E95A8D;
  transition: transform 0.2s;
}

details[open]>.am-faq__q::after {
  transform: rotate(45deg);
}

/* Estilos para la sección de login */
.faq-cta-section {
  background-color: #f9fafb;
  padding: 60px 20px;
  margin-top: 60px;
}

.faq-cta {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.faq-cta i {
  font-size: 2.5rem;
  color: #E95A8D;
  margin-bottom: 1rem;
}

.faq-cta h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #3C3C3B;
  margin-bottom: 0.5rem;
}

.faq-cta p {
  color: #555;
  margin-bottom: 1.5rem;
}

/*BUY IN*/

.page-hero {
  background-color: var(--primary-color);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #3C3C3B;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.stores-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  border-radius: 20px;
}

.stores-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #3C3C3B;
}

.stores-section .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-top: -10px;
  margin-bottom: 40px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-pills button {
  background-color: #f3f4f6;
  color: #374151;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pills button:hover {
  background-color: #e5e7eb;
}

.filter-pills button.active {
  background-color: #E95A8D;
  /* Color principal Amicasa */
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px;
}

.store-card {
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  /* Para flexbox */
  flex-direction: column;
  /* Apilar elementos verticalmente */
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.store-card .image-container {
  width: 100%;
  padding-top: 100%;
  /* Aspect ratio 1:1 */
  position: relative;
  background-color: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 'contain' para logos, 'cover' para imágenes */
  padding: 15px;
  /* Espacio para que el logo respire */
}

.store-card .info {
  padding: 15px;
  text-align: center;
  flex-grow: 1;
  /* El contenido de texto ocupa el espacio restante */
  border-top: 1px solid #f0f0f0;
}

.store-card .name {
  font-weight: 600;
  color: #3C3C3B;
  font-size: 1.1rem;
  margin: 0 0 5px 0;
}

.store-card .legend {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

.section-divider {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 80px auto;
  max-width: 1200px;
}

/*NEWS LIST*/


/* Estilos similares al blog, pero con un color de fondo diferente en el hero */
.page-hero {
  background-color: var(--primary-color);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 50px;
}

/* Color rosa pálido */
.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fafafa;
}

.list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.no-posts-message {
  text-align: center;
  font-size: 1.2rem;
  color: #777;
  padding: 80px 20px;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 0 60px;
}

.pagination-container a {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #3C3C3B;
  transition: background-color 0.2s, color 0.2s;
}

.pagination-container a:hover {
  background-color: #f5f5f5;
}

.pagination-container a.active {
  background-color: #E95A8D;
  color: white;
  border-color: #E95A8D;
  font-weight: bold;
}

/*LOGIN*/
.main-header,
.main-footer {
  display: none !important;
}

body {
  background-color: #f9fafb;
}

.login-page-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 992px) {
  .login-page-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.login-visual {
  display: none;
  background: linear-gradient(to top right, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  padding: 60px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .login-visual {
    display: flex;
  }
}

.login-visual h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-top: 20px;
}

.login-visual p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.login-visual .logo-amicasa {
  display: inline-block;
}

.login-visual .logo-amicasa img {
  width: 300px;
  /* o max-width: 150px; */
  height: auto;
  display: block;
  /* elimina espacio extra debajo */
  margin: 0 auto;
  /* centra la imagen dentro del anchor */
}

.login-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-form {
  width: 100%;
  max-width: 400px;
}

.login-form h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #3C3C3B;
  text-align: center;
  margin-bottom: 30px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.input-group input,
.input-group select {
  display: block !important;
  /* <-- ¡ESTA ES LA LÍNEA CLAVE! */
  opacity: 1 !important;
  /* <-- AÑADE ESTA TAMBIÉN POR SI ACASO */
  position: relative !important;
  /* Y ESTA PARA ASEGURAR POSICIÓN */
  width: 100%;
  padding: 12px 12px 12px 45px;
  /* Espacio para el ícono */
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  /* Quita estilos por defecto en iOS */
  -moz-appearance: none;
  appearance: none;
  background-color: white;
  /* Asegura fondo blanco para el select */
}

.input-group select {
  /* Flecha personalizada para el select */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right .75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  /* Espacio extra para la flecha */
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: #E95A8D;
  box-shadow: 0 0 0 3px rgba(233, 90, 141, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-primary-signin {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background-color: #E95A8D;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
}

.btn-primary-signin:hover {
  background-color: #d84a7d;
}

.social-login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #9ca3af;
  margin: 30px 0;
}

.social-login-divider::before,
.social-login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.social-login-divider:not(:empty)::before {
  margin-right: .5em;
}

.social-login-divider:not(:empty)::after {
  margin-left: .5em;
}

.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #374151;
  transition: background-color 0.2s;
}

.btn-social:hover {
  background-color: #f9fafb;
}

.btn-social i {
  font-size: 1.2rem;
  margin-right: 10px;
}

.signup-link {
  text-align: center;
  margin-top: 30px;
  color: #6b7280;
}

.signup-link a {
  color: #E95A8D;
  font-weight: 600;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

.login-link {
  text-align: center;
  margin-top: 30px;
  color: #6b7280;
}

.login-link a {
  color: #E95A8D;
  font-weight: 600;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* === AÑADE ESTAS REGLAS NUEVAS AQUÍ ABAJO === */

.input-group .select-wrapper input.select-dropdown,
.input-group .select-wrapper ul.select-dropdown {
  display: none !important;
}

/* 2. "Rescatamos" nuestro <select> ORIGINAL, que Materialize movió DENTRO de la caja */
.input-group .select-wrapper select {
  display: block !important;
  /* ¡Hazte visible! */
  opacity: 1 !important;
  pointer-events: auto !important;
  /* Aseguramos que se pueda hacer clic */
  position: relative !important;
  /* Ignora el posicionamiento raro de Materialize */
  top: 0 !important;
  /* Reseteamos la posición a la normalidad */
  left: 0 !important;
}

/* 3. Limpiamos el contenedor de Materialize*/
.input-group .select-wrapper {
  border-bottom: none !important;
  box-shadow: none !important;
}

.input-group .select-wrapper .caret {
  display: none !important;
}

/* ... Tus reglas "Anti-Fantasma" y otras ... */
.input-group .select-wrapper input.select-dropdown,
.input-group .select-wrapper ul.select-dropdown {
  display: none !important;
}

.input-group .select-wrapper select {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
}

.input-group .select-wrapper {
  border-bottom: none !important;
  box-shadow: none !important;
}


.label-measure-system {
  right: 2.5rem;
  /* o lo que necesites */
}

/*STORE HEADER*/
/* Esta sección parece limpia y autocontenida. */
.ami-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.ami-header__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ami-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.ami-logo {
  font-weight: 900;
  letter-spacing: .5px;
}

.ami-tag {
  margin-left: 4px;
  padding: .2rem .45rem;
  background: linear-gradient(90deg, var(--p1), var(--p2));
  color: #111;
  border-radius: 6px;
  font-weight: 800;
}

.ami-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ami-nav__link {
  padding: .45rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  color: #222;
  border: 1px solid transparent;
}

.ami-nav__link:hover {
  background: var(--chip);
  border-color: var(--bd);
}

.ami-header__switch,
.ami-burger,
.ami-dd__btn {
  border: 1px solid var(--bd);
  background: var(--chip);
  padding: .5rem .75rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #222;
}

.ami-burger {
  display: none;
}

.ami-dd {
  position: relative;
}

.ami-dd__btn .ami-dd__chev {
  transition: transform .15s ease;
}

.ami-dd[data-open="true"] .ami-dd__btn .ami-dd__chev {
  transform: rotate(180deg);
}

.ami-dd__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  padding: 6px;
  display: none;
}

.ami-dd[data-open="true"] .ami-dd__menu {
  display: block;
}

.ami-dd__item {
  width: 100%;
  text-align: left;
  padding: .6rem .7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: #222;
  display: block;
}

.ami-dd__item:hover,
.ami-dd__item:focus {
  background: var(--chip);
  border-color: var(--bd);
  outline: none;
}

.ami-dd__sep {
  height: 1px;
  background: #eee;
  margin: 6px 0;
}

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

.ami-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  display: none;
}

.ami-drawer[aria-hidden="false"] {
  display: block;
}

.ami-drawer__nav {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 360px);
  height: 100%;
  background: #fff;
  padding: 16px;
  border-left: 1px solid var(--bd);
  overflow: auto;
  box-shadow: -8px 0 20px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ami-drawer__nav a,
.ami-drawer__nav button {
  text-align: left;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: .6rem .8rem;
  color: #222;
  text-decoration: none;
  cursor: pointer;
}

.ami-drawer__group {
  margin-top: 6px;
}

.ami-drawer__title {
  font-weight: 800;
  margin-bottom: 6px;
}

.ami-drawer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ami-drawer__chips button {
  background: var(--chip);
  border-color: var(--bd);
}

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

  .ami-burger {
    display: inline-flex;
  }
}



/* =============================================================
   AMICASA STORE — CSS saneado y responsivo (scope .store)
   ============================================================= */

/* ---------- ROOT / THEME ---------- */
.store {
  /* Paleta */
  --bg: #fffafc;
  --ink: #222;
  --muted: #666;
  --p1: #ffb6c1;
  --p2: #a8edea;
  --p3: #ffe7b3;
  --chip: #f7f7fa;
  --card: #ffffff;
  --bd: #eee;
  --acc: #ff9a9e;
  /* Aliases */
  --neon1: var(--p1);
  --neon2: var(--p2);
  --neon3: var(--p3);
  --chip-bg: var(--chip);
  --accent: var(--acc);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 182, 193, .28), transparent 45%),
    radial-gradient(900px 600px at 90% 0%, rgba(168, 237, 234, .22), transparent 40%),
    var(--bg);
}

/* ---------- LAYOUT CONTENEDOR ---------- */
.store .store-container {
  max-width: 1200px !important;
  padding: 20px;
  margin: 0 auto;
  justify-content: center;
}

/* ---------- HERO ---------- */
.store .store-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 15px 60px rgba(0, 0, 0, .08);
  padding: 9px;
  z-index: 0;
}

.store .store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .18) 70%);
  pointer-events: none;
  z-index: 1;
}

.store .store-hero-badges {
  position: relative;
  top: auto;
  left: auto;
  z-index: 10;
  inset: auto 0 10px 0;
  display: flex;
  gap: 12px;
  padding: 0px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.store .store-badge a {
  background: rgba(255, 255, 255, .85);
  color: #222;
  border: 1px solid rgba(0, 0, 0, .05);
  padding: .4rem .75rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-weight: 700;
  font-size: .85rem;
}

.store .store-badge a:hover {
  background-color: rgba(139, 92, 246, 0.1);
  /* Fondo violeta muy sutil al pasar el ratón */
  transform: translateY(-2px);
  /* Un ligero desplazamiento hacia arriba */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Sombra suave */
}

/* Stickers */
.store .store-sticker {
  position: absolute;
  z-index: 5;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #111;
  background: radial-gradient(circle at 30% 30%, var(--p3), var(--p1));
}

.store .store-sticker-1 {
  top: -18px;
  left: 8px;
  transform: rotate(-8deg);
}

.store .store-sticker-2 {
  bottom: -18px;
  right: 12px;
  transform: rotate(6deg);
}

/* Swiper */
.store .swiper {
  width: 100%;
  height: 420px;
}

.store .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--bd);
}

.store .swiper-horizontal>.swiper-scrollbar,
.store .swiper-scrollbar {
  display: none;
}

.store .swiper-pagination-bullet {
  background: #fff;
  opacity: .6;
}

.store .swiper-pagination-bullet-active {
  background: var(--p3);
  opacity: 1;
}

.store .swiper-button-prev,
.store .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  color: #333;
}

/* ---------- TICKER ---------- */
.store .store-ticker {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--p1), var(--p2));
  border: 1px solid rgba(0, 0, 0, .05);
  color: #111;
  font-weight: 700;
}

.store .store-ticker-track {
  display: flex;
  gap: 2rem;
  padding: .6rem 1rem;
  white-space: nowrap;
  animation: store-marquee 28s linear infinite;
}

.store .store-ticker-item {
  letter-spacing: .2px;
}

@keyframes store-marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ========== BUSCADOR ========== */
.store .search-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
  padding: 20px;
  margin: 16px 0;
  color: #111;
}

/* Grid del buscador */
.store .search-row {
  display: grid;
  grid-template-columns: 1fr 200px 220px 120px;
  gap: 10px;
  align-items: center;
}

/* Wrapper del input con icono */
.store .search-input-wrapper {
  position: relative;
  width: 100%;
}

.store .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #9ca3af;
  pointer-events: none;
}

/* Input de búsqueda */
.store .search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  color: #374151;
  transition: all 0.2s;
  font-family: inherit;
}

.store .search-input::placeholder {
  color: #9ca3af;
}

.store .search-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Selects */
.store .search-row select {
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #374151;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}

.store .search-row select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Botones */
.store .search-row .btn-neon {
  height: 48px;
  min-width: 120px;
  padding: 0 24px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.store .search-row .btn-neon:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.store .search-row .btn-ghost {
  height: 48px;
  min-width: 120px;
  padding: 0 20px;
  background: white;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.store .search-row .btn-ghost:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Iconos en botones */
.store .btn-neon svg,
.store .btn-ghost svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .store .search-card {
    padding: 16px;
  }

  .store .search-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .store .search-input-wrapper {
    width: 100%;
  }

  .store .search-input {
    height: 44px;
    font-size: 14px;
  }

  .store .search-row select {
    height: 44px;
    width: 100%;
  }

  .store .search-row .btn-neon,
  .store .search-row .btn-ghost {
    width: 100%;
    height: 44px;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .store .search-card {
    padding: 12px;
    border-radius: 12px;
  }

  .store .search-input {
    height: 42px;
    padding: 0 12px 0 40px;
    font-size: 13px;
  }

  .store .search-icon {
    width: 18px;
    height: 18px;
    left: 12px;
  }

  .store .search-row select {
    height: 42px;
    font-size: 13px;
  }

  .store .search-row .btn-neon,
  .store .search-row .btn-ghost {
    height: 42px;
    font-size: 13px;
  }
}

/* ========== PANEL DE FILTROS ========== */
.store .filters-panel {
  display: none;
  margin-top: 16px;
}

.store .filters-panel.show {
  display: block;
}

/* Grid de filtros */
.store .filters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Columnas de filtros */
.store .filters-grid .col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}

/* Columnas que ocupan todo el ancho */
.store .filters-grid .col-full {
  grid-column: 1 / -1;
}

/* Labels de filtros */
.store .filters-grid label:first-child {
  font-weight: 600;
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}

/* Selects de filtros */
.store .filter-select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.store .filter-select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Inputs de filtros */
.store .filter-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: #fff;
  font-family: inherit;
  transition: all 0.2s;
}

.store .filter-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Fila inline (rangos de precio) */
.store .row-inline {
  display: flex;
  gap: 8px;
  align-items: center;
}

.store .row-inline input {
  flex: 1;
}

.store .range-separator {
  color: #9ca3af;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
}

/* Chips/Tags de filtros (artistas, tags) */
.store .chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store .chips-wrap label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.store .chips-wrap label:hover {
  background: #e5e7eb;
}

.store .chips-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #7c3aed;
}

/* Grupo de checkboxes (disponibilidad) */
.store .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  user-select: none;
}

.store .checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #7c3aed;
}

.store .checkbox-label:hover span {
  color: #7c3aed;
}

/* Columna de acciones (botones limpiar/aplicar) */
.store .col-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.store .col-actions .btn-ghost,
.store .col-actions .btn-neon {
  height: 40px;
  min-width: 140px;
}

/* ========== FILTROS RÁPIDOS (CHIPS EXTERNOS) ========== */
.store .store-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store .store-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.store .store-chip {
  padding: 10px 18px;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.store .store-chip:hover {
  background: #f3e8ff;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #D81B60
}

.store .store-chip.is-active {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-color: #7c3aed;
  color: white;
}

/* ========== RESPONSIVE - FILTROS ========== */
@media (max-width: 968px) {
  .store .filters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .store .filters-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .store .filters-grid .col {
    padding: 14px;
  }

  .store .filter-select,
  .store .filter-input {
    height: 44px;
    font-size: 14px;
  }

  .store .col-actions {
    flex-direction: column;
    gap: 10px;
  }

  .store .col-actions .btn-ghost,
  .store .col-actions .btn-neon {
    width: 100%;
    min-width: 0;
    height: 44px;
  }

  .store .chips-wrap {
    gap: 6px;
  }

  .store .chips-wrap label {
    padding: 8px 14px;
    font-size: 12px;
  }

  .store .checkbox-label {
    font-size: 13px;
  }

  .store .store-chips {
    gap: 8px;
  }

  .store .store-chip {
    padding: 8px 16px;
    font-size: 12px;
  }

  .store .store-section-title {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .store .filters-grid .col {
    padding: 12px;
  }

  .store .filter-select,
  .store .filter-input {
    height: 42px;
    font-size: 13px;
  }

  .store .filters-grid label:first-child {
    font-size: 10px;
  }

  .store .col-actions .btn-ghost,
  .store .col-actions .btn-neon {
    height: 42px;
    font-size: 13px;
  }

  .store .chips-wrap input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }

  .store .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
}

/* Chips/Fandom */
.store .store-section-title {
  font-family: Orbitron, Poppins, system-ui;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 12px 0;
  font-size: 1.5rem;
}

.store .store-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.store .store-chip {
  background: var(--chip);
  color: #333;
  border: 1px solid var(--bd);
  padding: .5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.store .store-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

.store .store-chip.is-active {
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color: black;
  border-color: transparent;
}

/* ---------- GRID DE PRODUCTOS ---------- */
.store .store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width:768px) {
  .store .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

/* ---------- KCARD (Tarjeta) ---------- */
.store .kcard {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  transition: all .2s ease;

  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  isolation: relative;
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;

}

.store .kcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
}

.store .kcard-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.store .kcard .store-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}



/* Meta */
.store .store-meta {
  padding: .75rem .85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 6px;
}

.store .store-artist {
  font-size: .8rem;
  color: #6b7280;
  margin-bottom: .25rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.store .store-meta h6 {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  min-height: 2.5em;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827;
}

/* Acciones/Precios */
.store .store-actions {
  margin-top: auto;
  padding-top: .5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  border-top: 1px solid #f3f4f6;
}

.store .store-price-block {
  line-height: 1.1;
}

.store .store-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: #111;
}

.store .store-price-old {
  font-size: .8rem;
  color: #999;
  text-decoration: line-through;
  display: block;
}

.store .store-price-promo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ec4899;
  animation: price-pop .3s ease-out;
}

@keyframes price-pop {
  0% {
    transform: scale(.9);
    opacity: 0
  }

  50% {
    transform: scale(1.05)
  }

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

.store .buttons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.store .store-btn-ghost,
.store .store-btn-primary,
.store .store-btn-disabled {
  padding: 6px 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: all .2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.store .store-btn-ghost {
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.store .store-btn-ghost:hover {
  background: #f9fafb;
  color: #111827;
}

.store .store-btn-primary {
  background: #7c3aed;
  color: #fff;
}

.store .store-btn-primary:hover {
  background: #6d28d9;
  transform: scale(1.02);
}

.store .store-btn-primary[data-preorder="true"] {
  background: #8b5cf6;
}

.store .store-btn-primary[data-preorder="true"]:hover {
  background: #7c3aed;
}

.store .store-btn-disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  border: 1px solid #d1d5db;
}

/* ---------- RESULTADOS & PAGINACIÓN ---------- */
.store .pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
}

.store .page-btn {
  padding: .45rem .7rem;
  border: 1px solid var(--bd, #eee);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.store .page-btn:hover {
  background: var(--chip, #f7f7fa);
}

.store .page-btn.active {
  background: var(--chip, #f7f7fa);
  border-color: var(--bd, #eee);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04) inset;
}

.store .page-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ---------- OVERRIDES DE MATERIALIZE (MODALS, FAB) ---------- */
.modal-overlay {
  position: fixed !important;
  inset: 0;
  background: rgba(0, 0, 0, .55) !important;
  z-index: 1002 !important;
  opacity: 1 !important;
}

.modal {
  display: none !important;
  position: fixed !important;
  left: 0;
  right: 0;
  top: 10% !important;
  margin: auto;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25) !important;
  z-index: 1003 !important;
  max-height: 90% !important;
  overflow-y: auto !important;
}

.modal.open {
  display: block !important;
}

.modal-footer {
  background: #fafafa !important;
  border-top: 1px solid #eee !important;
}

.fixed-action-btn {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 997 !important;
}

.fixed-action-btn .btn-floating {
  background: #e53935 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25) !important;
}

.fixed-action-btn .btn-floating:hover {
  background: #d32f2f !important;
}

.modal h4,
.modal h5,
.modal p,
.modal span {
  font-family: 'Roboto', sans-serif !important;
}

/* ---------- CART (resumido a lo relevante y sin duplicados) ---------- */
.store .chip-warn {
  display: inline-block;
  margin-left: 6px;
  padding: .1rem .45rem;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid #f3c2c2;
  background: #fff5f5;
  color: #b20000;
}

.store .cart-warn {
  display: none;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #f3c2c2;
  background: #fff5f5;
  color: #8a0000;
  border-radius: 10px;
  font-size: 14px;
}

.store .cart-warn.show {
  display: block;
}

.store .cart-warn .btn-mini {
  margin-left: 8px;
  padding: .25rem .55rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}

.store .cart-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 4px;
}

.store .ccard {
  border: 1px solid #ececec;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  text-align: left;
  transition: .15s;
}

.store .ccard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .07);
}

/* ✅ Elegimos esta variante para active */
.store .ccard.active {
  border-color: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .09);
}

.store .ccard__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f7f7fb;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
}

.store .ccard__title {
  font-weight: 800;
  margin-bottom: 2px;
}

.store .ccard__desc {
  font-size: 12px;
  color: #666;
}

.store .ccard__pill {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  padding: .2rem .5rem;
  border-radius: 999px;
  border: 1px solid #ececec;
}

.store .cart-mini-note {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #666;
  margin: 6px 0 12px;
}

.store .cart-mini-note a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width:640px) {
  .store .cart-choice {
    grid-template-columns: 1fr;
  }
}

/* ---------- UTILIDADES ---------- */
.store .muted {
  color: var(--muted);
}

.store .upper-small {
  font-size: .75rem;
  letter-spacing: .3px;
}


/* =============================================================
   RESPONSIVE
   ============================================================= */

/* Tablet y móvil: Swiper más bajo */
@media (max-width:768px) {
  .store .swiper {
    height: 280px;
  }

  .store .store-hero .swiper-button-next,
  .store .store-hero .swiper-button-prev {
    display: none;
  }
}

@media (max-width:480px) {
  .store .swiper {
    height: 220px;
  }
}

/* Buscador: colapsa a columna en móvil */
@media (max-width:768px) {
  .store .search-card {
    padding: 16px;
  }

  .store .search-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .store .filters-panel {
    margin-top: 16px;
  }

  .store .row-inline {
    flex-direction: column;
    gap: 8px;
  }
}

/* Chips scroll horizontal en móvil */
@media (max-width:768px) {
  .store .store-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .store .store-chips::-webkit-scrollbar {
    display: none;
  }

  .store .store-chip {
    flex-shrink: 0;
  }
}

/* Kcard botones más amigables en móviles pequeños */
@media (max-width:480px) {
  .store .kcard .buttons {
    flex-direction: column;
    gap: 6px;
  }

  .store .kcard .buttons>* {
    width: 100%;
    text-align: center;
    font-size: .85rem;
  }
}

/*fix para aside de search*/

.store-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* ~gap-6 */
}

@media (min-width: 768px) {
  .store-layout {
    flex-direction: row;
    /* equivale a md:flex-row */
    flex-wrap: nowrap;
    /* asegura que no salte de línea */
    align-items: flex-start;
    /* como items-start */
  }
}


/* Estilos del Modal de Shipping */
.modal-shipping-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999 !important;
  overflow-y: auto;
}

.modal-shipping-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-shipping-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-shipping-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.modal-shipping-content {
  position: relative;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Asegurar que el sticky funcione */
.modal-shipping-content table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-shipping-content table th.sticky {
  position: sticky;
  left: 0;
  z-index: 20;
}

.modal-shipping-content table td.sticky {
  position: sticky;
  left: 0;
  z-index: 5;
  background: white;
}

/* Responsive */
@media (max-width: 640px) {
  .modal-shipping-container {
    padding: 0.5rem;
  }

  .modal-shipping-content {
    max-height: 95vh;
  }
}

/* ALL CART FILES STYLES */

/* Transiciones suaves */
.cart-item {
  transition: all 0.2s ease;
}

.cart-item:hover {
  background: #fafafa;
}

/* Custom scrollbar */
.cart-items-container::-webkit-scrollbar {
  width: 6px;
}

.cart-items-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.cart-items-container::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.cart-items-container::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Animación de entrada */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.cart-item {
  animation: slideIn 0.3s ease;
}

/* Badge de cantidad */
.qty-badge {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8b5cf6;
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 6px;
}


/* Warnings */
.cart-warning {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: none;
}

.cart-warning.show {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ocultar elementos de envío directo por defecto */
[data-direct-only] {
  display: none !important;
}

body[data-purchase-mode="direct"] [data-direct-only] {
  display: block !important;
}

/* Asegurar que términos sean visibles */
#paypal-therms-p {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Select nativo mejorado */
select.browser-default {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: white;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

select.browser-default:hover {
  border-color: #8b5cf6;
}

select.browser-default:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

select.browser-default option {
  padding: 8px;
}

/* Main Footer Container */
.footer-store {
  background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
  color: white;
}

.footer-store-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .footer-store-container {
    padding: 3rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-store-container {
    padding: 3rem 2rem;
  }
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Brand Logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #f472b6 0%, #8b5cf6 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-subtitle {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* Section Headers */
.footer-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-link-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.footer-link-icon.pink {
  color: #f472b6;
}

.footer-link-icon.green {
  color: #4ade80;
}

.footer-link-icon.cyan {
  color: #22d3ee;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  text-decoration: none;
}

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

.footer-social-link.facebook:hover {
  background-color: #1877f2;
}

.footer-social-link.instagram:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
}

.footer-social-link.tiktok:hover,
.footer-social-link.twitter:hover {
  background-color: #000000;
}

.footer-social-link i {
  color: white;
  font-size: 1.125rem;
}

/* Quick Links */
.footer-quick-links {
  margin-top: 1.5rem;
}

.footer-quick-label {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.footer-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-quick-link {
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  transition: background-color 0.2s;
  text-decoration: none;
  color: white;
}

.footer-quick-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid #374151;
  margin: 2rem 0 0 0;
  /* Removí el margin bottom */
  padding: 0;
  height: 0;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
  padding-top: 2rem;
  /* Agregué padding-top aquí */
  ;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  margin: 0;
}

.footer-company {
  color: white;
  font-weight: 600;
}

/* Payment Methods */
.footer-payment {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-payment-label {
  font-size: 0.75rem;
}

.footer-payment-icons {
  display: flex;
  gap: 0.5rem;
}

.footer-payment-icon {
  width: 2.5rem;
  height: 1.5rem;
  background-color: white;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-payment-icon img {
  height: 0.75rem;
}

/* Trust Badges */
.footer-trust {
  margin-top: 1.5rem;
  /* Reduje de 2rem a 1.5rem */
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-trust-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-trust-icon.green {
  color: #4ade80;
}

.footer-trust-icon.blue {
  color: #60a5fa;
}

.footer-trust-icon.violet {
  color: #a78bfa;
}

/* How to Buy Page Styles */

/* Container */
.htb-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .htb-container {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .htb-container {
    padding: 2rem 2rem;
  }
}

/* Hero Section */
.htb-hero {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .htb-hero {
    border-radius: 1rem;
    margin-bottom: 2rem;
  }
}

.htb-hero-content {
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .htb-hero-content {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .htb-hero-content {
    padding: 2rem;
  }
}

/* Badge */
.htb-badge {
  display: inline-block;
  background: linear-gradient(90deg, #f472b6 0%, #22d3ee 100%);
  color: #111827;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .htb-badge {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
  }
}

/* Title */
.htb-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .htb-title {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .htb-title {
    font-size: 2.25rem;
  }
}

/* Subtitle */
.htb-subtitle {
  color: #4b5563;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .htb-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .htb-subtitle {
    font-size: 1.125rem;
  }
}

/* Option Cards Grid */
.htb-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .htb-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Option Card */
.htb-option-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .htb-option-card {
    border-radius: 1rem;
    padding: 1.5rem;
  }
}

.htb-option-card:hover {
  border-color: #a78bfa;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.htb-option-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .htb-option-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    font-size: 1.875rem;
  }
}

.htb-option-icon.violet {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.htb-option-icon.cyan {
  background: linear-gradient(135deg, #cffafe 0%, #99f6e4 100%);
}

.htb-option-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .htb-option-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}

.htb-option-description {
  color: #4b5563;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .htb-option-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
}

/* CTA Buttons */
.htb-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
}

.htb-cta-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.htb-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: white;
  color: #374151;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid #d1d5db;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
}

.htb-cta-secondary:hover {
  border-color: #9ca3af;
}

/* Sticky Bar */
.htb-sticky-bar {
  position: sticky;
  top: 3.5rem;
  z-index: 40;
  background: linear-gradient(90deg, #f472b6 0%, #22d3ee 100%);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .htb-sticky-bar {
    top: 4rem;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 2rem;
  }
}

.htb-sticky-text {
  color: #111827;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 640px) {
  .htb-sticky-text {
    font-size: 1rem;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .htb-sticky-text {
    font-size: 1.125rem;
  }
}

.htb-sticky-buttons {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 640px) {
  .htb-sticky-buttons {
    gap: 0.75rem;
    width: auto;
  }
}

.htb-sticky-btn {
  flex: 1;
  background: white;
  color: #111827;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

@media (min-width: 640px) {
  .htb-sticky-btn {
    flex: none;
    padding: 0.5rem 1.25rem;
  }
}

.htb-sticky-btn:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.htb-sticky-btn.dark {
  background: #111827;
  color: white;
}

.htb-sticky-btn.dark:hover {
  background: #1f2937;
}

/* Section Container */
.htb-section {
  margin-bottom: 2rem;
  scroll-margin-top: 6rem;
}

@media (min-width: 640px) {
  .htb-section {
    margin-bottom: 3rem;
  }
}

.htb-section-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .htb-section-card {
    border-radius: 1rem;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .htb-section-card {
    padding: 2rem;
  }
}

/* Section Title */
.htb-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .htb-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }
}

/* Steps Grid */
.htb-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .htb-steps-grid {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .htb-steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Step Card */
.htb-step-card {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .htb-step-card {
    border-radius: 0.75rem;
    padding: 1rem;
  }
}

.htb-step-image {
  height: 5rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .htb-step-image {
    height: 6rem;
    margin-bottom: 0.75rem;
  }
}

.htb-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.htb-step-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}

@media (min-width: 640px) {
  .htb-step-text {
    font-size: 0.875rem;
  }
}

/* Storage Steps */
.htb-storage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .htb-storage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .htb-storage-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.htb-storage-step {
  position: relative;
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.htb-storage-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .htb-storage-icon {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }
}

.htb-storage-icon.violet {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

.htb-storage-icon.cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #14b8a6 100%);
}

.htb-storage-icon.pink {
  background: linear-gradient(135deg, #f472b6 0%, #f43f5e 100%);
}

.htb-storage-icon.green {
  background: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
}

.htb-storage-step-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .htb-storage-step-title {
    font-size: 1rem;
  }
}

.htb-storage-step-desc {
  font-size: 0.75rem;
  color: #4b5563;
}

/* Connector Line */
.htb-connector {
  display: none;
}

@media (min-width: 1024px) {
  .htb-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -0.5rem;
    width: 1rem;
    height: 0.125rem;
    background: #d1d5db;
    transform: translateY(-50%);
  }
}

/* Badges */
.htb-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.htb-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .htb-badge-item {
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
}

.htb-badge-item.green {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.htb-badge-item.amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.htb-badge-item.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* Comparison Table */
.htb-comparison-mobile {
  display: block;
}

@media (min-width: 640px) {
  .htb-comparison-mobile {
    display: none;
  }
}

.htb-comparison-desktop {
  display: none;
}

@media (min-width: 640px) {
  .htb-comparison-desktop {
    display: block;
    overflow-x: auto;
  }
}

.htb-comparison-card {
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.htb-comparison-header {
  padding: 0.75rem 1rem;
}

.htb-comparison-header.violet {
  background: linear-gradient(90deg, #ede9fe 0%, #ddd6fe 100%);
}

.htb-comparison-header.cyan {
  background: linear-gradient(90deg, #cffafe 0%, #99f6e4 100%);
}

.htb-comparison-body {
  padding: 1rem;
}

.htb-comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.htb-comparison-row:last-child {
  margin-bottom: 0;
}

.htb-comparison-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.htb-comparison-value {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.htb-comparison-value.green {
  color: #15803d;
}

.htb-comparison-value.blue {
  color: #1d4ed8;
}

.htb-comparison-value.red {
  color: #dc2626;
}

/* FAQ */
.htb-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .htb-faq-item {
    border-radius: 0.75rem;
  }
}

.htb-faq-question {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
  transition: background 0.2s;
}

@media (min-width: 640px) {
  .htb-faq-question {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
}

.htb-faq-question:hover {
  background: #f9fafb;
}

.htb-faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
  transform: rotate(0deg);
  transition: transform 0.2s;
}

.htb-faq-item.open .htb-faq-icon {
  transform: rotate(180deg);
}

.htb-faq-answer {
  display: none;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .htb-faq-answer {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
}

.htb-faq-item.open .htb-faq-answer {
  display: block;
}

/* Final CTA */
.htb-final-cta {
  text-align: center;
}

.htb-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .htb-cta-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

.htb-cta-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
}

@media (min-width: 640px) {
  .htb-cta-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

.htb-cta-large:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.htb-cta-large.primary {
  background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
  color: white;
}

.htb-cta-large.secondary {
  background: white;
  color: #111827;
  border: 2px solid #d1d5db;
}

.htb-cta-large.secondary:hover {
  border-color: #9ca3af;
}


/* =====================================================
  BADGES SYSTEM - Estilos completos para todos los badges
  ===================================================== */

/* === CONTENEDOR DE LA CARD === */
.kcard {
  position: relative;
  overflow: hidden;
}

.kcard-link {
  position: relative;
  display: block;
}

.store-thumb {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
  BADGES DE ESTADO (Esquina superior derecha)
  ===================================================== */

/* Badge de PROMO */
.promo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
  z-index: 3;
  animation: badgePulse 2s ease-in-out infinite;
}

/* Badge de PRE-ORDER */
.preorder-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
  z-index: 3;
}

/* Badge de SOLD OUT */
.soldout-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  z-index: 3;
}

/* =====================================================
  BADGE DE LAST UNITS (Esquina superior izquierda)
  ===================================================== */

.lastunits-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Icono de alerta para last units */
.lastunits-badge::before {
  content: '⚠';
  font-size: 0.85rem;
}

/* Animación de parpadeo sutil */
@keyframes badgePulse {

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

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* =====================================================
  BADGES DE EVENTOS (Abajo, con color dinámico)
  ===================================================== */

/* Badge de evento base */
.event-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
  white-space: nowrap;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Colores específicos para badges de eventos */
.event-badge.badge-red {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

.event-badge.badge-blue {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
}

.event-badge.badge-green {
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.event-badge.badge-purple {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
  box-shadow: 0 2px 8px rgba(156, 39, 176, 0.4);
}

.event-badge.badge-pink {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
}

.event-badge.badge-yellow {
  background: linear-gradient(135deg, #ffeb3b 0%, #fbc02d 100%);
  box-shadow: 0 2px 8px rgba(255, 235, 59, 0.4);
  color: #333;
  /* Texto oscuro para mejor contraste */
}

.event-badge.badge-orange {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

.event-badge.badge-teal {
  background: linear-gradient(135deg, #009688 0%, #00796b 100%);
  box-shadow: 0 2px 8px rgba(0, 150, 136, 0.4);
}

.event-badge.badge-indigo {
  background: linear-gradient(135deg, #3f51b5 0%, #303f9f 100%);
  box-shadow: 0 2px 8px rgba(63, 81, 181, 0.4);
}

.event-badge.badge-grey,
.event-badge.badge-gray {
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
  box-shadow: 0 2px 8px rgba(158, 158, 158, 0.4);
}

/* Colores adicionales de Materialize */
.event-badge.badge-cyan {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.4);
}

.event-badge.badge-lime {
  background: linear-gradient(135deg, #cddc39 0%, #afb42b 100%);
  box-shadow: 0 2px 8px rgba(205, 220, 57, 0.4);
  color: #333;
}

.event-badge.badge-amber {
  background: linear-gradient(135deg, #ffc107 0%, #ffa000 100%);
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

.event-badge.badge-deep-orange {
  background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

.event-badge.badge-brown {
  background: linear-gradient(135deg, #795548 0%, #5d4037 100%);
  box-shadow: 0 2px 8px rgba(121, 85, 72, 0.4);
}

.event-badge.badge-blue-grey,
.event-badge.badge-blue-gray {
  background: linear-gradient(135deg, #607d8b 0%, #455a64 100%);
  box-shadow: 0 2px 8px rgba(96, 125, 139, 0.4);
}

.event-badge.badge-light-blue {
  background: linear-gradient(135deg, #03a9f4 0%, #0288d1 100%);
  box-shadow: 0 2px 8px rgba(3, 169, 244, 0.4);
}

.event-badge.badge-light-green {
  background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
  box-shadow: 0 2px 8px rgba(139, 195, 74, 0.4);
}

.event-badge.badge-deep-purple {
  background: linear-gradient(135deg, #673ab7 0%, #512da8 100%);
  box-shadow: 0 2px 8px rgba(103, 58, 183, 0.4);
}

/* =====================================================
  OVERLAY CUANDO ESTÁ SOLD OUT
  ===================================================== */

.kcard.is-sold-out .store-thumb {
  opacity: 0.6;
  filter: grayscale(50%);
}

.kcard.is-sold-out::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 1;
}

/* =====================================================
   RESPONSIVE - Ajustes para móvil
   ===================================================== */

@media (max-width: 640px) {

  .promo-badge,
  .preorder-badge,
  .soldout-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    top: 6px;
    right: 6px;
  }

  .lastunits-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    top: 6px;
    left: 6px;
  }

  .event-badge {
    font-size: 0.65rem;
    padding: 3px 10px;
    bottom: 6px;
  }
}

/* =====================================================
   FILTROS SIDEBAR - Badges de eventos
   ===================================================== */

/* Badge en el sidebar de filtros */
.filter-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  margin-left: 8px;
}

.filter-event-badge.badge-red {
  background: #f44336;
}

.filter-event-badge.badge-blue {
  background: #2196f3;
}

.filter-event-badge.badge-green {
  background: #4caf50;
}

.filter-event-badge.badge-purple {
  background: #9c27b0;
}

.filter-event-badge.badge-pink {
  background: #e91e63;
}

.filter-event-badge.badge-yellow {
  background: #ffeb3b;
}

.filter-event-badge.badge-orange {
  background: #ff9800;
}

.filter-event-badge.badge-teal {
  background: #009688;
}

.filter-event-badge.badge-indigo {
  background: #3f51b5;
}

.filter-event-badge.badge-grey,
.filter-event-badge.badge-gray {
  background: #9e9e9e;
}

.filter-event-badge.badge-cyan {
  background: #00bcd4;
}

.filter-event-badge.badge-lime {
  background: #cddc39;
}

.filter-event-badge.badge-amber {
  background: #ffc107;
}

.filter-event-badge.badge-deep-orange {
  background: #ff5722;
}

.filter-event-badge.badge-brown {
  background: #795548;
}

.filter-event-badge.badge-blue-grey,
.filter-event-badge.badge-blue-gray {
  background: #607d8b;
}

.filter-event-badge.badge-light-blue {
  background: #03a9f4;
}

.filter-event-badge.badge-light-green {
  background: #8bc34a;
}

.filter-event-badge.badge-deep-purple {
  background: #673ab7;
}

/* Punto de color en el filtro activo */
.filter-event-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

/* =====================================================
  HOVER EFFECTS
  ===================================================== */

.kcard:hover .promo-badge {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.kcard:hover .lastunits-badge {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.kcard:hover .event-badge {
  transform: translateX(-50%) scale(1.05);
  transition: transform 0.2s ease;
}

/* =====================================================
   ACCESIBILIDAD
   ===================================================== */

.promo-badge,
.preorder-badge,
.soldout-badge,
.lastunits-badge,
.event-badge {
  pointer-events: none;
  /* No interfiere con el click en la card */
}

/* =====================================================
  PRINT STYLES
  ===================================================== */

@media print {

  .promo-badge,
  .preorder-badge,
  .soldout-badge,
  .lastunits-badge,
  .event-badge {
    background: #333 !important;
    color: white !important;
    box-shadow: none !important;
  }
}

/*ACCOUNT.PHP*/

/* Account page specific styles */
.account-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.account-header {
  text-align: center;
  margin-bottom: 40px;
}

.account-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.account-header p {
  color: #6b7280;
  font-size: 1rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  transition: all 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
}

.stat-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--p2), var(--p1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-card .value {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
}

.stat-card .label {
  color: #6b7280;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Main Grid Layout */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-bottom: 32px;
}

/* Profile Card */
.profile-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  height: fit-content;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  border: 4px solid #f3f4f6;
}

.profile-name {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.profile-email {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.profile-info {
  border-top: 1px solid #f3f4f6;
  padding-top: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f9fafb;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
}

.info-value {
  font-size: 0.875rem;
  color: #111;
  font-weight: 600;
}

/* Section Cards */
.section-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.section-action {
  padding: 8px 16px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Address List */
.address-list {
  display: grid;
  gap: 12px;
}

.address-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s;
}

.address-item:hover {
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.address-alias {
  font-weight: 700;
  color: #111;
  font-size: 1rem;
}

.address-badge {
  padding: 4px 10px;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.address-details {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Wishlist Grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wishlist-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.wishlist-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
}

.wishlist-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.wishlist-info {
  padding: 12px;
}

.wishlist-artist {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wishlist-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: #111;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-price {
  font-weight: 800;
  color: #7c3aed;
  font-size: 1rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.action-btn {
  padding: 16px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn:hover {
  border-color: #7c3aed;
  background: #faf5ff;
}

.action-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--p2), var(--p1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.action-text {
  flex: 1;
}

.action-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #111;
  margin-bottom: 2px;
}

.action-desc {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-actions {
    grid-template-columns: 1fr;
  }

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

  .account-header h1 {
    font-size: 2rem;
  }
}

/*addresses.php*/

/* Contenedor principal */
.addresses-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  padding: 2rem 0;
}

.addresses-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.addresses-header {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.addresses-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.addresses-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Botón agregar */
.btn-add-address {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-add-address:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-add-address svg {
  width: 18px;
  height: 18px;
}

/* Grid de direcciones */
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Card de dirección */
.address-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.address-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.address-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* Header del card */
.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.address-alias {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.address-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}

/* Badge principal */
.badge-main {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.2);
}

.badge-main svg {
  width: 12px;
  height: 12px;
}

/* Acciones */
.address-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-action {
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-edit {
  background: #ede9fe;
  color: #7c3aed;
}

.btn-edit:hover {
  background: #ddd6fe;
  transform: scale(1.05);
}

.btn-delete {
  background: #fee2e2;
  color: #dc2626;
}

.btn-delete:hover {
  background: #fecaca;
  transform: scale(1.05);
}

.btn-action svg {
  width: 14px;
  height: 14px;
}

/* Contenido del card */
.address-content {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
}

.address-full-name {
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
}

.address-detail {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.address-detail svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  margin-top: 2px;
  flex-shrink: 0;
}

.address-phone {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.address-phone svg {
  width: 14px;
  height: 14px;
  color: #9ca3af;
  flex-shrink: 0;
}

/* Empty state */
.empty-addresses {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
}

.empty-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.empty-text {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
}

.back-link:hover {
  color: #7c3aed;
  background: #f9fafb;
}

.back-link svg {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .addresses-header {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-add-address {
    width: 100%;
    justify-content: center;
  }

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

  .addresses-title {
    font-size: 1.5rem;
  }
}

/* ORDERS.PHP*/

/* Estilos para que la tabla se vea bien */
#boxes-container-search-store tr {
  cursor: pointer;
  transition: background-color 0.2s;
}

#boxes-container-search-store tr:hover {
  background-color: #f9fafb;
}

#boxes-container-search-store .chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: #f3f4f6;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}

#boxes-container-search-store .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#boxes-container-search-store .badge.blue {
  background-color: #dbeafe;
  color: #1e40af;
}

#boxes-container-search-store .badge.green {
  background-color: #dcfce7;
  color: #166534;
}

#boxes-container-search-store .badge.indigo {
  background-color: #e0e7ff;
  color: #3730a3;
}

/* Tabs de filtro */
.tab-button {
  border-color: #e5e7eb;
  background-color: white;
  color: #6b7280;
}

.tab-button:hover {
  border-color: #d1d5db;
  background-color: #f9fafb;
}

.tab-button.active {
  border-color: #7c3aed;
  background-color: #7c3aed;
  color: white;
}

.tab-button.active:hover {
  border-color: #6d28d9;
  background-color: #6d28d9;
}

/* Paginación estilo Tailwind */
#pagination-boxes-store {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#pagination-boxes-store li {
  list-style: none;
}

#pagination-boxes-store li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

#pagination-boxes-store li a:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

#pagination-boxes-store li.active a {
  background-color: #7c3aed;
  border-color: #7c3aed;
  color: white;
}

#pagination-boxes-store li.disabled a {
  opacity: 0.5;
  cursor: not-allowed;
}

#pagination-boxes-store li.disabled a:hover {
  background-color: white;
  border-color: #e5e7eb;
}

#pagination-boxes-store li a i {
  font-size: 1.25rem;
}

/* ========== HOW TO BUY PAGE - COREA ========== */

/* Contenedor general */
.store.htb-page {
  font-family: 'Poppins', sans-serif;
  color: #1E293B;
  min-height: 100vh;
}

/* Body background */
body.bg-gray-50 {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
}

/* Contenedor principal */
.store.htb-page .max-w-6xl {
  max-width: 72rem;
  margin: 0 auto;
}

/* ========== SPACING UTILITIES ========== */
.store.htb-page .px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.store.htb-page .py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.store.htb-page .p-3 {
  padding: 0.75rem;
}

.store.htb-page .p-4 {
  padding: 1rem;
}

.store.htb-page .p-5 {
  padding: 1.25rem;
}

.store.htb-page .mb-1 {
  margin-bottom: 0.25rem;
}

.store.htb-page .mb-2 {
  margin-bottom: 0.5rem;
}

.store.htb-page .mb-3 {
  margin-bottom: 0.75rem;
}

.store.htb-page .mb-4 {
  margin-bottom: 1rem;
}

.store.htb-page .mb-5 {
  margin-bottom: 1.25rem;
}

.store.htb-page .mb-6 {
  margin-bottom: 1.5rem;
}

.store.htb-page .mb-8 {
  margin-bottom: 2rem;
}

.store.htb-page .mb-12 {
  margin-bottom: 3rem;
}

.store.htb-page .ml-2 {
  margin-left: 0.5rem;
}

.store.htb-page .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .store.htb-page .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .store.htb-page .sm\:p-4 {
    padding: 1rem;
  }

  .store.htb-page .sm\:p-5 {
    padding: 1.25rem;
  }

  .store.htb-page .sm\:p-6 {
    padding: 1.5rem;
  }

  .store.htb-page .sm\:mb-2 {
    margin-bottom: 0.5rem;
  }

  .store.htb-page .sm\:mb-3 {
    margin-bottom: 0.75rem;
  }

  .store.htb-page .sm\:mb-4 {
    margin-bottom: 1rem;
  }

  .store.htb-page .sm\:mb-6 {
    margin-bottom: 1.5rem;
  }

  .store.htb-page .sm\:mb-8 {
    margin-bottom: 2rem;
  }

  .store.htb-page .sm\:mb-12 {
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .store.htb-page .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .store.htb-page .lg\:p-8 {
    padding: 2rem;
  }
}

/* ========== LAYOUT UTILITIES ========== */
.store.htb-page .flex {
  display: flex;
}

.store.htb-page .inline-flex {
  display: inline-flex;
}

.store.htb-page .block {
  display: block;
}

.store.htb-page .hidden {
  display: none;
}

.store.htb-page .grid {
  display: grid;
}

.store.htb-page .flex-col {
  flex-direction: column;
}

.store.htb-page .flex-wrap {
  flex-wrap: wrap;
}

.store.htb-page .flex-1 {
  flex: 1 1 0%;
}

.store.htb-page .flex-shrink-0 {
  flex-shrink: 0;
}

.store.htb-page .items-center {
  align-items: center;
}

.store.htb-page .justify-center {
  justify-content: center;
}

.store.htb-page .justify-between {
  justify-content: space-between;
}

.store.htb-page .gap-2 {
  gap: 0.5rem;
}

.store.htb-page .gap-3 {
  gap: 0.75rem;
}

.store.htb-page .gap-4 {
  gap: 1rem;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:flex-row {
    flex-direction: row;
  }

  .store.htb-page .sm\:gap-3 {
    gap: 0.75rem;
  }

  .store.htb-page .sm\:gap-4 {
    gap: 1rem;
  }

  .store.htb-page .sm\:gap-6 {
    gap: 1.5rem;
  }

  .store.htb-page .sm\:block {
    display: block;
  }

  .store.htb-page .block.sm\:hidden {
    display: none;
  }
}

/* ========== GRID SYSTEM ========== */
.store.htb-page .grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.store.htb-page .grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .store.htb-page .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .store.htb-page .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store.htb-page .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========== WIDTH/HEIGHT ========== */
.store.htb-page .w-full {
  width: 100%;
}

.store.htb-page .w-4 {
  width: 1rem;
}

.store.htb-page .w-5 {
  width: 1.25rem;
}

.store.htb-page .w-12 {
  width: 3rem;
}

.store.htb-page .w-14 {
  width: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store.htb-page .h-4 {
  height: 1rem;
}

.store.htb-page .h-5 {
  height: 1.25rem;
}

.store.htb-page .h-12 {
  height: 3rem;
}

.store.htb-page .h-14 {
  height: 3.5rem;
}

.store.htb-page .h-20 {
  height: 5rem;
}

.store.htb-page .min-w-0 {
  min-width: 0;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:w-auto {
    width: auto;
  }

  .store.htb-page .sm\:w-5 {
    width: 1.25rem;
  }

  .store.htb-page .sm\:w-6 {
    width: 1.5rem;
  }

  .store.htb-page .sm\:w-16 {
    width: 4rem;
  }

  .store.htb-page .sm\:h-5 {
    height: 1.25rem;
  }

  .store.htb-page .sm\:h-6 {
    height: 1.5rem;
  }

  .store.htb-page .sm\:h-16 {
    height: 4rem;
  }

  .store.htb-page .sm\:h-24 {
    height: 6rem;
  }
}

/* ========== TYPOGRAPHY ========== */
.store.htb-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.store.htb-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 20px 0;
}

.store.htb-page h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.store.htb-page h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 4px 0;
}

.store.htb-page p {
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .store.htb-page h1 {
    font-size: 1.875rem;
    margin-bottom: 16px;
  }

  .store.htb-page h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .store.htb-page h3 {
    font-size: 1.25rem;
  }

  .store.htb-page h4 {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .store.htb-page h1 {
    font-size: 2.25rem;
  }
}

/* Text sizes */
.store.htb-page .text-xs {
  font-size: 0.75rem;
}

.store.htb-page .text-sm {
  font-size: 0.875rem;
}

.store.htb-page .text-xl {
  font-size: 1.25rem;
}

.store.htb-page .text-2xl {
  font-size: 1.5rem;
}

.store.htb-page .text-3xl {
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:text-sm {
    font-size: 0.875rem;
  }

  .store.htb-page .sm\:text-base {
    font-size: 1rem;
  }

  .store.htb-page .sm\:text-2xl {
    font-size: 1.5rem;
  }

  .store.htb-page .sm\:text-3xl {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .store.htb-page .lg\:text-lg {
    font-size: 1.125rem;
  }
}

/* Text colors */
.store.htb-page .text-white {
  color: white;
}

.store.htb-page .text-gray-600 {
  color: #64748B;
}

.store.htb-page .text-gray-700 {
  color: #475569;
}

.store.htb-page .text-gray-900 {
  color: #1E293B;
}

.store.htb-page .text-green-700 {
  color: #15803D;
}

.store.htb-page .text-amber-700 {
  color: #B45309;
}

.store.htb-page .text-blue-700 {
  color: #1D4ED8;
}

.store.htb-page .text-red-600 {
  color: #DC2626;
}

/* Font weights */
.store.htb-page .font-semibold {
  font-weight: 600;
}

.store.htb-page .font-bold {
  font-weight: 700;
}

.store.htb-page .font-extrabold {
  font-weight: 800;
}

/* Text alignment */
.store.htb-page .text-center {
  text-align: center;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:text-left {
    text-align: left;
  }
}

.store.htb-page .truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== BACKGROUNDS & BORDERS ========== */
.store.htb-page .bg-white {
  background: white;
}

.store.htb-page .bg-gray-50 {
  background: #F8FAFC;
}

.store.htb-page .rounded-lg {
  border-radius: 12px;
}

.store.htb-page .rounded-xl {
  border-radius: 16px;
}

.store.htb-page .rounded-full {
  border-radius: 9999px;
}

.store.htb-page .border-t {
  border-top: 1px solid #E2E8F0;
}

.store.htb-page .border-2.border-gray-200 {
  border: 2px solid #E2E8F0;
}

.store.htb-page .shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.store.htb-page .overflow-hidden {
  overflow: hidden;
}

.store.htb-page .overflow-x-auto {
  overflow-x: auto;
}

.store.htb-page .object-cover {
  object-fit: cover;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:rounded-xl {
    border-radius: 16px;
  }

  .store.htb-page .sm\:rounded-2xl {
    border-radius: 20px;
  }
}

/* ========== POSITIONING ========== */
.store.htb-page .relative {
  position: relative;
}

.store.htb-page .absolute {
  position: absolute;
}

.store.htb-page .sticky {
  position: sticky;
  width: 100%;
}

.store.htb-page .top-14 {
  top: 3.5rem;
}

.store.htb-page .z-40 {
  z-index: 40;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:top-16 {
    top: 4rem;
  }
}

.store.htb-page .scroll-mt-24 {
  scroll-margin-top: 6rem;
}

/* ========== TRANSITIONS ========== */
.store.htb-page .transition {
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.store.htb-page .transition-all {
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.store.htb-page .transition-transform {
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.store.htb-page .cursor-pointer {
  cursor: pointer;
}

/* ========== SVG ICONS ========== */
.store.htb-page svg {
  flex-shrink: 0;
}

/* ========== HERO BADGE ========== */
.store.htb-page .bg-gradient-to-r.from-pink-400.to-cyan-400 {
  background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .store.htb-page .bg-gradient-to-r.from-pink-400.to-cyan-400 {
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* ========== OPTION CARDS ========== */
.store.htb-page .group {
  transition: all 0.3s ease;
}

.store.htb-page .group.border-2 {
  border: 2px solid #E2E8F0;
  background: white;
  cursor: pointer;
}

.store.htb-page .group.border-2:hover {
  border-color: #8b5cf6;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
  transform: translateY(-4px);
}

/* Icon containers */
.store.htb-page .bg-gradient-to-br.from-violet-100.to-purple-100 {
  background: linear-gradient(135deg, #ede9fe 0%, #fae8ff 100%);
  border-radius: 16px;
}

.store.htb-page .bg-gradient-to-br.from-cyan-100.to-teal-100 {
  background: linear-gradient(135deg, #cffafe 0%, #ccfbf1 100%);
  border-radius: 16px;
}

/* ========== BUTTONS ========== */
.store.htb-page a.bg-gradient-to-r.from-pink-500.to-violet-600,
.store.htb-page button.bg-gradient-to-r.from-pink-500.to-violet-600 {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store.htb-page a.bg-gradient-to-r.from-pink-500.to-violet-600:hover,
.store.htb-page button.bg-gradient-to-r.from-pink-500.to-violet-600:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
  transform: translateY(-2px);
}

.store.htb-page button.border-2.border-gray-300 {
  background: white;
  color: #374151;
  border: 2px solid #D1D5DB;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.store.htb-page button.border-2.border-gray-300:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

/* ========== STICKY BAR ========== */
.store.htb-page .sticky>div {
  width: 100%;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .store.htb-page .sticky>div {
    border-radius: 20px;
    padding: 16px 24px;
  }
}

.store.htb-page .sticky .bg-gradient-to-r.from-pink-400.to-cyan-400 {
  background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
  width: 100%;
}

.store.htb-page .sticky .flex.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

@media (min-width: 640px) {
  .store.htb-page .sticky .flex.flex-col.sm\:flex-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.store.htb-page .sticky .flex-col>div:first-child {
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
  color: white;
}

@media (min-width: 640px) {
  .store.htb-page .sticky .flex-col>div:first-child {
    font-size: 16px;
    text-align: left;
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .store.htb-page .sticky .flex-col>div:first-child {
    font-size: 18px;
  }
}

.store.htb-page .sticky .flex-col>div:last-child {
  display: flex;
  gap: 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .store.htb-page .sticky .flex-col>div:last-child {
    width: auto;
    gap: 12px;
    flex-shrink: 0;
  }
}

.store.htb-page .sticky button {
  background: white;
  color: #1E293B;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .store.htb-page .sticky button {
    padding: 10px 20px;
    flex: 0 0 auto;
    min-width: 120px;
  }
}

.store.htb-page .sticky button:hover {
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.store.htb-page .sticky button:active {
  transform: translateY(0);
}

.store.htb-page .sticky button.bg-gray-900 {
  background: #8b5cf6;
  color: white;
}

.store.htb-page .sticky button.bg-gray-900:hover {
  background: #7c3aed;
}

/* ========== STEP CARDS ========== */
.store.htb-page .bg-gradient-to-br.from-violet-200.to-purple-200 {
  background: linear-gradient(135deg, #ddd6fe 0%, #f3e8ff 100%);
}

.store.htb-page .bg-gradient-to-br.from-cyan-200.to-teal-200 {
  background: linear-gradient(135deg, #a5f3fc 0%, #99f6e4 100%);
}

.store.htb-page .bg-gradient-to-br.from-pink-200.to-rose-200 {
  background: linear-gradient(135deg, #fbcfe8 0%, #fecdd3 100%);
}

.store.htb-page .bg-gradient-to-br.from-green-200.to-emerald-200 {
  background: linear-gradient(135deg, #bbf7d0 0%, #a7f3d0 100%);
}

/* Step circles with icons */
.store.htb-page .bg-gradient-to-br.from-violet-400.to-purple-500 {
  background: linear-gradient(135deg, #a78bfa 0%, #a855f7 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.store.htb-page .bg-gradient-to-br.from-cyan-400.to-teal-500 {
  background: linear-gradient(135deg, #22d3ee 0%, #14b8a6 100%);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

.store.htb-page .bg-gradient-to-br.from-pink-400.to-rose-500 {
  background: linear-gradient(135deg, #f472b6 0%, #fb7185 100%);
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.3);
}

.store.htb-page .bg-gradient-to-br.from-green-400.to-emerald-500 {
  background: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

/* Connector lines */
.store.htb-page .relative .absolute {
  display: none;
}

@media (min-width: 1024px) {
  .store.htb-page .relative .absolute {
    display: block;
    top: 50%;
    right: -8px;
    width: 16px;
    height: 2px;
    background: #E2E8F0;
    transform: translateY(-50%);
  }
}

/* ========== BADGES ========== */
.store.htb-page .bg-green-50 {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store.htb-page .bg-amber-50 {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store.htb-page .bg-blue-50 {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 640px) {

  .store.htb-page .bg-green-50,
  .store.htb-page .bg-amber-50,
  .store.htb-page .bg-blue-50 {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* ========== COMPARISON SECTION ========== */
.store.htb-page .space-y-2>*+* {
  margin-top: 0.5rem;
}

.store.htb-page .space-y-3>*+* {
  margin-top: 0.75rem;
}

.store.htb-page .space-y-4>*+* {
  margin-top: 1rem;
}

.store.htb-page .bg-gradient-to-r.from-violet-100.to-purple-100 {
  background: linear-gradient(90deg, #ede9fe 0%, #fae8ff 100%);
  padding: 12px 16px;
  font-weight: 700;
  color: #1E293B;
}

.store.htb-page .bg-gradient-to-r.from-cyan-100.to-teal-100 {
  background: linear-gradient(90deg, #cffafe 0%, #ccfbf1 100%);
  padding: 12px 16px;
  font-weight: 700;
  color: #1E293B;
}

/* Table */
.store.htb-page table {
  width: 100%;
  border-collapse: collapse;
}

.store.htb-page thead tr {
  border-bottom: 2px solid #E2E8F0;
}

.store.htb-page th {
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store.htb-page tbody tr {
  border-bottom: 1px solid #F1F5F9;
  transition: all 0.2s;
}

.store.htb-page tbody tr:hover {
  background: #F8FAFC;
}

.store.htb-page td {
  padding: 12px 16px;
}

/* ========== FAQ ========== */
.store.htb-page .faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .store.htb-page .faq-item {
    border-radius: 16px;
  }
}

.store.htb-page .faq-item:hover {
  border-color: #8b5cf6;
}

.store.htb-page .faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .store.htb-page .faq-q {
    padding: 16px 20px;
  }
}

.store.htb-page .faq-q:hover {
  background: #F8FAFC;
}

.store.htb-page .faq-q svg {
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.store.htb-page .faq-q svg.rotate-180 {
  transform: rotate(180deg);
}

.store.htb-page .faq-a {
  line-height: 1.6;
  padding: 12px 16px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

@media (min-width: 640px) {
  .store.htb-page .faq-a {
    padding: 16px 20px;
  }
}

.store.htb-page .faq-a.hidden {
  display: none;
}

/* ========== FINAL CTA ========== */
.store.htb-page a.inline-flex.bg-gradient-to-r,
.store.htb-page a.inline-flex.bg-white {
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  padding: 12px 24px;
  border-radius: 12px;
}

@media (min-width: 640px) {

  .store.htb-page a.inline-flex.bg-gradient-to-r,
  .store.htb-page a.inline-flex.bg-white {
    padding: 16px 32px;
  }
}

.store.htb-page a.inline-flex.bg-gradient-to-r:hover {
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.store.htb-page a.inline-flex.bg-white {
  background: white;
  color: #1E293B;
  border: 2px solid #D1D5DB;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.store.htb-page a.inline-flex.bg-white:hover {
  border-color: #9ca3af;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* ========== MOBILE FIXES ========== */
@media (max-width: 639px) {
  .store.htb-page h3 {
    font-size: 1rem;
  }

  .store.htb-page .hidden.sm\:inline {
    display: none;
  }
}

@media (min-width: 640px) {
  .store.htb-page .hidden.sm\:inline {
    display: inline;
  }
}

/* ========== FILTER CARDS - COREA ========== */

/* Estructura base */
.filter-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.filter-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-card-header:hover {
  background: #F8FAFC;
}

.filter-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.filter-card-icon {
  width: 20px;
  height: 20px;
  color: #64748B;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.filter-card-header:hover .filter-card-icon {
  color: #e53935;
}

.filter-card-content {
  border-top: 1px solid #F1F5F9;
}

.filter-card-content.hidden {
  display: none;
}

.filter-card-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 16rem;
  overflow-y: auto;
}

/* Opciones de filtro - Base */
.filter-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: left;
  font-family: inherit;
}

.filter-option:hover {
  background: #F1F5F9;
}

.filter-count {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
}

/* ========== COLORES POR TIPO (COREA - VIOLETA) ========== */

/* Tipos de producto - VIOLETA */
.filter-card[data-filter-type="type"] .filter-option.active {
  background: #EDE7F6;
  color: #5E35B1;
  font-weight: 600;
}

.filter-card[data-filter-type="type"] .filter-option.active .filter-count {
  color: #8b5cf6;
}

/* Categorías - ROSA */
.filter-card[data-filter-type="category"] .filter-option.active {
  background: #FCE4EC;
  color: #C2185B;
  font-weight: 600;
}

.filter-card[data-filter-type="category"] .filter-option.active .filter-count {
  color: #E91E63;
}

/* Artistas - VIOLETA (mismo que tipos) */
.filter-card[data-filter-type="artist"] .filter-option.active {
  background: #EDE7F6;
  color: #5E35B1;
  font-weight: 600;
}

/* Badges - VERDE */
.filter-card[data-filter-type="badge"] .filter-option.active {
  background: #E8F5E9;
  color: #2E7D32;
  font-weight: 600;
}

/* Colores dinámicos de badges (opcional para Corea) */
.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="red"] {
  background: #FFEBEE;
  color: #C62828;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="blue"] {
  background: #E3F2FD;
  color: #1565C0;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="purple"] {
  background: #F3E5F5;
  color: #7B1FA2;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="pink"] {
  background: #FCE4EC;
  color: #C2185B;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="yellow"] {
  background: #FFF9C4;
  color: #F57F17;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="orange"] {
  background: #FFE0B2;
  color: #E65100;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="teal"] {
  background: #E0F2F1;
  color: #00695C;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="indigo"] {
  background: #E8EAF6;
  color: #283593;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="green"] {
  background: #E8F5E9;
  color: #2E7D32;
  font-weight: 600;
}

/* CART CORE */
.amicasa-cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.amicasa-cart-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Modal container */
.amicasa-cart {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 600px;
  height: 100vh;
  background: white;
  z-index: 1001;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.amicasa-cart.show {
  right: 0;
}

/* Mobile: modal full width */
@media (max-width: 640px) {
  .amicasa-cart {
    max-width: 100%;
  }
}

/* Header del modal */
.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, var(--p1), var(--p2)) !important;
  flex-shrink: 0;
}

/* Body scrollable */
.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Footer sticky */
.cart-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  background: white;
  flex-shrink: 0;
}

.cart-footer-link {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  background: linear-gradient(135deg, #0EA5E9 0%, #db2777 100%);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.cart-footer-link:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Animación de entrada */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

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

.amicasa-cart.show {
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar para el body */
.cart-modal-body::-webkit-scrollbar {
  width: 6px;
}

.cart-modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.cart-modal-body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.cart-modal-body::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}


/* ========== CART UI - COREA ========== */

.cart-ui-container {
  max-width: 100%;
}

/* Warning */
.cart-warning {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  margin-bottom: 20px;
}

.cart-warning i {
  color: #D97706;
  font-size: 20px;
  flex-shrink: 0;
}

.cart-warning-text {
  flex: 1;
  font-size: 14px;
  color: #78350F;
}

.cart-warning-btn {
  padding: 6px 12px;
  background: #D97706;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cart-warning-btn:hover {
  background: #B45309;
}

/* Secciones */
.cart-section {
  margin-bottom: 24px;
}

.cart-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 12px 0;
}

.cart-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #8b5cf6;
  /* Violeta Corea */
  color: white;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== MODE CARDS - COREA (IGUAL AL MODAL) ========== */

/* ========== MODE CARDS UNIFICADOS - COREA ========== */

.mode-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .mode-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mode-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px !important;
  background: white !important;
  border: 2px solid #e5e7eb !important;
  /* ✅ Borde gris claro */
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: left !important;
  font-family: inherit !important;
}

.mode-card:hover {
  border-color: #8b5cf6 !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15) !important;
  background: white !important;
}

.mode-card.active {
  border-color: #8b5cf6 !important;
  background: #f5f3ff !important;
  /* ✅ Fondo violeta MUY SUTIL solo cuando está activo */
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
}

.mode-card.active .mode-icon {
  color: #8b5cf6 !important;
}

.mode-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.mode-content {
  flex: 1;
  min-width: 0;
}

.mode-title {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.mode-description {
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
  font-weight: 200;
}

.mode-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.mode-badge-green {
  background: #D1FAE5;
  color: #059669;
}

.mode-help-text {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: #64748B;
}

.mode-help-link {
  color: #8b5cf6;
  text-decoration: underline;
  font-weight: 600;
}

.mode-help-link:hover {
  color: #7c3aed;
}

/* ========== FIX DROPDOWN DIRECCIONES - COREA ========== */

.cart-page select,
.cart-page .browser-default,
#box-address,
.cart-input-box select {
  width: 100%;
  padding: 12px 16px;
  padding-right: 40px;
  font-size: 14px;
  line-height: 1.5;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  background: white;
  color: #1E293B;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-height: 48px;
  height: auto;
}

.cart-page select:hover,
.cart-page .browser-default:hover {
  border-color: #8b5cf6;
  /* violet-500 */
}

.cart-page select:focus,
.cart-page .browser-default:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Options dentro del select */
.cart-page select option,
#box-address option {
  padding: 12px;
  line-height: 1.5;
}

/* Input field override */
.cart-page .input-field {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.cart-page .input-field select {
  display: block !important;
  height: auto !important;
}

/* Materialize dropdown override */
.dropdown-content {
  max-height: 400px !important;
  overflow-y: auto !important;
}

.dropdown-content li {
  min-height: 48px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  padding: 12px 16px !important;
}

.dropdown-content li>span {
  white-space: normal !important;
  line-height: 1.5 !important;
}

/* Divider */
.cart-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 24px 0;
}

/* Cart items container */
.cart-items-container {
  max-height: 24rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Cart item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  transition: all 0.2s;
}

.cart-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #F8FAFC;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-variant {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cart-item-price {
  font-size: 14px;
  color: #64748B;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 16px;
}

.cart-qty-btn:hover:not(:disabled) {
  background: #F1F5F9;
}

.cart-qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-qty-value {
  width: 40px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border-left: 1px solid #D1D5DB;
  border-right: 1px solid #D1D5DB;
}

.cart-item-subtotal {
  font-size: 12px;
  color: #94A3B8;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: #FEE2E2;
}

.cart-item-remove i {
  font-size: 18px;
  color: #94A3B8;
  transition: color 0.2s;
}

.cart-item-remove:hover i {
  color: #DC2626;
}

/* Empty state */
.cart-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.cart-empty-state i {
  font-size: 64px;
  color: #D1D5DB;
  margin-bottom: 12px;
}

.cart-empty-state p {
  color: #64748B;
  margin: 0 0 16px 0;
}

.cart-empty-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #8b5cf6;
  /* Violeta Corea */
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.cart-empty-btn:hover {
  background: #5E35B1;
  transform: translateY(-1px);
}

/* Input boxes */
.cart-input-box {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 16px;
}

.cart-add-address-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #10B981;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-add-address-btn:hover {
  background: #059669;
}

.cart-add-address-btn i {
  font-size: 16px;
}

.cart-zone-info,
.cart-ship-value {
  font-size: 14px;
  color: #475569;
}

.cart-ship-value.hidden {
  display: none;
}

/* Services */
.cart-help-icon {
  margin-left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #D1D5DB;
  color: white;
  border: none;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.cart-services-box {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-service-item:hover {
  background: white;
}

.cart-service-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #8b5cf6;
  /* Violeta Corea */
}

.cart-service-label {
  font-size: 14px;
  color: #475569;
}

.cart-service-price {
  color: #8b5cf6;
  /* Violeta Corea */
  font-weight: 600;
}

/* Total */
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-total-label {
  font-size: 16px;
  font-weight: 700;
  color: #475569;
}

.cart-total-amount {
  font-size: 28px;
  font-weight: 800;
  color: #8b5cf6;
  /* Violeta Corea */
}

.cart-breakdown {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #64748B;
}

.cart-breakdown-discount {
  color: #10B981;
}

/* Terms */
.cart-terms-box {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

.cart-terms-text {
  font-size: 12px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.cart-terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.cart-checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #8b5cf6;
  /* Violeta Corea */
  flex-shrink: 0;
}

.cart-terms-label {
  font-size: 14px;
  color: #475569;
}

/* PayPal */
.cart-paypal-container {
  width: 100%;
  opacity: 0.5;
  pointer-events: none;
  transition: all 0.3s;
}

.cart-paypal-container:not(.opacity-50) {
  opacity: 1;
  pointer-events: auto;
}

.cart-paypal-hint {
  font-size: 12px;
  text-align: center;
  color: #94A3B8;
  margin: 8px 0 0 0;
}

/* Responsive */
@media (max-width: 640px) {
  .cart-item {
    padding: 10px;
    gap: 10px;
  }

  .cart-item-image {
    width: 56px;
    height: 56px;
  }

  .cart-item-name {
    font-size: 13px;
  }

  .mode-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CART PAGE - COREA ========== */

/* Page wrapper */
.cart-page {
  background: #F8FAFC;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
}

/* Header superior */
.cart-page-header {
  background: white;
  border-bottom: 1px solid #E2E8F0;
}

.cart-page-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.cart-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.cart-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-back-btn {
  color: #64748B;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.cart-back-btn:hover {
  color: #1E293B;
}

.cart-back-btn i {
  font-size: 24px;
}

.cart-header-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-header-icon {
  font-size: 24px;
  color: #8b5cf6;
  /* Violeta Corea */
}

.cart-page-title {
  font-size: 20px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
}

.cart-help-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #8b5cf6;
  /* Violeta Corea */
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .cart-help-btn {
    display: inline-flex;
  }
}

.cart-help-btn:hover {
  background: #5E35B1;
  /* Violeta oscuro Corea */
  transform: translateY(-1px);
}

.cart-help-btn i {
  font-size: 18px;
}

/* Grid principal */
.cart-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .cart-page-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Columna principal */
.cart-main-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-content-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #F1F5F9;
  padding: 24px;
}

.cart-empty-fallback {
  text-align: center;
  padding: 48px 24px;
}

.cart-empty-fallback i {
  font-size: 64px;
  color: #D1D5DB;
  margin-bottom: 12px;
  display: block;
}

.cart-empty-fallback p {
  color: #64748B;
  margin: 0;
}

/* Productos sugeridos */
.cart-suggested-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #F1F5F9;
  padding: 24px;
}

.cart-suggested-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-suggested-title {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.cart-suggested-link {
  font-size: 14px;
  color: #8b5cf6;
  /* Violeta Corea */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-suggested-link:hover {
  color: #5E35B1;
}

.cart-suggested-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .cart-suggested-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cart-suggested-item {
  display: block;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
}

.cart-suggested-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.cart-suggested-image {
  position: relative;
  padding-top: 100%;
  background: #F8FAFC;
  overflow: hidden;
}

.cart-suggested-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.cart-suggested-item:hover .cart-suggested-image img {
  transform: scale(1.05);
}

.cart-suggested-content {
  padding: 12px;
}

.cart-suggested-artist {
  font-size: 12px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-suggested-name {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin: 4px 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-suggested-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-suggested-price {
  font-size: 14px;
  font-weight: 700;
  color: #8b5cf6;
  /* Violeta Corea */
}

.cart-suggested-cta {
  font-size: 12px;
  color: #8b5cf6;
  /* Violeta Corea */
  font-weight: 600;
}

.cart-suggested-item:hover .cart-suggested-cta {
  text-decoration: underline;
}

.cart-suggested-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 24px;
}

.cart-suggested-empty-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #8b5cf6;
  /* Violeta Corea */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.cart-suggested-empty-link:hover {
  color: #5E35B1;
}

.cart-suggested-empty-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Sidebar */
.cart-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Box general para sidebar */
.cart-discount-box,
.cart-summary-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #F1F5F9;
  padding: 24px;
}

.cart-box-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 12px 0;
}

/* Discount box */
.cart-discount-form {
  display: flex;
  gap: 8px;
}

.cart-discount-input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
}

.cart-discount-input:focus {
  outline: none;
  border-color: #8b5cf6;
  /* Violeta Corea */
  box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.1);
}

.cart-discount-btn {
  padding: 0 16px;
  height: 40px;
  background: #8b5cf6;
  /* Violeta Corea */
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.cart-discount-btn:hover {
  background: #5E35B1;
}

.cart-discount-msg {
  font-size: 12px;
  margin: 8px 0 0 0;
  color: #64748B;
}

.cart-discount-msg.success {
  color: #10B981;
}

.cart-discount-msg.error {
  color: #EF4444;
}

/* Summary box */
.cart-summary-box {
  position: relative;
}

@media (min-width: 1024px) {
  .cart-summary-box {
    position: sticky;
    top: 24px;
  }
}

.cart-summary-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #64748B;
}

.cart-summary-discount {
  color: #10B981;
}

.cart-summary-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 16px 0;
}

.cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-summary-total-label {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
}

.cart-summary-total-amount {
  font-size: 28px;
  font-weight: 800;
  color: #8b5cf6;
  /* Violeta Corea */
}

.cart-summary-terms {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #64748B;
  line-height: 1.6;
}

.cart-summary-terms-title {
  display: block;
  margin-bottom: 4px;
  color: #475569;
  font-weight: 600;
}

.cart-summary-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #8b5cf6 0%, #5E35B1 100%);
  /* Violeta Corea */
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(103, 58, 183, 0.3);
  font-family: inherit;
}

.cart-summary-btn:hover {
  background: linear-gradient(135deg, #5E35B1 0%, #8b5cf6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(103, 58, 183, 0.4);
}

/* Overrides para elementos dentro de cart-page */
.cart-page select,
.cart-page .browser-default {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  background: white;
  color: #1E293B;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.cart-page select:hover,
.cart-page .browser-default:hover {
  border-color: #8b5cf6;
  /* Violeta Corea */
}

.cart-page select:focus,
.cart-page .browser-default:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.1);
}

/* Inputs dentro de cart-page */
.cart-page input[type="text"],
.cart-page input[type="email"],
.cart-page input[type="number"],
.cart-page textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  background: white;
  color: #1E293B;
  font-family: inherit;
  transition: all 0.2s;
}

.cart-page input:focus,
.cart-page textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.1);
}

/* Checkboxes dentro de cart-page */
.cart-page input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #8b5cf6;
  /* Violeta Corea */
}

/* Botones generales */
.cart-page button:not(.cart-discount-btn):not(.cart-summary-btn):not(.cart-qty-btn):not(.cart-item-remove):not(.cart-close-btn) {
  padding: 10px 20px;
  background: #8b5cf6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.cart-page button:not(.cart-discount-btn):not(.cart-summary-btn):not(.cart-qty-btn):not(.cart-item-remove):not(.cart-close-btn):hover {
  background: #5E35B1;
  transform: translateY(-1px);
}

/* PayPal container override */
.cart-page #paypal-button-container,
.cart-page .cart-paypal-container {
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .cart-sidebar {
    order: 2;
  }

  .cart-main-column {
    order: 1;
  }
}

@media (max-width: 640px) {
  .cart-page-title {
    font-size: 18px;
  }

  .cart-header-icon {
    font-size: 20px;
  }

  .cart-content-box,
  .cart-suggested-box,
  .cart-discount-box,
  .cart-summary-box {
    padding: 20px;
  }

  .cart-suggested-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cart-summary-total-amount {
    font-size: 24px;
  }
}


/* Galería del producto */
.store #product-swiper {
  width: 100%;
  aspect-ratio: 1/1; /* ✅ Esto lo hace cuadrado */
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.store #product-swiper .swiper-wrapper {
  height: 100%;
}

.store #product-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdf2f8;
  aspect-ratio: 1/1;
}

.store #product-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store #product-swiper .swiper-button-next,
.store #product-swiper .swiper-button-prev {
  color: white;
  background: rgb(139, 92, 246);
  backdrop-filter: blur(10px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.2s;
}

.store #product-swiper .swiper-button-next::after,
.store #product-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.store #product-swiper .swiper-button-next:hover,
.store #product-swiper .swiper-button-prev:hover {
  background: rgb(139, 92, 246);
  transform: scale(1.05);
}

.store #product-swiper .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
  width: 10px;
  height: 10px;
}

.store #product-swiper .swiper-pagination-bullet-active {
  background: rgb(139, 92, 246);
  width: 24px;
  border-radius: 5px;
}

.store #product-swiper .swiper-slide iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.store #product-swiper .swiper-slide:has(iframe) {
  aspect-ratio: 16/9;
  background: #000;
}

/* Responsive */
@media (max-width: 1024px) {
  .cart-sidebar {
    order: 2;
  }

  .cart-main-column {
    order: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 640px) {

  /* Asegura que el contenedor padre no se desborde */
  .cart-container,
  .cart-wrapper,
  .cart-main-column {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Fuerza que los items del cart no se salgan */
  .cart-item,
  .cart-product-card {
    max-width: 100%;
    overflow: hidden;
  }

  .cart-page-title {
    font-size: 18px;
  }

  .cart-header-icon {
    font-size: 20px;
  }

  .cart-content-box,
  .cart-suggested-box,
  .cart-discount-box,
  .cart-summary-box {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .cart-suggested-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cart-summary-total-amount {
    font-size: 24px;
  }
}

/*ESTILOS DE STORE HEADER*/
:root {
  --bg: #fffafc;
  --ink: #222;
  --muted: #666;
  --p1: #ffb6c1;
  --p2: #a8edea;
  --bd: #eee;
  --chip: #f7f7fa;
}

/* ========== HEADER ========== */
.ami-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  border-bottom: 1px solid var(--bd);
}

.ami-header__bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ========== BRAND ========== */
.ami-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.ami-header__brand:hover {
  opacity: 0.8;
}

.ami-logo {
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 18px;
  color: #111;
}

.ami-tag {
  margin-left: 4px;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color: #111;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  text-transform: lowercase;
}

/* ========== NAV ========== */
.ami-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ami-nav__link {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.ami-nav__link:hover {
  background: var(--chip);
  border-color: var(--bd);
  color: #111;
}

/* ========== DROPDOWNS ========== */
.ami-dd__btn {
  border: 1px solid var(--bd);
  background: var(--chip);
  padding: 0.5rem 0.75rem;
  border-radius: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #374151;
  font-size: 13px;
  transition: all 0.2s;
}

.ami-dd__btn:hover {
  background: #fff;
  border-color: #d1d5db;
}

.ami-dd__btn .material-icons {
  font-size: 18px;
}

.ami-dd__btn .ami-dd__chev {
  transition: transform 0.2s ease;
  font-size: 18px;
}

.ami-dd[data-open="true"] .ami-dd__btn .ami-dd__chev {
  transform: rotate(180deg);
}

.ami-dd {
  position: relative;
}

.ami-dd__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  padding: 8px;
  display: none;
  z-index: 1000;
}

.ami-dd[data-open="true"] .ami-dd__menu {
  display: block;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.ami-dd__item {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: #374151;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
  text-decoration: none;
}

.ami-dd__item:hover,
.ami-dd__item:focus {
  background: var(--chip);
  border-color: var(--bd);
  outline: none;
  color: #111;
}

.ami-dd__sep {
  height: 1px;
  background: var(--bd);
  margin: 6px 0;
}

/* ========== CART BUTTON ========== */
.ami-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bd);
  background: var(--chip);
  border-radius: 50%;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.ami-cart-btn:hover {
  background: #fff;
  border-color: #d1d5db;
  color: #111;
}

.ami-cart-btn .material-icons {
  font-size: 22px;
}

.ami-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ec4899;
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

/* ========== BURGER ========== */
.ami-burger {
  display: none;
  border: 1px solid var(--bd);
  background: var(--chip);
  padding: 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  color: #374151;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.ami-burger:hover {
  background: #fff;
  border-color: #d1d5db;
}

.ami-burger .material-icons {
  font-size: 24px;
}

/* ========== DRAWER MOBILE ========== */
.ami-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  display: none;
  z-index: 200;
}

.ami-drawer[aria-hidden="false"] {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ami-drawer__nav {
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 360px);
  height: 100%;
  background: #fff;
  padding: 20px;
  border-left: 1px solid var(--bd);
  overflow: auto;
  box-shadow: -4px 0 16px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.ami-drawer__nav a,
.ami-drawer__nav button {
  text-align: left;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  display: block;
  width: 100%;
}

.ami-drawer__nav a:hover,
.ami-drawer__nav button:hover {
  background: var(--chip);
  border-color: #d1d5db;
  color: #111;
}

.ami-drawer__group {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--bd);
}

.ami-drawer__title {
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ami-drawer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.ami-drawer__chips button {
  background: var(--chip);
  border-color: var(--bd);
  padding: 0.5rem 1rem;
  font-size: 13px;
}

.ami-drawer__cart {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid var(--bd);
  display: flex !important;
  align-items: center;
  gap: 12px;
  position: relative;
  background: linear-gradient(135deg, var(--p1), var(--p2)) !important;
  border: none !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.ami-drawer__cart .material-icons {
  font-size: 24px;
}

.ami-drawer__cart .ami-cart-badge {
  position: static;
  margin-left: auto;
}

/* ========== UTILITY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .ami-nav {
    display: none;
  }

  .ami-burger {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .ami-header__bar {
    padding: 10px 12px;
  }

  .ami-logo {
    font-size: 16px;
  }

  .ami-tag {
    font-size: 10px;
    padding: 0.15rem 0.4rem;
  }
}

.ami-region-badge {
  margin-left: 6px;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--p1);
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}



/* ========== BUSCADOR COREA ========== */
.store .search-container {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

/* Input de búsqueda */
.store #search-input {
  width: 100%;
  padding-left: 3rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 14px;
  transition: all 0.2s;
}

.store #search-input:focus {
  outline: none;
  border-color: #a78bfa;
}

/* Botón de búsqueda */
.store #search-page-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.store #search-page-btn:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Botón de filtros */
.store #toggleFiltersBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
}

.store #toggleFiltersBtn:hover {
  background: #f5f3ff;
  border-color: #a78bfa;
  color: #8b5cf6;
}

/* Badge de filtros activos */
.store #toggleFiltersBtn .absolute {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: #8b5cf6;
  border-radius: 50%;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .store #search-page-btn {
    padding: 10px 20px !important;
    height: auto !important;
    min-height: auto !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
  }

  .store #toggleFiltersBtn {
    width: 100%;
    justify-content: center;
  }
}



/* --- Contenedor general --- */

#modal-add-address {
  z-index: 99999999;
}

#modal-add-address.modal.modal-fixed-footer {
  max-height: 90vh;
  border-radius: 12px;
  overflow-y: auto;
}

#modal-add-address .modal-content {
  padding: 24px 32px;
}

#modal-add-address h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
}

/* --- Grid limpio (Materialize mezclado con CSS Grid) --- */
.amx-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.amx-col-12 {
  grid-column: span 12;
}

.amx-col-6 {
  grid-column: span 6;
}

.amx-col-4 {
  grid-column: span 4;
}

@media (max-width: 600px) {

  .amx-col-6,
  .amx-col-4 {
    grid-column: span 12;
  }
}

/* --- Campos e inputs --- */
#modal-add-address .input-field input,
#modal-add-address .input-field select {
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 0 10px;
  height: 44px;
  box-shadow: none;
}

#modal-add-address .input-field input:focus {
  border-color: #5e35b1;
  /* violeta Amicasa */
  box-shadow: 0 0 0 1px #5e35b1;
}

#modal-add-address label {
  color: #777;
  font-size: 0.9rem;
}

/* --- Footer --- */
#modal-add-address .modal-footer {
  border-top: 1px solid #eee;
  background: #fafafa;
  padding: 10px 24px;
}

#modal-add-address .btn {
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
}

#modal-add-address .btn.green {
  background: #5e35b1 !important;
  /* violeta Amicasa */
}

#modal-add-address .btn.green:hover {
  background: #4527a0 !important;
}

/* --- Detalle helper text --- */
.amx-note {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: -8px;
}

/* --- Select de país --- */
#addr_country {
  display: block;
  width: 100%;
  padding: 0 10px;
}

#toast-container {
  position: fixed;
  top: 1rem;
  /* equivalente a mt-4 */
  right: 1rem;
  /* equivalente a mr-4 */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}

#toast-container .toast {
  background-color: #6d28d9;
  /* bg-violet-700 */
  color: white;
  font-size: 0.875rem;
  /* text-sm */
  padding: 0.5rem 1rem;
  /* px-4 py-2 */
  border-radius: 0.5rem;
  /* rounded-lg */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  /* shadow-lg */
}

/* Modal de Cookies */
#modal-cookies {
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  margin: 0 auto 20px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

#modal-cookies .modal-content {
  padding: 20px 24px 12px;
}

#modal-cookies .modal-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#modal-cookies .modal-content h4::before {
  content: "🍪";
  font-size: 1.2rem;
}

#modal-cookies .modal-content p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

#modal-cookies .modal-footer {
  padding: 12px 24px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: transparent;
}

#modal-cookies .modal-footer a {
  border-radius: 8px;
  text-transform: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0 20px;
  height: 38px;
  line-height: 38px;
}

#modal-cookies .modal-footer a.btn-flat {
  color: #888 !important;
  position: static;
}

#modal-cookies .modal-footer a.btn-flat:hover {
  background: rgba(0, 0, 0, 0.05);
}

#modal-cookies .modal-footer a.btn {
  background: #7c3aed;
  box-shadow: none;
}

#modal-cookies .modal-footer a.btn:hover {
  background: #6d28d9;
}

/* Responsive */
@media (max-width: 480px) {
  #modal-cookies {
    max-width: calc(100% - 20px);
    margin: 0 10px 10px;
    left: 0;
    transform: none;
  }

  #modal-cookies .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }

  #modal-cookies .modal-footer a {
    width: 100%;
    text-align: center;
  }
}

.forgot-password-link {
  text-align: right;
  margin: -8px 0 16px;
  font-size: 0.85rem;
}

.forgot-password-link a {
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password-link a:hover {
  color: #5b21b6;
  text-decoration: underline;
}

@keyframes shake {

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

  20% {
    transform: translateX(-8px);
  }

  40% {
    transform: translateX(8px);
  }

  60% {
    transform: translateX(-6px);
  }

  80% {
    transform: translateX(6px);
  }
}

.input-group input.shake {
  animation: shake 0.5s ease-in-out;
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.page-btn:hover{ background:var(--chip, #f7f7fa); }
.page-btn.active{ background:var(--chip, #f7f7fa); border-color:var(--bd, #eee); box-shadow:0 1px 0 rgba(0,0,0,.04) inset; }
.page-btn:disabled{ opacity:.45; cursor:not-allowed; }
.store-section-title a.sec-title{ color:inherit; text-decoration:none; }
.store-section-title a.sec-title:hover{ text-decoration:underline; }

.swiper.blog2.swiper-uniform .swiper-slide img {
    height: 50% !important;
}


/* Hero Banner - Korea */
.hero-kr {
  margin-bottom: 1.5rem;
}

.hero-kr .swiper {
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}
.hero-kr .swiper-wrapper {
  height: auto;
}

.hero-kr .swiper-slide a {
  display: block;
  aspect-ratio: 1/1;
}

.hero-kr .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.hero-kr .swiper-pagination {
  bottom: 16px !important;
}

.hero-kr .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.hero-kr .swiper-pagination-bullet-active {
  background: #8b5cf6; /* violet para Korea */
  opacity: 1;
}

.hero-kr .swiper-button-next,
.hero-kr .swiper-button-prev {
  color: #fff;
  background: rgba(139, 92, 246, 0.8); /* violet con transparencia */
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.hero-kr .swiper-button-next:after,
.hero-kr .swiper-button-prev:after {
  font-size: 18px;
}

/* Ocultar mientras NO esté inicializado */
.hero-kr .swiper:not(.swiper-initialized) {
  opacity: 0;
}

/* Mostrar cuando ya está listo */
.hero-kr .swiper.swiper-initialized {
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* ========================================
   ACCOUNT.PHP - ESTILOS COREA (ORIGINAL)
   ======================================== */

/* Contenedor principal */
.account-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.store-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .store-container {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .store-container {
    padding: 2rem 2rem;
  }
}

/* Header de la cuenta */
.account-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.account-header h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .account-header h1 {
    font-size: 2.25rem;
  }
}

.account-header p {
  color: #6b7280;
  font-size: 1.125rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.stat-icon.indigo {
  background-color: #6366f1;
}

.stat-icon.green {
  background-color: #10b981;
}

.stat-icon.pink {
  background-color: #ec4899;
}

.stat-icon.yellow {
  background-color: #eab308;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.stat-value.text-xl {
  font-size: 1.25rem;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b7280;
}

/* Main Grid */
.account-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .account-main-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Profile Card */
.profile-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.profile-avatar {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: #7c3aed;
  border: 4px solid #f3f4f6;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
}

.profile-name {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.profile-email {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.profile-info {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.25rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f9fafb;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
}

.info-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

/* Section Cards */
.section-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

/* Buttons */
.btn-account {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: #7c3aed;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.btn-account:hover {
  background-color: #6d28d9;
}

.btn-account svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.action-btn {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  background: white;
  cursor: pointer;
}

.action-btn:hover {
  border-color: #7c3aed;
  background-color: #faf5ff;
}

.action-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  margin-right: 1rem;
  flex-shrink: 0;
}

.action-icon.indigo {
  background-color: #6366f1;
}

.action-icon.amber {
  background-color: #f59e0b;
}

.action-icon.sky {
  background-color: #0ea5e9;
}

.action-icon.red {
  background-color: #ef4444;
}

.action-text {
  flex: 1;
}

.action-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.125rem;
}

.action-desc {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Address List */
.address-list {
  display: grid;
  gap: 1rem;
}

.address-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

.address-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.address-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.address-alias {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.address-badge {
  padding: 0.25rem 0.75rem;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.address-details {
  font-size: 0.875rem;
  color: #4b5563;
}

.address-details strong {
  font-weight: 600;
}

/* View All Link */
.view-all-link {
  text-align: center;
  margin-top: 1rem;
}

.view-all-link a {
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-all-link a:hover {
  color: #6d28d9;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: #9ca3af;
}

.empty-state svg {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.empty-state-action {
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.empty-state-action:hover {
  color: #6d28d9;
}

/* Utility Classes */
.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1023px) {
  .account-main-grid {
    grid-template-columns: 1fr;
  }
}


/* Barra de progreso Group Orders (cliente) */
.progress-bar-grouporder{
  width: 100%;
  height: 10px;
  background: #f3f4f6;      /* gray-100 */
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill-grouporder{
  height: 100%;
  width: 0%;
  background: #7c3aed;      /* violet-600 */
  border-radius: 9999px;
  transition: width .4s ease;
}

/* opcional: estados */
.progress-fill-grouporder.filling{
  background: #f59e0b;      /* amber-500 */
}
.progress-fill-grouporder.filled{
  background: #22c55e;      /* green-500 */
}
/* ========================================
   ESTILOS PARA MODAL DE TÉRMINOS Y CONDICIONES
   Archivo: group_orders_terms_modal.css
   ======================================== */

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Modal Container */
.modal-container {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

/* Modal Header */
.modal-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  border-radius: 12px 12px 0 0;
}

/* Modal Body */
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Modal Footer */
.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background-color: #f9fafb;
  border-radius: 0 0 12px 12px;
}

/* Accordion Styles */
.terms-accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.2s;
}

.terms-accordion-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.terms-accordion-button {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s;
}

.terms-accordion-button:hover {
  background-color: #f9fafb;
}

.terms-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
}

.terms-accordion-content.active {
  max-height: 2000px;
  transition: max-height 0.5s ease-in, padding 0.3s ease-in;
  padding: 0 20px 16px 20px;
}

.terms-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.terms-chevron.rotated {
  transform: rotate(180deg);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .modal-container {
    width: 95%;
    max-height: 90vh;
    border-radius: 8px;
  }

  .modal-header {
    padding: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .modal-footer button {
    width: 100%;
  }

  .terms-accordion-button {
    padding: 12px 16px;
  }

  .terms-accordion-content {
    padding: 0 16px;
  }

  .terms-accordion-content.active {
    padding: 0 16px 12px 16px;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ========== GROUP ORDERS BANNER - VERSIÓN COMPACTA ========== */

/* Banner principal */
.group-orders-banner {
  position: relative;
  background: linear-gradient(135deg,
      #667eea 0%,
      #764ba2 25%,
      #f093fb 50%,
      #4facfe 75%,
      #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow:
    0 12px 24px rgba(102, 126, 234, 0.3),
    0 0 40px rgba(249, 147, 251, 0.2);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Layout del contenido */
.group-orders-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

/* Icono principal - más pequeño */
.group-orders-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(31, 38, 135, 0.3);
}

.group-orders-icon svg {
  width: 36px;
  height: 36px;
  color: white;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.pulse-animation {
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Badge LIVE - más pequeño */
.live-badge-container {
  margin-bottom: 6px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 16px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  animation: pulse-badge 2s ease-in-out infinite;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.6);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Textos - más compactos */
.group-orders-text {
  flex: 1;
}

.group-orders-title {
  font-size: 22px;
  font-weight: 900;
  color: white;
  margin: 0 0 6px 0;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 16px rgba(255, 255, 255, 0.4);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.group-orders-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 12px 0;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Pills de características - más pequeñas */
.group-orders-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.feature-pill.pink {
  background: linear-gradient(135deg, #ff6b9d 0%, #ffc3a0 100%);
  border-color: rgba(255, 107, 157, 0.5);
}

.feature-pill.blue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-color: rgba(79, 172, 254, 0.5);
}

.feature-pill.yellow {
  background: linear-gradient(135deg, #ffd89b 0%, #ffb347 100%);
  border-color: rgba(255, 216, 155, 0.5);
}

/* CTA Section - más compacta */
.group-orders-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.go-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #667eea;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.2),
    0 0 16px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.go-live-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: left 0.5s;
}

.go-live-btn:hover::before {
  left: 100%;
}

.go-live-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(255, 255, 255, 0.6);
}

.go-live-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.go-live-btn .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.go-live-btn:hover .arrow-icon {
  transform: translateX(3px);
}

/* Link de información - más pequeño */
.info-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-link svg {
  width: 14px;
  height: 14px;
}

.info-link:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

/* Efectos decorativos */
.shine-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 70%);
  animation: shine 4s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Burbujas flotantes - más pequeñas */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 1;
  animation: float 6s infinite ease-in-out;
}

.bubble-1 {
  width: 50px;
  height: 50px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.bubble-2 {
  width: 40px;
  height: 40px;
  top: 50%;
  right: 12%;
  animation-delay: 2s;
  animation-duration: 6s;
}

.bubble-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 18%;
  animation-delay: 4s;
  animation-duration: 8s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translateY(-15px) scale(1.08);
    opacity: 0.4;
  }
}

/* Confetti - más discreto */
.confetti {
  position: absolute;
  font-size: 18px;
  opacity: 0;
  z-index: 1;
  animation: confetti-fall 3s ease-in-out infinite;
}

.confetti-1 {
  top: 12%;
  left: 18%;
  animation-delay: 0s;
}

.confetti-2 {
  top: 25%;
  right: 22%;
  animation-delay: 1s;
}

.confetti-3 {
  bottom: 18%;
  left: 28%;
  animation-delay: 2s;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-15px) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% {
    transform: translateY(80px) rotate(360deg);
    opacity: 0;
  }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .group-orders-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .group-orders-icon {
    margin: 0 auto;
  }

  .group-orders-features {
    justify-content: center;
  }

  .group-orders-title {
    justify-content: center;
  }

  .group-orders-cta {
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  .group-orders-banner {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .group-orders-title {
    font-size: 18px;
  }

  .group-orders-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .group-orders-icon {
    width: 50px;
    height: 50px;
  }

  .group-orders-icon svg {
    width: 28px;
    height: 28px;
  }

  .live-badge {
    font-size: 9px;
    padding: 3px 8px;
  }

  .feature-pill {
    font-size: 11px;
    padding: 5px 10px;
  }

  .go-live-btn {
    padding: 10px 20px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }

  .info-link {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    font-size: 11px;
  }

  .group-orders-cta {
    width: 100%;
    align-items: stretch;
  }

  .bubble,
  .confetti {
    display: none;
  }
}

#join-paypal-container {
    position: relative;
    z-index: 9999 !important;
    pointer-events: auto !important;
    min-height: 150px; /* Espacio mínimo para que PayPal dibuje los botones */
    opacity: 1 !important;
    filter: none !important;
    transition: all 0.2s ease;
}

#join-paypal-container:hover {
    transform: scale(1.01); /* Un pequeño efecto para confirmar que está activo */
}

/* ═══════════════════════════════════════════════════════
   STORE SECTIONS — Dynamic layouts
   ═══════════════════════════════════════════════════════ */

/* Section wrapper */
.store-section-wrapper {
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
}

/* Section header bar */
.store-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 12px;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}
.store-section-header h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}
.store-section-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  color: #fff;
}
.store-section-see-all {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
.store-section-see-all:hover { opacity: 0.75; }

/* Grid layout padding */
.store-section-body {
  padding: 14px 12px;
}
.store-section-body-flush {
  padding: 0;
}

/* ── Carousel layout ── */
.store-carousel-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 12px;
  scrollbar-width: thin;
  scrollbar-color: #d8b4fe #f3f4f6;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.store-carousel-row::-webkit-scrollbar { height: 4px; }
.store-carousel-row::-webkit-scrollbar-thumb { background: #d8b4fe; border-radius: 4px; }

.store-carousel-row .kcard {
  flex: 0 0 150px;
  min-width: 150px;
  scroll-snap-align: start;
}
@media (min-width: 480px) {
  .store-carousel-row .kcard { flex: 0 0 170px; min-width: 170px; }
}
@media (min-width: 768px) {
  .store-carousel-row .kcard { flex: 0 0 190px; min-width: 190px; }
}

/* ── Highlight layout (first card big) ── */
.store-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}
@media (min-width: 768px) {
  .store-highlight-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.store-highlight-grid .kcard:first-child {
  grid-row: span 2;
}
.store-highlight-grid .kcard:first-child .store-thumb {
  aspect-ratio: 3/4;
}

/* ── Back in stock pulse dot ── */
.back-in-stock-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 5px;
  animation: blink-dot 1.4s ease-in-out infinite;
}
@keyframes blink-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

