/*!
Theme Name: Kadence
Theme URI: https://www.kadencewp.com/kadence-theme/
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.4.2
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence
Requires at least: 6.3
Tested up to: 6.8.3
Tags: translation-ready, accessibility-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/
/* ==== CSS SIMPLE ET EFFICACE POUR EXTRA PRODUCT OPTIONS ==== */

/* Réinitialisation */
.wl-addto-cart * {
    box-sizing: border-box;
	font-size: 18px;
}

/* Conteneur principal */
.wl-addto-cart {
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ==== CHAQUE SECTION (BLOC BLANC) ==== */
.wl-addto-cart .cpf-section,
.wl-addto-cart .tm-epo-field-wrapper,
.wl-addto-cart .cpf-type-select,
.wl-addto-cart .cpf-type-radio,
.wl-addto-cart .cpf-type-checkbox {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
}

/* ==== TITRE DE CHAQUE SECTION ==== */
.wl-addto-cart .cpf-section h4,
.wl-addto-cart .tm-epo-field-label,
.wl-addto-cart label.cpf-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    text-align: right;
    display: block;
}

/* ==== DESCRIPTION SOUS LE TITRE ==== */
.wl-addto-cart .cpf-section p,
.wl-addto-cart .tm-epo-field-description,
.wl-addto-cart .cpf-description {
    font-size: 12px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-align: right;
}

/* ==== CHAMPS SELECT (DROPDOWN) ==== */
.wl-addto-cart select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    background: white;
    color: #333;
    text-align: right;
    direction: rtl;
    height: 45px;
}

.wl-addto-cart select:focus {
    outline: none;
    border-color: #999;
}

/* ==== PRIX À GAUCHE DU SELECT ==== */
.wl-addto-cart .cpf-price-display,
.wl-addto-cart .tm-epo-field-price {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #d4af37;
    font-size: 14px;
}

/* Container pour avoir le prix à côté */
.wl-addto-cart .cpf-field-wrapper,
.wl-addto-cart .tm-epo-field-container {
    position: relative;
}

/* ==== PRIX EN OR ==== */
.wl-addto-cart .price,
.wl-addto-cart .amount,
.wl-addto-cart .woocommerce-Price-amount {
    color: #d4af37 !important;
    font-weight: 600;
}

/* ==== CHAMPS INPUT TEXTE ==== */
.wl-addto-cart input[type="text"],
.wl-addto-cart input[type="number"],
.wl-addto-cart textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    text-align: right;
    direction: rtl;
}

/* ==== RADIO BUTTONS ==== */
.wl-addto-cart .cpf-radio-option,
.wl-addto-cart .tm-epo-field-radio {
    display: block;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 8px;
    cursor: pointer;
    background: white;
    transition: all 0.2s;
}

.wl-addto-cart .cpf-radio-option:hover,
.wl-addto-cart .tm-epo-field-radio:hover {
    background: #f9f9f9;
    border-color: #999;
}

.wl-addto-cart .cpf-radio-option input:checked,
.wl-addto-cart .tm-epo-field-radio input:checked {
    background: #f0f0f0;
    border-color: #666;
}

/* ==== SECTION TOTAUX ==== */
.wl-addto-cart .cpf-total-section,
.wl-addto-cart .tm-totals-form-main {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
}

/* Ligne Options Amount */
.wl-addto-cart .cpf-options-total,
.wl-addto-cart .tm-options-totals {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-weight: 600;
}

/* Ligne Final Total */
.wl-addto-cart .cpf-final-total,
.wl-addto-cart .tm-final-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 5px 0;
    font-size: 16px;
    font-weight: 700;
}

/* Prix totaux en or */
.wl-addto-cart .cpf-total-section .price,
.wl-addto-cart .tm-totals-form-main .price {
    color: #d4af37 !important;
    font-size: 18px;
    font-weight: 700;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    .wl-addto-cart .cpf-section,
    .wl-addto-cart .tm-epo-field-wrapper {
        padding: 15px;
    }
    
    .wl-addto-cart .cpf-section h4,
    .wl-addto-cart .tm-epo-field-label {
        font-size: 13px;
    }
}

/* ==== NETTOYER LES STYLES PAR DÉFAUT ==== */
.wl-addto-cart input[type="radio"],
.wl-addto-cart input[type="checkbox"] {
    margin-left: 8px;
}

/* Astérisque rouge pour requis */
.wl-addto-cart .required,
.wl-addto-cart .cpf-required {
    color: #e74c3c;
}

/* Espacements propres */
.wl-addto-cart .cpf-section + .cpf-section {
    margin-top: 0;
}

/* Alignement RTL pour tout */
.wl-addto-cart * {
    text-align: right;
    direction: rtl;
	font-size: 18px !important;
}