/* Style général (desktop) */
.elementor-element-ff9d957 .cfvsw-swatches-option {
    color: #7F3FFF !important;
    background-color: #ffffff !important;
    border: 2px solid #7F3FFF !important;
    padding: 6px 16px !important;
    border-radius: 5px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    flex: 1 !important;
    text-align: center !important;
    min-width: 0 !important;
    height: 60px !important;
    margin-bottom: 15px !important;
}

/* Tablette (entre 768px et 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-element-ff9d957 .cfvsw-swatches-option {
        font-size: 18px !important;
        padding: 6px 12px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }
}

/* Mobile (moins de 768px) */
@media (max-width: 767px) {
    .elementor-element-ff9d957 .cfvsw-swatches-option {
        font-size: 15px !important;
        padding: 4px 10px !important;
        height: 50px !important;
        margin-bottom: 3px !important;
    }
}

/* Bouton actif */
.elementor-element-ff9d957 .cfvsw-swatches-option.cfvsw-selected-swatch {
    color: #ffffff !important;
    background-color: #7F3FFF !important;
    border: 3px solid #f6e31d !important;
}

.elementor-element-ff9d957 .discount-label {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-color: #f6e31d !important;
    color: black !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 1px 4px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    border: 1px dashed #000 !important;
    z-index: 10 !important;
    display: inline-block !important;
    line-height: 1 !important;
    height: auto !important;
    max-width: max-content !important;
    box-sizing: content-box !important;
}

/* Version tablette et desktop */
@media (min-width: 768px) {
    .elementor-element-ff9d957 .discount-label {
        font-size: 13px !important;
        padding: 2px 6px !important;
    }
}

/* Conteneur global des options */
.elementor-element-ff9d957 .wcsatt-options-wrapper {
    margin: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
}

/* Conteneur de la liste des options */
.elementor-element-ff9d957 .wcsatt-options-prompt-radios,
.elementor-element-ff9d957 .wcsatt-options-prompt-radio {
    margin: 0 !important;
    padding-left: 0 !important;
}

/* Option "Acheter une fois" */
.elementor-element-ff9d957 .wcsatt-options-prompt-label-one-time {
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #7F3FFF !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    height: 50px !important;
    position: relative !important;
    box-sizing: border-box !important;
}
.elementor-element-ff9d957 .wcsatt-options-prompt-label-one-time .wcsatt-options-prompt-action {
    display: flex !important;
    align-items: center !important;
    flex-grow: 1 !important;
}
.elementor-element-ff9d957 .wcsatt-options-prompt-label-one-time .price {
    display: block !important;
    margin-left: auto !important;
    font-size: 16px !important;
    color: #000000 !important;
}
.elementor-element-ff9d957 .wcsatt-options-prompt-label-one-time::after {
    content: none !important;
}

/* Option "S’abonner pour" */
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription {
    background-color: #7F3FFF !important;
    color: #ffffff !important;
    border: 3px solid #f6e31d !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription *,
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription .subscription-custom-text,
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription .woocommerce-Price-amount,
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription .subscription-details {
    color: #ffffff !important;
}
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription .subscription-custom-text {
    margin-top: 10px !important;
}
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription .subscription-custom-text p {
    margin-left: 0 !important;
}

/* Responsive pour subscription-highlight-label */
@media (max-width: 768px) {
    .elementor-element-ff9d957 .subscription-highlight-label { right: 15px; }
}
@media (max-width: 480px) {
    .elementor-element-ff9d957 .subscription-highlight-label { right: 10px; }
}
@media (max-width: 320px) {
    .elementor-element-ff9d957 .subscription-highlight-label { right: 8px; }
}

/* Quand "Acheter une fois" est activé */
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription.one-time-selected {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #800080 !important;
}
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription.one-time-selected *,
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription.one-time-selected .woocommerce-Price-amount,
.elementor-element-ff9d957 .wcsatt-options-prompt-label-subscription.one-time-selected .subscription-details {
    color: #000000 !important;
}

/* Étiquette "Le plus rentable" */
.subscription-option-wrapper .most-profitable-label {
    position: absolute;
    top: -5px !important;
    right: 20px;
    background-color: #f6e31d;
    color: #7F3FFF;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #7F3FFF;
    font-weight: bold !important;
    line-height: 1.2;
    z-index: 10;
    display: none;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.subscription-option-wrapper.show-most-profitable .most-profitable-label {
    display: block !important;
}

/* Masquer le texte "Quantité" et "Quantité de pack" sur le front-end */
body:not(.wp-admin) .variations th.label label[for="pa_quantite"],
body:not(.wp-admin) .variations th.label label[for="pa_quantitepack"] {
    color: transparent;
    font-size: 1px;
    line-height: 1px;
    position: relative;
    top: -50px;
}
body:not(.wp-admin) .variations th.label {
    width: 0;
    padding: 0;
    margin: 0;
    height: 0;
}
body.wp-admin .variations th.label label[for="pa_quantite"],
body.wp-admin .variations th.label label[for="pa_quantitepack"] {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    position: static;
    top: 0;
}
body.wp-admin .variations th.label {
    width: auto;
    padding: inherit;
    margin: inherit;
    height: auto;
}
.variations th.label,
.variations td.value {
    background-color: transparent !important;
}

/* Alignement des swatches */
.cfvsw-swatches-container.cfvsw-product-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.cfvsw-swatches-option.cfvsw-label-option {
    min-width: 0;
    width: 32%;
}
.wcsatt-options-product-prompt .wcsatt-options-prompt-label-subscription {
    display: block;
}
.wcsatt-options-product-prompt .wcsatt-options-prompt-label-subscription .wcsatt-options-prompt-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 0.6em;
}
.wcsatt-options-product-prompt .price.subscription-price,
.wcsatt-options-product-wrapper .price.subscription-price {
    display: inline-block;
    text-align: right;
    font-weight: bold;
}
.wcsatt-options-product-prompt .price.subscription-price del,
.wcsatt-options-product-prompt .price.subscription-price ins,
.wcsatt-options-product-wrapper .price.subscription-price del,
.wcsatt-options-product-wrapper .price.subscription-price ins {
    display: block;
    margin: 0;
    font-size: 16px !important;
}
.wcsatt-options-product-prompt .subscription-details,
.wcsatt-options-product-wrapper .subscription-details {
    display: none;
}

/* ——— Bouton “Ajouter au panier” orange/transparent ——— */
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt,
.woocommerce-page div.product form.cart .single_add_to_cart_button.button.alt {
    width: 100%;
    border-radius: 12px;
    font-size: 40px !important;
    font-weight: 400 !important;
    color: #F89201 !important;
    background-color: transparent !important;
    border: 2px solid #F89201 !important;
