* {
  margin: 0;
  padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;900&display=swap');

@font-face {
  font-family: 'PoppinsFuente';
  src: url('Poppins-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  overflow-x: hidden !important;
  width: 100%;
}

body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Bloqueo de scroll mejorado para evitar saltos */
html {
  scrollbar-gutter: stable;
  /* Evita el salto horizontal del scrollbar */
}

html.menu-open {
  /* No tocamos el overflow de html para evitar saltos verticales */
  scroll-behavior: auto !important;
}

body.menu-open {
  overflow: hidden !important;
  /* Bloqueo total en PC */
  touch-action: none;
  /* Bloqueo total de gestos en móvil */
  -webkit-overflow-scrolling: none;
}

body.menu-open .nav-menu-header {
  touch-action: pan-y;
  /* EXCEPCIÓN: El menú sí puede deslizarse arriba/abajo */
  overscroll-behavior: contain;
}

/* Permitir scroll SOLO dentro del menú */
body.menu-open .nav-menu-header {
  touch-action: pan-y;
}

/* Evitar que el header se esconda si el menú está abierto */
body.menu-open .header {
  transform: none !important;
  /* Eliminamos transition: none para que los hijos (como el menú) puedan animar correctamente */
}

/* Permitimos transiciones en elementos secundarios para que el menú pueda deslizar */
body.menu-open .header * {
  /* transition: none !important; */
  /* Comentado o eliminado para permitir animaciones */
}

.product-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600 !important;
  color: #000;
}

p,
pre,
span {
  font-family: "Montserrat", sans-serif;
}

a,
label,
input {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

/* Transiciones para deslizar */

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0;
  border-bottom: none;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, transform 0.4s ease;
}

.header.scrolled {
  background-color: #000000db;
}

.header.hide {
  transform: translateY(-100%);
}

.header-background {
  background: #000;
}

.container-header-menu {
  max-width: 90%;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
}

.nav-menu-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* Centrado vertical escritorio */
  position: static;
  height: auto;
  width: auto;
  background: none;
  box-shadow: none;
  transform: none;
  transition: none;
  pointer-events: auto;
  padding-top: 0;
  z-index: auto;
  flex-grow: 1;
}

.menu-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-left: auto;
  padding: 0;
}

.menu-list li {
  position: relative;
}

.menu-list li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem;
  display: inline-block;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease;
}

/* Efecto Minimalista de Borde Rojo (Solo Escritorio) */
@media (min-width: 993px) {
  .menu-list li a {
    padding: 0.5rem 0;
    margin: 0 0.8rem;
  }

  .menu-list li a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #e31e24;
    /* Rojo Protech */
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
  }

  .menu-list li a:hover::before {
    width: 100%;
  }

  .menu-list li a.active::before {
    width: 100%;
    background-color: #e31e24;
  }
}

/* Submenú */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
  border-radius: 10px;
}

.submenu-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  vertical-align: middle;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  /* Color de la flecha */
  transition: transform 0.3s ease;
}

.has-submenu:hover .submenu-toggle::after {
  transform: rotate(180deg);
}

.submenu li a {
  display: block;
  padding: 15px;
  color: #333 !important;
}

.submenu li a:hover {
  background-color: #f2f2f2;
}

.has-submenu.active .submenu {
  max-height: 500px;
  opacity: 1;
}

/* Abrir por hover en escritorio y tablets grandes */
@media (min-width: 992px) {
  .has-submenu:hover .submenu {
    max-height: 1000px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
  }
}

/* Íconos */
.header-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.language-switcher img {
  width: 22px;
  height: 15px;
  cursor: pointer;
  transition: transform .2s;
}

.language-switcher img:hover {
  transform: scale(1.1);
}

/* Fin Header */
/* Oculto por defecto (Escritorio) */
.floating-language-picker,
.top-bar-mobile {
  display: none;
}

/* --- OPTIMIZACIÓN HEADER MOBILE (STACKED ICONS) --- */
@media (max-width: 992px) {

  /* Prueba 2: Barra Superior Mobile */
  .top-bar-mobile {
    display: block;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    width: 100%;
  }

  .language-switcher-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
    /* Alineación simétrica con .container-header-menu */
  }

  .language-switcher-top span {
    color: #555;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 700;
  }

  .language-switcher-top img {
    width: 28px !important;
    height: auto !important;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }

  .language-switcher-top img.active-lang {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transform: scale(1.1);
  }

  /* Ocultamos las banderas del header y el flotante anterior */
  .header-icons .language-switcher,
  .floating-language-picker {
    display: none !important;
  }

  .header {
    padding: 0 !important;
  }

  .container-header-menu {
    padding: 12px 1rem !important;
    /* Normalizado para coincidir con el top bar */
    align-items: center !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }

  .logo img {
    height: 45px !important;
  }

  .header-icons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .main-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .search-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: flex !important;
    margin: 0 !important;
  }
}

/* --- SELECTOR DE MARCAS FLOTANTE (SOLO MOBILE) --- */
.brands-floating-btn,
.brands-full-screen-overlay {
  display: none;
}

