/* CATEGORIES */
.cat-featured-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 25px 25px;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    margin-bottom: 25px;
}
.cat-featured-products {
    flex: 1 1 auto; /* prend tout l’espace restant */
    min-width: 0; /* pour éviter overflow */
    /*margin-top: 55px;*/  
}
.cat-featured-image-wrapper {
    flex: 0 0 240px; /* largeur fixe */
    text-align: left;
    margin-bottom: 10px;
}
.wc-cat-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    border-left: 5px solid #fd6816;
    padding-left: 10px;
}
.wc-cat-title a {
    color: inherit;
}
.wc-cat-title a:hover {
    color: #fd6816;
}
.discover-cat-btn {
    position: relative;
    float: right;
    background-color: #fd6816;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}

.discover-cat-btn:hover {
    background-color: orange;
    color: #fff;
}
#content hr {
    border: 0;
    background-color: #F2F2F2;
    height: 1px;
}

/* SLIDER */
.chs-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
}
.chs-slider {
    display: flex;
    transition: transform 300ms ease-in-out;
}
.chs-slide {
    flex: 0 0 100%;
}
.chs-slide img {
    width: 100%;
    border-radius: 15px;
}

/* BANNERS */
.chs-banners {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    width: 100%;
    flex-wrap: wrap;
}
.chs-banner-item {
    flex: 1 1 48%;
    border-radius: 10px;
}
.chs-banner-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 15px;
}
.chs-banner-item:hover img {
    transform: scale(1.02);
}

/* CAT SIDE MENU */
.categories-menu-container {
	flex-basis: 30%!important;
	margin-right: 5%!important;
}
ul.chs-cat-level, 
ul.chs-cat-level li {
    list-style: none;
}
.chs-cat-sidebar { 
    position: relative; 
    width: 100%; 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 15px 15px 0 0; 
    padding: 25px; 
    font-family: inherit; 
}
.chs-cat-heading { 
    margin: 0;
    padding: 0; 
    text-transform: uppercase;
    font-size: 16px; 
    font-weight: 600; 
    color: #222; 
}
.title-row {
    padding: 0 25px 10px 0;
    display: flex;
    align-items: center; 
    gap: 15px;
    border-bottom: 1px solid #F0F0F0;
}

.title-row i {
    font-size: 20px;
    flex-shrink: 0; 
}

.chs-cat-level {  
    margin: 0!important;
    min-width: 225px;
    /*white-space: nowrap;*/
}
.chs-cat-item { 
    position: relative; 
    margin: 2px 0 0; 
    /*padding-right: 15px;*/
    border-bottom: 1px solid #F0F0F0;
}
.chs-cat-item > a { 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    padding:8px 0 10px 8px; 
    color:#575757!important; 
    text-decoration:none; 
    border-left:5px solid transparent; 
    border-radius:4px; 
    transition: all .18s ease; 
}
.chs-cat-item > a:hover { 
    color: #222b64!important;
    background:#f2f2f2; 
    border-left-color:#ff7a00; 
}
.chs-cat-title { 
    font-weight:600;
    font-size: 14px;
    padding-right: 10px 
}
.chs-cat-arrow { 
    color: #999; 
    font-size: 20px; 
    font-weight: 600; 
    margin-left: 5px; 
    margin-right: 10px;
    transition: transform .18s ease; 
}
.chs-cat-item:hover > a .chs-cat-arrow { 
    transform: translateX(5px); 
    color:#ff7a00; 
}

/* Sous-menu */
.chs-cat-item.has-children > ul.chs-cat-level {
    position: absolute; 
    top: 0; 
    left: 105%; 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08); 
    opacity: 0; 
    visibility: hidden; 
    transform: translateX(10px);
    transition: all .3s ease; z-index: 60;
}
.chs-cat-item.has-children:hover > ul.chs-cat-level { 
    opacity:1; 
    visibility:visible; 
    transform: translateX(0); 
}

/* Ajustements pour les sous-niveaux (déplacement vers la droite) */
.chs-cat-item.has-children > ul.chs-cat-level .chs-cat-item.has-children > ul.chs-cat-level { 
    left: 100%; 
    top: 0; 
}

