/*
Theme Name:  LabtechCO Child Theme
Description: Child theme for the LabtechCO theme
Author:      ThemeStek
Author URI:  http://themeforest.net/user/themestek
Template:    labtechco
Version:     0.1
Tags:        light, white, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, responsive, retina
*/


/* NOTE: Main theme's style.css file is already added in head tag. /*

/* =Theme customization starts here
-------------------------------------------------------------- */


@media (min-width: 1201px) {
    .ts-headerstyle-1.ts-slider-yes #ts-home {
        border-top: 876px solid #1c3a60;    }
}


.woocommerce div.product div.images img {
    max-width: 300px;}



.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
    width: 100%;
    height:140px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    display: block;
}


.featured-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 60px auto;
}

.featured-category-box {
  background-color: #fff;
  width: 260px;
  padding: 25px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.featured-category-box:hover {
  transform: translateY(-5px);
}

.featured-cat-image {
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto 20px;
}

.featured-cat-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #002b61;
  text-transform: uppercase;
}

.featured-cat-button a {
  font-size: 14px;
  color: #002b61;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.featured-cat-button a:hover {
  color: #004a9f;
}

.ts-ihbox-wrapper-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.ts-ihbox-wrapper-grid .ts-ihbox {
  width: calc(25% - 30px); /* 4 par ligne avec espace */
  min-width: 265px;
  box-sizing: border-box;
}

.ts-ihbox-style-1 .ts-ihbox-icon-wrapper {
   display: flex;
    justify-content: center;
    align-items: center;}

.elementor-image-gallery .gallery-item {
      vertical-align: middle;}

.sku_wrapper {
     display:none;}


/* ----- Snowhouse Popular Products ----- */
.sh-popular-products {
  list-style: none;         /* retire les puces */
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.sh-popular-products .sh-pp-item {
  display: flex;
  align-items: center;  /* centre verticalement image + texte */
  gap: 18px;
padding: 8px;
	height: 110px;
    background: #fff;
}


.sh-popular-products .sh-pp-thumb {
  display: block;
  flex: 0 0 90px;           /* largeur fixe de la colonne image */
}

.sh-popular-products .sh-pp-img {
    height: 90px;
    width: auto;
  object-fit: contain;
  display: block;
}



.sh-popular-products .sh-pp-title a {
  text-decoration: none;
}

.sh-popular-products .sh-pp-excerpt {
  margin: 0;
  color: #444;
  font-size: .95rem;
}




/* Le conteneur titre en bloc pour que la marge fonctionne */
span.custom {
display: block;
margin:5px;
}

.sh-pp-content p {
  display: inline-block;
  margin-top: 1px;
}

/* Style du lien (police, poids, taille, couleur) */
span.custom a {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #031b4e;
  text-decoration: none;
}


@media (max-width: 640px) {
  .sh-popular-products .sh-pp-item { gap: 12px; }
  .sh-popular-products .sh-pp-thumb { flex-basis: 72px; }
  .sh-popular-products .sh-pp-img { width: 72px; max-width: 72px; }
}


/* Réduction de 50 % des images des produits associés */
.related.products ul.products li.product img.attachment-woocommerce_thumbnail {
    width: 50%;
    display: block;
    margin: 0 auto; /* centre l'image horizontalement */
}

.woocommerce div.product div.images img {
    max-height: 250px;
    width: auto;}
.woocommerce div.product div.images {
    text-align: center;
}
.woocommerce div.product div.images img {
    margin: 0 auto;
    display: inline-block;
}

/* Cible uniquement le titre "Description" de l'onglet produit WooCommerce */
#tab-description h2 {
    display: none;
}


