/* Panier boutique — page fixe plein écran, mise en page "panier + carte sombre" (référence fournie).
   Adapté à Europale : barre de menu charbon, bleu #38b6ff, Poppins. */
html:has(.bc-page),body:has(.bc-page){height:100%;overflow:hidden}
body:has(.bc-page){display:flex;flex-direction:column;height:100vh;height:100dvh;background:#fff}
body:has(.bc-page) .site-header{position:relative;flex:0 0 auto;background:#23211e}
.bc-page{flex:1;min-height:0;display:flex;padding:clamp(14px,3.4dvh,40px) clamp(16px,4.5vw,80px) clamp(14px,3dvh,34px);background:#fff;color:#23211e;font-family:'Poppins',sans-serif}
.bc-grid{width:100%;max-width:1500px;margin:0 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:stretch}

/* ── Colonne gauche : panier ── */
.bc-cartcol{display:flex;flex-direction:column;min-height:0}
.bc-cartcol h1{font-family:'Playfair Display',Georgia,serif;font-weight:800;font-size:clamp(2rem,min(4vw,6.4dvh),3.4rem);line-height:1.05;margin:0 0 clamp(10px,2.4dvh,26px);color:#23211e}
.bc-head,.bc-line{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(0,1fr) minmax(0,1.1fr) minmax(0,.9fr) 30px;align-items:center;column-gap:clamp(8px,1.4vw,22px)}
.bc-head{padding:0 0 10px;font-size:.64rem;font-weight:700;color:#23211e}
.bc-head[hidden]{display:none}
.bc-head .r{text-align:right}
.bc-cart{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cfd3da transparent}
.bc-line{padding:clamp(8px,1.6dvh,16px) 0}
.bc-prod{display:flex;align-items:center;gap:clamp(10px,1.2vw,16px);min-width:0}
.bc-limg{flex:0 0 auto;width:clamp(48px,8.4dvh,74px);height:clamp(48px,8.4dvh,74px);background:#f3f4f6;border-radius:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bc-limg img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.bc-limg span{font-family:'Playfair Display',serif;font-weight:800;font-size:1.6rem;color:#b8bcc6}
.bc-linfo{min-width:0;display:flex;flex-direction:column;gap:2px}
.bc-linfo b{font-size:clamp(.82rem,1.9dvh,.98rem);font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bc-linfo small{font-size:.66rem;color:#9aa0ab;font-weight:500}
.bc-floc{width:100%;max-width:280px;margin-top:3px;font-family:'Poppins',sans-serif;font-size:.7rem;color:#23211e;background:transparent;border:none;border-bottom:1px solid #d8dbe1;padding:2px 0;outline:none}
.bc-floc::placeholder{color:#b0b5bf}
.bc-floc:focus{border-bottom-color:#38b6ff}
.bc-size{width:100%;max-width:92px;font-family:'Poppins',sans-serif;font-size:.78rem;font-weight:600;color:#23211e;background:#fff;border:1px solid #dfe2e8;border-radius:0;padding:7px 10px;cursor:pointer;outline:none}
.bc-size:focus{border-color:#38b6ff}
.bc-size1{font-size:.78rem;font-weight:600;color:#6b7280}
.bc-qty{display:inline-flex;align-items:center;gap:2px;font-weight:700;font-size:.85rem}
.bc-qty button{width:26px;height:26px;background:transparent;color:#38b6ff;border:0;border-radius:0;font-size:1.15rem;line-height:1;cursor:pointer;transition:background .15s}
.bc-qty button:hover{background:#eaf6ff}
.bc-qty span{min-width:24px;text-align:center}
.bc-lprice{text-align:right;font-weight:700;font-size:clamp(.82rem,1.9dvh,.95rem)}
.bc-del{width:26px;height:26px;background:transparent;color:#c3c7cf;border:0;font-size:1.3rem;line-height:1;cursor:pointer;transition:color .15s}
.bc-del:hover{color:#ef4444}
.bc-line+.bc-line{border-top:1px solid #f0f1f4}

.bc-empty{padding:clamp(16px,6dvh,56px) 0;max-width:420px}
.bc-empty b{display:block;font-family:'Playfair Display',serif;font-weight:800;font-size:clamp(1.3rem,3dvh,1.7rem);margin-bottom:8px}
.bc-empty p{font-size:.88rem;line-height:1.65;color:#6b7280;margin:0 0 20px}

.bc-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding-top:clamp(8px,1.8dvh,18px);border-top:1px solid #eceef2;margin-top:4px}
.bc-continue{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;padding:clamp(10px,1.8dvh,14px) 24px;border:1px solid #d9dce2;border-radius:0;background:#fff;color:#23211e;font-size:.8rem;font-weight:600;text-decoration:none;transition:border-color .2s,color .2s}
.bc-continue span{font-size:1.1rem;line-height:1}
.bc-continue:hover{border-color:#38b6ff;color:#0e8fd6}
.bc-sums{margin:0;min-width:min(100%,290px)}
.bc-sums[hidden]{display:none}
.bc-sums div{display:flex;justify-content:space-between;gap:30px;font-size:.78rem;padding:clamp(1px,.5dvh,5px) 0}
.bc-sums dt{font-weight:700;color:#23211e}
.bc-sums dd{margin:0;font-weight:600;color:#23211e}
.bc-sums dd.muted{color:#9aa0ab;font-weight:500}
.bc-sums .tot{padding-top:clamp(4px,1dvh,10px)}
.bc-sums .tot dt,.bc-sums .tot dd{font-size:clamp(.95rem,2.2dvh,1.1rem);font-weight:800}

/* ── Colonne droite : carte sombre ── */
.bc-formbox{background:#23211e;color:#fff;border-radius:0;padding:clamp(18px,3.4dvh,38px) clamp(20px,2.6vw,38px);display:flex;flex-direction:column;min-height:0;box-shadow:0 20px 50px rgba(35,33,30,.28)}
#bcForm{display:flex;flex-direction:column;flex:1;min-height:0}
.bc-formbox h2{font-family:'Playfair Display',Georgia,serif;font-weight:800;font-size:clamp(1.5rem,min(2.6vw,4.6dvh),2.3rem);line-height:1.05;margin:0}
.bc-sub{margin:6px 0 0;font-size:.74rem;line-height:1.55;color:rgba(255,255,255,.6)}
.bc-r{display:flex;gap:18px}
.bc-r .bc-field{flex:1;min-width:0}
.bc-field{margin-top:clamp(8px,2.1dvh,22px)}
.bc-field label{display:block;font-size:.58rem;font-weight:700;color:rgba(255,255,255,.7);margin-bottom:2px}
.bc-field:focus-within label{color:#38b6ff}
.bc-field input,.bc-field textarea{width:100%;font-family:'Poppins',sans-serif;font-size:max(14px,min(.88rem,2dvh));color:#fff;background:transparent;border:none;border-bottom:1px solid rgba(255,255,255,.28);border-radius:0;padding:clamp(5px,1dvh,9px) 0;outline:none;transition:border-color .2s;resize:none}
.bc-field input:focus,.bc-field textarea:focus{border-bottom-color:#38b6ff}
.bc-field textarea{background:rgba(255,255,255,.06);border-radius:0;border-bottom:none;padding:10px 12px}
.bc-field textarea:focus{background:rgba(255,255,255,.1)}
.bc-field textarea::placeholder,.bc-field input::placeholder{color:rgba(255,255,255,.4)}
.bc-grow{flex:1;min-height:70px;display:flex;flex-direction:column}
.bc-grow textarea{flex:1;min-height:0;height:100%}
.bc-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.bc-btn{display:block;margin-top:clamp(10px,2.2dvh,22px);width:100%;font-family:'Poppins',sans-serif;font-weight:700;font-size:.86rem;text-align:center;text-decoration:none;padding:clamp(11px,2dvh,16px) 24px;background:#38b6ff;color:#fff;border:0;border-radius:0;cursor:pointer;transition:background .2s,transform .2s}
.bc-btn:hover{background:#1ea3f0;transform:translateY(-1px)}
.bc-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.bc-contactline{margin:10px 0 0;font-size:.68rem;color:rgba(255,255,255,.6);text-align:center}
.bc-contactline a{color:#fff;font-weight:600;text-decoration:none}
.bc-contactline a:hover{color:#38b6ff}
.bc-legal{margin:6px 0 0;font-size:.6rem;line-height:1.4;color:rgba(255,255,255,.4);text-align:center}
.bc-legal a{color:rgba(255,255,255,.7);font-weight:600}
.bc-error{background:rgba(239,68,68,.15);border-left:3px solid #ef4444;color:#fecaca;padding:6px 12px;font-size:.76rem;margin-top:8px;border-radius:0}
.bc-success{text-align:center;padding:30px 6px;margin:auto}
.bc-success h3{font-family:'Playfair Display',serif;font-weight:800;font-size:1.9rem;margin:0 0 10px}
.bc-success p{color:rgba(255,255,255,.7);font-size:.9rem;line-height:1.6;margin:0}
.bc-success .bc-btn{max-width:260px;margin:22px auto 0}

@media(max-height:760px){.bc-sub{display:none}.bc-contactline{display:none}.bc-limg{width:44px;height:44px}}

/* ── Tablette / mobile : une colonne, sans défilement de page ── */
@media(max-width:900px){
  .bc-page{padding:10px 14px 10px}
  .bc-grid{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:10px;max-width:640px}
  .bc-cartcol h1{font-size:clamp(1.5rem,4.6dvh,2.2rem);margin-bottom:4px}
  .bc-head{display:none}
  .bc-line{grid-template-columns:minmax(0,1fr) auto 26px;grid-template-areas:"prod price del" "size qty qty";row-gap:6px;padding:8px 0}
  .bc-prod{grid-area:prod}
  .bc-lprice{grid-area:price}
  .bc-del{grid-area:del}
  .bc-csize{grid-area:size}
  .bc-cqty{grid-area:qty;justify-self:end}
  .bc-limg{width:42px;height:42px}
  .bc-bottom{flex-direction:row;align-items:center;padding-top:6px}
  .bc-continue{padding:8px 14px;font-size:.7rem}
  .bc-sums{min-width:0}
  .bc-sums div:not(.tot){display:none}
  .bc-sums .tot{padding:0;gap:14px}
  .bc-formbox{padding:12px 14px;border-radius:0}
  .bc-formbox h2,.bc-sub,.bc-contactline{display:none}
  .bc-field{margin-top:clamp(4px,1dvh,10px)}
  .bc-r{gap:8px}
  .bc-field input,.bc-field textarea{padding:5px 0;font-size:14px}
  .bc-field textarea{padding:6px 10px}
  .bc-grow{min-height:40px;max-height:80px}
  .bc-legal{font-size:.55rem;margin-top:4px}
  .bc-btn{margin-top:8px;padding:10px}
}
.bc-sums dd,.bc-sums dt{white-space:nowrap}

.bc-color{width:100%;max-width:150px;margin-top:3px;font-family:'Poppins',sans-serif;font-size:.7rem;font-weight:600;color:#23211e;background:#fff;border:1px solid #dfe2e8;border-radius:0;padding:4px 8px;cursor:pointer;outline:none}
.bc-color:focus{border-color:#38b6ff}
