/* Wine Mauritius - Product filters */

/* Hide category tree on product listing pages */
body#category .block-categories,
body#manufacturer .block-categories,
body#supplier .block-categories,
body#search .block-categories,
body#prices-drop .block-categories,
body#new-products .block-categories,
body#best-sales .block-categories {
    display: none !important;
}

/* Filter container */
#search_filters {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px;
}

/* Filter sections */
#search_filters .facet {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #e5e5e5;
}

#search_filters .facet:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Filter titles */
#search_filters .facet-title {
    color: #366e56;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Filter options */
#search_filters .facet-label {
    font-size: 14px;
    line-height: 1.6;
}

#search_filters .facet-label a {
    color: #1c1c1c;
}

#search_filters .facet-label a:hover,
#search_filters .facet-label.active a {
    color: #d90327;
}

#search_filters .magnitude {
    color: #777;
}

/** Cyprien 20-11-2026 */
/* Top bar typography */
#header .header-nav,
#header .header-nav a {
    font-weight: 600 !important;
}

/** Cyprien 20-11-2026 */
/* Add to cart - Full width */
.product-miniature .btn.add-to-cart {
    width: 100% !important;
    font-size: 16px;
    font-weight: 700 !important;
}

/** Cyprien 20-11-2026 */
/* Homepage - Section 01, 02, 03 */
#index .elementor-element-wvsd6s1 {
    padding-top: 40px !important;
}

/** Cyprien 20-11-2026 */
/* Product page - Buttons height */
body#product button.add-to-cart,
body#product .product-quantity input#quantity_wanted {
    height: 56px !important;
}

/** Cyprien 20-11-2026 */
/* Footer - Contact information */
#footer .block-iqitcontactpage .block-content {
    line-height: 1.8 !important;
}

/* Desktop sticky sidebar */
@media (min-width: 992px) {
    #left-column:has(#facets_search_wrapper) {
        position: sticky;
        top: 110px;
        align-self: flex-start;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }
}

@media (min-width: 992px) {
    #left-column:has(#facets_search_wrapper):hover,
    #left-column:has(#facets_search_wrapper):focus-within {
        scrollbar-color: #366e56 #f5f5f5;
    }
}

/* Remove cart icon from Add to cart buttons */
button.add-to-cart .bag-icon {
    display: none !important;
}

button.add-to-cart {
    justify-content: center !important;
}

/* Hide shopping bag icon */
body button.add-to-cart i.fa-shopping-bag {
    display: none !important;
}
