/* BoutiSuite — Mon compte, rendu fidèle au tableau de bord historique (style 02). */
.boutisuite-account-page .wcmtx-my-account-links{
  --wcmtx-col-lg:3;
  --wcmtx-col-md:2;
  --wcmtx-col-sm:1;
  --wcmtx-gap-lg:20px;
  width:100%;
  margin-top:30px;
}

.boutisuite-account-page .wcmtx-grid{
  --wcmtx-col:var(--wcmtx-col-lg,3);
  --wcmtx-gap:var(--wcmtx-gap-lg,20px);
  display:grid;
  grid-template-columns:repeat(var(--wcmtx-col),minmax(0,1fr));
  gap:var(--wcmtx-gap);
  width:100%;
  padding:1%;
  box-sizing:border-box;
}

.boutisuite-account-page .wcmamtx_dashboard_link{
  position:relative;
  min-width:0;
  min-height:112px;
  border:1px solid #ac9d9d;
  border-radius:10px;
  overflow:hidden;
  box-sizing:border-box;
}

.boutisuite-account-page .wcmamtx_dashboard_link a{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:112px;
  padding:18px 12px;
  box-sizing:border-box;
  font-size:10px;
  font-weight:600;
  line-height:1.25;
  text-align:center;
  text-decoration:none !important;
}

.boutisuite-account-page .wcmamtx_dashboard_link p.wcmtx_icon_src{
  margin:0 0 12px !important;
  padding:0;
  line-height:1;
}

.boutisuite-account-page .wcmamtx_dashboard_link .bs-account-icon{
  display:block;
  width:33px;
  height:33px;
  margin:0 auto;
}

.boutisuite-account-page .wcmamtx-banner-counter,
.boutisuite-account-page .bs-account-counter{
  position:absolute;
  z-index:2;
  top:10px;
  right:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:25px;
  height:25px;
  padding:0 7px;
  border-radius:9px;
  background:#1d9843;
  color:#fff !important;
  font-size:14px;
  font-weight:600;
  line-height:25px;
  box-sizing:border-box;
}

.boutisuite-account-page .wcmamtx_dashboard_link:hover{
  filter:brightness(1.05);
}

/* L'ancienne extension ne transformait pas le contenu WooCommerce en grande carte blanche.
   BoutiSuite laisse donc le thème gérer navigation et contenu, et ne recrée que le dashboard style 02. */

@media (max-width:900px){
  .boutisuite-account-page .wcmtx-grid{--wcmtx-col:var(--wcmtx-col-md,2);}
}

@media (max-width:768px){
  .boutisuite-account-page .wcmtx-grid{--wcmtx-col:var(--wcmtx-col-sm,1);display:grid;width:100%;}
  .boutisuite-account-page .wcmamtx_dashboard_link{margin-top:10px;}
}


/* =========================================================
   BOUTISUITE — HARMONISATION GLOBALE ESPACE CLIENT
   Style commun WooCommerce / Signaflow / Sublytic
   ========================================================= */

