/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/*
  * Custom code goes here.
  * A template should always ship with an empty custom.css
  */

/* ============================================
   FIX - CATEGORY PAGE LAYOUT
   Correction de l'alignement sidebar + produits
   ============================================ */

/* Permettre au système de grille Bootstrap de fonctionner UNIQUEMENT quand une sidebar est présente */
body#category.layout-left-column #content-wrapper,
body#search.layout-left-column #content-wrapper,
body#prices-drop.layout-left-column #content-wrapper,
body#new-products.layout-left-column #content-wrapper,
body#best-sales.layout-left-column #content-wrapper,
body#manufacturer.layout-left-column #content-wrapper,
body#supplier.layout-left-column #content-wrapper {
    width: auto !important;
    flex: 0 0 75% !important;
    max-width: 75% !important;
}

/* S'assurer que la sidebar gauche est bien dimensionnée */
body#category.layout-left-column #left-column,
body#search.layout-left-column #left-column,
body#prices-drop.layout-left-column #left-column,
body#new-products.layout-left-column #left-column,
body#best-sales.layout-left-column #left-column,
body#manufacturer.layout-left-column #left-column,
body#supplier.layout-left-column #left-column {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

/* ============================================
   FIX - BONLOOKBOOK TITLE ALIGNMENT
   Aligner le titre avec le contenu texte
   ============================================ */

#bonlookbook .bonlookbook_wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
}

#bonlookbook .bonlookbook_item {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

#bonlookbook .bonlookbook_item-img {
    grid-column: 1 !important;
}

#bonlookbook .bonlookbook_item-text {
    grid-column: 2 !important;
}

/* Positionner le header (titre) au niveau du texte */
#bonlookbook .bonlookbook_header {
    grid-column: 2 !important;
    margin-bottom: 40px !important;
}

/* Réorganiser la structure avec grid */
#bonlookbook {
    /* display: grid !important; */
    grid-template-columns: 1fr 1fr !important;
    gap: 0 40px !important;
}

#bonlookbook .bonlookbook_header {
    order: 1 !important;
}

#bonlookbook .bonlookbook_wrapper {
    display: contents !important;
}

#bonlookbook .bonlookbook_item-title{
    margin-left: 0px !important;
}
/* ============================================
   STICKY HEADER
   Header fixe lors du scroll
   ============================================ */

#header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

/* Navigation aussi sticky */
#navigation {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    background: #fff !important;
}

/* Ajuster l'ordre pour que navigation soit sous le header */
#header {
    z-index: 1001 !important;
}

body {

    font-family: 'Poppins', sans-serif !important;

}

body.Inter {

    font-family: 'Poppins', sans-serif !important;

}



.product-cover img {
    background-color: #f7f7f7;
}

#product #wrapper {

    background: #f7f7f7;

}

#product p {

    font-size: 15px;
    font-weight: bold;

}




/* ============================================
   NUCLEAR OVERRIDE - PRODUCT PAGE DRYLEAD STYLE
   ============================================ */

/* DRYLEAD LAYOUT PERFECTIONNE */
body#product {
    overflow-x: hidden !important;
    background: #fff !important;
}

body#product * {
    box-sizing: border-box !important;
}

body#product .container,
body#product .container-fluid {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body#product #wrapper {
    background: #fff !important;
    padding: 0 !important;
}

/* STRUCTURE DRYLEAD - FINAL */
.drylead-product-page {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
}

.drylead-container {
    display: flex !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 0 !important;
    align-items: stretch !important;
}

/* SECTION TABS SUR TOUTE LA LARGEUR */
.drylead-product-tabs-wrapper {
    width: 100% !important;
    background: #fff !important;
    padding: 60px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
}

.drylead-tabs-container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* IMAGES 60% - DRYLEAD STYLE FINAL */
.drylead-images-60 {
    flex: 0 0 60% !important;
    width: 60% !important;
   /*  background: #f8f9fa !important; */
    padding: 10px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.drylead-image-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
}

.drylead-image-item {
    width: 100% !important;
    /* aspect-ratio: 4/5 !important; */
    overflow: hidden !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    cursor: pointer !important;
    z-index: 1 !important;
}

.drylead-image-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
}

.drylead-image-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    cursor: pointer !important;
}

.drylead-image-item:hover img {
    transform: scale(1.05) !important;
    filter: brightness(1.05) !important;
}

/* DETAILS 40% - DRYLEAD STYLE FINAL */
.drylead-details-40 {
    flex: 0 0 40% !important;
    width: 40% !important;
    background: #fff !important;
    padding: 80px 20px !important;
    position: relative !important;
    overflow-y: auto !important;
}

/* ============================================
   DRYLEAD SIZE VARIANTS - TAILLES COMME DRYLEAD
   ============================================ */

.drylead-product-variants {
    margin: 40px 0 !important;
}

.drylead-variant-section {
    margin-bottom: 32px !important;
}

.drylead-variant-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #333 !important;
    margin-bottom: 16px !important;
    line-height: 1 !important;
}

/* GRID DES TAILLES STYLE DRYLEAD */
.drylead-size-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
    max-width: 300px !important;
}

.drylead-size-option {
    position: relative !important;
    cursor: pointer !important;
    display: block !important;
    transition: all 0.2s ease !important;
}

.drylead-size-input {
    position: absolute !important;
    opacity: 0 !important;
    /* Les inputs sont cliquables - comportement natif du navigateur */
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

.drylead-size-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background: #fff !important;
    border: 2px solid #e1e1e1 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    min-width: 60px !important;
}

/* ÉTATS DES TAILLES */
.drylead-size-option:hover .drylead-size-label {
    border-color: #333 !important;
    background: #f8f9fa !important;
}

.drylead-size-option.selected .drylead-size-label,
.drylead-size-input:checked + .drylead-size-label,
.drylead-size-option:has(input:checked) .drylead-size-label {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* TAILLES EN RUPTURE DE STOCK */
.drylead-size-input:disabled + .drylead-size-label,
.drylead-size-option.disabled .drylead-size-label,
input[data-product-attribute]:disabled + .drylead-size-label {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    position: relative;
}

/* Barre diagonale pour les ruptures de stock */
.drylead-size-input:disabled + .drylead-size-label::after,
.drylead-size-option.disabled .drylead-size-label::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 1px;
    background: #999;
    transform: translateY(-50%);
}

/* Empêcher le hover sur les tailles désactivées */
.drylead-size-option:has(input:disabled):hover .drylead-size-label,
.drylead-size-option.disabled:hover .drylead-size-label {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    color: #999 !important;
}

/* FIX PRODUCT INFORMATION COMPRESSION */
body#product .product-information,
body#product .product-information > * {
    width: 100% !important;
    max-width: 100% !important;
}

body#product .product-variants,
body#product .drylead-product-variants {
    width: 100% !important;
    max-width: 100% !important;
}

/* ============================================
   DRYLEAD INFO ACTIONS - SIZE GUIDE & SHIPPING
   ============================================ */

.drylead-product-info-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 32px 0 !important;
    flex-wrap: wrap !important;
}

.drylead-info-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    height: 44px !important;
    line-height: 1 !important;
}

.drylead-info-trigger:hover {
    border-color: #333 !important;
    background: #f8f9fa !important;
    color: #000 !important;
}

.drylead-info-icon {
    display: none !important;
}

.drylead-info-text {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* MODALS STYLE DRYLEAD */
.drylead-modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
}

.drylead-modal-header {
    padding: 32px 40px 24px !important;
    border-bottom: 1px solid #e1e1e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.drylead-modal-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.drylead-modal-close {
    background: transparent !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    color: #666 !important;
    transition: color 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.drylead-modal-close:hover {
    color: #000 !important;
}

.drylead-modal-body {
    padding: 32px 40px 40px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

/* TABLE STYLES FOR SIZE GUIDE */
.drylead-modal-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 24px 0 !important;
}

.drylead-modal-body table thead {
    background: #f8f9fa !important;
}

.drylead-modal-body table th {
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #333 !important;
    text-align: center !important;
    border-bottom: 2px solid #e1e1e1 !important;
}

.drylead-modal-body table td {
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #666 !important;
    text-align: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.drylead-modal-body table tr:hover td {
    background: #f8f9fa !important;
}

.drylead-modal-body h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 32px 0 16px !important;
}

.drylead-modal-body h2:first-child {
    margin-top: 0 !important;
}

.drylead-modal-body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
}

.drylead-modal-body ul li {
    padding: 8px 0 8px 24px !important;
    position: relative !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #666 !important;
}

.drylead-modal-body ul li:before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: #333 !important;
    font-weight: 700 !important;
}

.drylead-modal-body p {
    margin: 0 0 16px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #666 !important;
}

/* WRAPPER GLOBAL POUR TOUS LES BOUTONS */
.product-tab-review-wrapper {
    width: 100% !important;
    margin: 40px 0 !important;
}

.product-tab-review-wrapper .drylead-product-info-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
}

/* RESET POUR WRAPPERS INTERNES */
.drylead-review-wrapper {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ASSURER QUE LES MODALS FONCTIONNENT */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out !important;
}

.modal.show .modal-dialog {
    transform: none !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* FIX POUR BOUTONS CACHÉS */
.drylead-info-trigger.unvisible {
    display: none !important;
}

/* IMAGES SECTION - 60% DRYLEAD STYLE */
body#product .product-images-section {
    flex: 0 0 60% !important;
    width: 60% !important;
    padding: 40px !important;
    background: #fafafa !important;
    border-radius: 12px !important;
}

/* FALLBACK AVEC CLASSES PRESTASHOP NATIVES */
body#product .page-content,
body#product #content {
    flex: 0 0 60% !important;
    width: 60% !important;
    padding: 40px !important;
    background: #fafafa !important;
    border-radius: 12px !important;
}

/* DETAILS SECTION - 40% DRYLEAD STYLE */
body#product .product-details-section {
    flex: 0 0 40% !important;
    width: 40% !important;
    padding: 60px 50px !important;
    background: #fff !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow-y: auto !important;
}

/* FALLBACK AVEC CLASSES PRESTASHOP - RIGHT COLUMN */
body#product .col-md-6:last-child,
body#product .product-actions {
    flex: 0 0 40% !important;
    width: 100% !important;
    background: #fff !important;
}

/* PRODUCT INFORMATION - 100% WIDTH DANS SON CONTAINER */
body#product .product-information {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* FORCE IMAGE GRID */
body#product .product-images-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
}

body#product .product-image-item {
    width: 100% !important;
    aspect-ratio: 4/5 !important;
    overflow: hidden !important;
    background: #fff !important;
    border-radius: 8px !important;
    cursor: zoom-in !important;
}

body#product .product-image-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

body#product .product-image-item:hover img {
    transform: scale(1.05) !important;
}

/* PRODUCT HEADER DRYLEAD STYLE */
body#product .product-header-courir {
    margin-bottom: 32px !important;
}

body#product .product-brand-courir {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #666 !important;
    margin-bottom: 8px !important;
    line-height: 1 !important;
}

body#product .product-title-courir,
body#product h1 {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #000 !important;
    margin: 0 0 20px 0 !important;
    text-transform: none !important;
}

/* PRICE DRYLEAD STYLE */
body#product .product-price-courir {
    margin-bottom: 16px !important;
}

body#product .product-price-courir .product-price,
body#product .product-price-courir .current-price {
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #000 !important;
    margin: 0 !important;
}

body#product .product-price-courir .regular-price {
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #000 !important;
}

body#product .product-price-courir .has-discount .regular-price {
    text-decoration: line-through !important;
    color: #999 !important;
    font-size: 18px !important;
    margin-right: 8px !important;
}

body#product .product-price-courir .discount-amount {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #28a745 !important;
    display: block !important;
    margin-top: 4px !important;
}

