/* Paleta de colores para Japón */
:root {
  --primary-color: #E63946;
  /* Coral rojizo */
  --secondary-color: #1D3557;
  /* Azul oscuro/Índigo */
  --secondary-gradiant-1: #457B9D;
  --secondary-gradiant-2: #A8DADC;
  --secondary-gradiant-3: #F1FAEE;
  --secondary-gradiant-4: #3a628a;
  --secondary-gradiant-5: #7Fb0c2;
  --tertiary-color: #e7f7fe;
  --light-blue-1: #ebf4fa;
  --light-blue-2: #f0f8ff;
  --light-blue-3: #e3f2fd;
  --background-color: #F1FAEE;
  /* Crema claro */
  --text-color: #2b2b2b;
  /* Gris carbón */
  --color-acento-jp: #457B9D;
  /* Azul/Verde azulado */
  --color-calido-jp: #fca311;
  /* Un toque cálido como el oro */
  --light-color: #FFFFFF;
  --coral-900: #9B2226;
  /* El más oscuro */
  --coral-700: #C1293A;
  --coral-500: #E63946;
  /* Tu color base */
  --coral-300: #F9A0A6;
  --coral-100: #FEE2E2;
  /* El más claro */
  --sky: #38BDF8;
  --coral: #FF8A80;
  --dark: #1E293B;
  --light: #F8FAFC;
  --gray: #F1F5F9;

  --bg: #fafcff;
  --ink: #222;
  --muted: #666;
  --p1: #38BDF8;
  --p2: #FF8A80;
  --bd: #e8f4fd;
  --chip: #f0f9ff;
}

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

html {
  scroll-behavior: smooth;
}


/* Aplicando los colores */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-family);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


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


/* Le damos a cada sección una posición relativa para anclar la pincelada */
section {
  position: relative;
  border-top: none;
  /* Quitamos cualquier borde que pueda interferir */
}

/* Creamos la pincelada al final de cada sección */
section::after {
  content: '';
  position: absolute;
  bottom: -30px;
  /* La mitad de la altura, para que se superponga */
  left: 0;
  width: 100%;
  height: 60px;

  /* URL de una imagen SVG de pincelada */
  background-image: url('https://www.svgrepo.com/show/44313/paint-brush-stroke.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;

  /* Le damos el color que queramos */
  filter: invert(15%) sepia(20%) saturate(2000%) hue-rotate(180deg) brightness(90%) contrast(90%);
  /* Esto la tiñe de azul índigo */
  z-index: 10;
}

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

.full-services {
  background-color: var(--secondary-gradiant-3);
}


.btn-amicasa {
  background-color: var(--ofuda-tinta);
  color: var(--ofuda-papel);
  border-radius: 8px;


  padding: 0.75rem 1.5rem;

  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: #E63946;
  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%;
}


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

.bg-amicasa-primary {
  background-color: var(--secondary-gradiant-1)
}

.bg-amicasa-secondary {
  /* La sección de las tarjetas que se giran */
  background-color: var(--secondary-color);
}

.bg-amicasa-tertiary {
  background: var(--background-color);

}

.bg-amicasa-services {
  background-color: var(--background-color);
}

/* Suavizamos todas las tarjetas */

.review-card,
.am-news-card,
.am-faq__item {
  /* CAMBIO: Usamos el mismo borde redondeado que el resto de las tarjetas */
  border-radius: 30px;

  /* CAMBIO: Quitamos el borde sólido */
  border: none;

  /* CAMBIO: Añadimos el mismo brillo sutil que las tarjetas de servicios */
  box-shadow: 0 0 20px rgba(189, 224, 254, 0.7);

  /* CAMBIO: Aplicamos la misma transición "elástica" para consistencia */
  transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
  background-color: var(--secondary-color);
}

/* CAMBIO: Añadimos el efecto "flotante" al pasar el mouse */
.review-card:hover,
.am-news-card:hover,
.am-faq__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(189, 224, 254, 1);
  /* Aumentamos el brillo en hover */
}

.card-amicasa {
  /* CAMBIO: Usamos el mismo borde redondeado que las linternas */
  border-radius: 30px;

  /* CAMBIO: Añadimos una transición elástica para que el movimiento sea similar */
  transition: transform 0.7s ease-in-out;

  /* CAMBIO: Le damos un brillo sutil que combine con las de abajo */
  box-shadow: 0 0 20px rgba(189, 224, 254, 0.7);
  /* Usamos un azul claro de la paleta */
  background: var(--secondary-gradiant-2)
}

/* CAMBIO: Hacemos que "salten" un poco al pasar el mouse */
.card-amicasa:hover {
  transform: rotateY(180deg);
  box-shadow: 0 10px 30px rgba(189, 224, 254, 1);
  /* Aumentamos el brillo */
}

/* Botones con forma de píldora */
.btn {
  border-radius: 9999px;
  /* Esto los hace completamente redondeados */
}


/* Fuentes para Japón */
.h1,
.h2,
.h3 {
  font-family: 'Noto Serif JP', serif;
}

.body,
.p,
.a,
.li {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* Ocultamos el emoji original del HTML */
.service-icon {
  font-size: 0;
}

/* Creamos un nuevo "emoji" con CSS */
.service-icon::before {
  font-size: 48px;
  /* El tamaño original del emoji */
}

/* Asignamos un emoji diferente a cada tarjeta */
.card-amicasa:nth-child(1) .service-icon::before {
  content: '🍱';
  /* Caja de bento */
}

.card-amicasa:nth-child(2) .service-icon::before {
  content: '🌸';
  /* Flor de cerezo */
}

.card-amicasa:nth-child(3) .service-icon::before {
  content: '🗼';
  /* Torre de Tokio */
}

/* Añadimos un patrón sutil a una sección */
.about {
  background-image: url('URL_DE_UN_PATRON_JAPONES_SUTIL');
  /* Busca en Google "subtle japanese pattern" */
  background-repeat: repeat;
}

.announcement-bar {
  background-color: #E63946;
  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
}


.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('http://googleusercontent.com/image_collection/image_retrieval/18222887566821184297_0') no-repeat center center/cover;
  color: var(--light-color);
  margin-top: 0 !important;
  padding-top: 0 !important;
}


.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0 !important;
}

.hero-subtitle {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--light-color);
  display: inline-block;
  max-width: 100%;
}

.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);
}


/* --- ESTILOS PARA LAS TARJETAS FLOTANTES (VERSIÓN JAPÓN) --- */

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

/* --- COLORES DE LAS TARJETAS (Paleta "Linterna") --- */
:root {
  /* Paleta principal que ya definimos */
  --color-primario-jp: #E63946;
  /* Coral rojizo */
  --color-secundario-jp: #1D3557;
  /* Azul oscuro/Índigo */
  --color-acento-jp: #457B9D;
  /* Azul/Verde azulado */
  --color-calido-jp: #fca311;
  /* Un toque cálido como el oro */

  --card-1: var(--color-primario-jp);
  --card-1-light: #fec5c8;
  --card-2: var(--color-secundario-jp);
  --card-2-light: #a8dadc;
  --card-3: var(--color-acento-jp);
  --card-3-light: #cce0e8;
  --card-4: var(--color-calido-jp);
  --card-4-light: #fff3e0;
}

/* --- CUADRÍCULA DE TARJETAS (Sin cambios) --- */
.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;
  cursor: pointer;
  /* CAMBIO: Se aplica la transición con efecto "rebote" */
  transition: transform 0.8s cubic-bezier(.34, 1.56, .64, 1);
}