@media (max-width: 992px) {

  /* Botón Cápsula Flotante - NEGRO */
  .brands-floating-btn {
    display: flex !important;
    position: fixed;
    bottom: 30px;
    left: 20px;
    background: #000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 1px;
    z-index: 999;
    /* Por encima del menú mobile */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .brands-floating-btn:active {
    transform: scale(0.95);
  }

  /* Ventana Full Screen Overlay - EFECTO MINIMALISTA */
  .brands-full-screen-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0);
    backdrop-filter: blur(0px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    padding: 80px 20px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .brands-full-screen-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
  }

  .brands-overlay-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    transform: translateY(40px);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .brands-full-screen-overlay.active .brands-overlay-content {
    transform: translateY(0);
  }

  .brands-overlay-title {
    color: #000;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .brands-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }

  .brands-grid-full a {
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .brands-grid-full a:active {
    background: #f8f8f8;
    transform: scale(0.95);
  }

  .brands-grid-full img {
    width: 100%;
    max-width: 120px;
    height: auto;
    filter: none;
  }

  .close-brands-overlay {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: #000;
    font-size: 45px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: transform 0.3s ease;
  }

  .close-brands-overlay:active {
    transform: scale(0.8);
  }
}


/* Menú Mobile */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* En tu archivo CSS */

.nav-menu-header .menu-list a.active {
  color: #fff !important;
  font-weight: 400;
}

.nav-menu-header .menu-list li.active a {
  color: #a7a7a7;
  font-weight: 500;
}

.nav-menu-header .menu-list .submenu a {
  color: #fff;
}

.nav-menu-header .menu-list .submenu a.active {
  color: #000 !important;
}

.nav-menu-header .menu-list .submenu-toggle.active {
  color: #fff;
  border-radius: 20px;
  /* Si aplica */
}

/* Botón cerrar menú (solo visible en móvil/tablet) */

.close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  color: #333 !important;
  z-index: 1100;
}

/* Overlay para el menú */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Cuando overlay está activo */

.menu-overlay.active {
  display: block;
  opacity: 1;

}

/* Fin Mobile Menu */

/* Estilos para contenedor de video */

.video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-section-inicio {
  margin-top: 22%;
  position: relative;
  height: 70vh;
  background-image: url('../img/nosotros_banner.png');
  /* usa tu imagen */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section-inicio {
  margin-top: 22%;
  position: relative;
  height: 100vh;
  background-image: url('../img/hero-2.jpg');
  /* usa tu imagen */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* Sección */
.two-column-section {
  padding: 3rem 0;
  background-color: #f4f4f4;
}


/* Contenedor principal con Flexbox */


.two-column-container {


  display: flex;


  justify-content: space-between;


  align-items: center;


  max-width: 90%;


  margin: 5% auto;


  gap: 8rem;


}


/* --- Estilos para la Nueva Sección de 3 Columnas --- */


.three-column-section {


  /* Ajusta el padding superior e inferior y el color de fondo de la sección principal */


  padding: 60px 0;


  background-color: #f9f9f9;
  /* Fondo gris claro opcional */


}


.column-container {


  /* Utiliza Flexbox para crear las columnas */


  display: flex;


  /* Centra el contenedor principal y limita su ancho */


  max-width: 90%;


  margin: 0 auto;


  /* Distribuye el espacio entre las columnas */


  justify-content: space-between;


  /* Agrega un pequeño espacio (gap) entre las columnas para que no se peguen */


  gap: 30px;


}


.feature-column {


  /* Cada columna ocupa el mismo espacio de forma flexible */


  flex: 1;


  /* Estilos opcionales para la tarjeta de cada columna */


  padding: 20px;


  background-color: #fff;
  /* Fondo blanco */


  border-radius: 8px;


  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);


  text-align: left;
  /* Centra el texto y el título */


}


.column-title {


  /* Estilos para el título */


  font-size: 1.5rem;


  margin-bottom: 10px;


  font-weight: bold;


}


.column-text {


  /* Estilos para el párrafo */


  font-size: 1rem;


  color: #555;


  line-height: 1.6;


}


/* --- Estilos de la Sección de Galería (Dos Columnas) --- */


.gallery-showcase-section {


  padding: 80px 0;


  background-color: #ffffff;


}


.gallery-showcase-container {


  max-width: 90%;


  margin: 0 auto;


  display: flex;


  align-items: center;
  /* Centra el contenido verticalmente */


  gap: 50px;


}


/* Columna Derecha: Galería (más ancha) */


.showcase-left {


  flex: 2;
  /* 60% del ancho (está a la derecha) */


  position: relative;


}


/* Columna Izquierda: Contenido y Título (más angosta) */


.showcase-right {


  flex: 1;
  /* 40% del ancho (está a la izquierda) */


}


.showcase-title {


  font-size: 2rem;


  color: #333;


  margin-bottom: 20px;


}


.showcase-text {


  margin-bottom: 15px;


  line-height: 1.6;


}


/* --- Estilos del Carrusel de Imágenes --- (Sin cambios en las reglas del carrusel) */


.gallery-showcase-section {


  padding: 80px 0;


  background-color: #ffffff;


}


.gallery-showcase-container {


  max-width: 90%;


  margin: 0 auto;


  display: flex;


  align-items: center;


  gap: 50px;


}


/* Columna Derecha: Galería (más ancha) */


.showcase-left {


  flex: 1;
  /* 60% del ancho (está a la derecha) */


  position: relative;


}


/* --- Estilos del Carrusel de Imágenes (Horizontal Parcial) --- */


.carousel-display-container {


  position: relative;


  width: 100%;


  height: 400px;
  /* Altura fija para el contenedor visible */


  overflow: hidden;
  /* **CLAVE:** Oculta lo que no debe verse */


  border-radius: 8px;


  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);


}


.carousel-track-gallery {


  display: flex;


  transition: transform 0.4s ease-in-out;


  padding: 0;


  box-sizing: border-box;


  /* Evita que el track exceda la altura del contenedor principal */


  height: 100%;


}


.gallery-image {


  /* **CLAVE PARA LA VISTA PREVIA:** */


  /* Ancho de la imagen: 75% del contenedor visible */


  width: 100%;


  height: 100%;
  /* Ajustar a la altura del track (400px) */


  object-fit: cover;


  flex-shrink: 0;


  opacity: 1;


  transition: none;


}


/* --- Estilos de las Flechas debajo del Texto --- */


.text-arrows-container {


  margin-top: 25px;


  display: flex;


  gap: 10px;


}


.carousel-arrow-text {


  /* Mismos estilos base que las flechas de imagen, pero sin posición absoluta */


  background: #a1121d;
  /* Usamos tu color principal */


  color: white;


  border: none;


  padding: 10px 15px;


  font-size: 1.5rem;


  cursor: pointer;


  transition: background 0.3s;


  border-radius: 5px;


}


.carousel-arrow-text:hover {


  background: #7a0e16;
  /* Color más oscuro al pasar el ratón */


}


.carousel-arrow-text:disabled {


  background: #ccc;


  cursor: not-allowed;


}


/* --- Estilos del Modal para Imágenes --- */


/* Contenedor principal del modal */


.modal {


  display: none;
  /* Oculto por defecto */


  position: fixed;
  /* Fijo en la pantalla */


  z-index: 10000;
  /* Asegura que esté por encima de todo */


  left: 0;


  top: 0;


  width: 100%;


  height: 100%;


  overflow: auto;
  /* Permite scroll si la imagen es muy grande */


  background-color: rgba(0, 0, 0, 0.9);
  /* Fondo negro semitransparente */


  justify-content: center;
  /* Centra el contenido horizontalmente (cuando display: flex) */


  align-items: center;
  /* Centra el contenido verticalmente (cuando display: flex) */


  opacity: 0;
  /* Para la animación de entrada */


  transition: opacity 0.3s ease;


}


/* Estado activo del modal */


.modal.active {


  display: flex;
  /* Muestra el modal con flexbox */


  opacity: 1;
  /* Transición a visible */


}


/* Botón de cerrar (la 'x') */


.close-modal-btn {


  position: absolute;


  top: 20px;


  right: 35px;


  color: #f1f1f1;


  font-size: 40px;


  font-weight: bold;


  transition: 0.3s;


  cursor: pointer;


}


.close-modal-btn:hover,


.close-modal-btn:focus {


  color: #bbb;


  text-decoration: none;


}


/* Contenido de la imagen dentro del modal */


.modal-content {


  margin: auto;


  display: block;


  max-width: 90%;
  /* Limita el ancho máximo */


  max-height: 90%;
  /* Limita la altura máxima */


  object-fit: contain;
  /* Asegura que la imagen se vea completa sin cortar */


  border-radius: 8px;
  /* Opcional: bordes redondeados para la imagen del modal */


}


/* Flechas de navegación dentro del modal */


.prev-modal-arrow,


.next-modal-arrow {


  cursor: pointer;


  position: absolute;


  top: 50%;


  width: auto;


  padding: 16px;


  margin-top: -22px;


  color: white;


  font-weight: bold;


  font-size: 20px;


  transition: 0.6s ease;


  border-radius: 0 3px 3px 0;


  user-select: none;


  background-color: rgba(0, 0, 0, 0.5);
  /* Fondo oscuro para las flechas */


}


.next-modal-arrow {


  right: 0;


  border-radius: 3px 0 0 3px;


}


.prev-modal-arrow {


  left: 0;


  border-radius: 0 3px 3px 0;


}


.prev-modal-arrow:hover,


.next-modal-arrow:hover {


  background-color: rgba(0, 0, 0, 0.8);


}


.eventos {


  margin: 14% auto;


}


/* Columnas */


.column-left,


.column-right {


  flex: 1;


}


/* Contenido de la izquierda */


.column-left h2 {


  font-size: 2rem;


  margin-bottom: 3rem;


}


.column-left p {


  margin-bottom: 1.5rem;


  line-height: 1.6;


  font-size: 16px;


}


.btn-generico {
  padding: 0.75rem 1.5rem;
  background: #E4161B;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  display: inline-block;
}


/* Imagen */


.column-right img {


  width: 100%;


  height: auto;


  border-radius: 10px;


  display: block;


}


/* Contenedor principal con Flexbox */


.column-left img {


  width: 100%;


  height: auto;


  border-radius: 10px;


  display: block;


}


/* Contenido de la derecha */


.column-right h2 {


  font-size: 2rem;


  margin-bottom: 3rem;


}


.column-right p {


  margin-bottom: 1.5rem;


  line-height: 1.6;


  font-size: 16px;


}


.btn {


  padding: 0.75rem 1.5rem;


  background: #007bff;


  color: white;


  text-decoration: none;


  border-radius: 5px;


  display: inline-block;


}


/* Fondo tipo Hero con efecto Parallax */


.hero-section {


  position: relative;


  height: 100vh;


  background-image: url('../img/img-catalogo.png');
  /* usa tu imagen */


  background-size: cover;


  background-position: center;


  display: flex;


  align-items: center;


  justify-content: center;


  overflow: hidden;


}


.distribuidor-section {


  margin-top: 22%;


  position: relative;


  height: 100vh;


  background-image: url('../img/img-distribuidor.jpg');
  /* usa tu imagen */


  background-size: cover;


  background-position: center;


  display: flex;


  align-items: center;


  justify-content: center;


  overflow: hidden;


}


.overlay-section {


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background: rgba(6, 6, 6, 0.59);


  z-index: 2;


  display: block;


}


.overlay {


  position: fixed;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background: rgba(0, 0, 0, 0.5);
  /* Oscuro con transparencia */


  z-index: 9;


  display: none;
  /* Oculto por defecto */


}


.hero-content {


  position: relative;


  z-index: 2;


  color: #fff;


  text-align: center;


  opacity: 0;


  transform: translateY(30px);


  transition: opacity 1s ease, transform 1s ease;


}


.hero-content.visible {


  opacity: 1;


  transform: translateY(0);


}


.hero-content h1 {


  font-size: 3rem;


  margin-bottom: 1rem;


  color: #fff;


}


.hero-content p {


  font-size: 1.25rem;


  margin-bottom: 2rem;


}


.hero-btn {


  display: inline-block;


  background: #a1121d;


  color: #fff;


  padding: 0.75rem 1.5rem;


  border-radius: 30px;


  text-decoration: none;


  font-weight: bold;


  transition: background 0.3s;


}


.hero-btn:hover {


  background: #e64400;


}


/* === Contenedor principal del carrusel === */


.carousel-container {
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: 7% auto;
  padding: 20px 40px;
  /* Espaciado lateral */
  box-sizing: border-box;
  min-height: 200px;
}

.carousel-container h2 {
  text-align: center;
  margin: 3% auto;
  font-size: 2.5rem;
  color: #000000d4;
}

/* === Botones de flecha === */

.carousel-arrows-top-right {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: calc(100% - 30px);
  max-width: 95%;
  padding: 0 15px;
  box-sizing: border-box;
  top: 60%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-arrow {
  background-color: #7c7c7c;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
  background-color: #c01216;
  transform: scale(1.1);
}

.carousel-arrow:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: scale(1);
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

/* === Pista del carrusel === */
.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
  /* Espaciado entre columnas */
}

/* === Elemento individual del carrusel === */
.carousel-item {
  flex: 0 0 calc(100% / 4 - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.product-circle {
  width: 190px;
  height: 190px;
  background-color: #f8f8f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #eee;
  transition: border-color 0.3s ease;
}

.carousel-item:hover .product-circle {
  border-color: #c01216;
}

.product-circle img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.carousel-item:hover .product-circle img {
  transform: scale(1.1);
}

.carousel-item .logo {
  margin-top: 20px;
  width: 50%;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.carousel-item:hover .logo {
  filter: grayscale(0%);
  opacity: 1;
}


.section-gallery h2 {


  text-align: center;


}


.gallery {


  display: grid;


  grid-template-columns: repeat(3, 1fr);


  gap: 10px;


  padding: 20px;


}


.gallery img {


  width: 100%;


  height: 40vh;


  object-fit: cover;


  border-radius: 6px;


  cursor: pointer;


  transition: transform 0.3s ease;


}


.gallery img:hover {


  transform: scale(1.03);


}


/* Modal personalizado */


.lightbox {


  display: none;


  position: fixed;


  z-index: 1000;


  left: 0;


  top: 0;


  width: 100%;


  height: 100%;


  overflow: hidden;


  background-color: rgba(0, 0, 0, 0.8);


  display: flex;


  justify-content: center;


  align-items: center;


  opacity: 0;


  pointer-events: none;


  transition: opacity 0.3s ease;


}


.lightbox.show {


  opacity: 1;


  pointer-events: auto;


}


.lightbox img {


  max-width: 90%;


  max-height: 90%;


  border-radius: 8px;


}


.close-btn-modal {


  position: absolute;


  top: 20px;


  right: 35px;


  color: #fff;


  font-size: 40px;


  font-weight: bold;


  cursor: pointer;


  transition: 0.3s;


  user-select: none;


}


.close-btn-modal:hover,


.close-btn-modal:focus {


  color: #bbb;


  text-decoration: none;


}


.lightbox-arrow {


  position: absolute;


  top: 50%;


  transform: translateY(-50%);


  background-color: rgba(255, 255, 255, 0.2);


  color: white;


  border: none;


  padding: 15px;


  cursor: pointer;


  font-size: 2em;


  user-select: none;


  transition: background-color 0.3s ease;


  z-index: 1001;


  border-radius: 5px;


  line-height: 1;


}


.lightbox-arrow:hover {


  background-color: rgba(255, 255, 255, 0.4);


}


.lightbox-arrow.prev {


  left: 15px;


}


.lightbox-arrow.next {


  right: 15px;


}


.lightbox-arrow:disabled {


  opacity: 0.5;


  cursor: not-allowed;


  background-color: rgba(255, 255, 255, 0.1);


}


/* Contenedor del grid */


.brand-grid {


  width: 70%;


  margin: 5% auto;


  display: grid;


  grid-template-columns: repeat(3, 1fr);


  gap: 30px;


  padding: 40px 20px;


}


/* Tarjeta de marca */


.brand-card {


  display: flex;


  flex-direction: column;


  align-items: center;


  background-color: #1216181f;


  border-radius: 10px;


  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);


  padding: 20px;


  transition: transform 0.3s ease;


}


.brand-card:hover {


  transform: translateY(-5px);


}


/* Imagen de producto */


.brand-product {


  width: 75%;


  height: auto;


  object-fit: cover;


  border-radius: 6px;


}


/* Logo de marca */


.brand-logo {


  width: 75%;


  height: auto;


  margin: 40px 0 10px;


}


/* Botón */


.brand-btn {


  display: none;


  padding: 10px 20px;


  background-color: #E11F1C;


  color: #fff;


  text-decoration: none;


  border-radius: 50px;


  font-size: 14px;


  transition: background 0.3s ease;


}


.brand-btn:hover {


  background-color: #ff0000;
  /* Puedes personalizar el color */


}


.brand-highlight {


  grid-column: span 2;


  background-image: url('../img/img-catalogo.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  color: #fff;


  border-radius: 10px;


  padding: 30px 20px;


  text-align: center;


  display: flex;


  flex-direction: column;


  justify-content: center;


  position: relative;


  z-index: 1;


}


/* Para oscurecer el fondo y mejorar contraste del texto */


.brand-highlight::before {


  content: '';


  position: absolute;


  inset: 0;


  background-color: rgba(0, 0, 0, 0.5);
  /* Sombra negra semitransparente */


  z-index: -1;


  border-radius: 10px;


}


.brand-highlight .brand-btn {


  width: auto;


  margin: 20px auto;


  padding: 12px 24px;


  background-color: #a1121d;


  color: #fff;


  text-decoration: none;


  border-radius: 50px;


  font-size: 15px;


  transition: background 0.3s ease;


  display: inline-block;


}


.brand-highlight .brand-btn:hover {


  background-color: #cc0000;


}


.brand-highlight h2 {


  color: #fff;


  font-size: 24px;


  margin-bottom: 10px;


}


.brand-highlight p {


  font-size: 16px;


  opacity: 0.9;


}


.inicio-hero {


  background-image: url('../img/nosotros_banner.png');
  /* Cambia la ruta */


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  min-height: 70vh;


  display: flex;


  align-items: center;


  justify-content: center;


  text-align: center;


  padding: 40px 20px;


  color: white;


  position: relative;


}


.catalogo-hero {


  background-image: url('../img/productos-catalogo.png');
  /* Cambia la ruta */


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  min-height: 25vh;


  display: flex;


  align-items: center;


  justify-content: center;


  text-align: center;


  padding: 40px 20px;


  color: white;


  position: relative;


}


.catalogo-hero-content {


  z-index: 1;


}


.contact-section {


  padding: 80px 0;


  background-color: #f8f8f8;


}


.contact-container {
  max-width: 90%;
  margin: 5% auto;
  display: flex;
  gap: 40px;
  /* Espacio entre las dos columnas principales */
  align-items: flex-start;
  /* Alinea las columnas arriba */
}


.contacto-hero {
  background-image: url('../img/img-nosotros-2.png');
  /* Cambia la ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 20px;
  color: white;
  position: relative;
}


.contacto-hero-content {


  z-index: 1;


}


.parametros-hero {


  background-image: url('../img/img-parametros.png');
  /* Cambia la ruta */


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  min-height: 30vh;


  display: flex;


  align-items: center;


  justify-content: center;


  text-align: center;


  padding: 40px 20px;


  color: white;


  position: relative;


}


.tonos-hero {


  background-image: url('../img/img-tono-audio.png');
  /* Cambia la ruta */


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  min-height: 30vh;


  display: flex;


  align-items: center;


  justify-content: center;


  text-align: center;


  padding: 40px 20px;


  color: white;


  position: relative;


}


.software-hero {


  background-image: url('../img/img-apps.png');
  /* Cambia la ruta */


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  min-height: 30vh;


  display: flex;


  align-items: center;


  justify-content: center;


  text-align: center;


  padding: 40px 20px;


  color: white;


  position: relative;


}


.software-hero::before,


.tonos-hero::before,


.parametros-hero::before,


.catalogo-hero::before,


.contacto-hero::before {


  content: '';


  position: absolute;


  inset: 0;


  background-color: rgba(0, 0, 0, 0.5);
  /* Overlay oscuro para mejor contraste */


  z-index: 1;


}


.inicio-hero::before {


  content: '';


  position: absolute;


  inset: 0;


  background-color: rgba(0, 0, 0, 0.5);
  /* Overlay oscuro para mejor contraste */


  z-index: 1;


}


.software-hero-content,


.tonos-hero-content,


.parametros-hero-content,


.inicio-hero-content,


.catalogo-hero,


.contacto-hero {


  position: relative;


  z-index: 2;


}


.software-hero h1,


.tonos-hero h1,


.parametros-hero h1,


.catalogo-hero h1,


.contacto-hero h1 {
  font-size: 2.5rem;
  margin-top: 20%;
  color: #fff;
}

.inicio-hero h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.software-hero p,
.tonos-hero p,
.parametros-hero p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}


.catalogo-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  padding: 20px;
}


.filtros select {
  width: 100%;
  margin-bottom: 10px;
}


.productos {


  display: grid;


  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));


  gap: 20px;


}