/* Zone principale de chaque rubrique */
.boutisuite-account-page .woocommerce-MyAccount-content{
    color:#344054;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

/* Titres des rubriques */
.boutisuite-account-page .woocommerce-MyAccount-content h2,
.boutisuite-account-page .woocommerce-MyAccount-content h3:not(.srss-account-box h3){
    color:#17283e;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    font-size:20px;
    line-height:1.3;
    font-weight:700;
    text-transform:none;
    letter-spacing:0;
    margin:0 0 16px;
}

/* Paragraphes */
.boutisuite-account-page .woocommerce-MyAccount-content p{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    line-height:1.55;
}

/* ---------------------------------------------------------
   TABLEAUX : commandes / téléchargements
   --------------------------------------------------------- */

.boutisuite-account-page .woocommerce-orders-table,
.boutisuite-account-page .woocommerce-table--order-downloads,
.boutisuite-account-page .woocommerce-table--order-details{
    width:100%;
    border:1px solid #e5eaf0 !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    border-radius:16px !important;
    overflow:hidden;
    background:#fff;
    box-shadow:0 6px 18px rgba(16,24,40,.06);
}

.boutisuite-account-page .woocommerce-orders-table thead th,
.boutisuite-account-page .woocommerce-table--order-downloads thead th,
.boutisuite-account-page .woocommerce-table--order-details thead th{
    background:#f8fafc !important;
    color:#667085 !important;
    font-size:11px !important;
    line-height:1.3 !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    letter-spacing:.045em !important;
    padding:14px 16px !important;
    border:0 !important;
    border-bottom:1px solid #e9eef4 !important;
}

.boutisuite-account-page .woocommerce-orders-table tbody td,
.boutisuite-account-page .woocommerce-table--order-downloads tbody td,
.boutisuite-account-page .woocommerce-table--order-details tbody td{
    background:#fff !important;
    color:#344054 !important;
    font-size:14px !important;
    padding:15px 16px !important;
    border:0 !important;
    border-bottom:1px solid #edf2f7 !important;
    vertical-align:middle !important;
}

.boutisuite-account-page .woocommerce-orders-table tbody tr:last-child td,
.boutisuite-account-page .woocommerce-table--order-downloads tbody tr:last-child td,
.boutisuite-account-page .woocommerce-table--order-details tbody tr:last-child td{
    border-bottom:0 !important;
}

.boutisuite-account-page .woocommerce-orders-table tbody tr:hover td,
.boutisuite-account-page .woocommerce-table--order-downloads tbody tr:hover td{
    background:#fbfcfe !important;
}

/* N° de commande et liens */
.boutisuite-account-page .woocommerce-orders-table a:not(.button),
.boutisuite-account-page .woocommerce-table--order-downloads a:not(.button){
    color:#1f69b3 !important;
    font-weight:700;
    text-decoration:none;
}

/* ---------------------------------------------------------
   BOUTONS
   --------------------------------------------------------- */

.boutisuite-account-page .woocommerce-MyAccount-content .button,
.boutisuite-account-page .woocommerce-MyAccount-content button.button,
.boutisuite-account-page .woocommerce-MyAccount-content input.button{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:40px !important;
    padding:9px 15px !important;
    border:1px solid #17324f !important;
    border-radius:10px !important;
    background:#17324f !important;
    background-image:none !important;
    color:#fff !important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
    font-size:13px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    text-transform:none !important;
    letter-spacing:0 !important;
    box-shadow:none !important;
    text-decoration:none !important;
    transition:.15s ease;
}

.boutisuite-account-page .woocommerce-MyAccount-content .button:hover,
.boutisuite-account-page .woocommerce-MyAccount-content button.button:hover,
.boutisuite-account-page .woocommerce-MyAccount-content input.button:hover{
    background:#10263d !important;
    border-color:#10263d !important;
    color:#fff !important;
}

/* ---------------------------------------------------------
   NOTICES / MESSAGES
   --------------------------------------------------------- */

.boutisuite-account-page .woocommerce-message,
.boutisuite-account-page .woocommerce-info,
.boutisuite-account-page .woocommerce-error{
    border:1px solid #e5eaf0 !important;
    border-radius:14px !important;
    background:#f8fafc !important;
    color:#475467 !important;
    padding:16px 18px !important;
    margin:0 0 20px !important;
    box-shadow:none !important;
}

.boutisuite-account-page .woocommerce-message:before,
.boutisuite-account-page .woocommerce-info:before{
    color:#1f69b3 !important;
}

/* ---------------------------------------------------------
   ADRESSES
   --------------------------------------------------------- */

.boutisuite-account-page .woocommerce-Addresses{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.boutisuite-account-page .woocommerce-Address{
    float:none !important;
    width:auto !important;
    margin:0 !important;
    padding:20px !important;
    background:#fff;
    border:1px solid #e5eaf0;
    border-radius:16px;
    box-shadow:0 6px 18px rgba(16,24,40,.06);
}

.boutisuite-account-page .woocommerce-Address-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 14px;
}

.boutisuite-account-page .woocommerce-Address-title h2,
.boutisuite-account-page .woocommerce-Address-title h3{
    margin:0 !important;
    font-size:17px !important;
}

.boutisuite-account-page .woocommerce-Address address{
    color:#667085;
    font-style:normal;
    line-height:1.6;
}

/* ---------------------------------------------------------
   MOYENS DE PAIEMENT
   --------------------------------------------------------- */

.boutisuite-account-page .woocommerce-PaymentMethods,
.boutisuite-account-page .woocommerce-MyAccount-paymentMethods{
    margin:0 0 18px !important;
    padding:0 !important;
    list-style:none !important;
}

.boutisuite-account-page .woocommerce-MyAccount-paymentMethods{
    width:100%;
    border:1px solid #e5eaf0 !important;
    border-radius:16px !important;
    overflow:hidden;
    background:#fff;
    box-shadow:0 6px 18px rgba(16,24,40,.06);
}

.boutisuite-account-page .woocommerce-MyAccount-paymentMethods th{
    background:#f8fafc !important;
    color:#667085 !important;
    padding:14px 16px !important;
    border:0 !important;
    border-bottom:1px solid #e9eef4 !important;
}

.boutisuite-account-page .woocommerce-MyAccount-paymentMethods td{
    padding:15px 16px !important;
    border:0 !important;
    border-bottom:1px solid #edf2f7 !important;
}

/* ---------------------------------------------------------
   FORMULAIRES / COMPTE / ADRESSES
   --------------------------------------------------------- */

.boutisuite-account-page .woocommerce-MyAccount-content input[type="text"],
.boutisuite-account-page .woocommerce-MyAccount-content input[type="email"],
.boutisuite-account-page .woocommerce-MyAccount-content input[type="tel"],
.boutisuite-account-page .woocommerce-MyAccount-content input[type="password"],
.boutisuite-account-page .woocommerce-MyAccount-content input[type="number"],
.boutisuite-account-page .woocommerce-MyAccount-content select,
.boutisuite-account-page .woocommerce-MyAccount-content textarea{
    width:100%;
    min-height:42px;
    padding:9px 12px !important;
    border:1px solid #d6dde6 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#344054 !important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
    font-size:14px !important;
    box-shadow:none !important;
}

.boutisuite-account-page .woocommerce-MyAccount-content input:focus,
.boutisuite-account-page .woocommerce-MyAccount-content select:focus,
.boutisuite-account-page .woocommerce-MyAccount-content textarea:focus{
    border-color:#8ca7c1 !important;
    outline:none !important;
    box-shadow:0 0 0 3px rgba(31,105,179,.08) !important;
}

.boutisuite-account-page .woocommerce-MyAccount-content label{
    color:#475467;
    font-size:13px;
    font-weight:700;
}

/* ---------------------------------------------------------
   SIGNAFLOW — MES CONTRATS
   --------------------------------------------------------- */

.boutisuite-account-page .signaflow-account-contracts{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}

.boutisuite-account-page .signaflow-account-contracts > div{
    margin:0 !important;
    padding:16px 18px !important;
    border:1px solid #e5eaf0 !important;
    border-radius:14px !important;
    background:#fff !important;
    box-shadow:0 4px 14px rgba(16,24,40,.05);
}

/* ---------------------------------------------------------
   PAGINATION
   --------------------------------------------------------- */

.boutisuite-account-page .woocommerce-pagination{
    margin-top:18px;
}

.boutisuite-account-page .woocommerce-pagination .button{
    margin-right:6px !important;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media(max-width:768px){

    .boutisuite-account-page .woocommerce-Addresses{
        grid-template-columns:1fr;
    }

    .boutisuite-account-page .woocommerce-orders-table,
    .boutisuite-account-page .woocommerce-table--order-downloads{
        box-shadow:none;
    }

    .boutisuite-account-page .woocommerce-orders-table tbody td,
    .boutisuite-account-page .woocommerce-table--order-downloads tbody td{
        padding:11px 13px !important;
    }
}

/* =========================================================
   ESPACE CLIENT — TABLEAUX WOO : OVERRIDE THÈME ARTKOMBAT
   ========================================================= */

.boutisuite-account-page .woocommerce-MyAccount-content table.shop_table,
.boutisuite-account-page .woocommerce-MyAccount-content table.woocommerce-orders-table{
    border:1px solid #e5eaf0!important;
    border-radius:16px!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 6px 18px rgba(16,24,40,.06)!important;
}

.boutisuite-account-page .woocommerce-MyAccount-content table.shop_table th,
.boutisuite-account-page .woocommerce-MyAccount-content table.woocommerce-orders-table th{
    background:#f8fafc!important;
    color:#667085!important;
    border:0!important;
    border-bottom:1px solid #e9eef4!important;
    padding:14px 16px!important;
    font-size:11px!important;
    font-weight:700!important;
    letter-spacing:.045em!important;
    text-transform:uppercase!important;
}

.boutisuite-account-page .woocommerce-MyAccount-content table.shop_table td,
.boutisuite-account-page .woocommerce-MyAccount-content table.woocommerce-orders-table td{
    background:#fff!important;
    color:#344054!important;
    border:0!important;
    border-bottom:1px solid #edf2f7!important;
    padding:15px 16px!important;
    font-size:14px!important;
    vertical-align:middle!important;
}

.boutisuite-account-page .woocommerce-MyAccount-content table.shop_table tr:last-child td,
.boutisuite-account-page .woocommerce-MyAccount-content table.woocommerce-orders-table tr:last-child td{
    border-bottom:0!important;
}

.boutisuite-account-page .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(even) td,
.boutisuite-account-page .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:nth-child(even) td{
    background:#fbfcfe!important;
}

.boutisuite-account-page .woocommerce-MyAccount-content table.shop_table tbody tr:hover td,
.boutisuite-account-page .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:hover td{
    background:#f6f9fc!important;
}

/* Numéros / liens */
.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a{
    color:#1f69b3!important;
    font-weight:700!important;
    text-decoration:none!important;
}

/* Boutons WooCommerce : neutralise le rouge Artkombat */
.boutisuite-account-page .woocommerce-MyAccount-content a.woocommerce-button,
.boutisuite-account-page .woocommerce-MyAccount-content a.button,
.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-orders-table .button{
    background:#17324f!important;
    background-image:none!important;
    border:1px solid #17324f!important;
    color:#fff!important;
    border-radius:10px!important;
    min-height:38px!important;
    padding:9px 14px!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-transform:none!important;
    letter-spacing:0!important;
    box-shadow:none!important;
}

.boutisuite-account-page .woocommerce-MyAccount-content a.woocommerce-button:hover,
.boutisuite-account-page .woocommerce-MyAccount-content a.button:hover,
.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-orders-table .button:hover{
    background:#10263d!important;
    border-color:#10263d!important;
    color:#fff!important;
}

/* Supprime les petites flèches décoratives du thème sur les boutons */
.boutisuite-account-page .woocommerce-MyAccount-content .button:before,
.boutisuite-account-page .woocommerce-MyAccount-content .button:after,
.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-button:before,
.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-button:after{
    display:none!important;
    content:none!important;
}


/* =========================================================
   ESPACE CLIENT — FINITIONS BOUTONS / MESSAGES
   ========================================================= */

/* Abonnement Coaching : bouton d'appel à l'action */
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-info a,
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-message a.button,
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-info a.button{
    background:#17324f!important;
    background-image:none!important;
    border:1px solid #17324f!important;
    color:#fff!important;
    border-radius:10px!important;
    padding:10px 16px!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.25!important;
    text-transform:none!important;
    letter-spacing:0!important;
    text-decoration:none!important;
    box-shadow:none!important;
}

body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-info a:hover,
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-info a.button:hover{
    background:#10263d!important;
    border-color:#10263d!important;
    color:#fff!important;
}


/* Retire la coche / icône WooCommerce devant le message */
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-info:before,
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-message:before{
    display:none!important;
    content:none!important;
}

/* Réaligne le texte après suppression de l'icône */
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-info,
body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-message{
    padding-left:18px!important;
}


/* Moyen de paiement — bouton ajouter */
body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="add-payment-method"],
body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="ajouter-moyen-paiement"]{
    background:#17324f!important;
    background-image:none!important;
    border:1px solid #17324f!important;
    color:#fff!important;
    border-radius:10px!important;
    padding:10px 16px!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.25!important;
    text-transform:none!important;
    letter-spacing:0!important;
    box-shadow:none!important;
}

