.elementor-5050 .elementor-element.elementor-element-f638c64{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-5050 .elementor-element.elementor-element-a5e4e77{--spacer-size:20px;}.elementor-5050 .elementor-element.elementor-element-3279647{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-5050 .elementor-element.elementor-element-678e3db{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-5050 .elementor-element.elementor-element-50fabc6{--spacer-size:40px;}.elementor-5050 .elementor-element.elementor-element-68916b5{--display:grid;--min-height:0px;--e-con-grid-template-columns:1fr 2.5fr;--e-con-grid-template-rows:repeat(1, 1fr);--gap:0px 0px;--row-gap:0px;--column-gap:0px;--grid-auto-flow:row;border-style:none;--border-style:none;--border-radius:0px 0px 0px 0px;}.elementor-5050 .elementor-element.elementor-element-ed0a712{--display:flex;--min-height:100px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--gap:30px 30px;--row-gap:30px;--column-gap:30px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-5050 .elementor-element.elementor-element-ed0a712:not(.elementor-motion-effects-element-type-background), .elementor-5050 .elementor-element.elementor-element-ed0a712 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F7F7F7;}.elementor-5050 .elementor-element.elementor-element-ed0a712.e-con{--align-self:center;}.elementor-5050 .elementor-element.elementor-element-e6d50ce{--display:flex;}.elementor-5050 .elementor-element.elementor-element-1428e5b.elementor-element{--align-self:flex-start;}.elementor-5050 .elementor-element.elementor-element-14fad2b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-5050 .elementor-element.elementor-element-4aeaa27{--spacer-size:200px;}.elementor-5050 .elementor-element.elementor-element-f557389{--display:flex;}@media(max-width:1024px){.elementor-5050 .elementor-element.elementor-element-68916b5{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-5050 .elementor-element.elementor-element-3279647{--content-width:90%;}.elementor-5050 .elementor-element.elementor-element-68916b5{--content-width:90%;--e-con-grid-template-columns:1fr;--gap:30px 30px;--row-gap:30px;--column-gap:30px;--grid-auto-flow:row;--grid-justify-content:center;}}@media(min-width:768px){.elementor-5050 .elementor-element.elementor-element-3279647{--content-width:90%;}.elementor-5050 .elementor-element.elementor-element-68916b5{--content-width:90%;}}@media(max-width:1024px) and (min-width:768px){.elementor-5050 .elementor-element.elementor-element-68916b5{--content-width:90%;}}/* Start custom CSS for html, class: .elementor-element-ea620b2 *//* Styles par défaut pour desktop */
.title-with-line {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 2rem; 
}

.title-text {
  font-family: "Euclid Circular B", sans-serif;
  font-size: 40px; 
  font-weight: 600;
  color: #000000; 
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.title-line {
  flex: 1;
  height: 1px;
  background-color: #808080; 
  display: block;
  align-self: center;
  margin-bottom: -5px; /* décale la ligne de 5px vers le bas sur tous les écrans */
}

/* Media Queries pour tablettes et mobiles larges */
@media (max-width: 768px) {
  .title-with-line {
    flex-direction: row; 
    align-items: center;
    gap: 1rem;
  }
  .title-text {
    font-size: 35px; 
  }
  .title-line {
    flex: 1; 
    height: 1px;
    background-color: #808080;
    margin-bottom: -5px; /* même décalage que desktop */
    align-self: center; 
  }
}

/* Media Queries pour petits mobiles */
@media (max-width: 480px) {
  .title-with-line {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem; /* moins d’espace entre texte et tiret */
  }
  .title-text {
    font-size: 25px; /* texte plus petit pour petit écran */
  }
  .title-line {
    flex: 1;
    height: 1px;
    background-color: #808080;
    margin-bottom: -5px;
    align-self: center;
  }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-1428e5b *//* ===== HELLO USER ===== */
.hello-user {
    font-family: 'Euclid Circular B', sans-serif;
    font-size: 25px;
    line-height: 1.3;
}

.hello-line1,
.hello-line2 {
    display: block;
    font-family: 'Euclid Circular B', sans-serif;
    font-size: 25px;
}

.hello-line1 {
    font-weight: 400;
}

.hello-line2 {
    font-weight: 700;
}

/* ===== RESPONSIVE TABLETTE ===== */
@media (max-width: 1024px) {
    .hello-user,
    .hello-line1,
    .hello-line2 {
        font-size: 22px;
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .hello-user,
    .hello-line1,
    .hello-line2 {
        font-size: 20px;
    }
}

/* ===== RESPONSIVE PETIT MOBILE ===== */
@media (max-width: 480px) {
    .hello-user,
    .hello-line1,
    .hello-line2 {
        font-size: 18px;
    }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-8260edc *//* ===== FORMULAIRE DE MODIFICATION ===== */
.user-edit-form-wrapper {
    font-family: 'Euclid Circular B', sans-serif;
    margin-top: 30px;
}

.account-edit-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-family: 'Euclid Circular B', sans-serif;
}

/* Champs blancs sans bordure */
.form-control,
.user-edit-form-wrapper .form-control,
.account-edit-form .form-control,
input.form-control,
select.form-control {
    width: 100% !important;
    padding: 12px 15px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 15px;
    font-family: 'Euclid Circular B', sans-serif;
    transition: all 0.3s;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus,
.user-edit-form-wrapper .form-control:focus,
input.form-control:focus,
select.form-control:focus {
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
    background-color: #ffffff !important;
}

.form-control::placeholder {
    color: #999;
    font-style: italic;
}

/* Titre de section */
.form-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 70px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-family: 'Euclid Circular B', sans-serif;
}

/* Ligne avec espacement sur la première colonne uniquement */
.account-edit-form .form-row {
    display: flex !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.account-edit-form .form-row .form-group.form-col {
    flex: 1 !important;
    margin-bottom: 25px !important;
}

/* Ajouter un margin-right uniquement à la première colonne */
.account-edit-form .form-row .form-group.form-col:first-child {
    margin-right: 30px !important;
}

.account-edit-form .form-row .form-group.form-col label {
    margin-bottom: 8px !important;
}

.account-edit-form .form-row .form-group.form-col .form-control {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 15px !important;
}

/* Forcer l'alignement du select pays */
#user_country {
    width: 100% !important;
}

/* Select (liste déroulante) - style minimaliste blanc */
select.form-control {
    appearance: none;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 40px !important;
    cursor: pointer;
}

/* Actions avec les deux boutons côte à côte */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 50px;
}

/* Bouton sauvegarder */
.btn-save {
    background-color: #333;
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Euclid Circular B', sans-serif;
    position: relative;
    min-width: 250px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-save:hover:not(.saved) {
    background-color: #555;
}

/* État sauvegardé - bouton grisé avec icône */
.btn-save.saved {
    background-color: #999;
    cursor: default;
    pointer-events: none;
}

.btn-save .btn-check {
    display: none;
    width: 20px;
    height: 20px;
    position: relative;
}

.btn-save.saved .btn-check {
    display: inline-block;
}

/* Checkmark minimaliste en SVG */
.btn-save .btn-check::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Bouton de déconnexion */
.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Euclid Circular B', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
    text-align: center;
}

.btn-logout:hover {
    background-color: #333;
    color: #ffffff;
}

/* Style pour l'autocomplétion Google Places */
.pac-container {
    font-family: 'Euclid Circular B', sans-serif;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #d0d0d0;
    z-index: 9999;
}

.pac-item {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-query {
    font-size: 15px;
    color: #333;
}

/* Forcer l'alignement sur le .e-con-inner */
.elementor-5050 .elementor-element.elementor-element-68916b5 > .e-con-inner {
    align-items: start !important;
    align-content: start !important;
}

/* Double sécurité - forcer aussi sur les enfants directs */
.elementor-5050 .elementor-element.elementor-element-68916b5 > .e-con-inner > .e-con {
    align-self: start !important;
}


/* ===== RESPONSIVE TABLETTE ===== */
@media (max-width: 1024px) {
    .user-edit-form-wrapper {
        margin-top: 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-section-title {
        font-size: 18px;
        margin-top: 50px;
    }
    
    .form-actions {
        margin-top: 40px;
    }
    
    .btn-save {
        padding: 12px 28px;
        font-size: 15px;
        min-width: 220px;
    }
    
    .btn-logout {
        padding: 12px 28px;
        font-size: 15px;
        min-width: 130px;
    }
}


/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .user-edit-form-wrapper {
        margin-top: 20px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-control,
    .user-edit-form-wrapper .form-control,
    .account-edit-form .form-control,
    input.form-control,
    select.form-control {
        padding: 10px 12px !important;
        font-size: 14px;
    }
    
    .form-section-title {
        font-size: 17px;
        margin-top: 40px;
        margin-bottom: 8px;
    }
    
    /* Colonnes code postal / ville en stack sur mobile */
    .account-edit-form .form-row {
        flex-direction: column !important;
    }
    
    .account-edit-form .form-row .form-group.form-col {
        margin-bottom: 18px !important;
    }
    
    .account-edit-form .form-row .form-group.form-col:first-child {
        margin-right: 0 !important;
    }
    
    /* Boutons empilés sur mobile */
    .form-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 35px;
    }
    
    .btn-save {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        min-width: unset;
    }
    
    .btn-logout {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        min-width: unset;
    }
}


/* ===== RESPONSIVE PETIT MOBILE ===== */
@media (max-width: 480px) {
    .user-edit-form-wrapper {
        margin-top: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 12px;
    }
    
    .form-control,
    .user-edit-form-wrapper .form-control,
    .account-edit-form .form-control,
    input.form-control,
    select.form-control {
        padding: 10px !important;
        font-size: 13px;
    }
    
    .form-section-title {
        font-size: 16px;
        margin-top: 30px;
    }
    
    .form-actions {
        margin-top: 25px;
        gap: 10px;
    }
    
    .btn-save,
    .btn-logout {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 6px;
    }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-60f6c1d *//* Container principal */
.compte-onglets-container {
    background: #fff;
    overflow: hidden;
    font-family: 'Euclid Circular B', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Navigation des onglets */
.compte-onglets-nav {
    display: flex;
    gap: 0;
    background: #f8f8f8;
    padding: 0;
    align-items: flex-end;
}

/* ===== ALTERNANCE DE COULEURS POUR LES ONGLETS ===== */
.onglet-btn:nth-child(odd) {
    background-color: #f0f0f0;
}

.onglet-btn:nth-child(even) {
    background-color: #e8e8e8;
}

/* Onglets - DIV au lieu de BUTTON donc pas de border-radius du thème */
.onglet-btn {
    position: relative;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
    user-select: none;
}

.onglet-btn:hover {
    color: #333;
}

.onglet-btn.active {
    background: #fff !important;
    color: #000;
    font-weight: 600;
    z-index: 2;
}

.onglet-btn span {
    display: block;
}

/* Contenu des onglets */
.compte-onglets-content {
    padding: 30px 0 30px 30px;
    min-height: 400px;
}

.onglet-panel {
    display: none;
}

.onglet-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Commandes */
.commandes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.commande-item {
    border: none;
    border-radius: 0;
    padding: 20px;
    background: #f1f1f1; /* Fallback si pas de statut */
}

.commande-item:hover {
    box-shadow: none;
}

.commande-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.commande-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.commande-numero {
    font-weight: 600;
    font-size: 20px;
    color: #000;
}

.commande-date {
    font-size: 13px;
    color: #666;
}

/* Ancien badge de statut - désactivé */
/*
.statut-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.statut-completed {
    background: #c8e6c9;
    color: #2e7d32;
}

.statut-processing {
    background: #e0d4a8;
    color: #6b5c3e;
}

.statut-cancelled {
    background: #e0a9ad;
    color: #8b1c23;
}
*/

/* Fond des commandes - blanc avec bordure */
.commande-item.statut-bg-completed,
.commande-item.statut-bg-processing,
.commande-item.statut-bg-cancelled {
    background: #fff;
    position: relative;
    margin-top: 25px;
    padding: 20px;
    border: 2px solid #ddd;
}

/* Ombre uniquement en dessous */
.commande-item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 10px;
    right: 10px;
    height: 6px;
    background: transparent;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

/* Première commande */
.commande-item:first-child {
    margin-top: 0;
}

/* Bande de statut - bloc intérieur à droite */
.commande-item .statut-tab {
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    box-sizing: border-box;
}

.commande-item.statut-bg-completed .statut-tab {
    background: #c8e6c9;
    color: #2e7d32;
}

.commande-item.statut-bg-processing .statut-tab {
    background: #e0d4a8;
    color: #6b5c3e;
}

.commande-item.statut-bg-cancelled .statut-tab {
    background: #e0a9ad;
    color: #721c24;
}

.commande-produits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.commande-produit {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
}

.produit-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.produit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.produit-details {
    flex: 1;
}

.produit-nom {
    margin: 0 0 5px 0;
    font-weight: 500;
    color: #333;
}

.produit-qty {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.commande-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.commande-total {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.commande-actions {
    display: flex;
    gap: 10px;
}

.btn-voir-commande,
.btn-annuler-commande,
.btn-retour-commande {
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.btn-voir-commande {
    background: #333 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
}

.btn-voir-commande:hover,
.btn-voir-commande:focus,
.btn-voir-commande:active,
.btn-voir-commande.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.btn-voir-commande:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-annuler-commande {
    background: #d32f2f !important;
    color: #fff !important;
    border: 1px solid #d32f2f !important;
}

.btn-annuler-commande:hover {
    background: #b71c1c !important;
    color: #fff !important;
    border-color: #b71c1c !important;
}

.btn-retour-commande {
    background: #f57c00 !important;
    color: #fff !important;
    border: 1px solid #f57c00 !important;
}

.btn-retour-commande:hover {
    background: #e65100 !important;
    color: #fff !important;
    border-color: #e65100 !important;
}

.btn-annuler-commande:disabled,
.btn-retour-commande:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.no-commandes {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Certificats */
.certificats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-certificats {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.certificat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.certificat-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.certificat-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.certificat-tirage {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.certificat-date {
    font-size: 13px;
    color: #666;
}

.btn-telecharger-certificat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s ease;
}

.btn-telecharger-certificat:hover {
    background: #000;
}

/* Bouton annulation envoyée (grisé) */
.btn-annuler-commande.btn-annulation-envoyee {
    background: #e0e0e0 !important;
    color: #999 !important;
    border: 1px solid #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.btn-annuler-commande.btn-annulation-envoyee:hover {
    background: #e0e0e0 !important;
    color: #999 !important;
}

.btn-annuler-commande:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== ACCORDÉON DÉTAILS (AJOUT) ===== */
.commande-details {
    display: none;
    padding: 0;
    background: transparent;
    margin-top: 15px;
}

.commande-details.open {
    display: block;
}

.details-loading {
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 14px;
    background: transparent;
}

.details-content-wrapper {
    padding: 20px;
    background: transparent;
    border-radius: 0;
    font-family: 'Euclid Circular B', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Supprimer TOUT surlignage jaune */
.details-content-wrapper mark,
.details-content-wrapper .mark,
.details-content-wrapper *::selection {
    background: transparent !important;
    color: inherit !important;
}

.details-content-wrapper p {
    background: transparent !important;
}

/* Supprimer les liens hypertextes rouges */
.details-content-wrapper a {
    color: #333 !important;
    text-decoration: none !important;
}

.details-content-wrapper a:hover {
    color: #000 !important;
    text-decoration: underline !important;
}

/* Bloc détail de commande - fond gris léger sans bordure */
.details-content-wrapper .woocommerce-order-details {
    margin-bottom: 20px;
    background: #fafafa;
    padding: 25px;
    border-radius: 0;
    border: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Numéro de suivi */
.order-tracking-info {
    margin: 15px 0 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
}

.order-tracking-info p {
    margin: 0;
    font-size: 14px;
}

.order-tracking-info a {
    color: #333;
    text-decoration: underline;
}

.order-tracking-info a:hover {
    color: #000;
}

.order-tracking-info .no-tracking {
    color: #999;
    font-style: italic;
}

/* ===== BLOC SUIVI D'EXPÉDITION ===== */
.order-shipping-tracking {
    margin-bottom: 20px;
    background: #fafafa;
    padding: 25px;
    border: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.order-shipping-tracking h2 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

/* Bloc numéro de suivi */
.tracking-number-box {
    background: #fff;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tracking-label {
    font-weight: 600;
    color: #333;
}

.tracking-value {
    color: #000;
    font-weight: 500;
}

.tracking-value.no-tracking {
    color: #999;
    font-style: italic;
    font-weight: 400;
}

a.tracking-value {
    text-decoration: underline;
}

a.tracking-value:hover {
    color: #333;
}

/* Timeline de livraison */
.delivery-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}

.delivery-timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    margin-bottom: 10px;
    position: relative;
}

.timeline-step.completed .step-indicator {
    background: #333;
    border-color: #333;
}

.timeline-step.completed .step-indicator::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-title {
    font-size: 12px;
    font-weight: 500;
    color: #999;
}

.timeline-step.completed .step-title {
    color: #333;
    font-weight: 600;
}

.step-date {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

/* Bloc adresses - fond gris léger sans bordure */
.details-content-wrapper .woocommerce-customer-details {
    margin-bottom: 20px;
    background: #fafafa;
    padding: 25px;
    border-radius: 0;
    border: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.details-content-wrapper .woocommerce-customer-details:last-child {
    margin-bottom: 0;
}

/* Texte d'info commande passée */
.details-content-wrapper .woocommerce-order-details > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
}

/* TABLEAU SIMPLE - FOND BLANC + LIGNES GRISES */
.details-content-wrapper .woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.details-content-wrapper .woocommerce-table th,
.details-content-wrapper .woocommerce-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.details-content-wrapper .woocommerce-table thead th {
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e0e0e0;
}

.details-content-wrapper .woocommerce-table tbody tr {
    background: #fff;
}

.details-content-wrapper .woocommerce-table tbody td {
    border-bottom: 1px solid #e0e0e0;
}

.details-content-wrapper .woocommerce-table tbody tr:last-child td {
    border-bottom: 1px solid #e0e0e0;
}

.details-content-wrapper .woocommerce-table tfoot {
    background: #fff;
}

.details-content-wrapper .woocommerce-table tfoot tr {
    background: #fff;
}

.details-content-wrapper .woocommerce-table tfoot th,
.details-content-wrapper .woocommerce-table tfoot td {
    font-weight: 500;
    padding: 14px 20px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.details-content-wrapper h2 {
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 0;
    color: #333;
    font-weight: 600;
    font-family: 'Euclid Circular B', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.details-content-wrapper address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
    font-family: 'Euclid Circular B', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin-bottom: 12px;
}

.details-content-wrapper .woocommerce-customer-details p {
    margin: 0 0 8px 0;
    color: #666;
}

.details-content-wrapper .woocommerce-customer-details p:last-child {
    margin-bottom: 0;
}

/* Total en gras - fond blanc */
.details-content-wrapper .woocommerce-table tfoot tr:last-child {
    background: #fff;
}

.details-content-wrapper .woocommerce-table tfoot tr:last-child td,
.details-content-wrapper .woocommerce-table tfoot tr:last-child th {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    padding: 18px 20px;
    border-bottom: none;
}

/* Boutons dans les détails */
.details-content-wrapper .button,
.details-content-wrapper .woocommerce-button {
    display: inline-block;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s ease;
    font-family: 'Euclid Circular B', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.details-content-wrapper .button:hover,
.details-content-wrapper .woocommerce-button:hover {
    background: #000;
}


/* ===== ONGLET MON PROFIL - STYLE FORMULAIRE ===== */
.profil-container {
    max-width: 400px;
    margin: 0;
    padding: 20px 0;
}

.profil-form {
    background: #fff;
    padding: 0;
    text-align: left;
}

.profil-field-row {
    margin-bottom: 20px;
}

.profil-field-row label {
    font-family: 'Euclid Circular B', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.profil-field-row label .required {
    color: #e00;
}

.profil-field-row input[type="text"],
.profil-field-row input[type="email"],
.profil-field-row input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Euclid Circular B', sans-serif;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #666;
    box-sizing: border-box;
    cursor: not-allowed;
}

.profil-field-row input:disabled,
.profil-field-row input:readonly {
    opacity: 0.7;
}

.profil-actions {
    margin-top: 30px;
}

.btn-reset-password {
    width: 100%;
    padding: 14px 30px;
    font-family: 'Euclid Circular B', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-reset-password:hover {
    background-color: #333;
}

.btn-reset-password:disabled {
    background-color: #999;
    cursor: not-allowed;
}

#reset-password-message {
    margin-top: 20px;
}

#reset-password-message .woocommerce-message,
#reset-password-message .woocommerce-error {
    padding: 12px 15px;
    border-radius: 4px;
    font-family: 'Euclid Circular B', sans-serif;
    font-size: 0.9rem;
    list-style: none;
}

#reset-password-message .woocommerce-message {
    background-color: #efe;
    border-left: 3px solid #0c0;
    color: #070;
}

#reset-password-message .woocommerce-error {
    background-color: #fee;
    border-left: 3px solid #e00;
    color: #c00;
}

#reset-password-message .woocommerce-error li {
    list-style: none;
}

/* ===== RESPONSIVE TABLETTE ===== */
@media (max-width: 1024px) {
    .compte-onglets-content {
        padding: 25px 0;
    }
    
    .commande-item {
        border-radius: 0 !important;
    }
    
    .onglet-btn {
        padding: 10px 18px;
        font-size: 16px;
    }
    
    .details-content-wrapper .woocommerce-order-details,
    .details-content-wrapper .woocommerce-customer-details {
        padding: 20px;
    }
    
    .details-content-wrapper .woocommerce-table th,
    .details-content-wrapper .woocommerce-table td {
        padding: 12px 15px;
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    /* Navigation onglets - scroll horizontal */
    .compte-onglets-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .compte-onglets-nav::-webkit-scrollbar {
        display: none;
    }
    
    .onglet-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Contenu - pas de padding latéral */
    .compte-onglets-content {
        padding: 20px 0;
    }
    
    /* Commandes au bord */
    .commande-item {
        padding: 15px;
        border-radius: 0 !important;
    }
    
    .commande-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .commande-numero {
        font-size: 15px;
    }
    
    .commande-date {
        font-size: 12px;
    }
    
    .statut-badge {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    /* Produits */
    .commande-produit {
        padding: 8px;
        gap: 12px;
    }
    
    .produit-image {
        width: 50px;
        height: 50px;
    }
    
    .produit-nom {
        font-size: 14px;
    }
    
    .produit-qty {
        font-size: 12px;
    }
    
    /* Footer commande */
    .commande-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .commande-total {
        font-size: 16px;
    }
    
    .commande-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-voir-commande,
    .btn-annuler-commande,
    .btn-retour-commande {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Détails accordéon */
    .details-content-wrapper {
        padding: 10px 0;
    }
    
    .details-content-wrapper .woocommerce-order-details,
    .details-content-wrapper .woocommerce-customer-details {
        padding: 15px;
        border-radius: 6px;
        margin-bottom: 15px;
    }
    
    .details-content-wrapper h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .details-content-wrapper .woocommerce-order-details > p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    /* Tableau responsive */
    .details-content-wrapper .woocommerce-table {
        font-size: 13px;
    }
    
    .details-content-wrapper .woocommerce-table th,
    .details-content-wrapper .woocommerce-table td {
        padding: 10px 12px;
    }
    
    .details-content-wrapper .woocommerce-table thead th {
        font-size: 11px;
    }
    
    .details-content-wrapper .woocommerce-table tfoot tr:last-child td,
    .details-content-wrapper .woocommerce-table tfoot tr:last-child th {
        font-size: 14px;
        padding: 12px;
    }
    
    .details-content-wrapper address {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Profil */
    .profil-container {
        max-width: 100%;
        padding: 15px 0;
    }
    
    .profil-field-row {
        margin-bottom: 15px;
    }
    
    .profil-field-row label {
        font-size: 0.9rem;
    }
    
    .profil-field-row input[type="text"],
    .profil-field-row input[type="email"],
    .profil-field-row input[type="password"] {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .btn-reset-password {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Certificats */
    .info-certificats {
        padding: 30px 15px;
        font-size: 14px;
    }
    
    .certificat-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-telecharger-certificat {
        width: 100%;
        justify-content: center;
    }
}

/* ===== RESPONSIVE PETIT MOBILE ===== */
@media (max-width: 480px) {
    .onglet-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .compte-onglets-content {
        padding: 15px 0;
    }
    
    .commande-item {
        padding: 12px;
        border-radius: 0 !important;
    }
    
    .commande-numero {
        font-size: 14px;
    }
    
    .produit-image {
        width: 45px;
        height: 45px;
    }
    
    .produit-nom {
        font-size: 13px;
    }
    
    .commande-total {
        font-size: 15px;
    }
    
    .btn-voir-commande,
    .btn-annuler-commande,
    .btn-retour-commande {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .details-content-wrapper .woocommerce-order-details,
    .details-content-wrapper .woocommerce-customer-details {
        padding: 12px;
    }
    
    .details-content-wrapper .woocommerce-table th,
    .details-content-wrapper .woocommerce-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Forcer l'alignement en haut de la grille */
.elementor-5050 .elementor-element.elementor-element-68916b5 > .e-con-inner {
    align-items: start !important;
    align-content: start !important;
}

.elementor-5050 .elementor-element.elementor-element-68916b5 > .e-con-inner > .e-con {
    align-self: start !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-68916b5 *//* ===== RESPONSIVE COLONNES TABLETTE/MOBILE ===== */
@media (max-width: 1024px) {
    /* Convertir la grid en une seule colonne */
    .elementor-element-68916b5 {
        display: block !important;
        width: 90% !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
    }
    
    .elementor-element-68916b5 > .e-con-inner {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Colonne formulaire (gauche) - passe en dessous */
    .elementor-element-68916b5 .elementor-element-ed0a712 {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Colonne onglets (droite) - passe au dessus */
    .elementor-element-68916b5 .elementor-element-60f6c1d {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Tous les éléments enfants à 100% */
    .elementor-element-68916b5 .e-con,
    .elementor-element-68916b5 .elementor-widget,
    .elementor-element-68916b5 .elementor-widget-container,
    .elementor-element-68916b5 .elementor-shortcode {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .compte-onglets-container,
    .user-edit-form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}/* End custom CSS */