/*
Theme Name:   Storefront Child
Theme URI:    https://woocommerce.com/
Description:  Child theme for Storefront
Author:       WordPress User
Author URI:   https://woocommerce.com/
Template:     storefront
Version:      1.1.8
Text Domain:  storefront-child
*/

/* Add your custom CSS styles below */

/* Reset Storefront Header */
.site-header {
    background-color: #3a2a2f !important;
    padding: 0 !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}
.site-header .col-full {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Custom Header Layout */
.custom-warehouse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: #3a2a2f;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    gap: 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.wh-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wh-mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
}

/* Logo */
.wh-logo a {
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.wh-logo a:focus,
.wh-logo a:focus-visible,
.wh-logo a:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.wh-logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    line-height: 1;
}
.wh-logo-house {
    position: relative;
    display: inline-block;
}
.wh-roof {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
}

/* Search (Desktop) */
.wh-search {
    flex: 1;
    max-width: 700px;
    margin: 0 20px;
}
.wh-search-form {
    display: flex;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    height: 44px;
    width: 100%;
}
.wh-search-field {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 15px !important;
    color: #333333 !important;
    font-size: 15px;
    outline: none;
    box-shadow: none !important;
}
.wh-search-category {
    width: 190px;
    border: none !important;
    border-left: 1px solid #e1e1e1 !important;
    background: #ffffff !important;
    padding: 0 15px 0 20px !important;
    color: #555555 !important;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
}
.wh-search-btn {
    background-color: #F06E38 !important;
    color: #ffffff !important;
    border: none !important;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 0 !important;
}
.wh-search-btn:hover {
    background-color: #d95c2b !important;
}

/* Header Right Group */
.wh-header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.wh-mobile-search-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    line-height: 0;
}

/* Blocks: Region, Account, Cart */
.wh-region, .wh-account {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #5a5555;
    padding-right: 25px;
}
.wh-account a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.wh-account-desktop {
    display: flex;
    flex-direction: column;
}

.wh-account-mobile {
    display: none;
}

.wh-label {
    font-size: 13px;
    color: #dfdfdf;
    margin-bottom: 2px;
}
.wh-value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Cart */
.wh-cart a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}
.wh-cart-icon-wrapper {
    position: relative;
    display: flex;
}
.wh-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #F06E38;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-sizing: border-box;
}
.wh-cart-text {
    font-size: 16px;
    font-weight: 600;
}

/* Mobile Search Dropdown */
.wh-mobile-search-bar {
    display: none;
    background-color: #3a2a2f;
    padding: 10px 16px 14px;
    border-top: 1px solid #484242;
    box-sizing: border-box;
    width: 100%;
}
.wh-mobile-search-bar.active {
    display: block;
}
.wh-mobile-search-form {
    display: flex;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    height: 42px;
    width: 100%;
}
.wh-mobile-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    font-size: 15px !important;
    color: #333333 !important;
    outline: none;
    box-shadow: none !important;
}
.wh-mobile-search-submit {
    background-color: #F06E38 !important;
    color: #ffffff !important;
    border: none !important;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 !important;
}

/* Mobile Drawer */
.wh-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.wh-mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.wh-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
}
.wh-mobile-drawer.active {
    transform: translateX(0);
}
.wh-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background-color: #3a2a2f;
    color: #ffffff;
}
.wh-mobile-drawer-title {
    font-size: 17px;
    font-weight: 600;
}
.wh-mobile-drawer-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.wh-mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.wh-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wh-mobile-nav-list li {
    border-bottom: 1px solid #f0f0f0;
}
.wh-mobile-nav-list li a.wh-mobile-nav-link,
.wh-mobile-nav-list > li > a {
    display: block;
    padding: 16px 20px;
    font-size: 15.5px;
    color: #2c2a29;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.wh-mobile-nav-list li a:hover {
    background-color: #f7f6f2;
    color: #F06E38;
}

/* Accordion in Mobile Drawer */
.wh-mobile-nav-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.wh-mobile-nav-accordion-header .wh-mobile-nav-link {
    flex: 1;
    padding: 16px 20px;
    font-size: 15.5px;
    color: #2c2a29;
    text-decoration: none;
    font-weight: 500;
}
.wh-mobile-nav-label {
    flex: 1;
    padding: 16px 20px;
    font-size: 15.5px;
    color: #2c2a29;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}
.wh-mobile-accordion-btn {
    background: transparent !important;
    border: none !important;
    padding: 16px 20px !important;
    cursor: pointer;
    color: #666666 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}
.wh-mobile-accordion-btn svg {
    transition: transform 0.25s ease;
}
.wh-mobile-nav-accordion.active .wh-mobile-accordion-btn svg {
    transform: rotate(180deg);
}
.wh-mobile-nav-accordion.active .wh-mobile-accordion-btn,
.wh-mobile-nav-accordion.active .wh-mobile-nav-label {
    color: #F06E38 !important;
}

.wh-mobile-sub-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 0 8px 0 !important;
    background-color: #faf8f7;
    display: none;
}
.wh-mobile-nav-accordion.active .wh-mobile-sub-menu {
    display: block;
}
.wh-mobile-sub-menu li {
    border-bottom: 1px solid #f0ece9 !important;
}
.wh-mobile-sub-menu li:last-child {
    border-bottom: none !important;
}
.wh-mobile-sub-menu li a {
    display: block;
    padding: 12px 20px 12px 34px !important;
    font-size: 14.5px;
    color: #4a4645 !important;
    text-decoration: none !important;
    font-weight: 400;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.wh-mobile-sub-menu li a:hover {
    background-color: #f1edea !important;
    color: #F06E38 !important;
}
.wh-mobile-drawer-footer {
    padding: 20px;
    border-top: 1px solid #eeeeee;
    background-color: #fcfcfc;
}
.wh-mobile-drawer-account a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}
.wh-mobile-drawer-account a:hover {
    color: #F06E38;
}

/* -------------------------------------
 * Responsive Mobile Header (Matching mockup)
 * ------------------------------------- */
@media (max-width: 992px) {
    .custom-warehouse-header {
        padding: 14px 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
        background-color: #3a2a2f !important;
        min-height: 60px !important;
        box-sizing: border-box !important;
    }

    .wh-header-left {
        display: flex !important;
        align-items: center !important;
        gap: 18px !important;
        flex-shrink: 0 !important;
    }

    .wh-mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        width: 26px !important;
        height: 24px !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .wh-mobile-menu-toggle svg {
        width: 24px !important;
        height: 18px !important;
        display: block !important;
    }

    .wh-logo {
        display: flex !important;
        align-items: center !important;
    }

    .wh-logo a {
        display: flex !important;
        align-items: center !important;
    }

    .wh-logo-text {
        font-size: 21px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        line-height: 1 !important;
        color: #ffffff !important;
    }

    .wh-roof {
        top: -9px !important;
    }

    .wh-search {
        display: none !important;
    }

    .wh-region {
        display: none !important;
    }

    .wh-header-right {
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
        flex-shrink: 0 !important;
    }

    .wh-mobile-search-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        color: #ffffff !important;
        width: 26px !important;
        height: 26px !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .wh-mobile-search-toggle svg {
        width: 24px !important;
        height: 24px !important;
        stroke: #ffffff !important;
        display: block !important;
    }

    .wh-account {
        border-right: none !important;
        padding-right: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .wh-account a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .wh-account-desktop {
        display: none !important;
    }

    .wh-account-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 26px !important;
        height: 26px !important;
        color: #ffffff !important;
    }

    .wh-account-mobile svg {
        width: 24px !important;
        height: 24px !important;
        stroke: #ffffff !important;
        display: block !important;
    }

    .wh-cart {
        display: flex !important;
        align-items: center !important;
    }

    .wh-cart a {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        position: relative !important;
    }

    .wh-cart-text {
        display: none !important;
    }

    .wh-cart-icon-wrapper {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 28px !important;
    }

    .wh-cart-icon-wrapper svg {
        width: 26px !important;
        height: 26px !important;
        stroke: #ffffff !important;
        display: block !important;
    }

    .wh-cart-count {
        position: absolute !important;
        top: -8px !important;
        right: -8px !important;
        background-color: #F06E38 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        line-height: 1 !important;
        border: 2px solid #363131 !important;
    }
}

@media (max-width: 400px) {
    .custom-warehouse-header {
        padding: 12px 14px !important;
        gap: 10px !important;
    }
    .wh-header-left {
        gap: 12px !important;
    }
    .wh-logo-text {
        font-size: 19px !important;
    }
    .wh-header-right {
        gap: 15px !important;
    }
}

/* -------------------------------------
 * Custom Footer Styles
 * ------------------------------------- */

.site-footer {
    padding: 0 !important;
    background: #f8f4f2 !important;
    color: #333333 !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.site-footer .col-full {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.custom-warehouse-footer {
    background-color: #f8f4f2;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 70px 40px 40px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.wh-footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 70px;
}

.wh-footer-col {
    flex: 1;
}
.wh-footer-col:first-child {
    flex: 1.5;
}

.wh-footer-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.5px;
}

.wh-toggle-icon {
    display: none;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    color: #333;
}

.wh-footer-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 0;
}

.wh-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wh-footer-links li {
    margin-bottom: 12px;
}

.wh-footer-links a {
    text-decoration: none;
    color: #555555;
    font-size: 15px;
    transition: color 0.2s;
}

.wh-footer-links a:hover {
    color: #F06E38;
}

.wh-newsletter-desc {
    margin-bottom: 20px !important;
}

.wh-newsletter-form input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    background: #ffffff !important;
    font-size: 15px;
    margin-bottom: 12px;
    outline: none;
    border-radius: 2px;
}
.wh-newsletter-form input:focus {
    border-color: #bbb;
}

.wh-newsletter-form button {
    background-color: #F06E38;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 2px;
    padding: 14px 30px;
    display: inline-block;
}
.wh-newsletter-form button:hover {
    background-color: #d95c2b;
}

.wh-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    flex-wrap: wrap;
    gap: 20px;
}

.wh-footer-copyright {
    font-size: 14px;
    color: #555;
    order: 1;
}

.wh-footer-social {
    text-align: right;
    order: 2;
}

.wh-social-title {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.wh-social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.wh-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #a0a0a0;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s;
}

.wh-social-icons a:hover {
    background-color: #F06E38;
}

.wh-social-icons svg {
    width: 18px;
    height: 18px;
    fill: none;
}

@media (max-width: 860px) {
    .custom-warehouse-footer {
        padding: 0 0 40px 0;
    }

    .wh-footer-top {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }

    .wh-footer-col {
        border-bottom: 1px solid #e5e5e5;
        padding: 0 20px;
    }
    
    .wh-footer-col:first-child {
        border-top: 1px solid #e5e5e5;
    }

    .wh-footer-heading {
        margin: 0;
        padding: 24px 0;
        cursor: pointer;
    }

    .wh-toggle-icon {
        display: block;
    }
    .wh-toggle-icon::before {
        content: "+";
    }

    .wh-accordion .wh-footer-content {
        display: none;
        padding-bottom: 24px;
    }

    .wh-accordion.active .wh-footer-content {
        display: block;
    }

    .wh-accordion.active .wh-toggle-icon::before {
        content: "\2212";
    }

    .wh-newsletter-col {
        border-top: none;
        border-bottom: none;
        padding-top: 35px;
    }
    .wh-newsletter-col .wh-footer-heading {
        cursor: default;
        padding: 0 0 15px 0;
    }

    .wh-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0;
        border-top: none;
        padding: 0 20px;
    }
    
    .wh-footer-social {
        order: 1;
        margin-bottom: 24px;
        text-align: left;
        justify-self: start;
    }
    .wh-social-icons {
        justify-content: flex-start;
    }
    .wh-footer-copyright {
        order: 2;
    }
    .wh-newsletter-form button {
        width: 100%;
    }
}

/* -------------------------------------
 * Single Product Page Layout & Styling
 * ------------------------------------- */

body.single-product,
body.single-product .site {
    overflow-x: visible !important;
}

body.single-product {
    background-color: #f6f4f2 !important;
}

body.single-product .site-content > .col-full,
body.single-product .col-full {
    max-width: 1400px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

body.single-product #primary,
body.single-product .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product #secondary,
body.single-product .widget-area {
    display: none !important;
}

.single-product .site-main {
    max-width: 100% !important;
    width: 100% !important;
    margin: 30px auto !important;
}

.single-product div.product {
    display: grid !important;
    grid-template-columns: 53% 44% !important;
    justify-content: space-between !important;
    align-items: start !important;
    row-gap: 30px !important;
    width: 100% !important;
    margin: 0 0 40px 0 !important;
    box-sizing: border-box !important;
}

.single-product div.product::before,
.single-product div.product::after {
    display: none !important;
    content: none !important;
}

/* --- Image Gallery (Left, Row 1) --- */
.single-product div.product .woocommerce-product-gallery {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
    background: #fff;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: row-reverse;
    gap: 18px;
    position: relative;
    box-sizing: border-box !important;
    /* Les diapositives voisines du carrousel ne débordent plus hors de la carte */
    overflow: hidden;
}

.woocommerce-product-gallery .flex-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* L'image principale occupe toute la largeur disponible */
.woocommerce-product-gallery .flex-viewport img,
.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    overflow: hidden;
}