/* CAMBIO: La tarjeta ahora se eleva al girar */
.card-scene:hover .card {
  transform: translateY(-20px) rotateY(180deg);
}

/* --- CARAS DE LA TARJETA (FRONTAL Y TRASERA) --- */
.card-face {
  /* RESTAURADO: Estas propiedades son esenciales para el efecto 3D */
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  /* Sombra gris muy suave */
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* Borde casi invisible */
}

/* Quitamos las sombras de colores específicas */
.card-color-1,
.card-color-2,
.card-color-3,
.card-color-4 {
  box-shadow: none;

  /* CAMBIO: Bordes muy redondeados para el estilo "linterna" */
  border-radius: 30px;

  /* NOTA: La sombra se aplica abajo, en los colores específicos, para el efecto de brillo */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  /* Sombra base suave */
}

.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;
  /* NOTA: Eliminamos los estilos del concepto "Ofuda" (círculo rojo) */
}

.card-front h2 {
  font-size: 1.5rem;
  /* LIMPIEZA: Dejamos solo un tamaño de fuente */
  font-weight: 800;
  margin: 0;
  color: var(--background-color)
}

.price {
  margin: 0.5rem 0;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.5rem;
  /* LIMPIEZA: Dejamos solo un tamaño */

  /* CAMBIO: Estilo más suave y semitransparente */
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--background-color);
}

.details-hover {
  font-size: 0.8rem;
  margin-top: 1rem;
  /* CAMBIO: Hacemos el texto un poco más visible */
  font-weight: bold;
  opacity: 0.6;
  color: var(--coral-100)
}

.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: rgba(255, 255, 255, 0.5);
  /* CAMBIO: Un poco transparente */
  padding: 10px;
  border-radius: 12px;
  margin-top: 1rem;
}

.button-calc {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 25px;
  color: #333;
  /* CAMBIO: Color de texto oscuro para que contraste */
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: transform 0.2s;
  background-color: var(--card-3);
  /* Usamos el color de la tarjeta */
}

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


/* --- ASIGNACIÓN DE COLORES Y EFECTO DE BRILLO --- */
/* CARA FRONTAL: usa los colores principales y aplica el brillo de ese color */
.card-color-1 {
  background-color: var(--card-1);
  box-shadow: 0 0 25px var(--card-1);
}

.card-color-2 {
  background-color: var(--card-2);
  box-shadow: 0 0 25px var(--card-2);
}

.card-color-3 {
  background-color: var(--card-3);
  box-shadow: 0 0 25px var(--card-3);
}

.card-color-4 {
  background-color: var(--card-4);
  box-shadow: 0 0 25px var(--card-4);
}

/* CARA TRASERA: usa los colores claros y ajusta el color del texto para que haya buen contraste */
.card-color-1-light {
  background-color: var(--card-1-light);
  color: var(--primary-color);
}

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

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

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

/* Un marrón para el dorado */


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

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


/* ===== News & Announcements (landing KR) ===== */

/* --- 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;
}


.am-news {
  padding: 1rem 0;
  background: var(--background-color);
}

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

.am-news__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-color)
}

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

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

.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: var(--primary-color);
}

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

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

/* 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));
  }
}

/* --- ABOUT US SECTION --- */
.about-section {
  padding: 4rem 0;
  background-color: var(--secondary-gradiant-2);
}

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

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

/* --- REVIEWS SECTION --- */
.reviews-section {
  padding: 4rem 0;
  background-color: var(--background-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(--secondary-gradiant-1);
  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(--secondary-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(--coral-500);
}

.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);
}


.dropdown-menu.lang-menu {
  /* deja tus estilos */
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  /* <-- agrega esto */
  background-color: #1D3557;
  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;
}


/* 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: #E63946;
  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;
}


/* 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;
}


/* ====================================================== */
/* 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: 3rem;
}

.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;
}

.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);
}

.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ú */
}


/* --- HEADER & NAVIGATION --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #1D3557;
  /* Color sólido para que no sea transparente */
  border-bottom: 1px solid #1D3557;
  width: 100%;
  color: white;
  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;
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--light-color);
  display: inline-block;
  max-width: 100%;
}

.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);
}


/* aplica el ancho y centrado a wrappers comunes si existen */
.page-hero>.am-container,
.about-section>.am-container,
.reviews-section>.am-container,
.instagram-section>.am-container,
.contact-section>.am-container,
.services-section>.am-container,
.full-services-section>.am-container,
.faq-public-section>.am-container,
.instagram-section>.am-container,
.vendors-section>.am-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 4rem;
  padding-right: 4rem;
}


/* 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: var(--coral-100);
  /* Gris claro para inactivos */
  color: #4b5563;
  /* Gris oscuro para inactivos */
}

.tab-btn.active {
  background-color: var(--primary-color);
  /* 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: var(--coral-100);
  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(--secondary-gradiant-4);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 50px;
}

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

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

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

.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;
}


/*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;
}

.login-visual img{
    max-width: 150px;
    margin: auto;
}

.login-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 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: var(--coral-500);
  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 === */

/* ===== 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
}

.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: var(--coral-500);
  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: var(--coral-500);
  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;
}

.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);
  }
}


/*BUY IN*/

.page-hero {
  background-color: var(--coral-100);
  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: var(--primary-color);
  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(--coral-100);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 50px;
}

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

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

.am-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 60px;
}

.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(--coral-300), var(--secondary-gradiant-1));
  color: white;
  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: var(--primary-color);
  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: var(--secondary-gradiant-1);
  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: var(--coral-500);
}

.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: var(--coral-500);
  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: var(--coral-500);
  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 para que no agregue estilos feos */
.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;
}


/* =============================================================
   AMICASA STORE JAPAN — CSS único para la tienda japonesa
   Paleta: Azul cielo + Coral + Blanco limpio
   Fuente: Outfit (moderna, limpia, Tokyo street style)
   ============================================================= */

/* ---------- ROOT / THEME JAPÓN ---------- */
.store {
  /* Paleta Japón */
  --sky: #38BDF8;
  --coral: #FF8A80;
  --dark: #1E293B;
  --light: #F8FAFC;
  --gray: #F1F5F9;

  /* Aliases */
  --primary: var(--sky);
  --secondary: var(--coral);
  --text: var(--dark);
  --bg: var(--light);

  font-family: 'Outfit', 'Poppins', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #F0F9FF 0%, #FFF1F2 100%);
  min-height: 100vh;
}

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

/* ---------- TICKER JAPONÉS ---------- */
.store .ticker {
  background: linear-gradient(90deg, var(--sky), var(--coral));
  padding: 12px 0;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 24px;
}

.store .ticker-track {
  display: flex;
  animation: scroll 5s linear infinite;
  gap: 48px;
}

.store .ticker-item {
  color: white;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

/* ---------- HERO COMPACTO JAPONÉS ---------- */
.store .hero {
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-bottom: 24px;
}

.store .hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store .hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Swiper customizations */
.store .hero .swiper {
  width: 100%;
  height: 100%;
}

.store .hero .swiper-button-next,
.store .hero .swiper-button-prev {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.store .hero .swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}

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

/* Hero Badges */
.store .hero-badges {
  position: absolute;
  z-index: 10;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 16px;
}

.store .badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.store .badge a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.store .badge:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ---------- CATEGORÍAS DEPARTAMENTALES ---------- */
.store .categories-section {
  margin-bottom: 32px;
}

.store .category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .store .category-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.store .category-card {
  background: white;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.store .category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--coral));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.store .category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.store .category-card:hover::before {
  transform: scaleX(1);
}