.producto {


  border: 1px solid #ddd;


  padding: 15px;


  border-radius: 8px;


  background: #fff;


  text-align: center;


}


.producto img {


  max-width: 100%;


  height: 160px;


  object-fit: cover;


}


.apps-container {


  width: 80%;


  display: grid;


  grid-template-columns: repeat(4, 1fr);
  /* 4 columnas */


  grid-template-rows: auto auto;


  gap: 40px;


  margin: 10% auto;


}


.app-card {


  background-color: #ffffff;


  padding: 15px;


  text-align: center;


  border-radius: 12px;


  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);


  opacity: 0;


  transform: translateY(30px);


  animation: fadeUp 0.6s ease forwards;


}


/* Animación: cada tarjeta sube y aparece */


@keyframes fadeUp {


  to {


    opacity: 1;


    transform: translateY(0);


  }


}


/* Agregar retraso en cascada */


.app-card:nth-child(1) {
  animation-delay: 0.1s;
}


.app-card:nth-child(2) {
  animation-delay: 0.2s;
}


.app-card:nth-child(3) {
  animation-delay: 0.3s;
}


.app-card:nth-child(4) {
  animation-delay: 0.4s;
}


.app-card:nth-child(5) {
  animation-delay: 0.5s;
}


.app-card:nth-child(6) {
  animation-delay: 0.6s;
}