/* Vignettes : colonne défilante (≈6 visibles), au lieu d'une colonne interminable */
.woocommerce-product-gallery .flex-control-nav {
    width: 80px;
    max-height: 545px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 4px 0 0 !important;
    margin: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.woocommerce-product-gallery .flex-control-nav::-webkit-scrollbar {
    width: 6px;
}
.woocommerce-product-gallery .flex-control-nav::-webkit-scrollbar-thumb {
    background: #ddd6d1;
    border-radius: 3px;
}

.woocommerce-product-gallery .flex-control-nav li {
    width: 100% !important;
    margin: 0 !important;
    flex: 0 0 auto;
}

.woocommerce-product-gallery .flex-control-nav li img {
    border: 1px solid #eee;
    cursor: pointer;
    transition: border-color 0.2s;
    width: 100%;
    height: auto;
}

.woocommerce-product-gallery .flex-control-nav li img.flex-active,
.woocommerce-product-gallery .flex-control-nav li img:hover {
    border-color: #F06E38;
}

/* --- Galerie en mobile : image pleine largeur, vignettes en bande dessous --- */
@media (max-width: 767px) {
    .single-product div.product .woocommerce-product-gallery {
        flex-direction: column;   /* le carrousel (1er enfant) passe au-dessus des vignettes */
        gap: 14px;
        padding: 14px;
    }
    .woocommerce-product-gallery .flex-control-nav {
        width: 100%;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 0 0 8px !important;
    }
    .woocommerce-product-gallery .flex-control-nav li {
        width: 72px !important;
        flex: 0 0 72px;
    }
}

/* --- Pagination produit (produit précédent / suivant) ---
   Storefront laisse dépasser en permanence une bande de 45 px montrant une
   photo coupée du produit voisin. On la remplace par un petit onglet flèche,
   propre, sans image tronquée. */
.storefront-product-pagination a {
    width: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(58, 42, 47, 0.12);
    overflow: hidden;
}
.storefront-product-pagination a[rel="prev"] {
    left: 0 !important;
}
.storefront-product-pagination a[rel="next"] {
    right: 0 !important;
}
.storefront-product-pagination a img,
.storefront-product-pagination a .storefront-product-pagination__title {
    display: none !important;
}
.storefront-product-pagination a::after {
    padding: 0 !important;
    color: #2c2a29;
}
.storefront-product-pagination a:hover::after {
    color: #F06E38;
}

.wh-zoom-hint {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* --- Summary Box (Right, Row 1 to Row 2 - STICKY) --- */
.single-product div.product .summary.entry-summary {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 30px !important;
    align-self: start !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    background: #fff;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 0 !important;
    box-sizing: border-box !important;
    z-index: 99 !important;
}

body.admin-bar .single-product div.product .summary.entry-summary {
    top: 62px !important;
}

/* Title */
.product_title {
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Save Badge */
.wh-sale-badge {
    background-color: #ff0000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 20px;
}

/* Meta Row */
.wh-meta-row {
    font-size: 13px;
    color: #F06E38;
    margin-bottom: 12px;
}
.wh-meta-row .wh-divider {
    color: #e5e5e5;
    margin: 0 10px;
}
.wh-sku {
    color: #555;
}

/* Rating & Social */
.wh-rating-social-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.wh-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wh-review-count {
    font-size: 14px;
    color: #555;
}
.wh-social-share {
    display: flex;
    gap: 10px;
}
.wh-social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #b5b5b5;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s;
}
.wh-social-share a:hover {
    background: #F06E38;
}
.wh-social-share svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.wh-summary-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 0 0 25px 0;
}

/* Price */
.wh-price-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}
.wh-price-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.wh-price-amount .price {
    font-size: 26px !important;
    font-weight: 400 !important;
    color: #ff0000 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wh-price-amount .price del {
    font-size: 18px;
    color: #777;
    text-decoration: line-through;
}
.wh-price-amount .price ins {
    text-decoration: none;
    background: transparent;
}

/* Quantity & Add to Cart */
.wh-quantity-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 25px !important;
}

