.wqb-add-row{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
.wqb-add-row label{font-size:13px}
.wqb-add-row input{width:85px!important;min-height:42px;padding:8px!important}
.wqb-add-status{flex-basis:100%;font-size:13px}
.wqb-open-list{display:inline-flex;gap:8px;align-items:center;border:1px solid #e8dfd0;border-radius:30px;padding:12px 17px;background:#fff;color:#27231d;cursor:pointer}
.wqb-list-count{border-radius:50%;background:#a88755;color:#fff;min-width:23px;text-align:center}
.wqb-floating{position:fixed;right:22px;bottom:105px;z-index:9990;box-shadow:0 6px 20px #0002;border-radius:30px}
#wqbBasket .wqb-modal__dialog{width:min(680px,94vw);max-height:86dvh;margin:7dvh auto;overflow-y:auto;padding:24px}
.wqb-basket-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 32px;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #eee}
.wqb-basket-row strong{font-size:14px;line-height:1.4;display:block}
.wqb-basket-row small{display:block;color:#777}
.wqb-basket-row input{width:100%;padding:8px!important;box-sizing:border-box;font-size:16px}
.wqb-basket-row button{padding:4px!important;border:0;background:transparent;color:#8a3c31;font-size:24px}
.wqb-basket-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.wqb-basket-actions button{flex:1;padding:12px!important;background:#a88755;color:white;border:0;border-radius:7px}
#wqbBasketStatus{font-size:13px;color:#8a3c31}
#wqbModal .wqb-modal__dialog{width:min(540px,94vw);max-height:88dvh;margin:6dvh auto;padding:20px;border-radius:12px;overflow-y:auto;box-sizing:border-box}
#wqbModal #wqbTitle{font-size:21px;margin:0}
#wqbQuoteForm{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 15px!important}
#wqbQuoteForm>input[type=hidden]{display:none!important}
#wqbQuoteForm>.wqb-field{grid-column:auto!important;min-width:0;margin:0!important}
#wqbQuoteForm>.wqb-field:has(textarea),#wqbQuoteForm>#wqb_min_qty,#wqbQuoteForm>.wqb-actions{grid-column:1/-1!important}
#wqbQuoteForm .wqb-field label{font-size:12px}
#wqbQuoteForm .wqb-field input,#wqbQuoteForm .wqb-field textarea{min-height:42px;padding:9px 12px;border:1px solid #dedbd5;border-radius:6px;box-sizing:border-box;font-size:16px}
#wqbQuoteForm .wqb-field textarea{height:65px;min-height:65px}
#wqbQuoteForm .wqb-actions{flex-direction:column;align-items:stretch}
#wqbQuoteForm .wqb-submit{background:#a88755;color:white;border:0;border-radius:6px;padding:12px!important}
#wqb_min_qty{font-size:12px;padding:10px;background:#f7f3ec}
@media(max-width:480px){#wqbModal #wqbQuoteForm{grid-template-columns:1fr!important}.wqb-basket-row{gap:8px;grid-template-columns:minmax(0,1fr) 65px 25px}}
/* Panneau latéral de devis */
#wqbBasket .wqb-modal__dialog{
 position:absolute;right:0;top:0;bottom:0;margin:0!important;
 width:min(460px,100vw)!important;height:100dvh;max-height:100dvh!important;
 border-radius:0!important;padding:24px!important;box-shadow:-12px 0 40px #0002;
}
.wqb-view-list{display:block!important;text-align:center;margin-top:22px!important;background:#a88755!important;color:#fff!important;border:0!important;border-radius:6px;padding:14px!important}
#wqbQuotePage{max-width:1000px;margin:24px auto;padding:24px;border:1px solid #e9e3d9;border-radius:12px;background:#fff}
#wqbQuotePage .wqb-basket-row{padding:20px 0;grid-template-columns:minmax(0,1fr) 100px 35px}
.wqb-list-table-head{display:grid;grid-template-columns:minmax(0,1fr) 100px 35px;gap:12px;font-weight:600;background:#f7f3ec;padding:14px 0}
#wqbQuotePageStatus{color:#9f3827;font-size:14px}
@media(max-width:480px){#wqbQuotePage{padding:14px}#wqbQuotePage .wqb-basket-row,.wqb-list-table-head{grid-template-columns:minmax(0,1fr) 70px 25px;gap:8px}}
.wqb-product-info{display:flex;align-items:center;gap:12px;min-width:0}
.wqb-product-info img{width:60px;height:60px;object-fit:contain;flex-shrink:0;border:1px solid #eee;border-radius:6px}
.wqb-product-info a{font-size:14px;font-weight:600;color:#27231d;line-height:1.4}
@media(max-width:480px){.wqb-product-info{gap:7px}.wqb-product-info img{width:42px;height:42px}}
.wqb-search-box{margin:22px 0 26px;padding:20px;background:#faf8f4;border:1px solid #eee7db;border-radius:10px}
#wqbQuotePage .wqb-search-box h3{font-size:20px;margin:0 0 12px}
.wqb-search-box>label{display:block;font-size:13px;margin-bottom:7px}
#wqbSearchInput{width:100%;padding:12px 15px!important;border:1px solid #ddd4c5;border-radius:7px;font-size:16px;box-sizing:border-box;background:#fff}
#wqbSearchInput:focus{outline:2px solid #a88755;outline-offset:2px}
#wqbSearchStatus,.wqb-search-item-status{font-size:13px;line-height:1.5}
#wqbSearchStatus:empty,.wqb-search-item-status:empty{display:none}
#wqbSearchResults{max-height:480px;overflow-y:auto}
.wqb-search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 15px;padding:15px 0;border-bottom:1px solid #e8e2d8}
.wqb-search-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wqb-search-actions label{font-size:12px}
.wqb-search-actions input{width:65px!important;min-height:40px;padding:8px!important;font-size:16px;border:1px solid #ddd4c5;border-radius:5px;background:#fff;box-sizing:border-box}
.wqb-search-actions button{padding:10px 14px!important;min-height:40px;border:0!important;border-radius:5px;background:#a88755!important;color:#fff!important;font-size:13px!important;line-height:1.4}
.wqb-search-actions button:disabled{opacity:.6;cursor:wait}
.wqb-search-options,.wqb-search-item-status{grid-column:1/-1;margin:0}
.wqb-search-options:empty{display:none}
.wqb-search-options{padding-left:12px;border-left:2px solid #d9c5a3}
.wqb-search-result .wqb-product-info strong{font-size:13px;line-height:1.5}
@media(max-width:650px){.wqb-search-result{grid-template-columns:1fr}.wqb-search-actions{padding-left:0}.wqb-search-box{padding:14px}}

/* Petit popup de sélection des options */
#wqbOptionsNotice{z-index:100010!important}
#wqbOptionsNotice .wqb-options-dialog{
 position:relative;width:min(360px,calc(100vw - 36px));max-height:85dvh;
 top:50%;transform:translateY(-50%);margin:0 auto;padding:28px 24px 24px;
 border-radius:14px;background:#fff;box-shadow:0 18px 60px #0003;
 box-sizing:border-box;text-align:center;overflow-y:auto
}
#wqbOptionsNotice #wqbOptionsTitle{margin:4px 0 12px;font-size:20px;line-height:1.35;color:#252b33}
#wqbOptionsNotice #wqbOptionsMessage{margin:0 0 20px;font-size:14px;line-height:1.65;color:#646464}
#wqbOptionsNotice .wqb-options-close{position:absolute;right:10px;top:8px;width:28px;height:28px;padding:0!important;border:0!important;background:transparent!important;color:#555!important;font-size:24px;line-height:1;cursor:pointer}
#wqbOptionsNotice .wqb-options-confirm{width:100%;padding:12px 15px!important;border:0!important;border-radius:7px;background:#a88755!important;color:#fff!important;font-size:14px;line-height:1.4;cursor:pointer}

#wqbOptionsNotice .wqb-added-view,
#wqbOptionsNotice .wqb-added-continue{display:none!important}
#wqbOptionsNotice.is-success [data-wqb-notice-choose]{display:none!important}
#wqbOptionsNotice.is-success .wqb-options-dialog::before{content:"✓";display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 auto 15px;border-radius:50%;background:#f2eee5;color:#a88755;font-size:28px;font-weight:600}
#wqbOptionsNotice.is-success .wqb-added-view{display:block!important;padding:12px 14px;border-radius:7px;background:#a88755!important;color:#fff!important;text-decoration:none;font-size:14px;line-height:1.5;text-align:center}
#wqbOptionsNotice.is-success .wqb-added-continue{display:block!important;width:100%;padding:10px 0 0!important;margin-top:6px;border:0!important;background:transparent!important;color:#666!important;font-size:13px;line-height:1.5;cursor:pointer}
#wqbOptionsNotice.is-success #wqbOptionsMessage{white-space:pre-line;font-size:13px}