/* META INFO DRYLEAD */
body#product .product-meta-courir {
    margin-bottom: 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

body#product .product-reference-courir {
    font-size: 11px !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

body#product .product-ttc {
    font-size: 11px !important;
    color: #999 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

/* PRESTASHOP VARIANT SYSTEM - SIZE SELECTOR DRYLEAD STYLE */
body#product .product-variants {
    margin: 30px 0 !important;
}

body#product .product-variants-item {
    margin-bottom: 0 !important;
}

body#product .product-variants-item .control-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #000 !important;
    margin-bottom: 12px !important;
    display: block !important;
}

/* RADIO GROUP (TAILLES) */
body#product .product-variants-item ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body#product .product-variants-item ul li.input-container {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body#product .product-variants-item ul li.input-container label {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

body#product .product-variants-item ul li .input-radio {
    display: none !important;
}

body#product .product-variants-item ul li .radio-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 65px !important;
    height: 40px !important;
    padding: 0 12px !important;
    background: #fff !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #000 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

body#product .product-variants-item ul li:hover .radio-label {
    border-color: #000 !important;
}

body#product .product-variants-item ul li .input-radio:checked + .radio-label,
body#product .product-variants-item ul li .radio-label.check {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* COLOR VARIANTS */
body#product .product-variants-item ul.color-variants {
    gap: 10px !important;
}

body#product .product-variants-item ul.color-variants li {
    width: 50px !important;
    height: 50px !important;
}

body#product .product-variants-item ul.color-variants li label {
    width: 100% !important;
    height: 100% !important;
}

body#product .product-variants-item ul.color-variants li .input-color {
    display: none !important;
}

body#product .product-variants-item ul.color-variants li .color {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border: 2px solid #d0d0d0 !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

body#product .product-variants-item ul.color-variants li:hover .color {
    border-color: #000 !important;
}

body#product .product-variants-item ul.color-variants li .input-color:checked + .color,
body#product .product-variants-item ul.color-variants li .color.check-color {
    border-color: #000 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000 !important;
}

/* SELECT DROPDOWN (si utilisé) */
body#product .product-variants-item select.form-control-select {
    width: 100% !important;
    height: 40px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    padding: 0 12px !important;
    background: #fff !important;
    font-size: 13px !important;
    color: #000 !important;
}

/* CTA DRYLEAD - Styles de base (écrasés par V2 plus bas) */
body#product .product-add-to-cart {
    margin: 30px 0 20px 0 !important;
}

/* Note: Les styles du bouton add-to-cart sont définis dans la section "ENHANCED ADD TO CART BUTTON V2" */

/* RESPONSIVE */
@media (max-width: 991px) {
    body#product .product-container-pro {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    body#product .product-images-section,
    body#product .product-details-section {
        flex: 0 0 100% !important;
        padding: 20px !important;
    }
    
    body#product .product-details-section {
        position: relative !important;
        height: auto !important;
        overflow-y: visible !important;
    }
    
    body#product .product-images-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 0 !important;
    }
    
    body#product .product-image-item {
        min-width: 100% !important;
        scroll-snap-align: center !important;
        border-radius: 0 !important;
    }
}

/* HIDE OLD ELEMENTS */
body#product .js-qv-mask,
body#product .mask,
body#product .images-container,
body#product .scroll-box-arrows {
    display: none !important;
}

/* REMOVE ALL CARDS AND WRAPPERS */
body#product .card,
body#product .card-body {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* FORCE QUANTITY SELECTOR DRYLEAD STYLE */
body#product .product-quantity {
    margin: 20px 0 !important;
}

body#product .product-quantity label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #000 !important;
    margin-bottom: 8px !important;
    display: block !important;
    letter-spacing: 0.5px !important;
}

body#product .product-quantity .input-group {
    max-width: 120px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

body#product .quantity input {
    width: 60px !important;
    height: 40px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    background: #fff !important;
}

.input-group-btn-vertical{
    display: none;
}

body#product .input-group-btn-vertical button {
    width: 30px !important;
    height: 20px !important;
    border: none !important;
    background: #f8f9fa !important;
    color: #666 !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body#product .input-group-btn-vertical button:hover {
    background: #e9ecef !important;
    color: #000 !important;
}

/* PRODUCT INFO SECTION - Supprimé pour éviter conflits avec le style global */

/* FORCE DESCRIPTION */
body#product .product-description-short,
body#product #product-description-short {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 25px 0 !important;
}

/* 0. GLOBAL RESET FOR PRODUCT PAGE */
body#product #wrapper,
body#product #content,
body#product .page-content, 
body#product .card {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

body#product .container {
    max-width: 1400px !important; /* Wider layout for better image display */
    padding-left: 15px;
    padding-right: 15px;
}

/* 1. IMAGES - GRID LAYOUT */
.product-images-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
}

.product-image-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-image-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    background-color: #f6f6f6 !important;
    border-radius: 0 !important; /* Sharp edges like high-end fashion */
}

/* Mobile: Horizontal Scroll */
@media (max-width: 767px) {
    .product-images-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 0 !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
    }
    
    .product-image-item {
        min-width: 100% !important;
        flex: 0 0 100% !important;
        scroll-snap-align: center;
    }
}

/* === RIGHT COLUMN - STICKY DETAILS === */
@media (min-width: 768px) {
    .sticky-product-details {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 80px !important;
        height: fit-content !important;
        padding-left: 60px !important;
        background: transparent !important;
    }
}

#product .product-page-right {
    padding: 0 !important;
    margin: 0 !important;
}

/* === TYPOGRAPHY === */
#product .product-page-right h1 {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 32px !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.5px !important;
    color: #000 !important;
}

#product .product-reference {
    font-size: 12px !important;
    color: #999 !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.5px !important;
}

#product .current-price {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 30px !important;
    display: block !important;
}

/* 4. SIZE SELECTOR - TILE GRID FIX */
.product-variants-item ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-variants-item ul li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: block !important;
}

.product-variants-item ul li label {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    cursor: pointer !important;
}

.product-variants-item ul li input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* === SIZE SELECTOR TILES === */
.product-variants-item ul li span.radio-label,
.product-variants-item ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 65px !important;
    height: 48px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.15s ease !important;
    padding: 0 8px !important;
    box-shadow: none !important;
}

/* Selected State */
.product-variants-item ul li input:checked + span.radio-label,
.product-variants-item ul li input:checked + span {
    border-color: #000 !important;
    border-width: 2px !important;
    background-color: #000 !important;
    color: #fff !important;
}

/* Hover State */
.product-variants-item ul li:hover span.radio-label,
.product-variants-item ul li:hover span {
    border-color: #666 !important;
    transform: translateY(-1px);
}

/* Hide the "Size :" label if desired, or style it */
.product-variants-item .control-label {
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
}

/* === ADD TO CART BUTTON === */
#product .add-to-cart {
    width: 100% !important;
    background-color: #000 !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 18px 0 !important;
    border-radius: 4px !important;
    border: none !important;
    margin-top: 30px !important;
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#product .add-to-cart:hover {
    background-color: #1a1a1a !important;
    transform: translateY(-1px);
}

#product .product-actions {
    margin-top: 30px !important;
}

/* Hide duplicate sticky image wrapper */
.image-sticky-wrapper {
    display: none !important;
}

.add-to-cart:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Sticky Add to Cart on Mobile (Optional but recommended) */
@media (max-width: 767px) {
    .product-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 15px;
        z-index: 999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    /* Add padding to bottom of page so content isn't hidden */
    #wrapper {
        padding-bottom: 80px;
    }
}

/* 6. FLAGS (New, Sale) */
.product-flags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-flag {
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-flag.on-sale {
    background: #d32f2f; /* Red for sale */
}




#index #desktop_bonmm_0 {
    background-color: transparent !important;
    /* S'assure que la couleur de fond blanche est désactivée */
}






@media (min-width: 1024px) and (max-width: 1366px) {

    #index #header {
        width: 100%;
        background-image: url(/img/cms/home.png);
        height: 42vh;
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: transparent !important;

    }
}




@media (min-width: 768px) and (max-width: 1020px) {
    #index #header {
        width: 100%;
        background-image: url(/img/cms/home.png);
        height: 35vh;
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: transparent !important;

    }

}

/* Menu sticky (noir) sur la page d'accueil (index) */
#index .sticky-head #top-menu-0[data-bonmm-depth="0"]>li>a {
    color: black !important;
}

/* Menu par défaut et sticky (noir) sur toutes les autres pages */
body:not(#index) #top-menu-0[data-bonmm-depth="0"]>li>a {
    color: black !important;
}
















#index #header.sticky-head {
    /* Hauteur réduite lorsqu'il devient sticky sss */
    background-image: none;
    /* Supprime l'image de fond */
    background-color: white !important;
    /* Fonds blanc lorsque sticky */
    color: black !important;

}




.scrolling {
    transition: all 0.3s ease-in-out;
    /* Transition douce pour tous les styles */
}

#index .navbar-toggler-icon {
    background-image: url('/img/cms/burgerm.png') !important;
}




.highlight::before {
    content: "";
    display: block;
    width: 13%;
    /* longueur du trait */
    height: 3px;
    /* épaisseur du trait */
    background-color: black;
    /* couleur du trait */
    margin-bottom: 5px;
    /* espace entre le trait et le texte */
}

.highlightt::before {
    content: "";
    display: block;
    width: 2%;
    /* longueur du trait */
    height: 3px;
    /* épaisseur du trait */
    background-color: black;
    /* couleur du trait */
    margin-bottom: 5px;
    /* espace entre le trait et le texte */
}

@media (max-width: 390px) {
    #index #header {
        width: 100%;
        background-image: url(/img/cms/home.png);
        height: 26vh !important;
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: transparent !important;

    }
}

@media (min-widtg: 391) and (max-width: 768px) {
    #index #header {
        width: 100%;
        background-image: url(/img/cms/home.png);
        height: 42vh !important;
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: transparent !important;

    }

    .highlightt::before {
        content: "";
        display: block;
        width: 5% !important;
        /* longueur du trait */
        height: 3px;
        /* épaisseur du trait */
        background-color: black;
        /* couleur du trait */
        margin-bottom: 5px;
        /* espace entre le trait et le texte */
    }




}





.elementor-widget:not(:last-child) {
    margin-bottom: 4px !important;
}

.elementor-2020101 .elementor-element.elementor-element-2b27bf5 .elementor-title {
    text-transform: uppercase;
    font-weight: 800;
}

.elementor-product-miniature .elementor-price {
    color: grey;
    font-weight: 600;
}

.btn-sk {

    border-radius: 50px;
    /* Arrondit les coins pour créer une forme ovale */
    padding: 10px 20px;
    /* Ajoute un espace intérieur */
    text-align: center;
    /* Centre le texte à l'intérieur de l'élément */
    background-color: #f0f0f0;
    /* Couleur de fond grise claire */
    margin-left: 7px;
    text-decoration: none;
    width: auto !important;

}



.btn-sk:hover {
    border: 2px solid #000;
    /* Bordure noire pour l'élément survolé */
    background-color: #fff;
    /* Fond blanc pour l'élément survolé */
    color: black;
    /* Couleur du texte en noir pour l'élément survolé */
    font-weight: 500;

}






.swiper-slide>a {

    color: grey;
    font-weight: 500;

}

.swiper-slide>a:hover {

    color: black;
    font-weight: 700;

}


/* OLD STYLES - DÉSACTIVÉS pour éviter les conflits avec le nouveau menu responsive
#mobile_bonmm_0 .burger-lines span {
    border: dashed;
}

#top-menu-0 {
    height: auto !important;
    top: 250px !important;
}
*/

/* Style pour le menu */


