/* Fuentes */
@font-face {
  font-family: 'DFPCraftYu';
  src: url('../font/DFPCraftYu-W5.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Estilos Generales del Cuerpo */
body {
  font-family: 'DFPCraftYu', Arial, sans-serif;
  background-color: #2ea4e1; /* Color de fondo azul */
  margin: 0;
  /* padding: 40px 0;  Añadir padding arriba y abajo */
  color: white;
}

/* Ocultar el menú por defecto */
.hidden {
  display: none !important;
}

/* Header y contenedor */
.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(to bottom, #2ea4e1 70%, rgba(46, 164, 225, 0) 90%);
  padding: 0.5em 20px;
  font-size: 24px;
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; 
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}

/* Menús e iconos */
.desktop-menu {
  display: flex;
  gap: 1em;
  justify-content: center;
}
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  color: white;
}

/* Select y dropdown */
.mobile-menu {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
  appearance: none;
  text-align: center;
  font-size: 18px;
  width: auto;
  min-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-menu::after {
  content: " ▼";
  font-size: 18px;
}
.mobile-menu:hover, {
  background: rgba(255, 255, 255, 0.3);
}
.mobile-menu:focus {
  background: rgba(255, 255, 255, 0.5);
}

/* Navegación y logo */
.logo {
  height: 100px;
}
nav {
  display: flex;
  flex-grow: 1;
  justify-content: center;
}
nav a {
  color: white;
  margin: 0 1em;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
  color: rgb(101, 179, 238);
}

/* Footer */
footer {
  background: black;
  text-align: center;
  padding: 1em 0;
  color: white;
  font-size: 12px;
  font-family: Arial, sans-serif;
}
.footer-section {
  background: #222;
  padding: 12px;
  text-align: center;
}
.support-button {
  display: inline-block;
  background: #ff6f61;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  margin: 5px;
  transition: background 0.3s;
}
.support-button i {
  margin-right: 8px;
}
.support-button:hover {
  background: #ff8f7a;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    background: linear-gradient(to bottom, #2ea4e1 90%, rgba(46, 164, 225, 0) 100%);
  }
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .desktop-menu,
  nav a {
    display: none;
  }
  .menu-icon {
    display: block;
  }
  .dropdown-container {
    position: absolute;
    top: 80px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity 0.3s ease-in-out;
    align-items: center;
  }
  
  .hidden {
    display: none;
  }
  
  .mobile-menu {
    font-size: 12px;
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}
@media (min-width: 768px) {
  .desktop-menu {
    display: inline-block;
  }
  .mobile-menu {
    display: none;
  }
}

/*NUEVO*/
/* --- SELECTOR DE IDIOMA: ESCRITORIO --- */
.desktop-language-selector {
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
  appearance: none;
  text-align: center;
  font-size: 14px;
  min-width: 150px;
  margin-left: auto; /* si quieres alinearlo a la derecha */
}
.desktop-language-selector::after {
  content: " ▼";
  font-size: 14px;
}

/* --- SELECTOR DE IDIOMA: MÓVIL (dentro del dropdown) --- */
.mobile-language-selector {
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
  appearance: none;
  text-align: center;
  font-size: 14px;
  min-width: 150px;
}
.mobile-language-selector::after {
  content: " ▼";
  font-size: 14px;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
  /* Ocultamos el menú de escritorio y su selector */
  .desktop-menu {
    display: none;
  }
  .desktop-language-selector {
    display: none;
  }

  /* Mostramos el dropdown-container (cuando no tenga la clase .hidden) */
  /* y el selector de idioma móvil */
  .dropdown-container {
    display: flex; /* Se usará .hidden para ocultarlo dinámicamente */
    flex-direction: column;
    gap: 10px;
  }
  .mobile-menu,
  .mobile-language-selector {
    font-size: 12px;
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  /* En escritorio, mostramos el menú horizontal y el selector desktop */
  .desktop-menu {
    display: flex;
  }
  .desktop-language-selector {
    display: inline-block;
  }

  /* Ocultamos el contenedor móvil */
  .dropdown-container {
    display: none;
  }
}

/*--------------------*/

/* Redes sociales */
.footer-social-button {
  display: inline-block;
  background-color: #333;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  margin: 5px;
  transition: background-color 0.3s;
}

/* Asegura que los iconos se vean bien */
.footer-social-button i {
  font-size: 24px; /* Aumenta el tamaño del logo de X */
  margin-right: 8px;
}

.footer-social-button:hover {
  background-color: #555;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}

.footer-legal a {
  color: #f3f4f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #60a5fa;
  text-decoration: underline;
}


/* Contenedor Centralizado */
.container {
  /*max-width: 1200px;  Ajusta este valor según tus necesidades */
  margin: 0 auto; /* Centraliza el contenido */
  padding: 0 5%; /* Aplica márgenes laterales */
  box-sizing: border-box; /* Hace que el padding y el borde se incluyan en el tamaño total */
}

.container li {

  font-size: 14px;
}

/* Archivo styles.css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container-home-1 {
  display: flex; /* Configura los elementos hijos en fila */
  justify-content: space-between; /* Espaciado uniforme entre párrafos */
  align-items: flex-start; /* Alineación vertical */
  gap: 10px; /* Espaciado entre los párrafos */
  padding: 20px;
}

.container-home-1 p {
  flex: 1; /* Los párrafos tendrán el mismo ancho */
  margin: 0;
  padding: 10px;
  /* border: 1px solid #ccc; */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center; /* Centra el texto dentro de los párrafos */
}

/* Estilos para versión Tablet y móvil */
@media (max-width: 1200px) {

  .container-home-1 {
    flex-direction: column; /* Hace que los párrafos se apilen verticalmente */
    align-items: stretch; /* Asegura que ocupen todo el ancho disponible */
  }
}

.privacy-container p{

  font-size: 12px;
  padding: 10px 15%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0px auto; /* Centra la imagen con un espaciado superior e inferior */
  border-radius: 12px; /* Añade bordes redondeados */
}
h1 {
  text-align: center; /* Centra el título */
  font-size: 2.0rem; /* Ajusta el tamaño de la fuente */
  margin-bottom: 15px; /* Espaciado inferior */
  color: #113042;
  margin-top: 35px; /* Espaciado superior */
}
h2 {
  text-align: center; /* Centra el título */
  font-size: 1.6rem; /* Ajusta el tamaño de la fuente */
  margin-bottom: 15px; /* Espaciado inferior */
  color: #165e87;
}

p {
  text-align: center; /* Centra el texto */
  font-size: 1.2rem; /* Ajusta el tamaño del texto */
  margin-bottom: 10px; /* Espaciado inferior */
  line-height: 1.5; /* Espaciado entre líneas */
}

@media screen and (max-width: 768px) {
  img {
    max-width: 90%; /* Ajuste responsivo para pantallas pequeñas */
  }

  h2 {
    font-size: 1.6rem; /* Ajuste del tamaño de la fuente en pantallas pequeñas */
  }

  p {
    font-size: 1.0rem; /* Ajuste del texto en pantallas pequeñas */
  }
}

/* Textos Formales */
.formal-text {
  font-family: 'Helvetica', Arial, sans-serif;
  color: white;
}

/* Imagen y Sección de Descarga en Home */
.home-logo {
  display: block;
  margin: 0 auto 20px;
  max-width: 100%;
  max-height: 300px; /* Ajusta este valor para reducir la altura */
}

.download-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.download-button {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #0b1f33;
  text-decoration: none;
  font-size: 1.1em;
  background: rgba(255, 255, 255, 0.88);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(46, 164, 225, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  min-width: 260px;
}

.download-button.beta {
  background: rgba(46, 164, 225, 0.15);
  border-color: rgba(46, 164, 225, 0.5);
}

.download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  background: #ffffff;
}

.download-button i {
  font-size: 1.8em;
  color: #2ea4e1;
}

.download-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-label {
  font-weight: 600;
  color: #031225;
}

.download-subtitle {
  font-size: 0.85em;
  color: rgba(3, 18, 37, 0.7);
}

.download-note {
  margin-top: 10px;
  text-align: center;
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.85);
}

/* Estilos para la sección de apoyo a la campaña */
.support-section {
  text-align: center;
  margin: 40px 0;
}

.support-button {
  display: inline-block;
  background-color: #ff6f61;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 8px;
  margin: 10px;
  transition: background-color 0.3s;
}

.support-button i {
  margin-right: 8px;
}

.support-button:hover {
  background-color: #ff8f7a;
}

/* Video y Botón de Play Demo */
.video-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px; width: 100%; /* Ocupa todo el ancho de la pantalla */
  width: 100%;
  max-width: 100%; /* Puedes ajustar este valor si deseas un ancho máximo */
  margin: 0 auto; /* Centra el contenedor del vídeo */
}

video {
  max-width: 100%;
  height: auto;
}

.play-demo-container {
  display: flex;
  justify-content: center;
  margin-top: 200px;
}

.play-demo-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #2ea4e1;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.play-demo-button:hover {
  background-color: #2ea4e1;
  color: #ffffff;
}