.store .category-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.store .category-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.store .category-subtitle {
  font-size: 13px;
  color: #64748B;
}

/* ---------- BUSCADOR INTEGRADO ---------- */
.store .search-container {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

/* ---------- SECTION TITLES ---------- */
.store .section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.store .section-title::before {
  content: '';
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, var(--sky), var(--coral));
  border-radius: 3px;
}

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

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

.store .product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.store .product-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.store .product-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #f8f8f8;
}

.store .product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store .product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--sky);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.store .product-content {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.store .product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.store .product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--sky);
  margin-top: auto;
}

/* ---------- PROXY CTA ---------- */
.store .proxy-cta {
  background: linear-gradient(135deg, var(--sky) 0%, var(--coral) 100%);
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.store .proxy-content {
  max-width: 600px;
  margin: 0 auto;
}

.store .proxy-title {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.store .proxy-subtitle {
  font-size: 18px;
  color: white;
  opacity: 0.95;
  margin-bottom: 24px;
}

.store .proxy-button {
  background: white;
  color: var(--sky);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.store .proxy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #f8f8f8;
}

/* ---------- PROXY CTA COMPACT ---------- */
.store .proxy-cta-compact {
  background: linear-gradient(135deg, var(--sky) 0%, var(--coral) 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.store .proxy-compact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store .proxy-compact-text {
  flex: 1;
}

.store .proxy-compact-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.store .proxy-compact-subtitle {
  font-size: 14px;
  color: white;
  opacity: 0.95;
  margin: 0;
  line-height: 1.3;
}

.store .proxy-compact-button {
  background: white;
  color: var(--sky);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.store .proxy-compact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: #f8f8f8;
}

@media (max-width: 640px) {
  .store .proxy-compact-content {
    flex-direction: column;
    text-align: center;
  }

  .store .proxy-compact-button {
    width: 100%;
  }
}

/* ---------- MINI FOOTER ---------- */
.store .mini-footer {
  text-align: center;
  color: #64748B;
  font-size: 14px;
  padding: 20px;
}

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

.store #pagination .page-btn {
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.store #pagination .page-btn:hover {
  border-color: var(--sky);
  background: #f0f9ff;
}

.store #pagination .page-btn.active {
  background: var(--sky);
  color: white;
  border-color: var(--sky);
}

.store #pagination .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .store .hero {
    height: 220px;
    border-radius: 16px;
  }

  .store .section-title {
    font-size: 20px;
  }

  .store .section-title::before {
    height: 24px;
  }

  .store .category-icon {
    font-size: 40px;
  }

  .store .category-title {
    font-size: 14px;
  }

  .store .proxy-title {
    font-size: 24px;
  }

  .store .proxy-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .store .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
}


/* ========== BADGES DEBAJO DEL HERO (no invaden la imagen) ========== */

/* Container de badges fuera del hero */
.store .info-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -16px;
  /* Overlap sutil con el hero para efecto flotante */
  margin-bottom: 20px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

/* Badges más compactos y limpios */
.store .info-badges .badge {
  background: white;
  color: var(--dark);
  border: 2px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
}

.store .info-badges .badge:hover {
  border-color: var(--sky);
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

.store .info-badges .badge a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Ocultamos los viejos badges del hero (por si acaso) */
.store .hero-badges {
  display: none !important;
}

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

/* Tablet */
@media (max-width: 768px) {
  .store .info-badges {
    gap: 8px;
    margin-top: -12px;
  }

  .store .info-badges .badge {
    font-size: 12px;
    padding: 8px 14px;
  }

  .store .info-badges .badge svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Mobile: Stack vertical para que sean botones grandes y fáciles de tocar */
@media (max-width: 520px) {
  .store .info-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: -8px;
  }

  .store .info-badges .badge {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 13px;
  }

  .store .info-badges .badge a {
    justify-content: center;
  }
}

/* ========== SECCIONES DINÁMICAS (renderAllSections) ========== */

/* Section title con "see all" */
.store .store-section-title,
.store .section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store .store-section-title::before,
.store .section-title::before {
  content: '';
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, var(--sky), var(--coral));
  border-radius: 3px;
  flex-shrink: 0;
  margin-right: 12px;
}

.store .sec-title {
  color: var(--sky) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.store .sec-title:hover {
  color: var(--coral) !important;
  text-decoration: underline;
}

/* Grid de productos (usado por renderAllSections) */
.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(200px, 1fr));
    gap: 20px;
  }
}

/* Product Cards (kcard = estilo de Corea, lo adaptamos a JP) */
.store .kcard {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  isolation: isolate;
}

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

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

.store .store-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

/* Badges en productos */
.store .promo-badge,
.store .preorder-badge,
.store .soldout-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.store .promo-badge {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: white;
  animation: pulse-promo 2s ease-in-out infinite;
}

.store .preorder-badge {
  background: linear-gradient(135deg, var(--sky) 0%, #0ea5e9 100%);
  color: white;
}

.store .soldout-badge {
  background: #6b7280;
  color: white;
}

@keyframes pulse-promo {

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

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

/* Meta del producto */
.store .store-meta {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}

.store .store-artist {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store .store-meta h6 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--dark);
}

.store .store-meta h6 a {
  color: inherit;
  text-decoration: none;
}

.store .store-meta h6 a:hover {
  color: var(--sky);
}

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

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

.store .store-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--sky);
}

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

.store .store-price-promo {
  font-size: 18px;
  font-weight: 800;
  color: var(--coral);
  animation: price-pop 0.3s ease-out;
}

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

  50% {
    transform: scale(1.05);
  }

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

/* Botones */
.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: 8px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.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: 2px solid #e5e7eb;
}

.store .store-btn-ghost:hover {
  background: #f9fafb;
  color: var(--dark);
  border-color: var(--sky);
}

.store .store-btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, #0ea5e9 100%);
  color: white;
  border: none;
}

.store .store-btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, var(--sky) 100%);
  transform: scale(1.05);
}

.store .store-btn-primary[data-preorder="true"] {
  background: linear-gradient(135deg, var(--coral) 0%, #ff6b6b 100%);
}

.store .store-btn-primary[data-preorder="true"]:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, var(--coral) 100%);
}

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

/* Paginación */
.store .pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.store .page-btn {
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  color: var(--dark);
}

.store .page-btn:hover:not(:disabled) {
  border-color: var(--sky);
  background: #f0f9ff;
  color: var(--sky);
}

.store .page-btn.active {
  background: var(--sky);
  color: white;
  border-color: var(--sky);
}

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

/* Clase muted */
.store .muted {
  color: #6b7280;
}

/* Centrado de texto vacío */
.store .center-align {
  text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 520px) {
  .store .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  .store .buttons {
    flex-direction: column;
    gap: 4px;
  }

  .store .buttons>* {
    width: 100%;
    text-align: center;
  }
}


/* ========== BUSCADOR (de Corea) ========== */
.store .search-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin: 16px 0;
  color: var(--dark);
}

/* 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: white;
  color: #374151;
  transition: all 0.2s;
  font-family: inherit;
}

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

.store .search-input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 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: white;
  font-family: inherit;
  cursor: pointer;
}

.store .search-row select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Botones del buscador */
.store .search-row .btn-neon {
  height: 48px;
  min-width: 120px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--sky) 0%, #0ea5e9 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(56, 189, 248, 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;
}