/* Trait blanc en dessous du menu */
.header-top::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    /* Épaisseur du trait */
    background-color: rgb(255 255 255 / 39%);
    /* Couleur du trait */
}

/* OLD STYLES - DÉSACTIVÉS pour éviter les conflits
Correction du menu mobile qui pousse le contenu vers le bas
#mobile_bonmm_0 #top-menu-0 {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 100vh !important;
    overflow-y: auto;
    z-index: 9999;
}
*/

/* S'assurer que le header ne pousse pas le contenu sur mobile */
@media (max-width: 991px) {
    #index #header {
        height: auto !important;
        min-height: auto !important;
    }
}

/* ============================================
   AMÉLIORATION DES SOUS-MENUS - Style Cards
   ============================================ */

/* Container du sous-menu */
.popover.sub-menu {
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    /* margin-top: 10px !important; */
    background: #ffffff !important;
    padding: 30px !important;
    min-width: 600px !important;
}



/* Items individuels du sous-menu */
.bonmmenu ul[data-bonmm-depth="0"]>li>.popover>.container{
        display:block;
}

/* Liste des items du sous-menu */
.popover.sub-menu .bonmm-top-menu {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
}

/* Items individuels du sous-menu */
.popover.sub-menu .bonmm-top-menu > li {
    list-style: none !important;
    margin: 0 !important;
}

/* Liens du sous-menu - Style carte urbain/sneakers */
.popover.sub-menu .dropdown-submenu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 25px 15px !important;
    color: #2c2c2c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid #f0f0f0 !important;
    background: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Emoji au-dessus du texte */
.popover.sub-menu #category-10000055 > a::before {
    content: "" !important;
    font-size: 36px !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.popover.sub-menu #category-10000054 > a::before {
    content: "" !important;
    font-size: 36px !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.popover.sub-menu #category-10000056 > a::before {
    content: "" !important;
    font-size: 36px !important;
    display: block !important;
    margin-bottom: 10px !important;
}

/* Effet au survol - Style urbain/sneakers moderne */
.popover.sub-menu .dropdown-submenu:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Effet de barre animée au survol */
.popover.sub-menu .dropdown-submenu::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #000 0%, #333 100%) !important;
    transition: width 0.3s ease !important;
}

.popover.sub-menu .dropdown-submenu:hover::before {
    width: 100% !important;
}

/* Animation d'apparition */
.popover.sub-menu.show {
    animation: menuFadeIn 0.3s ease-out !important;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .popover.sub-menu {
        min-width: 100% !important;
        border-radius: 0 !important;
        padding: 20px !important;
    }
    
    .popover.sub-menu .bonmm-top-menu {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .popover.sub-menu .dropdown-submenu {
        min-height: 100px !important;
    }
}

/* Annuler le min-height pour le menu mobile responsive */
@media (max-width: 991px) {
    .bonmm-mobile .popover.sub-menu .dropdown-submenu {
        min-height: auto !important;
    }
}

/* ============================================
   🔥 LAYOUT PLEINE LARGEUR - STYLE STOCKX/GOAT 🔥
   Design XXL avec images dominantes 70/30
   ============================================ */

/* Container PLEINE LARGEUR */
#product #main {
    background: #ffffff !important;
    padding: 0 !important;
    max-width: 100% !important;
}

#product .container,
#product #content-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Layout 70/30 ULTRA LARGE */
#product #main > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Zone IMAGES - 70% avec fond gris */
#product #main > .row > .col-md-6:first-child {
    flex: 0 0 70% !important;
    max-width: 70% !important;
    padding: 60px 80px !important;
    background: #f7f7f7 !important;
}

/* Zone INFO - 30% sidebar sticky */
#product #main > .row > .col-md-6.product-page-right {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    position: sticky !important;
    top: 0 !important;
    align-self: flex-start !important;
    height: 100vh !important;
    overflow-y: auto !important;
    padding: 60px 50px !important;
    background: #ffffff !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08) !important;
}

/* IMAGE PRINCIPALE XXL GÉANTE */
#product .page-content {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Neutraliser l'ancien style carte blanc sur la cover */
#product .product-cover {
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#product .product-cover img {
    border-radius: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    object-fit: cover !important;
    transition: none !important;
}

#product .product-cover:hover img {
    transform: none !important;
}

/* THUMBNAILS GRID GRANDE TAILLE */
#product .images-container .js-qv-product-images,
#product .js-qv-product-images {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    margin-top: 40px !important;
    padding: 0 !important;
}

#product .images-container .js-qv-product-images img,
#product .js-qv-product-images img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    border: 3px solid #e0e0e0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #fff !important;
    padding: 25px !important;
}

#product .images-container .js-qv-product-images img:hover,
#product .js-qv-product-images img:hover {
    border-color: #FC5B16 !important;
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 15px 35px rgba(252, 91, 22, 0.3) !important;
}

#product .images-container .js-qv-product-images img.selected,
#product .js-qv-product-images img.selected {
    border-color: #FC5B16 !important;
    border-width: 4px !important;
    box-shadow: 0 10px 30px rgba(252, 91, 22, 0.35) !important;
}

/* SIDEBAR INFO */
/* Colonne droite sans panneau blanc */
#product .product-page-right {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Container images sans carte */
#product .images-container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* === KILL ALL WHITE WRAPPERS ON PRODUCT PAGE === */
#product .card,
#product .card-body,
#product .page-content,
#product #content,
#product #content-wrapper,
#product .images-container,
#product .product-cover,
#product .product-page-right {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Hide old slick thumbnails */
#product .js-qv-mask,
#product .mask,
#product .js-qv-product-images,
#product .thumb-container {
    display: none !important;
}

/* === GRID LAYOUT - WETHENEW STYLE === */
#product .product-images-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#product .product-image-item {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#product .product-image-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
}

/* Mobile: single column carousel */
@media (max-width: 767px) {
    #product .product-images-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 0 !important;
        width: 100vw !important;
        margin-left: -15px !important;
    }
    
    #product .product-image-item {
        min-width: 100vw !important;
        scroll-snap-align: center;
        aspect-ratio: 1 / 1;
    }
}

/* TITRE GÉANT */
#product .product-page-right h1 {
    font-size: 38px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin-bottom: 25px !important;
    color: #000000 !important;
    text-transform: none !important;
    letter-spacing: -1.2px !important;
    font-family: 'Poppins', -apple-system, sans-serif !important;
}

/* SKU Reference - Style WeTheNew discret */
#product .product-reference {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 8px 0 20px 0 !important;
    border: none !important;
}

#product .product-reference label {
    font-weight: 600 !important;
    color: #757575 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1.2px !important;
    display: inline !important;
}

#product .product-reference span {
    font-weight: 600 !important;
    color: #424242 !important;
    font-size: 13px !important;
    margin-left: 6px !important;
    font-family: 'Courier New', monospace !important;
}

/* PRIX XXL ULTRA IMPOSANT */
#product .product-prices {
    margin: 45px 0 !important;
    padding: 35px 0 !important;
    border-top: 3px solid #f0f0f0 !important;
    border-bottom: 3px solid #f0f0f0 !important;
}

#product .current-price {
    display: block !important;
    margin-bottom: 12px !important;
}

#product .current-price span,
#product .current-price-value {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #000 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

/* Prix ROUGE si remise - DÉSACTIVÉ (géré par .drylead-sidebar-v2) */
/* #product .has-discount .current-price span,
#product .has-discount .current-price-value {
    color: #e53935 !important;
} */

/* Prix barré */
#product .regular-price {
    font-size: 24px !important;
    color: #9e9e9e !important;
    text-decoration: line-through !important;
    margin-right: 15px !important;
}

/* Badge réduction - Style Courir */
#product .product-discount,
#product .discount-percentage {
    background: #d32f2f !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin-left: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Sélecteur de tailles - Style Grid Premium Sneakers */
#product .product-variants {
    margin: 30px 0 !important;
    background: #f8f9fa !important;
    padding: 25px !important;
    border-radius: 16px !important;
}

#product .product-variants .control-label {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #000000 !important;
    margin-bottom: 18px !important;
    display: block !important;
}

/* Cacher le select natif */
#product .product-variants select,
#product .product-variants .custom-select {
    display: none !important;
}

/* Grid tailles - 3 colonnes pour meilleure visibilité */
#product .product-variants .form-control,
#product .product-variants .radio-label {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#product .product-variants input[type="radio"],
#product .product-variants input[type="checkbox"] {
    display: none !important;
}

/* Labels tailles - Style Cards */
#product .product-variants label.input-color,
#product .product-variants label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 70px !important;
    background: #ffffff !important;
    border: 2.5px solid #e0e0e0 !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #1a1a1a !important;
    padding: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
}

#product .product-variants label:hover {
    background: #fff5f0 !important;
    border-color: #FC5B16 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(252, 91, 22, 0.15) !important;
}

/* Taille sélectionnée */
#product .product-variants input[type="radio"]:checked + label,
#product .product-variants input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, #FC5B16 0%, #ff7a3d 100%) !important;
    border-color: #FC5B16 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(252, 91, 22, 0.4) !important;
}

/* Badge "Selected" sur taille choisie */
#product .product-variants input[type="radio"]:checked + label::after,
#product .product-variants input[type="checkbox"]:checked + label::after {
    content: "✓" !important;
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 20px !important;
    height: 20px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

/* Taille indisponible */
#product .product-variants input[type="radio"]:disabled + label,
#product .product-variants input[type="checkbox"]:disabled + label {
    background: #f5f5f5 !important;
    color: #bdbdbd !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    border-color: #e0e0e0 !important;
}

/* Ligne diagonale pour "Out of Stock" */
#product .product-variants input[type="radio"]:disabled + label::before,
#product .product-variants input[type="checkbox"]:disabled + label::before {
    content: "" !important;
    position: absolute !important;
    width: 110% !important;
    height: 2.5px !important;
    background: #d32f2f !important;
    transform: rotate(-45deg) !important;
    top: 50% !important;
    left: -5% !important;
}

/* Guide des tailles */
#product .size-guide-link {
    display: inline-block !important;
    margin-top: 10px !important;
    color: #FC5B16 !important;
    text-decoration: underline !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* BOUTON IMPOSANT XXL */
#product .product-add-to-cart button[type="submit"],
#product .add-to-cart {
    width: 100% !important;
    height: 70px !important;
    background: #FC5B16 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 45px 0 35px 0 !important;
}

#product .product-add-to-cart button[type="submit"]:hover,
#product .add-to-cart:hover {
    background: #e54f13 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 45px rgba(252, 91, 22, 0.45) !important;
}

#product .product-add-to-cart button[type="submit"]:active,
#product .add-to-cart:active {
    transform: translateY(-1px) !important;
}

/* Icône */
#product .product-add-to-cart button[type="submit"]::before {
    content: "🛒 " !important;
    margin-right: 10px !important;
    font-size: 20px !important;
}

/* Quantité - Style moderne */
#product .product-quantity {
    margin: 20px 0 !important;
}

#product .qty input {
    width: 100% !important;
    height: 50px !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* TRUST BADGES - Style Courir */
#product .product-additional-info,
#product .product-reassurance {
    margin-top: 30px !important;
    padding: 25px !important;
    border-top: none !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
}

#product .product-additional-info p,
#product .product-reassurance-item {
    display: flex !important;
    align-items: center !important;
    margin: 14px 0 !important;
    font-size: 13px !important;
    color: #424242 !important;
    font-weight: 600 !important;
}

#product .product-additional-info p::before,
#product .product-reassurance-item::before {
    content: "✓" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    background: #4caf50 !important;
    color: white !important;
    border-radius: 50% !important;
    margin-right: 12px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
}

