.elementor-10 .elementor-element.elementor-element-395dc9a7{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-10 .elementor-element.elementor-element-395dc9a7.e-con{--align-self:center;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-10 .elementor-element.elementor-element-e0920dc{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for container, class: .elementor-element-395dc9a7 *//* ============================================
   FORMULAIRE DE CONNEXION - CENTRÉ ET OPTIMISÉ
   ============================================ */

/* Centrer TOUT le conteneur woocommerce */
body:not(.logged-in) .woocommerce-account .woocommerce {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Titre centré */
body:not(.logged-in) h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    width: 100%;
}

/* Formulaire */
.woocommerce-form-login {
    width: 100%;
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

/* Labels - Réduire l'espace */
.woocommerce-form-login label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: block;
}

/* Supprimer les <br> visuellement */
.woocommerce-form-login br {
    display: none;
}

/* Groupes de champs */
.woocommerce-form-row {
    margin-bottom: 25px;
}

/* Champs de saisie */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
    margin-top: 0;
    margin-bottom: 0;
}

.woocommerce-form-login input:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Container du mot de passe avec icône */
.password-input {
    position: relative;
    display: block;
}

.password-input input {
    padding-right: 45px;
}

.password-input button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* Checkbox "Se souvenir de moi" */
.woocommerce-form-login__rememberme {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Bouton de connexion */
.woocommerce-form-login button[type="submit"] {
    background: #ff6b35 !important;
    color: white !important;
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-form-login button:hover {
    background: #e85a28 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Lien mot de passe perdu */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 20px;
}

.woocommerce-LostPassword a {
    color: #00b894;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.woocommerce-LostPassword a:hover {
    text-decoration: underline;
    color: #00a07d;
}

/* Responsive */
@media (max-width: 500px) {
    .woocommerce-form-login {
        padding: 40px 30px;
    }
}


/* ============================================
   PAGE MON COMPTE - CONNECTÉ (VERSION AMÉLIORÉE)
   ============================================ */

/* Layout 2 colonnes */
body.logged-in .woocommerce {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Navigation gauche */
body.logged-in .woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: fit-content;
}

body.logged-in .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.logged-in .woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

body.logged-in .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

body.logged-in .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 18px 25px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

body.logged-in .woocommerce-MyAccount-navigation a:hover {
    background: #fff5f0;
    color: #ff6b35;
    padding-left: 30px;
}

body.logged-in .woocommerce-MyAccount-navigation li.is-active a {
    background: #ff6b35;
    color: white;
    font-weight: 600;
}

body.logged-in .woocommerce-MyAccount-navigation li.is-active a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e85a28;
}

/* Contenu droite */
body.logged-in .woocommerce-MyAccount-content {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}



body.logged-in .woocommerce-MyAccount-content .woocommerce-info::before {
    content: "📋";
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Titres */
body.logged-in .woocommerce-MyAccount-content h2,
body.logged-in .woocommerce-MyAccount-content h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Texte */
body.logged-in .woocommerce-MyAccount-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Liens */
body.logged-in .woocommerce-MyAccount-content a:not(.button) {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
}

body.logged-in .woocommerce-MyAccount-content a:not(.button):hover {
    color: #e85a28;
    text-decoration: underline;
}

/* Tableaux */
body.logged-in .woocommerce-MyAccount-content table {
    width: 100%;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
}

body.logged-in .woocommerce-MyAccount-content table thead {
    background: #f8f9fa;
}

body.logged-in .woocommerce-MyAccount-content table thead th {
    padding: 15px;
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
    border: none;
    font-size: 0.95rem;
}

body.logged-in .woocommerce-MyAccount-content table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

body.logged-in .woocommerce-MyAccount-content table tbody tr:hover {
    background: #f8f9fa;
}

body.logged-in .woocommerce-MyAccount-content table tbody td {
    padding: 15px;
    border: none;
    vertical-align: middle;
}

/* Boutons */
body.logged-in .woocommerce-MyAccount-content .button,
body.logged-in .woocommerce-MyAccount-content a.button,
body.logged-in .woocommerce-MyAccount-content .wc-forward {
    background: #ff6b35 !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s !important;
    display: inline-block !important;
}

body.logged-in .woocommerce-MyAccount-content .button:hover,
body.logged-in .woocommerce-MyAccount-content a.button:hover,
body.logged-in .woocommerce-MyAccount-content .wc-forward:hover {
    background: #e85a28 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    body.logged-in .woocommerce {
        flex-direction: column;
    }
    
    body.logged-in .woocommerce-MyAccount-navigation {
        flex: none;
        width: 100%;
    }
}/* End custom CSS */