/*
Theme Name: iqra
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.tooltipster-content {
    display: none;
}
.tooltipster-base {
    display: none;
}
.tooltipster {
    display: none;
}
.copyright-footer {
	color:#000 !important;
}
.payment-icons {
  display: inline-block;
  width: 330px;
}

.footer {
  padding-top: 80px;
  padding-bottom: 40px;
}
.widget > ul > li + li, ul.menu > li + li {
  border-top: 1px solid #fff;
}

/*.product-gallery-slider img{
  width: 50%;
}
.box-image img {
  margin: 0 auto;
  max-width: 50%;
  width: 50%;
  height: 50%;
}*/


        .product-small .box-image .image-fade_in_back {height: 230px; width: auto; }
        .product-small .box-image .image-fade_in_back img {max-width: calc(100%); max-height: calc(100%); width: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
        .product-small .box-image .image-fade_in_back {height: 230px; width: auto; }
        .product-small .quick-view {display: none !important; }
        .product-small.box:hover {border: 1px solid #dfdfdf !important; padding: 20px; border-radius: 5px; top: -10px; box-shadow: 5px 5px 5px #efefef; }
        .has-hover:hover .image-fade_in_back a img:first-child{ transform: scale(1.1) translate(-50%,-50%); }
        .has-hover:hover .image-fade_in_back a img:nth-child(2){ opacity: 0 !important; }
        /*.has-hover:hover .image-fade_in_back a img:first-child{ opacity: 0; }*/
        /*.has-hover img.show-on-hover{ height: auto !important; width: auto !important; }*/
        /*.has-hover:hover img.show-on-hover,.has-hover:hover .image-fade_in_back a img:last-child{opacity: 1; transform: translate(-50%,-50%) !important;  }*/
        .product-small .product-title a {display: inline-block; color: #000; font-weight: bold; margin-top: 6px; margin-bottom: 6px; }
        .product-small p.category {     color: #8a8b8f; margin-bottom: 5px; margin-top: 20px; font-size: 12px; font-weight: bold; opacity: 1; margin-bottom: 10px;}
        p.name.product-title.woocommerce-loop-product__title {font-weight: bold; text-transform: uppercase; margin-bottom: 10px; font-size: 16px; color: #000000;     height: 70px; }




      .product-small.box {border: 1px solid #dfdfdf !important; padding: 20px; border-radius: 5px; position: relative; top: 0; transition: top ease 0.5s; }

/*        @media screen and (max-width: 767px){
            .product-small .box-image .image-fade_in_back {height: 140px; width: auto; }
        }

.single-product .woocommerce-product-gallery {width: 570px; height: 570px; position: relative; border: 1px solid #dadada; border-radius: 5px; }
		.single-product .woocommerce-product-gallery figure { height:100%; }
		.single-product  .woocommerce-product-gallery__image.slide{ height:100% !important; width:100% !important; }
		.single-product .woocommerce-product-gallery__wrapper .wp-post-image {position: absolute; left: 50%; top: 50%;     width: auto; transform: translate(-50%,-50%); max-width: calc(100% - 30px); max-height: calc(100% - 30px); }



@media screen and (max-width: 767px){
			
			.single-product .woocommerce-product-gallery {width: 100%; height: 360px; }
		} 
*/

.livraison_page_product {
  background: #FFFFFF;
  border: 1px solid #dadada; border-radius: 5px;
  padding: 22px 40px;
  margin-top: 50px;
}
.livraison_page_product h3 {

  font-size: 14px;
  line-height: 115.5%;
  color: #000;
  margin-bottom: 20px;
}
.livraison_page_product p {
  font-weight: 500;
  font-size: 13px;
  line-height: 115.5%;
  color: #2B292B;
   margin-top: 10px;		
  margin-bottom: 0;
}
.livraison_page_product img {
  margin-top: 15px;
}


.nav-small .nav > li > a, .nav.nav-small > li > a {
  color: #000;
}
.social-icons {
  color: #000;
}


.ciq {
  text-align: left;
  border: 1px solid #e7e7e7;
  padding: 10px;
  border-radius: 5px;
}
.ciq:hover {
  text-align: left;
  border: 1px solid #e7e7e7;
  padding: 10px;
  border-radius: 5px;
  background-color:#f5f5f5;	
}
.icon-custom-hp {
  
  padding: 0 15px 15px !important;
  
}

.section-title-normal {
  border-bottom: 2px solid #fff;
}
.section-title-normal span {
  border-bottom: 2px solid #fff;
  margin-bottom: -2px;
  margin-right: 15px;
  padding-bottom: 7.5px;
}

.custom-shipping-method {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.shipping-logo {
    margin-right: 10px;
}

.shipping-logo-img {
    max-width: 32px;
    vertical-align: middle;
}

.shipping-info {
    display: flex;
    flex-direction: column;
}

.shipping-title {
    font-weight: bold;
}

.shipping-price {
    font-size: 0.9em;
    color: #666;
    margin-top: 2px;
}
.custom-shipping-method .shipping-logo img {
    width: 50px !important;
    height: auto !important;
    max-width: unset !important; /* Assurez-vous que toute limite de max-width soit retirée */
}
.includes_tax {
    display:none;
}
.shipping-price.free-shipping {
    font-weight: bold;
    color: green;
}



/* Logo principal */
body.dark-mode .header_logo,
body[data-wp-dark-mode-active] .header_logo,
.wp-dark-mode-active .header_logo {
  content: url('https://www.iqrabelgium.be/wp-content/uploads/2025/08/logo_hd_iqra_dark.png') !important;
}

/* Logo dans le widget texte */
body.dark-mode .textwidget img,
body[data-wp-dark-mode-active] .textwidget img,
.wp-dark-mode-active .textwidget img {
  content: url('https://www.iqrabelgium.be/wp-content/uploads/2025/08/logo_hd_iqra_dark.png') !important;
}

/* Supprimer l'effet mix-blend-mode en mode sombre */
/*body.dark-mode .product-small .box-image .image-fade_in_back img,
body[data-wp-dark-mode-active] .product-small .box-image .image-fade_in_back img,
.wp-dark-mode-active .product-small .box-image .image-fade_in_back img {
  mix-blend-mode: normal !important;
}*/


body.dark-mode .product-small .box-image .image-fade_in_back,
body[data-wp-dark-mode-active] .product-small .box-image .image-fade_in_back,
.wp-dark-mode-active .product-small .box-image .image-fade_in_back {
  background-color: transparent !important;
}

body.dark-mode .product-small .box-image .image-fade_in_back img,
body[data-wp-dark-mode-active] .product-small .box-image .image-fade_in_back img,
.wp-dark-mode-active .product-small .box-image .image-fade_in_back img {
  mix-blend-mode: darken !important;
  background: transparent !important;
}





.single-post-custom {
    background-color: #fff;
    padding: 30px 0;
}

/* Fil d'Ariane */
.breadcrumb-custom {
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-custom a {
    color: #333;
    text-decoration: none;
}

.breadcrumb-custom a:hover {
    color: #000;
}

/* En-tête de l'article */
.post-header-container {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 30px;
    margin-bottom: 40px;
}

.post-featured-image {
    width: 100%;
    height: 100%;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.2;
}
.single-post .post-title {
    font-size: 2.5em;
}
.post-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.2;
}

.post-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Zone de contenu */
.post-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.post-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Sidebar */
.sticky-sidebar {
    top: 100px;
    height: fit-content;
    padding-right: 20px;
    background: #fff;
    transition: all 0.3s ease;
}

.sticky-sidebar.sticky-activated {
    position: sticky;
}

.sticky-sidebar.offset-active {
    margin-top: -60px;
}

/* Table des matières */
.iqrabelgium-toc {
    background: #fff;
    margin-bottom: 30px;
    border: 1px solid #333;
    padding: 20px;
}

.iqrabelgium-toc .toc-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iqrabelgium-toc .toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.iqrabelgium-toc .toc-list li {
    margin-bottom: 12px;
    line-height: 1.3;
}

.iqrabelgium-toc .toc-list a {
    display: flex;
    align-items: baseline;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.iqrabelgium-toc .toc-number {
    min-width: 20px;
    margin-right: 8px;
    color: #333;
}


/* Boutons de partage */
.social-share {
    margin-top: 40px;
    padding-top: 30px;
    /*border-top: 1px solid #fff;*/
   border-top: transparent !important;
}

/* Responsive */
@media (max-width: 768px) {
    .post-header-container,
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }

    .sticky-sidebar {
        position: relative !important;
        top: 0;
        margin-top: 0 !important;
        order: 2;
    }

    .post-content {
        order: 1;
    }
	
	    .post-content .iqrabelgium-toc {
        display: none;
    }
    
    /* Si vous voulez aussi cacher la TOC dans la sidebar en mobile */
    .sticky-sidebar .iqrabelgium-toc {
        display: none;
    }
}
.blog .post-title,
.archive.category .post-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.2;
}


/* Style des listes avec points */
.post-content ul {
    list-style: none !important;
    padding-left: 20px !important;
    margin: 15px 0 !important;
}

.post-content ul li {
    position: relative !important;
    margin-bottom: 10px !important;
    padding-left: 25px !important;
    line-height: 1.6 !important;
}

.post-content ul li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

.icon-angle-down {
    color: white;
}



.section-title-normal {
  border-bottom: 0px solid #fff;
}


.section-title-normal span {
  border-bottom: 0px solid #fff;

}