/* Messages spécifiques Courir style */
#product .product-additional-info p:nth-child(1)::before { content: "🚚" !important; background: #2196f3 !important; }
#product .product-additional-info p:nth-child(2)::before { content: "↩️" !important; background: #ff9800 !important; }
#product .product-additional-info p:nth-child(3)::before { content: "✨" !important; background: #9c27b0 !important; }

/* Description courte */
#product .product-information #product-description-short-* {
    color: #6b7280 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 20px 0 !important;
}

/* Tabs produit - Style moderne */
#product .product-tabs {
    margin-top: 60px !important;
}

#product .nav-tabs {
    border-bottom: 2px solid #e8e8e8 !important;
    margin-bottom: 40px !important;
}

#product .nav-tabs .nav-link {
    border: none !important;
    background: transparent !important;
    color: #6b7280 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 15px 25px !important;
    margin-right: 10px !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease !important;
}

#product .nav-tabs .nav-link:hover {
    color: #FC5B16 !important;
    border-bottom-color: #FC5B16 !important;
}

#product .nav-tabs .nav-link.active {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Responsive Mobile */
@media (max-width: 991px) {
    #product .col-md-6:first-child,
    #product .col-md-6.product-page-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    
    #product .col-md-6.product-page-right {
        position: relative !important;
        top: 0 !important;
        margin-top: 30px !important;
    }
    
    #product .product-page-right h1 {
        font-size: 24px !important;
    }
    
    #product .current-price span {
        font-size: 32px !important;
    }
    
    #product .product-variants ul {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ================================================================
   DRYLEAD - MODERN ADD TO CART SECTION
   ================================================================ */

/* Main container */
.drylead-add-to-cart-section {
    width: 100%;
    margin-top: 30px;
}

/* Quantity wrapper */
.drylead-quantity-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Quantity selector */
.drylead-qty-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drylead-qty-label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.drylead-qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.drylead-qty-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 20px;
    font-weight: 600;
}

.drylead-qty-btn:hover {
    background: #000;
    color: #fff;
}

.drylead-qty-btn:active {
    background: #333;
}

.drylead-qty-input {
    width: 90px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
    background: #fff;
    color: #000;
    padding: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    -moz-appearance: textfield; /* Firefox */
}

/* Cacher les flèches natives du input number */
.drylead-qty-input::-webkit-outer-spin-button,
.drylead-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.drylead-qty-input:focus {
    outline: 2px solid #000;
    border-color: #000;
}

/* Cart actions container */
.drylead-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Availability */
.drylead-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.drylead-availability.available {
    color: #00C853;
}

.drylead-availability.last_remaining_items {
    color: #FF9800;
}

.drylead-availability.unavailable {
    color: #999;
}

.drylead-availability-text {
    color: #000;
}

/* Modern Add to Cart Button */
.drylead-add-to-cart-btn {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #000;
    border: 2px solid #000;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drylead-add-to-cart-btn:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.drylead-add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.drylead-add-to-cart-btn:disabled,
.drylead-add-to-cart-btn.disabled {
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.drylead-add-to-cart-btn:disabled:hover,
.drylead-add-to-cart-btn.disabled:hover {
    background: #f5f5f5;
    border-color: #ddd;
    transform: none;
}

.drylead-btn-text {
    font-size: 15px;
}

.drylead-btn-icon {
    display: none !important;
}

/* Minimal quantity message */
.drylead-minimal-qty {
    font-size: 13px;
    color: #666;
    margin: 10px 0 0 0;
    padding: 0;
}

/* Hide old PrestaShop elements */
body#product .product-add-to-cart {
    display: none !important;
}

/* Responsive */
@media (max-width: 991px) {
    .drylead-add-to-cart-btn {
        height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .drylead-qty-controls {
        width: 100%;
    }
    
    .drylead-qty-btn {
        flex: 0 0 44px;
    }
    
    .drylead-qty-input {
        flex: 1;
    }
    
    .drylead-add-to-cart-btn {
        height: 50px;
        font-size: 14px;
    }
    
    #product .product-add-to-cart button[type="submit"] {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
}
/* ================================================================
   DRYLEAD - HEADER & BREADCRUMB ALIGNMENT
   ================================================================ */

/* Header container alignment - force with body prefix */
body .header-top .container,
body .header-banner .container,
body header .header-top .container,
body header .header-banner .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Ensure header takes full width first */
body .header-top,
body .header-banner {
    width: 100% !important;
}

/* Breadcrumb alignment - force with body prefix */
body .breadcrumb .container,
body nav.breadcrumb .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

body .breadcrumb-wrapper {
    width: 100% !important;
}

/* Ensure breadcrumb takes full width */
body .breadcrumb,
body nav.breadcrumb {
    width: 100% !important;
}

/* FORCE ALIGNMENT ON PRODUCT PAGE SPECIFICALLY */
body#product .header-top .container,
body#product .header-banner .container,
body#product header .header-top .container,
body#product header .header-banner .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

body#product .breadcrumb .container,
body#product nav.breadcrumb .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Footer alignment - all pages */
body footer .container,
body .footer-container .container,
body #footer .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

body footer,
body .footer-container,
body #footer {
    width: 100% !important;
}

/* Footer alignment on product page specifically */
body#product footer .container,
body#product .footer-container .container,
body#product #footer .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* FORCE ALIGNMENT ON CATEGORY/PROMOTIONS/SEARCH PAGES */
body#category .header-top .container,
body#category .header-banner .container,
body#category header .header-top .container,
body#category header .header-banner .container,
body#search .header-top .container,
body#search .header-banner .container,
body#search header .header-top .container,
body#search header .header-banner .container,
body#prices-drop .header-top .container,
body#prices-drop .header-banner .container,
body#prices-drop header .header-top .container,
body#prices-drop header .header-banner .container,
body#new-products .header-top .container,
body#new-products .header-banner .container,
body#new-products header .header-top .container,
body#new-products header .header-banner .container,
body#best-sales .header-top .container,
body#best-sales .header-banner .container,
body#best-sales header .header-top .container,
body#best-sales header .header-banner .container,
body#manufacturer .header-top .container,
body#manufacturer .header-banner .container,
body#manufacturer header .header-top .container,
body#manufacturer header .header-banner .container,
body#supplier .header-top .container,
body#supplier .header-banner .container,
body#supplier header .header-top .container,
body#supplier header .header-banner .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Main content container alignment for category/promotions pages */
body#category #wrapper .container,
body#search #wrapper .container,
body#prices-drop #wrapper .container,
body#new-products #wrapper .container,
body#best-sales #wrapper .container,
body#manufacturer #wrapper .container,
body#supplier #wrapper .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Breadcrumb alignment for category/promotions pages */
body#category .breadcrumb .container,
body#category nav.breadcrumb .container,
body#search .breadcrumb .container,
body#search nav.breadcrumb .container,
body#prices-drop .breadcrumb .container,
body#prices-drop nav.breadcrumb .container,
body#new-products .breadcrumb .container,
body#new-products nav.breadcrumb .container,
body#best-sales .breadcrumb .container,
body#best-sales nav.breadcrumb .container,
body#manufacturer .breadcrumb .container,
body#manufacturer nav.breadcrumb .container,
body#supplier .breadcrumb .container,
body#supplier nav.breadcrumb .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ================================================================
   DRYLEAD - FIX DUPLICATE TITLE/PRICE
   ================================================================ */

/* Hide the sticky mobile title/price block on desktop */
body#product .bon-sticky-name {
    display: none !important;
}

body#product .image-sticky-wrapper {
    display: none !important;
}

/* Show sticky elements only on mobile when scrolling (if needed) */
@media (max-width: 991px) {
    body#product .bon-sticky-name.is-sticky {
        display: block !important;
    }
    
    body#product .image-sticky-wrapper.is-sticky {
        display: block !important;
    }
}

/* ================================================================
   DRYLEAD - SIDEBAR DISPLAY ON CATEGORY PAGES
   ================================================================ */
/* Layout now handles columns automatically via theme.yml configuration */

/* ================================================================
   DRYLEAD - FIX BONMEGAMENU SUBMENU WIDTH
   ================================================================ */

/* Fix submenu container width - allow full width within header */
.bonmmenu .bon-menu-content,
.bonmmenu [data-bonmm-depth="1"],
.bonmmenu .bon-megamenu-wrapper {
    max-width: 100vw !important;
    width: auto !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
/*     box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border-top: 1px solid #f0f0f0 !important; */
}

/* Submenu dropdown proper positioning */
.bonmmenu .bon-menu-content {
    position: absolute !important;
    z-index: 1000 !important;
    padding: 30px 0 !important;
}

/* Container inside submenu - align with site max-width */
.bonmmenu .bon-menu-content .container,
.bonmmenu [data-bonmm-depth="1"] .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Multi-column layout in submenu */
.bonmmenu .bon-megamenu-wrapper .row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
}

.bonmmenu .bon-megamenu-wrapper .col {
    flex: 1 !important;
    min-width: 200px !important;
    padding: 0 !important;
}

/* Category blocks in submenu */
.bonmmenu .bon-category-block {
    width: 100% !important;
    max-width: none !important;
}

/* Category block titles */
.bonmmenu .bon-category-block h3,
.bonmmenu .bon-category-block .block-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    margin-bottom: 15px !important;
    color: #000 !important;
    letter-spacing: 0.5px !important;
}

/* Category links styling */
.bonmmenu .bon-menu-content a,
.bonmmenu [data-bonmm-depth="1"] a {
    font-size: 14px !important;
    color: #666 !important;
    text-decoration: none !important;
    padding: 8px 0 !important;
    display: block !important;
    transition: color 0.2s ease !important;
}

.bonmmenu .bon-menu-content a:hover,
.bonmmenu [data-bonmm-depth="1"] a:hover {
    color: #000 !important;
}

/* Ensure submenu items are visible */
.bonmmenu [data-bonmm-depth="1"] > li,
.bonmmenu .bon-menu-content > ul > li {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove bullets */
.bonmmenu .bon-menu-content ul,
.bonmmenu [data-bonmm-depth="1"] ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Fix header container to not restrict menu */
.header-top {
    position: relative !important;
    overflow: visible !important;
}

.bon-nav-bar {
    position: static !important;
}

/* Clean separator between columns */
.bonmmenu .bon-megamenu-wrapper .col + .col {
    border-left: 1px solid #f0f0f0 !important;
    padding-left: 40px !important;
}

/* ================================================================
   DRYLEAD - FIX TAILLE SELECTION (FORCE UNSELECT)
   ================================================================ */

/* S'assurer que seul le :checked est sélectionné */
.drylead-size-label {
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #000 !important;
    font-weight: 400 !important;
}

/* Seul le input radio checked doit avoir le style noir */
.drylead-size-input:checked + .drylead-size-label {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Retirer tous les autres sélecteurs qui pourraient garder le style */
.drylead-size-option.selected .drylead-size-label {
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #000 !important;
    font-weight: 400 !important;
}

/* Le hover reste léger */
.drylead-size-option:hover .drylead-size-label {
    border-color: #333 !important;
    background: #f8f9fa !important;
}

/* Mais le hover ne doit pas affecter le checked */
.drylead-size-option:hover .drylead-size-input:checked + .drylead-size-label {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

/* ================================================================
   DRYLEAD - FIX PANIER DROPDOWN
   ================================================================ */

/* Header doit permettre l'overflow pour le panier */
header,
.header-top,
#header {
    overflow: visible !important;
    /* position: relative !important; */
}

/* Panier dropdown - s'assurer qu'il est visible */
#blockcart-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.blockcart-modal,
.cart-preview,
#_desktop_cart .blockcart {
    position: relative !important;
}

/* Modal dialog centré */
#blockcart-modal .modal-dialog {
    position: relative !important;
    margin: 1.75rem auto !important;
    max-width: 800px !important;
}

