/* Sprint 3.3GL.1.4.1 — Projet BAXARA UI corrective */
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title,
body.woocommerce-cart .wp-block-post-title{display:none!important}
body.woocommerce-cart .site-main,
body.woocommerce-cart main{background:#f5f8fb}
.bxgl-project-shell{max-width:1240px;margin:28px auto 72px;padding:0 24px;color:#062f59;box-sizing:border-box}
.bxgl-project-shell *{box-sizing:border-box}
.bxgl-project-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;background:linear-gradient(135deg,#06325d 0%,#0a4b7e 100%);color:#fff;border-radius:22px;padding:32px 36px;margin-bottom:22px;box-shadow:0 18px 44px rgba(4,47,87,.14)}
.bxgl-project-hero small,.bxgl-project-summary>small,.bxgl-project-section-head small{display:block;color:#39d52d;font-size:12px;font-weight:900;letter-spacing:.13em}
.bxgl-project-hero h1{font-size:clamp(30px,3.4vw,44px);line-height:1.06;margin:8px 0 10px;color:#fff}
.bxgl-project-hero p{max-width:760px;margin:0;color:#e9f2f8;line-height:1.6;font-size:15px}
.bxgl-project-hero-stat{min-width:145px;text-align:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);border-radius:17px;padding:16px}
.bxgl-project-hero-stat strong{display:block;font-size:34px;color:#39d52d;line-height:1}
.bxgl-project-hero-stat span{display:block;margin-top:7px;font-size:12px;font-weight:800}
.bxgl-project-form{margin:0}
.bxgl-project-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.72fr);gap:22px;align-items:start}
.bxgl-project-items{display:grid;gap:14px}
.bxgl-project-item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;background:#fff;border:1px solid #dce7ef;border-radius:18px;padding:17px;box-shadow:0 10px 28px rgba(6,47,89,.05)}
.bxgl-project-item__image{display:flex;align-items:center;justify-content:center;background:#f8fbfd;border-radius:13px;min-height:145px;overflow:hidden}
.bxgl-project-item__image img{display:block;width:100%!important;height:138px!important;max-width:145px!important;object-fit:contain!important;margin:0!important}
.bxgl-project-item__body{min-width:0;display:flex;flex-direction:column;justify-content:center}
.bxgl-project-item__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.bxgl-project-item__meta code{font-family:inherit;font-size:11px;color:#52677a;background:#f2f6f9;border-radius:999px;padding:6px 10px;white-space:nowrap}
.bxgl-status{display:inline-flex;align-items:center;color:#0a8f28;background:#eafbe8;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900}
.bxgl-project-item__body h2{font-size:21px;line-height:1.25;margin:10px 0 7px}
.bxgl-project-item__body h2 a{color:#062f59;text-decoration:none}
.bxgl-project-item__body h2 a:hover{color:#0a8f28}
.bxgl-project-item__body p{margin:0 0 16px;color:#586d7e;line-height:1.5;font-size:14px}
.bxgl-project-item__controls{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:auto}
.bxgl-project-item__controls label{display:grid!important;gap:6px;color:#062f59;font-size:12px;font-weight:900}
.bxgl-project-item__controls .quantity{margin:0!important}
.bxgl-project-item__controls .quantity .qty{width:78px!important;min-height:40px!important;border:1px solid #cad9e5!important;border-radius:9px!important;padding:7px 9px!important;background:#fff!important;color:#062f59!important;box-shadow:none!important}
.bxgl-remove{color:#647a8c;font-size:12px;font-weight:800;text-decoration:none;padding:8px 0}
.bxgl-remove:hover{color:#b42318}
.bxgl-project-update{display:flex;justify-content:flex-end;margin-top:2px}
.bxgl-project-update .button{appearance:none;border:0!important;border-radius:11px!important;background:#e7f1f7!important;color:#062f59!important;padding:12px 18px!important;font-weight:900!important;line-height:1.2!important;cursor:pointer}
.bxgl-project-update .button:hover{background:#d8e9f3!important}
.bxgl-project-summary{position:sticky;top:118px;background:linear-gradient(160deg,#073761,#0a4b7e);color:#fff;border-radius:20px;padding:28px;box-shadow:0 18px 44px rgba(4,47,87,.13)}
.bxgl-project-summary h2{font-size:29px;line-height:1.1;color:#fff;margin:8px 0 11px}
.bxgl-project-summary>p{color:#e7f0f6;line-height:1.55;margin:0}
.bxgl-project-summary ul{list-style:none!important;padding:0!important;margin:20px 0!important;display:grid;gap:9px}
.bxgl-project-summary li{padding:0!important;color:#fff!important;font-size:14px}
.bxgl-project-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:18px}
.bxgl-project-actions--stacked{display:grid!important;gap:10px!important}
.bxgl-project-actions .bxv5-button,.bxgl-project-actions--stacked .bxv5-button{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;border-radius:10px!important;min-height:46px;padding:12px 18px!important;font-weight:900!important;line-height:1.2!important;border:1px solid #39d52d!important;background:#39d52d!important;color:#071d16!important}
.bxgl-project-actions .bxv5-button.is-white,.bxgl-project-actions--stacked .bxv5-button.is-white{background:#fff!important;border-color:#fff!important;color:#062f59!important}
.bxgl-project-actions .bxv5-button:hover,.bxgl-project-actions--stacked .bxv5-button:hover{transform:translateY(-1px);filter:brightness(.98)}
.bxgl-project-actions--stacked .bxv5-button{width:100%}
.bxgl-project-summary__note{border-top:1px solid rgba(255,255,255,.16);margin-top:18px!important;padding-top:15px;font-size:12px!important;color:#cfe0eb!important}
.bxgl-project-notice{max-width:1240px;margin:18px auto;background:#eafbe8;border-left:4px solid #35cf2d;padding:12px 16px;color:#062f59;border-radius:8px}
.bxgl-add-project{background:#35cf2d!important;color:#071d16!important;border-color:#35cf2d!important}
/* Empty state + recommendations */
.bxgl-project-shell--empty{max-width:1180px}
.bxgl-project-empty{background:linear-gradient(135deg,#073761,#0a4b7e);color:#fff;border-radius:22px;padding:34px 38px;box-shadow:0 18px 45px rgba(6,47,89,.14);margin:0 auto 38px}
.bxgl-project-empty small{color:#39d52d;font-weight:900;letter-spacing:.12em}
.bxgl-project-empty h1{font-size:clamp(30px,4vw,44px);margin:8px 0 10px;color:#fff}
.bxgl-project-empty p{max-width:820px;line-height:1.65}
.bxgl-project-empty footer{border-top:1px solid rgba(255,255,255,.2);margin-top:22px;padding-top:16px;display:flex;gap:18px;flex-wrap:wrap}
.bxgl-project-empty footer b{color:#39d52d}
.bxgl-project-recommendations{margin-top:32px}
.bxgl-project-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.bxgl-project-section-head h2{font-size:29px;margin:5px 0 0;color:#062f59}
.bxgl-project-section-head>a{font-weight:900;color:#062f59;text-decoration:none}
.bxgl-project-reco-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.bxgl-project-reco-card{background:#fff;border:1px solid #dce7ef;border-radius:18px;overflow:hidden}
.bxgl-project-reco-image{display:flex;align-items:center;justify-content:center;height:210px;background:#fff}
.bxgl-project-reco-image img{width:100%;height:190px;object-fit:contain}
.bxgl-project-reco-body{padding:16px}.bxgl-project-reco-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px}.bxgl-project-reco-meta span{background:#eafbe8;color:#0a8f28;border-radius:999px;padding:5px 8px;font-weight:900}.bxgl-project-reco-meta code{font-family:inherit;color:#607386}.bxgl-project-reco-body h3{font-size:16px;line-height:1.35;min-height:44px;margin:12px 0}.bxgl-project-reco-body h3 a{color:#062f59;text-decoration:none}.bxgl-project-reco-actions{display:grid;gap:8px}.bxgl-project-reco-actions .bxv5-button{display:flex;justify-content:center;text-align:center;padding:10px 12px;min-height:40px;font-size:12px;border-radius:9px;text-decoration:none;font-weight:900;background:#39d52d;color:#071d16}.bxgl-project-reco-actions .bxv5-button.is-outline{background:#fff;color:#062f59;border:1px solid #cbdbe8}
@media(max-width:980px){.bxgl-project-layout{grid-template-columns:1fr}.bxgl-project-summary{position:static}.bxgl-project-reco-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.woocommerce-cart{padding-bottom:74px}.bxgl-project-shell{margin:14px auto 92px;padding:0 12px}.bxgl-project-hero{align-items:flex-start;padding:22px 19px;border-radius:16px;display:grid;gap:14px}.bxgl-project-hero h1{font-size:30px}.bxgl-project-hero p{font-size:14px}.bxgl-project-hero-stat{display:flex;align-items:center;text-align:left;gap:10px;min-width:0;padding:11px 13px}.bxgl-project-hero-stat strong{font-size:27px}.bxgl-project-hero-stat span{margin:0}.bxgl-project-item{grid-template-columns:92px minmax(0,1fr);gap:13px;padding:13px;border-radius:15px}.bxgl-project-item__image{min-height:96px}.bxgl-project-item__image img{height:88px!important;max-width:88px!important}.bxgl-project-item__meta{align-items:flex-start}.bxgl-project-item__body h2{font-size:16px;margin-top:8px}.bxgl-project-item__body p{font-size:12px;margin-bottom:12px}.bxgl-project-item__controls{align-items:center;flex-wrap:wrap}.bxgl-project-item__controls .quantity .qty{width:68px!important;min-height:38px!important}.bxgl-project-update .button{width:100%}.bxgl-project-summary{padding:23px 19px;border-radius:16px}.bxgl-project-summary h2{font-size:25px}.bxgl-project-empty{padding:24px 20px;border-radius:16px}.bxgl-project-empty h1{font-size:29px}.bxgl-project-actions{display:grid}.bxgl-project-actions .bxv5-button{width:100%}.bxgl-project-section-head{align-items:flex-start}.bxgl-project-section-head h2{font-size:24px}.bxgl-project-section-head>a{font-size:12px;white-space:nowrap}.bxgl-project-reco-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:8px}.bxgl-project-reco-card{min-width:78vw;scroll-snap-align:start}.bxgl-project-reco-image{height:175px}.bxgl-project-reco-image img{height:160px}}

/* Sprint 3.3GL.1.5 — Demande de devis B2B */
.bxgl-quote-shell{padding-bottom:72px}.bxgl-quote-form{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.bxgl-quote-card{background:#fff;border:1px solid #dce7f1;border-radius:18px;padding:28px;box-shadow:0 12px 35px rgba(5,45,82,.06)}.bxgl-quote-card+ .bxgl-quote-card{grid-column:1}.bxgl-quote-card small,.bxgl-quote-submit small,.bxgl-quote-ready small{color:#25d72f;font-weight:900;letter-spacing:.12em}.bxgl-quote-card h2,.bxgl-quote-submit h2,.bxgl-quote-ready h2{color:#052d52;margin:7px 0 22px;font-size:26px}.bxgl-quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bxgl-quote-grid label,.bxgl-quote-message{display:flex;flex-direction:column;gap:7px;color:#052d52;font-weight:800;font-size:13px}.bxgl-quote-grid .is-wide{grid-column:1/-1}.bxgl-quote-grid input,.bxgl-quote-message textarea{width:100%;box-sizing:border-box;border:1px solid #cdddeb;border-radius:10px;background:#fff;padding:13px 14px;font:inherit;font-weight:500;color:#052d52;outline:none}.bxgl-quote-grid input:focus,.bxgl-quote-message textarea:focus{border-color:#25d72f;box-shadow:0 0 0 3px rgba(37,215,47,.12)}.bxgl-quote-checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.bxgl-quote-checks label{display:flex;gap:12px;align-items:flex-start;border:1px solid #dce7f1;border-radius:12px;padding:15px;cursor:pointer}.bxgl-quote-checks input{margin-top:4px;accent-color:#25d72f}.bxgl-quote-checks span{display:flex;flex-direction:column;gap:3px;color:#052d52}.bxgl-quote-checks em{font-style:normal;font-size:12px;color:#61778c}.bxgl-quote-submit{grid-column:2;grid-row:1/span 2;position:sticky;top:115px;background:#0b4b7d;color:#fff;border-radius:18px;padding:28px}.bxgl-quote-submit h2{color:#fff}.bxgl-quote-submit p{line-height:1.6}.bxgl-quote-submit .bxv5-button{display:block;width:100%;box-sizing:border-box;text-align:center;margin:22px 0 14px;border:0}.bxgl-quote-submit>a{display:block;text-align:center;color:#fff;font-weight:800}.bxgl-quote-alert{margin:0 0 20px;padding:14px 18px;border-radius:10px;background:#fff1f1;color:#8b1e1e;border:1px solid #ffd0d0;font-weight:700}.bxgl-quote-ready{background:#0b4b7d;color:#fff;border-radius:18px;padding:34px;box-shadow:0 14px 38px rgba(5,45,82,.12)}.bxgl-quote-ready h2{color:#fff}.bxgl-quote-ready p{max-width:760px;line-height:1.65}.bxgl-quote-ready .bxv5-button{display:inline-block;margin:14px 10px 0 0}
@media(max-width:900px){.bxgl-quote-form{grid-template-columns:1fr}.bxgl-quote-submit{grid-column:1;grid-row:auto;position:static}.bxgl-quote-card+ .bxgl-quote-card{grid-column:1}}
@media(max-width:600px){.bxgl-quote-shell{padding-bottom:92px}.bxgl-quote-card{padding:20px 16px;border-radius:14px}.bxgl-quote-grid,.bxgl-quote-checks{grid-template-columns:1fr}.bxgl-quote-grid .is-wide{grid-column:auto}.bxgl-quote-submit{padding:22px 18px}.bxgl-quote-card h2,.bxgl-quote-submit h2,.bxgl-quote-ready h2{font-size:22px}.bxgl-quote-ready{padding:24px 18px}.bxgl-quote-ready .bxv5-button{display:block;margin:10px 0;text-align:center}}

/* Sprint 3.3GL.1.5.1 — Quote Routing Fix
   Le formulaire est rendu sur /panier/ et révélé via l’ancre #baxara-quote-form.
   Cela supprime toute dépendance à un query var WordPress et évite le faux 404. */
.bxgl-quote-shell{display:none}
.bxgl-quote-shell:target{display:block}
.bxgl-quote-shell:target .bxgl-project-hero{animation:bxglQuoteReveal .2s ease-out}
@keyframes bxglQuoteReveal{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Sprint 3.3N.6 — contexte commercial + qualification dynamique */
.bxgl-context-card{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;gap:10px 18px;align-items:center;padding:18px 22px;border:1px solid #cfe0ed;border-left:5px solid #25d72f;border-radius:14px;background:#eef6fb;color:#052d52}.bxgl-context-card small{color:#149b25;font-weight:900;letter-spacing:.12em}.bxgl-context-card strong{font-size:18px}.bxgl-context-card span{padding:7px 11px;border-radius:999px;background:#fff;border:1px solid #d5e4ef;font-weight:800;font-size:12px}.bxgl-qualification-intro{margin:-10px 0 20px;color:#61778c}.bxgl-quote-grid select{width:100%;box-sizing:border-box;border:1px solid #cdddeb;border-radius:10px;background:#fff;padding:13px 14px;font:inherit;font-weight:500;color:#052d52;outline:none}.bxgl-quote-grid select:focus{border-color:#25d72f;box-shadow:0 0 0 3px rgba(37,215,47,.12)}
@media(max-width:760px){.bxgl-context-card{grid-template-columns:1fr}.bxgl-context-card span{justify-self:start}.bxgl-quote-grid{grid-template-columns:1fr}}