.app-card:nth-child(7) {
  animation-delay: 0.7s;
}


.app-card img {


  width: 50%;


  height: auto;


  margin-bottom: 10px;


}


.app-card h4 {


  font-size: 1.1em;


  margin: 10px 0;


}


.app-card a {


  display: inline-block;


  padding: 8px 16px;


  background: #e4161b;


  color: #fff;


  text-decoration: none;


  border-radius: 30px;


  font-size: 14px;


}


.app-card button:hover {


  background-color: #0056b3;


}


/* Posicionar los últimos 3 elementos en la segunda fila */


.apps-container>.app-card:nth-child(5) {


  grid-column: 1;


}


.apps-container>.app-card:nth-child(6) {


  grid-column: 2;


}


.apps-container>.app-card:nth-child(7) {


  grid-column: 3;


}


/* Estilos generales del formulario y contenedor */


.catalog-container {


  display: flex;


  gap: 20px;


  padding: 20px;


}


.filter-column {


  width: 250px;


  background: #f5f5f5;


  padding: 15px;


  border-radius: 10px;


}


.products-column {


  flex: 1;


}


.products-grid {


  display: grid;


  grid-template-columns: repeat(4, 1fr);


  gap: 20px;


}


/* Mostrar la tarjeta con animación */


.thank-you-card.visible {


  transform: translateY(0);


  opacity: 1;


  pointer-events: auto;


}


/* Estilos para filtro de productos */


.container-filter {
  width: 90%;
  margin: 7% auto;
  display: flex;
  gap: 20px;
  padding: 0;
  flex-wrap: wrap;
}

.left-column {
  flex: inherit;
  border: none !important;
  padding: 10px;
  background: white;
  height: 100%;
  overflow-y: auto;
  position: relative;
  transition: left 0.3s ease;
  border-radius: 8px;
}

.buttons-container {
  display: block !important;
}

.buttons-container button {
  padding: 10px 20px;
  color: fff;
  font-size: 12px;
  font-weight: 300;
  border: none;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.right-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

#filterToggle {
  min-width: 140px;
  display: none;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.product-card-wrapper {
  display: flex;
  width: 100%;
  /* Evita que el wrapper se desborde */
  min-width: 0;
  margin: 10% 0;
}

.product-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
}

#productContainer {
  display: grid;
  /* Usamos minmax(0, 1fr) para obligar a que midan exactamente lo mismo */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  align-items: stretch;
}

#resultsCount {
  font-size: 14px !important;
  padding: 0 !important;
  font-weight: 300;
  color: #000;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

#resultsCountContainer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.mobile-filter-floating {
  position: fixed;
  right: 20px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;

  /* En lugar de display: none, usamos estas 3 para que permita animar */
  display: flex;
  visibility: hidden;
  opacity: 0;

  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
  cursor: pointer;

  /* Inicia fuera de la pantalla a la derecha */
  transform: translateX(80px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==========================================
   ESTILOS DEL SELECTOR (BOTONES)
   ========================================== */
.bi.bi-grid-3x3-gap-fill,
.bi.bi-list {
  font-size: 18px;
}

.view-switcher {
  display: flex;
  gap: 20px !important;
}

.view-btn {
  background: #ffffff;
  border: 1px solid #dddddd;
  color: #333333;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Estado cuando el botón está seleccionado */
.view-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.view-btn:hover:not(.active) {
  background: #f5f5f5;
}

/* ==========================================
   TRANSFORMACIÓN A VISTA DE LISTA
   ========================================== */

/* 1. Cambiamos el contenedor de Grid a Flex Vertical */
#productContainer.list-view {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none;
}

/* 2. Forzamos a que cada tarjeta ocupe el 100% de ancho */
#productContainer.list-view .product-card-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: auto;
  border-bottom: 1px solid #00000040;
}

/* 3. Reorganizamos la tarjeta de vertical a horizontal */
#productContainer.list-view .product-card {
  display: flex !important;
  flex-direction: row !important;
  /* Alinea imagen y texto de lado */
  align-items: center;
  text-align: left;
  padding: 20px 0;
  gap: 25px;
}

/* 4. Ajuste de imagen en modo lista */
#productContainer.list-view .product-image {
  width: 180px !important;
  height: auto;
  margin-bottom: 0;
  flex-shrink: 0;
  /* Evita que la imagen se aplaste */
}

/* 5. Ajuste de logos y textos en modo lista */
#productContainer.list-view .product-image-logo {
  position: relative;
  top: 0;
  right: 0;
  width: 60px;
  margin-left: auto;
  /* Empuja el logo al extremo derecho */
}

#productContainer.list-view .product-info {
  flex: 1;
  /* El texto toma todo el espacio sobrante */
}

#floating-filter-button {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0;
  transition: all 0.4s ease;
  /* Mejorado para suavidad */
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: none !important;
  border: none !important;
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Imagen */
.product-card img {
  width: 95% !important;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 10px auto;
  height: auto;
  object-fit: contain;
}