body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="add-payment-method"]:hover,
body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="ajouter-moyen-paiement"]:hover{
    background:#10263d!important;
    border-color:#10263d!important;
    color:#fff!important;
}

body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="add-payment-method"]:before,
body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="add-payment-method"]:after,
body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="ajouter-moyen-paiement"]:before,
body.boutisuite-account-page .woocommerce-MyAccount-content a[href*="ajouter-moyen-paiement"]:after{
    display:none!important;
    content:none!important;
}


/* =========================================================
   ESPACE CLIENT — STYLE GLOBAL DE TOUS LES BOUTONS
   Neutralise définitivement le style rouge Artkombat
   ========================================================= */

html body.boutisuite-account-page .woocommerce-MyAccount-content a.button,
html body.boutisuite-account-page .woocommerce-MyAccount-content a.woocommerce-button,
html body.boutisuite-account-page .woocommerce-MyAccount-content button.button,
html body.boutisuite-account-page .woocommerce-MyAccount-content button[type="submit"],
html body.boutisuite-account-page .woocommerce-MyAccount-content input[type="submit"],
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-Button,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-button,
html body.boutisuite-account-page .woocommerce-MyAccount-content .button{
    appearance:none!important;
    -webkit-appearance:none!important;

    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:auto!important;
    max-width:100%!important;
    min-height:40px!important;

    margin:0!important;
    padding:10px 16px!important;

    background:#17324f!important;
    background-color:#17324f!important;
    background-image:none!important;

    border:1px solid #17324f!important;
    border-radius:10px!important;

    color:#ffffff!important;

    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.25!important;

    text-align:center!important;
    text-decoration:none!important;
    text-transform:none!important;
    letter-spacing:0!important;

    box-shadow:none!important;
    text-shadow:none!important;
}

