/* ============================================================
   FIX TOTAL: NIVELACIÓN, TEXTO PEGADO Y FILTROS EN LÍNEA
   ============================================================ */

.buscador-interactivo {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 15px 25px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;         
  gap: 15px;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 0 auto 35px auto;
  max-width: 1280px;
}

.bloque-busqueda {
  flex: 2;
  min-width: 200px;
  position: relative;
}

/* EL NARANJA CUANDO HACES CLIC EN EL INPUT */
.input-cristal {
  height: 40px !important;
  padding: 0 10px 0 35px !important; 
  background: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none !important; /* Quitamos el azul feo del navegador */
}

.input-cristal:focus {
  border-color: #ff9800 !important; /* EL NARANJA QUE QUERÍAS */
  box-shadow: 0 0 5px rgba(255, 152, 0, 0.3);
}

.bloque-filtros {
  display: flex;
  flex: 3;
  gap: 10px;
  flex-wrap: nowrap;
}

.filtro-item {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
}

.filtro-item label {
  margin-bottom: 9px; 
  margin-left: 5px;
}

/* EL NARANJA CUANDO HACES CLIC EN EL SELECTOR */
.select-cristal {
  height: 40px !important;
  padding: 0 10px !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s;
  outline: none !important;
}

.select-cristal:focus {
  border-color: #ff9800 !important; /* EL NARANJA QUE QUERÍAS */
}

.bloque-accion {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.bloque-accion .btn-tux-base {
  height: 40px !important;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 8px;
  margin: 0;
}

.bloque-busqueda i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  z-index: 5;
}

/* ... (El resto del código de resultados y reseñas queda exactamente igual que lo tenías) ... */

#contenedor-resultados {
    margin: 30px auto;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column; 
}

.tux-acordeon {
    background: #fff !important; 
    border: 1px solid #ddd !important;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease;
}

.acordeon-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #000 !important; 
}

.nombre-software { flex: 1; font-size: 18px; }

.header-derecha {
    display: flex;
    align-items: center;
    gap: 15px;
}

.valoracion { font-weight: 700; color: #333; }

.acordeon-header::after {
    content: '+';
    font-size: 22px;
    font-weight: bold;
    margin-left: 15px;
    width: 20px;
    text-align: center;
}

.acordeon-content {
    display: none; 
    border-top: 1px solid #eee;
    background: #fff;
}

.tux-acordeon.abierto .acordeon-content {
    display: block !important; 
}

.tux-acordeon.abierto .acordeon-header::after { 
    content: '−'; 
}

.resenas-expandibles {
    width: 100%;
    box-sizing: border-box;
    display: none; 
    border-top: 1px solid #eee;
    background: #fdfdfd;
}

.resenas-contenedor-principal {
    width: 100%;
    padding: 20px;
}

.resenas-vacias-bloque {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px dashed #ccc;
    text-align: center;
}

.resenas-titulo-vacio { color: #333; margin-bottom: 5px; font-weight: bold; }
.resenas-texto-vacio { color: #777; margin-bottom: 15px; font-size: 13px; }

.resenas-tarjeta-item {
    background: #ffffff;
    display: flex;
    margin-bottom: 15px;
    border-radius: 8px;
    text-align: left;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.resenas-lateral-autor {
    width: 120px;
    padding: 15px;
    background: #f8f8f8;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.resenas-nombre-usuario { font-weight: bold; color: #333; font-size: 12px; text-align: center; }
.resenas-puntuacion-badge { 
    margin-top: 6px; 
    background: #333; 
    color: #fff; 
    padding: 3px 8px; 
    border-radius: 15px; 
    font-size: 12px; 
}

.resenas-contenido-cuerpo { padding: 20px; flex: 1; color: #333; }
.resenas-titulo-critica { margin: 0 0 8px 0; font-size: 17px; color: #000; font-weight: bold; }
.resenas-comentario-texto { font-size: 13.5px; line-height: 1; color: #555; font-style: italic; }

.resenas-grid-detalles { display: flex; gap: 10px; margin-top: 15px; }
.resenas-tag { flex: 1; padding: 8px; border-radius: 5px; font-size: 11px; font-weight: bold; text-align: center; }
.resenas-tag-pro { background: #e7f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.resenas-tag-contra { background: #fbe9e7; color: #c62828; border: 1px solid #ffccbc; }

.resenas-expandibles {
    width: 100%;
    display: none; 
    border-top: 1px solid #eee;
    background: #fdfdfd;
    box-sizing: border-box; 
}

.resenas-contenedor-principal {
    width: 100% !important;
    max-width: none !important; 
    padding: 20px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.resenas-tarjeta-item {
    background: #ffffff;
    display: flex;
    width: 100%; 
    margin-bottom: 15px;
    border-radius: 8px;
    text-align: left;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: none !important; 
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .resenas-tarjeta-item {
        flex-direction: column;
    }
    .resenas-lateral-autor {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }
}

/* ============================================================
   NUEVO CONTENEDOR DE BUSCADORES
   ============================================================ */

/* Contenedor maestro de cada sección */
.contexto-tux {
    width: 100%;
    max-width: 1280px; /* Para que coincida con el buscador */
    margin: 0 auto;
    box-sizing: border-box;
}

/* Estilo para la nueva cabecera del selector */
.cabecera-unificada-busqueda {
    padding: 30px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.selector-tux {
    /* Dimensiones forzadas */
    height: 42px !important;
    min-width: 200px !important;
    box-sizing: border-box;
    
    /* Reset de estilos del navegador */
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;

    /* Estética */
    padding: 0 35px 0 15px;
    background-color: hsl(19, 100%, 50%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);

    /* La Flecha Naranja */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23ff9800" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

/* Para que las opciones se vean negras en el desplegable */
.selector-tux option {
    background: #1a1a1a;
    color: #fff;
}