.wh-quantity-label {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #332a2a !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Hide screen reader and duplicate labels completely */
.wh-quantity-wrapper .screen-reader-text,
.single-product .quantity .screen-reader-text,
.single-product .quantity label,
.quantity .screen-reader-text,
.quantity label {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* The segmented quantity control matching user mockup */
.single-product .quantity,
.quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    border: 1px solid #e2dedb !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    height: 44px !important;
    float: none !important;
}

.single-product .quantity .wh-qty-btn,
.quantity .wh-qty-btn {
    background: #ffffff !important;
    border: none !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 100% !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #555555 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    box-shadow: none !important;
}

.single-product .quantity .wh-qty-btn.minus,
.quantity .wh-qty-btn.minus {
    border-right: 1px solid #e2dedb !important;
}

.single-product .quantity .wh-qty-btn.plus,
.quantity .wh-qty-btn.plus {
    border-left: 1px solid #e2dedb !important;
}

.single-product .quantity .wh-qty-btn:hover,
.quantity .wh-qty-btn:hover {
    background-color: #f7f6f5 !important;
    color: #222222 !important;
}

.single-product .quantity input.qty,
.quantity input.qty {
    width: 52px !important;
    min-width: 52px !important;
    height: 100% !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #222222 !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    outline: none !important;
    box-shadow: none !important;
}

.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.wh-cart-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.wh-cart-buttons button {
    flex: 1;
    height: auto;
    min-height: 54px;
    padding: 12px 16px;
    line-height: 1.3;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

/* Mobile : boutons empilés pleine largeur. Sinon « Acheter maintenant »
   passe sur deux lignes et se fait rogner par la hauteur du bouton. */
@media (max-width: 767px) {
    .wh-cart-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .wh-cart-buttons button {
        width: 100%;
        font-size: 15px;
    }
}
.wh-cart-buttons button:hover {
    opacity: 0.9;
}
.wh-cart-buttons .single_add_to_cart_button {
    background-color: #F06E38 !important;
    color: #fff !important;
    margin: 0 !important;
}
.wh-cart-buttons .wh-buy-now-btn {
    background-color: #3a2a2f !important;
    color: #fff !important;
    margin: 0 !important;
}

/* Tabs / Description (Left, Row 2 - directly under image gallery) */
.single-product div.product .woocommerce-tabs,
.woocommerce-tabs {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-top: 0 !important;
    box-sizing: border-box !important;
}
.woocommerce-tabs ul.tabs {
    display: none !important; /* Hide standard tabs header, making it just look like a description block */
}
.woocommerce-tabs h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}
.woocommerce-tabs .panel {
    padding: 0 !important;
    border: none !important;
}
.woocommerce-tabs p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Related products or upsells span across full width below description & summary */
.single-product div.product .related.products,
.single-product div.product .upsells.products,
.single-product div.product > section.products {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 40px !important;
}

@media (max-width: 991px) {
    .single-product div.product {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary.entry-summary,
    .single-product div.product .woocommerce-tabs {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        float: none !important;
        position: static !important;
        margin: 0 !important;
    }
    .single-product div.product .woocommerce-tabs {
        margin-top: 10px !important;
    }
}

/* -------------------------------------
 * Cart & Checkout Page Styling
 * ------------------------------------- */
body.woocommerce-cart,
body.woocommerce-checkout {
    background-color: #f8f4f2 !important;
}

/* -------------------------------------
 * Contact Page Styling
 * ------------------------------------- */

body.page-template-template-contact {
    background-color: #f7f6f2 !important; /* light beige background to match mockup */
}

.wh-contact-page-area {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.wh-contact-header {
    text-align: center;
    margin-bottom: 70px;
}

.wh-contact-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-contact-header p {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
}

.wh-contact-content {
    display: flex;
    gap: 80px;
    justify-content: space-between;
}

.wh-contact-left {
    flex: 1.2;
}

.wh-contact-right {
    flex: 0.8;
}

.wh-contact-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Form Styles */
.wh-contact-form {
    display: flex;
    flex-direction: column;
}

.wh-form-row {
    margin-bottom: 25px;
}

.wh-form-row-2 {
    display: flex;
    gap: 25px;
}

.wh-form-row-2 input {
    flex: 1;
}

.wh-contact-form input,
.wh-contact-form textarea,
.wh-contact-form input[type="text"],
.wh-contact-form input[type="email"],
.wh-contact-form input[type="tel"] {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 16px;
    color: #333;
    background-color: #ffffff !important;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.wh-contact-form input:focus,
.wh-contact-form textarea:focus {
    border-color: #F06E38;
}

.wh-contact-form textarea {
    resize: vertical;
    min-height: 250px;
}

.wh-contact-submit {
    background-color: #F06E38 !important;
    color: #fff !important;
    padding: 16px 40px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-block;
    width: max-content;
}

.wh-contact-submit:hover {
    opacity: 0.9;
}

/* Right Column */
.wh-contact-info-card {
    background: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 4px;
    padding: 30px 26px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.wh-contact-info-item {
    margin-bottom: 22px;
}

.wh-contact-info-item:last-child {
    margin-bottom: 0;
}

.wh-contact-info-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #F06E38;
    margin-bottom: 6px;
}

.wh-contact-info-value {
    font-size: 15.5px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .wh-contact-content {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .wh-form-row-2 {
        flex-direction: column;
        gap: 25px;
    }
}

/* -------------------------------------
 * Features Section (Before Footer)
 * ------------------------------------- */

.wh-features-section {
    background-color: #f8f4f2; /* Matches the mockup background */
    padding: 60px 40px;
    border-top: 1px solid #eaeaea;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}

.wh-features-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

.wh-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1 1 0;
    min-width: 0;
}

.wh-feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.wh-feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wh-feature-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-feature-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .wh-features-section {
        padding: 50px 20px;
    }
    .wh-features-container {
        flex-wrap: wrap;
        gap: 30px;
    }
    .wh-feature {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 600px) {
    .wh-features-section {
        padding: 40px 20px;
    }
    .wh-feature {
        flex: 1 1 100%;
    }
}

/* -------------------------------------
 * FAQ Page Styling
 * ------------------------------------- */

body.page-template-template-faq {
    background-color: #f7f6f2 !important;
}

.wh-faq-page-area {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.wh-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.wh-faq-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-faq-section {
    margin-bottom: 60px;
}

.wh-faq-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-footer-col.wh-accordion {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.wh-accordion {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.wh-accordion-item {
    border-bottom: 1px solid #eee;
}

.wh-accordion-item:last-child {
    border-bottom: none;
}

.wh-accordion-header {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    font-family: inherit;
    transition: background-color 0.2s;
}

.wh-accordion-header:hover {
    background-color: #fbfbfb;
}

.wh-accordion-icon {
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    color: #333;
}

.wh-accordion-content {
    display: none;
    padding: 0 30px 24px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.wh-accordion-item.active .wh-accordion-content {
    display: block;
}

.wh-accordion-item.active .wh-accordion-header {
    background-color: #fbfbfb;
}

/* Any question Section */
.wh-faq-contact-section {
    text-align: center;
    margin-top: 80px;
}

.wh-faq-contact-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-faq-contact-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
}

.wh-faq-contact-blocks {
    display: flex;
    gap: 0; /* They seem joined or right next to each other */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: transparent; /* Assuming container might have background */
}

.wh-faq-contact-block {
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.wh-faq-contact-block:first-child {
    border-right: 1px solid #e0e0e0;
}

.wh-faq-contact-block:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.wh-faq-contact-icon {
    margin-bottom: 20px;
    display: inline-flex;
    justify-content: center;
}

.wh-faq-contact-block h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-faq-contact-block p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

@media (max-width: 767px) {
    .wh-faq-contact-blocks {
        flex-direction: column;
    }
    .wh-faq-contact-block:first-child {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
}

/* -------------------------------------
 * Contact Page Newsletter Banner
 * ------------------------------------- */

.wh-contact-newsletter-section {
    background-color: #3a2a2f;
    padding: 75px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff;
    clear: both;
}

.wh-contact-newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.wh-contact-newsletter-title {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-contact-newsletter-desc {
    font-size: 16px;
    line-height: 1.5;
    color: #e5e5e5;
    margin: 0 auto 32px;
    max-width: 480px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wh-contact-newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.wh-contact-newsletter-input {
    flex: 1;
    height: 48px !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    color: #333333 !important;
    box-shadow: none !important;
    outline: none;
    box-sizing: border-box;
    min-width: 240px;
}

.wh-contact-newsletter-input::placeholder {
    color: #777777;
}

.wh-contact-newsletter-btn {
    background-color: #F06E38 !important;
    color: #ffffff !important;
    height: 48px !important;
    padding: 0 32px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    box-sizing: border-box;
    outline: none;
}

.wh-contact-newsletter-btn:hover {
    background-color: #d95c2b !important;
}

@media (max-width: 600px) {
    .wh-contact-newsletter-section {
        padding: 50px 20px;
    }
    .wh-contact-newsletter-title {
        font-size: 24px;
    }
    .wh-contact-newsletter-desc {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .wh-contact-newsletter-form {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .wh-contact-newsletter-input {
        width: 100% !important;
        min-width: 100% !important;
    }
    .wh-contact-newsletter-btn {
        width: 100% !important;
    }
}

/* -------------------------------------
 * Hide Storefront Handheld Footer Bar
 * ------------------------------------- */
.storefront-handheld-footer-bar,
.storefront-handheld-footer-bar ul {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    pointer-events: none !important;
}

body {
    padding-bottom: 0 !important;
}

/* -------------------------------------
 * Sub-Navigation Bar Below Header
 * ------------------------------------- */
.wh-sub-nav-bar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eae6e4;
    width: 100%;
    position: relative;
    z-index: 99;
}

.wh-sub-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.wh-sub-nav-menu {
    display: flex;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 36px;
}

.wh-sub-nav-item {
    position: relative;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wh-sub-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 0;
    font-size: 14.5px;
    font-weight: 500;
    color: #2c2a29 !important;
    text-decoration: none !important;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.2s ease;
}

.wh-sub-nav-link:hover,
.wh-has-dropdown.active > .wh-sub-nav-link,
.wh-has-dropdown:hover > .wh-sub-nav-link {
    color: #F06E38 !important;
}

.wh-dropdown-chevron {
    width: 10px;
    height: 6px;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform 0.2s ease;
    display: inline-block;
    vertical-align: middle;
}

.wh-has-dropdown:hover .wh-dropdown-chevron,
.wh-has-dropdown.active .wh-dropdown-chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.wh-sub-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #ffffff !important;
    border: 1px solid #ebe7e5;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}

.wh-sub-nav-item:last-child .wh-sub-dropdown-menu {
    left: auto;
    right: 0;
}

.wh-has-dropdown:hover > .wh-sub-dropdown-menu,
.wh-has-dropdown.active > .wh-sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.wh-sub-dropdown-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wh-sub-dropdown-menu li a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #333333 !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.wh-sub-dropdown-menu li a:hover {
    background-color: #fbf9f8 !important;
    color: #F06E38 !important;
}

/* Mobile & Tablet Responsiveness: Hide the sub-nav bar under header and move it to drawer on mobile */
@media (max-width: 992px) {
    .wh-sub-nav-bar {
        display: none !important;
    }
}

/* -------------------------------------------------------------
 * Suppression du cadre de sélection (Focus / Active Outline)
 * ------------------------------------------------------------- */
.custom-warehouse-header,
.custom-warehouse-header *,
.wh-sub-nav-bar,
.wh-sub-nav-bar *,
.wh-mobile-drawer,
.wh-mobile-drawer *,
.wh-mobile-search-bar,
.wh-mobile-search-bar * {
    -webkit-tap-highlight-color: transparent !important;
}

.custom-warehouse-header *:focus,
.custom-warehouse-header *:focus-visible,
.custom-warehouse-header *:active,
.wh-sub-nav-bar *:focus,
.wh-sub-nav-bar *:focus-visible,
.wh-sub-nav-bar *:active,
.wh-mobile-drawer *:focus,
.wh-mobile-drawer *:focus-visible,
.wh-mobile-drawer *:active,
.wh-mobile-search-bar *:focus,
.wh-mobile-search-bar *:focus-visible,
.wh-mobile-search-bar *:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Ciblage précis pour tous les liens et boutons du header */
.wh-logo a,
.wh-logo a:focus,
.wh-logo a:focus-visible,
.wh-logo a:active,
.wh-search-form,
.wh-search-form:focus,
.wh-search-field:focus,
.wh-search-field:focus-visible,
.wh-search-category:focus,
.wh-search-category:focus-visible,
.wh-search-btn:focus,
.wh-search-btn:focus-visible,
.wh-search-btn:active,
.wh-header-right a:focus,
.wh-header-right a:focus-visible,
.wh-header-right a:active,
.wh-account a:focus,
.wh-account a:focus-visible,
.wh-cart-link:focus,
.wh-cart-link:focus-visible,
.wh-cart-link:active,
.wh-region-btn:focus,
.wh-region-btn:focus-visible,
.wh-sub-nav-link:focus,
.wh-sub-nav-link:focus-visible,
.wh-sub-nav-link:active,
.wh-sub-dropdown-menu a:focus,
.wh-sub-dropdown-menu a:focus-visible,
.wh-sub-dropdown-menu a:active,
.wh-mobile-menu-toggle:focus,
.wh-mobile-menu-toggle:focus-visible,
.wh-mobile-menu-toggle:active,
.wh-mobile-search-toggle:focus,
.wh-mobile-search-toggle:focus-visible,
.wh-mobile-search-toggle:active,
.wh-mobile-accordion-btn:focus,
.wh-mobile-accordion-btn:focus-visible,
.wh-mobile-accordion-btn:active,
.wh-mobile-nav-link:focus,
.wh-mobile-nav-link:focus-visible,
.wh-mobile-nav-link:active,
.wh-mobile-sub-menu a:focus,
.wh-mobile-sub-menu a:focus-visible,
.wh-mobile-sub-menu a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Suppression globale du contour par défaut au clic souris sur les liens et boutons */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   WAREHOUSE SHOP / CATALOG PAGE DESIGN (IMAGES 1, 2, 3)
   ========================================================================== */

/* Match footer background color (#f8f4f2) for shop / catalog pages */
body.wh-warehouse-shop-page,
body.wh-warehouse-shop-page #page,
body.wh-warehouse-shop-page .site-content {
    background-color: #f8f4f2 !important;
}

/* Full width container adjustments */
.wh-warehouse-shop-page .content-area {
    background-color: transparent !important;
}

.wh-warehouse-shop-page .site-main {
    margin-bottom: 30px !important;
    background-color: transparent !important;
}

.wh-warehouse-shop-page h1.woocommerce-products-header__title.page-title,
.wh-warehouse-shop-page .page-title,
.wh-warehouse-shop-page .woocommerce-products-header {
    display: none !important;
}

.wh-warehouse-shop-page .woocommerce-notices-wrapper:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Top shop ordering bar */
.wh-warehouse-shop-page .storefront-sorting {
    margin: 0 0 16px 0 !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}
.wh-warehouse-shop-page .woocommerce-result-count {
    margin: 0 !important;
    float: none !important;
    color: #555 !important;
}

.wh-warehouse-shop-page .woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
}

.wh-warehouse-shop-page .woocommerce-ordering select.orderby {
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    color: #333333 !important;
    border: 1px solid #dcd8d5 !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    cursor: pointer;
    outline: none !important;
}

.wh-warehouse-shop-page .woocommerce-ordering select.orderby:focus {
    border-color: #F06E38 !important;
}

.wh-warehouse-shop-page .woocommerce-result-count {
    display: none !important;
}

/* 4-Column Continuous Grid (Warehouse Style) */
.wh-warehouse-shop-page ul.products,
.site-main ul.products.columns-4,
    .site-main ul.products.columns-3,
.site-main ul.products.columns-3,
ul.wh-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background-color: #ffffff !important;
    border-top: 1px solid #eae6e4 !important;
    border-left: 1px solid #eae6e4 !important;
    clear: both !important;
}

.wh-warehouse-shop-page ul.products::before,
.wh-warehouse-shop-page ul.products::after,
ul.wh-products-grid::before,
ul.wh-products-grid::after {
    display: none !important;
}

/* Individual Product Cell in Grid */
.wh-warehouse-shop-page ul.products li.product,
ul.wh-products-grid li.product,
li.product.wh-product-card {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-right: 1px solid #eae6e4 !important;
    border-bottom: 1px solid #eae6e4 !important;
    background-color: #ffffff !important;
    border-radius: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    transition: none !important;
    box-shadow: none !important;
}
.wh-warehouse-shop-page ul.products li.product:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Inner card padding and structure */
.wh-product-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 24px 28px;
    box-sizing: border-box;
}

/* Badges (Save X%, Out of Stock, Back in Stock) */
.wh-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.wh-card-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    border-radius: 2px;
    letter-spacing: 0.2px;
}

.wh-badge-sale {
    background-color: #F06E38 !important;
}

.wh-badge-out-of-stock {
    background-color: #666666 !important;
}

.wh-badge-back-in-stock {
    background-color: #E87A38 !important;
}

/* Product Image Link & Container */
.wh-card-image-link {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
    outline: none !important;
}

.wh-card-image-wrapper {
    width: 100%;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.wh-card-img {
    max-height: 215px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.wh-product-card:hover .wh-card-img {
    transform: scale(1.05);
}

/* Product Information */
.wh-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: auto;
}

.wh-card-brand {
    font-size: 11px;
    font-weight: 600;
    color: #717171;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1.2;
}

.wh-card-title,
.wh-warehouse-shop-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.wh-card-title a {
    color: #2c2a29 !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.wh-card-title a:hover {
    color: #F06E38 !important;
}

/* Prices */
.wh-card-price,
.wh-warehouse-shop-page ul.products li.product .price {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin: 0 0 12px 0 !important;
    font-size: 17.5px !important;
    font-weight: 600 !important;
    color: #F06E38 !important;
    line-height: 1.2 !important;
}

.wh-card-price del,
.wh-warehouse-shop-page ul.products li.product .price del {
    order: 2 !important;
    color: #888888 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    opacity: 0.85;
}

.wh-card-price ins,
.wh-warehouse-shop-page ul.products li.product .price ins {
    order: 1 !important;
    color: #F06E38 !important;
    font-size: 17.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.wh-card-price > .amount,
.wh-card-price > span {
    color: #F06E38 !important;
    font-weight: 600 !important;
}

/* Stock Status Dot */
.wh-card-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    margin-top: auto;
}

.wh-card-stock.in-stock {
    color: #1b9a47;
}

.wh-card-stock.out-of-stock {
    color: #777777;
}

.wh-stock-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background-color: #1b9a47;
    flex-shrink: 0;
    display: inline-block;
}

.wh-card-stock.out-of-stock .wh-stock-dot {
    background-color: #e53935;
}

/* Loop Action Buttons */
.wh-loop-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.wh-loop-actions .wh-loop-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    border: none !important;
    border-radius: 3px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.1s ease !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
}

.wh-loop-actions .wh-loop-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
    background-image: none !important;
}

.wh-loop-actions .wh-loop-add-cart,
.wh-loop-actions .wh-loop-select-options,
.wh-loop-actions .wh-loop-view-product {
    background-color: #F06E38 !important;
    color: #ffffff !important;
}

.wh-loop-actions .wh-loop-buy-now {
    background-color: #3a2a2f !important;
    color: #ffffff !important;
}

/* Pagination Bar (Matching Image 2) */
.wh-pagination-bar,
.woocommerce-pagination.wh-pagination-bar {
    border-top: 1px solid #eae6e4 !important;
    padding: 24px 0 36px !important;
    margin: 0 0 40px 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    clear: both !important;
    width: 100% !important;
}

.wh-pagination-bar ul.page-numbers {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.wh-pagination-bar ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: inline-flex !important;
}

/* Active Page Button (Orange Square) */
.wh-pagination-bar .page-numbers.current {
    background-color: #F06E38 !important;
    color: #ffffff !important;
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    padding: 0 8px !important;
    border: none !important;
    cursor: default;
}

/* Inactive Page Numbers */
.wh-pagination-bar a.page-numbers {
    color: #2c2a29 !important;
    min-width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 500 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    padding: 0 8px !important;
    border: none !important;
    background: transparent !important;
}

.wh-pagination-bar a.page-numbers:hover {
    color: #F06E38 !important;
    background: transparent !important;
}

/* Next / Prev Buttons */
.wh-pagination-bar a.next,
.wh-pagination-bar a.prev {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-left: 14px !important;
    color: #2c2a29 !important;
}

.wh-pagination-bar a.prev {
    margin-left: 0 !important;
    margin-right: 14px !important;
}

.wh-pagination-bar a.next:hover,
.wh-pagination-bar a.prev:hover {
    color: #F06E38 !important;
}

/* Recently Viewed Section (Image 3) */
.wh-recently-viewed-section {
    margin: 50px 0 60px !important;
    clear: both !important;
}

.wh-recently-viewed-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #2c2a29 !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.2px;
}

.wh-recently-viewed-box {
    background: #ffffff;
    width: 100%;
}

.wh-recently-viewed-grid {
    margin-bottom: 0 !important;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1100px) {
    .wh-warehouse-shop-page ul.products,
    .site-main ul.products.columns-4,
    .site-main ul.products.columns-3,
    ul.wh-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .wh-warehouse-shop-page ul.products,
    .site-main ul.products.columns-4,
    .site-main ul.products.columns-3,
    ul.wh-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .wh-product-card-inner {
        padding: 16px 14px 20px;
    }

    .wh-card-image-wrapper {
        height: 180px;
    }

    .wh-card-img {
        max-height: 165px;
    }

    .wh-card-title,
    .wh-warehouse-shop-page ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
    }

    .wh-card-price,
    .wh-warehouse-shop-page ul.products li.product .price {
        font-size: 15.5px !important;
    }

    .wh-card-stock {
        font-size: 12px;
    }

    .wh-pagination-bar {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .wh-card-image-wrapper {
        height: 150px;
    }

    .wh-card-img {
        max-height: 135px;
    }

    .wh-card-badges {
        top: 8px;
        left: 8px;
    }

    .wh-card-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* ==========================================================================
   ABOUT US PAGE DESIGN (MATCHING FOOTER BACKGROUND #f8f4f2)
   ========================================================================== */

body.wh-about-page,
body.page-template-template-about,
body.page-id-about,
body.wh-about-page #page,
body.wh-about-page .site-content,
body.page-template-template-about #page,
body.page-template-template-about .site-content {
    background-color: #f8f4f2 !important;
}

.wh-about-page-area {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 50px 20px 80px !important;
    box-sizing: border-box !important;
    float: none !important;
    background-color: transparent !important;
}

.wh-about-main {
    background-color: transparent !important;
}

.wh-about-container {
    width: 100%;
}

/* Header */
.wh-about-header {
    text-align: center;
    margin-bottom: 45px;
}

.wh-about-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #F06E38;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wh-about-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.5px;
}

.wh-about-tagline {
    font-size: 16px;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

/* Hero Box */
.wh-about-hero-box {
    background: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.wh-about-hero-image-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #f0ebe7;
}

.wh-about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wh-about-mission-content {
    padding: 36px 40px 40px;
    text-align: left;
    max-width: 860px;
    margin: 0 auto;
}

.wh-about-mission-heading {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    margin: 0 0 16px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.wh-about-story-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    margin: 0;
    text-align: left;
}

.wh-about-story-text p {
    margin: 0;
    color: #444444;
}

.wh-about-story-text strong {
    color: #2c2a29;
    font-weight: 700;
}

.wh-about-mission-text {
    font-size: 16px;
    line-height: 1.75;
    color: #444444;
    margin: 0;
}

/* Values Grid */
.wh-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.wh-about-value-card {
    background: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 4px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wh-about-value-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.wh-about-value-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #fdf5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.wh-about-value-card h3 {
    font-size: 16.5px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    margin: 0 0 10px 0 !important;
}

.wh-about-value-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Custom content block if WP editor used */
.wh-about-custom-content {
    background: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 4px;
    padding: 35px;
    margin-bottom: 35px;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

/* CTA */
.wh-about-cta {
    text-align: center;
    margin-top: 30px;
}

.wh-about-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #F06E38 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    box-shadow: 0 2px 6px rgba(240, 110, 56, 0.25);
}

.wh-about-cta-button:hover {
    background-color: #d95e2a !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 900px) {
    .wh-about-values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wh-about-hero-image-wrapper {
        height: 260px;
    }

    .wh-about-mission-content {
        padding: 24px 20px;
    }

    .wh-about-title {
        font-size: 26px !important;
    }
}

/* About Page: Hero without image & Badges */
.wh-about-hero-box.wh-about-hero-no-image {
    padding: 30px 20px;
    border-top: 3px solid #F06E38;
}

.wh-about-mission-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #F06E38;
    background: #fdf2ec;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* About Page: Products Section */
.wh-about-products-section {
    margin-bottom: 45px;
}

.wh-about-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.wh-about-section-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    margin: 6px 0 10px 0 !important;
}

.wh-about-section-desc {
    font-size: 15px;
    color: #666666;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.wh-about-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wh-about-product-card {
    background: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 4px;
    padding: 24px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.wh-about-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #F06E38;
}

.wh-about-product-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #fdf5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.wh-about-product-card h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    margin: 0 0 8px 0 !important;
}

.wh-about-product-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #666666;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .wh-about-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .wh-about-products-grid {
        grid-template-columns: 1fr;
    }
}




/* ==========================================================================
   MY ACCOUNT PAGE (LOGIN) DESIGN
   ========================================================================== */

body.woocommerce-account:not(.logged-in),
body.woocommerce-account:not(.logged-in) #page,
body.woocommerce-account:not(.logged-in) .site-content {
    background-color: #f8f4f2 !important;
}

body.woocommerce-account:not(.logged-in) .site-main {
    background-color: transparent !important;
}

/* Hide the default entry-header if present */
body.woocommerce-account:not(.logged-in) .entry-header {
    display: none !important;
}

.wh-login-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 20px 100px;
    background-color: #f8f4f2;
}

.wh-login-container {
    width: 100%;
    max-width: 500px;
    background: transparent;
}

.wh-login-title {
    text-align: center;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.5px;
}

.wh-login-subtitle {
    text-align: center;
    font-size: 16px;
    color: #444444;
    margin: 0 0 40px 0;
}

.wh-custom-login-form {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    margin-bottom: 30px !important;
}

.wh-custom-login-form .form-row {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.wh-custom-login-form .input-text {
    width: 100% !important;
    height: 54px !important;
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 2px !important;
    padding: 0 18px !important;
    font-size: 16px !important;
    color: #333 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.wh-custom-login-form .input-text:focus {
    border-color: #F06E38 !important;
    outline: none !important;
}

/* Hide remember me / standard WP elements that interfere */
.wh-custom-login-form .woocommerce-form__label-for-checkbox {
    display: none !important;
}

.wh-custom-login-form .lost_password {
    display: none !important; /* Hiding default lost password to use ours */
}

.wh-login-submit-row {
    margin-top: 30px !important;
    margin-bottom: 0 !important;
}

.wh-custom-login-form .woocommerce-form-login__submit,
.wh-custom-login-form .woocommerce-form-register__submit {
    width: 100% !important;
    height: 54px !important;
    background-color: #F06E38 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
    padding: 0 !important;
    float: none !important;
}

.wh-custom-login-form .woocommerce-form-login__submit:hover,
.wh-custom-login-form .woocommerce-form-register__submit:hover {
    opacity: 0.9 !important;
    background-color: #F06E38 !important; /* override storefront */
}

/* Footer of the login block */
.wh-login-footer {
    text-align: center;
}

.wh-hcaptcha-text {
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 35px 0;
}

.wh-login-links p {
    font-size: 15px;
    color: #444444;
    margin: 0 0 10px 0;
}

.wh-login-links a {
    color: #F06E38 !important;
    text-decoration: none !important;
    font-weight: 500;
}

.wh-login-links a:hover {
    text-decoration: underline !important;
}


/* ==========================================================================
   MY ACCOUNT PAGE (LOGGED IN DASHBOARD) DESIGN
   ========================================================================== */

body.woocommerce-account.logged-in,
body.woocommerce-account.logged-in #page,
body.woocommerce-account.logged-in .site-content {
    background-color: #f8f4f2 !important;
}

body.woocommerce-account.logged-in .site-main {
    background-color: transparent !important;
    padding-top: 20px;
    padding-bottom: 80px;
}

/* Page title */
body.woocommerce-account.logged-in h1.entry-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #2c2a29 !important;
    margin-bottom: 40px !important;
    border: none !important;
    padding-bottom: 0 !important;
}

/* Layout: Navigation and Content */
@media (min-width: 768px) {
    .woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
        width: 26% !important;
        float: left !important;
        margin-right: 4% !important;
    }
    .woocommerce-account.logged-in .woocommerce-MyAccount-content {
        width: 70% !important;
        float: left !important;
    }
}

/* Navigation Menu */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eae6e4 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 16px 20px !important;
    color: #444444 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #fcfcfc !important;
    color: #F06E38 !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    border-left: 3px solid #F06E38 !important;
    padding-left: 17px !important; /* compensate for 3px border */
    font-weight: 600 !important;
}

