:root{--bg:#0b0b0c;--panel:#151517;--soft:#222226;--text:#f4f4f5;--muted:#a8a8b3;--line:#303038;--accent:#e0b15a;--ok:#48c78e;--bad:#ff6b6b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.top{position:sticky;top:0;z-index:10;background:#09090aeF;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 3vw}.brand{font-weight:900;color:#fff;text-decoration:none;font-size:18px}.brand span{color:var(--accent)}nav{display:flex;gap:12px;flex-wrap:wrap}nav a{color:#ddd;text-decoration:none;font-size:13px}.wrap{max-width:1180px;margin:28px auto;padding:0 20px}footer{max-width:1180px;margin:40px auto;padding:20px;color:var(--muted);border-top:1px solid var(--line)}h1,h2,h3{line-height:1.15}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px}.card h3{margin-top:0}.muted{color:var(--muted)}.btn,button{display:inline-block;border:0;border-radius:9px;background:var(--accent);color:#16120b;padding:10px 14px;font-weight:800;text-decoration:none;cursor:pointer}.btn.secondary,button.secondary{background:var(--soft);color:#fff}.btn.bad{background:var(--bad);color:#1b0808}.badge{display:inline-block;border-radius:999px;padding:3px 9px;background:var(--soft);font-size:12px}.badge.ok{background:#153d2c;color:#9bf1c5}.badge.warn{background:#4a3712;color:#ffd98a}.flash{padding:12px 14px;border-radius:9px;margin:10px 0;background:#243}.flash.error{background:#4b2020}.flash.success{background:#153d2c}form.stack{display:grid;gap:12px}label{display:grid;gap:6px;color:#ddd;font-weight:650}input,textarea,select{width:100%;background:#0f0f11;color:#fff;border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit}textarea{min-height:110px}table{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--line)}th,td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{color:#ddd;background:#111114}.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.video{aspect-ratio:16/9;width:100%;border:0;border-radius:12px}.hero{padding:28px 0}.price{font-size:22px;font-weight:900;color:var(--accent)}.kpi{font-size:28px;font-weight:900}.small{font-size:12px}.right{text-align:right}.danger{color:#ff9c9c}.oktext{color:#8ce8b6}@media(max-width:760px){.top{align-items:flex-start;flex-direction:column}.split{grid-template-columns:1fr}table{display:block;overflow:auto}.wrap{padding:0 12px}}

.mediaImage{display:block;max-width:100%;object-fit:cover}.adminThumb{width:110px;height:110px;border-radius:16px;border:1px solid var(--line);background:#fff;object-fit:contain;padding:5px}.vendorLogo{width:110px;height:110px;border-radius:18px;background:#fff;object-fit:contain;padding:7px;margin-bottom:14px}.vendorLogoLarge{width:150px;height:150px;border-radius:24px;background:#fff;object-fit:contain;padding:8px;flex:0 0 auto}.partnerHero{display:flex;gap:24px;align-items:center}.productImage{width:100%;height:220px;border-radius:12px;margin-bottom:14px;background:#0d0d0f;object-fit:cover}.productImageLarge{width:100%;max-height:620px;border-radius:14px;background:#0d0d0f;object-fit:contain}.productCard h3 a{color:var(--text);text-decoration:none}.productDetail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:20px;align-items:start}.partnerCard{min-height:100%}@media(max-width:760px){.partnerHero{align-items:flex-start;flex-direction:column}.productDetail{grid-template-columns:1fr}.vendorLogoLarge{width:120px;height:120px}}

.oldPrice{text-decoration:line-through;color:var(--muted);font-size:16px}.exampleBox{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#101013}.economicsGrid{display:grid;grid-template-columns:1fr auto;gap:8px 16px;margin-top:12px}.economicsGrid b{color:var(--accent)}


/* Gestion V2 */
.top nav{align-items:center}
footer a{color:var(--accent);text-decoration:none}
code{background:#0f0f11;border:1px solid var(--line);padding:2px 5px;border-radius:5px}
table a{white-space:nowrap}
.card hr{border:0;border-top:1px solid var(--line);margin:20px 0}
.actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:900px){.top nav{gap:9px}.top nav a{font-size:12px}}
\n/* Espace client / SAV V3 */\n.customerHub{margin:18px 0 26px}.customerHub .kpi{font-size:34px}.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:28px 0 14px}.timelineStep{position:relative;text-align:center;color:var(--muted);font-size:12px}.timelineStep:before{content:"";position:absolute;top:9px;left:-50%;width:100%;height:3px;background:var(--line)}.timelineStep:first-child:before{display:none}.timelineStep span{position:relative;z-index:2;display:block;width:20px;height:20px;border-radius:50%;background:var(--soft);border:3px solid var(--line);margin:0 auto 8px}.timelineStep.done{color:var(--text)}.timelineStep.done:before{background:var(--ok)}.timelineStep.done span{background:var(--ok);border-color:var(--ok)}.messageThread{display:grid;gap:10px;margin:12px 0 18px;max-height:520px;overflow:auto;padding:4px}.messageBubble{max-width:78%;padding:11px 13px;border-radius:12px;background:var(--soft);border:1px solid var(--line)}.messageBubble.mine{margin-left:auto;background:#2e2518;border-color:#6d5325}.messageBubble.theirs{margin-right:auto}.messageBubble p{margin:6px 0 0}details summary{cursor:pointer;list-style:none;width:max-content}@media(max-width:650px){.timeline{grid-template-columns:1fr}.timelineStep{text-align:left;padding:0 0 18px 35px}.timelineStep span{position:absolute;left:0;top:0;margin:0}.messageBubble{max-width:94%}}\n
/* Paiements client Stripe V4 */
.paymentCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:16px 0}
.paymentCard{background:linear-gradient(135deg,#18181b,#27272d);border:1px solid #3b3b44;border-radius:16px;padding:20px;min-height:155px;box-shadow:0 10px 28px #0003}
.paymentCardBrand{font-size:13px;font-weight:900;letter-spacing:.12em;color:var(--accent)}
.paymentCardNumber{font-size:21px;letter-spacing:.08em;margin:24px 0 8px;font-weight:800}
.paymentCardMeta{font-size:12px;color:var(--muted);margin-bottom:18px}
.paymentCard .actions form{margin:0}

.phoneField{display:grid;grid-template-columns:minmax(210px,1fr) minmax(180px,1.4fr);gap:8px}
.phoneField select,.phoneField input{width:100%}
@media(max-width:650px){.phoneField{grid-template-columns:1fr}}

/* V6 Stripe Payment Element + tableaux triables */
.stripeEmbeddedCard{margin-top:16px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#111114}
#stripe-payment-element{margin:16px 0}
.stripeError{color:#ff8d8d;margin-top:8px}.stripeOk{color:#8ed9a8;margin-top:8px}
.sortableHeader{cursor:pointer;user-select:none;position:relative;padding-right:24px!important}
.sortableHeader:after{content:"↕";position:absolute;right:8px;opacity:.45}
.sortableHeader.sortAsc:after{content:"↑";opacity:1}.sortableHeader.sortDesc:after{content:"↓";opacity:1}

.stripeFallback{margin-top:14px;padding:16px;border:1px dashed var(--line);border-radius:12px;background:#111114}

.clientPaymentBox .badge,.clientPaymentBox a[href*="stripe-settings"]{display:none!important}

/* V7.2 — téléphone responsive sans débordement */
.phoneField{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) !important;
  gap:10px !important;
  width:100% !important;
  max-width:100% !important;
}
.phoneField select,
.phoneField input{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
.phoneField select{
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:760px){
  .phoneField{
    grid-template-columns:1fr !important;
  }
}


/* V12.8 — panier / checkout public Athletic Carnivore */
.shopCartPage,.shopCheckoutPage{
  --shop-bg:#f5f1e8;--shop-card:#fff;--shop-ink:#171512;--shop-muted:#746d61;
  --shop-line:#ded6c8;--shop-gold:#c99a3d;--shop-gold-dark:#9e7429;
  --shop-soft:#eee7da;--shop-green:#27633d;--shop-red:#9f3a32;
  color:var(--shop-ink);background:var(--shop-bg);border-radius:24px;
  padding:clamp(18px,3vw,38px);box-shadow:0 18px 60px rgba(0,0,0,.20)
}
.shopCartPage h1,.shopCartPage h2,.shopCartPage h3,.shopCheckoutPage h1,.shopCheckoutPage h2,.shopCheckoutPage h3{color:var(--shop-ink)}
.shopCartPage a,.shopCheckoutPage a{color:var(--shop-gold-dark)}
.shopEyebrow,.shopSmallLabel{display:block;font-size:11px;font-weight:900;letter-spacing:.14em;color:var(--shop-gold-dark);text-transform:uppercase}
.shopCartHero{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;padding:6px 2px 24px}
.shopCartHero h1,.shopCheckoutTitle h1{font-size:clamp(34px,5vw,58px);margin:5px 0 8px}
.shopCartHero p,.shopCheckoutTitle p{max-width:720px;color:var(--shop-muted);margin:0}
.shopCartCount{flex:0 0 auto;min-width:150px;padding:16px 20px;border:1px solid var(--shop-line);background:var(--shop-card);border-radius:18px;text-align:center}
.shopCartCount strong{display:block;font-size:34px;color:var(--shop-gold-dark);line-height:1}
.shopCartCount span{font-size:12px;color:var(--shop-muted)}
.shopSteps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0 28px}
.shopStep{display:flex;align-items:center;gap:9px;color:var(--shop-muted);border-bottom:3px solid var(--shop-line);padding:0 0 10px;font-size:12px}
.shopStep span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--shop-soft);font-weight:900}
.shopStep.active,.shopStep.done{color:var(--shop-ink);border-color:var(--shop-gold)}
.shopStep.active span,.shopStep.done span{background:var(--shop-gold);color:#fff}
.shopVendorBlock,.shopUnavailable,.shopReviewCard,.shopPayPanel,.shopErrorBox,.shopSuccessCard,.shopEmpty,.shopInfoBox{background:var(--shop-card);color:var(--shop-ink);border:1px solid var(--shop-line);border-radius:20px;padding:20px;margin-bottom:20px}
.shopVendorHead{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--shop-line);padding-bottom:16px;margin-bottom:4px}
.shopVendorIdentity{display:flex;gap:14px;align-items:center}
.shopVendorIdentity h2{margin:2px 0 3px;font-size:22px}
.shopVendorIdentity a{font-size:12px;text-decoration:none;font-weight:800}
.shopVendorLogo{width:64px;height:64px;border-radius:14px;border:1px solid var(--shop-line);object-fit:contain;background:#fff;padding:5px}
.shopAvailableBadge,.shopUnavailableBadge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900}
.shopAvailableBadge{background:#e7f2ea;color:var(--shop-green)}
.shopUnavailableBadge{background:#f6e5e2;color:var(--shop-red)}
.shopProductList{display:grid}
.shopCartLine{display:grid;grid-template-columns:82px minmax(180px,1fr) 110px 110px 110px auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--shop-line)}
.shopCartLine:last-child{border-bottom:0}
.shopCartThumb{width:82px;height:82px;border-radius:14px;background:#f5f2ec;border:1px solid var(--shop-line);overflow:hidden;display:grid;place-items:center;font-weight:900;color:var(--shop-gold-dark)}
.shopCartImage{width:100%;height:100%;object-fit:contain;background:#fff}
.shopCartProduct h3{font-size:16px;margin:0 0 5px}
.shopCartProduct p{margin:0;color:var(--shop-muted);font-size:12px}
.shopUnitPrice span,.shopLineTotal span,.shopQty label{display:block;font-size:11px;color:var(--shop-muted);margin-bottom:4px}
.shopUnitPrice strong,.shopLineTotal strong{font-size:15px}
.shopQty input{width:76px!important;background:#fff!important;color:var(--shop-ink)!important;border:1px solid var(--shop-line)!important}
.shopRemoveLink{background:transparent!important;color:var(--shop-red)!important;padding:7px!important;font-weight:800!important;font-size:12px!important}
.shopMobilePrice{display:none}
.shopVendorBottom{display:grid;grid-template-columns:1fr minmax(300px,420px);gap:30px;align-items:start;margin-top:18px;padding-top:18px;border-top:1px solid var(--shop-line)}
.shopShippingInfo strong{display:block;margin:5px 0}
.shopShippingInfo small{display:block;color:var(--shop-muted);max-width:560px}
.shopTotals{display:grid;gap:8px}
.shopTotals>div{display:flex;justify-content:space-between;gap:20px;color:var(--shop-muted)}
.shopTotals strong{color:var(--shop-ink)}
.shopTotals .grand{border-top:1px solid var(--shop-line);padding-top:10px;margin-top:4px;font-size:18px;color:var(--shop-ink);font-weight:900}
.shopTotals .grand strong{color:var(--shop-gold-dark);font-size:22px}
.shopCheckoutActions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.shopPrimaryBtn,.shopSecondaryBtn,.shopStripeBtn{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;text-decoration:none!important;font-weight:900;padding:12px 17px;border:1px solid transparent;cursor:pointer}
.shopPrimaryBtn,.shopStripeBtn{background:var(--shop-gold)!important;color:#16120b!important}
.shopPrimaryBtn:hover,.shopStripeBtn:hover{background:var(--shop-gold-dark)!important;color:#fff!important}
.shopSecondaryBtn{background:#fff!important;color:var(--shop-ink)!important;border-color:var(--shop-line)!important}
.shopLoginBox{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.shopLoginBox p{margin:0;color:var(--shop-muted)}
.shopInfoBox{background:#f8f0dd}
.shopInfoBox p{margin-bottom:0;color:var(--shop-muted)}
.shopUnavailable{border-color:#e4bbb6;background:#fffaf9}
.shopUnavailable h2{margin:4px 0}
.shopUnavailable>div:first-child p{color:var(--shop-muted)}
.shopUnavailableLine{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid #eed8d4;padding:12px 0}
.shopUnavailableLine small{display:block;color:var(--shop-muted);margin-top:2px}
.shopEmpty{text-align:center;padding:55px 20px}
.shopEmptyIcon{font-size:44px}.shopEmpty h2{font-size:28px;margin:8px 0}.shopEmpty p{color:var(--shop-muted)}
.shopCheckoutTitle{padding:4px 0 18px}
.shopReviewGrid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:20px}
.shopReviewCard h2{margin:4px 0 18px}
.shopReviewLines{border-top:1px solid var(--shop-line)}
.shopReviewLine{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--shop-line)}
.shopReviewThumb{width:58px;height:58px;border-radius:10px;overflow:hidden;background:#f4f0e8}
.shopReviewLine small{display:block;color:var(--shop-muted);margin-top:3px}
.shopAddress,.shopContact{color:var(--shop-muted)}
.shopPayPanel{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#171512;color:#fff;border-color:#171512}
.shopPayPanel h2{color:var(--shop-gold);font-size:30px;margin:4px 0}
.shopPayPanel p{color:#d3cdc3;max-width:650px;margin:0}
.shopPayPanel .shopSmallLabel{color:#e5bd68}
.shopStripeBtn{font-size:15px;white-space:nowrap}
.shopErrorBox{background:#fff5f3;border-color:#e2b4ae}
.shopErrorBox p{color:var(--shop-muted)}
.shopBack{margin:10px 2px 0}
.shopSuccessCard{max-width:760px;margin:auto;text-align:left}
.shopSuccessCard .price{color:var(--shop-gold-dark)}
@media(max-width:900px){
  .shopCartLine{grid-template-columns:70px 1fr 90px 90px}
  .shopUnitPrice{display:none}.shopLineTotal{grid-column:4}
  .shopRemoveLink{grid-column:2;justify-self:start}
  .shopMobilePrice{display:block;color:var(--shop-gold-dark);font-weight:900;margin-top:5px}
  .shopVendorBottom,.shopReviewGrid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .shopCartPage,.shopCheckoutPage{padding:14px;border-radius:15px}
  .shopCartHero{align-items:flex-start;flex-direction:column}
  .shopCartCount{width:100%;text-align:left}
  .shopSteps{grid-template-columns:1fr 1fr}
  .shopCartLine{grid-template-columns:68px 1fr;gap:10px}
  .shopQty,.shopLineTotal,.shopRemoveLink{grid-column:2}
  .shopQty{display:flex;align-items:center;gap:10px}.shopQty label{margin:0}
  .shopVendorHead,.shopPayPanel{align-items:flex-start;flex-direction:column}
  .shopCheckoutActions{justify-content:stretch}.shopCheckoutActions>*{width:100%}
  .shopLoginBox{width:100%}.shopLoginBox a{flex:1}
}


/* V12.12 — retour visuel de sauvegarde automatique du panier */
.shopAutoSaveStatus{
  margin-right:auto;
  font-size:12px;
  font-weight:800;
  color:#746d61;
  min-height:18px;
}
