/* ================================
   ESTILOS BUSCADOR AGRO
   ================================ */

.buscador-agro-container {
    background-color: #f8f9fc;
    padding: 20px;
}

.buscador-agro-titulo {
    text-align: center;
    color: #000;
    margin-bottom: 20px;
}

/* Caja principal del buscador */
.buscador-agro-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    position: relative;
}

/* Filtros */
.buscador-agro-filtros {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

/* Botones */
.buscador-agro-btn {
    background-color: #28a745; /* Verde */
    color: #ffffff; /* Texto blanco */
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.buscador-agro-btn:hover {
    background-color: #218838; /* Verde oscuro */
}

/* Listas desplegables */
.buscador-agro-lista {
    display: none;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: absolute;
    z-index: 10;
}

.buscador-agro-lista li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.buscador-agro-lista li:hover {
    background-color: #e8f5e9; /* Verde claro */
}

/* ================================
   RESULTADOS DE PRODUCTOS
   ================================ */

#buscador-agro-resultados {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Siempre 3 columnas */
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center; /* Centra productos dentro del grid */
}

/* Tarjeta del producto */
.buscador-agro-producto {
    width: 100%;
    max-width: 280px; /* Tamaño uniforme */
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buscador-agro-producto:hover {
    transfor
