/* ==========================================================================
   excel-exercice.com — WooCommerce "Mon compte" v2 (Themify optimisé)
   Palette B : Sauge clair & accent Excel (#1f6f3e)
   --------------------------------------------------------------------------
   Design par Claude Design — Adapté pour Themify
   À coller dans : /css/woocommerce-custom-v2.css

   Chargement via functions.php :
   function custom_enqueue_woocommerce_styles() {
       if (class_exists('WooCommerce')) {
           wp_enqueue_style(
               'woocommerce-custom',
               get_stylesheet_directory_uri() . '/css/woocommerce-custom-v2.css',
               array(),
               '2.0'
           );
       }
   }
   add_action('wp_enqueue_scripts', 'custom_enqueue_woocommerce_styles', 20);
   ========================================================================== */

/* Import Manrope font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. VARIABLES — un seul endroit pour tout ajuster
   -------------------------------------------------------------------------- */
:root {
    /* Couleurs */
    --eex-page-bg:        #f5f8f2;
    --eex-sidebar-bg:     #e9efe1;
    --eex-sidebar-border: #d6dfc9;
    --eex-card-bg:        #ffffff;
    --eex-card-border:    #e0e7d6;
    --eex-text:           #1a2818;
    --eex-muted:          #6c7a65;
    --eex-accent:         #1f6f3e;    /* vert Excel raffiné */
    --eex-accent-soft:    #cfe2c4;
    --eex-accent-ink:     #0e3a22;
    --eex-accent-hover:   #185c34;

    /* Statuts */
    --eex-status-ok-bg:   #cfe2c4;
    --eex-status-ok-fg:   #0e3a22;
    --eex-status-warn-bg: #fdf1e1;
    --eex-status-warn-fg: #9a6810;

    /* Mesures */
    --eex-radius:         12px;
    --eex-radius-sm:      8px;
    --eex-radius-pill:    999px;
}

/* --------------------------------------------------------------------------
   2. CONTENEUR PRINCIPAL
   -------------------------------------------------------------------------- */
.woocommerce {
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    gap: 52px !important;
    align-items: start !important;
    padding: 40px 7% !important;
    background: var(--eex-page-bg) !important;
    color: var(--eex-text) !important;
    font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION LATÉRALE
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-navigation {
    background: var(--eex-sidebar-bg) !important;
    border: 1px solid var(--eex-sidebar-border) !important;
    border-radius: var(--eex-radius) !important;
    padding: 18px 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 100px !important;
    width: 100% !important;
    min-width: 240px !important;
    max-width: 240px !important;
    height: fit-content !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

/* Réorganiser l'ordre des items du menu */
.woocommerce-MyAccount-navigation li:nth-child(1) { order: 1; } /* Tableau de bord */
.woocommerce-MyAccount-navigation li:nth-child(2) { order: 2; } /* Commandes */
.woocommerce-MyAccount-navigation li:nth-child(3) { order: 3; } /* Téléchargements */
.woocommerce-MyAccount-navigation li:nth-child(6) { order: 4; } /* Mes cours (remontées après téléchargements) */
.woocommerce-MyAccount-navigation li:nth-child(4) { order: 5; } /* Adresse */
.woocommerce-MyAccount-navigation li:nth-child(5) { order: 6; } /* Détails du compte */
.woocommerce-MyAccount-navigation li:nth-child(7) { order: 7; } /* Se déconnecter */

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--eex-radius-sm);
    font-size: 16px;
    font-weight: 500;
    color: var(--eex-text);
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}

.woocommerce-MyAccount-navigation a:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--eex-accent-ink);
    text-decoration: none;
}

/* Item actif — style "bordure gauche verte" sur fond blanc */
.woocommerce-MyAccount-navigation-link.is-active a {
    background: var(--eex-card-bg);
    border: 1px solid var(--eex-card-border);
    box-shadow: inset 3px 0 0 var(--eex-accent);
    padding-left: 15px;
    font-weight: 700;
    color: var(--eex-accent-ink);
}

/* --------------------------------------------------------------------------
   4. ICÔNES DU MENU — SVG en CSS (remplace les emojis)
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-navigation a::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    /* fallback grille (sera surchargé par les icônes spécifiques) */
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='7' height='9' rx='1.5'/><rect x='14' y='3' width='7' height='5' rx='1.5'/><rect x='14' y='12' width='7' height='9' rx='1.5'/><rect x='3' y='16' width='7' height='5' rx='1.5'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='7' height='9' rx='1.5'/><rect x='14' y='3' width='7' height='5' rx='1.5'/><rect x='14' y='12' width='7' height='9' rx='1.5'/><rect x='3' y='16' width='7' height='5' rx='1.5'/></svg>");
    margin-right: 0;
    font-family: inherit;
}

/* Commandes — icône facture */
.woocommerce-MyAccount-navigation-link--orders a::before,
.woocommerce-MyAccount-navigation a[href*="orders"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3h9l3 3v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'/><path d='M8 9h8M8 13h8M8 17h5'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3h9l3 3v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'/><path d='M8 9h8M8 13h8M8 17h5'/></svg>");
    content: '';
}