/* ========== 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: white;
  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: white;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.store .filter-select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 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: white;
  font-family: inherit;
  transition: all 0.2s;
}

.store .filter-input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 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: var(--sky);
}

/* 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: var(--sky);
}

.store .checkbox-label:hover span {
  color: var(--sky);
}

/* 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-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: #e5e7eb;
  border-color: #d1d5db;
}

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

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

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

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

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

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

.store .fixed-action-btn .btn-floating {
  background: var(--coral) !important;
  color: white !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

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

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

/* ========== CART (del CSS de Corea) ========== */
.store .chip-warn {
  display: inline-block;
  margin-left: 6px;
  padding: 0.1rem 0.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: 0.25rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: white;
  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: white;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  text-align: left;
  transition: 0.15s;
}

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

.store .ccard.active {
  border-color: var(--sky);
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.15);
}

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

.store .ccard__title {
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--dark);
}

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

.store .ccard__pill {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  padding: 0.2rem 0.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;
  color: var(--sky);
}

/* ========== LAYOUT FIX (de Corea) ========== */
.store .store-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .store .store-layout {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
}

/* ========== UTILIDADES ADICIONALES ========== */
.store .upper-small {
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.store .row,
.store .col,
.store section {
  overflow: visible;
}

/* ========== RESPONSIVE ADICIONALES DE COREA ========== */

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

@media (max-width: 768px) {

  /* Buscador */
  .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;
  }

  /* Filtros */
  .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;
    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 {
    padding: 8px 16px;
    font-size: 12px;
    flex-shrink: 0;
  }

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

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

  .store .cart-choice {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .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;
  }
}

/* ========== FOOTER STORE JAPÓN (STANDALONE) ========== */
.footer-store {
  background: linear-gradient(135deg, #1E293B 0%, #0f172a 100%);
  color: white;
  padding: 3rem 1rem;
  font-family: 'Outfit', 'Poppins', sans-serif;
}

.footer-store * {
  box-sizing: border-box;
}

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

/* Main Grid */
.footer-store .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* Brand Section */
.footer-store .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-store .footer-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #38BDF8, #FF8A80);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-store .footer-logo svg {
  width: 24px;
  height: 24px;
}

.footer-store .footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #38BDF8, #FF8A80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-store .footer-tagline {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Section Titles */
.footer-store .footer-section-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  margin-top: 0;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-store .footer-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #38BDF8, #FF8A80);
  border-radius: 2px;
}

/* Links */
.footer-store .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-store .footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  padding: 4px 0;
}

.footer-store .footer-link:hover {
  color: #38BDF8;
  transform: translateX(4px);
}

.footer-store .footer-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

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

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

.footer-store .footer-link-icon.cyan {
  color: #38BDF8;
}

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

/* Social Links */
.footer-store .footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-store .footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-store .footer-social-link.facebook {
  background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.footer-store .footer-social-link.instagram {
  background: linear-gradient(135deg, #e4405f, #c13584);
}

.footer-store .footer-social-link.tiktok {
  background: linear-gradient(135deg, #000000, #333333);
}

.footer-store .footer-social-link.twitter {
  background: linear-gradient(135deg, #000000, #333333);
}

.footer-store .footer-social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Quick Links */
.footer-store .footer-quick-links {
  margin-top: 20px;
}

.footer-store .footer-quick-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 12px;
  margin-top: 0;
  font-weight: 600;
}

.footer-store .footer-quick-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-store .footer-quick-link {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
}

.footer-store .footer-quick-link:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38BDF8;
  color: #38BDF8;
  transform: translateX(4px);
}

/* Divider */
.footer-store .footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 0px 0;
}

/* Bottom Bar */
.footer-store .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-store .footer-copyright {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.footer-store .footer-company {
  font-weight: 700;
  color: #38BDF8;
}

/* Payment Methods */
.footer-store .footer-payment {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-store .footer-payment-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}

.footer-store .footer-payment-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-store .footer-payment-icon {
  width: 60px;
  height: 32px;
  background: white;
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-store .footer-payment-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.footer-store .footer-payment-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Trust Badges */
.footer-store .footer-trust {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-store .footer-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
}

.footer-store .footer-trust-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

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

.footer-store .footer-trust-icon.blue {
  color: #38BDF8;
}

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

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

  .footer-store .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-store .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-store .footer-payment {
    flex-direction: column;
    gap: 10px;
  }

  .footer-store .footer-trust {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .footer-store .footer-social {
    justify-content: center;
  }

  .footer-store .footer-quick-buttons {
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .footer-store .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-store .footer-brand-name {
    font-size: 18px;
  }

  .footer-store .footer-section-title {
    font-size: 14px;
    text-align: center;
  }

  .footer-store .footer-section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-store .footer-links {
    align-items: center;
  }

  .footer-store .footer-link:hover {
    transform: none;
  }

  .footer-store .footer-social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .footer-store .footer-trust {
    padding: 16px;
  }

  .footer-store .footer-trust-item {
    font-size: 12px;
  }
}

/* ---------- 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;
}


/* ========== PÁGINA DE PRODUCTO - JAPÓN ========== */

/* Barra superior con búsqueda */
.store .mb-8 {
  margin-bottom: 2rem;
}


.store .from-violet-50 {
  background: linear-gradient(135deg, #f0f9ff 0%, #fff1f2 100%);
}

.store .rounded-xl {
  border-radius: 16px;
}

.store .border-violet-100 {
  border: 1px solid #e0f2fe;
}

.store .shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Buscador en producto */
.store #search-product-page {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #bae6fd;
  padding: 0 16px 0 40px;
  height: 44px;
  font-size: 15px;
  background: white;
  transition: all 0.2s;
  font-family: inherit;
}

.store #search-product-page:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Botones CTA */
.store .inline-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store .from-pink-500 {
  background: linear-gradient(135deg, var(--coral) 0%, #ff6b6b 100%);
}

.store .from-pink-500:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, var(--coral) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 138, 128, 0.3);
}

.store .border-violet-200 {
  border: 2px solid #bae6fd;
}

.store .border-violet-200:hover {
  border-color: var(--sky);
  background: #f0f9ff;
}

.store .text-violet-700 {
  color: var(--sky);
}

.store .hover\:bg-violet-50:hover {
  background: #f0f9ff;
}

/* Breadcrumb */
.store nav a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.store nav a:hover {
  text-decoration: underline;
  color: var(--coral);
}

/* Grid del producto */
.store .grid {
  display: grid;
}

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

.store .gap-8 {
  gap: 2rem;
}

@media (min-width: 1024px) {
  .store .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Galería del producto */
.store #product-swiper {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.store #product-swiper .swiper-wrapper {
  height: 500px;
}

.store #product-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.store #product-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store #product-swiper .swiper-button-next,
.store #product-swiper .swiper-button-prev {
  color: white;
  background: rgba(56, 189, 248, 0.9);
  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: var(--sky);
  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: var(--sky);
  width: 24px;
  border-radius: 5px;
}

/* Info del producto */
.store #product-type {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sky);
  font-weight: 700;
}

.store #product-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin: 0;
}

@media (min-width: 768px) {
  .store #product-name {
    font-size: 32px;
  }
}

/* Botón wishlist */
.store #btn-wishlist {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.store #btn-wishlist:hover {
  background: #fff1f2;
  border-color: var(--coral);
}

.store #btn-wishlist svg {
  width: 24px;
  height: 24px;
  stroke: #94a3b8;
  transition: all 0.2s;
}

.store #btn-wishlist:hover svg {
  stroke: var(--coral);
  fill: var(--coral);
}

