/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*****************************/
/**** Variables couleurs ****/
/****************************/

:root {
--primary-color: #3d5723;
--secondary-color: #babf0a;
	--dark-grey: #4b4b4b;
	--light-grey: #9b9b9b;
}


/* layout */

.wd-content-layout {
	padding-bottom: 0;
}
/* Typographie */

h4 {
	font-size: 14px !important;
	font-weight: 800 !important;
}

.wd-timeline-title {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--primary-color) !important;
}

p {
	text-align: justify;
}

.info-box-icon {
	font-weight: 400 !important;
}

.wd-page-title .title {
	font-weight: 400;
	padding: 100px 0;
}

.whiteText {
	color: #ffffff;
}

/* header */

.social-facebook, .social-instagram, .social-linkedin {
	background-color: var(--secondary-color) !important;
	width: 20px !important;
	height: 20px !important;
	font-size: 8px !important;
}

.wd-header-secondary-nav .nav-link-text {
	color: var(--primary-color) !important;
	font-weight: bold !important;
	font-size: 12px !important;
}

.wd-nav-main .nav-link-text {
	color: var(--primary-color) !important;
	font-weight: bold;
	font-size: 16px !important;
}

body .wd-tools-icon:before {
color: var(--primary-color);
	font-size: 16px;
}




/* section title */ 

.title-wrapper {
	margin-bottom: 50px;
}

/* page d'accueil */

.home .wd-content-layout {
    padding-block: 0 !important;
}

/* product grid */
.tabs-design-default .products-tabs-title .tab-label::after, .tabs-wd-67e2bd985192f.tabs-design-alt .products-tabs-title .tab-label::after {
	background: var(--primary-color) !important;
 }

.product-wrapper .wd-entities-title {
	color: #000000 !important;
}

.wd-product-cats a {
	color: var(--dark-grey) !important;
}

/*.price {
	display: none !important;
}*/


.cat-item-21 {
	display: none !important;
}

.wd-tabs .wd-nav-link {
	padding-top: 0;
}

.widget_product_categories .product-categories li a:hover {
	color: var(--primary-color) !important;
}

/* label nouveau */

.label-term-nouveau {
	background-color:var(--primary-color) !important;
	color: var(--secondary-color) !important;
	border-radius: 0 !important;
}

/* badge Épuisé*/

/*.out-of-stock {
	font-size: 10px !important;
}*/

/* pages catégories */ 
.tax-product_cat .wd-page-title {
	background: url("/wp-content/uploads/2025/05/Header-Page-Boutique__culture_de_chanvre.jpg") !important;
	background-size: cover !important;
	background-position: center !important;
}

.tax-product_cat main {
	padding-top: 80px !important;
	padding-bottom: 80px !important;
}

.wd-products-element .stock {
	display: none! important;
}

.wd-product-cats a {
	color: var(--light-grey) !important;
}

/* fiche produit */

.caracteristiquesProduit p {
	margin-bottom: 0px !important;
}



.woocommerce-tabs .wd-tabs-title, .woocommerce-tabs .wd-nav-wrapper, .wd-single-reviews {
	display: none !important;
}

.related-and-upsells {
	padding-bottom: 80px !important;
}

.quantityLabel {
	font-weight: bold;
	margin-bottom: 0;
}


.woocommerce-variation-description p {
	color: var(--secondary-color);
}

.product-label {
	font-size: 10px !important;
}

/*.product_meta {
	display: none;
}*/

/* warning empty option */
.woocommerce-variation-add-to-cart #variation-warning{
	color: red;
	font-weight: bold;
}

.custom-product-limit-message {
	color: var(--light-grey);
	margin-bottom: 15px;
}

.woocommerce-product-attributes-item--weight {
	display: none !important;
}

/* progress bars */

.fiche-technique .wpb_text_column p {
	margin-bottom: 0 !important;
}

.fiche-technique .progressBarContainer {
	height: 20px !important;
	margin: 5px 0 20px 0 !important;
}

.fiche-technique .vc_column-inner tbody {
	vertical-align: top !important;
	
}


.progressBar {
	display: inline-block;
	
}



 .progressSquare {
	 		padding: 0px !important;
            width: 10px;
            height: 10px;
	 		border-bottom-width: 0px;
            border-radius: 50%;
        }
        .progressBarOn {
            background-color:var(--secondary-color);
        }
        .progressBarOff {
            background-color: var(--primary-color);
        }