/* Contenedor de WebGL */
.webgl-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.webgl-iframe {
  width: 100%;
  height: 600px; /* Ajusta la altura según sea necesario */
  border: none;
}

.support-page {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.support-hero,
.faq-section,
.contact-form,
.support-extra {
  background: rgba(3, 18, 37, 0.65);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.support-intro {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

.support-highlights {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.support-highlights li {
  background: rgba(46, 164, 225, 0.18);
  border: 1px solid rgba(46, 164, 225, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.95em;
  color: #eaf7ff;
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-intro {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}

.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(46, 164, 225, 0.4);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.faq-question {
  background: transparent;
  color: #ffffff;
  padding: 16px 20px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 1.15em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-question::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(46, 164, 225, 0.18);
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: rgba(234, 247, 255, 0.92);
  font-size: 0.95em;
}

.faq-answer p {
  margin: 0;
}

/* Formulario de Contacto */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: 600;
  color: #eaf7ff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(46, 164, 225, 0.45);
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 1em;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(234, 247, 255, 0.6);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2ea4e1;
  background: rgba(46, 164, 225, 0.18);
}

.contact-form select {
  cursor: pointer;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form button {
  padding: 12px 28px;
  background-color: #2ea4e1;
  color: #031225;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  align-self: flex-start;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 164, 225, 0.45);
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.contact-hint {
  font-size: 0.85em;
  color: rgba(234, 247, 255, 0.7);
  margin-top: -8px;
}

.form-message {
  margin-top: -8px;
  font-weight: 600;
}

.form-warning {
  display: block;
  margin-top: 6px;
  color: #ffd166;
  font-weight: 500;
}

.form-message.success {
  color: #4cd964;
}

.form-message.error {
  color: #ff6b6b;
}

.form-message.warning {
  color: #ffd166;
}

.support-extra {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.support-links a {
  color: #2ea4e1;
  text-decoration: underline;
}

.support-warning {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9em;
}

.credly-wrapper {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .download-button {
    width: 100%;
    min-width: 0;
  }

  .support-hero,
  .faq-section,
  .contact-form,
  .support-extra {
    padding: 20px;
  }

  .support-highlights {
    grid-template-columns: 1fr;
  }
}

/* --------------------------- */
/* Estilos generales para el contenedor de las pestañas */
.tabs-container {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-around;
  margin-bottom: 20px;
  padding-top: 80px;
}

/* Ocultar el selector dropdown en pantallas más grandes */
.tabs-select {
  display: none; /* Por defecto, el selector está oculto */
}
/* Pantallas anchas: 1 fila de pestañas */
@media (min-width: 1200px) {
  .tabs-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
  }
}

/* Pantallas medianas (más estrechas): 5 columnas, llenado por columnas */
@media (max-width: 1199px) and (min-width: 768px) {
  .tabs-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas */
    grid-template-rows: repeat(2, 1fr); /* 2 filas */
    grid-auto-flow: column; /* Llena por columnas primero */
    grid-gap: 10px; /* Espacio entre las pestañas */
  }
  
  /* Centrado de las imágenes en pantallas medianas */
  .tab {
    display: flex;
    justify-content: center; /* Centra la imagen horizontalmente */
    align-items: center; /* Centra la imagen verticalmente */
    padding: 10px;
  }

  .tab img {
    display: block;
    margin: 0 auto; /* Asegura que la imagen esté centrada */
    max-width: 100px; /* Limita el tamaño de la imagen para mantenerla proporcional */
    height: auto;
  }
}


/* Pantallas móviles (menú desplegable como selector de idiomas) */
@media (max-width: 767px) {
  .tabs-container {
    display: none; /* Oculta las pestañas en el layout principal */
  }

  .tabs-select {
    display: block;
    width: 50%;  /* Ajusta el ancho del dropdown */
    margin: 20px auto;  /* Centra el dropdown horizontalmente */
    padding: 10px;  /* Ajusta el padding dentro del dropdown */
    /* font-size: 24px; */
  }

  .tabs-select option {
    padding: 10px;
    font-size: 16px;
    background-repeat: no-repeat;
    background-size: 20px 20px; /* Tamaño de la imagen */
    background-position: left center; /* Posición de la imagen */
    padding-left: 30px; /* Espacio para la imagen */
  }
}


/* Estilos de las pestañas */
.tab {
  cursor: pointer;
  padding: 10px;
  /* border: 1px solid #ccc; */
  transition: background-color 0.3s;
}

.tab img {
  width: 200px; /* Ajusta el tamaño de las imágenes de las pestañas */
  height: auto;
}

.tab:hover {
  /* background-color: #5fb6ec;  Color al pasar el ratón */
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1); /* Sombra ligera para resaltar la imagen */
}
.tab:active {
  /* Estilo cuando el botón es apretado (clic) */
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2); /* Reduce la sombra para simular el "hundimiento" */
  transform: translateY(2px); /* Mueve el botón ligeramente hacia abajo para dar la sensación de ser presionado */
  background-color: #5fb6ec; /* Cambia el color del fondo al ser apretado */
}

/* Contenidos de las pestañas */
.tab-content-container {
  text-align: center;
}

.tab-content {
  display: none; /* Solo se muestra cuando la pestaña está activa */
}

.tab-content img {
  width: auto;
  height: 450px;
  margin-top: 10px;
}

.tab-content h2 {
  /* font-size: 24px; */
  margin-bottom: 10px;
}

.concept-wrapper {
  position: relative;
  display: inline-block; /* Asegura que el contenedor no ocupe todo el ancho */
}

.concept-image {
  width: auto;  /* Evita que se estire al 100% */
  max-width: 100%; /* No permite que se salga del contenedor */
  height: auto; /* Mantiene la proporción original */
  display: block;
  margin: 0 auto; /* Centra la imagen dentro del contenedor */
  object-fit: contain; /* Asegura que la imagen mantenga su tamaño sin recortarse */
}


.overlay-image {
  position: absolute;
  top: 10px;  /* Posiciona la imagen superpuesta en la esquina inferior */
  right: 10px;   /* Ajusta la posición a la esquina */
  width: 50px;   /* Tamaño de la imagen superpuesta */
  height: 50px;  /* Fija la altura */
  opacity: 0.7;  /* Añade transparencia a la imagen superpuesta */
  pointer-events: none; /* Evita interferencia con los clics */
  /* Ajustes específicos para SVG */
  max-width: 30%;  
  max-height: 30%;
  display: block;
}

/* ----------------------- */
/* ----------------------- */
/* Contenedor principal del carrusel */
.swiper-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden; /* Restauramos el ocultamiento de las diapositivas fuera del área visible */
  padding: 0; /* Eliminamos el padding ya que lo manejamos de otra manera */
}

/* Contenedor de las diapositivas */
.swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%; /* Cada diapositiva ocupará todo el ancho del contenedor */
}

/* Botones de navegación */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.3); /* Fondo semi-transparente */
  color: white;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

/* Ajuste de las flechas fuera del borde */
.swiper-button-next {
  right: -40px; /* Mueve el botón "siguiente" fuera del borde derecho */
}

.swiper-button-prev {
  left: -40px; /* Mueve el botón "anterior" fuera del borde izquierdo */
}

/* Paginación */

.swiper-slide img {
  width: 85%;
  display: block;
  border-radius: 12px;
}

.swiper-pagination {
  text-align: center;
  position: relative;
  margin-top: 20px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: #007bff;
}
/* --- CSS General (Sin tocar) --- */

/* Contenedor principal de ítems */
.items-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 20px;
  padding: 20px;
  border: 1px solid #ccc;
  width: 80%;
  height: auto;
  box-sizing: border-box;
}

