/* =========================================================
   MOGUN — Boutique & fiche produit
   ========================================================= */

.shop-page { background: var(--paper); color: var(--ink); }
.eyebrow--dark { color: var(--grey-dark); }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { display: flex; gap: 10px; padding-top: 22px; padding-bottom: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-dark); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); padding-top: 20px; padding-bottom: 80px; align-items: start; }

.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.gallery__main { grid-column: 2; grid-row: 1; position: relative; background: #fff; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.gallery__main img.is-fading { opacity: 0; }
.gallery__badge { position: absolute; left: 16px; top: 16px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.thumb { padding: 0; border: 1px solid transparent; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumb--dark { background: var(--black); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.is-active { opacity: 1; border-color: var(--ink); }

.buybox { padding-top: 10px; }
.pdp__title { font-size: clamp(56px, 6vw, 84px); }
.pdp__price { font-family: var(--font-display); font-size: 40px; margin: 0 0 18px; display: flex; align-items: baseline; gap: 8px; }
.pdp__price small { font-family: var(--font-body); font-size: 11px; letter-spacing: .14em; color: var(--grey-dark); }
.pdp__pitch { font-size: 15px; line-height: 1.75; color: #333; margin: 0 0 28px; max-width: 520px; }

.option { border: 0; padding: 0; margin: 0 0 24px; }
.option legend { display: flex; align-items: center; width: 100%; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.option legend strong { font-weight: 700; }
.link-btn { margin-left: auto; background: none; border: 0; padding: 0; font: inherit; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.option__error { color: #b3261e; font-size: 13px; margin: 10px 0 0; }

.swatches { display: flex; gap: 14px; }
.swatch { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.swatch input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.swatch em { font-style: normal; font-size: 11px; color: var(--grey-dark); }
.swatch input:checked + span { outline-color: var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--ink); }

.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 420px; }
.size span { display: grid; place-items: center; height: 48px; border: 1px solid #cfcdc7; font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; cursor: pointer; transition: all .15s; background: #fff; }
.size span:hover { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.option.has-error .size span { border-color: #b3261e; }

.buy-row { display: flex; gap: 12px; margin: 30px 0 22px; max-width: 520px; }
.qty { display: flex; border: 1px solid #cfcdc7; background: #fff; }
.qty button { width: 40px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty input { width: 40px; border: 0; text-align: center; font: 600 15px var(--font-body); color: var(--ink); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn--block { flex: 1; justify-content: center; padding: 17px 22px; font-size: 12px; }

.pdp__trust { list-style: none; padding: 18px 0; margin: 0 0 8px; border-top: 1px solid #e2e0da; border-bottom: 1px solid #e2e0da; display: grid; gap: 10px; max-width: 520px; }
.pdp__trust li { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.pdp__trust svg { width: 20px; height: 20px; flex: none; }

.accordion { max-width: 520px; }
.accordion details { border-bottom: 1px solid #e2e0da; }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 400; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion details > :not(summary) { margin: 0 0 20px; font-size: 14px; line-height: 1.7; color: #333; }
.specs, .care { list-style: none; padding: 0; }
.specs li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #e2e0da; }
.specs li:last-child { border-bottom: 0; }
.specs li span:first-child { color: var(--grey-dark); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.care li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.care li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink); }

/* ---------- Bande « Fait pour la répétition » ---------- */
.story-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); color: #fff; min-height: 460px; }
.story-band__media { background-size: cover; background-position: center; filter: grayscale(1); }
.story-band__text { padding: clamp(48px, 7vw, 90px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.story-band__points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.story-band__points li { display: flex; gap: 18px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.story-band__points strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; min-width: 150px; }
.story-band__points span { color: #bdbdb9; font-size: 13px; }

.composer--compact { padding: 56px 0; }
.composer--compact .composer__grid { grid-template-columns: 1fr 1fr; }

/* ---------- Guide des tailles ---------- */
.size-guide { border: 0; padding: 36px; max-width: 520px; width: calc(100% - 32px); background: var(--paper); color: var(--ink); }
.size-guide::backdrop { background: rgba(0,0,0,.7); }
.size-guide__close { position: absolute; right: 14px; top: 10px; }
.size-guide__close button { background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--ink); }
.size-guide table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-guide th { text-align: left; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-dark); padding: 10px 8px; border-bottom: 1px solid var(--ink); }
.size-guide td { padding: 12px 8px; border-bottom: 1px solid #e2e0da; }
.size-guide td:first-child { font-family: var(--font-display); font-size: 20px; }

/* ---------- Notification ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 100;
  background: var(--ink); color: #fff; padding: 16px 22px; font-size: 13px; display: flex; gap: 18px; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; transition: opacity .3s, transform .3s; max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Barre d'achat mobile ---------- */
.sticky-buy { display: none; }

/* ---------- Page boutique ---------- */
.shop-hero { position: relative; background: var(--black); color: #fff; overflow: hidden; padding: clamp(70px, 10vw, 120px) 0; }
.shop-hero__media { position: absolute; inset: 0 0 0 40%; background-size: cover; background-position: center 25%; filter: grayscale(1); opacity: .55; }
.shop-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black), transparent 60%); }
.shop-hero__inner { position: relative; }
.shop-hero__title { font-size: clamp(56px, 8vw, 104px); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; padding-top: 56px; padding-bottom: 80px; }
.card { display: flex; flex-direction: column; background: #fff; transition: transform .3s, box-shadow .3s; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__media--dark { background: var(--black); }
.card__media--duo { display: flex; align-items: center; justify-content: center; gap: 10px; }
.card__media--duo img { width: 38%; height: auto; }
.card__tag { position: absolute; left: 14px; top: 14px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; }
.card__tag--light { background: #fff; color: var(--ink); }
.card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 22px 8px; }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: 34px; margin: 0; text-transform: uppercase; line-height: 1; }
.card__meta { margin: 8px 0 0; font-size: 13px; color: var(--grey-dark); }
.card__price { font-family: var(--font-display); font-size: 28px; margin: 0; }
.card__cta { margin-top: auto; padding: 14px 22px 22px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 8px; }
.card__cta--muted { color: var(--grey-dark); }
.card--soon { opacity: .92; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; padding-bottom: 60px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__main { grid-column: 1; }
  .gallery__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; }
  .thumb { width: 72px; }
  .story-band { grid-template-columns: 1fr; }
  .story-band__media { min-height: 260px; }
}
@media (max-width: 760px) {
  .breadcrumb { font-size: 10px; }
  .pdp__title { font-size: 60px; }
  .sizes { max-width: none; }
  .buy-row { max-width: none; }
  .story-band__points strong { min-width: 120px; font-size: 22px; }
  .composer--compact .composer__grid { grid-template-columns: 1fr; }
  .shop-hero__media { inset: 0; }
  .shop-grid { padding-top: 36px; padding-bottom: 56px; }

  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--black); color: #fff; transform: translateY(110%); transition: transform .3s;
  }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy div { display: flex; flex-direction: column; }
  .sticky-buy strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; }
  .sticky-buy span { font-size: 13px; color: #cfcfcb; }
  .sticky-buy .btn { padding: 12px 16px; font-size: 10px; }
  .toast { bottom: 84px; }
}

/* Sections sombres dans les pages boutique : texte clair */
.shop-page .composer, .shop-page .story-band { color: #fff; }
.shop-page .composer .title { color: #fff; }
.gallery__main, .thumb:not(.thumb--dark), .card__media:not(.card__media--dark) { background: #f1f0ec; }

/* Photo portée : cadrage vertical, image pleine */
.gallery__main { aspect-ratio: 4 / 5; }
.gallery__main img { object-fit: cover; object-position: center top; }
.gallery__thumbs { overflow-y: auto; }
.thumb img { object-position: center top; }
.card__media img.card__photo { object-fit: cover; object-position: center 15%; }

/* =========================================================
   Thème sombre des pages boutique (cohérent avec l'accueil)
   ========================================================= */
.shop-page { background: var(--black); color: #fff; }
.shop-page .breadcrumb { color: var(--grey); }
.shop-page .breadcrumb a:hover, .shop-page .breadcrumb [aria-current] { color: #fff; }
.shop-page .eyebrow--dark { color: var(--grey); }
.shop-page .pdp .title--dark, .shop-page .pdp .subtitle { color: #fff; }
.shop-page .pdp__price small { color: var(--grey); }
.shop-page .pdp__pitch { color: #cfcfcb; }
.shop-page .link-btn { color: #fff; }
.shop-page .option__error { color: #ff7b6e; }

.shop-page .swatch em { color: var(--grey); }
.shop-page .swatch span { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.shop-page .swatch input:checked + span { outline-color: #fff; }
.shop-page .size span { background: transparent; border-color: #3a3a38; color: #fff; }
.shop-page .size span:hover { border-color: #fff; }
.shop-page .size input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.shop-page .option.has-error .size span { border-color: #ff7b6e; }

.shop-page .qty { background: transparent; border-color: #3a3a38; }
.shop-page .qty button, .shop-page .qty input { color: #fff; }
.shop-page .buy-row .btn--dark { background: #fff; color: var(--ink); }
.shop-page .buy-row .btn--dark:hover { background: transparent; color: #fff; border-color: #fff; }

.shop-page .pdp__trust, .shop-page .accordion details { border-color: #2a2a28; }
.shop-page .accordion details > :not(summary) { color: #cfcfcb; }
.shop-page .specs li { border-bottom-color: #2a2a28; }
.shop-page .specs li span:first-child { color: var(--grey); }
.shop-page .care li::before { background: #fff; }

.shop-page .thumb:hover, .shop-page .thumb.is-active { border-color: #fff; }
.shop-page .gallery__badge { background: #fff; color: var(--ink); }

.shop-page .card { background: #161616; }
.shop-page .card__meta, .shop-page .card__cta--muted { color: var(--grey); }
.shop-page .card__tag { background: #fff; color: var(--ink); }
.shop-page a.card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.5); }

.shop-page .toast { background: #fff; color: var(--ink); }
.shop-page .composer, .shop-page .story-band { background: #070707; }

/* ---------- Rayons de la boutique ---------- */
.shop-tabs { position: sticky; top: var(--header-h); z-index: 40; background: rgba(12,12,12,.95); border-bottom: 1px solid rgba(255,255,255,.08); }
.shop-tabs__inner { display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.shop-tabs a { flex: none; padding: 18px 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; border-bottom: 2px solid transparent; transition: border-color .2s; }
.shop-tabs a:hover, .shop-tabs a.is-active { border-bottom-color: #fff; }
.shop-tabs a span { color: var(--grey); font-weight: 500; letter-spacing: .08em; margin-left: 6px; }

.shop-section { padding-top: 56px; scroll-margin-top: calc(var(--header-h) + 60px); }
.shop-section:last-of-type { padding-bottom: 80px; }
.shop-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 16px; }
.shop-section__head p { margin: 0; color: var(--grey); font-size: 13px; }
.shop-section .shop-grid { padding: 28px 0 0; }
.card--wide .card__media { aspect-ratio: 16 / 10; }
.card__media--dark img.card__photo { filter: grayscale(1); }

@media (max-width: 760px) {
  .shop-tabs__inner { gap: 24px; }
  .shop-section { padding-top: 40px; }
  .card--wide .card__media { aspect-ratio: 4 / 3; }
}
.shop-tabs { background: var(--black); }
#straps { padding-bottom: 80px; }

/* Galerie : vraies photos produit (format portrait) */
.gallery__main { aspect-ratio: 2 / 3; }
.gallery__main img { object-position: center; }
.thumb { aspect-ratio: 4 / 5; }
.story-band__media { background-position: center 40%; }
@media (max-width: 960px) {
  .gallery__thumbs { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .gallery__thumbs .thumb { flex: none; width: 64px; }
}
.card__media img.card__photo[src*="comp-v1-face"] { object-position: center 30%; }
.card__media img.card__photo[src*="cat-straps"] { object-position: center 45%; }

/* ---------- Stock ---------- */
.size.is-out span { color: #555 !important; border-color: #262626 !important; background: transparent !important; cursor: not-allowed; text-decoration: line-through; }
.swatch.is-out span { opacity: .35; }
.swatch.is-out em { text-decoration: line-through; }
.stock-msg { margin: 12px 0 0; font-size: 13px; color: #cfcfcb; }
.stock-msg.is-low { color: #e0a43a; font-weight: 600; }
.buy-row .btn--dark:disabled { opacity: .4; cursor: not-allowed; }

/* =========================================================
   Panier
   ========================================================= */
.cart-section { padding-top: 16px; padding-bottom: 90px; }
.cart__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 18px; margin-bottom: 8px; }
.cart__head .title { font-size: clamp(44px, 6vw, 72px); }
.cart__summary-count { margin: 0; color: var(--grey); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.cart__grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto 110px; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cart-line__img { aspect-ratio: 4 / 5; background: #f1f0ec; overflow: hidden; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cart-line__name { font-family: var(--font-display); font-weight: 400; font-size: 28px; text-transform: uppercase; margin: 0; line-height: 1; }
.cart-line__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-line__meta { margin: 8px 0 4px; color: var(--grey); font-size: 13px; }
.cart-line__unit { margin: 0; font-size: 14px; color: #cfcfcb; }
.cart-line__stock { margin: 8px 0 0; font-size: 12px; font-weight: 600; color: #cfcfcb; }
.cart-line__stock.is-low { color: #e0a43a; }
.cart-line__stock.is-error { color: #ff7b6e; }
.cart-line.is-problem .cart-line__img { opacity: .5; }
.cart-line__qty { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cart-line__qty .qty { background: transparent; border: 1px solid #3a3a38; display: flex; }
.cart-line__qty .qty button { width: 36px; height: 40px; background: none; border: 0; color: #fff; font-size: 17px; cursor: pointer; }
.cart-line__qty .qty button:disabled { color: #444; cursor: not-allowed; }
.cart-line__qty .qty input { width: 38px; background: none; border: 0; color: #fff; text-align: center; font: 600 15px var(--font-body); -moz-appearance: textfield; }
.cart-line__qty .qty input::-webkit-outer-spin-button, .cart-line__qty .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line__remove { background: none; border: 0; color: var(--grey); font: 600 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: #fff; }
.cart-line__total { margin: 0; text-align: right; font-family: var(--font-display); font-size: 26px; }

.cart-summary { position: sticky; top: calc(var(--header-h) + 24px); background: #121212; border: 1px solid rgba(255,255,255,.07); padding: 28px; margin-top: 24px; }
.cart-summary__title { font-family: var(--font-display); font-weight: 400; font-size: 30px; text-transform: uppercase; margin: 0 0 18px; }
.cart-summary dl { margin: 0 0 22px; }
.cart-summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.cart-summary dt { color: #cfcfcb; }
.cart-summary dd { margin: 0; font-weight: 600; }
.cart-summary dd.muted { color: var(--grey); font-weight: 400; font-size: 13px; }
.cart-summary__total { border-bottom: 0 !important; padding-top: 16px !important; }
.cart-summary__total dt { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; align-self: center; }
.cart-summary__total dd { font-family: var(--font-display); font-size: 34px; font-weight: 400; }
.cart-summary .btn--block { justify-content: center; padding: 17px; font-size: 12px; width: 100%; }
.cart-summary .btn--block:disabled { opacity: .4; cursor: not-allowed; }
.cart-summary__msg { margin: 0 0 14px; font-size: 13px; line-height: 1.5; padding: 12px 14px; background: #1d1d1d; border-left: 3px solid #e0a43a; color: #fff; }
.cart-summary__msg.is-error { border-left-color: #ff7b6e; }
.cart-summary__trust { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid rgba(255,255,255,.06); display: grid; gap: 10px; }
.cart-summary__trust li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #cfcfcb; }
.cart-summary__trust svg { width: 18px; height: 18px; flex: none; }
.cart-summary__continue { display: inline-block; margin-top: 20px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.cart-summary__continue:hover { color: #fff; }

.cart-empty { padding: 70px 0 40px; max-width: 520px; }
.cart-empty__title { font-family: var(--font-display); font-size: 40px; text-transform: uppercase; margin: 0 0 10px; }
.cart-empty p { color: #cfcfcb; margin: 0 0 26px; }

.thanks { padding: clamp(70px, 12vw, 140px) var(--gutter); max-width: 900px; }
.thanks__title { font-size: clamp(56px, 9vw, 110px); margin-bottom: 26px; }
.thanks__text { color: #cfcfcb; font-size: 16px; line-height: 1.7; max-width: 560px; margin: 0 0 34px; }
.thanks__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.thanks__actions .cart-summary__continue { margin: 0; }

.icon-btn.cart[aria-current="page"] { opacity: .6; }
.toast a { margin-left: 4px; font-weight: 700; }

@media (max-width: 960px) {
  .cart__grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  .cart-line { grid-template-columns: 84px 1fr; grid-template-areas: "img info" "img qty" "img total"; gap: 8px 16px; align-items: start; }
  .cart-line__img { grid-area: img; }
  .cart-line__info { grid-area: info; }
  .cart-line__qty { grid-area: qty; flex-direction: row; align-items: center; gap: 16px; }
  .cart-line__total { grid-area: total; text-align: left; font-size: 22px; }
  .cart-line__name { font-size: 24px; }
  .cart-summary { padding: 22px 18px; }
}

/* Vignettes : la colonne ne dépasse jamais la hauteur de la photo principale (défilement si besoin) */
@media (min-width: 961px) {
  .gallery__thumbs { height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
}

/* Carte « Construis mon gi » : fond blanc, veste + pantalon noirs */
.shop-page .card__media--white { background: #fff; }
.card__media--white.card__media--duo { gap: 6px; padding: 0 6%; }
.card__media--white.card__media--duo img { width: 44%; height: auto; max-height: 78%; object-fit: contain; }
.card__media--white .plus { color: #999; }
.shop-page .card__tag--dark { background: var(--ink); color: #fff; }
.card--soon:has(.card__media--white) { opacity: 1; }

/* ---------- Fiche Strap ---------- */
.pdp--compact .gallery__main { aspect-ratio: 3 / 4; }
.pdp--compact .thumb { aspect-ratio: 3 / 4; }
.sizes--single { grid-template-columns: minmax(120px, 160px); }
.sizes--single .size span { font-size: 18px; letter-spacing: .08em; }
.card__media img.card__photo--strap { object-position: center 55%; }
.specs li { grid-template-columns: minmax(120px, auto) 1fr; }

/* ---------- Fiche Ceinture ---------- */
.pdp--landscape { grid-template-columns: 1.25fr 1fr; }
.pdp--landscape .gallery { grid-template-columns: 1fr; }
.pdp--landscape .gallery__main { grid-column: 1; aspect-ratio: 4 / 3; }
.pdp--landscape .gallery__thumbs { display: none; }
.sizes--four { grid-template-columns: repeat(4, 1fr); max-width: 340px; }
.belt-strip-section { padding-bottom: 70px; }
.belt-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-top: 28px; }
.belt-strip__item { background: #121212; border: 1px solid rgba(255,255,255,.07); padding: 0; cursor: pointer; color: #fff; text-align: left; transition: border-color .2s, transform .2s; }
.belt-strip__item:hover { border-color: #fff; transform: translateY(-3px); }
.belt-strip__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.belt-strip__item span { display: block; padding: 12px 14px; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
@media (max-width: 960px) { .pdp--landscape { grid-template-columns: 1fr; } .belt-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .belt-strip { grid-template-columns: repeat(2, 1fr); } }
.card__media img.card__photo--belt { object-position: center 55%; }
.belt-dots { display: flex; gap: 6px; margin: 10px 0 0; }
.belt-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.card__price { white-space: nowrap; }

/* Carte « J'achète séparément » : pantalon bleu sur fond blanc */
.card__media--single { display: flex; align-items: center; justify-content: center; }
.card__media--single img { width: auto; height: 82%; object-fit: contain; }
.card--soon:has(.card__media--single) { opacity: 1; }

/* ---------- Pages pièces seules / Construis mon gi ---------- */
.suggest { margin: 10px 0 0; font-size: 12px; color: #cfcfcb; line-height: 1.5; }
.suggest::before { content: "→ "; color: #fff; }
.pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
.piece input { position: absolute; opacity: 0; pointer-events: none; }
.piece span { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border: 1px solid #3a3a38; cursor: pointer; transition: all .15s; }
.piece strong { font-family: var(--font-display); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.piece em { font-style: normal; font-size: 13px; color: var(--grey); }
.piece span:hover { border-color: #fff; }
.piece input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.piece input:checked + span em { color: var(--grey-dark); }
.piece input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.card__price--from small { font-family: var(--font-body); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-right: 2px; }

/* ---------- Panier : livraison et CGV ---------- */
.ship { border: 0; padding: 0; margin: 0 0 18px; }
.ship__title { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.ship__list { display: grid; gap: 8px; }
.ship__opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px; border: 1px solid #2c2c2a; cursor: pointer; transition: border-color .15s; }
.ship__opt:hover { border-color: #666; }
.ship__opt:has(input:checked) { border-color: #fff; background: #1a1a1a; }
.ship__opt input { margin-top: 3px; accent-color: #fff; }
.ship__name { display: block; font-size: 13px; font-weight: 600; }
.ship__detail { display: block; font-size: 11px; color: var(--grey); margin-top: 3px; line-height: 1.4; }
.ship__opt b { font-size: 13px; white-space: nowrap; }
.ship__free { color: #6fcf97; }
.ship__hint { margin: 10px 0 0; font-size: 12px; color: #e0a43a; }
.ship__relay { margin-top: 10px; padding: 12px; background: #1a1a1a; border-left: 3px solid #fff; }
.ship__relay-chosen { margin: 0 0 10px; font-size: 12px; color: #cfcfcb; line-height: 1.5; }
.ship__relay-chosen strong { color: #fff; }
.ship__relay-btn { background: none; border: 1px solid #fff; color: #fff; padding: 9px 14px; font: 700 10px var(--font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.ship__relay-btn:hover { background: #fff; color: var(--ink); }
.cgv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #cfcfcb; margin: 0 0 14px; line-height: 1.5; cursor: pointer; }
.cgv-check input { margin-top: 2px; accent-color: #fff; }
.cgv-check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.relay-dialog { border: 0; padding: 32px 24px 24px; width: min(860px, calc(100% - 24px)); max-height: calc(100vh - 40px); background: #fff; color: var(--ink); overflow: auto; }
.relay-dialog::backdrop { background: rgba(0,0,0,.7); }
.relay-dialog .size-guide__close button { color: var(--ink); }
#mr-widget { min-height: 200px; }
.thanks__recap { border: 1px solid rgba(255,255,255,.12); max-width: 560px; margin: 0 0 28px; }
.thanks__recap p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.thanks__recap p:last-child { border-bottom: 0; }
.thanks__recap span { color: var(--grey); }
.thanks__recap strong { text-align: right; }

/* ---------- Pages légales ---------- */
.legal__inner { max-width: 860px; padding-bottom: 90px; }
.legal__title { font-size: clamp(44px, 6vw, 72px); margin: 18px 0 8px; }
.legal__date { color: var(--grey); font-size: 13px; margin: 0 0 28px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 20px; }
.legal__toc a { font-size: 12px; color: #cfcfcb; }
.legal__toc a:hover { color: #fff; text-decoration: underline; }
.legal section { padding-top: 26px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; text-transform: uppercase; margin: 0 0 12px; }
.legal p, .legal li { color: #cfcfcb; font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal strong { color: #fff; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 6px 0 14px; }
.legal__table th { text-align: left; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); border-bottom: 1px solid rgba(255,255,255,.2); padding: 10px 8px; }
.legal__table td { border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 8px; color: #cfcfcb; vertical-align: top; }
.legal__form { border: 1px solid rgba(255,255,255,.12); padding: 12px 16px; margin-top: 12px; }
.legal__form summary { cursor: pointer; font-weight: 600; }
mark.todo { background: #e0a43a; color: #111; padding: 0 4px; font-weight: 600; }
@media (max-width: 600px) { .legal__table { display: block; overflow-x: auto; } }

/* ---------- Zoom des photos produit ---------- */
.gallery__main { cursor: zoom-in; }
.gallery__main img { transition: transform .15s ease-out, opacity .25s; }
.gallery__main img.is-zoomed { transform: scale(2.2); }
.gallery__badge { pointer-events: none; z-index: 1; }
.gallery__main::after { content: "⤢"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(12,12,12,.75); color: #fff; font-size: 18px; pointer-events: none; }
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(8,8,8,.97); color: #fff; overflow: auto; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 92vw; max-height: 90vh; object-fit: contain; cursor: zoom-in; touch-action: pinch-zoom; }
.lightbox__img.is-big { max-width: none; max-height: none; width: 180vw; cursor: zoom-out; }
.lightbox__close { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; z-index: 2; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 0; color: #fff; font-size: 44px; width: 54px; height: 72px; cursor: pointer; z-index: 2; }
.lightbox__nav:hover { background: rgba(255,255,255,.18); }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
.lightbox__count { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; font-size: 12px; letter-spacing: .14em; color: #cfcfcb; }
@media (max-width: 760px) { .lightbox__nav { width: 40px; height: 56px; font-size: 32px; } }

/* Paiement en 3 fois sans frais */
.pay3x { display: flex; align-items: center; gap: 12px; margin: -6px 0 22px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); font-size: 13px; line-height: 1.4; color: #e9e8e4; }
.pay3x strong { color: #fff; white-space: nowrap; }
.pay3x small { display: block; font-size: 11px; color: var(--grey); margin-top: 2px; }
.pay3x__badge { flex: none; padding: 6px 8px; background: #ffb3c7; color: #0c0c0c; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pay3x--cart { margin: 4px 0 22px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.pay-methods span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.18); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: #cfcfcb; }

.cart-summary__promo { margin: 10px 0 0; font-size: 12px; color: var(--grey); text-align: center; }

/* ---- Offres spéciales (rashguards) ---- */
.card__tag--promo, .shop-page .card__tag--promo, .shop-page .gallery__badge--promo, .gallery__badge--promo { background: #d4202c; color: #fff; }
.pdp__deal { display: inline-block; margin-left: 12px; vertical-align: middle; background: #d4202c; color: #fff; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; }
.swatches--text { flex-wrap: wrap; gap: 10px; }
.swatches--text .swatch span { width: auto; height: 48px; border-radius: 0; padding: 0 18px; display: grid; place-items: center; background: transparent; box-shadow: none; border: 1px solid #3a3a38; outline: none; font-family: var(--font-display); font-size: 19px; letter-spacing: .04em; color: #fff; transition: all .15s; }
.swatches--text .swatch span:hover { border-color: #fff; }
.shop-page .swatches--text .swatch input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.swatches--text .swatch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.swatches--text .swatch.is-out span { text-decoration: line-through; }
.pdp__ref { margin: 8px 0 0; font-size: 11px; letter-spacing: .08em; color: var(--grey); font-family: ui-monospace, Menlo, Consolas, monospace; }
.ship__weight { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--grey); }
.ship__opt.is-off { opacity: .45; cursor: not-allowed; }