#contact-button-variation a, #contact-button-variation a:hover, #contact-button-bio a, #contact-button-bio a:hover {
	color: #ffffff;
	background-color: var(--primary-color);
}

/* mini cart */


.mini-cart-fees-wrapper .mini-cart-fee {
	padding: 15px 0;
}

.mini-cart-fee span {
	font-weight: 600;
	font-size: 18px;
}

/* page panier */

/*.wp-block-woocommerce-cart-order-summary-subtotal-block, .wc-block-components-totals-item__value strong, .wc-block-components-totals-item.wc-block-components-totals-footer-item, .wp-block-woocommerce-cart-order-summary-coupon-form-block, .wc-block-cart-items__header-total, .wc-block-cart__totals-title {
	display: none !important;
}*/

.wp-block-woocommerce-cart-order-summary-totals-block {
	margin-top: 32px;
}


/* page validation de commande */ 

.woocommerce-checkout .wd-page-title .container, .woocommerce-cart .wd-page-title .container {
	align-items: start !important;
}

.wd-checkout-steps {
	font-size: 16px !important;
	text-transform: none !important;
}

#billing_wooccm10_field {
	margin: 45px 0;
}

#billing_wooccm17_field {
	margin-top: 45px;
}

.woocommerce-shipping-fields, .wooccm-additional-fields {
	margin-top: 45px;
}

.woocommerce-privacy-policy-text p {
	font-size: 10px !important;
}

.payment_method_devis_150kg p {
	color: #ff0000 !important;
}

.excluded-zone-notice {
                border-left: 5px solid #b81c23; 
                background-color: #fdf2f2;
                color: #b81c23;
                padding: 15px;
            }

/*.fr-tva-number {
	visibility: hidden;
	height:0;
}*/


/* modale de paiement */

.krypton-tab-handler {
	padding-top: 150px !important;
}

/* buttons */

.greenButton {
	background: var(--primary-color) !important;
	color: #ffffff !important;
}

.info-btn-wrapper .btn {
	color: #000000;
}

/* formulaire de contact */

.wpcf7-submit {
	background-color: var(--primary-color);
}

.wpcf7-response-output {
	background-color: transparent !important;
	color: var(--secondary-color) !important;
}

.wpcf7-response-output:before {
	content:'' !important;
}


/*  testimonial block */

.wd-btn-arrow {
	opacity:1 !important;
}

/* page mon devis */

.wp-block-woocommerce-cart {
	padding-bottom: 70px;
}

/* page de commande */

/*.order-total, .wp-block-woocommerce-checkout-order-summary-totals-block, .cart-subtotal, .wd-checkout-prod-total, .woocommerce-form-coupon-toggle {
	display: none !important;
}*/

.woocommerce-info {
	background-color: var(--secondary-color);
}

/* page commande reçue */

/*.woocommerce-table__product-table.product-total, .woocommerce-order-overview__total.total, .woocommerce-Price-amount  {
	display: none !important;
}*/

/* page mon compte */

.woocommerce-my-account-wrapper {
	padding-top: 60px;
	padding-bottom:80px;
}

.wd-registration-page {
	padding-top:20px;
	padding-bottom: 80px;
}

.wd-my-account-links .downloads-link {
	display: none;
}
.woocommerce-MyAccount-navigation-link--downloads {
	display: none;
}

/* blog */

.blog .wd-blog-element {
	padding-bottom: 80px;
}

.title-blog {
	margin-bottom: 40px !important;
}

.article-body-container {
	padding-left: 35px !important;
	padding-right: 35px !important;
}

.single-post .wd-page-nav {
	margin-bottom: 80px !important;
}
/* dowload pdf */

.download-link, .download-link:hover {
	color: #ffffff;
}

/* Portfolio */

.wd-carousel-container.wd-projects.wd-portfolio-element {
	padding-bottom : 80px !important;
}

.portfolio-template-default .page-title {
	display: none !important;
}


/* footer */


.footerSocialButtons .wd-social-icon  {
	color: var(--primary-color) !important;
	background-color: #ffffff !important;
	width: 30px !important;
	height: 30px !important;
	font-size: 12px !important;
}


footer p {
	font-size: 10px !important;
}

/* page innovation */


#objectifs-innovation .wd-info-box {
	height: 155px !important;
}

/* pdf embedder */