/* Ajustes para imágenes dentro de .items-container */
.items-container img {
  width: auto;
  height: 250px;
  display: block;
}


/* Bloque de textos */
.items-texts {
  max-width: 500px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.items-texts h2,
.items-texts p {
  margin: 0;
  padding-bottom: 10px;
  text-align: right;
}

/* Estilos para versión móvil */
@media (max-width: 748px) {
  .items-container {
    flex-direction: column; /* Cambia la disposición de horizontal a vertical */
    align-items: center; /* Centra los elementos en vertical */
    width: 90%; /* Ajusta el ancho para mayor responsividad */
  }

  .items-container img {

    display: flex;
  }

  .items-texts h2,
  .items-texts p {
  margin: 0;
  padding-bottom: 10px;
  text-align: left;
  }
}

/* Imágenes de instalaciones */
.facility-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.facility-images img {
  width: 80%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Contenido principal con fondo gris */
.content {
  position: relative;
  z-index: 2;
  background-color: rgba(84, 92, 119, 0.358);
  padding: 20px;
  border-radius: 8px;
}

/* --- Fin del CSS General --- */
/* --- CSS para el Marco de Tiles --- */

/* Contenedor principal para el marco y el contenido */
.tiled-container {
  /*comentar línea entera para visualizar normalmente*/
  display: none; 
  position: relative; /* Contexto para los bordes */
  width: 80%; /* Ajusta el ancho según sea necesario */
  margin: 0 auto; /* Centrado horizontal */
  box-sizing: border-box; /* Incluye padding en el tamaño total */
  padding: 64px; /* Espaciado interno */
}

/* Contenido principal dentro del marco */
.content {
  position: relative;
  z-index: 2; /* Coloca el contenido encima del marco */
  background-color: rgba(84, 92, 119, 0.358); /* Fondo gris */
  padding: 20px;
  border-radius: 8px; /* Opcional: bordes redondeados */
}

/* Bordes horizontales */
.tile-frame-h {
  position: absolute;
  background-repeat: repeat;
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 3;
  display: flex;
  overflow: hidden;
  height: 64px; /* Altura fija para los bordes superior e inferior */
  width: 100%;
}

/* Bordes verticales */
.tile-frame-v {
  position: absolute;
  background-repeat: repeat;
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 3;
  display: flex;
  overflow: hidden;
  width: 64px; /* Ancho fijo para los bordes izquierdo y derecho */
  height: 100%;
}

/* 🔹 Definir los tiles generados dinámicamente 🔹 */
.tile {
  width: 64px; /* Tamaño fijo de cada tile */
  height: 64px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}         

/* Borde superior */
.tile-frame-h.top {
  top: 0;
  left: 0;
  right: 0;
  height: 64px; /* Altura del borde superior */
}

/* Borde inferior */
.tile-frame-h.bottom {
  bottom: 0;
  left: 64px;
  right: 64px;
  height: 64px; /* Altura del borde inferior */
}

/* Borde izquierdo */
.tile-frame-v.left {
  top: 64px;
  bottom: 0px;
  left: 0;
  width: 64px; /* Ancho del borde izquierdo */
}

/* Borde derecho */
.tile-frame-v.right {
  top: 64px;
  bottom: 0;
  right: 0;
  width: 64px; /* Ancho del borde derecho */
}

/* --- Fin del CSS para el Marco de Tiles --- */

/* --- BLOG Y POSTS ---*/
#posts-container {
  padding: 20px;
}

/* Estilos para cada post en el listado */
#posts-container .post {
  margin-bottom: 40px;       /* Separación entre posts */
  border-bottom: 1px solid #ddd;  /* Línea divisoria */
  padding-bottom: 20px;
}