/* Survol */
html body.boutisuite-account-page .woocommerce-MyAccount-content a.button:hover,
html body.boutisuite-account-page .woocommerce-MyAccount-content a.woocommerce-button:hover,
html body.boutisuite-account-page .woocommerce-MyAccount-content button.button:hover,
html body.boutisuite-account-page .woocommerce-MyAccount-content button[type="submit"]:hover,
html body.boutisuite-account-page .woocommerce-MyAccount-content input[type="submit"]:hover,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-Button:hover,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-button:hover,
html body.boutisuite-account-page .woocommerce-MyAccount-content .button:hover{
    background:#10263d!important;
    background-color:#10263d!important;
    background-image:none!important;
    border-color:#10263d!important;
    color:#ffffff!important;
}

/* Neutralise les flèches / coches / décorations injectées par Artkombat */
html body.boutisuite-account-page .woocommerce-MyAccount-content a.button:before,
html body.boutisuite-account-page .woocommerce-MyAccount-content a.button:after,
html body.boutisuite-account-page .woocommerce-MyAccount-content a.woocommerce-button:before,
html body.boutisuite-account-page .woocommerce-MyAccount-content a.woocommerce-button:after,
html body.boutisuite-account-page .woocommerce-MyAccount-content button.button:before,
html body.boutisuite-account-page .woocommerce-MyAccount-content button.button:after,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-Button:before,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-Button:after,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-button:before,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-button:after,
html body.boutisuite-account-page .woocommerce-MyAccount-content .button:before,
html body.boutisuite-account-page .woocommerce-MyAccount-content .button:after{
    content:none!important;
    display:none!important;
    background:none!important;
}

