/*! Chauffage Décor - Design pro v13 */

/* ============================================================
   1. CONTAINER PLEINE LARGEUR (toute la largeur écran)
   ============================================================ */
body.page-index .container,
body#index .container,
body.page-index #wrapper,
body.page-index #wrapper .container,
body.page-index .iner_box1,
body.page-index .iner_box1 .container,
body.page-index .featured-products-container,
body.page-index .block-content .container,
body.page-index .row {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.page-index .poslistcateproduct,
body.page-index .featured-products,
body.page-index .block-content {
    padding-left: 30px !important;
    padding-right: 30px !important;
}
@media (max-width: 768px) {
    body.page-index .poslistcateproduct,
    body.page-index .featured-products,
    body.page-index .block-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ============================================================
   2. SECTIONS CATÉGORIES (POSLISTCATEPRODUCT)
   ============================================================ */
.poslistcateproduct {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    max-width: 100% !important;
    margin: 0 0 60px !important;
    padding: 0 !important;
}
.poslistcateproduct .pos_title {
    text-align: left !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #e8e8e8 !important;
    position: relative !important;
}
.poslistcateproduct .pos_title:after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background: #25b9d7 !important;
}
.poslistcateproduct .pos_title h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.poslistcateproduct .pos_title h2 span.text {
    display: block !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #888 !important;
    margin-top: 4px !important;
    text-transform: none !important;
}

/* ============================================================
   3. CAROUSEL / GRID - 6 COLONNES DESKTOP
   ============================================================ */
.listcateSlide,
.newSlide {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 -8px !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
}
.blog_slider {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 -10px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Owl-loaded restore native */
.listcateSlide.owl-loaded,
.newSlide.owl-loaded,
.blog_slider.owl-loaded {
    display: block !important;
    flex-wrap: nowrap !important;
}
.listcateSlide.owl-loaded .item-product,
.newSlide.owl-loaded .item-product,
.blog_slider.owl-loaded .item-product {
    flex: initial !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Items produits 6 colonnes */
.listcateSlide:not(.owl-loaded) > .item-product,
.newSlide:not(.owl-loaded) > .item-product,
.cd-grid-fallback:not(.blog_slider) > .item-product {
    flex: 0 0 calc(16.666% - 16px) !important;
    max-width: calc(16.666% - 16px) !important;
    width: calc(16.666% - 16px) !important;
    box-sizing: border-box !important;
    margin: 8px !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Blog 3 colonnes */
.blog_slider:not(.owl-loaded) > div,
.blog_slider:not(.owl-loaded) > article,
.cd-grid-fallback.blog_slider > div,
.cd-grid-fallback.blog_slider > article {
    flex: 0 0 calc(33.333% - 20px) !important;
    max-width: calc(33.333% - 20px) !important;
    width: calc(33.333% - 20px) !important;
    box-sizing: border-box !important;
    margin: 10px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================================
   4. CARDS PRODUITS - DESIGN MODERNE
   ============================================================ */
.listcateSlide:not(.owl-loaded) .js-product-miniature,
.newSlide:not(.owl-loaded) .js-product-miniature,
.cd-grid-fallback:not(.blog_slider) .js-product-miniature,
.poslistcateproduct .js-product-miniature {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    min-height: auto !important;
}
.listcateSlide:not(.owl-loaded) .js-product-miniature:hover,
.newSlide:not(.owl-loaded) .js-product-miniature:hover,
.poslistcateproduct .js-product-miniature:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;
    transform: translateY(-3px) !important;
    border-color: #25b9d7 !important;
}

/* IMG block */
.poslistcateproduct .js-product-miniature .img_block,
.listcateSlide .img_block,
.newSlide .img_block,
.cd-grid-fallback .img_block {
    display: block !important;
    width: 100% !important;
    float: none !important;
    padding: 16px !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    background: #fafafa !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Thumbnail link */
.poslistcateproduct .product-thumbnail,
.listcateSlide .product-thumbnail,
.newSlide .product-thumbnail,
.cd-grid-fallback .product-thumbnail {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.3s ease !important;
}

/* Image */
.poslistcateproduct .img_block img,
.listcateSlide .img_block img,
.newSlide .img_block img,
.cd-grid-fallback .img_block img,
.listcateSlide:not(.owl-loaded) img,
.newSlide:not(.owl-loaded) img,
.cd-grid-fallback img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 220px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.4s ease !important;
}
.js-product-miniature:hover .img_block img {
    transform: scale(1.05) !important;
}

/* Description */
.poslistcateproduct .js-product-miniature .product_desc,
.listcateSlide .product_desc,
.newSlide .product_desc,
.cd-grid-fallback .product_desc {
    display: block !important;
    width: 100% !important;
    float: none !important;
    padding: 12px 16px 18px !important;
    text-align: left !important;
    clear: both !important;
    background: #fff !important;
    border-top: 1px solid #f0f0f0 !important;
    flex: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.poslistcateproduct .desc_info,
.cd-grid-fallback .desc_info,
.listcateSlide .desc_info,
.newSlide .desc_info {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Manufacturer (marque) */
.poslistcateproduct .manufacturer,
.listcateSlide .manufacturer,
.newSlide .manufacturer,
.cd-grid-fallback .manufacturer {
    font-size: 10px !important;
    color: #25b9d7 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 6px !important;
    font-weight: 600 !important;
}
.poslistcateproduct .manufacturer a,
.listcateSlide .manufacturer a,
.newSlide .manufacturer a,
.cd-grid-fallback .manufacturer a {
    color: #25b9d7 !important;
    text-decoration: none !important;
}

/* Nom du produit */
.poslistcateproduct h4,
.listcateSlide h4,
.newSlide h4,
.cd-grid-fallback h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #1a1a1a !important;
    min-height: 36px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.poslistcateproduct h4 a,
.listcateSlide h4 a,
.newSlide h4 a,
.cd-grid-fallback h4 a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.poslistcateproduct h4 a:hover,
.listcateSlide h4 a:hover,
.newSlide h4 a:hover {
    color: #25b9d7 !important;
}

/* ============================================================
   5. CACHER ELEMENTS PARASITES
   ============================================================ */
.poslistcateproduct .product-desc,
.poslistcateproduct .desc-content,
.poslistcateproduct .hook-reviews,
.poslistcateproduct .hover .add-to-links,
.poslistcateproduct .links,
.poslistcateproduct .quick-view,
.listcateSlide:not(.owl-loaded) .product-desc,
.listcateSlide:not(.owl-loaded) .desc-content,
.listcateSlide:not(.owl-loaded) .hook-reviews,
.listcateSlide:not(.owl-loaded) .links,
.newSlide:not(.owl-loaded) .product-desc,
.newSlide:not(.owl-loaded) .desc-content,
.newSlide:not(.owl-loaded) .hook-reviews,
.newSlide:not(.owl-loaded) .links,
.cd-grid-fallback .product-desc,
.cd-grid-fallback .desc-content,
.cd-grid-fallback .hook-reviews,
.cd-grid-fallback .links {
    display: none !important;
}

/* ============================================================
   6. FLAGS (NOUVEAU / SOLDES)
   ============================================================ */
.poslistcateproduct .product-flag,
.listcateSlide .product-flag,
.newSlide .product-flag,
.cd-grid-fallback .product-flag {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    z-index: 3 !important;
}
.poslistcateproduct .product-flag li,
.listcateSlide .product-flag li,
.newSlide .product-flag li,
.cd-grid-fallback .product-flag li {
    display: inline-block !important;
    background: #25b9d7 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    margin-right: 4px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}
.poslistcateproduct .product-flag li.new,
.listcateSlide .product-flag li.new,
.newSlide .product-flag li.new { background: #25b9d7 !important; }
.poslistcateproduct .product-flag li.discount,
.listcateSlide .product-flag li.discount,
.newSlide .product-flag li.discount { background: #e53935 !important; }
.poslistcateproduct .product-flag li.on-sale,
.listcateSlide .product-flag li.on-sale,
.newSlide .product-flag li.on-sale { background: #ff9800 !important; }

/* ============================================================
   7. RESPONSIVE
   ============================================================ */
@media (max-width: 1399px) {
    .listcateSlide:not(.owl-loaded) > .item-product,
    .newSlide:not(.owl-loaded) > .item-product,
    .cd-grid-fallback:not(.blog_slider) > .item-product {
        flex: 0 0 calc(20% - 16px) !important;
        max-width: calc(20% - 16px) !important;
        width: calc(20% - 16px) !important;
    }
}
@media (max-width: 1199px) {
    .listcateSlide:not(.owl-loaded) > .item-product,
    .newSlide:not(.owl-loaded) > .item-product,
    .cd-grid-fallback:not(.blog_slider) > .item-product {
        flex: 0 0 calc(25% - 16px) !important;
        max-width: calc(25% - 16px) !important;
        width: calc(25% - 16px) !important;
    }
}
@media (max-width: 991px) {
    .listcateSlide:not(.owl-loaded) > .item-product,
    .newSlide:not(.owl-loaded) > .item-product,
    .cd-grid-fallback:not(.blog_slider) > .item-product {
        flex: 0 0 calc(33.333% - 16px) !important;
        max-width: calc(33.333% - 16px) !important;
        width: calc(33.333% - 16px) !important;
    }
    .blog_slider:not(.owl-loaded) > div,
    .blog_slider:not(.owl-loaded) > article {
        flex: 0 0 calc(50% - 20px) !important;
        max-width: calc(50% - 20px) !important;
        width: calc(50% - 20px) !important;
    }
}
@media (max-width: 767px) {
    .listcateSlide:not(.owl-loaded) > .item-product,
    .newSlide:not(.owl-loaded) > .item-product,
    .cd-grid-fallback:not(.blog_slider) > .item-product {
        flex: 0 0 calc(50% - 16px) !important;
        max-width: calc(50% - 16px) !important;
        width: calc(50% - 16px) !important;
    }
    .poslistcateproduct .pos_title h2 {
        font-size: 20px !important;
    }
}
@media (max-width: 480px) {
    .listcateSlide:not(.owl-loaded) > .item-product,
    .newSlide:not(.owl-loaded) > .item-product,
    .cd-grid-fallback:not(.blog_slider) > .item-product,
    .blog_slider:not(.owl-loaded) > div,
    .blog_slider:not(.owl-loaded) > article {
        flex: 0 0 calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        width: calc(100% - 16px) !important;
    }
}

/* ============================================================
   8. SECTION HEADERS UNIFIÉS (Nos Coups de Cœur, Derniers Articles)
   ============================================================ */
.pos_title {
    text-align: left !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #e8e8e8 !important;
    position: relative !important;
}
.pos_title:after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background: #25b9d7 !important;
}
.pos_title h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 4px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}
.pos_title .text,
.pos_title h2 + span,
.pos_title h2 ~ span.text {
    display: block !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #888 !important;
    margin-top: 4px !important;
    text-transform: none !important;
}

/* Espacement entre sections */
.block-content {
    margin-bottom: 60px !important;
}