/* Opcional: estilos para el enlace "Leer más" */
#posts-container .post a[data-translate-key="read_more"] {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #007bff;
}

#posts-container .post img,
.post-detail img {
  max-width: 768px;
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* Landing Page Styles */
.landing-container {
  text-align: center;
  padding: 48px 20px 64px;
  max-width: 1024px;
  margin: 0 auto;
}

.landing-container h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 auto 40px;
  font-weight: 700;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.buttons-container {
  display: grid;
  gap: 24px;
  margin-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Botón base */
.landing-button {
  --accent-color: 46, 164, 225;
  width: 100%;
  border: 1px solid rgba(var(--accent-color), 0.25);
  border-radius: 16px;
  color: #f6fbff;
  background: rgba(3, 25, 57, 0.92);
  cursor: pointer;
  font-size: 16px;
  padding: 22px 24px;
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.75);
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Estructura interna */
.button-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

/* Icon container */
.icon-container {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(var(--accent-color), 0.18);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-color), 0.35);
}

.alt_icon {
  max-width: 32px;
  max-height: 32px;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Text container */
.text-container {
  text-align: left;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-button:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-color), 0.45);
  box-shadow: 0 18px 42px -18px rgba(var(--accent-color), 0.35);
}

.landing-button:focus-visible {
  outline: 3px solid rgba(var(--accent-color), 0.6);
  outline-offset: 3px;
}

