#product-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Sidebar de filtros */
#filter-sidebar {
    flex: 1 1 20%;
    min-width: 200px;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#filter-sidebar h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #333;
}

#filter-sidebar label {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
    color: #555;
}

#filter-sidebar button {
    margin-top: 15px;
    padding: 10px 15px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#filter-sidebar button:hover {
    background: #005f8d;
}

/* Contenedor de resultados */
#product-results {
    flex: 1 1 75%;
}

/* Grid de productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}


@media screen and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



.product-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-item h3 {
    font-size: 1.2em;
    margin: 10px 0 5px;
    color: #333;
}

.product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.no-products {
    font-size: 1.2em;
    color: #999;
    text-align: center;
    padding: 20px;
}


/* Estilos existentes omitidos por brevedad */

@media screen and (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .filter-group select {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        padding: 8px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    div#tipo{
        margin-top: -35%;

    }

    div#pais{
        margin-top: -60%;

    }

    div#marca{
        margin-top: -420%;

    }
}



@media screen and (min-width: 769px) {
    .filter-group select {
        display: none !important;
    }
}