/*
CTC Separate Stylesheet
Updated: 2026-03-09 11:24:10
*/

p.stock.in-stock {
    display: none;
}

p.price {
    margin: 0;
}

table.variations th,
table.variations td {
    background-color: #f1f1f1 !important;
}

a.reset_variations {
    display: none !important;
}

select#pa_support {
    margin-bottom: 15px;
}

.has-attribute #productprice span.woocommerce-Price-amount.amount:nth-child(1)::before {
    content: "A partir de ";
}

.has-attribute #productprice span.woocommerce-Price-amount.amount:nth-child(3) {
    display: none;
}

.has-attribute #productprice p.price span[aria-hidden=true]:nth-child(2) {
    display: none !important;
}

#pdtvariations span.price {
    text-align: center !important;
    display: block;
    margin-bottom: 15px;
    color: #091f2e !important;
    font-size: 25px;
}

#pdtvariations.phisicalpdt span.price {
    text-align: left !important;
    margin-left: 5px;
    margin-top: 5px;
}

p.stock.out-of-stock {
    text-align: center;
}

.has-attributes #productprice {
    display: none;
}

p#billing_postcode_field {
    width: 49%;
    display: inline-block;
    margin-right: 2% !important;
}

p#billing_city_field {
    width: 49%;
    display: inline-block;
}

p#billing_country_field {
    display: none;
}

.order-total th {
    font-size: 18px;
    text-transform: uppercase;
}

.order-total .woocommerce-Price-amount.amount bdi {
    font-size: 16px;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name {
    max-width: unset;
    padding-inline-end: 15px;
    width: 75%;
}

#createaccountform .elementor-field-group-comptenomecole,
#createaccountform .elementor-field-group-comptenomentreprise,
#createaccountform .elementor-field-group-comptejustificatif,
#createaccountform .elementor-field-type-html.elementor-field-group-field_0a36608,
#createaccountform .elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_7a9043a,
#createaccountform .elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_2908cb2 {
    display: none;
}

span.intro-justificatif {
    color: #311f2e;
    font-weight: 500;
    margin-bottom: -10px !important;
    display: block;
}

.addify-quote-form__contents .product-name p small {
    display: none;
}

.alert-compte {
    background-color: #ff7424;
    margin: 0px 0 10px;
    padding: 5px 10px;
    color: #fff;
    text-align: center;
}

.elementor-field-group-field_7a9043a .intro-justificatif.elementor-mark-required::after {
    content: "*";
    color: #ff7424;
    margin-left: 4px;
}

[data-attribute_name="attribute_pa_date"].variable-item {
    padding: 25px 20px !important;
    border-radius: initial !important;
}

[data-attribute_name="attribute_pa_date"] .variable-item-span-button {
    line-height: 1;
}

[data-attribute_name="attribute_pa_date"] .variable-item-span-button span {
    margin-top: 0;
}

[data-attribute_name="attribute_pa_heure"].variable-item {
    padding: 20px !important;
    border-radius: initial !important;
}

tr:has(label[for="pa_heure"]) {
    display: none;
}

tr:has(label[for="pa_categorie"]),
[data-attribute_name="attribute_pa_categorie"] {
    display: none !important;
}

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

.variations .variable-items-wrapper li.variable-item:hover::before,
.variations .variable-items-wrapper li.variable-item:hover::after {
    opacity: 0 !important;
}

span.elementor-message.elementor-message-danger.elementor-help-inline.elementor-form-help-inline {
    display: block;
    color: #ffffff !important;
    background-color: red;
    width: fit-content;
    padding: 5px 10px;
}

.awcdp-deposits-wrapper .awcdp-deposits-option {
    width: 100%;
}

ul.wc_payment_methods.payment_methods.methods {
    display: flex;
    flex-direction: column;
    min-height: 120px;
    justify-content: space-between;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    background-color: #ff7424;
    color: #000;
    padding: 15px;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li strong {
    color: #fff;
}

.woocommerce-customer-details address {
    border: 0 !important;
}

.apifw_frnd_btn_wrap {
    display: none;
}

a.woocommerce-button.button.apifw_myacnt_invoice_btn.order-actions-button {
    background-color: #ff7424;
    color: #ffffff;
}

#section-post-achat {

    .elementor-field-group-PA_question1_autre,
    .elementor-field-group-PA_question2_autre,
    .elementor-field-group-PA_question3_positifs,
    .elementor-field-group-PA_question3_amelioration,
    .elementor-field-group-PA_question3_idees,
    .elementor-field-group-PA_question3_autre {
        display: none;
    }

    .pa-field-visible {
        display: block !important;
    }

    .elementor-field-group-PA_question2,
    .elementor-field-group-PA_question3 {
        margin-top: 25px;
    }
}



li.variable-item.button-variable-item.disabled {
    display: none !important;
}