/* Content Area */
.woocommerce-MyAccount-content {
    background: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 4px;
    padding: 35px 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.woocommerce-MyAccount-content p {
    color: #555555;
    line-height: 1.7;
    font-size: 15px;
}

.woocommerce-MyAccount-content p a {
    color: #F06E38 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-content p a:hover {
    text-decoration: underline !important;
}

.woocommerce-MyAccount-content mark {
    background: transparent !important;
    color: #2c2a29 !important;
    font-weight: 600 !important;
}

/* Input Fields in Dashboard */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"] {
    width: 100% !important;
    height: 48px !important;
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 2px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    color: #333 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    margin-bottom: 5px;
}

.woocommerce-MyAccount-content input:focus {
    border-color: #F06E38 !important;
    outline: none !important;
}

/* Buttons in Dashboard */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
    background-color: #F06E38 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 12px 26px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
    box-shadow: 0 2px 5px rgba(240, 110, 56, 0.2) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover {
    background-color: #d95e2a !important;
    opacity: 0.9 !important;
}

/* Tables (Orders, Addresses) */
.woocommerce-MyAccount-content table.shop_table {
    border: 1px solid #eae6e4 !important;
    border-radius: 4px !important;
    border-collapse: separate !important;
    width: 100% !important;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
}

.woocommerce-MyAccount-content table.shop_table th {
    background-color: #fcfcfc !important;
    color: #333 !important;
    padding: 16px !important;
    border-bottom: 1px solid #eae6e4 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.woocommerce-MyAccount-content table.shop_table td {
    padding: 16px !important;
    border-bottom: 1px solid #eae6e4 !important;
    color: #555 !important;
    font-size: 15px !important;
}

.woocommerce-MyAccount-content table.shop_table tbody tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-MyAccount-content address {
    background-color: #fcfcfc;
    border: 1px solid #eae6e4;
    padding: 20px;
    border-radius: 4px;
    font-style: normal;
    color: #555;
    line-height: 1.6;
}

.woocommerce-MyAccount-content header.title h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
}

/* Mobile Adjustments for Dashboard */
@media (max-width: 767px) {
    .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }
    
    .woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
        margin-bottom: 30px !important;
    }
}

/* ==========================================================================
   SIDE CART (OFF-CANVAS)
   ========================================================================== */

.wh-side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.wh-side-cart-open .wh-side-cart-overlay {
    opacity: 1;
    visibility: visible;
}

.wh-side-cart-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

body.wh-side-cart-open .wh-side-cart-panel {
    right: 0;
}

.wh-side-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #eae6e4;
    background-color: #f8f4f2;
}

.wh-side-cart-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c2a29;
}

.wh-side-cart-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #444;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.wh-side-cart-close:hover {
    color: #F06E38;
}

.wh-side-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

/* WooCommerce Mini Cart Overrides */
.wh-side-cart-content ul.cart_list {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wh-side-cart-content ul.cart_list li {
    display: flex;
    align-items: flex-start;
    padding: 15px 0 !important;
    border-bottom: 1px solid #eae6e4;
    position: relative;
}

.wh-side-cart-content ul.cart_list li:last-child {
    border-bottom: none;
}

.wh-side-cart-content ul.cart_list li a.remove {
    position: absolute;
    top: 15px;
    right: 0;
    width: 24px;
    height: 24px;
    line-height: 24px !important;
    text-align: center;
    color: #999 !important;
    background: #f5f5f5 !important;
    border-radius: 50%;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.wh-side-cart-content ul.cart_list li a.remove:hover {
    background: #F06E38 !important;
    color: #ffffff !important;
}

.wh-side-cart-content ul.cart_list li a:not(.remove) {
    display: block;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 5px;
    padding-right: 30px;
}

.wh-side-cart-content ul.cart_list li a:hover {
    color: #F06E38;
}

.wh-side-cart-content ul.cart_list li img {
    width: 70px !important;
    height: auto !important;
    margin-right: 15px !important;
    float: left;
    border: 1px solid #eae6e4;
    border-radius: 2px;
}

.wh-side-cart-content ul.cart_list li .quantity {
    display: block;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.wh-side-cart-content .woocommerce-mini-cart__total {
    border-top: 1px solid #eae6e4;
    padding: 20px 0 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: #2c2a29;
}

.wh-side-cart-content .woocommerce-mini-cart__total strong {
    font-weight: 600;
}

.wh-side-cart-content .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.wh-side-cart-content .woocommerce-mini-cart__buttons a.button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.wc-forward {
    background-color: #f6f4f2 !important;
    color: #333 !important;
}

.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.wc-forward:hover {
    background-color: #e5e0dc !important;
}

.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.checkout {
    background-color: #F06E38 !important;
    color: #ffffff !important;
}

.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.checkout:hover {
    background-color: #d95c2b !important;
}

.wh-side-cart-content .woocommerce-mini-cart__empty-message {
    text-align: center;
    color: #666;
    margin-top: 40px;
    font-size: 16px;
}

.wh-empty-cart-btn:hover {
    background-color: #d95c2b !important;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */

/* Hide default storefront content wrapper spacing on homepage if needed */
body.page-template-template-homepage .site-content {
    padding-top: 0 !important;
}

/* --- Hero : structure et ambiance ---------------------------------------- */

.wh-hero-section {
    position: relative;
    width: 100%;
    min-height: min(86vh, 840px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background-color: #2b1e22;
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    isolation: isolate;
}

/* Voile de lisibilite : dense en haut (sous l'en-tete) et en bas, plus clair
   au centre pour laisser respirer la photo ; leger halo orange en bas. */
.wh-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(
            180deg,
            rgba(24, 14, 17, 0.74) 0%,
            rgba(24, 14, 17, 0.34) 30%,
            rgba(24, 14, 17, 0.46) 62%,
            rgba(24, 14, 17, 0.88) 100%
        ),
        radial-gradient(
            120% 92% at 50% 42%,
            rgba(24, 14, 17, 0) 34%,
            rgba(24, 14, 17, 0.52) 100%
        ),
        radial-gradient(
            78% 58% at 50% 104%,
            rgba(240, 110, 56, 0.20) 0%,
            rgba(240, 110, 56, 0) 72%
        );
}

.wh-hero-content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 980px;
    padding: clamp(58px, 8vh, 96px) 24px clamp(52px, 7vh, 88px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vh, 24px);
}

.wh-hero-top,
.wh-hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.wh-hero-bottom {
    gap: clamp(14px, 1.8vh, 22px);
}

/* Trait orange : rappel de la couleur de marque au-dessus du titre */
.wh-hero-top::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background-color: #F06E38;
    box-shadow: 0 0 20px rgba(240, 110, 56, 0.7);
    margin-bottom: clamp(18px, 2.4vh, 28px);
}

/* --- Hero : typographie -------------------------------------------------- */

.wh-hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: clamp(2.05rem, 5vw, 4.1rem) !important;
    font-weight: 800 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.028em !important;
    color: #ffffff !important;
    margin: 0 !important;
    max-width: 26ch;
    text-wrap: balance;
    text-shadow: 0 2px 26px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.wh-hero-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: clamp(1.02rem, 1.32vw, 1.26rem) !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;
    letter-spacing: 0.002em;
    color: rgba(255, 255, 255, 0.94) !important;
    margin: 0 !important;
    max-width: 54ch;
    text-wrap: pretty;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

/* --- Hero : boutons d'action -------------------------------------------- */

.wh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(4px, 1vh, 12px);
}

.wh-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 208px;
    padding: 17px 34px;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.012em;
    border-radius: 999px;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.22s ease, background-color 0.22s ease,
                color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.wh-btn-primary {
    background-color: #F06E38 !important;
    border: 1px solid #F06E38;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(240, 110, 56, 0.34);
}

.wh-btn-primary:hover,
.wh-btn-primary:focus-visible {
    background-color: #d95c2b !important;
    border-color: #d95c2b;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 36px rgba(240, 110, 56, 0.44);
}


/* ==========================================================================
   TYPOGRAPHY - INTER FONT
   ========================================================================== */

/* Police générale du site (body text) : Inter (Regular, 400) */
body, 
body button, 
body input, 
body textarea, 
body select,
p, 
span:not(.wh-hero-title):not(.wh-hero-subtitle), 
a, 
div:not(.wh-hero-title):not(.wh-hero-subtitle), 
li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

body {
    font-weight: 400;
}

/* En-tête (Barre de recherche & Menu de navigation) : Inter (Medium, 500) */
.wh-header-right,
.wh-search-field,
.wh-search-btn,
.wh-search-category,
.wh-mobile-menu-toggle,
.wh-mobile-search-toggle,
.wh-account-desktop,
.wh-region,
.storefront-primary-navigation,
.main-navigation ul li a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
}

/* La typographie et les couleurs du hero sont definies dans la section
   « HOMEPAGE HERO SECTION » plus haut : rien a redefinir ici. */

/* Titres des sections : Inter (Semi-Bold, 600), texte sombre */
h1:not(.wh-hero-title), 
h2:not(.wh-hero-title), 
h3:not(.wh-hero-title), 
h4, 
h5, 
h6,
.section-title,
.widget-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    color: #2c2a29 !important; /* Texte sombre */
}

/* Boutons du site : Inter (Semi-Bold, 600) */
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"], 
.button, 
.added_to_cart,
.wh-btn-primary,
.wh-contact-submit,
.woocommerce-mini-cart__buttons a.button {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
}

/* Bouton Hero Spécifique */
.wh-btn-primary {
    color: #ffffff !important;
    background-color: #F06E38 !important; /* Fond orange */
}


/* ==========================================================================
   SHOP LEFT SIDEBAR
   ========================================================================== */
.wh-sidebar-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wh-sidebar-cat-list li {
    margin-bottom: 15px;
    padding: 0 !important;
}

.wh-sidebar-cat-list li a {
    color: #555;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
    border: none;
}

.wh-sidebar-cat-list li a:hover {
    color: #F06E38;
}

.wh-sidebar-cat-list li a.active {
    color: #F06E38;
    font-weight: 600;
}






/* ==========================================================================
   FLEXBOX SHOP LAYOUT: SIDEBAR (FILTERS) + PRODUCTS HORIZONTALLY ALIGNED
   ========================================================================== */

/* Full Width Background for Shop */
body.wh-warehouse-shop-page,
body.wh-warehouse-shop-page #page,
body.wh-warehouse-shop-page .site-content {
    background-color: #f6f4f2 !important;
}

@media (min-width: 768px) {
    /* 1. Flex container wrapping both Sidebar and Content, allowing wrap for footer sections like Recently Viewed */
    body.wh-warehouse-shop-page #content.site-content > .col-full,
    body.wh-warehouse-shop-page .site-content > .col-full,
    body.wh-warehouse-shop-page #content > .col-full {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: none !important;
        /* Neutralise la marge du thème parent sur .col-full (2.617924em) qui,
           combinée à width:100%, faisait déborder la boutique vers la droite. */
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
        float: none !important;
    }

    /* 2. Remove Storefront clearfixes so pseudo-elements don't become flex items */
    body.wh-warehouse-shop-page .site-content > .col-full::before,
    body.wh-warehouse-shop-page .site-content > .col-full::after {
        display: none !important;
        content: none !important;
    }

    /* 3. Notices/Alerts sit at the very top (full width) */
    body.wh-warehouse-shop-page .woocommerce-notices-wrapper,
    body.wh-warehouse-shop-page .woocommerce-message,
    body.wh-warehouse-shop-page .woocommerce-info,
    body.wh-warehouse-shop-page .woocommerce-error {
        order: 1 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-bottom: 24px !important;
    }

    /* 4. Left Sidebar: Categories & Filters placed on the left */
    body.wh-warehouse-shop-page #secondary,
    body.wh-warehouse-shop-page #secondary.widget-area,
    body.wh-warehouse-shop-page .widget-area.wh-shop-sidebar {
        order: 2 !important;
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 260px !important;
        max-width: 300px !important;
        float: none !important;
        margin: 0 32px 0 0 !important;
        padding: 0 !important;
        clear: none !important;
        box-sizing: border-box !important;
        align-self: flex-start !important;
        position: relative !important;
        top: 0 !important;
    }

    /* 5. Main Products Area placed on the right */
    body.wh-warehouse-shop-page #primary,
    body.wh-warehouse-shop-page #primary.content-area {
        order: 3 !important;
        flex: 1 1 calc(100% - 312px) !important;
        min-width: 0 !important; /* Critical to prevent flex item blowout from grid */
        width: auto !important;
        max-width: none !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        clear: none !important;
        box-sizing: border-box !important;
        align-self: flex-start !important;
    }

    /* 6. Recently Viewed Products section sits at the bottom across 100% width */
    body.wh-warehouse-shop-page .wh-recently-viewed-section {
        order: 4 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 50px !important;
        margin-bottom: 40px !important;
        clear: both !important;
        display: block !important;
    }
}