/* Si Artkombat colore également un élément interne du bouton */
html body.boutisuite-account-page .woocommerce-MyAccount-content .button > span,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-button > span,
html body.boutisuite-account-page .woocommerce-MyAccount-content .woocommerce-Button > span{
    background:transparent!important;
    background-image:none!important;
    color:inherit!important;
}

/* Boutons désactivés */
html body.boutisuite-account-page .woocommerce-MyAccount-content .button:disabled,
html body.boutisuite-account-page .woocommerce-MyAccount-content button:disabled{
    opacity:.55!important;
    cursor:not-allowed!important;
}


/* =========================================================
   ESPACE CLIENT — DÉTAIL D'UNE COMMANDE
   ========================================================= */

/* Phrase d'introduction de la commande */
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-order-details + p,
body.boutisuite-account-page .woocommerce-MyAccount-content > p:first-child{
    color:#667085!important;
    font-size:14px!important;
    line-height:1.55!important;
}

/* Titres */
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-order-details__title,
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-column__title,
body.boutisuite-account-page .woocommerce-MyAccount-content
h2{
    color:#17283e!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
    font-size:20px!important;
    line-height:1.3!important;
    font-weight:700!important;
    text-transform:none!important;
    letter-spacing:0!important;
    margin:22px 0 14px!important;
}