.product-title {
  font-size: 14px;
  font-weight: 600 !important;
  color: #000000b5;
  margin: 15px 0;
  flex-grow: 1;
  display: block;
  /* Volvemos a bloque normal para ver todo */
  line-height: 1.4;
  overflow: visible;
  /* Aseguramos visibilidad completa */
}

.product-sku {
  font-size: 25px;
  text-align: left;
  color: #888;
  margin-top: auto;
  padding-bottom: 5px;
  font-weight: bold;
}

.product-image-logo {
  max-height: 25px;
  width: auto;
  margin: 5px auto 0;
  object-fit: contain;
}


/* imagen logo */


img.product-image-logo {


  max-width: 50%;


  height: auto;


  margin: 0 20px;

  display: none !important;


}


/* SKU */


.product-card .product-sku {
  font-size: 14px;
  color: #000;
  margin: 10px 15px 0px 15px;
}

/* Título */
.product-card .product-title {
  font-size: 13px;
  color: #000000b5;
  margin: 0px 15px 10px 15px;
  text-align: left;
  text-transform: uppercase;
}

.accordion-section {
  margin-bottom: 15px;
  border-bottom: 1px solid #00000052;
  padding-bottom: 20px;
}

.accordion-header {
  font-family: "LinearGroteskFuente", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  font-size: 14px;
  font-weight: bold;
}

.accordion-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

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

.accordion-content.active {
  max-height: 500px !important;
  /* O ajusta según el contenido */
  padding-right: 5px;
}

.accordion-content::-webkit-scrollbar {
  width: 6px;
}

.accordion-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.accordion-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
  background: #ffa500;
}

.checkbox {
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  margin: 5%;
}

.ver-mas-btn {
  margin-top: 10px;
  background-color: transparent;
  border: none;
  color: #007BFF;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  padding: 0;
}

.ver-mas-btn:hover {
  text-decoration: underline;
}

.scroll-productos-container {
  max-height: 250px;
  /* Ajusta la altura que desees */
  overflow-y: auto;
  padding: 5px;
}

#productoFilter div {
  scrollbar-width: thin;
}

#productoFilter div::-webkit-scrollbar {
  width: 6px;
}

#productoFilter div::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 3px;
}


/* boton movil filtro */


.btn-modern {
  display: none;
  font-size: 13px;
  font-weight: 300;
  background-color: #fff;
  color: black;
  border: none;
  padding: 10px 15px;
  margin: 0 !important;
  cursor: pointer;
  width: 100%;
  border-radius: 50px;
  transition: background-color 0.3s;
  border: 1px solid #ccc !important;
  text-transform: uppercase;
}

.pdf-download-btn {
  display: none;
  width: auto;
  /* Importante: evita que ocupe todo el ancho */
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  color: #ffffff;
  background: #a2121d;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 15px;
  margin-bottom: 10px;
  margin-right: auto;
  /* Esto empuja el botón hacia la derecha */
  padding: 5px;
}

.bi-file-earmark-pdf-fill,


.bi-funnel-fill {


  font-size: 19px;


  color: #ffffff;


}


.close-filter-btn {


  display: none;


  font-size: 35px;


  color: #000;


  background: none;


  border: none;


  border-radius: 4px;


  cursor: pointer;


  margin-bottom: 10px;


  width: auto;
  /* Importante: evita que ocupe todo el ancho */


  margin-left: auto;
  /* Esto empuja el botón hacia la derecha */


}


.overlay-filtro {


  position: fixed;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 99;


  display: none;


}


#showProductsBtn {


  margin-top: 0;


  padding: 10px 20px;


  background-color: #222;


  color: #fff;


  border: none;


  border-radius: 5px;


  cursor: pointer;


}


#showProductsBtn:hover {


  background-color: #444;


}

.clear-filter-btn {
  display: none;
  background-color: #fff;
  color: black;
  border: none;
  padding: 10px 15px;
  margin: 10px 0;
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: 1px solid #ccc !important;
}

.clear-filter-btn:hover {
  background-color: #000;
  color: #fff;
}

.filter-label {
  display: flex;
  align-items: center;
  padding: 3px 10px;
  margin-bottom: 4px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  transition: background 0.2s;
}

.filter-label:hover {
  background-color: #f8f8f8;
}

.filter-checkbox {
  margin-right: 10px;
  accent-color: #b61216;
  /* Cambia el color del check al naranja Protech */
}

.filter-label:has(input:checked) {
  background-color: #04040408;
  /* Color naranja muy suave */
  font-weight: bold;
}

.filter-label input {
  margin-right: 6px;
  /* Espacio entre el check y el texto */
}

/* Pagination Inicio */

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  min-width: 200px;
}

.pagination-container span {
  display: flex;
  padding: 7px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #777;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-container span:hover {
  background-color: #f0f0f0;
  color: #333;
}

.pagination-container span.active {
  background-color: #1a1a1a !important;
  color: #fff;
  font-weight: 600;
}

.pagination-container .page-nav {
  color: #000;
  font-size: 15px;
}

.pagination-container .page-nav:hover {
  background-color: transparent;
  transform: scale(1.1);
}

.pagination-container .dots {
  cursor: default;
  color: #ccc;
  width: 20px;
}

.pagination-container .dots:hover {
  background: transparent;
}

/* Pagination Fin */


.no-results {
  text-align: center;
  padding: 40px 20px;
  font-size: 18px;
  color: #555;
}

.product-detail-wrapper {
  margin-top: 5%;


  padding: 60px 0;


  background-color: #ffffff;


}


.product-detail-container {


  max-width: 90%;


  margin: 0 auto;


  display: flex;


  gap: 40px;


}


.product-image-column {


  flex: 1;


}


/*.product-image-column img {


  width: 100%;


  max-width: 80%;


  height: auto;


  border-radius: 8px;


}*/


.product-info-column {


  flex: 1;


  padding-top: 15px;


}


.product-info-column h1 {


  margin-top: 0;


}


.product-info-column .sku {


  font-weight: bold;


  color: #555;


  margin-top: 10px;


  margin-bottom: 10px;


}


.product-info-column pre {


  font-size: 15px;


  line-height: 1.5;


  display: block;


  margin-block-end: 1em;


  margin-inline-start: 0px;


  margin-inline-end: 0px;


  unicode-bidi: isolate;


  white-space: pre-line;


}


.product-description {


  font-family: "LinearGroteskFuente", sans-serif;


  font-size: 18px;


  line-height: 30px;


  font-weight: 400;


  color: #737373;


}


.description pre {


  font-size: 1.1rem;


  line-height: 1.5;


  display: block;


  margin-block-end: 1em;


  margin-inline-start: 0px;


  margin-inline-end: 0px;


  unicode-bidi: isolate;


  white-space: pre-line;


  margin-top: 5%;


}


/*.image-gallery {


    display: flex;


    flex-direction: column; 


    align-items: center;


    width: 100%;


}*/


#mainImage {


  width: 100%;


  height: auto;


  display: block;


  object-fit: contain;


  border: 1px solid #e0e0e0;


}


.thumbnails-container {


  display: flex;


  gap: 10px;


  margin-top: 15px;


  padding: 10px 0;


  max-width: 100%;


  /*overflow-x: auto;*/


  justify-content: center;


}


.thumbnail {


  width: 80px;


  height: 80px;


  object-fit: cover;


  cursor: pointer;


  border: 2px solid #ccc;


  border-radius: 4px;


  transition: all 0.2s ease;


  flex-shrink: 0;


}


.thumbnail:hover,
.thumbnail.active {


  border-color: #007bff;


  transform: scale(1.05);


}


/* Estilos botón lupa */


.product-image-column {


  position: relative;


}


.specs-table {


  width: 100%;


  border-collapse: collapse;


  margin-top: 25px;


  font-size: 0.95rem;


}


.specs-table tr:nth-child(even) {


  background-color: #f8f8f8;


}


.specs-table tr:hover {


  background-color: #f0f0f0;


}


.specs-table td {


  padding: 10px 15px;


  border-bottom: 1px solid #eee;


  text-align: left;


  /* Reglas clave para la solución: */


  word-break: break-word;


  overflow-wrap: break-word;


  word-wrap: break-word;


}