#blockcart-modal .modal-content {
    position: relative !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5) !important;
}

#blockcart-modal .popup-close,
#blockcart-modal [data-dismiss="modal"] {
    cursor: pointer !important;
    z-index: 1 !important;
}

/* Dropdown du panier */
.blockcart .dropdown-menu,
#_desktop_cart .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 9999 !important;
    display: none !important;
    min-width: 380px !important;
    max-width: 420px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    margin-top: 10px !important;
    padding: 0 !important;
}

/* Afficher le dropdown quand hover ou show */
.blockcart:hover .dropdown-menu,
.blockcart .dropdown-menu.show,
#_desktop_cart:hover .dropdown-menu,
#_desktop_cart .dropdown-menu.show {
    display: block !important;
}

/* En-tête du dropdown panier */
.blockcart .body,
#_desktop_cart .body {
    padding: 20px !important;
}

/* Liste des produits dans le panier */
.blockcart .body ul,
#_desktop_cart .body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

.blockcart .body ul li,
#_desktop_cart .body ul li {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.blockcart .body ul li:last-child,
#_desktop_cart .body ul li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.blockcart .body ul li:first-child,
#_desktop_cart .body ul li:first-child {
    padding-top: 0 !important;
}

/* Image produit dans le panier */
.blockcart .body ul li img,
#_desktop_cart .body ul li img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}

/* Contenu du panier */
.cart-products {
    max-height: 400px !important;
    overflow-y: auto !important;
}

/* Sous-totaux */
.cart-subtotals,
#_desktop_cart .cart-subtotals {
    padding: 15px 0 !important;
    border-top: 1px solid #e5e5e5 !important;
    margin-top: 10px !important;
}

.cart-subtotals > div,
#_desktop_cart .cart-subtotals > div {
    display: flex !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    color: #666 !important;
}

.cart-subtotals .label,
#_desktop_cart .cart-subtotals .label {
    font-weight: 400 !important;
}

.cart-subtotals .value,
#_desktop_cart .cart-subtotals .value {
    font-weight: 600 !important;
    color: #333 !important;
}

/* Total du panier */
.cart-total,
#_desktop_cart .cart-total {
    display: flex !important;
    justify-content: space-between !important;
    padding: 15px 0 12px 0 !important;
    border-top: 2px solid #333 !important;
    margin-top: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.cart-total .label,
#_desktop_cart .cart-total .label {
    color: #333 !important;
}

.cart-total .value,
#_desktop_cart .cart-total .value {
    color: #000 !important;
    font-size: 18px !important;
}

/* Boutons du panier */
.cart-summary-line {
    padding: 10px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
}

.cart-detailed-actions {
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 2px solid #f0f0f0 !important;
}

.cart-detailed-actions .btn {
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* ================================================================
   DRYLEAD - FIX DOUBLE QUANTITÉ
   ================================================================ */

/* Cacher l'ancien système de quantité PrestaShop */
.product-add-to-cart .product-quantity,
.product-quantity.clearfix,
.qty,
.product-add-to-cart .qty {
    display: none !important;
}

/* S'assurer que seul notre nouveau système est visible */
.drylead-add-to-cart-section {
    display: block !important;
}

.drylead-quantity-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: center !important;
}

/* Fix le label Quantité qui pourrait apparaître en double */
label[for="quantity_wanted"]:not(.drylead-qty-label) {
    display: none !important;
}

/* Bootstrap touchspin (ancien système) - forcer masquage UNIQUEMENT du vieux système */
/* .product-quantity .bootstrap-touchspin,
.product-add-to-cart .input-group.bootstrap-touchspin,
.product-add-to-cart .input-group-btn-vertical {
    display: none !important;
} */


.input-group-btn-vertical{
   display: none !important;
}

/* Forcer la visibilité de NOTRE NOUVEAU système */
.drylead-add-to-cart-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.drylead-qty-controls {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
}

.drylead-qty-selector {
    display: block !important;
    visibility: visible !important;
}

/* Forcer la visibilité de notre input quantité */
#quantity_wanted.drylead-qty-input,
input.drylead-qty-input {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* ============================================
   TAILLES EN RUPTURE DE STOCK
   ============================================ */

/* Griser et désactiver les tailles indisponibles */
.drylead-size-option.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    position: relative;
}

.drylead-size-option.out-of-stock .drylead-size-label {
    text-decoration: line-through;
    color: #999;
}

.drylead-size-option.out-of-stock input {
    cursor: not-allowed;
}

/* Empêcher le hover sur les tailles indisponibles */
.drylead-size-option.out-of-stock:hover {
    border-color: #ddd;
    background-color: transparent;
}

/* Ajouter une indication visuelle "Indisponible" */
.drylead-size-option.out-of-stock::after {
    content: '+';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(255, 0, 0, 0.05) 5px,
        rgba(255, 0, 0, 0.05) 10px
    );
    pointer-events: none;
}

/* ================================================================
   DRYLEAD SIDEBAR V2 - MODERN UX/UI REDESIGN
   ================================================================ */

/* Sidebar Container */
.drylead-sidebar-v2 {
    padding: 0;
    margin-bottom: 32px;
}

/* Brand Badge - Premium Look */
.drylead-brand-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
}

.drylead-brand-badge .brand-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #666;
    background: #f8f8f8;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* Product Title - Bigger & Bolder */
.drylead-product-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #000 !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.5px !important;
}

/* Price Section - Much More Prominent */
.drylead-price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

/* Prix actuel - CIBLAGE PRÉCIS SIDEBAR V2 - NOIR PAR DÉFAUT - TRÈS GRAND */
body#product .drylead-sidebar-v2 .drylead-price-section .current-price,
body#product .drylead-sidebar-v2 .drylead-price-section .current-price span,
body#product .drylead-sidebar-v2 .drylead-price-section .product-price span,
body#product .drylead-sidebar-v2 .drylead-price-section .product-prices span,
body#product .drylead-sidebar-v2 .drylead-price-section .current-price-value {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #000 !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Prix ROUGE uniquement si has-discount dans sidebar V2 */
body#product .drylead-sidebar-v2 .drylead-price-section .has-discount .current-price span:first-child,
body#product .drylead-sidebar-v2 .drylead-price-section .product-price.has-discount .current-price > span:first-child {
    color: #e53935 !important;
}

/* Prix barré - PLUS PETIT et gris */
body#product .drylead-sidebar-v2 .drylead-price-section .regular-price {
    font-size: 18px !important;
    color: #999 !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
    margin-left: 12px !important;
}

/* Prix barré - GRIS et plus petit (élégant) */
.drylead-price-section .regular-price {
    font-size: 18px !important;
    color: #999 !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
    margin-left: 12px !important;
    display: inline-block !important;
}

/* Badge promo PREMIUM - Style Courir avec fond orange léger - PETIT */
body#product .drylead-price-section .drylead-badge-promo {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #ff6600 !important;
    background: #ffe8d6 !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

/* Cacher les anciens badges si présents */
.drylead-price-section .discount:not(.drylead-badge-promo) {
    display: none !important;
}

/* TTC label - plus discret */
.drylead-ttc-label,
.drylead-price-section .tax-shipping-delivery-label {
    font-size: 11px !important;
    color: #aaa !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 4px !important;
}

/* Cacher le TTC en double */
.drylead-price-section .tax-shipping-delivery-label {
    display: none !important;
}

/* Delivery Promise Icons */
.drylead-delivery-promise {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
}

.drylead-delivery-promise .promise-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.drylead-delivery-promise .promise-item svg {
    color: #28a745;
    flex-shrink: 0;
}

/* Reference Discrete - Dans la section prix */
.drylead-ref-discrete {
    font-size: 11px !important;
    color: #999 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 8px 0 0 0 !important;
    font-weight: 400 !important;
}

/* Description courte - Entre prix et variants */
.drylead-description-short {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

/* ================================================================
   ENHANCED SIZE SELECTOR V2
   ================================================================ */

/* Override existing size selector styles */
body#product .product-variants {
    margin: 24px 0 !important;
}

body#product .product-variants-item .control-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Size buttons - BIGGER & More Spaced */
body#product .product-variants-item ul li .radio-label {
    min-width: 72px !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body#product .product-variants-item ul li:hover .radio-label {
    border-color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

body#product .product-variants-item ul li .input-radio:checked + .radio-label,
body#product .product-variants-item ul li .radio-label.check {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

body#product .product-variants-item ul {
    gap: 10px !important;
}

/* ================================================================
   ENHANCED ADD TO CART BUTTON V2
   ================================================================ */

body#product .add-to-cart,
body#product button[data-button-action="add-to-cart"] {
    width: 100% !important;
    height: 60px !important;
    background: #28a745 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    position: relative !important;
    overflow: hidden !important;
}

body#product .add-to-cart::before,
body#product button[data-button-action="add-to-cart"]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

body#product .add-to-cart:hover::before,
body#product button[data-button-action="add-to-cart"]:hover::before {
    left: 100% !important;
}

body#product .add-to-cart:hover,
body#product button[data-button-action="add-to-cart"]:hover {
    background: #218838 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

body#product .add-to-cart:active,
body#product button[data-button-action="add-to-cart"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3) !important;
}

body#product .add-to-cart:disabled,
body#product button[data-button-action="add-to-cart"]:disabled {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ================================================================
   ENHANCED QUANTITY SELECTOR V2 - Apple/Nike Style
   ================================================================ */

/* Wrapper flex pour quantité + add to cart */
.drylead-quantity-wrapper {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
}

.drylead-qty-selector {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drylead-qty-label {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.drylead-qty-controls {
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    display: flex;
    align-items: center;
    position: relative;
}

/* Cacher le bootstrap-touchspin */
.drylead-qty-controls .bootstrap-touchspin {
    border: none !important;
    display: flex !important;
    align-items: center !important;
}

.drylead-qty-controls .input-group-btn-vertical {
    display: none !important;
}

.drylead-qty-controls:hover {
    border-color: #000 !important;
}

.drylead-qty-controls:focus-within {
    border-color: #000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

.drylead-qty-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    color: #000 !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drylead-qty-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

.drylead-qty-input {
    width: 50px !important;
    height: 44px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-left: 2px solid #e0e0e0 !important;
    border-right: 2px solid #e0e0e0 !important;
    text-align: center;
    background: #fff;
    color: #000;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.drylead-qty-input::-webkit-outer-spin-button,
.drylead-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart actions en flex avec quantité */
.drylead-cart-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ================================================================
   LOW STOCK INDICATOR
   ================================================================ */

.drylead-availability.last_remaining_items, .drylead-availability.unavailable {
    display: none !important;
}

.drylead-availability.last_remaining_items .drylead-availability-text {
    color: #e65100 !important;
    font-weight: 600 !important;
}

.drylead-availability.available {
    padding: 10px 14px !important;
    background: #e8f5e9 !important;
    border-radius: 8px !important;
    border-left: 3px solid #28a745 !important;
}

.drylead-availability.available .drylead-availability-text {
    color: #2e7d32 !important;
    font-weight: 500 !important;
}

/* ================================================================
   SIDEBAR RESPONSIVE V2
   ================================================================ */

@media (max-width: 991px) {
    .drylead-product-title {
        font-size: 24px !important;
    }
    
    .drylead-price-section .current-price-value,
    .drylead-price-section .product-price {
        font-size: 28px !important;
    }
    
    .drylead-delivery-promise {
        flex-direction: column;
        gap: 12px;
    }
    
    body#product .add-to-cart,
    body#product button[data-button-action="add-to-cart"] {
        height: 56px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 575px) {
    .drylead-product-title {
        font-size: 22px !important;
    }
    
    .drylead-price-section .current-price-value,
    .drylead-price-section .product-price {
        font-size: 26px !important;
    }
    
    body#product .product-variants-item ul li .radio-label {
        min-width: 60px !important;
        height: 44px !important;
        font-size: 13px !important;
    }
    
    /* Fixed Add to Cart on Mobile */
    body#product .add-to-cart,
    body#product button[data-button-action="add-to-cart"] {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        border-radius: 0 !important;
        height: 60px !important;
    }
    
    /* Add padding at bottom to prevent content being hidden */
    body#product .drylead-details-40 {
        padding-bottom: 80px;
    }
}

/* ================================================================
   BONTAB & BONASK - MODERN DESIGN V2
   ================================================================ */

/* Wrapper global pour la grille 2x2 */
.drylead-info-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0 0 0;
}