/* Mobile & Tablet Portrait (< 768px) */
@media (max-width: 767px) {
    body.wh-warehouse-shop-page #content.site-content > .col-full,
    body.wh-warehouse-shop-page .site-content > .col-full {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        /* Voir le commentaire du bloc (min-width: 768px) : la marge héritée du
           thème parent faisait déborder la boutique sur mobile également. */
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.wh-warehouse-shop-page .woocommerce-notices-wrapper {
        order: 1 !important;
        width: 100% !important;
    }

    body.wh-warehouse-shop-page #primary,
    body.wh-warehouse-shop-page #primary.content-area {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        float: none !important;
        margin: 0 !important;
    }

    /* On mobile, sidebar does NOT stay at the bottom of the page! It becomes a smooth sliding drawer opened by the Filter button */
    body.wh-warehouse-shop-page #secondary,
    body.wh-warehouse-shop-page #secondary.widget-area,
    body.wh-warehouse-shop-page .widget-area.wh-shop-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 320px !important;
        max-width: 85% !important;
        height: 100vh !important;
        background-color: #ffffff !important;
        z-index: 99999 !important;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25) !important;
        transform: translateX(-105%) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        display: block !important;
    }

    body.wh-warehouse-shop-page #secondary.is-drawer-open {
        transform: translateX(0) !important;
    }

    body.wh-warehouse-shop-page .wh-recently-viewed-section {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        margin-top: 24px !important;
    }
}

/* --- SIDEBAR AND FILTERS --- */
.wh-shop-sidebar {
    background-color: #ffffff !important;
    border: 1px solid #eae6e4 !important;
}
.wh-sidebar-section {
    padding: 30px;
    border-bottom: 1px solid #eae6e4;
}
.wh-sidebar-section:last-child {
    border-bottom: none;
}
.wh-filters-main-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #2c2a29;
}

/* Category List inside Sidebar */
ul.wh-sidebar-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
ul.wh-sidebar-cat-list li {
    margin-bottom: 12px;
}
ul.wh-sidebar-cat-list li a {
    font-size: 15px;
    color: #555;
    text-decoration: none !important;
}
ul.wh-sidebar-cat-list li a:hover,
ul.wh-sidebar-cat-list li a.active {
    color: #2c2a29;
    font-weight: 600;
}

/* Filter Groups */
.wh-filter-group {
    margin-bottom: 30px;
}
.wh-filter-title {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    color: #2c2a29;
}
.wh-chevron {
    width: 10px;
    height: 6px;
    color: #2c2a29;
}
.wh-filter-content {
    display: block;
}

/* Checkboxes for Filters */
.wh-checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    user-select: none;
}
.wh-checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.wh-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 3px;
    transition: all 0.2s;
}
.wh-checkbox-label:hover input ~ .wh-checkmark {
    border-color: #999;
}
.wh-checkbox-label input:checked ~ .wh-checkmark {
    background-color: #F06E38;
    border-color: #F06E38;
}
.wh-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.wh-checkbox-label input:checked ~ .wh-checkmark:after {
    display: block;
}
.wh-checkbox-label .wh-checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Disabled State */
.wh-checkbox-label input:disabled ~ .wh-checkmark {
    background-color: #f6f4f2;
    border-color: #eae6e4;
    cursor: not-allowed;
}
.wh-checkbox-label input:disabled {
    cursor: not-allowed;
}

/* Price Inputs */
.wh-price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wh-input-wrapper {
    position: relative;
    flex: 1;
}
.wh-input-wrapper .wh-currency {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 14px;
}
.wh-input-wrapper input {
    width: 100%;
    padding: 8px 10px 8px 25px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #2c2a29;
}
.wh-input-wrapper input:focus {
    border-color: #2c2a29 !important;
    outline: none !important;
}
.wh-price-sep {
    color: #555;
}

/* Visual Fake Slider */
.wh-price-slider-visual {
    height: 4px;
    background: #eae6e4;
    margin-bottom: 20px;
    position: relative;
    border-radius: 2px;
}
.wh-price-slider-visual .wh-slider-range {
    position: absolute;
    left: 15%;
    right: 25%;
    height: 100%;
    background: #2c2a29;
    border-radius: 2px;
}
.wh-price-slider-visual .wh-slider-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #2c2a29;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.wh-slider-handle.left { left: 15%; }
.wh-slider-handle.right { right: 25%; }

/* ==========================================================================
   HOMEPAGE CATEGORY BANNERS SLIDER SECTION (PC & MOBILE SLIDER)
   ========================================================================== */

.wh-category-banners-section {
    padding: 38px 0 46px 0;
    width: 100%;
    position: relative;
    background-color: #f8f4f2 !important;
}

.wh-category-banners-section .col-full {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.wh-category-slider-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.wh-category-banners-slider {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 6px 2px 10px 2px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    cursor: grab;
    user-select: none;
}

.wh-category-banners-slider::-webkit-scrollbar {
    display: none;
}

.wh-category-banners-slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.wh-category-banner-card {
    position: relative;
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    scroll-snap-align: start;
    height: 250px;
    min-height: 250px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #2c2a29;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.wh-category-banner-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.wh-category-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.wh-category-banner-card:hover .wh-category-banner-bg {
    transform: scale(1.05);
}

.wh-category-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.54) 0%, rgba(15, 15, 15, 0.34) 55%, rgba(15, 15, 15, 0.12) 100%);
    z-index: 1;
    pointer-events: none;
    transition: background 0.3s ease;
}

.wh-category-banner-card:hover .wh-category-banner-overlay {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.60) 0%, rgba(15, 15, 15, 0.40) 55%, rgba(15, 15, 15, 0.16) 100%);
}

.wh-category-banner-content {
    position: relative;
    z-index: 2;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
}

.wh-category-banner-title,
h3.wh-category-banner-title,
.wh-category-banner-content h3,
.wh-category-banner-content .wh-category-banner-title,
.wh-category-banner-title a,
h3.wh-category-banner-title a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45) !important;
}

.wh-category-banner-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    opacity: 0.95;
    line-height: 1.45 !important;
    margin: 0 0 16px 0 !important;
    max-width: 320px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.wh-category-banner-btn {
    display: inline-block !important;
    background-color: #ffffff !important;
    color: #2c2a29 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    margin-top: auto !important;
}

.wh-category-banner-btn:hover {
    background-color: #f7f5f2 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2) !important;
}

/* Slider navigation arrows */
.wh-category-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #2c2a29;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0;
}

.wh-category-slider-arrow.wh-slider-prev {
    left: -20px;
}

.wh-category-slider-arrow.wh-slider-next {
    right: -20px;
}

.wh-category-slider-arrow:hover {
    background-color: #2c2a29;
    color: #ffffff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.wh-category-slider-arrow.is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Dots indicator */
.wh-category-slider-dots-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
}

.wh-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wh-cat-dot.active {
    width: 24px;
    background-color: #2c2a29;
}

/* Tablet view */
@media (max-width: 1024px) {
    .wh-category-banner-card {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
        height: 235px;
        min-height: 235px;
    }

    .wh-category-slider-arrow.wh-slider-prev {
        left: -12px;
    }

    .wh-category-slider-arrow.wh-slider-next {
        right: -12px;
    }
}

/* Mobile view */
@media (max-width: 640px) {
    .wh-category-banners-section {
        padding: 26px 0 32px 0;
    }

    .wh-category-banners-section .col-full {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wh-category-banners-slider {
        gap: 14px;
    }

    .wh-category-banner-card {
        flex: 0 0 84%;
        min-width: 84%;
        max-width: 84%;
        height: 215px;
        min-height: 215px;
        scroll-snap-align: center;
    }

    .wh-category-banner-content {
        padding: 20px 18px;
    }

    .wh-category-banner-title,
    h3.wh-category-banner-title {
        font-size: 19px !important;
        margin-bottom: 4px !important;
    }

    .wh-category-banner-desc {
        font-size: 12.5px !important;
        margin-bottom: 12px !important;
        max-width: 250px !important;
    }

    .wh-category-banner-btn {
        padding: 7px 15px !important;
        font-size: 12.5px !important;
    }

    .wh-category-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .wh-category-slider-arrow.wh-slider-prev {
        left: -8px;
    }

    .wh-category-slider-arrow.wh-slider-next {
        right: -8px;
    }
}

/* ==========================================================================
   HOMEPAGE "NOS BOIS" SECTION STYLES
   ========================================================================== */

.wh-nos-bois-section {
    padding: 48px 0 60px 0;
    width: 100%;
    background-color: #f7f4f2;
    border-top: 1px solid #ebe5e1;
    box-sizing: border-box;
}

.wh-nos-bois-section .col-full {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Section Header */
.wh-nos-bois-header {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wh-nos-bois-subtitle {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #F06E38;
    margin-bottom: 6px;
    display: inline-block;
}

.wh-nos-bois-main-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 12px 0 !important;
}

.wh-nos-bois-accent-bar {
    width: 52px;
    height: 3px;
    background-color: #F06E38;
    border-radius: 2px;
}

/* Wood Category Row */
.wh-wood-category-row {
    margin-bottom: 44px;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 24px 24px 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eae5e1;
}

.wh-wood-category-row:last-child {
    margin-bottom: 0;
}

/* Row Header */
.wh-wood-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0ece9;
    gap: 16px;
    flex-wrap: wrap;
}

.wh-wood-row-info {
    flex: 1 1 300px;
}

.wh-wood-row-title,
h3.wh-wood-row-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.25 !important;
}

.wh-wood-row-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.wh-wood-row-title a:hover {
    color: #F06E38 !important;
}

.wh-wood-row-desc {
    font-size: 13.5px;
    color: #6d6a68;
    margin: 0;
    line-height: 1.4;
}

/* Row Controls (View all + Arrows) */
.wh-wood-row-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wh-wood-row-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #F06E38;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.wh-wood-row-view-all:hover {
    color: #d85c28;
    transform: translateX(2px);
}

.wh-wood-slider-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wh-wood-slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f7f4f2;
    border: 1px solid #e2ddd9;
    color: #2c2a29;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.wh-wood-slider-btn:hover {
    background-color: #2c2a29;
    border-color: #2c2a29;
    color: #ffffff;
}

.wh-wood-slider-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Slider Wrapper & Track */
.wh-wood-slider-wrapper {
    position: relative;
    width: 100%;
}

.wh-wood-products-slider {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    cursor: grab;
    padding: 4px 0 10px 0;
}

.wh-wood-products-slider::-webkit-scrollbar {
    display: none;
}

.wh-wood-products-slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

/* List of products inside the horizontal slider */
.wh-wood-product-list.products {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wh-wood-product-list.products li.product.wh-product-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    scroll-snap-align: start;
    border: 1px solid #eee9e6 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.wh-wood-product-list.products li.product.wh-product-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    border-color: #dcd6d1 !important;
}

/* Empty state */
.wh-wood-empty-state {
    padding: 36px 20px;
    text-align: center;
    background-color: #faf8f7;
    border-radius: 4px;
    border: 1px dashed #ded7d2;
}

.wh-wood-empty-state p {
    font-size: 14px;
    color: #777;
    margin: 0 0 14px 0;
}

.wh-wood-empty-btn {
    background-color: #F06E38 !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .wh-nos-bois-section {
        padding: 38px 0 46px 0;
    }

    .wh-wood-product-list.products li.product.wh-product-card {
        flex: 0 0 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }
}

@media (max-width: 640px) {
    .wh-nos-bois-section {
        padding: 28px 0 36px 0;
    }

    .wh-nos-bois-section .col-full {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wh-nos-bois-main-title {
        font-size: 26px !important;
    }

    .wh-wood-category-row {
        padding: 16px 14px 20px 14px;
        margin-bottom: 28px;
    }

    .wh-wood-row-title,
    h3.wh-wood-row-title {
        font-size: 18px !important;
    }

    .wh-wood-row-header {
        align-items: flex-start;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .wh-wood-product-list.products li.product.wh-product-card {
        flex: 0 0 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;
    }
}

/* ==========================================================================
   MOBILE & DESKTOP SHOP TOOLBAR (EXACT MATCH TO USER ATTACHED IMAGE)
   ========================================================================== */

.wh-shop-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px 18px 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8e3df;
    box-sizing: border-box;
    background-color: transparent;
}

/* 1. Filter Button (Left item matching the funnel icon and text) */
.wh-toolbar-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    color: #2c2a29;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.wh-toolbar-filter-btn:hover {
    color: #F06E38;
}

.wh-toolbar-filter-btn .wh-filter-icon {
    stroke: #2c2a29;
    transition: stroke 0.15s ease;
}

.wh-toolbar-filter-btn:hover .wh-filter-icon {
    stroke: #F06E38;
}

/* On Desktop (>= 768px), sidebar is already visible on the left, so Filter button can either be subtle or hidden */
@media (min-width: 768px) {
    .wh-toolbar-filter-btn {
        display: none; /* Sidebar is already permanently docked on desktop */
    }
}

/* 2. Sort by dropdown (Center item matching "Sort by v") */
.wh-toolbar-sort-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.wh-toolbar-sort-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2c2a29;
    cursor: pointer;
    line-height: 1;
    margin: 0;
}

.wh-sort-chevron {
    stroke: #2c2a29;
    transition: transform 0.2s ease;
}

/* Invisible standard select overlaid on the Sort by label for native iOS/Android picker behavior */
.wh-toolbar-ordering-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.wh-toolbar-sort-select {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* 3. View Switcher (Right item matching the 3x3 grid dots and horizontal list lines) */
.wh-toolbar-view-switcher {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.wh-view-btn {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #928b87; /* Inactive grey */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.1s ease;
    border-radius: 2px;
}

.wh-view-btn:hover {
    color: #4a4542;
}

.wh-view-btn.active {
    color: #2c2a29; /* Dark active state matching screenshot */
}

/* List View transformation on shop product grid */
.site-main ul.products.wh-view-list-active {
    display: flex !important;
    flex-direction: column !important;
    border-right: 1px solid #eae6e4 !important;
    gap: 0 !important;
}

.site-main ul.products.wh-view-list-active li.product.wh-product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    flex: 1 1 100% !important;
    border-bottom: 1px solid #eae6e4 !important;
    padding: 20px !important;
}

.site-main ul.products.wh-view-list-active .wh-product-card-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 0 !important;
}

