/* Module websourcedevis - styles front-office (neutres, surchargeables par le theme) */
.wsd-page { margin-bottom: 2rem; }
.wsd-product-button, .wsd-cart-button { margin: .75rem 0; }
.wsd-btn { display: inline-block; }
.wsd-price-on-quote { font-weight: 600; }

.wsd-intro { margin-bottom: 1.5rem; }
.wsd-block { border: 1px solid #e3e3e3; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.wsd-block legend { font-size: 1.05rem; font-weight: 600; width: auto; padding: 0 .5rem; border: 0; }
.wsd-lines .wsd-qty-col { width: 130px; }
.wsd-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.wsd-gdpr { margin: 1rem 0; }
.wsd-errors ul { margin: 0; padding-left: 1.2rem; }

.wsd-state { display: inline-block; padding: 2px 8px; border-radius: 3px; color: #fff; font-size: .85em; white-space: nowrap; }
.wsd-warning { color: #b9541a; font-weight: 600; }
.wsd-count { display: inline-block; margin-left: .4rem; padding: 0 6px; border-radius: 10px; background: #999; color: #fff; font-size: .75em; }

.wsd-detail-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.wsd-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1rem 0; }
.wsd-totals { display: flex; justify-content: flex-end; margin: 1rem 0; }
.wsd-totals table { min-width: 320px; }
.wsd-totals td { padding: .25rem .5rem; }
.wsd-total-final td { border-top: 2px solid #333; }
.wsd-line-title td { background: #f5f5f5; }
.wsd-note { border-left: 3px solid #ccc; padding-left: 1rem; margin: 1rem 0; }

.wsd-decision { display: flex; flex-wrap: wrap; gap: 2rem; margin: 2rem 0; }
.wsd-decision > div { flex: 1 1 280px; }
.wsd-messages { margin-top: 2rem; }
.wsd-message { border: 1px solid #e3e3e3; padding: .75rem 1rem; margin-bottom: .75rem; }
.wsd-message-shop { background: #f7f9fa; }
.wsd-message-meta { font-size: .85em; color: #777; margin-bottom: .35rem; }