.woocommerce div.product .woocommerce-tabs .panel {
    color: #1c3a60;}

/* Ajuste uniquement la short description en h4 sur la fiche produit */
.woocommerce div.product .product-short-description {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}


/* Masque les H4 short description vides */
.woocommerce-product-details__short-description:empty {
    display: none !important;
}


span.yith-wcwl-add-to-wishlist-button__label {
    font-size: 15px;
}

.dashicons, .dashicons-before:before {
  
    width: 33px!important;
    height: 37px!important;
    font-size: 33px!important;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
}

/* ===== Quote Request Form ===== */
.qr-wrapper {
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.qr-wrapper h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #1e6ba5; /* ta couleur RéservPro */
    padding-bottom: 6px;
}

.qr-wrapper table.shop_table {
    margin-bottom: 20px;
    border: none;
}

.qr-wrapper table.shop_table th,
.qr-wrapper table.shop_table td {
    border: none;
    padding: 8px 10px;
}

.qr-wrapper table.shop_table thead {
    background: #1e6ba5; /* bleu principal */
    color: #fff;
}

.qr-form p {
    margin-bottom: 15px;
}

.qr-form label {
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.qr-form input[type="text"],
.qr-form input[type="email"],
.qr-form textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.qr-form input[type="text"]:focus,
.qr-form input[type="email"]:focus,
.qr-form textarea:focus {
    border-color: #1e6ba5;
    outline: none;
}

.qr-form button.button {
    background: var(--tste-labtechco-skincolor);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.qr-form button.button:hover {
    background: var(--tste-labtechco-skincolor-dark);
}

a.contact-link {
    color: #031b4e;
}

.price {
    display:none;
}

.woocommerce-product-gallery__image {
    margin-top: 50px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: transparent;
	}
	
	
	/* Logo centré au-dessus de la barre FiboSearch (overlay du thème) */
.ts-search-overlay .dgwt-wcas-search-wrapp{
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 16px;               /* espace entre le logo et la barre */
  padding-top: 20px;
}

.ts-search-overlay .dgwt-wcas-search-wrapp::before{
  content: "";
  display: block;
  width: min(260px, 45vw); /* s’adapte à l’écran */
  height: 64px;
  background-image: url("https://dev.snowhouse.ca/wp-content/uploads/2025/07/SnowHouse-Logo-white.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* La barre conserve toute la largeur disponible du wrapper */
.ts-search-overlay .dgwt-wcas-search-wrapp .dgwt-wcas-search-form{
  width: 100%;
}

@media (max-width:768px){
  .ts-search-overlay .dgwt-wcas-search-wrapp::before{
    height: 48px;
    width: 200px;
  }
}

[class^="ti-"], [class*=" ti-"] {
    font-size: 20px;
    color: #031b4e;}


/* Icône PDF (SVG colorisable) */
.icon-pdf{
  /* chemin de ton SVG */
  --pdf-icon: url('https://dev.snowhouse.ca/wp-content/uploads/2025/08/file-pdf-svgrepo-com.svg');

  display:inline-block;
  width:28px;          /* même gabarit que le dashicon */
  height:28px;
  margin-right:8px;
  vertical-align:-7px;

  /* Couleur de l'icône (hérite du texte) */
  color:#c00;          /* tu peux changer/retirer pour hériter du <a> */

  /* Technique du mask pour coloriser un SVG externe */
  background-color: currentColor;
  -webkit-mask-image: var(--pdf-icon);
  mask-image: var(--pdf-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Optionnel : au survol, foncer un peu */
a:hover .icon-pdf { opacity: .85; }

/* Fallback très basique si mask non supporté (couleur non modifiable) */
.no-mask .icon-pdf{
  background-image: url('https://dev.snowhouse.ca/wp-content/uploads/2025/08/file-pdf-svgrepo-com.svg');
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
}


body:not(.rtl) .ts-right-col-left-span .ts-stretched-div.ts-stretched-right {

    margin-top: -182px;
    height: 134%;}

img.sh-brand-logo {
    width: 165px;
    height: auto;
    margin: 15px 0;
}
li.wc-layered-nav-term {
    font-weight: 600 !important;
}

span.wpcf7-list-item-label {
    font-weight: 400;
}

.breadcrumb-wrapper-inner {
    display: none;
}


/* Effet hover sur les carrés produits */
.sh-featured-row .ts-ihbox {
  transition: all 0.3s ease; /* animation fluide */
	    background-color: #fff;
    padding: 24px;
	min-height:337px;

}

.sh-featured-row .ts-ihbox:hover {
  box-shadow: 0 5px 24px 6px rgb(0 0 0 / 0.04);
  transform: translateY(-5px); /* optionnel : petit effet de "lift" */
}


/* Effet hover sur les carrés produits
.sh-pp-item {
  transition: all 0.3s ease; /* animation fluide 
}
.sh-pp-item:hover {
  box-shadow: 0 5px 14px 6px rgb(0 0 0 / 0.06);

}*/



/* --- POPULAR PRODUCTS : zoom image on hover --- */

/* on s'assure que le lien qui entoure l'image masque le débordement */
ul.sh-popular-products .sh-pp-thumb{
  display: block;            /* le <a> prend toute la zone image */
  overflow: hidden;          /* pour découper l'image quand elle zoome */
  border-radius: 6px;        /* optionnel : coins doux */
}

/* image : animation fluide */
ul.sh-popular-products .sh-pp-img{
  transition: transform .35s cubic-bezier(.2,.6,.2,1);
  transform-origin: center center;
  will-change: transform;
}

/* zoom au survol avec la souris */
ul.sh-popular-products li.sh-pp-item:hover .sh-pp-img,
ul.sh-popular-products a.sh-pp-thumb:hover .sh-pp-img{
  transform: scale(1.12);
}

/* accessibilité : zoom si l’item reçoit le focus clavier */
ul.sh-popular-products li.sh-pp-item:focus-within .sh-pp-img{
  transform: scale(1.12);
}

/* (Optionnel) petit lift + ombre sur la carte au survol */
ul.sh-popular-products li.sh-pp-item{
  transition: box-shadow .25s ease, transform .25s ease;
}
ul.sh-popular-products li.sh-pp-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, .04);
}


span.count {
    color: #8893b9;
}


a.product_type_simple.add_to_cart_button.ajax_add_to_cart.add_to_cart.alt {
    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
	    background: var(--tste-labtechco-skincolor);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 17px 20px !important;
    cursor: pointer;
    transition: background 0.3s;
}

td.product-name a {
    margin-left: 40px;
	    font-family: "Work Sans", Tahoma, Geneva, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #8893b9 !important;
}


.product-stock-status {
    display: none;
}

.wishlist_table tr td.product-thumbnail a {
       margin-left: 20px;}


@media (min-width: 1200px) {
    .ts-container-extra-wide .ts-team-member-content:not(.entry-content) .elementor-section.elementor-section-boxed>.elementor-container, .container {
        width: 100%;
        padding-left: 7%;
        padding-right: 7%;
    }    }


@media (min-width: 992px) {
 /*   body.themestek-sidebar-left .site-content #primary.content-area, .single-post.themestek-sidebar-right #primary.content-area, .themestek-sidebar-right #primary.content-area {
        width: 75.811%!important;
    }
	
    .themestek-sidebar-left #sidebar-left.sidebar, .single-post.themestek-sidebar-right #sidebar-right.widget-area, .themestek-sidebar-right #sidebar-right.widget-area {
        width: 23.914%!important;
    }*/


aside#nav_menu-4 {
    margin-left: 50px;
}
.footer #second-footer .widget_nav_menu {
    float: left;
    width: 43%;
}

.blanc {
    color:#fff;    /* Garder les proportions des logos */
}

.wc-load-more-wrap {
  text-align: center;
}

#wc-load-more {
  display: inline-block; /* pour être centré */
	        background: #121419;
}

	
	section.sh-featured-row{
    width: 85%;
    margin: 0 auto;}
	
	.sh-featured-row .swiper-button-prev::after , .sh-featured-row .swiper-button-next::after {
    box-sizing: border-box;
    font-size: 15px;
		color:#fff;
		        font-weight: 800;
}
	.sh-featured-row .swiper-button-next::after {
	
	        margin-left: 4px;}
	.sh-featured-row .swiper-button-prev::after {
	
	        margin-right: 3px;}
	
.swiper-button-next,	.swiper-button-prev {
    height: 35px;
    width: 35px!important;
	border-radius:25px;
    background: var(--tste-labtechco-skincolor);
	padding: 0;
}
	
	.widget ul:not(.slides):not(.cart_list):not(.labtechco_contact_widget_wrapper)>li {
    font-weight: 600;
}
	
@media (max-width: 991px) {
  .elementor .sh-pp-content .custom + p,
  body .sh-pp-content .custom + p {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
	
 #colophon #second-footer .container {
    padding: 8% !important;           /* haut/droite/bas/gauche */
  }
}


/* 1) Même hauteur pour tous les slides */
.elementor-widget-image-carousel .swiper-slide{
  height: 120px !important;              /* ajuste 100–140px selon ton design */
  display: flex !important;
  align-items: center !important;        /* centre verticalement le contenu */
  justify-content: center !important;    /* centre horizontalement */
}

/* 2) Les wrappers internes doivent remplir la hauteur pour permettre le centrage */
.elementor-widget-image-carousel .swiper-slide > .swiper-slide-inner,
.elementor-widget-image-carousel .swiper-slide figure,
.elementor-widget-image-carousel .swiper-slide a{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
}

/* 3) Contraindre les logos sans les déformer */
.elementor-widget-image-carousel .swiper-slide img{
  max-height: 90% !important;  /* ou une valeur fixe : 70–90px */
  width: auto !important;
  object-fit: contain !important;
}

.ts-ihbox .ts-ihbox-btn {
    display: inline-block;
    margin: 15px 0 0px;}