/*!
Theme Name: Floens Child theme
Theme URI: https://bracketweb.com/floenswp/
Template: floens
Author: Layerdrops
Author URI: https://themeforest.net/user/layerdrops
Description: This is a Child theme for Floens WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: floens-child
*/
.relative{
    position: relative;
}

.space-sm{
    height: 15px;
}

ul{
  padding-left: 0;
}

p{
  line-height: 1.35;
}

p strong{
  color: #444;
}

.elementor-widget-text-editor ul li p{
    margin-bottom: 0;
}

/* // colors */

.topbar-one,
.product-home,
.services-one{
  background-color: #021B2A ;
}

.preloader {
    background-color: var(--floens-base, #C7844F);
}
.about-three{
  position: relative;
  background-color: #f2eeea;
}

/* HEADER */

.main-header--one{
  width: 100%;
}
.main-header__right{
  padding-right: 15px;
}
.main-header .icon-grid,
.main-header__cart{
    display: none;
}

.main-header .container-fluid{
    padding-top: 15px;
    padding-bottom: 15px;
}

/* burger-menu et mobile navigation */
.main-header__sidebar-btn.sidebar-btn__toggler{
  display: none;
}

.mobile-nav__content{
  background-color: white;
}

.mobile-nav__content .main-menu__list li > a,
.mobile-nav__contact li{
  color: #021B2A;
}

/* SLIDER */

.main-slider__carousel{
    width: 95% !important;
}

.main-slider__right{
  max-width: 630px;
  margin-left: auto;
}

.main-slider__scroll-btn{
  pointer-events: none;
}

/* SERVICES */

.service-card:hover strong{
    color: white;
}
.service-card-two svg{
    width: 50px;
    max-height: 50px;
    stroke: var(--floens-base, #C7844F);
    stroke-width: 14px;
    transition: all .3s ease-in-out;
}
.service-card-two svg *{
    stroke: inherit;
    stroke-width: inherit;
}
.service-card-two:hover svg{
    stroke: white;
}

.service-card__icon svg polygon,
.service-card__icon svg path,
.service-card__icon svg line{
  stroke: var(--floens-base2, #C7844F) !important;
  stroke-width: 14px;
}

.service-details p,
.elementor-widget-text-editor ul li:last-child{
    margin-bottom: 1rem;
}
.elementor-widget-text-editor ul{
    margin-left: 1.5rem;
}
.sticky{
    position: sticky !important;
    top: 10px;
    left: 0;
}

/* ACCUEIL /OFFERS / projects / PRODUCTS */
.floens-btn.base,
.offer-one .floens-btn{
  padding-right: 20px;
}

.floens-btn.center{
    margin: 0 auto;
    display: table;
}

.projects-one .project-card__link,
.projects-one .project-card__tagline{
  display: none;
}
.projects-one .project-card__links__inner{
  background-color: var(--floens-base);
}
.projects-one .project-card__links__inner a{
  color: white !important;
}

.product-home{
  padding-bottom: 80px;
}

/* PAGES */

.page-header__title,
.menu-item a{
    text-transform: none !important;
}



/* page maçonnerie */
img.service-details__info__image{
    height: 100%;
    width: 42%;
    object-fit: cover;
    object-position: right;
}

/* Entreprise */

.entreprise-intro .reliable-one__ratings,
.entreprise-intro .reliable-one__info__icon{
    display: none;
}
.reliable-one__info__title{
    margin-left: 0;
}

/* page produits */
.page-id-4280 .service-card-two__icon{
  opacity: 0;
  pointer-events: none;
}

.product__all-content{
  padding-bottom: 15px;
}
.product__item__title,
.product__all-price{
  padding: 0 5px;
}

.woocommerce-Price-amount,
.products .product .product__all-price .price{
  font-size: .85rem;
  color: var(--floens-base2);
  padding-bottom: 15px;
}

.product__item__price,
.woocommerce-Price-amount{
  padding-bottom: 0;
  margin-bottom: 0;
}

.product__add-to-cart{
  display: block;
  width: 100%;
}

/* produit single */
.product-details.news-sidebar{
  padding-top: 30px;
}


.product-details__title .price{
  margin: 15px 0;
  display: inline-block;
}
.product__card .entry-summary{
  margin-top: 0px;
}
.single-product form.cart{
  display: none;
}

/* Galerie Woocommerce ======================================== */
/* Empêche la hauteur auto démesurée */
.woocommerce-product-gallery__image {
  position: relative;
  /* width: 100% !important; */
  height: 450px; /* tu peux ajuster cette valeur */
  overflow: hidden;
}


/* Image parfaitement positionnée en cover */
.woocommerce-product-gallery__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% ;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-details__description__title{
  display: none;
}

/* ===== MINIATURES ===== */

.flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}

.flex-control-thumbs li {
  width: 80px;
  height: 80px;
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.flex-control-thumbs li .flex-active {
  border-color: #1d4ed8;
}

/* Tableaux responsive ==================================================*/

table {
    line-height: 1.33rem;
    border-collapse: collapse;
}
table tr {
    border-top: 2px solid #e5e7eb; /* équivalent de border-gray-200 */
    border-bottom: 2px solid #e5e7eb;
}
table tr:nth-child(even) {
    background-color: #f9fafb; /* bg-gray-50 */
}
table th,
table td {
    padding-top: 0.75rem; /* py-3 = 12px */
    padding-bottom: 0.75rem;
    padding-left: 0.75rem;  /* px-3 = 12px */
    padding-right: 0.75rem;
}

/* Table responsive container */
.table-responsive {
    position: relative;
}
.table-responsive::before,
.table-responsive::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0.75rem; /* w-3 = 12px */
    height: 100%;
    z-index: 10;
    mix-blend-mode: darken;
    transition: all 0.7s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.table-responsive::before {
    left: 0;
    background: linear-gradient(to right, #d1d5db, transparent); /* from-gray-300 */
}

.table-responsive::after {
    right: 0;
    background: linear-gradient(to right, transparent, #d1d5db); /* to-gray-300 */
}

.table-responsive.shadow-left::before {
    opacity: 1;
}

.table-responsive.shadow-right::after {
    opacity: 1;
}

.table-responsive__wrap {
    overflow-x: auto;
}


/* Contact */
/* page parquet */
.page-id-2547 .contact-one__info__image{
    width: 217px;
}
.contact-one__image-one{
  max-height: 350px;
  object-fit: cover;
}
.contact-one__image-two{
  max-height: 500px;
  object-fit: cover;
}

.contact-one .form-one .wpcf7-tel{
  display: block;
  width: 100%;
  color: var(--floens-text, #7A736A);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  border: none;
  outline: none;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--floens-border-color, #DED8D3);
  transition: all 300ms ease;
  padding-top: 0px;
  margin-bottom: 0px;
  padding-left: 0px;
}

/* FOOTER */

.footer-widget__newsletter{
    display: none;
}

@media (max-width: 991px) {
    .main-header .container-fluid{
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/* // CATALOGUE MEENU SIDEBAR DES CATEGORIES */

.shop-one.product.news-sidebar{
  padding-top: 30px;
}
.shop-one, .product__item{
    background: #f1f1f1;
}
.product__all-content{
    background-color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Widget principal */
#block-15 {
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
}
.page-header {
    display: none;
}

/* Liste de catégories */
.wc-block-product-categories-list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

/* Élément de catégorie */
.wc-block-product-categories-list-item {
  margin-bottom: 0.3rem;
  position: relative;
}

/* Lien de catégorie + compteur */
.wc-block-product-categories-list-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  color: black !important;
  font-size: 0.95rem;
  background-color: #f1f1f1;
  transition: all 0.3s ease;
}

/* supprimer les counts*/
.wc-block-product-categories-list-item-count {

  display: none;
}


/* Sous-catégories */
.wc-block-product-categories-list--depth-1 {
  margin-top: 0.2rem;
  margin-left: 0.5rem;
  /* border-left: 2px solid #e0e0e0; */
  padding-left: 0.8rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

/* Sous-catégorie style */
.wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item > a {
  background-color: white;
  font-size: 0.9rem;
  color: #444 !important;

}

/* Hover / active */
.wc-block-product-categories-list-item > a:hover,
.wc-block-product-categories-list-item > a.active {
  background-color: #009fe2 !important;
  color: white !important;
}


.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item a:first-child{
  /* border-left: 2px solid #e0e0e0; */
  position: relative;
} 
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a:first-child:after{
    content: '';
    width: 3px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    background-color: #009fe2 ;
    transform: translateY(-50%);
}

/* .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item:first-child > a {
  margin-top: 5px;
}  */
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item{
  margin-top: 5px !important;
} 

/* Responsive */
@media (max-width: 768px) {
  #block-15 {
    padding: 1rem;
  }

  .wc-block-product-categories-list-item > a {
    font-size: 1rem;
  }

  .wc-block-product-categories-list--depth-1 {
    margin-left: 0.3rem;
    padding-left: 0.6rem;
  }
}