.spec-key {


  font-weight: 600;


  color: #333;


  width: 35%;


}


.spec-value {


  color: #555;


  width: 65%;


}


/* Estilo para la miniatura de video (usamos un div con imagen de fondo) */


.video-thumbnail {


  position: relative;


  background-size: cover;


  background-position: center;


  background-color: #000;


  display: flex;


  justify-content: center;


  align-items: center;


  border: 2px solid transparent;


}


/* Icono de Play */


.video-thumbnail i {


  color: #fff;


  font-size: 20px;


  opacity: 0.8;


}


/* Contenedor del video incrustado (para que sea responsive 16:9) */


.video-responsive {


  position: relative;


  padding-bottom: 56.25%;
  /* Relación 16:9 */


  height: 0;


  overflow: hidden;


  width: 100%;


}


.video-responsive iframe {


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  border-radius: 8px;


}


/* Contenedor principal para la imagen y el iframe */


.main-image-container {


  width: 100%;


  /* Asegura que el contenedor pueda albergar la imagen o el video */


}


.zoom-button {


  position: absolute;


  bottom: 15px;


  right: 15px;


  background: rgba(0, 0, 0, 0.6);


  color: white;


  border: none;


  border-radius: 50%;


  padding: 10px;


  cursor: pointer;


  font-size: 20px;


}


.close {


  position: absolute;


  top: 20px;


  right: 40px;


  color: #fff;


  font-size: 40px;


  font-weight: bold;


  cursor: pointer;


}


.close:hover,


.close:focus {


  color: #bbb;


  text-decoration: none;


  cursor: pointer;


}


/* Estilos básicos para la cuadrícula y las tarjetas de producto */


.category-results-container {


  width: 75%;


  margin: 10% auto;


  padding: 20px;


  font-family: Arial, sans-serif;


}


#categoryTitle {


  text-align: center;


  margin-bottom: 30px;


  color: #fff;


  font-size: 2.5rem;


}


.product-grid {


  display: grid;


  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));


  gap: 20px;


  margin-bottom: 30px;


}


.product-card-category {


  width: 80%;


  margin: 0 auto;


  border: 1px solid #ddd;


  border-radius: 8px;


  padding: 15px;


  text-align: left;


  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);


  display: flex;


  flex-direction: column;


  justify-content: space-between;
  /* Para que la imagen, título y precio se distribuyan */


}


.product-card-category a {


  text-decoration: none;


  color: inherit;


  display: block;


  height: 100%;


}


.product-card-category img {


  width: 100%;


  height: 25vh;
  /* Altura fija para las imágenes */


  object-fit: contain;
  /* Asegura que la imagen se ajuste sin distorsionarse */


  margin-bottom: 10px;


}


.product-card-category h3 {


  font-size: 1rem;


  margin: 10px 0;


  color: #333;


}


.product-card-category p {


  font-size: 0.9em;


  color: #666;


  margin-bottom: 5px;


}


/* Estilos de Paginación */


.pagination {


  display: flex;


  justify-content: center;


  align-items: center;


  margin-top: 30px;


}


.pagination button {


  background-color: #007bff;


  color: white;


  border: none;


  padding: 8px 15px;


  margin: 0 5px;


  border-radius: 5px;


  cursor: pointer;


  font-size: 1em;


  transition: background-color 0.3s ease;


}


.pagination button:hover:not(:disabled) {


  background-color: #0056b3;


}


.pagination button:disabled {


  background-color: #cccccc;


  cursor: not-allowed;


}


.pagination span {


  font-size: 1em;


  margin: 0 10px;


  color: #333;


}


/* Mensajes de estado */


.status-message {


  text-align: center;


  font-size: 1.1em;


  color: #555;


  margin-top: 50px;


}


.acordeon-seccion-accesorios {


  margin-bottom: 15px;


  border: 1px solid #eee;


  border-radius: 5px;


  overflow: hidden;


}


.acordeon-header-accesorios {


  font-size: 18px;


  background-color: #f9f9f9;


  padding: 15px;


  cursor: pointer;


  display: flex;


  justify-content: space-between;


  align-items: center;


  border-bottom: 1px solid #ddd;


  font-weight: bold;


  color: #000;


  font-family: "LinearGroteskFuente", sans-serif;


}


.acordeon-header-accesorios:hover {


  background-color: #f0f0f0;


}


.acordeon-icono-accesorios {


  font-size: 1.2em;


  transition: transform 0.3s ease;


}


.acordeon-contenido-accesorios {


  max-height: 0;


  overflow: hidden;


  transition: max-height 0.3s ease-out, padding 0.3s ease-out;


  padding: 0 15px;


  background-color: #fff;


}


.acordeon-contenido-accesorios.active {


  padding-top: 10px;


  padding-bottom: 10px;


}


.marca-slider-container {


  position: relative;


  width: 100%;


  height: 40vh;


  margin: 0 auto;


  overflow: hidden;


}


.marca-slider-container h1 {


  position: absolute;


  top: 50%;


  left: 50%;


  transform: translate(-50%, -50%);


  z-index: 3;


  color: #fff;


  /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/


  font-size: 2.5rem;


  text-align: center;


  padding: 10px;


}


.marca-slider-slide {


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 3;


  opacity: 0;


  transform: scale(1.0);


  transition: opacity 1s ease-in-out, transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);


}


.marca-slider-slide::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 52%);


  z-index: 2;


  opacity: 0;


  transition: opacity 1s ease-in-out;


}


.marca-slider-active::before {


  opacity: 1;


}


.marca-slider-active {


  opacity: 1;


  transform: scale(1.2);


}


.marca-slider-slide img {


  width: 100%;


  height: 35vh;


  object-fit: cover;


}


.contenedor-principal-team-evox {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/foto-slider-2.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-team-evox::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-team-audiolabs {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-marca-audiolabs.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-team-audiolabs::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-team-treo {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-treo.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-team-treo::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-team-rockseries {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-rockseries.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-team-rockseries::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-marca-evox {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-evox-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-evox::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 63%);


  z-index: 1;


}


.contenedor-principal-marca-rockseries {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-rockseries-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-rockseries::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 63%);


  z-index: 1;


}


.contenedor-principal-marca-audiolabs {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-audiolabs-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-audiolabs::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 63%);


  z-index: 1;


}


.contenedor-principal-marca-treo {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-marca-treo.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-treo::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 63%);


  z-index: 1;


}


.contenedor-principal-marca-atomic {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-atomic-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-atomic::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 63%);


  z-index: 1;


}


.contenedor-principal-marca-mtx {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/portadas/portada-mtx.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-mtx::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 63%);


  z-index: 1;


}


.contenedor-principal-marca-nakamichi {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-marca-nakamichi.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-nakamichi::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgb(0 0 0 / 63%);


  z-index: 1;


}


.imagen-centrada {


  max-width: 12%;


  margin-top: 6%;


  max-height: 80%;


  object-fit: contain;


  position: relative;


  z-index: 2;


}