/* Estado dentro de los botones de la landing */
.status-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.status-badge.available {
  background: rgba(76, 217, 100, 0.2);
  color: #dcffe6;
  border-color: rgba(76, 217, 100, 0.45);
}

.status-badge.beta {
  background: rgba(255, 209, 102, 0.18);
  color: #fff6cf;
  border-color: rgba(255, 209, 102, 0.4);
}

/* Thematic Background Colors */
.btn-home {
  --accent-color: 0, 123, 255;
}
.btn-facebook {
  --accent-color: 59, 89, 152;
}
.btn-instagram {
  --accent-color: 225, 48, 108;
}
.btn-x {
  --accent-color: 17, 17, 17;
}
.btn-googleplay {
  --accent-color: 52, 168, 83;
}
.btn-googleplay-beta {
  --accent-color: 29, 95, 191;
}
.btn-applestore {
  --accent-color: 255, 255, 255;
}
.btn-steam {
  --accent-color: 23, 26, 33;
}
.btn-support {
  --accent-color: 255, 69, 0;
}
.btn-ar {
  --accent-color: 3, 33, 73;
}

/* Asegurar que los botones deshabilitados se vean bien */
.landing-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .landing-button {
    padding: 18px 20px;
  }

  .button-content {
    flex-direction: column;
    text-align: center;
  }

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

