.store-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 10px;
    margin-top: 70px;
}

.sidebar {
    width: 220px;
    padding: 10px;
    background: #ffffff;
}

.store-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/*products slug*/


.basic-funct {
    text-align: center;
}

.basic-funct h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}





.filter-section {
    padding-bottom: 20px;
    border-bottom: 1px solid #dddcdcca;
}

.brand-scroll {
    max-height: 200px;
    overflow-y: scroll;
    padding: 0 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.brand-scroll::-webkit-scrollbar {
    display: none;
}

.subcategory-list {
    display: none;
    padding-left: 15px;
}

.subcategory-list.open {
    display: block;
}

.clear-filters {
    display: inline-block;
    margin-top: 10px;
    color: #0066cc;
    text-decoration: none;
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    min-height: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.product-img-wrapper:hover img {
    transform: scale(1.1);
    /* zoom ligero */
}

.img-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}



.favorite-icon {
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 8px;
    color: #555;
    transition: background 0.2s;
}

.favorite-icon:hover {
    background: #f3f3f3;
}

.compare-btn {
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.compare-btn:hover {
    background: #f0f0f0;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
    font-size: 11px;
    color: #666;
    justify-content: center;
    padding: 0;
}

.product-categories span {
    background: #eef2ff;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: 500;
}

.btn-add-to-cart,
.btn-view-product {
    background: #5F90B5;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.add-cart-btn:hover {
    background: #246e47;
}

.scroll_wrapper {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-size: 14px;
}

.scroll_wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.select_list label {
    display: block;
    margin: 2px 0;
}

.filter-section {
    margin-bottom: 1rem;
}

.toggle-filter {
    width: 100%;
    background: #eaeaea;
    border: none;
    padding: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
}