.store #btn-wishlist.active svg {
  fill: var(--coral);
  stroke: var(--coral);
}

/* Descripción */
.store #product-description {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.store #product-description p {
  margin-bottom: 12px;
}

/* Meta info */
.store .prose {
  max-width: 65ch;
}

.store .prose-sm {
  font-size: 14px;
}

/* Opciones de producto (variantes) */
.store #product-options {
  margin-top: 16px;
}

.store .option-group {
  margin-bottom: 20px;
}

.store .option-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Swatches de color */
.store .option-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store .swatch {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 3px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.store .swatch:hover {
  transform: scale(1.05);
  border-color: var(--sky);
}

.store .swatch.selected {
  border-color: var(--sky);
  box-shadow: 0 0 0 2px var(--sky);
}

.store .swatch.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  position: relative;
}

.store .swatch.disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -5px;
  right: -5px;
  height: 2px;
  background: #ef4444;
  transform: rotate(-45deg);
}

/* Botones de opciones (tallas, etc) */
.store .option-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store .option-btn {
  padding: 10px 18px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 60px;
  text-align: center;
}

.store .option-btn:hover {
  border-color: var(--sky);
  background: #f0f9ff;
}

.store .option-btn.selected {
  border-color: var(--sky);
  background: var(--sky);
  color: white;
}

.store .option-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Selector de cantidad */
.store #qty-input {
  width: 64px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  -moz-appearance: textfield;
}

.store #qty-input::-webkit-outer-spin-button,
.store #qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.store #qty-decr,
.store #qty-incr {
  width: 44px;
  height: 44px;
  background: white;
  border: none;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s;
}

.store #qty-decr:hover,
.store #qty-incr:hover {
  background: #f8fafc;
  color: var(--sky);
}

.store #variant-stock-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* Precio */
.store #product-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
}

.store #product-price.line-through {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 20px;
}

.store #product-price-promo {
  font-size: 32px;
  font-weight: 800;
  color: var(--sky);
  animation: price-pop 0.3s ease-out;
}

.store #product-price-promo.hidden {
  display: none;
}

/* Botón agregar al carrito */
.store button[onclick="saveIntoCartD()"] {
  background: linear-gradient(135deg, var(--sky) 0%, #0ea5e9 100%);
  color: white;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store button[onclick="saveIntoCartD()"]:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, var(--sky) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.store button[onclick="saveIntoCartD()"]:active {
  transform: translateY(0);
}

/* Badge de shipping not available */
.store .bg-yellow-100 {
  background: #fef3c7;
  color: #92400e;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* Botón sold out */
.store .bg-gray-300 {
  background: #d1d5db;
  color: #6b7280;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Sección de reviews */
.store .border-t {
  border-top: 1px solid #e2e8f0;
}

.store .pt-6 {
  padding-top: 24px;
}

.store #avg-stars {
  display: flex;
  gap: 4px;
}

.store #avg-stars svg {
  width: 20px;
  height: 20px;
  fill: #fbbf24;
  stroke: none;
}

.store #star-input {
  display: flex;
  gap: 6px;
}

.store #star-input svg {
  width: 28px;
  height: 28px;
  fill: #e2e8f0;
  stroke: none;
  cursor: pointer;
  transition: all 0.2s;
}

.store #star-input svg:hover,
.store #star-input svg.active {
  fill: #fbbf24;
  transform: scale(1.1);
}

/* Lista de reviews */
.store #reviews-list {
  margin-top: 24px;
}

.store .review-item {
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.store .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.store .review-user {
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

.store .review-stars {
  display: flex;
  gap: 2px;
}

.store .review-stars svg {
  width: 14px;
  height: 14px;
  fill: #fbbf24;
}

.store .review-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.store .review-date {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}

/* Disclaimer */
.store #product-disclaimer {
  margin-top: 16px;
  padding: 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
}

/* Productos similares */
.store .overflow-x-auto {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--sky) #f1f5f9;
}

.store .overflow-x-auto::-webkit-scrollbar {
  height: 6px;
}

.store .overflow-x-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.store .overflow-x-auto::-webkit-scrollbar-thumb {
  background: var(--sky);
  border-radius: 3px;
}

.store .snap-start {
  scroll-snap-align: start;
}

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

.store .w-64 {
  width: 16rem;
}

.store .group:hover img {
  transform: scale(1.02);
}

.store .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .store #product-swiper .swiper-wrapper {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .store #product-name {
    font-size: 24px;
  }

  .store #product-swiper .swiper-wrapper {
    height: 300px;
  }

  .store #product-price {
    font-size: 24px;
  }

  .store #product-price-promo {
    font-size: 28px;
  }

  .store .grid.gap-8 {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .store #search-product-page {
    font-size: 14px;
    height: 42px;
  }

  .store .from-pink-500,
  .store .border-violet-200 {
    font-size: 14px;
    padding: 10px 16px;
  }

  .store #product-name {
    font-size: 20px;
  }

  .store #btn-wishlist {
    width: 40px;
    height: 40px;
  }

  .store #btn-wishlist svg {
    width: 20px;
    height: 20px;
  }

  .store button[onclick="saveIntoCartD()"],
  .store .bg-gray-300 {
    width: 100%;
    justify-content: center;
  }

  .store .w-64 {
    width: 14rem;
  }
}

/* ========== HOW TO BUY PAGE - JAPÓN ========== */

/* Contenedor general */
.store.htb-page {
  font-family: 'Outfit', 'Poppins', sans-serif;
  color: #1E293B;
  min-height: 100vh;
}

/* Body background */
body.bg-gray-50 {
  background: linear-gradient(135deg, #F0F9FF 0%, #FFF1F2 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: 800;
  color: #1E293B;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.store.htb-page h2 {
  font-size: 1.25rem;
  font-weight: 800;
  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: #38BDF8;
}

.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, #FF8A80 0%, #38BDF8 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: #38BDF8;
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.2);
  transform: translateY(-4px);
}

/* Icon containers */
.store.htb-page .bg-gradient-to-br.from-violet-100.to-purple-100 {
  background: linear-gradient(135deg, #E0F2FE 0%, #FECACA 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, #FF8A80 0%, #38BDF8 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(255, 138, 128, 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, #38BDF8 0%, #FF8A80 100%);
  box-shadow: 0 6px 20px rgba(255, 138, 128, 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: #38BDF8;
  background: #F0F9FF;
}

/* ========== STICKY BAR ========== */
.store.htb-page .sticky {
  position: sticky;
  width: 100%;
}

.store.htb-page .top-14 {
  top: 3.5rem;
}

@media (min-width: 640px) {
  .store.htb-page .sm\:top-16 {
    top: 4rem;
  }
}

.store.htb-page .z-40 {
  z-index: 40;
}

/* Contenedor interno con gradiente */
.store.htb-page .sticky .bg-gradient-to-r.from-pink-400.to-cyan-400 {
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .store.htb-page .sticky .bg-gradient-to-r.from-pink-400.to-cyan-400 {
    padding: 16px 24px;
    border-radius: 20px;
  }
}

/* Flex container */
.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;
  }
}

