/*
Theme Name:   Astra Child
Theme URI:    https://www.parti-equinoxe.fr/
Description:  Astra Child Theme for Equinoxe
Author:       Equinoxe
Author URI:   https://www.parti-equinoxe.fr/
Template:     astra
Version:      0.0.58
Text Domain:  astrachild
*/


.entry-meta{display: none;}

/* Cacher la colonne adresse de livraison */


/* Masquer l'image vide */
.ast-orders-table__cell img.wp-post-image {
    display: none !important;
}

/* Mettre le texte des cellules en noir */
.ast-orders-table__cell {
    color: #000 !important;
}

/* Garder les liens comme ils sont (hérités du style global) */
.ast-orders-table__cell a {
    color: inherit !important;
}
/* 4. Supprimer l'icône Astra SVG (petite icône à gauche) */
.woocommerce-MyAccount-downloads-file .ast-inline-flex {
    display: none !important;
}

.download-expires {
    display: none !important;
}
/* 3. Rendre le lien "Reçu fiscal - Don..." noir */
.woocommerce-MyAccount-downloads-file {
    display: inline-block;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
    color: #000 !important;
    font-weight: 500;
}


/* 4. Ajouter une icône PDF avant le texte du lien */
.woocommerce-MyAccount-downloads-file::before {
    content: '';
    display: inline-block;
    background-image: url('https://cdn-icons-png.flaticon.com/512/337/337946.png'); /* remplace par ton URL si besoin */
    background-size: contain;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Style propre du lien */
.woocommerce-MyAccount-downloads-file {
    display: block;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    font-weight: 500;
    color: #000 !important;
}

#donation_amount_zone{
    width:100%;
    margin-top:2em;
}


#donation_amount_zone input#donation_customized_amount:focus{
    background-color: #272328;
}
#donation_amount_zone input#donation_customized_amount.selected:focus{
    background-color:var(--ast-global-color-0);
    color:var(--ast-global-color-2);
}

#donation_amount_zone button{
    margin:auto;
    background-color:transparent;
    color: var(--ast-global-color-0);
    border:1px solid var(--ast-global-color-0);
    flex:1 1 0px;
}

#donation_amount_zone button.selected{
    background-color:var(--ast-global-color-0);
    color:var(--ast-global-color-2);
}

#donation_amount_zone input[type="number"]{
    background-color:var(--ast-global-color-2);
    color:var(--ast-global-color-0);
	padding:0;
	width:6em;
	max-width:none;
	display:inline-block;
	padding-right: 0;
	-moz-appearance: textfield;
	border:1px solid var(--ast-global-color-0);
	flex:1 1 0px;
	flex-grow: 1.3;
	display:flex;
	justify-content:center;
    text-align: center;
	font-weight:600;
}

/* Chrome, Safari, Edge, Opera */
#donation_amount_zone input::-webkit-outer-spin-button,
#donation_amount_zone input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#donation_amount_zone input#donation_customized_amount.selected{
    background-color:var(--ast-global-color-0);
    color:var(--ast-global-color-2);
}

.custom-min-price1, .custom-price, small.description_product{
    display:none;
}

.donation_amount_zone_amount_button_container{
    width:100%;
    max-width:100%;
    display:flex;
    margin-bottom:2em;
    justify-content: space-around;
    flex-flow: row wrap;
    align-items: stretch;
}

/*
#donation_amount_zone_amount_input_container{
    border:1px solid var(--ast-global-color-0);
    background-color:var(--ast-global-color-2);
    color:var(--ast-global-color-0);
	flex:1 1 0px;
	flex-grow: 1.3;
	display:flex;
	justify-content:center;
}
*/

@media screen and (max-width: 922px) {
    #donation_amount_zone input#donation_customized_amount {
		flex-grow:1.7;
	}
}

.donation_amount_zone_amount_button_container span{
	position: absolute;
	line-height:40px;
	right:20px;
	font-weight:600;
	color:var(--ast-global-color-0);
}

.donation_amount_zone_amount_button_container span.selected{
	color:var(--ast-global-color-2);
	background-color:var(--ast-global-color-0);
}