ul.single-product-variable-items li[data-attribute_name="attribute_pa_date"].variable-item.button-variable-item.disabled {
    display: block !important;
}

div#displayMap {
    cursor: pointer;
}

.elementor-page-152 li.product_cat-billetterie {
    display: none !important;
}

td.product-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

td.product-price span.woocommerce-Price-amount.amount {
    font-weight: 600 !important;
    text-decoration: none !important;
}

.product-price ins {
    text-decoration: none;
}

td.product-price del .woocommerce-Price-amount.amount,
td.product-price del,
td.product-price del .woocommerce-Price-currencySymbol {
    color: #7d8387 !important;
}

.variation dd p {
    font-weight: 600;
}

table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-name a {
    font-size: 16px;
    font-weight: 600;
}

.role-ecole_validee ul.single-product-variable-items li[data-attribute_name="attribute_pa_date"].variable-item.button-variable-item.disabled {
    display: none !important;
}

.infos-achat {
    display: none;
}

/*css pour la partie ajout au panier */
.sfi-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
    padding: 10px 0;
    /* Réduit un peu le padding vertical */
    min-height: 60px;
    /* Assure une hauteur minimale constante */
}

.sfi-qty-row-info {
    display: block !important;
}

.sfi-qty-row-label,
.sfi-qty-row-price {
    display: inline-block !important;
}

.sfi-qty-row-price {
    color: #f5a623;
    margin-left: 5px !important;
}

.sfi-vue-spectateur-link {
    display: block !important;
    width: fit-content !important;
    /* Pour que le lien ne prenne pas toute la largeur s'il est cliquable */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 6px !important;
    /* Espacement avec la ligne du dessus */
    color: #ff7424 !important;
    /* Couleur dorée Valgrangent */
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    color: #6b6868 !important;
    text-transform: none !important;
    font-family: 'Roboto';
    font-weight: 400 !important;
    display: flex !important;
    font-size: 13px !important;
}

.sfi-vue-spectateur-link:hover {
    color: #12101F !important;
    /* Bleu marine sur hover */
    text-decoration: underline !important;
}

/* Style de base */
.sfi-qty-btn {
    background-color: #ffffff !important;
    color: #12101F !important;
    border: 1px solid #12101F !important;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 40px !important;
    min-width: 40px !important;
    /* Empêche la compression */
    height: 40px !important;
    /* Fixe la hauteur */
    flex-shrink: 0 !important;
    /* Empêche le rétrécissement par flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    line-height: 1 !important;
}

/* Hover */
.sfi-qty-btn:hover {
    background-color: #12101F !important;
    color: #ffffff !important;
}

/* Conteneur */
.sfi-qty-input-wrap {
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    height: 40px !important;
    width: 130px !important;
    /* 40 + 50 + 40 */
    min-width: 130px !important;
    flex: 0 0 130px !important;
    /* Empêche le rétrécissement dans la ligne flex */
    overflow: hidden;
}

/* Même hauteur partout */
/* Input */
.sfi-qty-input {
    height: 40px !important;
    width: 50px !important;
    /* Force la largeur */
    min-width: 50px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border: 1px solid #12101F !important;
    /* Border complète */
    border-left: none !important;
    border-right: none !important;
    text-align: center;
    padding: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    line-height: 40px !important;
    /* Centre le texte verticalement */
}

#sfi-multi-qty-wrap .sfi-qty-btn {
    width: 40px !important;
}

/* Bouton Ajouter au panier Multi-Quantité */
#sfi-multi-qty-wrap #sfi-multi-qty-footer #sfi-multi-add-btn {
    border-radius: initial !important;
}

/* État Verrouillé (Gris foncé) */
#sfi-multi-qty-wrap #sfi-multi-add-btn:disabled {
    background-color: #7d8387 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    /* On annule l'opacité réduite du JS pour garder le gris plein */
}

/* État Actif (Jaune de la charte) */
#sfi-multi-qty-wrap #sfi-multi-add-btn:not(:disabled) {
    background-color: #ff7424 !important;
    color: #12101F !important;
    /* Bleu marine pour contraste */
    cursor: pointer !important;
    opacity: 1 !important;
}

#sfi-multi-qty-wrap #sfi-multi-qty-footer #sfi-multi-add-btn:hover:not(:disabled) {
    background-color: #12101F !important;
    color: #ffffff !important;
}

.sfi-indicators-wrap {
    display: none !important;
}

/*bloc qui permet de masquer les détails de commande dans la page retour de paiement*/
.page-id-14 section.woocommerce-order-details {
    display: none;
}
.page-id-14 section.woocommerce-order-details.sfi-mao-pay-section {
    display: block;
}

/*masquer la loupe de la photo du billet dans la fiche produit*/
.single-product a.woocommerce-product-gallery__trigger {
    display: none;
}