/* Téléchargements — flèche vers le bas */
.woocommerce-MyAccount-navigation-link--downloads a::before,
.woocommerce-MyAccount-navigation a[href*="downloads"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='m7 10 5 5 5-5'/><rect x='4' y='18' width='16' height='2.5' rx='1'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='m7 10 5 5 5-5'/><rect x='4' y='18' width='16' height='2.5' rx='1'/></svg>");
    content: '';
}

/* Adresse — maison */
.woocommerce-MyAccount-navigation-link--edit-address a::before,
.woocommerce-MyAccount-navigation a[href*="edit-address"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11.5 12 4l9 7.5'/><path d='M5 10.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1v-9.5'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11.5 12 4l9 7.5'/><path d='M5 10.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1v-9.5'/></svg>");
    content: '';
}

/* Détails du compte — utilisateur */
.woocommerce-MyAccount-navigation-link--edit-account a::before,
.woocommerce-MyAccount-navigation a[href*="edit-account"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4 4-6 8-6s8 2 8 6'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4 4-6 8-6s8 2 8 6'/></svg>");
    content: '';
}

/* Mes cours (FoxLMS) — chapeau / graduation */
.woocommerce-MyAccount-navigation-link--mes-cours a::before,
.woocommerce-MyAccount-navigation a[href*="cours"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6.5 12 3l9 3.5L12 10 3 6.5z'/><path d='M7 8.5V14c0 1.5 2.5 3 5 3s5-1.5 5-3V8.5'/><path d='M21 6.5V12'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6.5 12 3l9 3.5L12 10 3 6.5z'/><path d='M7 8.5V14c0 1.5 2.5 3 5 3s5-1.5 5-3V8.5'/><path d='M21 6.5V12'/></svg>");
    content: '';
}

/* Se déconnecter — porte de sortie */
.woocommerce-MyAccount-navigation-link--customer-logout a::before,
.woocommerce-MyAccount-navigation a[href*="logout"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M14 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4'/><path d='M10 8 6 12l4 4'/><path d='M6 12h10'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M14 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4'/><path d='M10 8 6 12l4 4'/><path d='M6 12h10'/></svg>");
    content: '';
}

/* --------------------------------------------------------------------------
   5. ZONE DE CONTENU (à droite)
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex: unset !important;
    min-width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    border-left: none !important;
    box-shadow: none !important;
    font-size: 15px !important;
    width: 100% !important;
}

/* Titre principal "Mon compte" / "Commandes" / etc. */
.my-account-title,
.woocommerce-MyAccount-content > h1:first-child {
    font-size: 32px !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
    color: var(--eex-text) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 0 8px !important;
}

/* Sous-titre / paragraphes d'intro */
.woocommerce-MyAccount-content > p {
    color: var(--eex-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 720px;
}

.woocommerce-MyAccount-content > p strong {
    color: var(--eex-text);
}

/* Titres de section H2 */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content legend {
    color: var(--eex-text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 24px 0 14px;
}

/* --------------------------------------------------------------------------
   6. CARTES (commandes, téléchargements, adresses, etc.)
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads,
.woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm {
    background: var(--eex-card-bg);
    border: 1px solid var(--eex-card-border);
    border-radius: var(--eex-radius);
    padding: 22px;
    box-shadow: none;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   7. TABLEAUX (Commandes & Téléchargements)
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-content table.shop_table,
.woocommerce-MyAccount-content table.woocommerce-orders-table,
.woocommerce-MyAccount-content table.woocommerce-MyAccount-downloads {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    display: table;
    overflow: visible;
}

.woocommerce-MyAccount-content table.shop_table thead th {
    background: #f7f9f3;
    color: var(--eex-muted) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--eex-card-border) !important;
    border-top: none;
    white-space: nowrap;
}

.woocommerce-MyAccount-content table.shop_table tbody td {
    padding: 14px !important;
    border-top: 1px solid var(--eex-card-border) !important;
    background: var(--eex-card-bg);
    color: var(--eex-text) !important;
    font-size: 14px !important;
    text-align: left !important;
    vertical-align: middle;
    white-space: normal;
}

.woocommerce-MyAccount-content table.shop_table tbody tr:first-child td {
    border-top: none !important;
}

/* Numéro de commande + montant en tabular */
.woocommerce-orders-table__cell-order-number,
.woocommerce-orders-table__cell-order-total {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* Statuts de commande — pills colorées */
.woocommerce-orders-table__cell-order-status {
    font-size: 12px !important;
}

.woocommerce-orders-table__cell-order-status mark,
.woocommerce-orders-table__cell-order-status {
    background: var(--eex-status-ok-bg);
    color: var(--eex-status-ok-fg) !important;
    padding: 4px 10px;
    border-radius: var(--eex-radius-pill);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: capitalize;
    display: inline-block;
}

/* Cellule "Actions" — alignée à droite */
.woocommerce-orders-table__cell-order-actions,
.woocommerce-MyAccount-downloads .download-actions {
    text-align: right !important;
}

/* --------------------------------------------------------------------------
   8. BOUTONS (dans la zone Mon compte uniquement)
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content a.button,
.woocommerce-MyAccount-content button.button {
    background-color: var(--eex-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--eex-radius-sm) !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0.01em;
    transition: background-color .15s ease;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content a.button:hover,
.woocommerce-MyAccount-content button.button:hover {
    background-color: var(--eex-accent-hover) !important;
    color: #fff !important;
}

/* Bouton "Voir" dans la liste de commandes — style secondaire */
.woocommerce-orders-table .button.view {
    background-color: transparent !important;
    color: var(--eex-accent) !important;
    border: 1px solid var(--eex-card-border) !important;
    padding: 7px 12px !important;
    font-size: 12.5px !important;
}

.woocommerce-orders-table .button.view:hover {
    background-color: var(--eex-accent-soft) !important;
    color: var(--eex-accent-ink) !important;
    border-color: var(--eex-accent-soft) !important;
}

/* --------------------------------------------------------------------------
   9. FORMULAIRE "Détails du compte"
   -------------------------------------------------------------------------- */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--eex-card-border);
    border-radius: var(--eex-radius);
    padding: 18px 20px;
    margin: 18px 0;
    background: #fafbf7;
}

.woocommerce-EditAccountForm fieldset legend {
    padding: 0 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--eex-text);
}