.contenedor-principal-marca-evox-producto {


  position: relative;


  width: 100%;


  height: 30vh;


  background-image: url('../img/img-evox-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-evox-producto::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-marca-rockseries-producto {


  position: relative;


  width: 100%;


  height: 20vh;


  background-image: url('../img/img-rockseries-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-rockseries-producto::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-marca-audiolabs-producto {


  position: relative;


  width: 100%;


  height: 20vh;


  background-image: url('../img/img-audiolabs-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-audiolabs-producto::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-marca-mtx-producto {


  position: relative;


  width: 100%;


  height: 20vh;


  background-image: url('../img/img-mtx-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-mtx-producto::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-marca-treo-producto {


  position: relative;


  width: 100%;


  height: 20vh;


  background-image: url('../img/img-marca-treo.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-treo-producto::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-marca-atomic-producto {


  position: relative;


  width: 100%;


  height: 20vh;


  background-image: url('../img/img-atomic-marca.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-atomic-producto::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-marca-nakamichi-producto {


  position: relative;


  width: 100%;


  height: 20vh;


  background-image: url('../img/img-marca-nakamichi.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-marca-nakamichi-producto::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


.contenedor-principal-eventos {


  position: relative;


  width: 100%;


  height: 50vh;


  background-image: url('../img/img-eventos.png');


  background-size: cover;


  background-position: center;


  background-repeat: no-repeat;


  display: flex;


  justify-content: center;


  align-items: center;


}


.contenedor-principal-eventos::before {


  content: '';


  position: absolute;


  top: 0;


  left: 0;


  width: 100%;


  height: 100%;


  background-color: rgba(0, 0, 0, 0.5);


  z-index: 1;


}


/* Eliminados estilos antiguos de marcas-flotante */


align-items: center;


}


.marcas-menu {


  list-style: none;


  padding: 0;


  margin: 0;


  position: absolute;


  bottom: 70px;


  left: 0;


  opacity: 0;


  visibility: hidden;


  transform: translateY(20px);


  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;


  background-color: #f8f9fa;


  border-radius: 8px;


  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);


}


.marcas-menu.visible {


  opacity: 1;


  visibility: visible;


  transform: translateY(0);


}


.marcas-menu li a {


  display: block;


  padding: 10px 15px;


  text-decoration: none;


  color: #333;


  white-space: nowrap;


  border-bottom: 1px solid #eee;


}


.marcas-menu li a img {


  width: 77px;


  height: 35px;


  object-fit: contain;


  display: block;


  margin: 2% auto;


}


i.icono-marcas {


  font-size: 14px;


}


.marcas-menu li:last-child a {


  border-bottom: none;


}


.marcas-menu li a:hover {


  background-color: #e9ecef;


}


.boton-flotante .icono-marcas {


  transition: transform 0.3s ease;


}


.boton-flotante.abierto .icono-marcas {


  transform: rotate(45deg);


}


/* --- Estilos del Footer Principal --- */

.main-footer {
  background-color: #1A1A1A;
  /* Fondo oscuro común para footers */
  color: #fff;
  /* Color de texto claro */
  padding: 60px 0 40px;
  /* Padding superior, inferior y cero a los lados */
}

.footer-container {
  /* Utiliza Flexbox para crear las 4 columnas */
  display: flex;
  max-width: 90%;
  margin: 0 auto;
  /* Centrar el contenedor */
  justify-content: space-between;
  /* Distribuye el espacio entre columnas */
  gap: 20px;
  /* Espacio entre columnas */
  flex-wrap: wrap;
  /* Permite que las columnas se envuelvan en pantallas pequeñas */
}


.footer-column {
  /* Hace que cada columna ocupe aproximadamente el 25% del espacio */
  flex: 1 1 200px;
  /* Flex-grow: 1, Flex-shrink: 1, Base width: 200px */
  margin-bottom: 20px;
}

.footer-title {
  /* Estilos del título (que usaste como etiqueta p) */
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  /* Usando tu color de acento */
  text-transform: uppercase;

}

/* Estilos de las listas de enlaces */

.footer-links {
  list-style: none;
  /* Elimina los puntos de la lista */
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
  /* Espacio entre enlaces apilados */
}

.footer-links a {
  color: #ccc;
  /* Color de enlace gris claro */
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}


.footer-links a:hover {
  color: #fff;
  /* Cambio de color al pasar el mouse */
}

/* Estilos específicos para la columna Síguenos (si tienes iconos, usa más CSS aquí) */


@media (min-width: 1025px) {
  #showProductsBtn {
    display: none !important;
  }

  #filterPanel {
    position: relative;
    top: 0;
    /* Ajusta según tu header o navbar */

  }


  #productContainer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .product-card {
    width: 100%;
  }

}

.whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.5s ease;
  /* Agregamos la transición de opacidad */
  color: #fff;
  font-size: 35px;
  /* Ocultamos el botón por defecto */
  opacity: 0;
  pointer-events: none;
  /* Esto evita que el botón sea clicable cuando está oculto */
}

.whatsapp-button.show {
  opacity: 1;
  pointer-events: auto;
  /* Permite hacer clic cuando el botón es visible */
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

i.bi.bi-whatsapp {
  color: #fff;
  font-size: 30px;
}


@media (max-width: 1024px) {

  .carousel-item {
    flex: 0 0 calc(100% / 3 - 20px);
  }

  .product-circle {
    width: 120px;
    height: 120px;
  }

  .carousel-arrow {
    display: block;
  }

  .container-filter {
    margin: 5% auto;
    flex-direction: column;
  }

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

  .left-column {
    position: fixed;
    top: 0;
    width: 70%;
    left: -1000px;
    height: 100%;
    z-index: 1000;
  }

  .left-column.open {
    left: 0;
  }

  #filterToggle {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .btn-modern {
    width: 100%;
    margin: 3% 0;
    display: inline-flex;
    /* CLAVE: Ahora es un flex container */
    align-items: center;
    /* Centra verticalmente el contenido */
    justify-content: center;
    /* Centra horizontalmente el contenido si hay espacio */
    gap: 8px;
    /* Espacio entre el icono y el texto */
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 300;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    color: #000;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
  }

  .btn-modern:hover {
    background-color: #E5E7EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #E5E7EB;
  }

  .btn-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .btn-modern:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }

  /* Puedes añadir un estilo específico para el icono si lo deseas */
  .btn-modern i {
    font-size: 1.1rem;
    /* Ajusta el tamaño si el icono es demasiado grande/pequeño */
  }

  img.img-filter {
    width: 18%;
  }

  .close-filter-btn {
    display: block;
  }

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

  img.product-image-logo {
    max-width: 70%;
    margin: 5px 20px;
  }

  .contenedor-principal-marca-evox,
  .contenedor-principal-marca-rockseries,
  .contenedor-principal-marca-audiolabs,
  .contenedor-principal-marca-mtx,
  .contenedor-principal-marca-treo,
  .contenedor-principal-marca-atomic,
  .contenedor-principal-marca-nakamichi {
    height: 30vh;
  }

  .carousel-container h2 {
    font-size: 1.5rem;
  }

  .pdf-download-btn {
    margin-left: 0 !important;
  }

  .product-detail-container {
    flex-direction: column;
  }

  .view-switcher {
    gap: 5px !important;
  }

  .mobile-filter-floating.active-scroll {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

}


/* Responsive: 2 columnas en tablet y móvil */

@media (max-width: 992px) {
  .hamburger {
    display: flex !important;
  }

  .nav-menu-header {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    /* Altura dinámica para móviles */
    width: 280px;
    background: #ffffff;
    flex-direction: column;
    transform: translateX(-100%);
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Easing más suave y estándar */
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Scroll suave en iPhone */
    overflow-x: hidden !important;
    /* BLOQUEO LATERAL */
    z-index: 2000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    margin: 0;
    display: flex;
    /* Asegura layout interno */
    overscroll-behavior: contain;
    /* Bloquea el scroll al llegar al final del menú */
  }

  .nav-menu-header.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .menu-list {
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin: 80px 0 40px 0;
  }

  .menu-list li a {
    padding: 25px 25px;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    display: block;
    text-align: left;
    color: #333;
    text-transform: uppercase;
    box-sizing: border-box;
    /* Previene desbordamiento por padding */
  }

  .submenu {
    position: static;
    background: #f9f9f9;
    box-shadow: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    width: 100%;
    /* Asegura que se ajuste al contenedor */
    padding: 0;
    margin: 0;
    white-space: normal;
    /* Evita que el texto cause scroll lateral */
  }

  .submenu li a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    /* Divide textos largos */
    font-weight: 400;
    margin-left: 20px;
  }

  .nav-menu-header .menu-list a.active {
    color: #000 !important;
  }

  .has-submenu.active .submenu {
    max-height: 500px;
    opacity: 1;
  }

  .menu-list li a {
    color: #000;
  }

  /* Flecha negra en móvil */
  .submenu-toggle::after {
    border-top-color: #333 !important;
  }

  .close-btn {
    display: block;
  }

  .nav-menu-header.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Si quieres que el botón de PDF y Filtrar compartan espacio */
  #resultsHeader {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

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

  .container-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .column-container {
    /* En pantallas más pequeñas, las columnas se apilan verticalmente */
    flex-direction: column;
    gap: 20px;
    /* Reducimos el espacio vertical entre ellas */
    padding: 0 15px;
    /* Pequeño padding lateral en móvil */
  }

  .gallery-showcase-container {
    /* CLAVE: Cambia la dirección de flexbox para apilar elementos */
    flex-direction: column;
    padding: 0 15px;
    /* Agrega un padding lateral en móvil */
    gap: 40px;
    /* Espacio vertical entre el texto y la galería */
  }

  /* Ambas columnas ocupan el 100% del ancho */
  .showcase-left,
  .showcase-right {
    flex: 1 1 100%;
  }

  .showcase-right {
    /* Mantenemos el margen debajo de la columna de texto */
    margin-bottom: 0;
  }

  /* 🖼️ Ajustes del Carrusel en Móvil */
  /* La imagen ocupa el 100% y eliminamos el margen de vista previa */
  .gallery-image {
    width: 100%;
    margin-right: 0;
  }

  /* Ajustamos la altura del contenedor para móviles si es necesario */
  .carousel-display-container {
    height: 300px;
    /* Una altura más adecuada para la vista móvil */
  }

  /* El contenedor de las flechas de texto se hace más grande en móvil */

  .text-arrows-container {
    justify-content: center;
    /* Centra las flechas debajo del texto */
  }

  /* Las flechas de texto también se hacen un poco más grandes para facilitar el toque */
  .carousel-arrow-text {
    padding: 12px 18px;
  }

  .footer-container {
    /* Permite que las columnas se organicen en dos filas o una sola */
    justify-content: flex-start;
    gap: 30px;
  }

  .footer-column {
    /* En pantallas más pequeñas, cada columna ocupa la mitad del ancho (45%) o el 100% */
    flex: 1 1 45%;
  }

}

/* Responsive */
@media (max-width: 768px) {

  .two-column-container {
    flex-direction: column;
    text-align: left;
  }

  .column-left,
  .column-right {
    width: 100%;
  }

  .column-left h2 {
    font-size: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

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

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

  .apps-container {
    grid-template-columns: 1fr;
  }

  .apps-container>.app-card:nth-child(5),
  .apps-container>.app-card:nth-child(6),
  .apps-container>.app-card:nth-child(7) {
    grid-column: auto;
  }

  /*#productContainer {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }*/

  #product-image {
    width: 100%;
    height: auto;
  }

  .product-image {
    height: 180px;
  }

  .search-container {
    width: 70%;
  }

  .search-input {
    font-size: 1.2rem;
  }

  .search-submit-btn {
    font-size: 1.2rem;
  }

  .lightbox-arrow {
    padding: 10px;
    font-size: 1.5em;
  }

  .close-btn {
    font-size: 30px;
    top: 10px;
    right: 20px;
  }

  .imagen-centrada {
    max-width: 40%;
    margin-top: 10%;
  }

  .contenedor-principal-team-evox,
  .contenedor-principal-team-rockseries,
  .contenedor-principal-team-audiolabs,
  .contenedor-principal-team-treo {
    height: 30vh;
  }

  .product-info-column h1 {
    font-size: 1.8rem;
  }

  .category-results-container {
    width: 90%;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));

  }

  .product-card-category img {
    height: auto;
    margin-bottom: 0px;
  }

  img.img-filter {
    width: 9%;
  }

  .product-detail-wrapper {
    max-width: 90%;
    margin: 32% auto;
  }

  .product-image-column {
    margin-bottom: 25px;
    /* Separa galería de la info */
  }

  #mainImage {
    max-height: 320px;
    /* Controla el alto de la imagen principal en móviles */
  }

  .thumbnails-container {
    flex-wrap: wrap;
    /* Permite que las miniaturas salten de línea si no caben */
    gap: 8px;
    margin-top: 10px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .product-info-column h1 {
    font-size: 1.8rem;
  }

  .product-info-column .sku {
    font-size: 0.9rem;
  }

  .product-description {
    font-size: 1rem;
    line-height: 1.5;
  }

  .results-top-bar {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  #filterToggle {
    width: 100% !important;
    min-width: unset;
    margin: 0 !important;
    padding: 8px !important;
    font-size: 13px;
    order: 2;
  }

  #resultsCount {
    text-align: left;
    width: 100%;
    order: 1;
  }

  .floating-apply-btn {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    background: white;
    border-top: 1px solid #eee;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    justify-content: center;
  }

  .floating-apply-btn .btn-modern {
    width: 100%;
    padding: 12px;
    justify-content: center;
    background-color: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Animación de entrada suave */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

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

  #floating-filter-button {
    animation: fadeInUp 0.3s ease-out;
  }

  #productContainer.list-view .product-card {
    flex-direction: column !important;
  }

}