/* Tableau détail commande */
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-order-details table.shop_table{
    border:1px solid #e5eaf0!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 6px 18px rgba(16,24,40,.06)!important;
}

/* Lignes tableau */
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-order-details table.shop_table th{
    background:#f8fafc!important;
    color:#667085!important;
}

body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-order-details table.shop_table td{
    background:#fff!important;
    color:#344054!important;
}

/* Adresse de facturation/livraison */
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-customer-details address{
    background:#fff!important;
    border:1px solid #e5eaf0!important;
    border-radius:16px!important;
    padding:18px!important;
    color:#475467!important;
    line-height:1.6!important;
    box-shadow:0 4px 14px rgba(16,24,40,.05)!important;
}

/* Deux colonnes d'adresses si présentes */
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-columns--addresses{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
}

body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-column--billing-address,
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-column--shipping-address{
    float:none!important;
    width:auto!important;
    max-width:none!important;
}

/* Commander une nouvelle fois */
body.boutisuite-account-page .woocommerce-MyAccount-content
a.order-again,
body.boutisuite-account-page .woocommerce-MyAccount-content
p.order-again a,
body.boutisuite-account-page .woocommerce-MyAccount-content
.woocommerce-order-details + p a.button{
    background:#17324f!important;
    background-image:none!important;
    border:1px solid #17324f!important;
    color:#fff!important;
    border-radius:10px!important;
    padding:10px 16px!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
    font-size:13px!important;
    font-weight:700!important;
    text-transform:none!important;
    letter-spacing:0!important;
    box-shadow:none!important;
}

body.boutisuite-account-page .woocommerce-MyAccount-content
a.order-again:hover,
body.boutisuite-account-page .woocommerce-MyAccount-content
p.order-again a:hover{
    background:#10263d!important;
    border-color:#10263d!important;
}

/* Supprime la flèche Artkombat */
body.boutisuite-account-page .woocommerce-MyAccount-content
p.order-again a:before,
body.boutisuite-account-page .woocommerce-MyAccount-content
p.order-again a:after{
    display:none!important;
    content:none!important;
}