/*
#donation_amount_zone_amount_input_container span{
    background-color:var(--ast-global-color-2);
    color:var(--ast-global-color-0);
	line-height: 40px;
	position:relative;
	right:1em;
}

#donation_amount_zone_amount_input_container.selected, 
#donation_amount_zone_amount_input_container.selected input[type="number"],
#donation_amount_zone_amount_input_container.selected span
{
    background-color:var(--ast-global-color-0);
    color:var(--ast-global-color-2);
}
*/
#billing_postcode_field {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#donation_final_amount_minus_deducation{
    font-weight:bold;
    color:var(--ast-global-color-0);
}

/* Pour que le bouton d'ajout panier prenne toute la largeur */

.woocommerce-js div.product form.cart .button.single_add_to_cart_button{
    width:100%;
}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button:hover{
    background-color:var(--ast-global-color-0);
    color:var(--ast-global-color-2);
}


/* pour eviter l'affichage d'un message incitant a voir le panier apres ajout don */

.woocommerce-js div.product form.cart a.wc-forward.added_to_cart{
    display: none;
}

.donation_final_amount_minus_deducation_explanation{
    text-align: center;
}

#donation_amount_explanation{
    text-align: center;
}


#donation_amount_explanation span {
    color:#888888;
    font-style: italic;
}

@media screen and (min-width: 922px) {
    .product-value-proposition{
        float:left;
        width:48%;
    }
    .product-value-proposition p {
        text-align: center;
        margin-bottom:1em;
    }
    
    .product-value-proposition img{
        max-width:80%;
        margin: auto;
        display: block;
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 922px) {
    .product-value-proposition img{
        max-width:80%;
        margin: 2em auto;
        display: block;
    }
}

.woocommerce-js div.product h2.product_title.donation, .woocommerce-js div.product h2.product_title.adhesion, .woocommerce-js div.product h2.product_title.donation-mensuel{
    text-align: center;
}

@media screen and (min-width: 922px) {
    .woocommerce-js div.product h2.product_title.donation, .woocommerce-js div.product h2.product_title.adhesion, .woocommerce-js div.product h2.product_title.donation-mensuel{
        font-size: 25px; 
    }
}

@media screen and (max-width: 922px) {
    .woocommerce-js div.product h2.product_title.donation, .woocommerce-js div.product h2.product_title.adhesion, .woocommerce-js div.product h2.product_title.donation-mensuel{
        font-size: 1.2em; 
        margin:1.5em 0 0 0;
    }
}

.woocommerce-billing-fields p {
    font-style: italic;
    color:#888888;
    margin:1em 0;
}

#order_review p{
    margin-bottom: 1.5em;
}

#order_review p.legal{
    font-style: italic;
    color:#888888;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview{
    background-color: var(--ast-global-color-6);
}

#billing_company_field{
    display: none;
}

.ast-modern-checkout .woocommerce .ast-mobile-order-review-wrap {
    background-color: var(--ast-global-color-5);
}
.ast-modern-checkout .woocommerce .ast-mobile-order-review-wrap #ast-order-review-toggle{
    color: var(--ast-global-color-2);
}

#form_sympathiser-formidable {}

#form_sympathiser-formidable label{
    color: var(--ast-global-color-7);
}

div#field_lforn_label.frm_primary_label{
     color: var(--ast-global-color-7);
}


#form_sympathiser-formidable div.frm_submit button.frm_button_submit {
    width: 100%;
    background-color: var(--ast-global-color-0);
    border: 0px;
    color: var(--ast-global-color-2);
    font-weight: 700;
}

p.legal {
    color: #888;
    font-style: italic;
}

.frm_message{
    color: var(--ast-global-color-2);
    background-color: var(--ast-global-color-3);
}

#form_sympathiser-formidable input[type="number"]{
    width:6em;
    max-width:6em;
    -moz-appearance: textfield;
}

#form_sympathiser-formidable input::-webkit-outer-spin-button,
#form_sympathiser-formidable input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (min-width: 782px){
    #post-149 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
}