.woocommerce-EditAccountForm .form-row {
    margin-bottom: 14px;
}

.woocommerce-EditAccountForm label {
    display: block;
    font-size: 12px;
    color: var(--eex-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.woocommerce-MyAccount-content input.input-text,
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
    width: 100%;
    background: var(--eex-card-bg);
    border: 1px solid var(--eex-card-border);
    border-radius: var(--eex-radius-sm);
    padding: 11px 14px;
    font-size: 14px;
    color: var(--eex-text);
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
    box-shadow: none;
}

.woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus {
    border-color: var(--eex-accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--eex-accent-soft);
}

/* --------------------------------------------------------------------------
   10. ADRESSES (page edit-address)
   -------------------------------------------------------------------------- */
.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce-Address {
    background: var(--eex-card-bg);
    border: 1px solid var(--eex-card-border);
    border-radius: var(--eex-radius);
    padding: 22px;
}

.woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--eex-card-border);
}

.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--eex-text);
}

.woocommerce-Address-title .edit {
    background: transparent !important;
    color: var(--eex-accent) !important;
    border: 1px solid var(--eex-card-border) !important;
    padding: 7px 12px !important;
    border-radius: var(--eex-radius-sm) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

.woocommerce-Address address {
    background: #fafbf7;
    border: 1px dashed var(--eex-card-border);
    border-radius: var(--eex-radius-sm);
    padding: 16px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--eex-text);
    font-style: normal;
}

/* --------------------------------------------------------------------------
   11. ZONE "Aucune commande" / message info
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-Message {
    background-color: var(--eex-card-bg) !important;
    border: 1px solid var(--eex-card-border) !important;
    border-top: 4px solid var(--eex-accent) !important;
    border-radius: var(--eex-radius) !important;
    padding: 20px 24px !important;
    color: var(--eex-text);
    font-size: 15px;
    text-align: left;
    box-shadow: none;
}

.woocommerce-MyAccount-content .woocommerce-info::before {
    display: none !important;
}

/* --------------------------------------------------------------------------
   12. LIENS — couleur d'accent harmonisée dans la zone compte
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-content a:not(.button) {
    color: var(--eex-accent);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-MyAccount-content a:not(.button):hover {
    color: var(--eex-accent-hover);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE (≤ 980px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 980px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 5%;
    }

    .woocommerce-MyAccount-navigation {
        position: static;
        max-width: none;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
    }

    .woocommerce-MyAccount-navigation a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .woocommerce-MyAccount-navigation a::before {
        width: 16px;
        height: 16px;
    }

    .woocommerce-Addresses {
        grid-template-columns: 1fr !important;
    }

    .my-account-title,
    .woocommerce-MyAccount-content > h1:first-child {
        font-size: 26px !important;
    }
}

@media screen and (max-width: 600px) {
    .woocommerce-MyAccount-content table.shop_table {
        font-size: 13px;
    }

    .woocommerce-MyAccount-content table.shop_table thead th,
    .woocommerce-MyAccount-content table.shop_table tbody td {
        padding: 10px !important;
    }
}

/* --------------------------------------------------------------------------
   14. COMPATIBILITÉ THEMIFY — Réinitialisation des conflits
   -------------------------------------------------------------------------- */

/* Réinitialiser les styles Themify qui pourraient entrer en conflit */
.woocommerce-account .woocommerce input[type="text"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce select,
.woocommerce-account .woocommerce textarea {
    box-sizing: border-box;
}

/* S'assurer que la polices Manrope s'applique partout */
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce * {
    font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Forcer la priorité des styles de la page Mon compte */
.woocommerce-account .woocommerce .button {
    font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Assurer les espacements correct */
.woocommerce-MyAccount-content {
    width: 100%;
}

/* Éviter les débordements sur petits écrans */
.woocommerce-account .woocommerce {
    box-sizing: border-box;
}
