/* ===== Pages enseigne, paiement et suivi (style /emploi) ===== */
:root { --hn: calc(62px + env(safe-area-inset-top, 0px)); }
.shop .muted { color: #6b6b6b; }
.shop .small { font-size: .85rem; }
.shop .lnk { text-decoration: underline; text-underline-offset: 3px; }
.in { max-width: 1040px; margin: 0 auto; }

/* ---- Bandeau noir ---- */
.shero { background: #000 center / cover no-repeat; color: #fff; padding: 28px 24px 40px; }
.sback { display: inline-block; font-size: .95rem; color: #fff; border-bottom: 2px solid #fff; padding-bottom: 3px; margin-bottom: 26px; }
.shero h1 { font-size: clamp(2.4rem, 9vw, 4.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.shero p { margin-top: 16px; font-size: 1.1rem; line-height: 1.55; color: #e5e5e5; max-width: 40rem; }
.stags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stags span { background: #1c1c1c; border: 1px solid #2a2a2a; color: #fff; border-radius: 99px; padding: 8px 14px; font-size: .88rem; font-weight: 500; }

/* ---- Sections ---- */
.slight { background: #fff; color: #111; padding: 40px 24px 64px; }
.snav { position: sticky; top: var(--hn); z-index: 30; background: #fff; border-bottom: 1px solid #e6e6e6; }
.snav .in { display: flex; gap: 8px; overflow-x: auto; padding: 12px 24px; scrollbar-width: none; }
.snav .in::-webkit-scrollbar { display: none; }
.snav a { flex: none; height: 38px; padding: 0 16px; border-radius: 99px; background: #f3f3f3; color: #111; display: inline-flex; align-items: center; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: background .15s, color .15s; }
.snav a.on { background: #000; color: #fff; }

/* ---- Menu de l'enseigne ---- */
.slayout { display: block; }
.shop .menu .sec { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 38px 0 4px; color: #111; scroll-margin-top: calc(var(--hn) + 70px); }
.shop .menu .sec:first-child { margin-top: 0; }
.shop .prod { display: flex; gap: 16px; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid #e6e6e6; }
.shop .ptxt { flex: 1; min-width: 0; }
.shop .ptxt h3 { font-size: 1.05rem; font-weight: 700; color: #111; margin: 0; }
.shop .desc { margin-top: 6px; line-height: 1.45; }
.shop .price { display: block; margin-top: 10px; font-size: 1rem; font-weight: 700; color: #111; }
.shop .pimgw { position: relative; flex: none; width: 112px; height: 112px; }
.shop .pimg { width: 100%; height: 100%; border-radius: 12px; background: #eceeed center / cover no-repeat; display: grid; place-items: center; }
.shop .pimg span { font-size: 2rem; font-weight: 800; color: #000; opacity: .16; }
.shop .add { position: absolute; right: -6px; bottom: -6px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e6e6e6; background: #fff; color: #000; font-size: 1.5rem; font-weight: 500; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.2); transition: transform .15s; }
.shop .add:active, .shop .add.pop { transform: scale(1.18); }

/* ---- Panier (feuille sur mobile) ---- */
.scart { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; max-height: 82svh; overflow: auto; background: #fff; color: #111; border-radius: 20px 20px 0 0; padding: 14px 22px calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateY(110%); transition: transform .32s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(0,0,0,.35); }
body.cart-open .scart { transform: none; }
.scart .grab { width: 42px; height: 5px; border-radius: 99px; background: #d9d9d9; margin: 0 auto 14px; }
.scart h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; color: #111; }
.scart .sheet-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f3f3f3; color: #111; font-size: 1.3rem; line-height: 1; }
.scart .hbtn { width: 100%; margin-top: 16px; }
.shop .line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e6e6e6; font-size: .98rem; color: #111; }
.shop .ln { flex: 1; }
.shop .qty { display: inline-flex; align-items: center; gap: 10px; }
.shop .qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #f3f3f3; color: #111; font-size: 1.05rem; }
.shop .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: #111; }
.shop .row.total { font-size: 1.2rem; font-weight: 800; border-top: 1px solid #e6e6e6; margin-top: 6px; }
.sbar { position: fixed; z-index: 60; left: 14px; right: 14px; bottom: calc(var(--tab) + env(safe-area-inset-bottom, 0px) + 12px); display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 22px; border: 0; border-radius: 10px; background: #000; color: #fff; font: inherit; font-weight: 700; font-size: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
body.cart-open .sbar { display: none !important; }

/* ---- Paiement ---- */
.cwrap { display: grid; gap: 28px; }
.sum { background: #f6f6f6; border-radius: 14px; padding: 22px; color: #111; }
.sum h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; color: #111; }
.cform h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 22px; color: #111; }
.cform textarea { width: 100%; min-height: 84px; background: #f3f3f3; border: 2px solid transparent; border-radius: 8px; padding: 14px 16px; font: inherit; font-size: 1rem; color: #111; resize: vertical; transition: border-color .15s, background .15s; }
.cform textarea:focus { outline: 0; background: #fff; border-color: #000; }
.cform input[type=radio] { width: auto; height: auto; accent-color: #000; }
.cform .rel { position: relative; }
.cform .rel label { margin-top: 20px; }
.payopt { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.payopt label { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; padding: 13px 16px; background: #f3f3f3; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.shop .sugg { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; list-style: none; padding: 0; margin: 6px 0 0; background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.15); overflow: hidden; }
.shop .sugg button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 14px 16px; font: inherit; font-size: .95rem; color: #111; cursor: pointer; }
.shop .sugg button:hover, .shop .sugg button:active { background: #f3f3f3; }
.cform .hbtn:disabled { opacity: .35; cursor: not-allowed; }

/* ---- Suivi ---- */
.tsteps { list-style: none; padding: 0; margin: 0 0 20px; }
.tsteps li { position: relative; padding: 0 0 30px 44px; color: #8a8a8a; font-size: 1.1rem; font-weight: 500; }
.tsteps li::before { content: ''; position: absolute; left: 4px; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cfcfcf; background: #fff; }
.tsteps li::after { content: ''; position: absolute; left: 12px; top: 25px; bottom: 3px; width: 2px; background: #e2e2e2; }
.tsteps li:last-child::after { display: none; }
.tsteps li.done { color: #111; } .tsteps li.done::before { background: #000; border-color: #000; } .tsteps li.done::after { background: #000; }
.tsteps li.now { color: #111; font-weight: 800; }
.tsteps li.now::before { background: #c6f432; border-color: #000; box-shadow: 0 0 0 5px rgba(198,244,50,.4); animation: tpulse 1.8s ease-in-out infinite; }
@keyframes tpulse { 50% { box-shadow: 0 0 0 10px rgba(198,244,50,0); } }
.cwarn { background: #fff3d9; color: #6b4a00; border-radius: 8px; padding: 14px 16px; font-weight: 500; line-height: 1.45; margin-bottom: 22px; }
.tback { margin-top: 18px; }

/* ---- Ordinateur ---- */
@media (min-width: 900px) {
  .shero { padding: 48px 24px 56px; }
  .slayout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
  .scart { position: sticky; top: calc(var(--hn) + 70px); z-index: 1; transform: none; max-height: none; border-radius: 14px; border: 1px solid #e6e6e6; box-shadow: none; padding: 22px; }
  .scart .grab, .scart .sheet-x, .sbar { display: none !important; }
  .shop .backdrop { display: none; }
  .cwrap { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
  .cwrap .sum { order: 2; position: sticky; top: calc(var(--hn) + 20px); }
}

/* ===== Correctifs mobile : page enseigne ===== */
.store-page { padding-bottom: 0; }

/* Bouton "Voir le panier" : visible sur fond noir comme sur fond blanc */
.sbar { background: #c6f432; color: #11190a; border-radius: 14px; z-index: 65; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 12px 32px rgba(0,0,0,.45); animation: sbarin .25s ease both; }
.sbar span:last-child { background: #11190a; color: #c6f432; border-radius: 99px; padding: 6px 12px; font-size: .95rem; }
@keyframes sbarin { from { opacity: 0; transform: translateY(10px); } }

/* Le pied de page ne passe plus sous le bouton et la barre du bas */
.store-page .hfoot { padding-bottom: calc(var(--tab) + 96px + env(safe-area-inset-bottom, 0px)); }

/* Articles */
.shop .pimg span { opacity: .3; }
.shop .add { border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06); }

@media (min-width: 900px) {
  .store-page .hfoot { padding-bottom: 28px; }
}