/* Texto del sticky */
.store.htb-page .sticky .text-white {
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .store.htb-page .sticky .text-white.sm\:text-base {
    font-size: 16px;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .store.htb-page .sticky .text-white.lg\:text-lg {
    font-size: 18px;
  }
}

/* Contenedor de botones */
.store.htb-page .sticky .flex.gap-2 {
  display: flex;
  gap: 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .store.htb-page .sticky .flex.gap-2.sm\:gap-3 {
    gap: 12px;
    width: auto;
  }
}

/* Botones del sticky */
.store.htb-page .sticky button {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.store.htb-page .sticky button.flex-1 {
  flex: 1;
}

@media (min-width: 640px) {
  .store.htb-page .sticky button.sm\:flex-none {
    flex: 0 0 auto;
    padding: 10px 20px;
    min-width: 120px;
  }
}

.store.htb-page .sticky button.bg-white {
  background: white;
  color: #1E293B;
}

.store.htb-page .sticky button.bg-white:hover {
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.store.htb-page .sticky button.bg-gray-900 {
  background: #38BDF8;
  /* Japón */
  color: white;
}

.store.htb-page .sticky button.bg-gray-900:hover {
  background: #0EA5E9;
  /* Japón */
}

.store.htb-page .sticky button:active {
  transform: translateY(0);
}

/* ========== STEP CARDS ========== */
.store.htb-page .bg-gradient-to-br.from-violet-200.to-purple-200 {
  background: linear-gradient(135deg, #DBEAFE 0%, #FECACA 100%);
}

.store.htb-page .bg-gradient-to-br.from-cyan-200.to-teal-200 {
  background: linear-gradient(135deg, #BAE6FD 0%, #A5F3FC 100%);
}

.store.htb-page .bg-gradient-to-br.from-pink-200.to-rose-200 {
  background: linear-gradient(135deg, #FBD5D5 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, #38BDF8 0%, #0EA5E9 100%);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 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, #FF8A80 0%, #FB7185 100%);
  box-shadow: 0 4px 12px rgba(255, 138, 128, 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: #38BDF8;
  border: 1px solid #BAE6FD;
  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, #DBEAFE 0%, #FCE7F3 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: #38BDF8;
}

.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(56, 189, 248, 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(56, 189, 248, 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: #38BDF8;
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.2);
  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;
  }
}

/* ========== SEARCH PAGE - JAPÓN ========== */

/* Barra de búsqueda superior sticky */
.store .bg-white.border-b {
  background: white;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.store .max-w-7xl {
  max-width: 80rem;
  margin: 0 auto;
}

/* Input de búsqueda */
.store #search-data-table {
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
}

.store #search-data-table:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Botón de búsqueda */
.store #search-page-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--sky) 0%, #0EA5E9 100%);
  color: white;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.store #search-page-btn:hover {
  background: linear-gradient(135deg, #0EA5E9 0%, var(--sky) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Botón de filtros */
.store #toggleFiltersBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  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: #F8FAFC;
  border-color: var(--sky);
}

.store #toggleFiltersBtn .absolute {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--sky);
  border-radius: 50%;
}

/* Badges de filtros activos */
.store .inline-flex.items-center.gap-1 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
}

.store .bg-violet-100 {
  background: #E0F2FE;
  color: var(--sky);
}

.store .bg-violet-100:hover {
  background: #BAE6FD;
}

.store .bg-red-500,
.store .bg-blue-500,
.store .bg-green-500,
.store .bg-purple-500,
.store .bg-pink-500 {
  color: white;
}

.store .bg-red-500 {
  background: #EF4444;
}

.store .bg-blue-500 {
  background: var(--sky);
}

.store .bg-green-500 {
  background: #10B981;
}

.store .bg-purple-500 {
  background: #8B5CF6;
}

.store .bg-pink-500 {
  background: var(--coral);
}

/* Panel de filtros desktop */
.store #filtersPanel {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.store #filtersPanel.hidden {
  display: none;
}

.store #filtersPanel select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: white;
  color: #1E293B;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.store #filtersPanel select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.store #filtersPanel label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Checkbox ocultar agotados */
.store #filtersPanel label.flex {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0;
  cursor: pointer;
  padding: 0.625rem 1rem;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: all 0.2s;
  width: 100%;
}

.store #filtersPanel label.flex:hover {
  background: #F8FAFC;
}

.store #filtersPanel input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--sky);
}

/* Botón aplicar filtros */
.store #filtersPanel button[onclick="applyFilters()"] {
  width: 100%;
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, var(--sky) 0%, #0EA5E9 100%);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.store #filtersPanel button[onclick="applyFilters()"]:hover {
  background: linear-gradient(135deg, #0EA5E9 0%, var(--sky) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Sidebar móvil */
.store #mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
}

.store #mobile-sidebar-overlay.hidden {
  display: none;
}

.store #mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background: white;
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
}

.store #mobile-sidebar:not(.translate-x-full) {
  transform: translateX(0);
}

.store #mobile-sidebar .sticky {
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  border-bottom: 1px solid #E2E8F0;
}

.store #mobile-sidebar h2 {
  font-size: 18px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
}

.store #mobile-sidebar h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store #mobile-sidebar button[onclick="closeMobileSidebar()"] {
  padding: 0.5rem;
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.store #mobile-sidebar button[onclick="closeMobileSidebar()"]:hover {
  background: #F1F5F9;
}

.store #mobile-sidebar .space-y-4>*+* {
  margin-top: 1rem;
}

.store #mobile-sidebar select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: white;
  color: #1E293B;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.store #mobile-sidebar select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.store #mobile-sidebar label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 0.5rem;
}

/* Checkbox móvil */
.store #mobile-sidebar label.flex {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-transform: none;
  margin-bottom: 0;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: all 0.2s;
}

.store #mobile-sidebar label.flex:hover {
  background: #E0F2FE;
}

.store #mobile-sidebar input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--sky);
}

/* Botón aplicar móvil */
.store #mobile-sidebar button[onclick="applyFiltersMobile()"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--sky) 0%, #0EA5E9 100%);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.store #mobile-sidebar button[onclick="applyFiltersMobile()"]:hover {
  background: linear-gradient(135deg, #0EA5E9 0%, var(--sky) 100%);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Contenido principal */
.store aside {
  width: 16rem;
  flex-shrink: 0;
}

.store aside .sticky {
  position: sticky;
  top: 5rem;
}

.store aside .space-y-4>*+* {
  margin-top: 1rem;
}

/* Info de resultados */
.store .text-sm.text-gray-600 {
  font-size: 14px;
  color: #64748B;
}

.store .font-semibold.text-gray-900 {
  font-weight: 700;
  color: #1E293B;
}

/* Estado vacío */
.store .col-span-full {
  grid-column: 1 / -1;
}

.store .text-center.py-12 {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.store .text-center.py-12 svg {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  color: #94A3B8;
}

.store .text-center.py-12 h5 {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.5rem;
}

.store .text-center.py-12 p {
  color: #64748B;
}

/* Paginación */
.store nav[aria-label="Pagination"] {
  display: inline-flex;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.store nav[aria-label="Pagination"] a,
.store nav[aria-label="Pagination"] span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  font-weight: 600;
  background: white;
  border: 1px solid #E2E8F0;
  margin-left: -1px;
  transition: all 0.2s;
}

.store nav[aria-label="Pagination"] a:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.store nav[aria-label="Pagination"] a:last-child,
.store nav[aria-label="Pagination"] span:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.store nav[aria-label="Pagination"] a {
  color: #475569;
  text-decoration: none;
}

.store nav[aria-label="Pagination"] a:hover {
  background: #F8FAFC;
  border-color: var(--sky);
  color: var(--sky);
  z-index: 1;
}

.store nav[aria-label="Pagination"] span.bg-violet-600 {
  background: var(--sky);
  color: white;
  border-color: var(--sky);
  z-index: 2;
}

.store nav[aria-label="Pagination"] span.text-gray-400 {
  color: #94A3B8;
  background: #F1F5F9;
  cursor: not-allowed;
}

/* Info de paginación */
.store .mt-4.text-center.text-sm {
  margin-top: 1rem;
  text-align: center;
  font-size: 14px;
  color: #64748B;
}

/* SVG icons */
.store svg {
  flex-shrink: 0;
}

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

/* Tablet */
@media (max-width: 1024px) {
  .store aside {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .store .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .store .bg-white.border-b .flex {
    flex-direction: column;
    gap: 0.75rem;
  }

  .store #search-data-table {
    font-size: 14px;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  }

  .store #search-page-btn {
    width: 100%;
    justify-content: center;
  }

  .store #toggleFiltersBtn {
    width: 100%;
    justify-content: center;
  }

  .store #mobile-sidebar {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .store #search-page-btn,
  button#search-page-btn {
    padding: 10px 16px !important;
    height: auto !important;
    min-height: auto !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    /* ← CLAVE: forzar horizontal */
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
  }

  /* Asegurar que el icono y texto estén en línea */
  .store #search-page-btn svg,
  .store #search-page-btn .material-icons {
    margin: 0 !important;
    display: inline-block !important;
  }

  .store #search-page-btn span {
    display: inline !important;
  }
}

