/* Anti-flash 1.6.5: la classe est posee cote serveur avant le rendu du contenu.
   Seule la zone Mon Compte de l endpoint devis est cachee pendant l habillage JS.
   visibility conserve la mise en page et evite le saut visuel. */
body.woocommerce-account.adlr-quotes-booting .woocommerce-MyAccount-content{
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quotes-page{
 opacity:1;visibility:visible;transition:opacity .12s ease;
}

/* ADLR Compte client 1.6.5 - page Vos devis, presentation non destructive du tableau tiers. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quotes-page .adlr-quotes-heading{
 display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 18px!important;padding:0 0 12px!important;
 color:#172033!important;font-size:clamp(24px,2.2vw,32px)!important;font-weight:800!important;line-height:1.15!important;
 border-bottom:2px solid rgba(4,92,180,.14)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quotes-page .adlr-quotes-heading:before{
 content:'≡'!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;
 border-radius:9px!important;background:var(--adlr-quotes-accent,#045cb4)!important;color:#fff!important;font-size:17px!important;font-weight:800!important;line-height:1!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table{
 width:100%!important;margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0 var(--adlr-quotes-gap,10px)!important;background:transparent!important;table-layout:fixed!important;text-align:center!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead tr{filter:drop-shadow(0 2px 4px rgba(15,23,42,.07))!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td{
 background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;color:#1f2937!important;
 border-top:1px solid rgba(4,92,180,.13)!important;border-bottom:1px solid rgba(4,92,180,.13)!important;border-left:0!important;border-right:0!important;
 padding:11px 12px!important;font-weight:700!important;line-height:1.25!important;vertical-align:middle!important;text-align:center!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:first-child,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td:first-child{border-left:1px solid rgba(4,92,180,.13)!important;border-radius:var(--adlr-quotes-radius,12px) 0 0 var(--adlr-quotes-radius,12px)!important;box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:last-child,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td:last-child{border-right:1px solid rgba(4,92,180,.13)!important;border-radius:0 var(--adlr-quotes-radius,12px) var(--adlr-quotes-radius,12px) 0!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody tr{filter:drop-shadow(var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12)))!important;transition:transform .16s ease,filter .16s ease!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody tr:hover{transform:translateY(-1px)!important;filter:drop-shadow(0 7px 17px rgba(15,23,42,.15))!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th{
 background:var(--adlr-quotes-row-bg,#fff)!important;color:#334155!important;border-top:1px solid rgba(4,92,180,.13)!important;border-bottom:1px solid rgba(4,92,180,.13)!important;border-left:0!important;border-right:0!important;
 padding:13px 12px!important;vertical-align:middle!important;line-height:1.35!important;text-align:center!important;box-shadow:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody tr:nth-child(even) td,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody tr:nth-child(even) th{background:var(--adlr-quotes-row-alt-bg,#f8fbff)!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td:first-child,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th:first-child{border-left:1px solid rgba(4,92,180,.13)!important;border-radius:var(--adlr-quotes-radius,12px) 0 0 var(--adlr-quotes-radius,12px)!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td:last-child,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th:last-child{border-right:1px solid rgba(4,92,180,.13)!important;border-radius:0 var(--adlr-quotes-radius,12px) var(--adlr-quotes-radius,12px) 0!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-number a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;padding:5px 9px!important;border:1px solid rgba(4,92,180,.16)!important;border-radius:8px!important;background:rgba(4,92,180,.07)!important;color:var(--adlr-quotes-accent,#045cb4)!important;font-weight:800!important;text-decoration:none!important;line-height:1.1!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-number a:hover{background:rgba(4,92,180,.12)!important;text-decoration:none!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-date{color:#475569!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-total{color:#172033!important;font-weight:700!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-total .amount{color:#172033!important;font-weight:800!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-status-pill{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:5px 10px!important;border-radius:999px!important;background:#eef2f7!important;color:#334155!important;font-size:12px!important;font-weight:800!important;line-height:1.15!important;white-space:nowrap!important;text-transform:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-status-pill.is-new{background:#fff0f2!important;color:#a63c49!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-status-pill.is-pending{background:#fff7e8!important;color:#9a5b00!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-status-pill.is-success{background:#ecf8f0!important;color:#187642!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-status-pill.is-cancelled{background:#fff0f0!important;color:#a43636!important;}
/* Corrige l action fantome : l element existe deja dans le plugin de devis mais certains styles tiers le rendent transparent jusqu au hover. */
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions a,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions button,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-action{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:72px!important;margin:0 3px!important;
 opacity:1!important;visibility:visible!important;filter:none!important;text-indent:0!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions a:before,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions button:before,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-action:before{display:none!important;content:none!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-action>svg,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-action>i,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-action>span{display:none!important;}
/* Le texte est rendu sur le controle cliquable lui-meme : il reste visible meme si l extension masque ses enfants. */
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions .adlr-quote-action:after{content:none!important;display:none!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions{overflow:visible!important;}
@media(min-width:901px){
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(1),body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td:nth-child(1){width:22%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(2),body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td:nth-child(2){width:24%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(3),body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td:nth-child(3){width:18%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(4),body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td:nth-child(4){width:23%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(5),body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead td:nth-child(5){width:13%!important;}
}
@media(max-width:768px){
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table{display:block!important;border-spacing:0!important;table-layout:auto!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead{display:none!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody{display:grid!important;gap:var(--adlr-quotes-gap,10px)!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody tr{display:block!important;filter:none!important;transform:none!important;background:var(--adlr-quotes-row-bg,#fff)!important;border:1px solid rgba(4,92,180,.13)!important;border-radius:var(--adlr-quotes-radius,12px)!important;box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;overflow:hidden!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody tr:nth-child(even){background:var(--adlr-quotes-row-alt-bg,#f8fbff)!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;background:transparent!important;border:0!important;border-bottom:1px solid rgba(4,92,180,.10)!important;border-radius:0!important;padding:11px 12px!important;text-align:right!important;box-sizing:border-box!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td:last-child,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th:last-child{border-bottom:0!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td:before,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th:before{content:attr(data-adlr-label)!important;flex:0 0 auto!important;margin:0!important;color:#64748b!important;font-weight:700!important;text-align:left!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions{justify-content:flex-end!important;}
}

/* 1.6.3 - Le bouton Voir est un controle ADLR autonome base sur le lien de detail
   deja present sur le numero du devis. Les controles tiers fantomes restent caches. */
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions .adlr-quote-native-action{
 display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions .adlr-quote-view-action{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:72px!important;margin:0 3px!important;
 text-indent:0!important;text-decoration:none!important;white-space:nowrap!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;filter:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions .adlr-quote-view-action:before,
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions .adlr-quote-view-action:after{
 display:none!important;content:none!important;
}

/* 1.6.4 - Nettoyage robuste de la colonne Action.
   L extension tierce peut ajouter au survol un span/div circulaire qui n est pas
   detecte comme lien ou bouton. Tout enfant direct autre que le bouton ADLR est
   donc retire du flux visuel. Sur ordinateur, le bouton Voir est centre dans la
   colonne et les pseudo-elements tiers de la cellule sont neutralises. */
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions > *:not(.adlr-quote-view-action){
 display:none!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;overflow:hidden!important;
}
@media(min-width:769px){
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions{
  text-align:center!important;font-size:0!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions:before,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions:after{
  display:none!important;content:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions .adlr-quote-view-action{
  margin-left:0!important;margin-right:0!important;vertical-align:middle!important;
 }
}

/* ADLR Compte client 1.8.0 - détail d'un devis.
   La logique métier et les liens restent ceux de l'extension de devis. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page{
 --adlr-quote-detail-border:rgba(4,92,180,.14);
 color:#334155;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-back{
 display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0 0 14px!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-heading{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;margin:0 0 16px!important;padding:0 0 12px!important;
 border-bottom:2px solid rgba(4,92,180,.14)!important;color:#172033!important;font-size:clamp(24px,2.3vw,32px)!important;font-weight:800!important;line-height:1.18!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-heading:before{
 content:'≡'!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;
 border-radius:9px!important;background:var(--adlr-quotes-accent,#045cb4)!important;color:#fff!important;font-size:17px!important;font-weight:800!important;line-height:1!important;
 box-shadow:0 3px 8px rgba(4,92,180,.16)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pdf{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:48px!important;margin-left:auto!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-line{
 display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;margin:0 0 8px!important;padding:9px 12px!important;
 border:1px solid var(--adlr-quote-detail-border)!important;border-radius:10px!important;background:#f8fbff!important;color:#334155!important;line-height:1.35!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-line strong{color:#172033!important;font-weight:800!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-line.is-status{background:#fffaf0!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-line.is-success{background:#f2fbf5!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-line.is-cancelled{background:#fff5f5!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-line.is-expiry{margin-bottom:16px!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-card{
 margin:14px 0 22px!important;padding:0!important;border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;background:#fff!important;
 box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;overflow:hidden!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table{
 width:100%!important;margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;table-layout:auto!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead td{
 padding:12px 14px!important;border:0!important;border-bottom:1px solid var(--adlr-quote-detail-border)!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 color:#172033!important;font-weight:800!important;vertical-align:middle!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead th:first-child,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead td:first-child{box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;text-align:left!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead th:last-child,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead td:last-child{text-align:right!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr:nth-child(even){background:var(--adlr-quotes-row-alt-bg,#f8fbff)!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody td,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody th{
 padding:12px 14px!important;border:0!important;border-bottom:1px solid rgba(4,92,180,.10)!important;background:transparent!important;color:#334155!important;vertical-align:middle!important;line-height:1.4!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr:last-child td,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr:last-child th{border-bottom:0!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table img{
 width:58px!important;height:58px!important;max-width:58px!important;object-fit:contain!important;margin-right:10px!important;border:1px solid rgba(4,92,180,.10)!important;border-radius:8px!important;background:#fff!important;vertical-align:middle!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table td:last-child,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table th:last-child{text-align:right!important;font-weight:750!important;color:#172033!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pay{
 display:flex!important;align-items:center!important;justify-content:center!important;width:min(320px,100%)!important;margin:14px 14px 14px auto!important;
 border-color:#b9dfc8!important;background:#eaf8ef!important;color:#187642!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pay:hover,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pay:focus-visible{background:#dff3e7!important;border-color:#95cfac!important;color:#145f37!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card{
 width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;background:#fff!important;
 box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;overflow:hidden!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-heading{
 margin:0!important;padding:13px 15px!important;border:0!important;border-bottom:1px solid var(--adlr-quote-detail-border)!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 color:#172033!important;font-size:18px!important;font-weight:800!important;line-height:1.25!important;box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > *:not(.adlr-quote-detail-client-heading):not(header){margin-left:15px!important;margin-right:15px!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > *:last-child{margin-bottom:15px!important;}
@media(max-width:768px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-heading{font-size:22px!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pdf{margin-left:0!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead th,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table thead td,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody td,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody th{padding:10px 11px!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pay{width:calc(100% - 24px)!important;margin:12px!important;}
}


/* ADLR Compte client 1.8.1 - le detail peut etre fourni par un endpoint tiers
 * different de `quotes`. Ces classes sont ajoutees seulement apres detection
 * explicite du titre Détails du devis. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page{
 padding-top:2px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic{
 position:relative!important;margin-top:14px!important;margin-bottom:22px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-label,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-total-label{
 color:#172033!important;font-weight:800!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-section-heading{
 margin:20px 0 12px!important;padding:11px 14px!important;border:1px solid var(--adlr-quote-detail-border)!important;border-left:4px solid var(--adlr-quotes-accent,#045cb4)!important;
 border-radius:10px!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;color:#172033!important;font-size:20px!important;font-weight:800!important;line-height:1.2!important;
 box-shadow:0 2px 6px rgba(15,23,42,.06)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card{
 border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;background:#fff!important;box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
}


/* ADLR Compte client 1.8.2 - seconde passe visuelle sur le detail d un devis.
 * Objectif : meme logique de design que Detail commande, avec de vraies cartes
 * et une lecture nette des variantes devis payables / demandes avec point relais. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page{
 --adlr-quote-detail-soft:#f7faff;
 --adlr-quote-detail-soft-2:#eef6ff;
 --adlr-quote-detail-text:#172033;
 --adlr-quote-detail-muted:#52657a;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-hero{
 margin:0 0 18px!important;padding:14px 16px 16px!important;border:1px solid var(--adlr-quote-detail-border)!important;border-left:4px solid var(--adlr-quotes-accent,#045cb4)!important;
 border-radius:var(--adlr-quotes-radius,12px)!important;background:linear-gradient(135deg,#fff 0%,#f7fbff 72%,#f1f8ff 100%)!important;
 box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-hero .adlr-quote-detail-back{
 margin:0 0 10px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row{
 display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-heading{
 flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;font-size:clamp(24px,2.35vw,32px)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-heading:before{
 width:30px!important;height:30px!important;flex-basis:30px!important;border-radius:9px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf{
 margin:0!important;min-width:54px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf:before{content:none!important;display:none!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:14px 0 0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line{
 min-width:0!important;margin:0!important;padding:10px 12px!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.04)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-status{background:#fff9ed!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-success{background:#f0faf4!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-cancelled{background:#fff3f3!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-card{
 margin:0 0 18px!important;border-radius:var(--adlr-quotes-radius,12px)!important;box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-card .adlr-quote-detail-products-label,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-card .adlr-quote-detail-total-label{
 display:block!important;margin:0!important;padding:12px 14px!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr.is-subtotal td,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr.is-subtotal th{
 background:#f8fbff!important;font-weight:750!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr.is-shipping td,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr.is-shipping th{
 background:#fbfdff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr.is-grand-total td,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tbody tr.is-grand-total th{
 background:#f1f7fd!important;color:#172033!important;font-weight:900!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pay{
 width:auto!important;min-width:210px!important;margin:14px 14px 14px auto!important;padding:9px 18px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card{
 margin:0 0 18px!important;padding:0 16px 16px!important;overflow:hidden!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-heading{
 margin:0 -16px 14px!important;border-top:0!important;border-right:0!important;border-left:0!important;border-radius:0!important;box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card h3,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card h4,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card strong{
 color:var(--adlr-quote-detail-text)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card code{
 display:block!important;max-width:100%!important;margin:8px 0 0!important;padding:10px 12px!important;border:1px solid rgba(4,92,180,.10)!important;border-radius:9px!important;background:#f7f9fc!important;color:#334155!important;white-space:pre-wrap!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:12px!important;line-height:1.5!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;margin:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid.is-single{grid-template-columns:1fr!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid .adlr-quote-detail-client-card,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid .adlr-quote-detail-support-card{
 height:100%!important;margin:0!important;border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;background:#fff!important;box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;overflow:hidden!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card{
 padding:16px!important;background:#fff7f7!important;border-color:#f2d2d2!important;color:#9c3c3c!important;line-height:1.55!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > *:not(.adlr-quote-detail-client-heading):not(header){
 margin-left:16px!important;margin-right:16px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card p,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card div{
 line-height:1.5!important;
}
@media(max-width:900px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid{grid-template-columns:1fr!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid{grid-template-columns:1fr!important;}
}
@media(max-width:600px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-hero{padding:12px!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row{align-items:flex-start!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-heading{font-size:22px!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf{flex:0 0 auto!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pay{width:calc(100% - 24px)!important;min-width:0!important;margin:12px!important;}
}

/* ADLR Compte client 1.8.3 - correction structurelle du detail des devis.
 * La 1.8.2 stylait parfois des parents trop larges et pouvait casser une vraie
 * ligne de tableau. Ces regles remettent chaque information dans son bloc. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid{
 grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
 align-items:stretch!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line{
 display:flex!important;align-items:center!important;gap:6px!important;min-height:42px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-status{
 color:#8a5700!important;font-weight:650!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table.adlr-quote-detail-products-card{
 display:table!important;width:100%!important;margin:0 0 18px!important;padding:0!important;overflow:hidden!important;
 border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;
 background:#fff!important;box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
 border-collapse:separate!important;border-spacing:0!important;
}
/* Les libelles peuvent etre de vrais TH/TD : ne jamais les passer en block. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table .adlr-quote-detail-products-label,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table .adlr-quote-detail-total-label{
 display:table-cell!important;width:auto!important;margin:0!important;padding:12px 14px!important;
 vertical-align:middle!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 border-bottom:1px solid var(--adlr-quote-detail-border)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table .adlr-quote-detail-products-label{
 text-align:left!important;box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table .adlr-quote-detail-total-label{
 text-align:right!important;white-space:nowrap!important;
}
/* Variante de demande de devis qui n'utilise pas un vrai tableau. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic{
 width:100%!important;margin:0 0 18px!important;padding:0!important;overflow:hidden!important;
 border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;background:#fff!important;
 box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic .adlr-quote-detail-products-label,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic .adlr-quote-detail-total-label{
 display:inline-flex!important;align-items:center!important;min-height:42px!important;box-sizing:border-box!important;
 margin:0!important;padding:11px 14px!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 border-bottom:1px solid var(--adlr-quote-detail-border)!important;font-weight:800!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic .adlr-quote-detail-products-label{
 width:70%!important;text-align:left!important;box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic .adlr-quote-detail-total-label{
 width:30%!important;justify-content:flex-end!important;text-align:right!important;
}
/* Ne plus forcer deux cartes etroites : la grille se replie selon la largeur
 * reelle de la zone Mon Compte, pas selon la largeur totale de la fenetre. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid{
 grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important;gap:16px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card{
 width:100%!important;max-width:none!important;margin:0!important;padding:16px 18px!important;box-sizing:border-box!important;
 background:#fff8f8!important;border:1px solid #f1d4d4!important;border-radius:var(--adlr-quotes-radius,12px)!important;
 color:#914040!important;box-shadow:0 3px 10px rgba(15,23,42,.07)!important;line-height:1.55!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card{
 min-width:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card{
 width:100%!important;box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card code{
 width:100%!important;box-sizing:border-box!important;overflow:auto!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pay{
 display:flex!important;align-items:center!important;justify-content:center!important;max-width:260px!important;
}
@media(max-width:700px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid{grid-template-columns:1fr!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid{grid-template-columns:1fr!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic .adlr-quote-detail-products-label,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic .adlr-quote-detail-total-label{width:100%!important;display:flex!important;}
}

/* ADLR Compte client 1.8.4 - finition structurelle du detail des devis. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-long-status{
 grid-column:1 / -1!important;
 justify-content:flex-start!important;
}

/* Devis payables : le tableau ne contient plus que les produits. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table.adlr-quote-detail-products-card{
 margin-bottom:14px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-card{
 width:100%!important;margin:0 0 18px!important;border:1px solid var(--adlr-quote-detail-border)!important;
 border-radius:var(--adlr-quotes-radius,12px)!important;background:#fff!important;overflow:hidden!important;
 box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-title{
 margin:0!important;padding:12px 15px!important;border-bottom:1px solid var(--adlr-quote-detail-border)!important;
 border-left:4px solid var(--adlr-quotes-accent,#045cb4)!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 color:#172033!important;font-size:16px!important;font-weight:850!important;line-height:1.25!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table{
 width:100%!important;margin:0!important;border:0!important;border-collapse:collapse!important;background:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table tr{
 background:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table tr:nth-child(even){
 background:var(--adlr-quotes-row-alt-bg,#f8fbff)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table td{
 padding:11px 15px!important;border:0!important;border-bottom:1px solid rgba(4,92,180,.09)!important;background:transparent!important;
 color:#334155!important;vertical-align:middle!important;line-height:1.4!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table th:first-child,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table td:first-child{
 width:42%!important;text-align:left!important;font-weight:750!important;color:#172033!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table th:last-child,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table td:last-child{
 text-align:right!important;color:#172033!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table tr.is-grand-total th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table tr.is-grand-total td{
 font-weight:850!important;color:#111827!important;background:#f6faff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table tr:last-child th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-summary-table tr:last-child td{
 border-bottom:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-actions{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;min-height:58px!important;padding:10px 14px!important;
 border-top:1px solid var(--adlr-quote-detail-border)!important;background:#fbfdff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-actions .adlr-quote-detail-pay{
 width:auto!important;min-width:190px!important;max-width:260px!important;margin:0!important;
}

/* Demande de devis sans tableau standard : bandeau controle et stable. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic{
 position:relative!important;padding-top:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-header{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(110px,28%)!important;align-items:center!important;
 min-height:44px!important;margin:0!important;padding:0!important;border-bottom:1px solid var(--adlr-quote-detail-border)!important;
 background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;color:#172033!important;font-weight:850!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-header > span{
 padding:11px 14px!important;line-height:1.25!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-header > span:last-child{
 text-align:right!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic .adlr-quote-detail-native-generic-label{
 position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;
 clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;box-shadow:none!important;
}

/* Le bas de page appartient toujours au conteneur principal, jamais a une ancienne colonne du plugin tiers. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid{
 width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:18px 0 0!important;
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;
 clear:both!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid.is-single{
 grid-template-columns:1fr!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid.is-single .adlr-quote-detail-client-card,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid.is-single .adlr-quote-detail-support-card{
 width:min(100%,680px)!important;justify-self:center!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid .adlr-quote-detail-client-card,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid .adlr-quote-detail-support-card{
 min-width:0!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card{
 padding:16px 18px!important;background:#f5f9fd!important;border-color:rgba(4,92,180,.14)!important;color:#40566f!important;
 box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;line-height:1.55!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card a{
 color:var(--adlr-quotes-accent,#045cb4)!important;
}

/* Le point relais reste une carte pleine largeur mais son contenu est plus dense. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card{
 margin:14px 0 0!important;padding-bottom:14px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card > *:not(.adlr-quote-detail-relay-heading){
 margin-left:14px!important;margin-right:14px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card code{
 font-size:13px!important;line-height:1.55!important;background:#f8fbff!important;
}

@media(max-width:760px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-bottom-grid{grid-template-columns:1fr!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-header{grid-template-columns:minmax(0,1fr) auto!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-actions{justify-content:stretch!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-actions .adlr-quote-detail-pay{width:100%!important;max-width:none!important;}
}

/* ADLR Compte client 1.8.5 - point relais en deux colonnes sur ordinateur.
 * L'adresse reste a gauche et les horaires passent a droite. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-grid{
 display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr)!important;gap:16px!important;
 margin:0 14px!important;align-items:stretch!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column{
 min-width:0!important;margin:0!important;padding:14px 15px!important;box-sizing:border-box!important;
 border:1px solid rgba(4,92,180,.11)!important;border-radius:10px!important;background:#fbfdff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column > :first-child{
 margin-top:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column h2,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column h3,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column h4,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column strong{
 margin-top:0!important;margin-bottom:10px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-hours pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-hours code{
 margin:0!important;width:100%!important;min-height:100%!important;box-sizing:border-box!important;
}
@media(max-width:760px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-grid{
  grid-template-columns:1fr!important;gap:12px!important;margin:0 12px!important;
 }
}

/* ADLR Compte client 1.8.6 - finition apres controle visuel 1.8.5. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line{
 width:100%!important;max-width:none!important;box-sizing:border-box!important;justify-self:stretch!important;
}
/* Le bandeau synthétique doit toujours occuper toute la largeur de la vraie carte. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-products-generic > .adlr-quote-detail-generic-header{
 width:100%!important;box-sizing:border-box!important;
}
/* Fallback pour les templates devis qui rendent Sous-total / Expedition / Total
 * comme de simples blocs plutot que comme des lignes de tableau. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-title{
 margin:8px 0 0!important;padding:11px 14px!important;border-top:1px solid var(--adlr-quote-detail-border)!important;
 border-bottom:1px solid var(--adlr-quote-detail-border)!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 color:#172033!important;font-weight:850!important;box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-line{
 display:grid!important;grid-template-columns:minmax(140px,42%) minmax(0,1fr)!important;align-items:center!important;gap:10px!important;
 margin:0!important;padding:10px 14px!important;border-bottom:1px solid rgba(4,92,180,.09)!important;background:#fff!important;box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-line.is-shipping{
 background:#fbfdff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-line.is-grand-total{
 background:#f6faff!important;font-weight:850!important;color:#111827!important;
}
/* Les blockquotes du theme peuvent ajouter un enorme guillemet decoratif dans
 * la reponse de l administrateur. La carte ADLR garde uniquement le message. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card blockquote{
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font-style:normal!important;box-shadow:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card blockquote:before,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card blockquote:after,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card:before,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card:after{
 content:none!important;display:none!important;
}
@media(max-width:760px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-line{grid-template-columns:1fr!important;gap:4px!important;}
}

/* ADLR Compte client 1.8.9 - retouches ciblées suite au contrôle visuel.
 * Objectif : conserver la base 1.8.8 tout en corrigeant quelques détails
 * d'alignement sur la fiche détail du devis. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf{
 min-width:64px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf:before{
 content:none!important;display:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid{
 align-items:stretch!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line{
 width:100%!important;max-width:none!important;justify-self:stretch!important;box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-title,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-line{
 display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;clear:both!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-generic-summary-line{
 display:grid!important;grid-template-columns:minmax(140px,42%) minmax(0,1fr)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-heading{
 display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;
}

/* ADLR Compte client 1.8.10 - corrections basees sur le HTML reel YITH. */
/* Le recapitulatif du devis est un vrai TFOOT : conserver la semantique table. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-title-row{
 display:table-row!important;width:auto!important;background:transparent!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-title-row > th{
 display:table-cell!important;width:auto!important;max-width:none!important;box-sizing:border-box!important;
 padding:12px 14px!important;border:0!important;border-top:1px solid var(--adlr-quote-detail-border)!important;border-bottom:1px solid var(--adlr-quote-detail-border)!important;
 background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 color:#172033!important;font-weight:850!important;text-align:left!important;line-height:1.25!important;
 box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line{
 display:table-row!important;width:auto!important;max-width:none!important;background:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line:nth-of-type(odd){
 background:var(--adlr-quotes-row-alt-bg,#f8fbff)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line > th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line > td{
 display:table-cell!important;box-sizing:border-box!important;margin:0!important;padding:11px 14px!important;
 border:0!important;border-bottom:1px solid rgba(4,92,180,.09)!important;background:transparent!important;vertical-align:middle!important;line-height:1.4!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line > th{
 width:42%!important;text-align:left!important;color:#172033!important;font-weight:750!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line > td{
 width:58%!important;text-align:right!important;color:#172033!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line.is-grand-total > th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot tr.adlr-quote-detail-generic-summary-line.is-grand-total > td{
 background:#f6faff!important;font-weight:850!important;color:#111827!important;
}
/* Neutralise les anciennes regles 1.8.6/1.8.9 qui mettaient les TR en grid/block. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table tfoot .adlr-quote-detail-generic-summary-title{
 display:none!important;
}
/* Le bandeau client est dans HEADER : le header ne doit pas recevoir les marges du contenu. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > header{
 display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > header > .adlr-quote-detail-client-heading{
 display:block!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;
}
/* Le contenu client, lui, conserve l'espacement interieur. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > p,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > div:not(.adlr-quote-detail-client-heading){
 margin-left:16px!important;margin-right:16px!important;
}
/* PDF : plus lisible sans prendre trop de place. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf{
 min-width:72px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf:before{
 content:none!important;display:none!important;
}


/* ADLR Compte client 1.8.11 - corrections basees sur le DOM reel fourni. */
/* La carte du haut doit avoir exactement la largeur disponible au niveau racine,
 * comme le tableau produits. Le JS la remonte au niveau racine si YITH l avait
 * initialement placee dans un sous-conteneur avec padding/marges. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page > .adlr-quote-detail-hero{
 display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;
 margin-left:0!important;margin-right:0!important;
}
/* Le header du bloc client est un enfant direct. Il ne doit jamais heriter des
 * marges reservees aux paragraphes de contenu. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card.adlr-quote-detail-client-card > header{
 display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card.adlr-quote-detail-client-card > header > .adlr-quote-detail-client-heading{
 display:block!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;
}

/* ADLR Compte client 1.8.12 - tableau financier du devis, calque sur le
 * detail de commande valide : Produit / Qte / Total HT / TVA / Total TTC. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table.adlr-quote-native-recap-only > thead,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page table.adlr-quote-detail-table.adlr-quote-native-recap-only > tbody{
 display:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-breakdown{
 width:100%!important;margin:0 0 14px!important;border:1px solid var(--adlr-quote-detail-border)!important;
 border-radius:var(--adlr-quotes-radius,12px)!important;overflow:hidden!important;background:#fff!important;
 box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table{
 width:100%!important;margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;
 table-layout:fixed!important;background:#fff!important;box-shadow:none!important;border-radius:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead{
 display:table-header-group!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 box-shadow:inset 4px 0 0 var(--adlr-quotes-accent,#045cb4)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody{display:table-row-group!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tr{display:table-row!important;background:#fff!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr:nth-child(even){background:var(--adlr-quotes-row-alt-bg,#f8fbff)!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table td{
 display:table-cell!important;width:auto!important;min-width:0!important;margin:0!important;padding:12px 14px!important;
 border:0!important;border-bottom:1px solid rgba(4,92,180,.10)!important;background:transparent!important;
 color:#334155!important;vertical-align:middle!important;line-height:1.35!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead th{
 color:#172033!important;font-weight:800!important;text-align:center!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead th:first-child{text-align:left!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr:last-child td{border-bottom:0!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table .adlr-quote-col-product{width:45%!important;text-align:left!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table .adlr-quote-col-qty{width:9%!important;text-align:center!important;font-weight:800!important;color:#172033!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table .adlr-quote-col-money{width:15.333%!important;text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table td.adlr-quote-col-money{font-weight:700!important;color:#334155!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table td.adlr-quote-col-ttc{font-weight:900!important;color:#172033!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-wrap{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-thumb{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 58px!important;width:58px!important;height:58px!important;border:1px solid rgba(4,92,180,.10)!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-thumb-img{display:block!important;width:58px!important;height:58px!important;max-width:58px!important;object-fit:contain!important;margin:0!important;border:0!important;border-radius:0!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-copy{min-width:0!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-name{color:#172033!important;font-weight:700!important;text-decoration:none!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page a.adlr-quote-product-name:hover{color:var(--adlr-quotes-accent,#045cb4)!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-meta{margin-top:4px!important;color:#64748b!important;font-size:.88em!important;font-weight:400!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-meta ul.wc-item-meta{margin:0!important;padding:0!important;list-style:none!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-meta p{margin:0!important;}

@media(max-width:768px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-breakdown{border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;margin-bottom:14px!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody{display:block!important;width:100%!important;background:transparent!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead{display:none!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;margin:0 0 10px!important;border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;overflow:hidden!important;background:#fff!important;box-shadow:var(--adlr-quotes-shadow,0 4px 12px rgba(15,23,42,.10))!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td{display:block!important;width:auto!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid rgba(4,92,180,.09)!important;background:transparent!important;text-align:left!important;white-space:normal!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td::before{content:attr(data-title);display:block!important;margin-bottom:3px!important;color:#64748b!important;font-size:.78em!important;font-weight:700!important;line-height:1.2!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-product{grid-column:1 / -1!important;border-bottom:1px solid var(--adlr-quote-detail-border)!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-qty,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-money{width:auto!important;text-align:left!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:nth-last-child(-n+2){border-bottom:0!important;}
}
@media(max-width:480px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr{grid-template-columns:1fr!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-product{grid-column:auto!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td{border-bottom:1px solid rgba(4,92,180,.09)!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:last-child{border-bottom:0!important;}
}

/* ADLR Compte client 1.8.14 - meme alignement sur le tableau financier des devis. */
@media (min-width:769px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead th.adlr-quote-col-product{
  text-align:center!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead th:nth-child(4),
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:nth-child(4){
  text-align:center!important;
 }
}

/* ADLR Compte client 1.8.15 - meme grille financiere que Detail commande. */
@media (min-width:769px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table .adlr-quote-col-product{
  width:44%!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table .adlr-quote-col-qty,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table .adlr-quote-col-money{
  width:14%!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead th.adlr-quote-col-product{
  text-align:center!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead th.adlr-quote-col-qty,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table thead th.adlr-quote-col-money,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-qty,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-money{
  text-align:center!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-product{
  text-align:left!important;
 }
}

/* ADLR Compte client 1.8.16 - finition des actions du bandeau devis. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-hero .adlr-quote-detail-back{}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf{min-width:84px!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf:before{content:none!important;display:none!important;}

/* ADLR Compte client 1.8.17 - actions devis plus visibles, horaires point relais
 * sans sous-cadre, et recapitulatif de secours pour les demandes sans tfoot YITH. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-hero .adlr-quote-detail-back{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-width:172px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf{
 flex:0 0 100px!important;width:100px!important;min-width:100px!important;max-width:100px!important;box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf:before{content:none!important;display:none!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours{
 overflow:hidden!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours code{
 display:block!important;width:100%!important;max-width:100%!important;min-height:0!important;box-sizing:border-box!important;
 margin:8px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 overflow:visible!important;white-space:pre-wrap!important;word-break:normal!important;overflow-wrap:normal!important;color:#334155!important;font-size:12px!important;line-height:1.55!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours pre span,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours code span{
 background:transparent!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary{
 width:100%!important;margin:0 0 18px!important;border:1px solid var(--adlr-quote-detail-border)!important;border-radius:var(--adlr-quotes-radius,12px)!important;
 background:#fff!important;overflow:hidden!important;box-shadow:var(--adlr-quotes-shadow,0 5px 14px rgba(15,23,42,.12))!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-title{
 width:100%!important;box-sizing:border-box!important;margin:0!important;padding:12px 15px!important;border-bottom:1px solid var(--adlr-quote-detail-border)!important;
 border-left:4px solid var(--adlr-quotes-accent,#045cb4)!important;background:linear-gradient(180deg,#fff 0%,var(--adlr-quotes-header-bg,#f5f9fd) 100%)!important;
 color:#172033!important;font-weight:850!important;line-height:1.25!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table{
 width:100%!important;margin:0!important;border:0!important;border-collapse:collapse!important;background:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table tr:nth-child(even){background:var(--adlr-quotes-row-alt-bg,#f8fbff)!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table td{
 padding:11px 15px!important;border:0!important;border-bottom:1px solid rgba(4,92,180,.09)!important;background:transparent!important;vertical-align:middle!important;line-height:1.4!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table th{
 width:42%!important;text-align:left!important;color:#172033!important;font-weight:750!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table td{
 text-align:right!important;color:#172033!important;font-variant-numeric:tabular-nums!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table tr.is-grand-total th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table tr.is-grand-total td{
 background:#f6faff!important;color:#111827!important;font-weight:900!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table tr:last-child th,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table tr:last-child td{border-bottom:0!important;}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-summary-pending{color:#64748b!important;font-style:italic!important;}
@media(max-width:600px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-hero .adlr-quote-detail-back{min-width:0!important;width:auto!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-pdf{flex-basis:84px!important;width:84px!important;min-width:84px!important;max-width:84px!important;}
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table th,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table td{padding:10px 11px!important;}
}

/* ADLR Compte client 1.8.20 - date lisible sur une seule ligne. */
@media(min-width:701px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-date{
  white-space:nowrap!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid.has-long-status{
  grid-template-columns:max-content minmax(0,1fr)!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid.has-long-status .adlr-quote-detail-meta-line.is-date{
  width:max-content!important;min-width:max-content!important;max-width:none!important;justify-self:start!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid.has-long-status .adlr-quote-detail-meta-line.is-long-status{
  grid-column:1 / -1!important;
 }
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table .adlr-quote-discount-note{
 margin-left:6px!important;color:#64748b!important;font-size:.86em!important;font-weight:500!important;white-space:nowrap!important;
}
@media(max-width:700px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-date{
  white-space:normal!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-generated-summary-table .adlr-quote-discount-note{
  display:block!important;margin:3px 0 0!important;white-space:normal!important;
 }
}


/* ADLR Compte client 1.8.21 - actions Accepter / Refuser plus compactes.
 * La classe est ajoutee uniquement quand les deux actions sont presentes,
 * afin de ne pas modifier le bouton Payer maintenant des devis payables. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;
 gap:12px!important;flex-wrap:nowrap!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;
 margin:14px 0!important;padding:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > a,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > button,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="button"]{
 flex:0 1 160px!important;width:160px!important;min-width:130px!important;max-width:160px!important;min-height:40px!important;
 margin:0!important;padding:8px 16px!important;box-sizing:border-box!important;white-space:nowrap!important;text-align:center!important;
}
@media(max-width:430px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions{
  gap:8px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > a,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > button,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="submit"],
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="button"]{
  flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:150px!important;padding-left:10px!important;padding-right:10px!important;
 }
}

/* ADLR Compte client 1.8.22 - finition point relais et action positive. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column{
 text-align:center!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column h2,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column h3,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column h4,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-card .adlr-quote-detail-relay-column strong{
 text-align:center!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours code{
 display:inline-block!important;width:auto!important;max-width:100%!important;margin:8px auto 0!important;text-align:left!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .ywraq-accept,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions [class*="accept"]{
 background:#eaf8ef!important;border:1px solid #b9dfc8!important;color:#187642!important;box-shadow:0 1px 2px rgba(15,23,42,.07)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .ywraq-accept:hover,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .ywraq-accept:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions [class*="accept"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions [class*="accept"]:focus-visible{
 background:#dff3e7!important;border-color:#95cfac!important;color:#145f37!important;
}

/* ADLR Compte client 1.8.23 - centrage final des horaires et lecture plus
 * structuree des informations client, sans modifier les donnees YITH. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours > h2,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours > h3,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours > h4{
 width:100%!important;text-align:center!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours code{
 display:block!important;width:max-content!important;max-width:100%!important;margin:8px auto 0!important;padding:0!important;
 text-align:center!important;white-space:pre!important;overflow-x:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;
}

body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > .adlr-quote-client-row{
 display:grid!important;grid-template-columns:minmax(105px,130px) minmax(0,1fr)!important;align-items:start!important;gap:8px 12px!important;
 width:100%!important;box-sizing:border-box!important;margin:0!important;padding:10px 16px!important;
 border-bottom:1px solid rgba(4,92,180,.09)!important;line-height:1.4!important;background:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > .adlr-quote-client-row:nth-of-type(even){
 background:#fbfdff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > .adlr-quote-client-row strong{
 margin:0!important;color:#172033!important;font-weight:800!important;line-height:1.4!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > .adlr-quote-client-row .adlr-quote-client-value{
 min-width:0!important;color:#334155!important;font-weight:500!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > .adlr-quote-client-row.is-message{
 background:#f8fbff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > .adlr-quote-client-row:last-of-type{
 border-bottom:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > p:empty{
 display:none!important;
}
@media(max-width:520px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-client-card > .adlr-quote-client-row{
  grid-template-columns:1fr!important;gap:3px!important;padding:9px 13px!important;
 }
}

/* ADLR Compte client 1.8.24 - responsive compact du tableau produits devis.
 * Meme logique que le detail commande : produit en tete, valeurs en grille 2 x 2. */
@media(max-width:768px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
  overflow:hidden!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td{
  min-width:0!important;
  min-height:64px!important;
  padding:9px 10px!important;
  box-sizing:border-box!important;
  text-align:center!important;
  font-size:.98em!important;
  line-height:1.3!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td::before{
  margin:0 0 4px!important;
  text-align:center!important;
  color:#64748b!important;
  font-size:.76em!important;
  font-weight:750!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-product{
  grid-column:1 / -1!important;
  min-height:0!important;
  padding:11px 12px!important;
  text-align:left!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
  border-bottom:1px solid var(--adlr-quote-detail-border)!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-product::before{
  display:none!important;
  content:none!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-qty,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-money{
  width:auto!important;
  text-align:center!important;
  white-space:normal!important;
  font-variant-numeric:tabular-nums!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-qty,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:nth-child(4){
  border-right:1px solid rgba(4,92,180,.09)!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:nth-child(2),
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:nth-child(3){
  border-bottom:1px solid rgba(4,92,180,.09)!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:nth-child(4),
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td:nth-child(5){
  border-bottom:0!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-ttc{
  background:#f7fbff!important;
  color:#172033!important;
  font-weight:900!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-wrap{
  align-items:center!important;
 }
}
@media(max-width:480px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-product{
  grid-column:1 / -1!important;
 }
}
@media(max-width:360px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td{
  padding:8px!important;
  font-size:.94em!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-thumb{
  flex-basis:48px!important;
  width:48px!important;
  height:48px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-product-thumb-img{
  width:48px!important;
  height:48px!important;
  max-width:48px!important;
 }
}

/* ADLR Compte client 1.8.25 - finition mobile apres controle visuel.
 * 1) garder l icone du titre avec le texte ; 2) uniformiser les couleurs de
 * la carte produit ; 3) centrer Payer maintenant dans le recapitulatif. */
@media(max-width:600px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-heading{
  flex-wrap:nowrap!important;align-items:center!important;min-width:0!important;gap:8px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-title-row .adlr-quote-detail-heading:before{
  flex:0 0 28px!important;width:28px!important;height:28px!important;
 }
}
@media(max-width:768px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody tr:nth-child(even){
  background:#fff!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td{
  background:#fff!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-product{
  width:100%!important;max-width:none!important;grid-column:1 / -1!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-items-table tbody td.adlr-quote-col-ttc{
  background:#f3f8fd!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-actions{
  display:flex!important;align-items:center!important;justify-content:center!important;padding:14px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-summary-actions .adlr-quote-detail-pay{
  width:min(76%,240px)!important;min-width:190px!important;max-width:240px!important;margin:0 auto!important;
 }
}

/* ADLR Compte client 1.8.26 - finition mobile : réponse admin et décisions. */
@media(max-width:600px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card{
  padding:14px 16px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card blockquote,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card blockquote p,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card > p,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card > div:not(:first-child){
  margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;
  text-indent:0!important;text-align:left!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-support-card blockquote{
  width:100%!important;max-width:none!important;box-sizing:border-box!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions{
  width:100%!important;box-sizing:border-box!important;padding:14px 16px!important;gap:10px!important;
  justify-content:center!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > a,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > button,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="submit"],
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="button"]{
  flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:150px!important;margin:0!important;
 }
}

/* ADLR Compte client 1.8.27 - finition responsive listes + tablette. */
@media(min-width:901px) and (max-width:1100px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid:not(.has-long-status){
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr) minmax(0,1.08fr)!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-date{
  gap:4px!important;padding-left:10px!important;padding-right:10px!important;font-size:14px!important;letter-spacing:-.01em!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-date strong{
  flex:0 0 auto!important;white-space:nowrap!important;
 }
}

/* Tablette : neutralise les règles responsive WooCommerce / thème et conserve un vrai tableau. */
@media(min-width:769px) and (max-width:1100px){
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table{
  display:table!important;width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0 8px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead{display:table-header-group!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody{display:table-row-group!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tr{display:table-row!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table th,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table td{
  display:table-cell!important;width:auto!important;padding:10px 9px!important;vertical-align:middle!important;font-size:13px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table th:before,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table td:before{display:none!important;content:none!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(1){width:20%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(2){width:22%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(3){width:16%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(4){width:26%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table thead th:nth-child(5){width:16%!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-action{min-width:62px!important;padding:7px 11px!important;}
}

/* Mobile : carte plus compacte et plus lisible pour Mes devis. */
@media(max-width:600px){
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody tr{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto auto auto!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  min-width:0!important;min-height:58px!important;padding:9px 10px!important;text-align:center!important;border-radius:0!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody td:before,
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table tbody th:before{
  display:block!important;content:attr(data-adlr-label)!important;margin:0!important;font-size:.78em!important;line-height:1.2!important;text-align:center!important;color:#64748b!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-number{grid-column:1!important;grid-row:1!important;border-right:1px solid rgba(4,92,180,.10)!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-status{grid-column:2!important;grid-row:1!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-date{grid-column:1!important;grid-row:2!important;border-right:1px solid rgba(4,92,180,.10)!important;border-bottom:0!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-total{grid-column:2!important;grid-row:2!important;border-bottom:0!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions{
  grid-column:1 / -1!important;grid-row:3!important;min-height:52px!important;flex-direction:row!important;justify-content:center!important;border-top:1px solid rgba(4,92,180,.10)!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions:before{display:none!important;content:none!important;}
 body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-actions .adlr-quote-view-action{margin:0 auto!important;}
}

/* ADLR Compte client 1.8.28 - tablette : garder la date sur une ligne
 * sans la réduire par rapport au Statut et à l'Expiration. */
@media(min-width:901px) and (max-width:1100px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid:not(.has-long-status){
  grid-template-columns:max-content minmax(180px,1fr) max-content!important;
  gap:10px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-date{
  gap:8px!important;padding:10px 12px!important;font-size:inherit!important;letter-spacing:normal!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid .adlr-quote-detail-meta-line.is-date strong{
  white-space:nowrap!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-meta-grid:not(.has-long-status) .adlr-quote-detail-meta-line.is-expiry{
  white-space:nowrap!important;
 }
}

/* ADLR Compte client 1.9.1 - finition de la zone Accepter / Refuser.
 * Le pied YITH reste fonctionnel mais devient une vraie barre d actions compacte
 * et centrée, sans grand vide blanc ni bouton collé au bord droit. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page tr.adlr-quote-decision-row{
 height:auto!important;min-height:0!important;background:#fbfdff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page td.adlr-quote-decision-cell,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page th.adlr-quote-decision-cell{
 height:auto!important;min-height:0!important;padding:12px 18px!important;box-sizing:border-box!important;
 border-top:1px solid rgba(4,92,180,.10)!important;background:#fbfdff!important;vertical-align:middle!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions{
 width:100%!important;max-width:372px!important;margin:0 auto!important;padding:0!important;
 justify-content:center!important;gap:12px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > a,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > button,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions > input[type="button"]{
 flex:1 1 0!important;width:auto!important;min-width:130px!important;max-width:160px!important;margin:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page tr.adlr-quote-empty-decision-row{
 display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;
}
@media(max-width:600px){
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page td.adlr-quote-decision-cell,
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page th.adlr-quote-decision-cell{
  padding:12px 14px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions{
  max-width:340px!important;gap:10px!important;
 }
}


/* ADLR Compte client 1.16.5 - boutons Devis alignes sur Astra.
 * Voir / PDF = Primary Astra, Retour = Secondary Astra.
 * ADLR conserve seulement la geometrie utile ; les actions metier gardent
 * leur code couleur positif / negatif independamment des classes YITH. */
body.woocommerce-account .woocommerce-MyAccount-content table.adlr-quotes-table .adlr-quote-view-action.ast-button,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-pdf.ast-button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-back.ast-outline-button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .adlr-quote-accept{
 background:#eaf8ef!important;border-color:#b9dfc8!important;color:#187642!important;box-shadow:0 1px 2px rgba(15,23,42,.07)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .adlr-quote-accept:hover,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .adlr-quote-accept:focus-visible{
 background:#dff3e7!important;border-color:#95cfac!important;color:#145f37!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .adlr-quote-reject{
 background:#fff5f5!important;border-color:#f0cccc!important;color:#a43838!important;box-shadow:0 1px 2px rgba(15,23,42,.07)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .adlr-quote-reject:hover,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .ywraq-buttons.adlr-quote-decision-actions .adlr-quote-reject:focus-visible{
 background:#fdeaea!important;border-color:#e7b4b4!important;color:#8f2f2f!important;
}

/* ADLR Compte client 1.16.7 TEST - même correction des horaires sur view-quote.
 * Les espaces de fin du HTML transporteur ne doivent plus déplacer le bloc. */
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours pre,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours code {
 display:block!important;width:100%!important;max-width:100%!important;margin:8px 0 0!important;padding:0!important;
 text-align:center!important;white-space:pre-line!important;overflow:visible!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours pre span,
body.woocommerce-account .woocommerce-MyAccount-content.adlr-quote-detail-page .adlr-quote-detail-relay-hours code span {
 background:transparent!important;color:inherit!important;white-space:inherit!important;
}