.site-main ul.products.wh-view-list-active .wh-card-image-link {
    flex: 0 0 140px !important;
    margin-bottom: 0 !important;
}

.site-main ul.products.wh-view-list-active .wh-card-image-wrapper {
    height: 130px !important;
}

.site-main ul.products.wh-view-list-active .wh-card-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.site-main ul.products.wh-view-list-active .wh-loop-actions {
    flex-direction: row !important;
    max-width: 320px !important;
}

@media (max-width: 600px) {
    .site-main ul.products.wh-view-list-active .wh-product-card-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .site-main ul.products.wh-view-list-active .wh-card-image-link {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .site-main ul.products.wh-view-list-active .wh-card-image-wrapper {
        height: 180px !important;
    }

    .site-main ul.products.wh-view-list-active .wh-loop-actions {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   MOBILE FILTER DRAWER OVERLAY & HEADER
   ========================================================================== */

.wh-shop-drawer-overlay {
    display: none;
}

@media (max-width: 767px) {
    .wh-shop-drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.45);
        z-index: 99998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .wh-shop-drawer-overlay.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Drawer Header */
    .wh-shop-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        background-color: #2c2a29;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .wh-shop-drawer-title-wrap {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .wh-shop-drawer-title {
        font-family: 'Inter', sans-serif;
        font-size: 17px;
        font-weight: 600;
        color: #ffffff;
    }

    .wh-shop-drawer-close {
        background: transparent;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.85;
        transition: opacity 0.2s ease;
    }

    .wh-shop-drawer-close:hover {
        opacity: 1;
    }

    body.wh-filter-drawer-open {
        overflow: hidden !important;
    }
}

/* Sidebar Headings (Categories, Filters, etc.) - Apply across all devices */
.wh-sidebar-heading,
.widget-area.wh-shop-sidebar .widget-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #2c2a29 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #F06E38;
    display: inline-block;
}

/* Hide drawer header on Desktop */
@media (min-width: 768px) {
    .wh-shop-drawer-header {
        display: none !important;
    }
}




/* ==========================================================================
   HOMEPAGE REVIEWS / AVIS CLIENTS SECTION (MATCHING FOOTER BACKGROUND #f8f4f2)
   ========================================================================== */

.wh-reviews-section {
    background-color: #f8f4f2 !important; /* EXACT match to footer background as requested */
    padding: 70px 0 60px 0;
    width: 100%;
    position: relative;
    border-top: 1px solid #eae6e4;
    box-sizing: border-box;
}

.wh-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Header */
.wh-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.wh-reviews-header-left {
    max-width: 680px;
}

.wh-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #F06E38;
    background-color: #ffffff;
    border: 1px solid rgba(240, 110, 56, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.wh-reviews-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    line-height: 1.25 !important;
    margin: 0 0 10px 0 !important;
}

.wh-reviews-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Score Card */
.wh-reviews-header-right {
    flex-shrink: 0;
}

.wh-reviews-score-card {
    background-color: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 8px;
    padding: 16px 22px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wh-reviews-score-val {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #2c2a29;
    line-height: 1;
    margin-bottom: 6px;
}

.wh-reviews-score-max {
    font-size: 16px;
    font-weight: 500;
    color: #888888;
}

.wh-reviews-score-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 6px;
}

.wh-reviews-score-meta {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #666666;
}

.wh-reviews-score-meta strong {
    color: #2c2a29;
}

/* Filter Bar */
.wh-reviews-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.wh-review-filter-btn {
    background-color: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 24px;
    padding: 7px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #555555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wh-review-filter-btn:hover {
    border-color: #F06E38;
    color: #F06E38;
}

.wh-review-filter-btn.active {
    background-color: #2c2a29;
    border-color: #2c2a29;
    color: #ffffff;
}

/* Slider Track Wrapper */
.wh-reviews-slider-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.wh-reviews-track-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 16px 4px;
    scrollbar-width: thin;
    scrollbar-color: #d6d0cc transparent;
    cursor: grab;
}

.wh-reviews-track-container.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.wh-reviews-track-container::-webkit-scrollbar {
    height: 6px;
}

.wh-reviews-track-container::-webkit-scrollbar-thumb {
    background-color: #d6d0cc;
    border-radius: 10px;
}

/* Review Card */
.wh-review-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 290px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.wh-review-card-inner {
    background-color: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.wh-review-card-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #d6d0cc;
}

/* Top bar: stars + date */
.wh-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.wh-review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wh-review-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #999999;
}

/* Title & Text */
.wh-review-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #2c2a29 !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
}

.wh-review-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

/* Product Tag */
.wh-review-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fbf9f8;
    border: 1px solid #f0eae6;
    border-radius: 4px;
    padding: 5px 9px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: #555555;
    margin-bottom: 18px;
    line-height: 1.3;
}

.wh-review-product span {
    font-weight: 500;
}

/* Author Row */
.wh-review-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f3efed;
    margin-top: auto;
}

.wh-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f06e38;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wh-review-author-meta {
    display: flex;
    flex-direction: column;
}

.wh-review-author-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #2c2a29;
}

.wh-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 500;
    color: #15803d;
    background-color: #dcfce7;
    padding: 1px 6px;
    border-radius: 10px;
}

.wh-review-location {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #777777;
}

/* Navigation Arrow Buttons */
.wh-reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #eae6e4;
    color: #2c2a29;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: all 0.2s ease;
}

.wh-reviews-nav-btn:hover {
    background-color: #F06E38;
    border-color: #F06E38;
    color: #ffffff;
}

.wh-reviews-nav-btn.prev {
    left: -20px;
}

.wh-reviews-nav-btn.next {
    right: -20px;
}

/* Expanded Grid Mode (when user clicks "Afficher tous les avis") */
.wh-reviews-track-container.wh-grid-expanded {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    overflow: visible !important;
    cursor: default !important;
}

.wh-reviews-track-container.wh-grid-expanded .wh-review-card {
    flex: none !important;
    min-width: 0 !important;
}

/* Footer Action Row */
.wh-reviews-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0 4px;
}

.wh-reviews-counter {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #777777;
}

.wh-reviews-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 6px;
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #2c2a29;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wh-reviews-view-all-btn:hover {
    border-color: #F06E38;
    color: #F06E38;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .wh-review-card {
        flex: 0 0 calc(50% - 10px);
    }
    .wh-reviews-track-container.wh-grid-expanded {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .wh-reviews-nav-btn.prev {
        left: -10px;
    }
    .wh-reviews-nav-btn.next {
        right: -10px;
    }
}

@media (max-width: 767px) {
    .wh-reviews-section {
        padding: 50px 0 40px 0;
    }
    .wh-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .wh-reviews-header-right {
        width: 100%;
    }
    .wh-reviews-score-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 12px 18px;
    }
    .wh-reviews-score-val {
        font-size: 22px;
        margin-bottom: 0;
    }
    .wh-reviews-title {
        font-size: 23px !important;
    }
    .wh-review-card {
        flex: 0 0 85%;
        min-width: 260px;
    }
    .wh-reviews-track-container.wh-grid-expanded {
        grid-template-columns: 1fr !important;
    }
    .wh-reviews-nav-btn {
        display: none !important; /* Touch swipe on mobile */
    }
    .wh-reviews-footer-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
}


/* ==========================================================================
   ENCART WOOCOMMERCE « INFO » (ex. « Aucun produit ne correspond à votre
   sélection. ») — aligné sur la charte : carte blanche, bord 1px #eae6e4,
   accent orange #F06E38, police Inter, icône SVG (sans Font Awesome).
   ========================================================================== */
.woocommerce-info {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border: 1px solid #eae6e4 !important;
    border-left: 4px solid #F06E38 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 12px rgba(58, 42, 47, 0.05) !important;
    color: #2c2a29 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    padding: 22px 28px 22px 72px !important;
    min-height: 70px;
    margin-bottom: 24px !important;
}

/* Icône SVG du thème (plus aucune dépendance à la police Font Awesome) */
.woocommerce-info::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 26px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    font-family: inherit !important;
    color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F06E38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
}

/* Lien texte éventuel dans l'encart */
.woocommerce-info a {
    color: #F06E38 !important;
    text-decoration: underline !important;
}
.woocommerce-info a:hover {
    opacity: .8;
}

/* Bouton éventuel (ex. « Voir le panier ») : lisible sur fond blanc */
.woocommerce-info .button {
    float: right !important;
    background: none !important;
    color: #F06E38 !important;
    font-weight: 700 !important;
    border: 0 !important;
    border-left: 1px solid #eae6e4 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 18px !important;
    margin-left: 18px !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
}
.woocommerce-info .button:hover {
    background: none !important;
    color: #F06E38 !important;
    opacity: .75;
}

/* Confort de lecture sur mobile */
@media (max-width: 767px) {
    .woocommerce-info {
        padding: 18px 20px 18px 58px !important;
        font-size: 14px !important;
        min-height: 60px;
    }
    .woocommerce-info::before {
        left: 18px !important;
        width: 20px !important;
        height: 20px !important;
        background-size: 20px 20px !important;
    }
}

/* ==========================================================================
   ENCART WOOCOMMERCE « SUCCÈS » (ex. « … a été ajouté à votre panier. »)
   Storefront applique par défaut un aplat vert #0f834d et une icône Font
   Awesome. On l'aligne sur la charte, comme l'encart « info » ci-dessus :
   carte blanche, bord 1px #eae6e4, accent orange #F06E38, icône SVG
   (sans Font Awesome), police Inter et bouton « Voir le panier » orange.
   ========================================================================== */
.woocommerce-message {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #eae6e4 !important;
    border-left: 4px solid #F06E38 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 12px rgba(58, 42, 47, 0.05) !important;
    color: #2c2a29 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    padding: 22px 28px 22px 72px !important;
    min-height: 70px;
    margin-bottom: 24px !important;
    text-shadow: none !important;
}

/* Icône « coche » du thème (remplace le glyphe Font Awesome) */
.woocommerce-message::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 26px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    font-family: inherit !important;
    font-size: 0 !important;
    color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F06E38' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='16.5 9 11 14.5 7.5 11'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
}

/* Lien texte éventuel dans l'encart */
.woocommerce-message a {
    color: #F06E38 !important;
    text-decoration: underline !important;
}

.woocommerce-message a:hover {
    opacity: 0.8;
}

/* Bouton « Voir le panier » : texte orange séparé par un filet */
.woocommerce-message .button,
.woocommerce-message .wc-forward {
    float: right !important;
    background: none !important;
    background-color: transparent !important;
    color: #F06E38 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    border: 0 !important;
    border-left: 1px solid #eae6e4 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 18px !important;
    margin: 0 0 0 18px !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    text-shadow: none !important;
}

.woocommerce-message .button:hover,
.woocommerce-message .button:focus,
.woocommerce-message .wc-forward:hover,
.woocommerce-message .wc-forward:focus {
    background: none !important;
    background-color: transparent !important;
    color: #F06E38 !important;
    opacity: 0.75;
}

/* Confort de lecture sur mobile : le bouton passe sous le texte */
@media (max-width: 767px) {
    .woocommerce-message {
        padding: 18px 20px 18px 58px !important;
        font-size: 14px !important;
        min-height: 60px;
    }

    .woocommerce-message::before {
        left: 18px !important;
        width: 20px !important;
        height: 20px !important;
        background-size: 20px 20px !important;
    }

    .woocommerce-message .button,
    .woocommerce-message .wc-forward {
        float: none !important;
        display: block !important;
        border-left: 0 !important;
        border-top: 1px solid #eae6e4 !important;
        padding: 10px 0 0 !important;
        margin: 10px 0 0 !important;
        text-align: left;
    }
}



/* ==========================================================================
   PANIER LATÉRAL — refonte : en-tête signé, lignes produits lisibles,
   pied collant (sous-total + boutons toujours visibles), état vide utile.
   ========================================================================== */
/* ===== PANNEAU ===== */
.wh-side-cart-panel { max-width: 440px; box-shadow: -12px 0 40px rgba(58,42,47,.14); }