/* Mobile */
@media(max-width:768px){
    body.boutisuite-account-page .woocommerce-MyAccount-content
    .woocommerce-columns--addresses{
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   BOUTISUITE — RESPONSIVE MOBILE FINAL
   Uniquement l'espace client WooCommerce
   ========================================================= */

@media (max-width:768px){

    /* -----------------------------------------------------
       STRUCTURE GÉNÉRALE
       ----------------------------------------------------- */

    html body.boutisuite-account-page .woocommerce{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }

    html body.boutisuite-account-page .woocommerce-MyAccount-navigation,
    html body.boutisuite-account-page .woocommerce-MyAccount-content{
        float:none!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        box-sizing:border-box!important;
    }

    html body.boutisuite-account-page .woocommerce-MyAccount-navigation{
        margin:0 0 20px!important;
    }

    html body.boutisuite-account-page .woocommerce-MyAccount-content{
        margin:0!important;
        padding:0!important;
        overflow:visible!important;
    }

    html body.boutisuite-account-page .woocommerce-MyAccount-content *{
        box-sizing:border-box;
        max-width:100%;
    }


    /* -----------------------------------------------------
       MENU ESPACE CLIENT
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .woocommerce-MyAccount-navigation ul{
        width:100%!important;
        max-width:100%!important;
        margin:0!important;
        box-sizing:border-box!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-navigation li{
        width:100%!important;
        max-width:100%!important;
        box-sizing:border-box!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-navigation li a{
        width:100%!important;
        min-height:44px!important;
        box-sizing:border-box!important;
        white-space:normal!important;
        overflow-wrap:anywhere!important;
    }


    /* -----------------------------------------------------
       DASHBOARD — 2 CARTES PAR LIGNE
       ----------------------------------------------------- */

    html body.boutisuite-account-page .wcmtx-grid{
        --wcmtx-col:2!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:10px!important;
        padding:0!important;
        width:100%!important;
    }

    html body.boutisuite-account-page .wcmamtx_dashboard_link{
        width:100%!important;
        min-width:0!important;
        min-height:105px!important;
        margin:0!important;
    }

    html body.boutisuite-account-page .wcmamtx_dashboard_link a{
        width:100%!important;
        min-width:0!important;
        min-height:105px!important;
        padding:14px 8px!important;
        overflow-wrap:anywhere!important;
    }

    html body.boutisuite-account-page
    .wcmamtx_dashboard_link .bs-account-icon{
        width:29px!important;
        height:29px!important;
    }


    /* -----------------------------------------------------
       TITRES / TEXTES
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content h2,
    html body.boutisuite-account-page
    .woocommerce-MyAccount-content h3{
        font-size:18px!important;
        line-height:1.3!important;
        overflow-wrap:anywhere!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content p{
        font-size:14px!important;
        overflow-wrap:anywhere!important;
    }


    /* -----------------------------------------------------
       COMMANDES + TÉLÉCHARGEMENTS
       Transformation en cartes verticales
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-orders-table,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--order-downloads,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--downloads{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        border:0!important;
        border-radius:0!important;
        background:transparent!important;
        box-shadow:none!important;
        overflow:visible!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-orders-table thead,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--order-downloads thead,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--downloads thead{
        display:none!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-orders-table tbody,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--order-downloads tbody,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--downloads tbody{
        display:block!important;
        width:100%!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-orders-table tbody tr,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--order-downloads tbody tr,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--downloads tbody tr{
        display:block!important;
        width:100%!important;
        margin:0 0 14px!important;
        padding:8px 14px!important;
        border:1px solid #e5eaf0!important;
        border-radius:14px!important;
        background:#fff!important;
        box-shadow:0 4px 14px rgba(16,24,40,.05)!important;
        overflow:hidden!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-orders-table tbody td,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--order-downloads tbody td,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--downloads tbody td{
        display:flex!important;
        align-items:flex-start!important;
        justify-content:space-between!important;
        gap:14px!important;
        width:100%!important;
        max-width:100%!important;
        padding:10px 0!important;
        border:0!important;
        border-bottom:1px solid #edf2f7!important;
        background:#fff!important;
        text-align:right!important;
        overflow-wrap:anywhere!important;
        word-break:break-word!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-orders-table tbody td:last-child,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--order-downloads tbody td:last-child,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.woocommerce-table--downloads tbody td:last-child{
        border-bottom:0!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content
    table.shop_table_responsive td:before{
        flex:0 0 42%!important;
        max-width:42%!important;
        margin:0!important;
        color:#667085!important;
        font-size:11px!important;
        line-height:1.3!important;
        font-weight:700!important;
        text-align:left!important;
        text-transform:uppercase!important;
        letter-spacing:.035em!important;
        white-space:normal!important;
    }


    /* -----------------------------------------------------
       BOUTONS DANS COMMANDES
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .woocommerce-orders-table__cell-order-actions{
        display:block!important;
        text-align:left!important;
    }

    html body.boutisuite-account-page
    .woocommerce-orders-table__cell-order-actions:before{
        display:none!important;
    }

    html body.boutisuite-account-page
    .woocommerce-orders-table__cell-order-actions .button{
        display:flex!important;
        width:100%!important;
        max-width:none!important;
        margin:4px 0!important;
    }


    /* -----------------------------------------------------
       BOUTONS TÉLÉCHARGEMENT
       ----------------------------------------------------- */

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.alt,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.btn,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.alt.btn{
        display:flex!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        min-height:44px!important;

        padding:11px 12px!important;

        background:#17324f!important;
        background-color:#17324f!important;
        background-image:none!important;

        border:1px solid #17324f!important;
        border-radius:10px!important;

        color:#fff!important;

        font-size:12px!important;
        line-height:1.35!important;

        white-space:normal!important;
        word-break:break-word!important;
        overflow-wrap:anywhere!important;

        box-shadow:none!important;
    }

    html body.boutisuite-account-page
    .woocommerce-table--order-downloads td.download-file,

    html body.boutisuite-account-page
    .woocommerce-table--downloads td.download-file{
        display:block!important;
        width:100%!important;
        text-align:left!important;
    }

    html body.boutisuite-account-page
    .woocommerce-table--order-downloads td.download-file:before,

    html body.boutisuite-account-page
    .woocommerce-table--downloads td.download-file:before{
        display:block!important;
        max-width:none!important;
        margin:0 0 8px!important;
    }


    /* -----------------------------------------------------
       DÉTAIL D'UNE COMMANDE
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .woocommerce-order-details table.shop_table{
        width:100%!important;
        table-layout:fixed!important;
    }

    html body.boutisuite-account-page
    .woocommerce-order-details table.shop_table th,

    html body.boutisuite-account-page
    .woocommerce-order-details table.shop_table td{
        padding:11px 10px!important;
        font-size:13px!important;
        overflow-wrap:anywhere!important;
        word-break:break-word!important;
    }


    /* -----------------------------------------------------
       ADRESSES
       ----------------------------------------------------- */

    html body.boutisuite-account-page .woocommerce-Addresses,
    html body.boutisuite-account-page .woocommerce-columns--addresses{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:12px!important;
        width:100%!important;
    }

    html body.boutisuite-account-page .woocommerce-Address,
    html body.boutisuite-account-page
    .woocommerce-customer-details address{
        width:100%!important;
        max-width:100%!important;
        padding:16px!important;
    }


    /* -----------------------------------------------------
       FORMULAIRES
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content .form-row-first,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content .form-row-last{
        float:none!important;
        width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
    }

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content input,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content select,

    html body.boutisuite-account-page
    .woocommerce-MyAccount-content textarea{
        max-width:100%!important;
    }


    /* -----------------------------------------------------
       NOTICES
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .woocommerce-message,

    html body.boutisuite-account-page
    .woocommerce-info,

    html body.boutisuite-account-page
    .woocommerce-error{
        width:100%!important;
        max-width:100%!important;
        padding:14px!important;
        font-size:13px!important;
        line-height:1.45!important;
        overflow-wrap:anywhere!important;
    }


    /* -----------------------------------------------------
       SIGNAFLOW
       ----------------------------------------------------- */

    html body.boutisuite-account-page
    .signaflow-account-contracts,

    html body.boutisuite-account-page
    .signaflow-account-contracts > div{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }

}


@media (max-width:380px){

    html body.boutisuite-account-page .wcmtx-grid{
        grid-template-columns:1fr!important;
    }

    html body.boutisuite-account-page .wcmamtx_dashboard_link,
    html body.boutisuite-account-page .wcmamtx_dashboard_link a{
        min-height:92px!important;
    }

}

/* BOUTISUITE — TÉLÉCHARGEMENT DESKTOP CANONIQUE
   Une seule règle finale. Mobile géré par le bloc responsive. */
@media (min-width:769px){

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.alt,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.btn,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.alt.btn{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;

        width:auto!important;
        min-width:170px!important;
        max-width:260px!important;
        min-height:44px!important;
        padding:10px 16px!important;

        background:#17324f!important;
        background-color:#17324f!important;
        background-image:none!important;

        border:1px solid #17324f!important;
        border-radius:10px!important;

        color:#fff!important;
        font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
        font-size:12px!important;
        line-height:1.3!important;
        font-weight:700!important;

        white-space:normal!important;
        overflow-wrap:anywhere!important;
        word-break:break-word!important;
        text-align:center!important;
        text-decoration:none!important;
        text-transform:none!important;
        letter-spacing:0!important;

        box-shadow:none!important;
        text-shadow:none!important;
    }

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.alt.btn:hover,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file.alt.btn:focus{
        background:#10263d!important;
        background-color:#10263d!important;
        border-color:#10263d!important;
        color:#fff!important;
        box-shadow:none!important;
    }

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file:before,

    html body.woocommerce-account.boutisuite-account-page
    .woocommerce-MyAccount-content
    a.woocommerce-MyAccount-downloads-file:after{
        display:none!important;
        content:none!important;
    }
}