.home-features-container {
	flex-basis:20%;
}
.home-features {
    display: flex;
    gap: 15px;
    align-items:bottom; 
    justify-content: center;
    background: #fff;
    color: #222B64;
    font-weight: 600;
    padding: 15px;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
}
.home-features i {
    font-size: 50px;
    color: #ED4D0A;
}
.home-features p {
	margin-bottom: 0;
}

.product-pdf-sheet-btn {
    background: #ED4D0A;
    color: #fff;
    font-weight: 600;
    padding: 10px;
    width: auto;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}
.product-pdf-sheet-btn:hover {
    color: #fff;
}

/* HEADER */
.inline-header .branding img,
.logo-box img {
    width: auto;
    height: 44px!important;
}

/* PIED DE PAGE */
.clean-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-icon-list li {
    margin-bottom: 12px;
}

.clean-icon-list a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.clean-icon-list .icon {
    width: 18px;
    fill: #fd6816;
    margin-right: 15px;
}
.social-icon svg {
    width: 24px;
    fill: #fff;
    margin: 5px;
	vertical-align: center;
}
.social-icon:hover svg {
	fill: #fd6816;
}

/* HOME PAGE */
/* WhatsApp icon Top Bar */
.icomoon-the7-font-whatsapp {
	color: green!important;	
}

/* TP SUITCHER */
.trp-shortcode-switcher__wrapper {
    height: 24px!important;
    font-size: 14px!important;
    margin-top: -5px!important;
}
.trp-language-item-name {
    font-weight: 600!important;
}
.trp-language-switcher {
    padding: 0!important;
    z-index: 99!important;
}

/* HIDE PRODUCT PAGE SIDE BAR */
.sidebar-right .wf-container-main {
	grid-template-columns: 100% 100%;
}

/* CART PAGE */
.woocommerce-cart-form {
    background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 5px;
	padding: 25px 25px 25px;
    margin-bottom: 25px;
}
.wc-block-components-totals-coupon__content button {
	width: 50%;
	max-height: 50px;
	border: 0;
	border-radius: 4px;
	padding: 12px 8px 10px;
	color: #fff;
	background: #fd6816;
}
.wc-block-cart__submit-container a {
	text-decoration: none;	
}
.wc-block-cart__submit-container .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button {
	width: 100%;
	border: 0;
	border-radius: 4px;
	padding: 12px 8px 10px;
	color: #fff;
	background: #fd6816;
	font-weight: 600;
}
.cart-collaterals {
    border: 1px solid #e2e2e2;
	border-radius: 5px;
}

/* Panier latéral */
.side-cart-header {
    background: #fd6816;
    margin: -20px -20px 20px;
    padding: 25px 40px 15px;
}
.side-cart-header h3 {
    color: #fff!important;
    font-size: 24px;
    font-weight: 600;
}
.shopping-cart-inner {
    position: fixed;
    right: 0;
    top: 0;
    width: 380px; /* à adapter */
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column; 
    border-left: 1px solid #ddd;
    z-index: 9999999999;
}
.shopping-cart-inner .product_list_widget {
	flex: 1;              
	overflow-y: auto;
	padding: 20px;
}
.shopping-cart-inner .shopping-cart-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    flex-shrink: 0;        /* <-- ne bouge JAMAIS */
}
.shopping-cart-inner .buttons {
    display: flex;
    justify-content: center; /* centre horizontalement */
    gap: 10px;  
}
.buttons.top-position {
    display: none!important;
}

/* CHEKOUT PAGE */
.wc-coupon-wrap {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 5px;
	padding: 25px 25px 25px;
	margin-bottom: 25px;
}
.the7-woocommerce-checkout #customer_details {
    background: #fff;
    border: 1px solid #e2e2e2;
	border-radius: 5px;
    padding: 25px 25px 25px;
    margin-bottom: 25px;
}
.wc-order-review {
    border: 1px solid #e2e2e2;
	border-radius: 5px;
}
.wc-complete-wrap .wc-wide-column {
	background: #fff;
    border: 1px solid #e2e2e2;
	border-radius: 5px;
    padding: 25px 25px 25px;
    margin-bottom: 25px;
}