/* ===== EN-TÊTE ===== */
.wh-side-cart-header { padding: 20px 24px; background-color: #ffffff; border-bottom: 1px solid #eae6e4; }
.wh-side-cart-header h3 {
  margin: 0; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase; color: #2c2a29;
  padding-bottom: 8px; border-bottom: 2px solid #F06E38;
}
.wh-side-cart-close {
  width: 38px; height: 38px; padding: 0; border-radius: 50%;
  background-color: #f6f4f2; color: #2c2a29;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, color .2s ease;
}
.wh-side-cart-close:hover { background-color: #F06E38; color: #ffffff; }
.wh-side-cart-close svg { width: 18px; height: 18px; }

/* ===== CONTENU ===== */
.wh-side-cart-content { padding: 0; display: flex; flex-direction: column; overflow-y: auto; }

/* ===== LIGNES PRODUIT ===== */
.wh-side-cart-content ul.woocommerce-mini-cart { margin: 0 !important; padding: 4px 24px 0 !important; list-style: none !important; }
.wh-side-cart-content ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
  display: block !important; padding: 18px 0 !important; border-bottom: 1px solid #eae6e4; position: relative;
}
.wh-side-cart-content ul.woocommerce-mini-cart li.woocommerce-mini-cart-item:last-child { border-bottom: none; }
.wh-side-cart-content ul.woocommerce-mini-cart li > a:not(.remove) {
  display: flex !important; align-items: flex-start; gap: 16px; padding: 0 32px 0 0 !important; margin: 0 !important;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.4;
  color: #2c2a29 !important; text-decoration: none;
}
.wh-side-cart-content ul.woocommerce-mini-cart li > a:not(.remove):hover { color: #F06E38 !important; }
.wh-side-cart-content ul.woocommerce-mini-cart li > a:not(.remove) img {
  flex: 0 0 68px; width: 68px !important; height: 68px !important; object-fit: cover;
  margin: 0 !important; float: none !important; border: 1px solid #eae6e4; border-radius: 3px; background-color: #f8f6f4;
}
.wh-side-cart-content ul.woocommerce-mini-cart li .quantity {
  display: block; margin: 6px 0 0 84px; font-size: 13.5px; color: #6f6a66;
}
.wh-side-cart-content ul.woocommerce-mini-cart li a.remove {
  position: absolute !important; top: 18px; right: 0;
  width: 26px !important; height: 26px !important; line-height: 24px !important; border-radius: 50%;
  background-color: #f6f4f2 !important; color: #8a837e !important; font-size: 15px !important; font-weight: 400 !important; text-align: center;
}
.wh-side-cart-content ul.woocommerce-mini-cart li a.remove:hover { background-color: #F06E38 !important; color: #ffffff !important; }

/* ===== PIED COLLANT ===== */
.wh-side-cart-content .wh-mini-cart-footer {
  position: sticky; bottom: 0; margin-top: auto;
  padding: 18px 24px 22px; background-color: #ffffff;
  border-top: 1px solid #eae6e4; box-shadow: 0 -8px 20px rgba(58,42,47,.05);
}
.wh-side-cart-content .woocommerce-mini-cart__total {
  border-top: 0; padding: 0; margin: 0 0 16px; display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; color: #6f6a66;
}
.wh-side-cart-content .woocommerce-mini-cart__total .amount { font-size: 19px; font-weight: 700; color: #2c2a29; }
.wh-side-cart-content .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.wh-side-cart-content .woocommerce-mini-cart__buttons a.button {
  display: block; width: 100%; text-align: center; padding: 15px 18px; border-radius: 3px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 700; letter-spacing: .3px; border: 1px solid transparent;
}
.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.wc-forward {
  background-color: #ffffff !important; border-color: #ddd6d1 !important; color: #2c2a29 !important;
}
.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.wc-forward:hover { background-color: #f6f4f2 !important; border-color: #c9c1bb !important; }
.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.checkout {
  background-color: #F06E38 !important; color: #ffffff !important;
}
.wh-side-cart-content .woocommerce-mini-cart__buttons a.button.checkout:hover { background-color: #d95c2b !important; }

/* ===== ÉTAT VIDE ===== */
.wh-side-cart-content .wh-mini-cart-empty {
  flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 32px 46px;
}
.wh-mini-cart-empty-icon {
  width: 88px; height: 88px; border-radius: 50%; background-color: #fdf1ea;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.wh-side-cart-content .woocommerce-mini-cart__empty-message {
  margin: 0 0 10px; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: #2c2a29; text-align: center;
}
.wh-mini-cart-empty-text { margin: 0 0 24px; max-width: 250px; font-size: 14px; line-height: 1.55; color: #6f6a66; }
.wh-mini-cart-empty-cta.button {
  display: inline-block; padding: 14px 28px; background-color: #F06E38 !important; color: #ffffff !important;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .3px;
  border-radius: 3px; text-decoration: none; border: none;
}
.wh-mini-cart-empty-cta.button:hover { background-color: #d95c2b !important; }

/* ===== BOUTON RETIRER (croix) ===== */
.wh-side-cart-content ul.woocommerce-mini-cart li a.remove {
  color: transparent !important; font-size: 0 !important; text-indent: -9999px !important; overflow: hidden;
}
.wh-side-cart-content ul.woocommerce-mini-cart li a.remove::before {
  font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important; content: "\f00d" !important;
  position: absolute !important; top: 0; left: 0; right: 0; bottom: 0;
  display: flex !important; align-items: center; justify-content: center;
  font-size: 12px !important; line-height: 1 !important; color: #8a837e !important; text-indent: 0 !important;
}
.wh-side-cart-content ul.woocommerce-mini-cart li a.remove:hover { background-color: #F06E38 !important; }
.wh-side-cart-content ul.woocommerce-mini-cart li a.remove:hover::before { color: #ffffff !important; }


/* ==========================================================================
   PANIER LATÉRAL — correctifs (quantité, hauteur mobile, verrouillage)
   ========================================================================== */

/* La quantité affichée dans le panier latéral ne doit PAS reprendre le style du
   sélecteur de quantité de la fiche produit (bordure, 44 px, inline-flex). */
.wh-side-cart-content .woocommerce-mini-cart-item .quantity {
    display: block !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 8px 0 0 84px !important;
    font-size: 13.5px !important;
    color: #6f6a66 !important;
}

/* Hauteur dynamique : sur mobile, 100vh inclut la barre d'outils du navigateur
   et peut masquer le bas du panneau (sous-total + boutons). */
.wh-side-cart-panel {
    height: 100vh;
    height: 100dvh;
}

/* La page derrière ne défile plus pendant que le panier est ouvert. */
body.wh-side-cart-open {
    overflow: hidden;
}


/* ==========================================================================
   PANIER LATÉRAL — robustesse aux rafraîchissements AJAX
   ==========================================================================
   WooCommerce remplace tout l'élément `.widget_shopping_cart_content`, ce qui
   lui fait perdre la classe du thème `.wh-side-cart-content` (corrigé côté PHP).
   Ces règles ciblent la classe WooCommerce, qui survit toujours, afin que la
   mise en page tienne même si ce remplacement évolue. */
.wh-side-cart-panel > .widget_shopping_cart_content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0;
}
.wh-side-cart-panel .wh-mini-cart-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px 46px;
}
.wh-side-cart-panel .woocommerce-mini-cart__empty-message {
    margin: 0 0 10px;
    text-align: center;
    font-weight: 600;
    color: #2c2a29;
}
.wh-side-cart-panel .wh-mini-cart-empty-icon,
.wh-side-cart-panel .wh-mini-cart-empty-cta.button {
    margin-left: auto;
    margin-right: auto;
}
.wh-side-cart-panel .wh-mini-cart-footer {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding: 18px 24px 22px;
    background-color: #ffffff;
    border-top: 1px solid #eae6e4;
    box-shadow: 0 -8px 20px rgba(58, 42, 47, 0.05);
}


/* ==========================================================================
   PAGE À PROPOS — cartes « Nos activités & produits »
   ========================================================================== */

/* Lien « Voir la gamme » vers la catégorie correspondante */
.wh-about-product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #F06E38;
    text-decoration: none;
    transition: color 0.2s ease;
}
.wh-about-product-link svg {
    transition: transform 0.2s ease;
}
.wh-about-product-link:hover {
    color: #d95c2b;
}
.wh-about-product-link:hover svg {
    transform: translateX(3px);
}


/* ==========================================================================
   BOUTIQUE — FILTRES AVANCÉS (attributs du catalogue, prix)
   ========================================================================== */

/* --- Filtres actifs (puces) ---------------------------------------------- */
.wh-filter-active {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eae6e4;
}
.wh-filter-active-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #6f6a66;
    margin-bottom: 10px;
}
.wh-filter-chips {
    list-style: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.wh-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    background-color: #ffffff;
    border: 1px solid #e0dad6;
    border-radius: 2px;
    color: #2c2a29;
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none !important;
}
.wh-filter-chip:hover {
    border-color: #F06E38;
    color: #F06E38;
}
.wh-filter-chip svg {
    flex: 0 0 auto;
}
.wh-filter-clear {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #F06E38;
    text-decoration: none !important;
    border-bottom: 1px solid currentColor;
}
.wh-filter-clear:hover {
    color: #d95c2b;
}

/* --- Groupes de filtres (balises <details>) ------------------------------ */
.wh-shop-filters details.wh-filter-group {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eae6e4;
}
.wh-shop-filters details.wh-filter-group:last-of-type {
    border-bottom: none;
}
.wh-shop-filters .wh-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 0;
    cursor: pointer;
    list-style: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #2c2a29;
}
.wh-shop-filters .wh-filter-summary::-webkit-details-marker {
    display: none;
}
.wh-shop-filters .wh-filter-summary:hover {
    color: #F06E38;
}
.wh-shop-filters .wh-filter-chevron {
    flex: 0 0 auto;
    color: #9a938e;
    transition: transform 0.2s ease;
}
.wh-shop-filters details[open] > .wh-filter-summary .wh-filter-chevron {
    transform: rotate(180deg);
}

/* --- Liste des valeurs --------------------------------------------------- */
.wh-shop-filters .wh-filter-list {
    list-style: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    max-height: 262px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.wh-shop-filters .wh-filter-list::-webkit-scrollbar {
    width: 6px;
}
.wh-shop-filters .wh-filter-list::-webkit-scrollbar-thumb {
    background-color: #ddd6d1;
    border-radius: 3px;
}
.wh-filter-item {
    margin: 0 !important;
}
.wh-filter-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    font-size: 13.5px;
    line-height: 1.35;
    color: #555555;
    text-decoration: none !important;
}
.wh-filter-link:hover {
    color: #2c2a29;
}
.wh-filter-box {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    border: 1px solid #cfc8c3;
    border-radius: 2px;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.wh-filter-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wh-filter-count {
    flex: 0 0 auto;
    font-size: 11.5px;
    color: #9a938e;
}
.wh-filter-item.is-active .wh-filter-box {
    background-color: #F06E38;
    border-color: #F06E38;
}
.wh-filter-item.is-active .wh-filter-link {
    color: #2c2a29;
    font-weight: 600;
}
.wh-filter-item.is-active .wh-filter-count {
    color: #F06E38;
}

/* --- Filtre prix --------------------------------------------------------- */
.wh-filter-price {
    padding: 0 0 18px;
}
.wh-filter-price-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wh-filter-price-fields input {
    flex: 1 1 84px;
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #dcd6d1;
    border-radius: 2px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #2c2a29;
    box-sizing: border-box;
}
.wh-filter-price-fields input:focus {
    outline: none;
    border-color: #F06E38;
}
.wh-filter-price-sep {
    align-self: center;
    color: #9a938e;
}
.wh-filter-apply {
    flex: 1 1 100%;
    height: 38px;
    margin-top: 2px;
    border: 0;
    border-radius: 2px;
    background-color: #3a2a2f;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.wh-filter-apply:hover {
    background-color: #F06E38;
}

/* Dans le tiroir mobile, on laisse les listes plus hautes */
@media (max-width: 767px) {
    .wh-shop-filters .wh-filter-list {
        max-height: 300px;
    }
    .wh-sidebar-section {
        padding: 22px;
    }
}


/* ==========================================================================
   HERO — adaptation mobile
   ========================================================================== */

@media (max-width: 768px) {
    .wh-hero-section {
        min-height: clamp(520px, 84vh, 720px);
        background-image: var(--bg-mobile) !important;
        background-position: center center !important;
    }

    .wh-hero-content {
        padding: 62px 20px 52px;
        gap: 14px;
    }

    .wh-hero-title {
        font-size: clamp(1.85rem, 8.4vw, 2.55rem) !important;
        letter-spacing: -0.02em !important;
        max-width: 18ch;
    }

    .wh-hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .wh-hero-top::before {
        margin-bottom: 16px;
    }

    .wh-hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 11px;
    }

    .wh-btn-primary {
        width: 100%;
        max-width: 340px;
        min-width: 0;
    }

}

/* ==========================================================================
   HOMEPAGE — SECTION « À PROPOS » (aperçu + panneau en verre dépoli)
   ========================================================================== */

.wh-about-preview-section {
    position: relative;
    width: 100%;
    padding: 84px 0;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #2b1e22;
    /* Couche 1 : motif de courbes de niveau topographiques (SVG tuilable).
       Couche 2 : halo orange. Couche 3 : degrade brun de la marque. */
    background-image:
        url('assets/images/topo-pattern.svg'),
        radial-gradient(90% 120% at 12% 0%, rgba(240, 110, 56, 0.16) 0%, rgba(240, 110, 56, 0) 60%),
        linear-gradient(135deg, #241a1e 0%, #2f2126 55%, #3a2a2f 100%);
    background-size: 820px 820px, auto, auto;
    background-repeat: repeat, no-repeat, no-repeat;
    background-position: center center, center center, center center;
}

.wh-about-preview-section .col-full {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.wh-ap-inner {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    gap: 56px;
    align-items: center;
}

/* Storefront ajoute un clearfix ::before/::after sur .col-full. Dans un
   conteneur grid ces pseudo-elements deviennent des items a part entiere et
   decalent les colonnes (le texte passait a droite, l'image a la ligne
   suivante). On les neutralise, comme sur la page boutique. */
.wh-about-preview-section .wh-ap-inner::before,
.wh-about-preview-section .wh-ap-inner::after {
    display: none !important;
    content: none !important;
}

.wh-ap-inner.wh-ap-no-media {
    grid-template-columns: 1fr;
    max-width: 720px;
}

/* ---------- Colonne texte ---------- */

.wh-ap-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #F06E38;
    margin-bottom: 16px;
}

/* Double classe : la regle globale « h2:not(.wh-hero-title) » du theme impose
   une couleur sombre en !important, il faut donc une specificite superieure. */
.wh-about-preview-section .wh-ap-title {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 800 !important;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    margin: 0 0 18px 0;
    text-wrap: balance;
}

.wh-ap-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
    margin: 0 0 30px 0;
    max-width: 52ch;
}

.wh-ap-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    background-color: #F06E38;
    border: 1px solid #F06E38;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.012em;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(240, 110, 56, 0.32);
    transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.wh-ap-cta svg {
    transition: transform 0.22s ease;
}

.wh-ap-cta:hover,
.wh-ap-cta:focus-visible {
    background-color: #d95c2b;
    border-color: #d95c2b;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 36px rgba(240, 110, 56, 0.42);
}

.wh-ap-cta:hover svg {
    transform: translateX(3px);
}

/* ---------- Colonne visuelle ---------- */

.wh-ap-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #3a2a2f;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.wh-ap-image {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 45% 32%;
}

/* ---------- Panneau en verre dépoli ---------- */

.wh-ap-glass {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px 22px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.30);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
}

.wh-ap-glass-title {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 12px;
}

.wh-ap-glass-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.wh-ap-glass-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.40);
}

.wh-ap-glass-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #F06E38;
}

/* Repli si le navigateur ne gère pas le flou d'arrière-plan */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
    .wh-ap-glass {
        background-color: rgba(36, 26, 30, 0.68);
    }
}

/* ---------- Adaptation écrans intermédiaires / mobiles ---------- */

@media (max-width: 980px) {
    .wh-about-preview-section {
        padding: 64px 0;
    }

    .wh-ap-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wh-ap-media {
        max-width: 620px;
    }
}

@media (max-width: 600px) {
    .wh-about-preview-section {
        padding: 52px 0;
    }

    .wh-ap-media {
        border-radius: 16px;
    }

    .wh-ap-glass {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
        border-radius: 13px;
    }

    .wh-ap-glass-list li {
        font-size: 0.84rem;
    }

    .wh-ap-cta {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Section « Sélection exclusive » — catégorie vedette + bandeau de catégories
   Les visuels produits sont affichés tels quels : aucun voile, aucune ombre,
   aucun cadre. Le texte est placé sous l'image, à même le fond de section.
   -------------------------------------------------------------------------- */

.wh-wood-featured {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 26px;
    align-items: stretch;
    background-color: #ffffff;
    border: 1px solid #eae5e1;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.wh-wood-featured-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    height: 100%;
}

/* Image produit nue : pas de cadre, pas de fond, pas de bordure */
.wh-wood-featured-media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 190px;
    overflow: hidden;
}

.wh-wood-featured-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wh-wood-featured-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wh-wood-featured-title,
h3.wh-wood-featured-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.015em !important;
    color: #2c2a29 !important;
    margin: 0 0 8px 0 !important;
}

