/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Armoire PLUS
Author URI: https://fse.armoireplus.fr/
Description: Thème enfant pour Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.center {text-align:center;}
.products .suffix_ttc, .cart-drawer .suffix_ttc, .products .paiement-3x, .related-products-section .paiement-3x, .home .suffix_ttc, .home .paiement-3x {display:none!important;}


/***************  CHARTE GRAPHIQUE - SURCHARGE VARIABLE CSS COULEURS  ************************/
:root{--yith-wapo-accent-color-color: var(--ast-global-color-0);}

/******************************** Formulauire DEmande de devis  ******************/
#presta_field label {position:relative;}

/**********************  404  ***************************************/
.error-404.not-found{border: 1px solid var(--ast-global-color-0); border-radius: 15px;}
/**********************  Home  ***************************************/
body #main .wc-block-grid__product-onsale{display:none;}
.wp-block-woocommerce-product-template h3 a{text-decoration:none;}
.icon-home-ban {fill:white!important;}
#blok-col-hp-ban{  display:grid;  grid-template-columns:repeat(4,1fr);  gap:1rem;  padding:0.75rem 1rem; color:#fff; max-width:921px}
#blok-col-hp-ban .wp-block-column{ display:flex; justify-content:center;}
.feature-ih{ display:flex; align-items:center; gap:0.5rem; font-size:0.95rem; font-weight:500;}
.feature-ih span{color:white;font-weight: 500; margin-left: 10px; font-size: 1.1em;position: relative;  top: -3px;}
.feature-ih img,
.feature-ih svg{width:30px; height:30px; flex-shrink:0;}
@media (max-width:921px){
  #blok-col-hp-ban{  grid-template-columns:repeat(2,1fr); }
}
@media (max-width:544px){
  #blok-col-hp-ban{  display:flex !important; flex-direction:row; gap:0.75rem;  }
  #blok-col-hp-ban div{margin-bottom: 20px!important;}
  #blok-col-hp-ban .wp-block-column{ display:flex; justify-content:center; }
}
.avis-ban-hp{text-align:center;color:white;line-height:25px;font-size:16px;}
.avis-ban-hp svg:first-child{background:#ffffff;padding:2px; border-radius: 50%;width:35px;height:35px;position: relative; top: 10px;left: -5px;}

.btn-ban-hp{max-width:600px}
.btn-ban-hp .wp-block-uagb-buttons-child{width:290px}

.heading-ban-hp {max-width:790px;}
.heading-ban-hp .uagb-desc-text{max-width:750px;}
/**************** MNENU **********/
#primary-site-navigation-desktop .astra-megamenu .ast-disable-link .menu-text{text-transform:uppercase;color:var(--ast-global-color-2);}
header #primary-site-navigation-desktop .astra-megamenu ul.sub-menu li a {padding: 0.2em 1.2em;}

/****************** YITH  ***************/
#ref_field, #cpgn_field, #lpage_field, #quote_source_field{display:none!important;}

/***************  BOUTON  ****************/
/* Bouton Moncompte */
.ywraq-view-quote-wrapper a.ywraq-big-button.ywraq-accept,.ywraq-view-quote-wrapper .ywraq-button.ywraq-accept.button {padding: 10px 15px;background: none;margin-left:10px;border:1px solid var(--ast-global-color-1)!important;background-color:var(--ast-global-color-1);color:white!important;}
.ywraq-view-quote-wrapper a.ywraq-big-button.ywraq-accept:hover, .ywraq-view-quote-wrapper .ywraq-button.ywraq-accept.button:hover{border:1px solid var(--ast-global-color-7)!important;background-color:var(--ast-global-color-7);color:white!important;}
.ywraq-view-quote-wrapper a.ywraq-big-button.ywraq-pdf-file {border:1px solid var(--ast-global-color-3);background-color:var(--ast-global-color-3);color:white!important;}
.ywraq-view-quote-wrapper a.ywraq-big-button.ywraq-pdf-file:hover {border:1px solid var(--ast-global-color-2);background-color:var(--ast-global-color-2);color:white!important;}
/* Bouton add to cart */
button#place_order{margin-bottom:10px;}
button.single_add_to_cart_button, .woocommerce-js a.button.checkout-button, button#place_order, .ast-embed-checkout-form-nav-btns a.button {border:1px solid var(--ast-global-color-1)!important;background-color:var(--ast-global-color-1)!important;color:white!important;}
button.single_add_to_cart_button:hover, .woocommerce-js a.button.checkout-button:hover, button#place_order:hover, .ast-embed-checkout-form-nav-btns a.button:hover {border:1px solid var(--ast-global-color-7)!important;background-color:var(--ast-global-color-7)!important;color:white!important;}
/* Envoyer form home */
.home #fsecontact .uagb-forms-main-submit-button-text{color:#ffffff;}
/* yith add to quote */
#ywraq_cart_quote.button, #ywraq_checkout_quote_button.button {background: white!important;color: var(--ast-global-color-3)!important; border: 1px solid var(--ast-global-color-3)!important;}
#ywraq_cart_quote.button:hover, #ywraq_checkout_quote_button.button:hover {background: var(--ast-global-color-3)!important;color: white!important; border: 1px solid var(--ast-global-color-3)!important;}
/* Demande de devis Show password */
#yith-ywraq-default-form button.show-password-input{padding: 5px 15px;}
#yith-ywraq-default-form button.show-password-input:hover{background-color:var(--ast-global-color-3);}
#yith-ywraq-default-form button.show-password-input::after{font-family: WooCommerce;speak: never;font-weight: 400;font-variant: normal;   text-transform: none;line-height: 1; -webkit-font-smoothing: antialiased; content: "\e010";text-decoration: none;}
.password-input { position: relative; display: block; width: 100%;}
.password-input .show-password-input { position: absolute; right: 10px; top: 20px; transform: translateY(-50%); background: none; border: none; cursor: pointer;}
.password-input input[type="password"] { padding-right: 40px;}
.woocommerce-password-strength,
.woocommerce-password-hint { display: block; margin-top: 5px; width: 100%; clear: both;}

	/* Dérivé demande de devis on bloc les champs */ 
	.woocommerce-input-wrapper { position: relative; display: block;}
	.woocommerce-input-wrapper .ywraq_error { position: absolute; bottom: -20px; left: 0;font-size: 12px;color: #e2401c;height: 20px;transition: opacity 0.3s;}
	#yith-ywraq-default-form .form-row {margin-bottom: 25px;}

	
/* Se connecter Show password */
form.woocommerce-form.woocommerce-form-login.login .show-password-input:hover {background-color:var(--ast-global-color-3);}
form.woocommerce-form.woocommerce-form-login.login .show-password-input::after {padding: 5px 10px;margin-left:0;}
form.woocommerce-form.woocommerce-form-login.login .show-password-input {padding: 5px;margin: 5px;}

/* Autres pages */
#faq_b .vc_do_toggle {margin:15px 0!important;}


/* Avis Garantis */
.author .author-picto {display:none!important;}
.author-authenticated {color:var(--ast-global-color-3);}