/* Store page */
.store {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  box-sizing: border-box;
}

.store,
.store-categories,
.store-checkout,
.product-detail {
  color: #0f172a;
}

.store__hero {
  background: linear-gradient(135deg, rgba(255, 195, 113, 0.28), rgba(111, 207, 255, 0.25));
  border-radius: 24px;
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.store__hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  color: #0b1f3a;
  letter-spacing: normal;
  text-transform: none;
}

.store__subtitle {
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1f2937;
}

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

.store__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: #ff7a45;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 28px rgba(255, 122, 69, 0.3);
}

.store__cta-button:hover,
.store__cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 122, 69, 0.35);
}

.store__cta-button--contact {
  background: #1d4ed8;
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.28);
}

.store-products__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.store-products__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  color: #0b1f3a;
  letter-spacing: normal;
  text-transform: none;
}

.store-products__header p {
  color: #4b5563;
  line-height: 1.65;
}

.store-products__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 0.95rem;
}

.store-products__filter-clear {
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.store-products__filter-clear:hover,
.store-products__filter-clear:focus-visible {
  text-decoration: none;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: none;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 600;
  cursor: pointer;
}

.cart-button__badge {
  min-width: 32px;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}

.cart-button--mobile {
  margin-top: 0.75rem;
}

body.cart-open {
  overflow: hidden;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  justify-content: flex-end;
  z-index: 9998;
}

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

.cart-panel {
  background: #ffffff;
  width: min(420px, 100%);
  height: 100%;
  max-height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  gap: 1rem;
  position: relative;
}

.cart-panel__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #1f2937;
}

.cart-panel__title {
  margin-top: 0;
  font-size: 1.6rem;
}

.cart-panel__list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-right: 0.25rem;
}

.cart-panel__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
}

.cart-panel__item-name {
  font-weight: 600;
  grid-column: 1;
  grid-row: 1;
}

.cart-panel__item-qty {
  font-size: 0.9rem;
  color: #4b5563;
  grid-column: 1;
  grid-row: 2;
}

.cart-panel__item-price {
  justify-self: end;
  font-weight: 700;
  color: #0f172a;
  grid-column: 2;
  grid-row: 1;
}

.cart-panel__item-remove {
  border: none;
  background: transparent;
  color: #991b1b;
  font-weight: 600;
  cursor: pointer;
  justify-self: end;
  grid-column: 2;
  grid-row: 2;
}

.cart-panel__empty {
  color: #6b7280;
  font-size: 0.95rem;
}

.cart-panel__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-panel__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.cart-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cart-panel__clear {
  border: none;
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.cart-panel__checkout {
  padding: 0.65rem 1.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

@media (max-width: 720px) {
  .cart-panel {
    width: 100%;
  }

  .cart-panel__actions {
    flex-direction: column;
  }

  .cart-panel__checkout,
  .cart-panel__clear {
    width: 100%;
    text-align: center;
  }
}

.store-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.store-products__loading,
.store-products__empty,
.store-products__error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(30, 64, 175, 0.08);
  color: #1e3a8a;
}

.store-products__error {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.store-product {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.store-product__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.store-product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 20% 20%, rgba(255, 214, 164, 0.42), rgba(255, 255, 255, 0.9));
}

.store-product__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.store-product__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  flex: 1;
}

