.marca-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #fafbfc;
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    padding: 18px 24px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    transition: all 0.3s ease; /* Transición unificada para suavidad */
}
.marca-btn:hover {
    box-shadow: 0 8px 24px rgba(0,120,212,0.18);
    box-shadow: 0 8px 24px rgba(0,120,212,0.18); /* Sombra azul en hover */
    transform: translateY(-4px) scale(1.05);
    border-color: #000000; /* Borde azul en hover */
}
.marca-btn.active {
    background-color: var(--color-negro); /* Fondo negro para el botón activo */
    color: var(--color-primario); /* Texto amarillo para el botón activo */
    border: 2px solid var(--color-primario); /* Borde amarillo para el botón activo */
    box-shadow: 0 8px 24px rgba(0,0,0,0.25); /* Sombra más fuerte para el botón activo */
    transform: translateY(-4px) scale(1.05); /* Mismo efecto de escala que el hover para enfatizar */
}
.marca-btn.active img {
    filter: brightness(1.5); /* Hace el logo más brillante cuando está activo */
}
.marca-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
}
.marca-btn span {
    font-size: 1.1em;
    color: #222;
    font-weight: 600;
}

.carrusel {
    max-width: 80%;
    position: relative;
    border-radius: 46px;
    overflow: hidden;
    background: transparent;
    border: 6px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 30%;
}

.carrusel-img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    margin: 0 auto;
}

.carrusel-btn {
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    padding: 12px 18px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    transition: background 0.2s;
}

#prev.carrusel-btn { left: 1px; }
#next.carrusel-btn { right: 1px; }

.carrusel-btn:hover {
    background: #ffffff;
}
.pantalla-filtro-btn {

    text-align: center;
    background: #000000;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 4px;
    cursor: pointer;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    transition: all 0.3s ease; /* Transición unificada para suavidad */
}

.pantalla-filtro-btn:hover,
.pantalla-filtro-btn.active {
    background: #222;
    color: #ffe100;
    background: var(--color-primario); /* Fondo amarillo para el botón activo/hover */
    color: var(--color-negro); /* Texto negro para el botón activo/hover */
    transform: translateY(-2px) scale(1.05);
    border-color: var(--color-negro); /* Borde negro para el botón activo/hover */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* Sombra más fuerte para el botón activo/hover */
}

#pantallas-lista {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Forzar 5 columnas en la cuadrícula */
    gap: 24px;
    justify-items: center;
    margin-top: 18px;
}

.pantalla-item {
    background: #000;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    padding: 18px 12px;
    font-size: 0.9em;
    color: #fff;
    min-width: 0;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
}

.pantalla-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pantalla-item:hover {
    box-shadow: 0 8px 24px rgba(118, 118, 118, 0.18), 0 2px 24px rgba(0,0,0,0.25);
    transform: translateY(-8px) scale(1.05);
    background: white;
    color: black;
}

.producto { display: none; }
.filtro-activo {
    border: 2px solid #000;
    border-radius: 6px;
}
.marca-img-centro {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 42px;   
    height: 42px;
    position: center;
}

/* --- NUEVO DISEÑO DE TABLA DE COMPARACIÓN --- */
.tabla-comparacion {
  width: 100%;
  margin-top: 10px;
  border-collapse: separate;
  border-spacing: 0 10px; /* Espacio vertical entre filas */

  /* === LÍNEA AÑADIDA === */
  /* Esto hace que la tabla ocupe todas las columnas del grid */
  grid-column: 1 / -1;
}

.tabla-comparacion tr {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.tabla-comparacion tr:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.tabla-comparacion th, .tabla-comparacion td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;
}

.tabla-comparacion td:first-child { 
  text-align: left; 
  font-weight: 600; 
  color: #333; 
  width: 50%; 
}

.tabla-comparacion th { 
  display: none; 
} /* Ocultamos la cabecera tradicional */