.wh-wood-featured-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.wh-wood-featured-title a:hover {
    color: #F06E38 !important;
}

.wh-wood-featured-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #6d6a68;
    margin: 0 0 14px 0;
}

.wh-wood-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    padding: 12px 22px;
    border-radius: 999px;
    background-color: #F06E38;
    border: 1px solid #F06E38;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(240, 110, 56, 0.30);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wh-wood-featured-btn:hover,
.wh-wood-featured-btn:focus-visible {
    background-color: #d95c2b;
    border-color: #d95c2b;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(240, 110, 56, 0.40);
}

.wh-wood-featured-main {
    min-width: 0;
}

.wh-wood-featured-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0ece9;
}

/* Bandeau des autres catégories : aucune carte, aucune case */
.wh-wood-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
}

.wh-wood-tile {
    display: flex;
    flex-direction: column;
    background: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
    text-decoration: none !important;
}

.wh-wood-tile-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.wh-wood-tile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wh-wood-tile-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 2px 0;
}

.wh-wood-tile-title,
h4.wh-wood-tile-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #2c2a29 !important;
    margin: 0 !important;
    transition: color 0.18s ease;
}

.wh-wood-tile:hover .wh-wood-tile-title,
.wh-wood-tile:focus-visible .wh-wood-tile-title {
    color: #F06E38 !important;
}

.wh-wood-tile-go {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #ddd2cc;
    color: #3b3735;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wh-wood-tile:hover .wh-wood-tile-go,
.wh-wood-tile:focus-visible .wh-wood-tile-go {
    background-color: #F06E38;
    border-color: #F06E38;
    color: #ffffff;
}

/* Tablette : la colonne vedette passe au-dessus du carrousel */
@media (max-width: 1024px) {
    .wh-wood-featured {
        grid-template-columns: 1fr;
    }

    .wh-wood-featured-media {
        flex: 0 0 auto;
        max-height: 280px;
    }
}

@media (max-width: 600px) {
    .wh-wood-featured {
        padding: 16px;
        border-radius: 12px;
    }

    .wh-wood-featured-title,
    h3.wh-wood-featured-title {
        font-size: 20px !important;
    }

    .wh-wood-strip {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   Carrousel de la section : 2 produits par ligne sur mobile, sans coupure
   (le carrousel reste defilable horizontalement, 2 cartes pleines par ecran)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .wh-wood-product-list.products li.product.wh-product-card {
        flex: 0 0 calc(50% - 8px) !important;
        min-width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }

    .wh-wood-slider-nav-arrows {
        display: none;
    }
}

/* ==========================================================================
   HOMEPAGE — SECTION FAQ (juste après « Notre histoire »)
   Réutilise le composant accordéon du thème, avec un habillage propre à
   l'accueil : carte blanche, accent orange à l'ouverture, pastille +/−
   dessinée en CSS (aucune police d'icônes).
   ========================================================================== */

.wh-faq-home-section {
    width: 100%;
    padding: 72px 0 76px;
    background-color: #f7f4f2;
    border-top: 1px solid #ebe5e1;
    box-sizing: border-box;
}

.wh-faq-home-section .col-full {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.wh-faq-home-inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: start;
}

/* Storefront ajoute un clearfix ::before/::after sur .col-full. Dans un
   conteneur grid ces pseudo-elements deviennent des items a part entiere et
   inversent les colonnes. On les neutralise, comme sur la section
   « À propos ». */
.wh-faq-home-section .wh-faq-home-inner::before,
.wh-faq-home-section .wh-faq-home-inner::after {
    display: none !important;
    content: none !important;
}

/* ---------- Colonne d'introduction ---------- */

.wh-faq-home-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #F06E38;
    margin-bottom: 12px;
}

.wh-faq-home-title,
h2.wh-faq-home-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    color: #2c2a29 !important;
    margin: 0 0 6px 0 !important;
    text-wrap: balance;
}

.wh-faq-home-accent {
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background-color: #F06E38;
    margin: 16px 0 20px;
}

.wh-faq-home-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #6d6a68;
    margin: 0 0 24px 0;
}

.wh-faq-home-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 999px;
    background-color: #F06E38;
    border: 1px solid #F06E38;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(240, 110, 56, 0.30);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wh-faq-home-cta:hover,
.wh-faq-home-cta:focus-visible {
    background-color: #d95c2b;
    border-color: #d95c2b;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(240, 110, 56, 0.40);
}

/* ---------- Accordéon ---------- */

.wh-faq-home-accordion {
    min-width: 0;
}

.wh-faq-home-accordion .wh-accordion-item {
    background-color: #ffffff;
    border: 1px solid #eae6e4;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wh-faq-home-accordion .wh-accordion-item:last-child {
    margin-bottom: 0;
}

.wh-faq-home-accordion .wh-accordion-item.active {
    border-color: #f0d9cc;
    box-shadow: 0 10px 26px rgba(58, 42, 47, 0.07);
}

.wh-faq-home-accordion .wh-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #2c2a29;
    transition: color 0.18s ease;
}

.wh-faq-home-accordion .wh-accordion-header:hover,
.wh-faq-home-accordion .wh-accordion-header:focus-visible {
    color: #F06E38;
    outline: none;
}

.wh-faq-home-question {
    flex: 1 1 auto;
}

.wh-faq-home-accordion .wh-accordion-content {
    display: none;
    padding: 0 20px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: #6d6a68;
}

.wh-faq-home-accordion .wh-accordion-content p {
    margin: 0;
}

.wh-faq-home-accordion .wh-accordion-item.active .wh-accordion-content {
    display: block;
}

/* Pastille +/− dessinée en CSS */
.wh-faq-home-accordion .wh-accordion-icon {
    position: relative;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #e2d9d4;
    font-size: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wh-faq-home-accordion .wh-accordion-icon::before,
.wh-faq-home-accordion .wh-accordion-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #3b3735;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.wh-faq-home-accordion .wh-accordion-icon::before {
    width: 12px;
    height: 2px;
}

.wh-faq-home-accordion .wh-accordion-icon::after {
    width: 2px;
    height: 12px;
}

.wh-faq-home-accordion .wh-accordion-item.active .wh-accordion-icon {
    background-color: #F06E38;
    border-color: #F06E38;
}

.wh-faq-home-accordion .wh-accordion-item.active .wh-accordion-icon::before,
.wh-faq-home-accordion .wh-accordion-item.active .wh-accordion-icon::after {
    background-color: #ffffff;
}

.wh-faq-home-accordion .wh-accordion-item.active .wh-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

@media (max-width: 980px) {
    .wh-faq-home-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .wh-faq-home-section {
        padding: 52px 0 56px;
    }

    .wh-faq-home-section .col-full {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wh-faq-home-title,
    h2.wh-faq-home-title {
        font-size: 25px !important;
    }

    .wh-faq-home-accordion .wh-accordion-header {
        font-size: 14.5px;
        padding: 16px;
    }

    .wh-faq-home-accordion .wh-accordion-content {
        padding: 0 16px 18px;
        font-size: 14px;
    }
}

/* ==========================================================================
   BOUTIQUE — ARBRE DES CATEGORIES (depliable sur plusieurs niveaux)
   Les sous-niveaux ne s'affichent que lorsqu'on ouvre leur categorie mere.
   ========================================================================== */

.wh-sidebar-cat-list .wh-cat-item {
    margin-bottom: 12px;
}

.wh-sidebar-cat-list .wh-cat-item-all {
    margin-bottom: 16px;
}

.wh-sidebar-cat-list .wh-cat-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wh-sidebar-cat-list .wh-cat-row > a {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    color: #555;
    text-decoration: none !important;
    line-height: 1.4;
}

.wh-sidebar-cat-list .wh-cat-row > a:hover {
    color: #F06E38;
}

.wh-sidebar-cat-list .wh-cat-row > a.active,
.wh-sidebar-cat-list .wh-cat-item.is-active > .wh-cat-row > a {
    color: #F06E38;
    font-weight: 600;
}

/* Pastille d'ouverture : chevron qui pivote */
.wh-sidebar-cat-list .wh-cat-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #eae6e4;
    border-radius: 999px;
    background-color: #ffffff;
    color: #6d6a68;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wh-sidebar-cat-list .wh-cat-toggle:hover,
.wh-sidebar-cat-list .wh-cat-toggle:focus-visible {
    border-color: #F06E38;
    color: #F06E38;
    outline: none;
}

.wh-sidebar-cat-list .wh-cat-item.is-open > .wh-cat-row > .wh-cat-toggle {
    background-color: #F06E38;
    border-color: #F06E38;
    color: #ffffff;
    transform: rotate(180deg);
}

/* Sous-niveaux */
.wh-sidebar-cat-list .wh-cat-children {
    display: none;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 0 0 14px !important;
    border-left: 1px solid #eae6e4;
}

.wh-sidebar-cat-list .wh-cat-item.is-open > .wh-cat-children {
    display: block;
    margin-top: 10px !important;
}

.wh-sidebar-cat-list .wh-cat-children .wh-cat-item {
    margin-bottom: 10px;
}

.wh-sidebar-cat-list .wh-cat-children .wh-cat-item:last-child {
    margin-bottom: 0;
}

.wh-sidebar-cat-list .wh-cat-children .wh-cat-row > a {
    font-size: 14px;
    color: #6d6a68;
}

.wh-sidebar-cat-list .wh-cat-depth-3 > .wh-cat-row > a,
.wh-sidebar-cat-list .wh-cat-depth-4 > .wh-cat-row > a {
    font-size: 13.5px;
}

.wh-sidebar-cat-list .wh-cat-depth-3 > .wh-cat-row > .wh-cat-toggle,
.wh-sidebar-cat-list .wh-cat-depth-4 > .wh-cat-row > .wh-cat-toggle {
    width: 21px;
    height: 21px;
}

/* ==========================================================================
   HOMEPAGE — SECTION « COMBUSTIBLES » (Pellets + Leña)
   Deux rangees de 4 produits, placees apres « Selection exclusive ».
   ========================================================================== */

.wh-combustibles-section {
    width: 100%;
    padding: 72px 0 76px;
    background-color: #f7f4f2;
    border-top: 1px solid #ebe5e1;
    box-sizing: border-box;
}

.wh-combustibles-section .col-full {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Storefront pose un clearfix sur .col-full : on le neutralise. */
.wh-combustibles-section .wh-combustibles-inner::before,
.wh-combustibles-section .wh-combustibles-inner::after {
    display: none !important;
    content: none !important;
}

/* ---------- En-tete ---------- */

.wh-combustibles-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.wh-combustibles-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #F06E38;
}

.wh-combustibles-title,
h2.wh-combustibles-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    color: #2c2a29 !important;
    margin: 10px 0 0 0 !important;
}

.wh-combustibles-accent {
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background-color: #F06E38;
    margin: 16px 0 0;
}

.wh-combustibles-see-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #F06E38 !important;
    text-decoration: none !important;
    padding-bottom: 4px;
    transition: gap 0.2s ease;
}

.wh-combustibles-see-all:hover {
    gap: 11px;
    color: #d95c2b !important;
}

/* ---------- Rangees ---------- */

.wh-combustibles-row {
    margin-top: 42px;
}

.wh-combustibles-row:first-of-type {
    margin-top: 34px;
}

.wh-combustibles-row-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wh-combustibles-row-title {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #2c2a29;
    line-height: 1.2;
}

.wh-combustibles-count {
    font-size: 12px;
    font-weight: 500;
    color: #a49b96;
    letter-spacing: 0.01em;
    margin-left: 8px;
}

.wh-combustibles-row-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #F06E38 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.wh-combustibles-row-link:hover {
    gap: 10px;
    color: #d95c2b !important;
}

/* ---------- Grille de produits ---------- */

ul.wh-combustibles-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

ul.wh-combustibles-list::before,
ul.wh-combustibles-list::after {
    display: none !important;
    content: none !important;
}

ul.wh-combustibles-list > li {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

ul.wh-combustibles-list > li .wh-product-card-inner {
    height: 100%;
}

@media (max-width: 1100px) {
    ul.wh-combustibles-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    ul.wh-combustibles-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .wh-combustibles-section {
        padding: 52px 0 56px;
    }

    .wh-combustibles-section .col-full {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wh-combustibles-title,
    h2.wh-combustibles-title {
        font-size: 25px !important;
    }

    .wh-combustibles-row {
        margin-top: 32px;
    }

    ul.wh-combustibles-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wh-combustibles-see-all {
        font-size: 12px;
    }
}

/* ==========================================================================
   MENU MOBILE — SOUS-CATEGORIES DEPLIABLES
   Chaque categorie qui a des enfants recoit une fleche ; les niveaux
   inferieurs s'indentent et ne s'affichent qu'a l'ouverture.
   ========================================================================== */

.wh-mobile-sub-menu .wh-m-cat-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wh-mobile-sub-menu .wh-m-cat-row > a {
    flex: 1 1 auto;
    min-width: 0;
}

.wh-mobile-sub-menu .wh-m-cat-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 14px;
    padding: 0;
    background: transparent !important;
    border: 1px solid #eae6e4 !important;
    border-radius: 999px;
    color: #6d6a68 !important;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
                color 0.2s ease;
}

.wh-mobile-sub-menu .wh-m-cat-toggle svg {
    transition: none;
}

.wh-mobile-sub-menu .wh-m-cat.is-open > .wh-m-cat-row > .wh-m-cat-toggle {
    background-color: #F06E38 !important;
    border-color: #F06E38 !important;
    color: #ffffff !important;
    transform: rotate(180deg);
}

/* Sous-niveaux */
.wh-mobile-sub-menu .wh-m-cat-children {
    display: none;
    list-style: none !important;
    margin: 0 0 0 30px !important;
    padding: 0 0 0 12px !important;
    border-left: 1px solid #eae6e4;
}

.wh-mobile-sub-menu .wh-m-cat.is-open > .wh-m-cat-children {
    display: block;
}

.wh-mobile-sub-menu .wh-m-cat-children li {
    border-bottom: 1px solid #f0ece9 !important;
}

.wh-mobile-sub-menu .wh-m-cat-children li:last-child {
    border-bottom: none !important;
}

.wh-mobile-sub-menu .wh-m-cat-children a {
    padding: 10px 12px 10px 10px !important;
    font-size: 13.5px !important;
}

.wh-mobile-sub-menu .wh-m-cat-children .wh-m-cat-toggle {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}