/* === Responsive: Móvil (1 columna) === */

@media (max-width: 600px) {
  .carousel-item {
    flex: 0 0 calc(100% / 2 - 15px);
  }

  .carousel-item img {
    width: 80%;
    height: 80%;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .brand-card {
    padding: 8px;
  }

  .brand-grid {
    width: 95%;
    margin: 18% auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 10px;
  }

  .brand-product {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .brand-logo {
    width: 100%;
    height: auto;
    margin: 15px 0 10px;
  }

  .brand-highlight {
    grid-column: span 2;
    padding: 20px 10px;
  }

  .brand-highlight h2 {
    font-size: 20px;
  }

  .brand-highlight .brand-btn {
    width: auto;
  }

  .contact-section {
    margin: 15% 0;
  }

  .right-column {
    margin-top: 30px;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card .product-title {
    font-size: 15px;
  }

  .product-card {
    margin: 0;
  }

  .product-card img {
    height: auto;
  }

  .parametros-hero {
    height: 20%;
  }

  .software-hero h1,
  .tonos-hero h1,
  .parametros-hero h1,
  .catalogo-hero h1,
  .contacto-hero h1 {
    font-size: 2rem;
    margin-bottom: 0;
    margin-top: 55px;
  }

  .marca-slider-container {
    height: 30vh;
  }

  .marca-slider-container h1 {
    width: 100%;
    font-size: 2rem;
    margin-top: 23px;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    flex: 0 0 calc(100% - 10px);
    padding: 15px;
  }

  .product-circle {
    width: 200px;
    height: 200px;
  }

  .carousel-item .logo {
    width: 65%;
  }

  .nav-menu-header {
    width: 75%;
  }

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

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

  .footer-column {
    /* En móviles estrechos, las columnas ocupan el 100% y se apilan */
    flex: 1 1 100%;
  }

}

/* --- FORCED PREMIUM CTA STYLES --- */
.btn-generico,
.slide-cta,
.btn-modern,
.btn-catalogo {
  display: inline-block !important;
  padding: 18px 45px !important;
  background-color: #e3151a !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-radius: 4px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 30px rgba(227, 21, 26, 0.4) !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
  line-height: normal !important;
}

.btn-generico:hover,
.slide-cta:hover,
.btn-modern:hover,
.btn-catalogo:hover {
  background-color: #b11115 !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 35px rgba(227, 21, 26, 0.5) !important;
  color: #ffffff !important;
}

@media (max-width: 1024px) {

  .btn-generico,
  .slide-cta,
  .btn-modern,
  .btn-catalogo {
    padding: 16px 36px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 768px) {

  .btn-generico,
  .slide-cta,
  .btn-modern,
  .btn-catalogo {
    padding: 14px 28px !important;
    font-size: 13px !important;
  }
}

.section-parametros {
  width: 90%;
  margin: 10% auto;
}

.container-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: none;
  /* ocultas por defecto */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.card.visible {
  display: block;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card img {
  width: 60%;
  height: auto;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 4px;
}

.card h4 {
  font-size: 16px;
  margin: 10px 0 15px 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card a {
  display: block;
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 10px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Botón de Descarga (Primario Minimalista) */
.card a:not(.btn-cita) {
  background: transparent;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.card a:not(.btn-cita):hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Botón de Cita (Secundario) */
.card .btn-cita {
  background: transparent;
  color: #a1121d;
  border: 2px solid #a1121d;
  margin-bottom: 0;
}

.card .btn-cita:hover {
  background: #a1121d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(161, 18, 29, 0.2);
}

.btn-ver-mas,
.btn-ver-menos {
  display: block;
  margin: 5% auto;
  padding: 10px 20px;
  background: transparent;
  color: #000000;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.btn-ver-mas:hover,
.btn-ver-menos:hover {
  text-decoration: underline;
}