.store-product__title {
  font-size: 1.2rem;
  color: #1f2937;
}

.store-product__description {
  flex: 1;
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.98rem;
}

.store-product__link-label {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #2563eb;
}

.store-product__link-label::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.store-product:hover .store-product__link-label::after {
  transform: translateX(4px);
}

.store-product__actions {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.store-product__cart-button {
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-product__cart-button:hover,
.store-product__cart-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.store-product__cart-feedback {
  font-size: 0.9rem;
  color: #047857;
  font-weight: 600;
}

.store-product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-product__price {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.05rem;
}

.store-product__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.store-product[data-status="available"] .store-product__status {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.store-product[data-status="coming_soon"] .store-product__status {
  background: rgba(249, 115, 22, 0.18);
  color: #9a3412;
}

.store-product[data-status="preorder"] .store-product__status {
  background: rgba(59, 130, 246, 0.2);
  color: #1d4ed8;
}

.store-product__action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.25);
}

.store-product__action:hover,
.store-product__action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.28);
}

.store-product__action--secondary {
  background: rgba(30, 64, 175, 0.12);
  color: #1d4ed8;
  box-shadow: none;
}

.store-info {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.store-info h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.store-info p {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.store-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.store-info__list li {
  padding: 0.85rem 1.1rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  color: #1f2937;
  line-height: 1.6;
}

.store-auth-banner {
  margin: 1.5rem 0 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: #1f2937;
}

.store-auth-banner[hidden] {
  display: none;
}

.store-auth-banner__content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.store-auth-banner__headline {
  font-size: 1.05rem;
  color: #1d4ed8;
}

.store-auth-banner__message {
  margin: 0;
  color: #374151;
  line-height: 1.5;
}

.store-auth-banner__action {
  margin-left: auto;
  align-self: center;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-auth-banner__action:hover,
.store-auth-banner__action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}

.store-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 9998;
}

.store-auth-overlay[hidden] {
  display: none;
}

.store-auth-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  z-index: 9999;
}

.store-auth-modal[hidden] {
  display: none;
}

.store-auth-modal__dialog {
  position: relative;
  width: min(540px, 100%);
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.store-auth-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.store-auth-modal__close:hover,
.store-auth-modal__close:focus-visible {
  color: #1f2937;
}

.store-auth-modal__header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.store-auth-modal__header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  color: #0b1f3a;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.store-auth-modal__header p {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

.store-auth-modal__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.store-auth-modal__tab {
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  background: transparent;
  color: #1d4ed8;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.store-auth-modal__tab--active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.36);
}

.store-auth-modal__body {
  display: grid;
  gap: 1.25rem;
}

.store-auth-form {
  display: grid;
  gap: 1rem;
}

.store-auth-form[hidden] {
  display: none;
}

.store-auth-form__field {
  display: grid;
  gap: 0.45rem;
}

.store-auth-form__field span {
  font-weight: 600;
  color: #1f2937;
}

.store-auth-form__field input {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-auth-form__field input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.store-auth-form__submit {
  border: none;
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-auth-form__submit:hover,
.store-auth-form__submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.35);
}

.store-auth-form__hint {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
}

.store-auth-form__alert {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.store-auth-form__alert[hidden] {
  display: none;
}

.store-auth-form__alert--error {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.22);
}

.store-auth-form__alert--success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.22);
}

.store-auth-modal__footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 1rem;
}

