/* ---------- Tunnel (panier + commande) ---------- */
.steps-bar{list-style:none;display:flex;justify-content:center;gap:6px;margin:22px auto 26px;max-width:640px;font-size:13px;font-weight:600;color:var(--muted)}
.steps-bar li{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;text-align:center}
.steps-bar li::before{content:"";position:absolute;top:15px;left:-50%;right:50%;height:2px;background:var(--line);z-index:-1}
.steps-bar li:first-child::before{display:none}
.steps-bar span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--line);font-weight:800;color:var(--muted)}
.steps-bar li.on{color:var(--ink)}.steps-bar li.on span{border-color:var(--red);background:var(--red);color:#fff}
.steps-bar li.done{color:var(--ink)}.steps-bar li.done span{border-color:var(--ok);background:var(--ok);color:#fff}
.steps-bar li.done::before,.steps-bar li.on::before{background:var(--ok)}

.t-grid{display:grid;gap:26px;padding-bottom:60px}
.t-grid>*{min-width:0}
@media(min-width:980px){.t-grid{grid-template-columns:minmax(0,1fr) 390px;gap:40px;align-items:start}.t-sum{position:sticky;top:96px}}
.t-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.t-head h1{font-size:clamp(24px,3vw,32px);font-weight:800}
.t-head h1 small{font-size:15px;color:var(--muted);font-weight:600}
.back{font-size:14px;font-weight:700;text-decoration:underline}

.ship-goal{background:var(--off);border:1px solid var(--line);border-radius:var(--r-m);padding:14px 16px;margin-bottom:12px}
.ship-goal p{font-size:14.5px;font-weight:600}.ship-goal b{color:var(--red)}.ship-goal b.ok,.ok{color:var(--ok)}
.ship-goal .bar{height:8px;background:#ece5d6;border-radius:4px;overflow:hidden;margin-top:10px}
.ship-goal .bar i{display:block;height:100%;background:var(--ok);transition:width .3s}

.line{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.li-img img{width:96px;height:96px;object-fit:contain;background:var(--off);border-radius:12px;padding:6px;border:1px solid var(--line)}
.li-txt{display:flex;flex-direction:column;gap:3px;font-size:14px}
.li-txt b{font-size:15.5px}
.li-txt span{color:var(--muted)}
.li-txt .unit{font-size:13px}
.rm{align-self:flex-start;font-size:13px;text-decoration:underline;color:var(--muted);margin-top:4px}
.li-q{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.li-q>b{font-size:17px}
.qty.sm{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;height:42px}
.qty.sm button{width:38px;height:100%;font-size:18px}
.qty.sm span{min-width:24px;text-align:center;font-weight:700}
@media(max-width:560px){.line{grid-template-columns:72px minmax(0,1fr);gap:12px}.li-img img{width:72px;height:72px}.li-q{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center}}
.empty-cart{text-align:center;padding:50px 0;color:var(--muted)}.empty-cart .btn{margin-top:16px}

.promo-code{margin-top:16px;border:1px solid var(--line);border-radius:var(--r-m);background:#fff}
.promo-code summary{cursor:pointer;padding:14px 16px;font-weight:700;font-size:14px;list-style:none}
.promo-code summary::-webkit-details-marker{display:none}
.promo-code summary::after{content:" +";color:var(--gold-d)}
.promo-in{display:flex;gap:8px;padding:0 16px 16px}
.promo-in input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:999px;padding:0 16px;font:inherit;height:48px}
.promo-in .btn{min-height:48px}

.xs{margin-top:28px}
.xs h2{font-size:18px;font-weight:800;margin-bottom:12px}
.xs-list{display:grid;gap:10px}
@media(min-width:700px){.xs-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.xs-it{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:var(--r-m);padding:10px;background:#fff}
.xs-it img{width:64px;height:64px;object-fit:contain;background:var(--off);border-radius:8px}
.xs-it b{display:block;font-size:13.5px;line-height:1.3}.xs-it span{font-size:13px;color:var(--muted)}
.xs-it .add{width:40px;height:40px}

/* récap */
.t-sum .box{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:22px;box-shadow:var(--shadow)}
.t-sum h2{font-size:19px;font-weight:800}
.t-sum .lab,.co-sec .lab{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:18px 0 8px}
.seg2{display:grid;grid-template-columns:1fr 1fr;background:var(--off);border:1px solid var(--line);border-radius:999px;padding:4px;gap:4px}
.seg2 button{border-radius:999px;padding:10px 8px;font-weight:700;font-size:14px;color:var(--muted)}
.seg2 button[aria-checked=true]{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(60,45,20,.12)}
.seg2.wide{margin-bottom:18px}
.note{font-size:12.5px;color:var(--muted);margin-top:8px}
.cp{display:flex;align-items:center;gap:10px}
.cp input{width:140px;border:1.5px solid var(--line);border-radius:999px;padding:0 16px;height:44px;font:inherit;font-weight:600}
.cp span{font-size:13px;color:var(--ok);font-weight:700}
.ship-opts{display:grid;gap:8px;margin-top:10px}
.ship-opts button,.pay [role=radio]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff;transition:border-color .15s}
.ship-opts button:hover,.pay [role=radio]:hover{border-color:var(--ink)}
.ship-opts button[aria-checked=true],.pay [role=radio][aria-checked=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:var(--off)}
.dot{width:20px;height:20px;border-radius:50%;border:2px solid #cfc6b4;display:block;position:relative}
[aria-checked=true]>.dot{border-color:var(--ink)}
[aria-checked=true]>.dot::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--ink)}
.ship-opts .t b,.pay .t b{display:block;font-size:14.5px}
.ship-opts .t small,.pay .t small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35;margin-top:2px}
.ship-opts .p{font-weight:800;font-size:14.5px;white-space:nowrap}
.ship-opts .p small{font-weight:600;color:var(--muted);font-size:11.5px}
.ship-opts .p s{color:var(--muted);font-weight:500;font-size:12.5px}
.ship-opts .p em,.tots em{font-style:normal;color:var(--ok);font-weight:800}
.tots{margin:18px 0 16px;border-top:1px solid var(--line);padding-top:12px}
.tots div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:14.5px}
.tots dt{color:var(--ink-2)}.tots dd{font-weight:700;white-space:nowrap}
.tots .grand{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;font-size:19px;font-weight:800}
.tots .grand dt{color:var(--ink)}
.btn.wide{width:100%}.btn.big{min-height:60px;font-size:17px}
.quote{display:block;text-align:center;margin-top:12px;font-size:14px;font-weight:700;text-decoration:underline}
.pay-ok{list-style:none;display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:14px}
.pay-ok li{font-size:11.5px;font-weight:700;border:1px solid var(--line);border-radius:6px;padding:3px 8px;color:var(--muted)}
.t-assur{list-style:none;display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--muted);font-weight:600}

/* barre mobile panier */
.t-mbar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(60,45,20,.08);display:flex;align-items:center;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.t-mbar small{display:block;font-size:12px;color:var(--muted)}.t-mbar b{font-size:18px}
.t-mbar .btn{flex:1;min-height:50px}
@media(min-width:980px){.t-mbar{display:none}}
.t-cart footer{padding-bottom:110px}
@media(min-width:980px){.t-cart footer{padding-bottom:48px}}

/* ---------- Page commande ---------- */
.co-hdr{background:#fff;border-bottom:1px solid var(--line)}
.co-hdr .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:68px}
.co-back{font-size:14px;font-weight:700}
.co-hdr .logo img{height:28px;width:auto}
.co-secure{justify-self:end;font-size:13px;font-weight:700;color:var(--ok)}
@media(max-width:520px){.co-secure span{display:none}}
.co-sec{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:22px;margin-bottom:16px}
.co-sec h2{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:800;margin-bottom:16px}
.co-sec h2 .n{width:30px;height:30px;border-radius:50%;background:var(--cream);color:var(--gold-d);display:grid;place-items:center;font-size:14px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.fgrid[hidden]{display:none}
@media(max-width:560px){.fgrid{grid-template-columns:1fr}}
.f{display:flex;flex-direction:column;gap:5px}
.f.full{grid-column:1/-1}
.f>span{font-size:13px;font-weight:700}
.f input,.f select{border:1.5px solid var(--line);border-radius:12px;height:50px;padding:0 14px;font:inherit;font-size:15.5px;background:#fff;transition:border-color .15s}
.f input:focus,.f select:focus{outline:none;border-color:var(--ink)}
.f small{font-size:12px;color:var(--muted)}
.f.err input{border-color:var(--red);background:#fff7f6}
.f.err>span{color:var(--red)}
.pro-only{display:none}
body.is-pro .pro-only{display:flex}
.chk{display:flex;align-items:center;gap:10px;font-size:14.5px;font-weight:600;margin-top:14px;cursor:pointer}
.chk input{width:20px;height:20px;accent-color:var(--ink)}
.chk.err{color:var(--red)}
.chk a{text-decoration:underline}
.ship-opts.big{margin-top:0}
.relay{margin-top:12px}
.relay[hidden]{display:none}
.relay-ph,.card-ph{border:2px dashed var(--gold);border-radius:var(--r-m);padding:16px;background:var(--off);font-size:13.5px;color:var(--ink-2)}
.relay-ph .todo,.card-ph .todo{display:inline-block;background:var(--ink);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:3px 9px;margin-bottom:6px}
.pay{display:grid;gap:8px}
.pay .ic{font-size:11.5px;font-weight:700;color:var(--muted)}
.pay-box{border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;margin-top:-14px;padding:20px 16px 14px;font-size:13.5px;color:var(--ink-2);background:#fff}
.pay-box[hidden]{display:none}
.terms{margin:18px 0 14px}
.fine{font-size:12px;color:var(--muted);text-align:center;margin-top:10px}
.fine a{text-decoration:underline}
.sum-h{display:flex;justify-content:space-between;align-items:baseline}
.sum-h a{font-size:13.5px;font-weight:700;text-decoration:underline}
.mini{margin-top:14px;display:grid;gap:12px}
.mi{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;font-size:13.5px}
.mi-img{position:relative}
.mi-img img{width:56px;height:56px;object-fit:contain;background:var(--off);border-radius:10px;border:1px solid var(--line);padding:4px}
.mi-img em{position:absolute;top:-6px;right:-6px;background:var(--ink);color:#fff;font-style:normal;font-size:11px;font-weight:800;min-width:20px;height:20px;border-radius:10px;display:grid;place-items:center}
.mi-t b{display:block;line-height:1.3}.mi-t small{color:var(--muted)}
@media(max-width:979px){.t-checkout .t-sum{order:-1}}
.sum-toggle{display:none}
@media(max-width:979px){
  .t-checkout .sum-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;font-weight:700;font-size:14.5px}
  .t-checkout .sum-toggle span::after{content:" ▾";color:var(--gold-d)}
  .t-checkout .t-sum.open .sum-toggle span::after{content:" ▴"}
  .t-checkout .t-sum .box{padding:16px 18px}
  .t-checkout .t-sum:not(.open) .sum-h,.t-checkout .t-sum:not(.open) .mini,.t-checkout .t-sum:not(.open) .tots,.t-checkout .t-sum:not(.open)~*,.t-checkout .t-sum:not(.open) .t-assur{display:none}
  .t-checkout .t-sum.open .sum-toggle{margin-bottom:12px}
}

/* ---------- Paiement express (Apple Pay / Google Pay via Stripe) ---------- */
.xsep{display:flex;align-items:center;gap:10px;margin:14px 0 10px;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.xsep::before,.xsep::after{content:"";flex:1;height:1px;background:var(--line)}
.xsep.big{margin:6px 0 18px}
.xpay{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.xp{min-height:48px;border-radius:999px;font-size:13.5px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:5px;transition:opacity .15s}
.xp b{font-weight:800}
.xp:hover{opacity:.88}
.xp.apple{background:#000;color:#fff}
.xp.google{background:#fff;color:#000;border:1.5px solid #000}
.co-express{padding:18px 22px}
@media(max-width:420px){.xpay{grid-template-columns:1fr}}
.li-act{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.li-act a.rm{color:var(--ink);font-weight:700}

/* panier : continuer mes achats / vider */
.cart-acts{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 6px}
.cart-acts[hidden]{display:none}
.cart-clear{background:none;border:1.5px solid var(--line);border-radius:999px;height:44px;padding:0 18px;font-weight:700;font-size:14px;color:var(--muted);cursor:pointer}
.cart-clear:hover{border-color:var(--red);color:var(--red)}