/* Chaque module génère son propre wrapper, on les met en grille */
.drylead-info-actions-grid > div {
    display: contents;
}

/* Container des boutons d'info - Plus besoin de grid ici */
.drylead-product-info-actions-v2 {
    display: contents;
}

.drylead-review-wrapper {
    display: contents;
}

/* Boutons modernes avec icône + texte + flèche */
.drylead-info-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.drylead-info-btn:hover {
    border-color: #000;
    background: #fafafa;
    transform: translateX(2px);
}

.drylead-info-btn:active {
    transform: translateX(0);
}

/* Icône à gauche */
.drylead-btn-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #666;
    transition: color 0.2s ease;
}

.drylead-info-btn:hover .drylead-btn-icon {
    color: #000;
}

/* Label du bouton */
.drylead-btn-label {
    flex: 1;
    color: #333;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Flèche à droite */
.drylead-btn-arrow {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    color: #999;
    transition: all 0.2s ease;
}

.drylead-info-btn:hover .drylead-btn-arrow {
    color: #000;
    transform: translateX(3px);
}

/* Bouton Ask spécifique */
.drylead-ask-btn {
    border-color: #28a745;
}

.drylead-ask-btn:hover {
    border-color: #28a745;
    background: #f0fdf4;
}

.drylead-ask-btn .drylead-btn-icon {
    color: #28a745;
}

.drylead-ask-btn:hover .drylead-btn-arrow {
    color: #28a745;
}

/* Bouton Review spécifique */
.drylead-review-btn {
    border-color: #ffa500;
}

.drylead-review-btn:hover {
    border-color: #ffa500;
    background: #fff9f0;
}

.drylead-review-btn .drylead-btn-icon {
    color: #ffa500;
}

.drylead-review-btn:hover .drylead-btn-arrow {
    color: #ffa500;
}

/* Modal moderne V2 */
.drylead-modal-v2 {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.drylead-modal-header-v2 {
    padding: 24px 28px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drylead-modal-title-v2 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.drylead-modal-close-v2 {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.drylead-modal-close-v2:hover {
    background: #000;
    color: #fff;
    transform: rotate(90deg);
}

.drylead-modal-body-v2 {
    padding: 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Responsive */
@media (max-width: 575px) {
    /* Quantité + add to cart en colonne sur mobile */
    .drylead-quantity-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .drylead-qty-selector {
        width: 100%;
    }
    
    .drylead-qty-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .drylead-qty-btn {
        flex: 0 0 44px;
    }
    
    .drylead-qty-input {
        flex: 1;
    }
    
    /* Boutons info en colonne sur mobile */
    .drylead-info-actions-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .drylead-info-btn {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .drylead-btn-icon {
        width: 16px;
        height: 16px;
    }
}
/* ============================================
   FIX MODULE BONPROMOTION - TITRE VISIBLE
   ============================================ */

/* Assurer la visibilité du titre dans le module bonpromotion */
#bonpromotion .box-promotion .box-promotion-desc h3,
#bonpromotion .box-promotion .box-promotion-desc .box-promotion-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #3a3a3a !important;
    font-size: 45px !important;
    line-height: 120% !important;
    letter-spacing: 1px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin: 0 0 20px 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Titre pour les vidéos */
#bonpromotion .video .box-promotion .box-promotion-desc h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Titre pour les images */
#bonpromotion .image .box-promotion .box-promotion-desc h3 {
    color: #3a3a3a !important;
    text-align: left !important;
}

/* S'assurer que le conteneur de description est visible */
#bonpromotion .box-promotion-desc {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
}

/* Responsive pour les titres */
@media screen and (min-width: 1881px) {
    #bonpromotion .box-promotion .box-promotion-desc h3 {
        font-size: 70px !important;
        margin-bottom: 33px !important;
        max-width: 600px !important;
    }
}

@media (max-width: 1880px) {
    #bonpromotion .box-promotion .box-promotion-desc h3 {
        font-size: calc(25px + (70 - 25) * ((100vw - 320px) / (1880 - 320))) !important;
        margin-bottom: calc(10px + (33 - 10) * ((100vw - 320px) / (1880 - 320))) !important;
        max-width: calc(250px + (600 - 250) * ((100vw - 320px) / (1880 - 320))) !important;
    }
}

@media (max-width: 768px) {
    #bonpromotion .box-promotion .box-promotion-desc h3 {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 576px) {
    #bonpromotion .box-promotion .box-promotion-desc h3 {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }
}

/* ============================================
   FACETTES - SHOW MORE / SHOW LESS
   ============================================ */

/* Masquer les éléments au-delà de la limite */
.facet-item-hidden {
    display: none;
}

/* S'assurer que les éléments visibles sont bien affichés */
.facet-item {
    display: list-item;
}

/* Style du bouton "Voir plus" / "Voir moins" */
.facet-show-more {
    margin-top: 10px;
    text-align: center;
    padding: 5px 0;
    padding-top: 15px;
}

.btn-facet-show-more {
    background: transparent;
    border: none;
    color: #3a3a3a;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-facet-show-more:hover {
    color: #161616;
    text-decoration: underline;
}

.btn-facet-show-more i {
    font-size: 14px;
    margin-left: 5px;
    vertical-align: middle;
}

.btn-facet-show-more .show-less-text {
    display: none;
}

.btn-facet-show-more.expanded .show-more-text {
    display: none;
}

.btn-facet-show-more.expanded .show-less-text {
    display: inline;
}

/* ================================================================
   DRYLEAD - PRODUCT MINIATURE - DESIGN MINIMALISTE ÉPURÉ
   Comportement Courir : infos remplacées par tailles + bouton au hover
   ================================================================ */

/* Container ultra-épuré sans bordure */
.product-miniature {
    position: relative;
    transition: transform 0.2s ease;
}

.product-miniature .thumbnail-container {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: none;
    transition: transform 0.2s ease;
}

.product-miniature:hover .thumbnail-container {
    transform: translateY(-3px);
}

/* Image simple et propre */
.product-miniature .thumbnail-container-images {
    position: relative;
    overflow: hidden;
    background: #fafafa;
    margin-bottom: 12px;
}

.product-miniature .product-thumbnail {
    display: block;
    width: 100%;
}

.product-miniature .product-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.product-miniature:hover .product-thumbnail img {
    transform: scale(1.02);
}

/* ===== INFORMATIONS PRODUIT - Cachées au hover ===== */
.product-miniature .product-description {
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.product-miniature:hover .product-description {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Bloc gauche : Marque + Nom */
.product-miniature .product-info-left {
    flex: 1;
    min-width: 0;
}

/* Bloc droite : Prix */
.product-miniature .product-info-right {
    flex-shrink: 0;
    text-align: right;
}

/* Marque - style Courir */
.product-miniature .product-brand {
    margin-bottom: 6px;
}

.product-miniature .product-brand .brand-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #999;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-block;
    border: none;
}

/* Titre du produit - style Courir */
.product-miniature .product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    min-height: auto;
    text-align: left;
}

.product-miniature .product-title a {
    color: #000;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    text-align: left;
}

.product-miniature .product-title a:hover {
    color: #666;
}

/* Prix - style Courir (colonne à droite) */
.product-miniature .product-price-and-shipping {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.product-miniature .product-price-and-shipping .regular-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.product-miniature .product-price-and-shipping .price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.product-miniature .product-price-and-shipping .price.has-discount {
    color: #e21d1d;
}

/* Tailles - masquées par défaut, visibles au hover */
.product-miniature .product-sizes-preview {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    opacity: 0;
    transition: all 0.4s ease;
}

.product-miniature:hover .product-sizes-preview {
    max-height: 300px;
    margin-top: 12px;
    padding-top: 12px;
    border-top-color: #f0f0f0;
    opacity: 1;
}

.product-miniature .product-sizes-preview .sizes-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
    margin-bottom: 8px;
}

.product-miniature .product-sizes-preview .sizes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-miniature .product-sizes-preview .size-item {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Tailles en rupture de stock */
.product-miniature .product-sizes-preview .size-item.out-of-stock {
    color: #ccc;
    text-decoration: line-through;
    opacity: 0.5;
    background: #f9f9f9;
    border-color: #f0f0f0;
    cursor: not-allowed;
}


.product-miniature .product-sizes-preview .size-item:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
    color: #333;
}

.product-miniature .product-sizes-preview .size-more {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    background: transparent;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    border: none;
}

/* Badges produit - plus discrets */
.product-miniature .product-flags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-miniature .product-flag {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-miniature .product-flag.discount,
.product-miniature .product-flag.on-sale {
    background: #d63031;
}

.product-miniature .product-flag.new {
    background: #00b894;
}

/* Bouton add to cart - plus subtil */
.product-miniature .add-to-cart-btn button {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-miniature .add-to-cart-btn button:hover {
    background: #333;
    transform: scale(1.05);
}

/* Container bottom - padding réduit */
.product-miniature .thumbnail-container-bottom {
    padding: 0 8px 12px 8px;
}

.product-miniature .product-description {
    display: flex;
    flex-direction: column;
}

/* Badges produit - discrets */
.product-miniature .product-flags {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-miniature .product-flag {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 8px;
    border-radius: 2px;
    background: rgba(0,0,0,0.75);
    color: #fff;
}

.product-miniature .product-flag.discount,
.product-miniature .product-flag.on-sale {
    background: #d63031;
}

.product-miniature .product-flag.new {
    background: #00b894;
}

/* Animation simple */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-miniature.revealOnScroll {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* ================================================================
   MODERN URBAN UX/UI - PAGE PRODUIT
   ================================================================ */

/* Layout moderne avec espacement amélioré */
#product {
    padding: 40px 0;
}

#product .row {
    margin: 0 -15px;
}

/* Images section - style épuré */
#product .product-cover {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: #fafafa;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#product .product-cover:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

#product .product-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* Thumbnails modernes */
#product .js-qv-product-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

#product .js-qv-product-images li {
    flex: 0 0 calc(20% - 10px);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#product .js-qv-product-images li:hover,
#product .js-qv-product-images li.selected {
    border-color: #000;
    transform: scale(1.05);
}

#product .js-qv-product-images li img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section info produit - style urbain */
#product .product-information {
    padding: 0 30px;
}

/* Titre produit moderne */
#product h1.h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #000;
    letter-spacing: -0.5px;
}

/* Marque/référence style capsule */
#product .product-reference {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Prix moderne et épuré */
#product .product-prices {
    margin: 30px 0;
    padding: 24px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

#product .current-price {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

#product .current-price .current-price-value {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    letter-spacing: -1px;
}

#product .current-price .has-discount {
    color: #e74c3c;
}

#product .regular-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

#product .discount-percentage {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    margin-left: 12px;
}

/* Description courte moderne */
#product .product-description-short {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 24px 0;
}

/* Variantes/options style moderne */
#product .product-variants {
    margin: 32px 0;
}

#product .product-variants .control-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 12px;
    display: block;
}

/* Couleurs en cercles modernes */
#product .product-variants .color li {
    margin: 0 8px 8px 0;
}