/* SHOP PAGE */
.wc-block-product-filters__overlay-content {
    background: #fff!important;
	border: 1px solid #e2e2e2;
	border-radius: 5px;
	padding: 25px 25px 25px!important;
	width: 100!important;
}
.wc-block-product-filter-checkbox-list__text-wrapper {
    font-size: 14px;
}
.woocommerce-products-header {
    display: none;
}
.wc-cat-desc-bottom {
    background: #fff;
    color: #333333;
    margin-top: 100px;
    margin-bottom: -70px;
    padding: 50px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 34px;
}
.dt-products .onsale,
.single-product .onsale {
	display: none;
}

/* CORRECTION WOOCOMMERCE */
.woocom-list-content .price ins * {
	white-space: nowrap;
}
.woocommerce div.product div.images img {
	background: #fff;
}

/* PRODUCT PAGE */
.product {
    background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 5px;
	padding: 25px 25px 25px;
}

/* BOILER APP BANNER */
.energical-boiler-app-banner {
    display: flex;
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
    margin: 60px 25px 0;
}
.energical-boiler-app-banner img {
    max-width: 100%; 
    height: auto;
    display: block;  
    border-radius: 8px;
}

/* CORRECTION MOBILE */
.mobile-main-nav .subtitle-text {
    display: none;
}

/* DOWNLOAD PAGE */
.download-page {
	background: #fff;
	padding: 25px;
	text-align: center;
}
.download-page img {
	border-radius: 5px;
	border: 1px solid #e2e2e2;
}
.download-title {
	font-size: 15px;
	padding: 8px 12px 6px;
	margin-bottom: 25px!important;
}
.download-page .wp-element-button {
	padding: 8px 12px 6px;
	border-radius: 5px;
	background: #fd6816;
	color: #fff;
	font-size: 15px;
}
.download-page .wp-element-button:hover {
	background: orange;
}

/* CONTACT PAGE */
.contact-box {
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	padding-bottom: 25px
}
.contact-box i {
	color: #fd6816;
}
.contact-container {
	margin: 50px 0 50px; 
	padding: 25px;
	border-radius: 10px;
}
body.rtl img.contact-img {
	rotate: y -180deg;
}

/* ACCOUNT PAGE */
.woocommerce-MyAccount-content {
	width: calc(70% - 50px)!important;
	background: #fff;
	padding: 20px
}

/* LOGO MOBILE */
.mobile-branding img {
	height: auto!important;
	width: auto;
}

/* CONTENU DES PAGES DE TEXTE */
.content-text-page {
	background: #fff;
	padding: 25px;
	border-radius: 5px;
}

@media (max-width: 1160px) {
	
    .home-features {
        flex-direction: column;
        text-align: center;
		white-space: nowrap;
    }
}


/* TABLET ALL */
@media (max-width: 1024px) {
	
    .chs-cat-sidebar,
	.categories-menu-container {
		display:none;
	}
	.slide-banners-container {
		flex-basis:100%;
	}
}