form.variations_form.cart table.variations{
    display: none;
}

#post-96 figure.wp-block-image.size-full img{
    margin:1.5em 0;
}

@media (min-width: 782px){
    #post-96 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        margin:0 1.5em;
    }
    #post-96 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column figure.wp-block-image.size-full img{
        margin:1.5em;
    }
}

#post-96 .wp-block-button, #post-96 .wp-block-button .wp-block-button__link{
    width: 100%;
}

#post-96 .wp-block-button .wp-block-button__link:hover{
    background-color:var(--ast-global-color-0);
    color:var(--ast-global-color-2);
}


body #content .woocommerce-MyAccount-navigation-link{
    border:1px solid #444444;
}



#billing_birth_date{
    padding:1.4em 1em 0.3em 0.8em;
    border-radius: 4px;
}

#billing_birth_date_field label{
    opacity: 1;
}

#billing_civility_field, #billing_whatsapp_field{
    background-color: #FFFFFF;
    border-radius: 4px;
    padding-top:0px;
    margin-top:9px;
    margin-bottom:9px;
    padding-bottom: 0px;
    height: 3em;
    margin-left: 9px;
}



#billing_civility_field label:first-child, #billing_whatsapp_field label:first-child{
    position: relative;
    margin-left: 0px;
    padding-left:5px;
}


#billing_civility_field span, #billing_whatsapp_field span{
    position: relative;
}


#billing_civility_field span input, #billing_civility_field span label, #billing_whatsapp_field span input, #billing_whatsapp_field span label{
    position:relative;
    display:inline-block;
    margin-top:0;
    padding-top:0;
}


#billing_civility_field span label, #billing_whatsapp_field span labe{
    padding-left:5px;
}


#billing_whatsapp_field{
    margin-left: 8px;
}

#billing_country_field{
    background-color: #DDD;
    padding: 3px;
    margin-left:0.3em;
    margin-right:0.3em;
    border-radius: 4px;
}


.equinoxe-hide {
    display: none !important;
}

.filters {
  display: flex;
  gap: 3em; /* espace horizontal entre les éléments */
  margin-bottom: 1em; /* légère marge en dessous si besoin */
  flex-wrap: wrap; /* permet de passer à la ligne sur petits écrans */
  color: white;  /* hérite du thème global (utile si black venait d'un parent) */


}

.filters label {
  display: flex;
  align-items: center;
  gap: 0.5em; /* espace entre le checkbox et son texte */
}

body.woocommerce-checkout #billing_postcode_field {
    display: none !important;
}

#billing_state_field {
    display: none !important;
}

.suivi-ndf th, .suivi-ndf td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    font-family: sans-serif;
}

.suivi-ndf th {
    background-color: #ffd412; /* Jaune vif */
    color: #000;               /* Texte noir */
    font-weight: bold;
}


.ast-modern-checkout .woocommerce #payment ul.payment_methods .wc_payment_method label{
    color: var(--ast-global-color-5);
}


/* SELECTEUR DE QUANTITE GOODIES */

/* Couleur de fond du champ quantité */
.woocommerce .quantity input.qty {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #ccc;
}

/* Boutons + et - en blanc */
.woocommerce .quantity .plus,
.woocommerce .quantity .minus {
    background-color: #FFFFFF; /* fond blanc */
    color: #000000;            /* texte noir */
    border: 1px solid #999;
}

/* Survol des boutons : gris foncé */
.woocommerce .quantity .plus:hover,
.woocommerce .quantity .minus:hover {
    background-color: #444444; /* gris foncé */
    color: #FFFFFF;            /* texte blanc au survol */
}

/* Centrer le sélecteur de quantité dans la colonne de droite */
.woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
    align-items: center; /* centre horizontalement dans la colonne */
}

/* Espacement sous le sélecteur */
.woocommerce div.product form.cart .quantity {
    margin-bottom: 15px;
}

.payment_box.payment_method_stripe {
    background: #ffffff !important;
    color: #000000 !important;
}

.payment_box.payment_method_stripe label {
    color: #000000 !important;
}