#product .product-variants .color input[type="radio"] + span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #e5e5e5;
    transition: all 0.2s ease;
    cursor: pointer;
}

#product .product-variants .color input[type="radio"]:checked + span {
    border-color: #000;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
    transform: scale(1.1);
}

/* Bouton Add to cart moderne */
#product .product-add-to-cart button.add-to-cart {
    width: 100%;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#product .product-add-to-cart button.add-to-cart:hover {
    background: #333;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

#product .product-add-to-cart button.add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Informations produit - style cards */
#product .product-features,
#product .product-description {
    background: #fafafa;
    border-radius: 16px;
    padding: 32px;
    margin: 24px 0;
}

#product .product-features h3,
#product .product-description h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

#product .product-features dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#product .product-features dt {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

#product .product-features dd {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* Tabs modernes */
#product .tabs {
    margin-top: 60px;
}

#product .nav-tabs {
    border-bottom: 2px solid #e5e5e5;
    display: flex;
    gap: 0;
    margin-bottom: 40px;
}

#product .nav-tabs .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    padding: 16px 24px;
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

#product .nav-tabs .nav-link:hover {
    color: #000;
    border-bottom-color: #ccc;
}

#product .nav-tabs .nav-link.active {
    color: #000;
    border-bottom-color: #000;
}

/* Badges et labels modernes */
#product .product-flag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 6px;
    z-index: 10;
}

#product .product-flag.discount {
    background: #e74c3c;
}

#product .product-flag.new {
    background: #27ae60;
}

/* Responsive moderne */
@media (max-width: 991px) {
    #product .product-information {
        padding: 30px 15px;
    }
    
    #product h1.h1 {
        font-size: 26px;
    }
    
    #product .current-price .current-price-value {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    #product {
        padding: 20px 0;
    }
    
    #product h1.h1 {
        font-size: 22px;
    }
    
    #product .current-price .current-price-value {
        font-size: 28px;
    }
    
    #product .js-qv-product-images li {
        flex: 0 0 calc(25% - 10px);
    }
}

/* FACETS COLLAPSIBLES - Style minimaliste New Balance */

/* Enlever la bordure du titre principal des filtres */
#search_filters .h6, 
#search_filters_brands .h6, 
#search_filters_suppliers .h6 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 10px !important;
}

#search_filters .facet .collapse {
    display: none;
}

#search_filters .facet .collapse.show {
    display: block;
}

/* Cacher le bouton "Voir plus/moins" quand la section est fermée */
#search_filters .facet .title.collapsed ~ .facet-show-more {
    display: none !important;
}

#search_filters .facet .title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #d4d4d4;
    transition: all 0.2s ease;
}

#search_filters .facet .title:hover {
    background-color: transparent;
}

#search_filters .facet .title .h6.facet-title {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    letter-spacing: 0;
}

#search_filters .facet .title .collapse-icons {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
}

#search_filters .facet .title .collapse-icons i.material-icons {
    font-size: 24px;
    color: #000;
    font-weight: 300;
    transition: transform 0.2s ease;
}

/* Affichage des icônes selon l'état collapse */
#search_filters .facet .title:not(.collapsed) .collapse-icons .add {
    display: none;
}

#search_filters .facet .title:not(.collapsed) .collapse-icons .remove {
    display: inline-flex;
}

#search_filters .facet .title.collapsed .collapse-icons .add {
    display: inline-flex;
}

#search_filters .facet .title.collapsed .collapse-icons .remove {
    display: none;
}

/* Espacement du contenu des filtres */
#search_filters .facet ul.collapse {
    padding-top: 15px;
    padding-bottom: 5px;
}

/* ============================================
   AFFICHAGE DES TAILLES BONATTRIBUTE - STYLE COURIR
   Remplace les infos produit au hover
   ============================================ */

/* Container qui remplace les infos produit au hover */
.product-miniature .bonattribute,
.featured-products .bonattribute {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    opacity: 0 !important;
    overflow: visible !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    z-index: 10 !important;
    transform: translateY(10px) !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05) !important;
    top: auto !important;
}

/* Override : Afficher TOUS les boutons de taille */
.product-miniature .bonattribute .bonattribute-box .bonattribute-btn,
.featured-products .bonattribute .bonattribute-box .bonattribute-btn,
.product-miniature .bonattribute .bonattribute-btn:not(.color),
.featured-products .bonattribute .bonattribute-btn:not(.color) {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

/* Afficher au hover - Remplace les infos produit */
.product-miniature:hover .bonattribute,
.featured-products:hover .bonattribute {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Container principal */
.product-miniature .bonattribute .bonattribute-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
}

/* Box des tailles - Une seule ligne centrée */
.product-miniature .bonattribute .bonattribute-box {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    order: 1;
}

/* Style Courir - Boutons lisibles */
.product-miniature .bonattribute .bonattribute-btn {
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 11px !important;
    min-width: 38px !important;
    height: 32px !important;
    margin: 0 !important;
    border: 1.5px solid #ddd !important;
    background: #fff !important;
    color: #000 !important;
    cursor: pointer !important;
    border-radius: 5px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: 0.2px !important;
    box-shadow: none !important;
}

/* Hover sur taille disponible */
.product-miniature .bonattribute .bonattribute-btn:not(.bon-attribute-disabled):hover {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    transform: scale(1.05) !important;
}

/* Style pour tailles indisponibles */
.product-miniature .bonattribute .bonattribute-btn.bon-attribute-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    border-color: #e5e5e5 !important;
    color: #aaa !important;
    text-decoration: line-through !important;
}

/* ===== BOUTON "VOIR LE PRODUIT" ===== */
.product-miniature .bonattribute::after {
    content: "Voir le produit" !important;
    display: block !important;
    width: 100% !important;
    padding: 10px 20px !important;
    background: #000 !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    order: 2 !important;
    margin-top: 10px !important;
}

.product-miniature .bonattribute::after:hover {
    background: #333 !important;
}

/* Ligne diagonale moderne pour tailles épuisées */
.product-miniature .bonattribute .bonattribute-btn.bon-attribute-disabled::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #999;
    transform: translateY(-50%);
}

/* Animation d'apparition séquentielle des tailles */
.product-miniature:hover .bonattribute .bonattribute-btn {
    animation: fadeInSize 0.3s ease forwards;
}

.product-miniature:hover .bonattribute .bonattribute-btn:nth-child(1) { animation-delay: 0.05s; }
.product-miniature:hover .bonattribute .bonattribute-btn:nth-child(2) { animation-delay: 0.08s; }
.product-miniature:hover .bonattribute .bonattribute-btn:nth-child(3) { animation-delay: 0.11s; }
.product-miniature:hover .bonattribute .bonattribute-btn:nth-child(4) { animation-delay: 0.14s; }
.product-miniature:hover .bonattribute .bonattribute-btn:nth-child(5) { animation-delay: 0.17s; }
.product-miniature:hover .bonattribute .bonattribute-btn:nth-child(6) { animation-delay: 0.20s; }

@keyframes fadeInSize {
    from {
        opacity: 0;
        transform: translateY(5px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Masquer le dropdown dans les listings */
.product-miniature .bonattribute-dropdown {
    display: none !important;
}

/* ============================================
   LIGHTBOX IMPROVEMENTS FOR DRYLEAD LAYOUT
   ============================================ */

/* Amélioration de la modal lightbox */
.modal-gallery.js-product-images-modal,
.modal-gallery.js-product-images-modal.is-open {
    z-index: 99999 !important;
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    overflow: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* QUAND LA MODAL EST OUVERTE */
.modal-gallery.js-product-images-modal[style*="display: block"],
.modal-gallery.js-product-images-modal.is-open {
    display: block !important;
}

.modal-gallery .modal-dialog {
    max-width: 90vw !important;
    height: auto !important;
    min-height: 90vh !important;
    margin: 5vh auto !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
}

.modal-gallery .modal-content {
    background: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
}

.modal-gallery .modal-body {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    visibility: visible !important;
}

/* Bouton de fermeture visible */
.modal-gallery .gallery-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    line-height: 1 !important;
}

.modal-gallery .gallery-close:hover {
    background: white !important;
}

/* Images dans la lightbox */
.modal-gallery #thumbnails,
.modal-gallery .js-modal-mask ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
}

/* Container pour l'image */
.modal-gallery .js-modal-mask {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 90vw !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.modal-gallery .js-modal-mask .thumb-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 70vh !important;
}

.modal-gallery .js-modal-mask .thumb-container img {
    max-height: 80vh !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto !important;
}

/* Slick slider dans la lightbox */
.modal-gallery .slick-track,
.modal-gallery .slick-list,
.modal-gallery .slick-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 70vh !important;
}

.modal-gallery .slick-slide img {
    display: block !important;
    max-width: 100% !important;
    max-height: 80vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Améliorer le curseur sur les images de la grille */
.drylead-image-item {
    position: relative;
    cursor: zoom-in;
}

.drylead-image-item::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 28px;
    font-weight: 300;
    pointer-events: none;
    border: 2px solid rgba(255,255,255,0.8);
}

.drylead-image-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Permettre les clics à travers le conteneur de zoom */
.drylead-image-item .zoomContainer {
    pointer-events: none !important;
}

.drylead-image-item .zoomWindow {
    pointer-events: auto !important;
}

/* ================================================================
   DRYLEAD - MENU RESPONSIVE MOBILE AMÉLIORÉ
   ================================================================ */

/* === HEADER MOBILE - Structure de base === */
@media (max-width: 991px) {
    /* Reset des conflits de position */
    #header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1050 !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Header banner avec logo mobile centré */
    #header .header-banner {
        padding: 10px 0 !important;
        background: #fff !important;
    }
    
    #header .header-banner .header-contact-info {
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 15px !important;
    }
    
    /* Logo mobile centré */
    #_mobile_logo {
        display: block !important;
        text-align: center !important;
        margin: 0 auto !important;
        max-width: 180px !important;
        order: -1 !important;
    }
    
    #_mobile_logo h1 {
        margin: 0 !important;
    }
    
    #_mobile_logo .logo {
        max-height: 50px !important;
        width: auto !important;
    }
    
    /* Header top avec menu et icônes */
    #header .header-top {
        padding: 10px 0 !important;
        margin: 0 !important;
        border-top: 1px solid #f0f0f0 !important;
    }
    
    #header .header-top .container {
        padding: 0 10px !important;
    }
    
    #header .header-top .position-static {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 5px !important;
    }
    
    /* Masquer le logo desktop en mobile */
    #_desktop_logo {
        display: none !important;
    }
    
    /* === BOUTON BURGER MENU === */
    .bon-nav-bar:first-child {
        order: 1 !important;
    }
    
    #mobile_bonmm_0,
    .bonmm-mobile-button {
        position: relative !important;
        z-index: 1051 !important;
    }
    
    #mobile_bonmm_0 .burger-lines {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 30px !important;
        height: 30px !important;
        cursor: pointer !important;
        padding: 5px !important;
    }
    
    #mobile_bonmm_0 .burger-lines span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        background-color: #333 !important;
        margin: 2px 0 !important;
        transition: all 0.3s ease !important;
        border: none !important;
    }
    
    /* Animation du burger en X quand ouvert */
    #mobile_bonmm_0.is-open .burger-lines span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    #mobile_bonmm_0.is-open .burger-lines span:nth-child(2) {
        opacity: 0 !important;
    }
    
    #mobile_bonmm_0.is-open .burger-lines span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px) !important;
    }
    
    /* === ICÔNES DE NAVIGATION À DROITE === */
    .bon-nav-bar.right {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        order: 3 !important;
    }
    
    .bon-nav-bar.right > div:not(.modal) {
        padding: 5px 8px !important;
        min-height: auto !important;
    }
    
    /* Icône de recherche */
    .bon-search-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .bon-search-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* === MENU MOBILE FULLSCREEN === */
    /* RÈGLES DÉSACTIVÉES - Elles entraient en conflit avec le menu bonmegamenu
    #mobile_bonmm_0 #top-menu-0,
    #top-menu-0 {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        transition: left 0.35s ease-in-out !important;
        padding: 70px 0 30px 0 !important;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.15) !important;
    }
    */
    
    /* Menu ouvert */
    /* RÈGLES DÉSACTIVÉES - Conflit avec bonmegamenu
    #mobile_bonmm_0.is-open #top-menu-0,
    #top-menu-0.show,
    #top-menu-0[style*="display: block"] {
        left: 0 !important;
    }
    
    /* Overlay sombre derrière le menu */
    /* RÈGLES DÉSACTIVÉES
    #mobile_bonmm_0::before {
        content: '' !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0) !important;
        z-index: 9998 !important;
        pointer-events: none !important;
        transition: background 0.35s ease !important;
    }
    
    #mobile_bonmm_0.is-open::before {
        background: rgba(0, 0, 0, 0.5) !important;
        pointer-events: auto !important;
    }
    */
    
    /* === ÉLÉMENTS DU MENU MOBILE === */
    #top-menu-0 > li {
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    #top-menu-0 > li > a {
        display: block !important;
        padding: 15px 20px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        transition: all 0.2s ease !important;
    }
    
    #top-menu-0 > li > a:hover {
        background: #f8f8f8 !important;
        color: #000 !important;
        padding-left: 25px !important;
    }
    
    /* Sous-menus */
    #top-menu-0 .sub-menu,
    #top-menu-0 .popover.sub-menu {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        background: #f9f9f9 !important;
        margin: 0 !important;
        transform: none !important;
    }
    
    #top-menu-0 .sub-menu ul,
    #top-menu-0 .popover.sub-menu .bonmm-top-menu {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    #top-menu-0 .sub-menu li a,
    #top-menu-0 .popover.sub-menu li a {
        display: block !important;
        padding: 12px 20px 12px 35px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #555 !important;
        border-bottom: 1px solid #eee !important;
    }
    
    #top-menu-0 .sub-menu li a:hover,
    #top-menu-0 .popover.sub-menu li a:hover {
        background: #fff !important;
        color: #000 !important;
    }
    
    /* Bouton de fermeture du menu */
    #top-menu-0::before {
        content: '✕' !important;
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        width: 35px !important;
        height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        color: #333 !important;
        cursor: pointer !important;
        border-radius: 50% !important;
        transition: all 0.2s ease !important;
        z-index: 10000 !important;
    }
    
    #top-menu-0:hover::before {
        background: #f0f0f0 !important;
    }
    
    /* === FIX DES CONFLITS DE POSITION === */
    #index #header {
        height: auto !important;
        min-height: auto !important;
        background-image: none !important;
        background-color: #fff !important;
    }
    
    /* Supprimer les styles de fond d'image sur header en mobile */
    #index #header.sticky-head,
    #index #header {
        background-image: none !important;
    }
    
    /* Fixer le contenu qui ne doit pas bouger */
    body.menu-open {
        overflow: hidden !important;
    }
    
    /* === CORRECTIONS SLIDER BANNIÈRE === */
    .header-banner .right-block,
    .header-banner .left-block {
        display: none !important;
    }
}