.store-auth-modal__footnote {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .store-auth-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .store-auth-banner__action {
    align-self: stretch;
    text-align: center;
  }

  .store-auth-modal__dialog {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .store__hero {
    padding: 3.5rem 4rem;
  }

  .store__subtitle {
    font-size: 1.15rem;
  }

  .store-info {
    padding: 2.75rem 3rem;
  }
}

@media (max-width: 600px) {
  .store {
    padding: 2rem 1.25rem 3rem;
  }

  .store__cta-button {
    width: 100%;
  }

  .store-info__list li {
    font-size: 0.95rem;
  }

  .store-product__actions {
    padding: 0 1.25rem 1.25rem;
    gap: 0.5rem;
  }

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

/* Product detail page */
.product-detail {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-detail__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.product-detail__back::before {
  content: '←';
}

.product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.product-detail__gallery {
  background: linear-gradient(135deg, rgba(255, 229, 204, 0.4), rgba(219, 234, 254, 0.5));
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.product-detail__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-detail__summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-detail__title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0;
}

.product-detail__description {
  color: #4b5563;
  line-height: 1.7;
  font-size: 1.05rem;
}

.product-detail__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.product-detail__meta-item {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: 1rem 1.25rem;
}

.product-detail__meta-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.product-detail__meta-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.product-detail__categories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-detail__category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-detail__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.product-detail__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-detail__action--primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.28);
}

.product-detail__action--secondary {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.product-detail__action--cart {
  border: none;
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  cursor: pointer;
}

.product-detail__action:hover,
.product-detail__action:focus-visible {
  transform: translateY(-2px);
}

.product-detail__cart-feedback {
  display: inline-flex;
  align-items: center;
  color: #047857;
  font-weight: 600;
}

.product-detail__section {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.product-detail__section-title {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.product-detail__section-text {
  color: #374151;
  line-height: 1.7;
}

.product-detail__feature-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #374151;
  line-height: 1.7;
}

.product-detail__feature-item {
  margin-bottom: 0.5rem;
}

.product-detail__message {
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(220, 38, 38, 0.1);
  color: #7f1d1d;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 900px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
  }

  .product-detail__gallery {
    order: -1;
  }

  .product-detail__actions {
    flex-direction: column;
  }

  .product-detail__action {
    width: 100%;
  }
}

/* Categories page */
.store-categories__hero {
  margin-bottom: 1rem;
}

.store-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  padding: 1rem 0 3rem;
}

.store-category-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-category-card--empty {
  opacity: 0.8;
}

.store-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.store-category-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.store-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  flex: 1;
}

.store-category-card__title {
  font-size: 1.25rem;
  color: #1f2937;
}

.store-category-card__description {
  color: #4b5563;
  line-height: 1.6;
  flex: 1;
}

.store-category-card__action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.store-category-card__action::after {
  content: '→';
  transition: transform 0.2s ease;
}

.store-category-card__action:hover::after {
  transform: translateX(4px);
}

/* Checkout page */
.store-checkout {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.store-checkout__summary {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store-checkout__summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.store-checkout__clear {
  border: none;
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.store-checkout__summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.store-checkout__summary-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
}

.store-checkout__summary-name {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-weight: 600;
}

.store-checkout__summary-quantity {
  font-size: 0.95rem;
  color: #1f2937;
}

.store-checkout__summary-price {
  font-weight: 700;
  color: #0f172a;
  justify-self: end;
}

.store-checkout__summary-remove {
  border: none;
  background: transparent;
  color: #991b1b;
  cursor: pointer;
  font-weight: 600;
  justify-self: end;
}

.store-checkout__summary-empty {
  color: #4b5563;
  font-size: 0.95rem;
}

.store-checkout__summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
}

.store-checkout__hero {
  text-align: center;
}

.store-checkout__contact {
  margin-top: 1rem;
  color: #1d4ed8;
  font-weight: 600;
}

.store-checkout__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.12);
}

.store-checkout__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.store-checkout__fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.store-checkout__fieldset legend {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.store-checkout__field--inline {
  flex-direction: row;
  gap: 1rem;
}

.store-checkout__field--inline > div {
  flex: 1;
}

.store-checkout__form label {
  font-weight: 600;
  color: #1f2937;
}

.store-checkout__form input,
.store-checkout__form select,
.store-checkout__form textarea {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-checkout__form input:focus,
.store-checkout__form select:focus,
.store-checkout__form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.store-checkout__submit {
  align-self: flex-start;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-checkout__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.store-checkout__submit:hover:not(:disabled),
.store-checkout__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.28);
}

.store-checkout__status {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  font-weight: 600;
}

.store-checkout__status--error {
  background: rgba(220, 38, 38, 0.1);
  color: #7f1d1d;
}

.store-checkout__status--success {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

@media (max-width: 640px) {
  .store-checkout__form {
    padding: 1.5rem;
  }

  .store-checkout__summary {
    padding: 1.5rem;
  }

  .store-checkout__summary-item {
    grid-template-columns: 1fr auto;
  }

  .store-checkout__summary-price {
    justify-self: end;
  }

  .store-checkout__summary-remove {
    justify-self: end;
  }

  .store-checkout__field--inline {
    flex-direction: column;
  }
}