@media (max-width: 640px) {
  .store .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .store nav[aria-label="Pagination"] a,
  .store nav[aria-label="Pagination"] span {
    padding: 0.375rem 0.625rem;
    font-size: 13px;
  }
}

/* Hidden utility */
@media (min-width: 768px) {
  .store .md\:hidden {
    display: none;
  }

  .store .hidden.md\:block {
    display: block;
  }
}

@media (max-width: 767px) {
  .store .hidden.sm\:inline {
    display: none;
  }
}

@media (min-width: 640px) {
  .store .hidden.sm\:inline {
    display: inline;
  }
}

/* Flex utilities para responsive */
.store .flex-col {
  flex-direction: column;
}

@media (min-width: 768px) {
  .store .md\:flex-row {
    flex-direction: row;
  }

  .store .md\:flex-nowrap {
    flex-wrap: nowrap;
  }
}

/* Border utilities */
.store .border-b {
  border-bottom-width: 1px;
}

.store .border-gray-200 {
  border-color: #E2E8F0;
}

.store .pb-6 {
  padding-bottom: 1.5rem;
}

/* Space utilities */
.store .space-y-4>*+* {
  margin-top: 1rem;
}

/* =====================================================
   BADGES DE ESTADO (Esquina superior derecha)
   ===================================================== */

/* Badge de PROMO */
.promo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--coral) 0%, #FF6B6B 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(255, 138, 128, 0.4);
  z-index: 2;
  pointer-events: none;
  animation: badgePulse 2s ease-in-out infinite;
}

/* Badge de PRE-ORDER */
.preorder-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--sky) 0%, #0EA5E9 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(56, 189, 248, 0.4);
  z-index: 2;
  pointer-events: none;
}

/* 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: 2;
  pointer-events: none;
}

/* =====================================================
   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: 2;
  pointer-events: none;
  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 ESTADO (Esquina superior derecha)
   ===================================================== */

/* Badge de PROMO */
.promo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--coral) 0%, #FF6B6B 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(255, 138, 128, 0.4);
  z-index: 2;
  pointer-events: none;
  /* ← CRÍTICO: No bloquear clicks */
  animation: badgePulse 2s ease-in-out infinite;
}

/* Badge de PRE-ORDER */
.preorder-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--sky) 0%, #0EA5E9 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(56, 189, 248, 0.4);
  z-index: 2;
  pointer-events: none;
  /* ← CRÍTICO */
}

/* 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: 2;
  pointer-events: none;
  /* ← CRÍTICO */
}

/* =====================================================
   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: 2;
  pointer-events: none;
  /* ← CRÍTICO */
  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;
  pointer-events: none;
  /* ← CRÍTICO */
  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, var(--sky) 0%, #0EA5E9 100%);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 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, var(--coral) 0%, #FF6B6B 100%);
  box-shadow: 0 2px 8px rgba(255, 138, 128, 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;
}

.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, #14b8a6 0%, #0d9488 100%);
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.4);
}

.event-badge.badge-indigo {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 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);
}

.event-badge.badge-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}

.event-badge.badge-lime {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  box-shadow: 0 2px 8px rgba(132, 204, 22, 0.4);
  color: #333;
}

.event-badge.badge-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 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, #64748b 0%, #475569 100%);
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.4);
}

.event-badge.badge-light-blue {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.event-badge.badge-light-green {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  box-shadow: 0 2px 8px rgba(132, 204, 22, 0.4);
}

.event-badge.badge-deep-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 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;
  /* ← CRÍTICO */
  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
   ===================================================== */

.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 CARDS - JAPÓN ========== */

/* 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: var(--sky);
}

.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 (JAPÓN) ========== */

/* Tipos de producto - CELESTE */
.filter-card[data-filter-type="type"] .filter-option.active {
  background: #E0F2FE;
  color: #0284C7;
  font-weight: 600;
}

.filter-card[data-filter-type="type"] .filter-option.active .filter-count {
  color: #0EA5E9;
}

/* Categorías - CORAL */
.filter-card[data-filter-type="category"] .filter-option.active {
  background: #FFE4E1;
  color: #FF6B6B;
  font-weight: 600;
}

.filter-card[data-filter-type="category"] .filter-option.active .filter-count {
  color: #FF8A80;
}

/* Artistas - VERDE */
.filter-card[data-filter-type="artist"] .filter-option.active {
  background: #D1FAE5;
  color: #059669;
  font-weight: 600;
}

/* Badges - COLOR DINÁMICO DESDE DB */
.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="red"] {
  background: #FEE2E2;
  color: #DC2626;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="blue"] {
  background: #DBEAFE;
  color: #2563EB;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="green"] {
  background: #D1FAE5;
  color: #059669;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="purple"] {
  background: #E9D5FF;
  color: #9333EA;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="pink"] {
  background: #FCE7F3;
  color: #DB2777;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="yellow"] {
  background: #FEF3C7;
  color: #CA8A04;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="orange"] {
  background: #FFEDD5;
  color: #EA580C;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="teal"] {
  background: #CCFBF1;
  color: #0F766E;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="indigo"] {
  background: #E0E7FF;
  color: #4F46E5;
  font-weight: 600;
}

.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="gray"],
.filter-card[data-filter-type="badge"] .filter-option.active[data-badge-color="grey"] {
  background: #F3F4F6;
  color: #4B5563;
  font-weight: 600;
}

/* Si no hay color específico, usar gris por defecto */
.filter-card[data-filter-type="badge"] .filter-option.active:not([data-badge-color]) {
  background: #F3F4F6;
  color: #4B5563;
  font-weight: 600;
}

/* ========== MODAL DEL CARRITO - JAPÓN ========== */

/* Backdrop */
.amicasa-cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* ← SIN max-width aquí */
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.amicasa-cart-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Modal */
.amicasa-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 600px;
  height: 100vh;
  background: white;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.amicasa-cart.show {
  transform: translateX(0);
}

/* Header */
.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #F1F5F9;
  background: linear-gradient(135deg, #F0F9FF 0%, #FFF1F2 100%);
  flex-shrink: 0;
}

.cart-header-icon {
  font-size: 28px;
  color: var(--sky);
}

.cart-header-title {
  font-size: 18px;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 2px 0;
}

