/* J&C LAB — panier, paiement et confirmation. Rhabille aussi le formulaire WooCommerce. */
.jl-shop{max-width:1180px;margin:0 auto;padding:clamp(20px,3.5vw,44px) clamp(14px,3vw,32px) 90px}
.jl-shop-head{margin-bottom:clamp(20px,3vw,34px)}
.jl-shop-head h1{font-size:clamp(28px,3.6vw,46px);letter-spacing:-.035em;margin:8px 0 18px}
.jl-progress{display:flex;gap:10px;flex-wrap:wrap;padding:0;margin:0;list-style:none;counter-reset:p}
.jl-progress li{counter-increment:p;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--jl-mut)}
.jl-progress li:before{content:counter(p);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;
  background:var(--jl-pale);color:var(--jl-mut);font-size:13px;font-weight:800}
.jl-progress li.on{color:var(--jl-ink)}
.jl-progress li.on:before{background:var(--jl-blue);color:#fff}
.jl-progress li.done{color:var(--jl-blue)}
.jl-progress li.done:before{content:"✓";background:var(--jl-blue);color:#fff}
.jl-progress li+li:before{margin-left:8px}
/* lignes */
.jl-shop-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(16px,2.4vw,32px);align-items:start}
.jl-shop-lines{display:grid;gap:12px}
.jl-line{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:center;
  background:#fff;border:1px solid var(--jl-line);border-radius:18px;padding:14px}
.jl-line img{width:96px;height:96px;object-fit:cover;border-radius:12px;background:var(--jl-pale)}
.jl-line-txt b{display:block;font-size:16px;letter-spacing:-.01em;margin-bottom:4px}
.jl-line-txt span{display:block;color:var(--jl-mut);font-size:14px}
.jl-line-act{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:8px}
.jl-line-act form{display:inline}
.jl-link--quiet{background:none;border:0;color:var(--jl-mut);font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:0;font-size:14px}
.jl-link--quiet:hover{color:#c62828}
.jl-line-sum{font-size:18px;font-weight:800;text-align:right;white-space:nowrap}
.jl-line-sum small{display:block;font-size:11px;font-weight:600;color:var(--jl-mut)}
/* récapitulatif */
.jl-shop-side{background:#fff;border:1px solid var(--jl-line);border-radius:20px;padding:22px;position:sticky;top:84px}
.jl-shop-side h2{margin:0 0 14px;font-size:18px;letter-spacing:-.01em}
.jl-sum-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:15px;color:var(--jl-mut)}
.jl-sum-row b{color:var(--jl-ink);font-weight:700}
.jl-sum-row--off b{color:#14804a}
.jl-sum-total{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-top:1px solid var(--jl-line);
  margin-top:8px;padding-top:14px;font-size:16px}
.jl-sum-total b{font-size:26px;letter-spacing:-.02em}
.jl-sum-credit{background:var(--jl-pale)!important;border-radius:14px;padding:12px 14px;margin:14px 0}
.jl-sum-credit p{margin:0 0 4px;font-size:14px}
.jl-sum-credit form{display:inline}
.jl-btn--full{display:block;text-align:center;margin:16px 0 10px}
.jl-btn--sm{padding:9px 16px;font-size:13.5px;margin-left:10px}
.jl-sum-note{font-size:13px;margin:0 0 12px}
.jl-empty-cart{text-align:center}
/* confirmation */
.jl-done{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(16px,2.4vw,32px);align-items:start}
.jl-done-main{background:#fff;border:1px solid var(--jl-line);border-radius:20px;padding:clamp(20px,2.6vw,34px)}
.jl-done-lead{font-size:17px;line-height:1.6;color:var(--jl-mut);margin:0 0 22px}
.jl-timeline{list-style:none;padding:0;margin:0 0 24px}
.jl-timeline li{position:relative;padding:0 0 22px 34px;border-left:2px solid var(--jl-line)}
.jl-timeline li:last-child{border-left-color:transparent;padding-bottom:0}
.jl-timeline li:before{content:"";position:absolute;left:-9px;top:2px;width:16px;height:16px;border-radius:50%;
  background:#fff;border:2px solid var(--jl-line)}
.jl-timeline li.on:before{background:var(--jl-blue);border-color:var(--jl-blue)}
.jl-timeline b{display:block;font-size:16px;margin-bottom:2px}
.jl-timeline span{color:var(--jl-mut);font-size:14.5px}
.jl-done-side{background:#fff;border:1px solid var(--jl-line);border-radius:20px;padding:22px}
.jl-done-side h2{margin:0 0 10px;font-size:17px}
/* formulaire WooCommerce rhabillé */
.jl-checkout-box{background:#fff;border:1px solid var(--jl-line);border-radius:20px;padding:clamp(18px,2.4vw,32px)}
.jl-checkout-box h3,.jl-checkout-box h2{font-size:19px;letter-spacing:-.01em;margin:0 0 14px;color:var(--jl-ink)}
.jl-checkout-box label{font-weight:600;font-size:14px;color:var(--jl-ink)}
.jl-checkout-box input[type=text],.jl-checkout-box input[type=email],.jl-checkout-box input[type=tel],
.jl-checkout-box input[type=password],.jl-checkout-box textarea,.jl-checkout-box select,.jl-checkout-box .select2-selection{
  width:100%;padding:12px 14px!important;border:1.5px solid var(--jl-line)!important;border-radius:12px!important;
  font:inherit!important;background:#fff!important;color:var(--jl-ink)!important;height:auto!important}
.jl-checkout-box input:focus,.jl-checkout-box textarea:focus,.jl-checkout-box select:focus{
  outline:0;border-color:var(--jl-blue)!important;box-shadow:0 0 0 4px rgba(0,88,254,.14)}
.jl-checkout-box .form-row{margin:0 0 14px;padding:0}
.jl-checkout-box #order_review,.jl-checkout-box .woocommerce-checkout-review-order{
  background:var(--jl-pale)!important;border-radius:16px;padding:18px;margin-top:18px}
.jl-checkout-box table.shop_table{width:100%;border-collapse:collapse;background:transparent!important;border:0!important}
.jl-checkout-box table.shop_table th,.jl-checkout-box table.shop_table td{
  padding:9px 0!important;border:0!important;border-bottom:1px solid #D7E2FA!important;text-align:left;font-size:14.5px}
.jl-checkout-box .order-total td,.jl-checkout-box .order-total th{font-size:17px;border-bottom:0!important}
.jl-checkout-box #payment{background:transparent!important;border-radius:0}
.jl-checkout-box #payment ul.payment_methods{border:0!important;padding:0!important;margin:0 0 12px;list-style:none}
.jl-checkout-box #payment div.form-row{padding:0}
.jl-checkout-box #place_order,.jl-checkout-box .button.alt{
  background:var(--jl-blue)!important;color:#fff!important;border:0!important;border-radius:999px!important;
  padding:16px 34px!important;font:800 17px/1 inherit!important;width:100%;cursor:pointer}
.jl-checkout-box #place_order:hover{background:var(--jl-blue-d)!important}
.jl-checkout-box .woocommerce-info,.jl-checkout-box .woocommerce-error,.jl-checkout-box .woocommerce-message{
  background:var(--jl-pale)!important;border-radius:12px;border:0!important;padding:14px 16px!important;color:var(--jl-ink)!important;margin:0 0 16px}
.jl-checkout-box .woocommerce-error{background:#fdecea!important;color:#8a1c1c!important}
.jl-shop-foot{margin-top:18px}
@media(max-width:900px){
  .jl-shop-grid,.jl-done{grid-template-columns:1fr}
  .jl-shop-side{position:static}
  .jl-line{grid-template-columns:72px minmax(0,1fr);row-gap:10px}
  .jl-line img{width:72px;height:72px}
  .jl-line-sum{grid-column:1/-1;text-align:left}
}

/* =====================================================================
   ARMURE DU PAIEMENT — le formulaire vient de WooCommerce, donc d'ailleurs.
   Tout y est réécrit sans exception : libellés, montants, encadrés, boutons.
   Sans cela, un thème peut rendre les libellés invisibles et les prix illisibles.
   ===================================================================== */
body.jl-body .jl-checkout-box,body.jl-body .jl-checkout-box *{
  color:#0E253E!important;font-family:inherit!important;text-shadow:none!important;opacity:1!important;filter:none!important}
body.jl-body .jl-checkout-box section,body.jl-body .jl-checkout-box div,
body.jl-body .jl-checkout-box table,body.jl-body .jl-checkout-box tr,
body.jl-body .jl-checkout-box td,body.jl-body .jl-checkout-box th,
body.jl-body .jl-checkout-box ul,body.jl-body .jl-checkout-box li,
body.jl-body .jl-checkout-box p,body.jl-body .jl-checkout-box h1,
body.jl-body .jl-checkout-box h2,body.jl-body .jl-checkout-box h3{
  background-color:transparent!important;background-image:none!important;border-color:#D7E2FA!important}
/* titres de section */
body.jl-body .jl-checkout-box h3,body.jl-body .jl-checkout-box #order_review_heading,
body.jl-body .jl-checkout-box .woocommerce-billing-fields>h3,
body.jl-body .jl-checkout-box .woocommerce-shipping-fields>h3{
  font-size:20px!important;font-weight:800!important;letter-spacing:-.02em!important;margin:0 0 14px!important;
  padding:0!important;border:0!important;text-transform:none!important}
/* libellés : jamais invisibles, l'astérisque reste rouge */
body.jl-body .jl-checkout-box label,body.jl-body .jl-checkout-box .form-row label{
  display:block!important;font-size:13.5px!important;font-weight:600!important;margin:0 0 6px!important;
  visibility:visible!important;text-indent:0!important;height:auto!important;width:auto!important;
  position:static!important;clip:auto!important;overflow:visible!important}
body.jl-body .jl-checkout-box .required,body.jl-body .jl-checkout-box abbr.required{
  color:#c62828!important;text-decoration:none!important;border:0!important}
body.jl-body .jl-checkout-box .woocommerce-input-wrapper{display:block!important;width:100%!important}
/* champs */
body.jl-body .jl-checkout-box input,body.jl-body .jl-checkout-box select,
body.jl-body .jl-checkout-box textarea,body.jl-body .jl-checkout-box .select2-selection{
  background:#fff!important;color:#0E253E!important;border:1.5px solid #D7E2FA!important;border-radius:12px!important;
  padding:12px 14px!important;font-size:15px!important;width:100%!important;height:auto!important;min-height:48px!important}
body.jl-body .jl-checkout-box input:focus,body.jl-body .jl-checkout-box select:focus{
  border-color:#0058FE!important;outline:2px solid rgba(0,88,254,.18)!important}
body.jl-body .jl-checkout-box input[type=checkbox],body.jl-body .jl-checkout-box input[type=radio]{
  width:18px!important;min-height:18px!important;height:18px!important;margin-right:8px!important;accent-color:#0058FE}
/* récapitulatif */
body.jl-body .jl-checkout-box #order_review,
body.jl-body .jl-checkout-box .woocommerce-checkout-review-order{
  background:#E8F0FF!important;border-radius:16px!important;padding:18px!important}
body.jl-body .jl-checkout-box .woocommerce-Price-amount,
body.jl-body .jl-checkout-box .amount,body.jl-body .jl-checkout-box bdi{
  color:#0E253E!important;font-weight:700!important}
body.jl-body .jl-checkout-box .order-total .woocommerce-Price-amount{font-size:22px!important;font-weight:800!important}
body.jl-body .jl-checkout-box .product-name,body.jl-body .jl-checkout-box .product-total{color:#0E253E!important}
/* modes de livraison : visibles et cliquables */
body.jl-body .jl-checkout-box #shipping_method,body.jl-body .jl-checkout-box .woocommerce-shipping-methods{
  list-style:none!important;margin:0!important;padding:0!important}
body.jl-body .jl-checkout-box #shipping_method li{
  display:flex!important;align-items:center!important;gap:10px!important;padding:10px 0!important;line-height:1.35!important}
body.jl-body .jl-checkout-box #shipping_method li label{margin:0!important;font-weight:600!important}
/* moyens de paiement */
body.jl-body .jl-checkout-box #payment,body.jl-body .jl-checkout-box .wc_payment_methods{
  background:#fff!important;border:1px solid #D7E2FA!important;border-radius:16px!important;padding:16px!important;margin-top:16px!important}
body.jl-body .jl-checkout-box .wc_payment_method>label{
  font-weight:700!important;font-size:15px!important;display:inline-flex!important;align-items:center!important;gap:8px!important}
body.jl-body .jl-checkout-box .payment_box,body.jl-body .jl-checkout-box .payment_box *{
  background:#E8F0FF!important;color:#0E253E!important}
body.jl-body .jl-checkout-box .payment_box{
  border-radius:12px!important;padding:14px!important;margin:10px 0 0!important;border:0!important;font-size:14px!important}
body.jl-body .jl-checkout-box .payment_box:before{display:none!important}
body.jl-body .jl-checkout-box .wc-stripe-elements-field,body.jl-body .jl-checkout-box .wc-card-fields,
body.jl-body .jl-checkout-box .StripeElement{
  background:#fff!important;border:1.5px solid #D7E2FA!important;border-radius:12px!important;padding:12px 14px!important}
/* bouton de validation */
body.jl-body .jl-checkout-box #place_order,body.jl-body .jl-checkout-box .button.alt,
body.jl-body .jl-checkout-box #place_order:hover,body.jl-body .jl-checkout-box #place_order:focus,
body.jl-body .jl-checkout-box #place_order:active{
  background:#0058FE!important;color:#fff!important;border:0!important;border-radius:999px!important;
  padding:16px 34px!important;font-size:17px!important;font-weight:800!important;width:100%!important;
  opacity:1!important;visibility:visible!important;display:block!important;margin-top:16px!important;cursor:pointer}
body.jl-body .jl-checkout-box #place_order:hover{background:#0043C4!important}
/* conditions générales */
body.jl-body .jl-checkout-box .woocommerce-terms-and-conditions-wrapper{margin-top:14px!important}
body.jl-body .jl-checkout-box .woocommerce-form__label-for-checkbox{
  display:flex!important;align-items:flex-start!important;gap:10px!important;font-weight:600!important}
body.jl-body .jl-checkout-box a{color:#0058FE!important;text-decoration:underline!important}
/* détail des variantes : sur une ligne, pas en colonne */
body.jl-body .jl-checkout-box dl.variation{margin:4px 0 0!important;font-size:13px!important;color:#5b7088!important;display:flex!important;flex-wrap:wrap!important;gap:4px 10px!important}
body.jl-body .jl-checkout-box dl.variation dt{font-weight:600!important;margin:0!important;clear:none!important;float:none!important}
body.jl-body .jl-checkout-box dl.variation dd{margin:0 8px 0 0!important;float:none!important}
body.jl-body .jl-checkout-box dl.variation dd p{margin:0!important;display:inline!important}
body.jl-body .jl-checkout-box dl.variation *{color:#5b7088!important}
/* Fil d'étapes : les pastilles gardent leur fond, donc leur chiffre reste lisible. */
body.jl-body .jl-progress li::before{
  background:#E8F0FF!important;color:#5b7088!important;-webkit-text-fill-color:#5b7088!important;
  width:26px!important;height:26px!important;border-radius:50%!important;display:grid!important;place-items:center!important}
body.jl-body .jl-progress li.on::before,body.jl-body .jl-progress li.done::before{
  background:#0058FE!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.jl-body .jl-progress li{color:#5b7088!important}
body.jl-body .jl-progress li.on{color:#0E253E!important}
body.jl-body .jl-progress li.done{color:#0058FE!important}