/* MOBILE ALL */
@media (max-width: 768px) {
	
	.chs-banners {
		margin: 20px 0 0;
	}
	.cat-featured-row {
        flex-direction: column;
		gap: 0;
		padding: 5px;
    }
    .cat-featured-image-wrapper,
    .cat-featured-products {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .cat-featured-image-wrapper img {
        display: none;
    }
    .cat-featured-products {
        margin-top: 0;
    }
    .discover-cat-btn {
        display: none;
    }
	.wc-cat-title {
		margin-bottom: 0;
	}
	
    .chs-banners {
        flex-direction: column;
        gap: 15px;
    }
    .chs-banner-item {
        flex: 1 1 100%;
    }
	
	.wc-cat-desc-bottom {
        margin-top: 25px;
        margin-bottom: -25px;
        padding: 25px;
        text-align: left;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
    }
	
	.product {
		padding: 5px 5px 15px;
	}
	.dt-css-grid {
		grid-column-gap: 5px!important;
        grid-row-gap: 5px!important;
	}
}


/* RTL - LANGUE ARABE */
/* accueil */
.rtl .categories-menu-container {
	margin-right: 0!important;
	margin-left: 5%;
}
.rtl .cat-featured-image-wrapper {
    text-align: right;
}

.rtl .wc-cat-title {
    border-right: 5px solid #fd6816;
    border-left: none;
    padding-right: 10px;
    padding-left: 0;
}

.rtl .discover-cat-btn {
    float: left;
}

.rtl .title-row {
    padding: 0 0 10px 25px; 
}

.rtl .chs-cat-item > a {
    border-right: 5px solid transparent;
    border-left: none;
    padding-right: 8px;
    padding-left: 0;
    justify-content: space-between; 
}

.rtl .chs-cat-item > a:hover {
    border-right-color: #ff7a00;
    border-left-color: transparent;
}

.rtl .chs-cat-arrow {
    margin-right: 5px;
    margin-left: 10px;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
}

.rtl .chs-cat-item:hover > a .chs-cat-arrow {
    transform: translateX(5px);
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
}

.rtl .chs-cat-item.has-children > ul.chs-cat-level {
    left: auto;
    right: 105%;
    transform: translateX(-10px);
}

.rtl .chs-cat-item.has-children > ul.chs-cat-level .chs-cat-item.has-children > ul.chs-cat-level {
    right: 100%;
    left: auto;
}

.rtl .shopping-cart-inner {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid #ddd;
}

.rtl .clean-icon-list .icon {
    margin-left: 15px;
    margin-right: 0;
}

.rtl .social-icon svg {
    margin: 5px;
}

.rtl .wc-cat-desc-bottom {
    text-align: right; 
}
body.rtl .wc-img-hover .woo-buttons-on-img img.back-image {
	transform: translate(0%, 50%);
}
body.rtl .wc-img-hover .woo-buttons-on-img:hover img.back-image {
	right: 0;
	left: 0;
	transform: translate(0%, -50%);
}

@media (max-width: 1160px) {
    .rtl .home-features {
        flex-direction: column;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .rtl .wc-cat-desc-bottom {
        text-align: right;
    }
}

/* main menu & topbar */
body.rtl .trp-current-language-item__wrapper {
	padding-right: 0;
	padding-left: 10px;
}
body.rtl .mini-login a i {
	margin-left: 10px;
}
body.rtl .masthead:not(.side-header).dividers .main-nav > li:before {
	right: 5px;
	left: auto;
}
body.rtl .masthead:not(.side-header).dividers .main-nav > li:last-child {
	padding-right: 15px;
}
body.rtl ul.sub-nav {
	left: auto;
	right: 0;
}
.rtl .masthead:not(.sub-downwards) .sub-nav li.has-children a:after {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
}
body.rtl .mini-search .search-icon {
	right: auto;
	left: 12px;
}
body.rtl .main-nav .sub-nav > .menu-item > a i {
	margin-right: 0;
	margin-left: 15px;
}

/* Breadcrumb */
body.rtl .breadcrumbs li:before {
	left: auto;
	right: -20px;
}
body.rtl .breadcrumbs li:first-child {
	margin-left: 20px;
}
body.rtl .breadcrumbs li {
	margin-left: 10px;
}

/* page boutique */
body.rtl .view-mode-switcher>a:first-child {
	border-right: 1px solid #e2e2e2!important;
	border-left: 1px solid #cacaca!important;
}
body.rtl .nav-next,
body.rtl .nav-prev {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
}

/* page produit */
body.rtl.single-product div.summary > .price:after {
	left: auto;
	right: 0;
}
body.rtl.single-product form.cart div.quantity {
	float: right;
}
body.rtl.single-product form.cart .button {
	float: right;
	margin-right: 10px;
}
body.rtl.single-product .woocommerce-tabs .tabs li {
	float: right;
}
body.rtl.single-product .woocommerce-tabs .tabs li:first-child {
	margin-left: 40px;
	margin-right: 0;
}

/* page panier & checkout*/
body.rtl .woocommerce-cart-wrap .cart.shop_table th {
	text-align: center!important;
	left: auto;
	right: 10px;
}
body.rtl .woocommerce-cart-wrap .cart.shop_table td {
    padding: 25px 25px 10px 0;
}
body.rtl .woocommerce-cart-wrap .cart-collaterals th,
body.rtl .woocommerce-cart-wrap .cart-collaterals tr,
body.rtl #shipping_method,
body.rtl .woocommerce-shipping-destination,
body.rtl .woocommerce-shipping-calculator {
	text-align: right!important;
}
body.rtl #shipping_method li .shipping_method {
    margin: 0 5px 0!important;
}
body.rtl .select2-selection__arrow b {
    margin-left: 10px!important;
}