div.pdfemb-viewer {
    margin: 0px auto !important;
}


/* Messages limitations de commande */  

.single-limit-msg{
		margin-top:10px;
		text-align:left;
		font-size:13px;
		color:#d9534f;
		font-style:italic;
	}

.limit-msg {
			margin-top: 5px;
			text-align: left;
			color: #d9534f;
			font-size: 13px;
			font-style: italic;
		}

.mini-cart-limit-msg,
	.cart-limit-msg,
	.single-limit-msg {
		display:block;
		margin-top:6px;
		text-align:left;
		font-size:13px;
		color:#d9534f;
		font-style:italic;
	}


.poids-total-msg {
    margin-top: 15px;
    color: #b71c1c; 
    background: #ffecec;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    text-align: left;
    border: 1px solid #ffcdd2;
}

.widget_shopping_cart .poids-total-msg {
	margin-bottom: 10px;
}

/* gestion de la tva et du siret */

/* Cache les champs SIRET et TVA par défaut */
#billing_wooccm15_field,
#billing_eu_vat_number_field {
    display: none;
}

/* Style pour les champs verrouillés (Input Readonly) */
.sirene-locked {
    background-color: #e9ecef !important; /* Gris clair */
    color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Banière cookies */

.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox .cmplz-label:before {
	box-shadow: 0 0 0 2px var(--light-grey) !important;
}


/* Récapitulatif commandes */

.wp-core-ui select[name="new_status"] option[value="wc-processing"] { 
            background-color: #c6e1c6 !important; 
            color: #2c4700 !important; 
        }

.wp-core-ui select[name="new_status"] option[value="wc-lanwest-preparee"] { 
            background-color: #eeee22 !important; 
            color: #000000 !important; 
        }

.wp-core-ui select[name="new_status"] option[value="wc-lanwest-expediee"] { 
            background-color: #1e73be !important; 
            color: #ffffff !important; 
        }

/* Page recrutement - liste jobs */

.awsm-list-right-col {
  float: left;
  width: 50%;
  display: flex;
  justify-content: space-between; 
  align-items: center; 
}


.awsm-jobs-single-title {
	padding-bottom: 60px;
}
	
	.awsm-job-form-inner {
		border: none;
	}
	
	.awsm-job-form-inner, .awsm-job-content {
		padding-top: 80px;
	}

.awsm-application-submit-btn, .awsm-application-submit-btn:hover {
	background: var(--primary-color) !important;
	color: #ffffff !important;
}

.retour-offres-container {
	padding-top: 80px;
}

.btn-retour-offres, .btn-retour-offres:hover {
	padding: 7px 10px;
	/*background: var(--light-grey) !important;*/
	border: solid 1px var(--primary-color);
	color: var(--primary-color) !important;
	font-weight: bold;
	font-size: 12px;
}

.awsm-job-form-error {
	color: #ff0000;
}



/* responsive */

/* ALTERNATIVE : Onglets sur 2 lignes (2 par ligne) */
@media (max-width: 768px) {
    
    /* Le conteneur autorise le retour à la ligne */
    ul.vc_tta-tabs-list {
        display: flex !important;
        flex-wrap: wrap !important;      /* Autorise le passage à la ligne */
        height: auto !important;         /* La hauteur s'adapte */
        overflow: visible !important;    /* Pas de scroll */
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* Chaque onglet prend 50% de la largeur */
    li.vc_tta-tab {
        flex: 0 0 50% !important;        /* Force 50% de largeur */
        width: 50% !important;
        display: block !important;
        margin: 0 !important;            /* Colle les bords */
        box-sizing: border-box !important;
        text-align: center !important;   /* Centre le texte */
    }

    /* Ajustement esthétique des liens */
    li.vc_tta-tab > a {
        white-space: normal !important;  /* Autorise le texte à passer à la ligne si trop long */
        display: block !important;
        padding: 10px 5px !important;    /* Marges réduites */
        font-size: 12px !important;      /* Police légèrement réduite */
        line-height: 1.2 !important;
        height: 100%;                    /* Remplit la hauteur */
        border-bottom: 1px solid #eee;   /* Séparation subtile */
    }
    
    /* Bordure droite pour les éléments impairs (1er et 3ème) pour séparer visuellement */
    li.vc_tta-tab:nth-child(odd) {
        border-right: 1px solid #eee;
    }
	
	
}