/* === AJUSTEMENTS SMARTPHONES (moins de 576px) === */
@media (max-width: 575px) {
    #header .header-top .position-static {
        padding: 0 !important;
    }
    
    .bon-nav-bar.right > div:not(.modal) {
        padding: 3px 5px !important;
    }
    
    #_mobile_logo .logo {
        max-height: 40px !important;
    }
    
    #top-menu-0 {
        width: 90% !important;
        max-width: 300px !important;
    }
    
    #top-menu-0 > li > a {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    #top-menu-0 .sub-menu li a,
    #top-menu-0 .popover.sub-menu li a {
        padding: 10px 15px 10px 30px !important;
        font-size: 13px !important;
    }
    
    /* Icônes plus petites */
    .bon-nav-bar.right svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Compteurs panier/wishlist */
    .cart-products-count,
    #bonwishlist .count,
    #boncompare .count {
        font-size: 10px !important;
        min-width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
        top: -5px !important;
        right: -5px !important;
    }
}

/* === TABLETTES (entre 576px et 991px) === */
@media (min-width: 576px) and (max-width: 991px) {
    #_mobile_logo .logo {
        max-height: 55px !important;
    }
    
    #top-menu-0 {
        max-width: 350px !important;
    }
    
    .bon-nav-bar.right > div:not(.modal) {
        padding: 8px 12px !important;
    }
}

/* === FIX ICÔNE SLIDER CASSÉE === */
.slick-slider .slick-prev::before,
.slick-slider .slick-next::before,
[class*="slider"] .slick-prev::before,
[class*="slider"] .slick-next::before {
    font-family: 'slick', 'Material Icons', 'FontAwesome', sans-serif !important;
}

/* Cacher les images/icônes cassées */
img[src=""],
img:not([src]),
img[alt="slider"] {
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* === ICÔNES RÉSEAUX SOCIAUX FLOTTANTS === */
@media (max-width: 991px) {
    .social-float,
    .fixed-social,
    [class*="social-side"] {
        left: 0 !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1000 !important;
    }
    
    .social-float a,
    .fixed-social a {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
}


/* ============================================ */
/* DRYLEAD - FIX HEADER STICKY EN BAS (MOBILE) */
/* ============================================ */
/* 
 * Problème 1: Le header se positionne en bas de l'écran sur mobile lors du scroll
 * Cause: bontheme.css ligne 917-925 applique bottom: 0
 * 
 * Problème 2: Le header disparaît en bas de page
 * Cause: bontheme.js ajoute classe "bottom-hide" avec opacity:0
 *
 * Problème 3: Le menu drawer ne s'ouvre pas
 * Cause: Le menu mobile a besoin de styles corrects pour s'afficher
 */

@media (max-width: 991px) {
    /* ===== CORRECTION 1: Surcharge bontheme.css bottom:0 ===== */
    .sticky-head .header-top .container .row {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        box-shadow: none !important;
        margin: 0 -15px !important;
        animation: none !important;
    }
    
    /* ===== CORRECTION 2: Empêcher header de disparaître en bas ===== */
    #header.bottom-hide {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* ===== HEADER ELEMENT ===== */
    #header {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
    }
    
    /* Header sticky - fixé en haut lors du scroll */
    #header.sticky-head {
        position: fixed !important;
        top: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9998 !important;
        animation: slideDown 0.3s ease-out !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    /* ===== CORRECTION 3: Menu mobile drawer ===== */
    /* Le menu bonmegamenu doit être visible et ne pas être caché par CSS */
    /* SURCHARGE de bonmegamenu_front.min.css ligne 2151 : .bonmm-mobile>.bonmm-top-menu { display: none; } */
    
    /* Par défaut, le menu est caché */
    .bonmm-mobile > .bonmm-top-menu {
        display: none !important;
    }
    
    /* Quand la classe active est appliquée par JavaScript, afficher le menu */
    .bonmm-mobile > .bonmm-top-menu.active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        z-index: 100000 !important;
        background: #fff !important;
        overflow-y: auto !important;
        margin: 0 !important;
        padding: 20px 15px !important;
        border: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* ===== STYLE DES SOUS-MENUS EN MODE MOBILE ===== */
    /* Par défaut, tous les sous-menus sont CACHÉS (comme l'app Courir) */
    .bonmm-mobile .bonmm-top-menu.active .popover {
        display: none !important;
        position: static !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        left: auto !important;
        top: auto !important;
    }
    
    /* Tous les sous-menus sont cachés par défaut */
    .bonmm-mobile .bonmm-top-menu.active .sub-menu,
    .bonmm-mobile .bonmm-top-menu.active [data-bonmm-depth="1"] {
        display: none !important;
        position: static !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        background: #fff !important; /* Fond blanc comme Courir */
        padding: 0 !important; /* Pas d'indentation excessive */
        margin: 0 !important;
    }
    
    /* Afficher uniquement les sous-menus avec classe show (après clic sur flèche) */
    .bonmm-mobile .bonmm-top-menu.active .sub-menu.show,
    .bonmm-mobile .bonmm-top-menu.active [data-bonmm-depth="1"].show {
        display: block !important;
    }
    
    /* Masquer les images/logos dans le menu mobile */
    .bonmm-mobile .bonmm-top-menu.active img {
        display: none !important;
    }
    
    /* Masquer les icônes desktop en mode mobile */
    .bonmm-mobile .bonmm-top-menu.active .collapse-icons.desktop {
        display: none !important;
    }
    
    /* Items de niveau 1 (menu principal) - Style Courir */
    .bonmm-mobile .bonmm-top-menu.active > li {
        border-bottom: 1px solid #e8e8e8 !important; /* Bordure plus subtile */
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .bonmm-mobile .bonmm-top-menu.active > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px !important; /* Plus d'espace comme Courir */
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #000 !important; /* Noir pur comme Courir */
        text-transform: uppercase !important;
        text-decoration: none !important;
        background: #fff !important;
    }
    
    .bonmm-mobile .bonmm-top-menu.active > li > a:active {
        background: #f5f5f5 !important;
    }
    
    /* Items de sous-menus - Style Courir */
    .bonmm-mobile .bonmm-top-menu.active [data-bonmm-depth="1"] > li {
        border-bottom: 1px solid #f0f0f0 !important; /* Bordure très fine */
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .bonmm-mobile .bonmm-top-menu.active [data-bonmm-depth="1"] > li:last-child {
        border-bottom: none !important;
    }
    
    .bonmm-mobile .bonmm-top-menu.active [data-bonmm-depth="1"] > li > a {
        display: flex !important;
        align-items: center !important;
        padding: 14px 20px 14px 40px !important; /* Indentation subtile à gauche */
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #333 !important;
        text-transform: none !important;
        text-decoration: none !important;
        background: #fff !important;
        transition: background 0.2s ease !important;
    }
    
    .bonmm-mobile .bonmm-top-menu.active [data-bonmm-depth="1"] > li > a:active {
        background: #f5f5f5 !important;
    }
    
    /* Icônes de collapse/expand (flèches) - Style Courir */
    .bonmm-mobile .bonmm-top-menu.active .collapse-icons {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        margin-left: auto !important;
        cursor: pointer !important;
        color: #ff6b35 !important; /* Couleur orange */
        transition: transform 0.3s ease !important;
    }
    
    /* Rotation de la flèche quand le menu est ouvert */
    .bonmm-mobile .bonmm-top-menu.active li.show > a > .collapse-icons {
        transform: rotate(180deg) !important;
    }
    
    /* Bouton fermer (X) du menu mobile */
    .bonmm-mobile .bonmm-mobile-button.active {
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 100001 !important;
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 0, 0, 0.05) !important;
        border-radius: 50% !important;
    }
    
    /* Ajout d'espace en haut du body pour compenser le header fixed */
    body.scrolling #wrapper,
    body.page-index.scrolling #wrapper {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    /* SURCHARGE CRITIQUE de bontheme.css ligne 917-925 */
    .sticky-head .header-top .container .row,
    #header.sticky-head .header-top .container .row {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        box-shadow: none !important;
        animation: none !important;
    }
    
    /* Header ne disparaît pas en bas de page */
    #header.bottom-hide {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Sur très petits écrans, header sticky plus compact */
    #header.sticky-head {
        padding: 0;
    }
    
    #header.sticky-head .header-top {
        padding: 5px 0;
        margin: 0;
    }
    
    #header.sticky-head .header-banner {
        display: none;
    }
    
    /* Ajustement espace body */
    body.scrolling #wrapper {
        padding-top: 60px;
    }
}