.cart-header-subtitle {
  font-size: 12px;
  color: #64748B;
  margin: 0;
}

.cart-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #64748B;
}

.cart-close-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  color: var(--sky);
}

/* Body */
.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Footer */
.cart-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #F1F5F9;
  background: #FAFAFA;
  flex-shrink: 0;
}

.cart-footer-link {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--sky) 0%, #0EA5E9 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, #0EA5E9 0%, var(--sky) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Responsive */
@media (max-width: 640px) {
  .amicasa-cart {
    max-width: 100%;
  }

  .cart-modal-header {
    padding: 20px;
  }

  .cart-modal-body {
    padding: 20px;
  }

  .cart-modal-footer {
    padding: 16px 20px;
  }
}

/* Utility classes que usa el template */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-3 {
  gap: 12px;
}

/* ========== CART UI - JAPÓN ========== */

.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: var(--sky);
  color: white;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== MODE CARDS - JAPÓN (IGUAL AL MODAL) ========== */

.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;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  text-align: left !important;
  font-family: inherit !important;
}

.mode-card:hover {
  border-color: #09264d !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15) !important;
}

.mode-card.active {
  border-color: #09264d !important;
  background: #F0F9FF !important;
  /* bg-sky-50 - MUY SUTIL */
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2) !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 !important;
}

.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: #38BDF8;
  text-decoration: underline;
  font-weight: 600;
}

.mode-help-link:hover {
  color: #0EA5E9;
}

/* 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: var(--sky);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.cart-empty-btn:hover {
  background: #0EA5E9;
  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: var(--sky);
}

.cart-service-label {
  font-size: 14px;
  color: #475569;
}

.cart-service-price {
  color: var(--sky);
  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: var(--sky);
}

.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: var(--sky);
  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 - Selectores y Dropdowns ========== */

.cart-page select,
.cart-ui-container select,
#box-address,
#shipping-request-form select {
  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-ui-container select:hover,
#box-address:hover,
#shipping-request-form select:hover {
  border-color: #38BDF8;
}

.cart-page select:focus,
.cart-ui-container select:focus,
#box-address:focus,
#shipping-request-form select:focus {
  outline: none;
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Botón "Proceed to payment" en violeta -> cambiar a celeste */
.cart-page button[type="submit"],
.cart-page .btn-primary,
button[onclick*="payment"],
button[onclick*="paypal"] {
  background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%) !important;
  color: white !important;
  border: none !important;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.cart-page button[type="submit"]:hover,
.cart-page .btn-primary:hover {
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Order summary - cambiar violeta a celeste */
.cart-page .order-summary,
.order-summary {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cart-page .order-summary .total,
.order-summary .total {
  font-size: 32px;
  font-weight: 800;
  color: #38BDF8 !important;
}

/* Badges "3 months free" */
.cart-page .badge-green,
.mode-badge-green {
  background: #D1FAE5 !important;
  color: #059669 !important;
}

/* ========== CART PAGE - JAPÓN ========== */

/* Page wrapper */
.cart-page {
  background: #F8FAFC;
  min-height: 100vh;
  font-family: 'Outfit', 'Poppins', 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: var(--sky);
}

.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: #38BDF8;
  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: #0EA5E9;
  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: var(--sky);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-suggested-link:hover {
  color: #0EA5E9;
}

.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: var(--sky);
}

.cart-suggested-cta {
  font-size: 12px;
  color: #38BDF8;
  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: var(--sky);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.cart-suggested-empty-link:hover {
  color: #0EA5E9;
}

.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 !important;
  border-color: var(--sky) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1) !important;
}


.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: #38BDF8;
}

.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, #38BDF8 0%, #0EA5E9 100%);
  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(56, 189, 248, 0.3);
  font-family: inherit;
}

.cart-summary-btn:hover {
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 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: #38BDF8;
}

.cart-page select:focus,
.cart-page .browser-default:focus {
  outline: none;
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 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: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Checkboxes dentro de cart-page */
.cart-page input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #38BDF8;
}

/* 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: #38BDF8;
  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: #0EA5E9;
  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;
  }
}

/* ========== BOTONES DE BÚSQUEDA - JAPÓN ========== */

/* Botón Search principal */
#search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
  font-family: inherit;
}

#search-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

#search-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Botón Apply del discount */
.cart-discount-btn,
button[onclick*="applyDiscount"] {
  padding: 0 16px;
  height: 40px;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  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;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.cart-discount-btn:hover,
button[onclick*="applyDiscount"]:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

/* Botón Proceed to payment */
.cart-summary-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  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(56, 189, 248, 0.3);
  font-family: inherit;
}

.cart-summary-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.store .btn-neon {
  height: 48px;
  min-width: 120px;
  padding: 0 24px;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 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;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.store .btn-neon:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.store .btn-neon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========== BOTÓN APPLY FILTERS - JAPÓN ========== */

button[onclick*="order-select"],
.filter-apply-btn {
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(251, 113, 133, 0.3);
  font-family: inherit;
}

button[onclick*="order-select"]:hover,
.filter-apply-btn:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 113, 133, 0.4);
}


/* 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: 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;
  }
}


/* ========== HEADER STORE ========== */
.ami-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.08);
  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, #38BDF8, #FF8A80);
  color: #fff;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  text-transform: lowercase;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}

/* ========== 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: #38BDF8;
}

/* ========== 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: #38BDF8;
  color: #38BDF8;
}

.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(56, 189, 248, 0.15);
  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: #38BDF8;
}

.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: #38BDF8;
  color: #38BDF8;
}

.ami-cart-btn .material-icons {
  font-size: 22px;
}

.ami-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #FF8A80, #FF6B6B);
  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(255, 138, 128, 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: #38BDF8;
  color: #38BDF8;
}

.ami-burger .material-icons {
  font-size: 24px;
}

/* ========== DRAWER MOBILE ========== */
.ami-drawer {
  position: fixed;
  inset: 0;
  background: rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(4px);
  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 24px rgba(56, 189, 248, 0.15);
  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: #38BDF8;
  color: #38BDF8;
}

.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__chips button:hover {
  border-color: #38BDF8;
  color: #38BDF8;
}

.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, #38BDF8, #FF8A80) !important;
  border: none !important;
  font-weight: 700 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.ami-drawer__cart .material-icons {
  font-size: 24px;
}

.ami-drawer__cart .ami-cart-badge {
  position: static;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ========== 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;
}

#modal-add-address {
  z-index: 99999999;
}

#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: var(--sky);
  /* 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: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password-link a:hover {
  color: var(--secondary-color);
  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);
}
        
#main-nav-menu{
    background: #1d3557;
}

.swiper.blog2.swiper-uniform .swiper-slide img {
    height: 50% !important;
}

/* Hero Banner - Japan */
.hero-jp {
  margin-bottom: 1.5rem;
}

.hero-jp .swiper {
  border-radius: 12px;
  overflow: hidden;
}

.hero-jp .swiper-slide a {
  display: block;
  aspect-ratio: 1/1;
}

.hero-jp .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.hero-jp .swiper-pagination {
  bottom: 16px !important;
}

.hero-jp .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.hero-jp .swiper-pagination-bullet-active {
  background: #0ea5e9; /* sky blue para Japan */
  opacity: 1;
}

.hero-jp .swiper-button-next,
.hero-jp .swiper-button-prev {
  color: #fff;
  background: rgba(14, 165, 233, 0.8); /* sky blue con transparencia */
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.hero-jp .swiper-button-next:after,
.hero-jp .swiper-button-prev:after {
  font-size: 18px;
}