/* ============================================================
   CHECKOUT — pixel-perfect PulsedBox / Shopify style
   ============================================================ */

:root {
  --co-accent:        rgb(41, 182, 246);
  --co-accent-hover:  rgb(33, 154, 209);
  --co-border:        rgb(222, 222, 222);
  --co-bg:            #fff;
  --co-text:          #000;
  --co-subdued:       rgb(112, 112, 112);
  --co-bg-subdued:    rgb(245, 245, 245);
  --co-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
             sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  --co-radius:        8px;
  --co-transition:    0.2s ease-in-out;
  --co-header-h:      65px;
}

.checkout-page {
  min-height: 100vh;
  background: var(--co-bg);
  font-family: var(--co-font);
  font-size: 14px;
  color: var(--co-text);
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Éléments mis de côté (Paiement express, Mondial Relay) — retirer la classe pour réactiver */
.checkout-aside,
.checkout-aside-mondial-relay {
  display: none !important;
}

/* ── Visually hidden ── */
.visually-hidden {
  border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap;
}

/* ============================================================
   HEADER
   ============================================================ */
.checkout-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--co-bg);
  border-bottom: 1px solid var(--co-border);
  transform: translateY(0);
  transition: transform 0.25s ease-out;
}
.checkout-header--hidden {
  transform: translateY(-100%);
}
.checkout-header__inner {
  padding: 0 38px;
  height: var(--co-header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.checkout-header__logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--co-text);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.checkout-header__cart {
  position: absolute;
  right: 38px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--co-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.checkout-header__cart:hover { opacity: 1; }

/* ============================================================
   GRILLE 2 COLONNES
   Layout exact PulsedBox :
   col gauche = légèrement > 50 %, col droite = reste
   ============================================================ */
.checkout-main {
  padding-top: var(--co-header-h);
  min-height: calc(100vh - var(--co-header-h));
}
@media (max-width: 1060px) {
  .checkout-main {
    padding-top: 0;
  }
}
.checkout__grid {
  display: grid;
  grid-template-columns: minmax(min-content, calc(50% + 5rem)) 1fr;
  min-height: calc(100vh - var(--co-header-h));
}

/* ── Colonne gauche ── */
.checkout__form-col {
  background: var(--co-bg);
  display: flex;
  justify-content: flex-end; /* forme alignée à droite dans la colonne */
}
.checkout-form {
  width: 100%;
  max-width: 580px;        /* valeur exacte PulsedBox */
  padding: 38px;
  border-right: 1px solid var(--co-border);
  box-sizing: border-box;
}

/* ── Colonne droite ── */
.checkout__summary-col {
  background: #000;
  color: #fff;
  display: block;
}
.checkout-summary {
  position: sticky;
  top: 0;                  /* sticky depuis le haut (pas depuis le header) */
  inset: 0 auto;
  width: 100%;
  max-width: 480px;        /* valeur exacte PulsedBox */
  padding: 38px;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}

/* ============================================================
   SECTIONS (colonne gauche)
   ============================================================ */
.checkout-section { padding-top: 32px; }
.checkout-section:first-child { padding-top: 0; }

.checkout-section__title-row { margin-bottom: 14px; }
.checkout-section__title {
  font-family: var(--co-font);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--co-text);
  margin: 0;
}
.checkout-section__title--small {
  font-size: 14px;
  font-weight: 400;
  color: var(--co-subdued);
  text-align: center;
  width: 100%;
}
.checkout-section__hint {
  font-size: 14px;
  color: var(--co-subdued);
  margin: 0 0 8px;
  line-height: 1.5;
}

/* ============================================================
   PAIEMENT EXPRESS
   ============================================================ */
.checkout-express-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 17px;
}
.checkout-gpay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-basis: 262px;       /* valeur exacte PulsedBox */
  height: 48px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: var(--co-radius);
  font-family: var(--co-font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--co-transition);
}
.checkout-gpay:hover { background: #1a1a1a; }

/* Séparateur OU */
.checkout-separator {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 17px;
  padding-bottom: 26px;
}
.checkout-separator__line {
  flex: 1;
  height: 1px;
  background: var(--co-border);
}
.checkout-separator__text {
  font-size: 13px;
  color: var(--co-subdued);
}

/* ============================================================
   CHAMPS — wrapper + floating label
   ============================================================ */
.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Wrapper = la bordure */
.checkout-field-wrapper {
  position: relative;
  border: 1px solid var(--co-border);
  border-radius: var(--co-radius);
  background: var(--co-bg);
  transition: border-color var(--co-transition), box-shadow var(--co-transition);
}
.checkout-field-wrapper:has(.checkout-field__input:focus) {
  border-color: var(--co-accent);
  box-shadow: 0 0 0 1px var(--co-accent);
}
.checkout-field-wrapper--disabled {
  background: var(--co-bg-subdued);
  pointer-events: none;
}

/* Input */
.checkout-field__input {
  display: block;
  width: 100%;
  padding: 13.5px 11px;
  min-height: 49px;
  font-family: var(--co-font);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--co-text);
  background: transparent;
  border: none;
  border-radius: var(--co-radius);
  box-sizing: border-box;
  outline: none;
  transition: padding var(--co-transition);
  -webkit-tap-highlight-color: transparent;
}
.checkout-field__input::placeholder { color: transparent; }

/* Label flottant */
.checkout-field__label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--co-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--co-subdued);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 26px);
  transition: top var(--co-transition), transform var(--co-transition), font-size var(--co-transition);
  z-index: 1;
}
/* Flotte quand focus ou valeur */
.checkout-field__input:focus + .checkout-field__label,
.checkout-field__input:not(:placeholder-shown) + .checkout-field__label {
  top: 8px;
  transform: translateY(0);
  font-size: 12px;
}
/* Ajuste le padding quand le label est flottant */
.checkout-field__input:focus,
.checkout-field__input:not(:placeholder-shown) {
  padding-top: 21px;
  padding-bottom: 6px;
}
/* Label pré-rempli (select, readonly) */
.checkout-field__label--filled {
  top: 8px;
  transform: translateY(0);
  font-size: 12px;
}

/* Champ carte Stripe : label au-dessus du bloc, encadrement seulement autour de la carte */
.checkout-card-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-card-field .checkout-field__label--above {
  position: static;
  transform: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--co-text);
  flex-shrink: 0;
}
.checkout-card-field__inner .checkout-field__input--card {
  min-height: 44px;
  padding: 10px 36px 10px 11px;
  border: none;
  background: transparent;
}
.checkout-card-field__inner .checkout-field__icon {
  top: 50%;
  transform: translateY(-50%);
}

/* ── Select ── */
.checkout-field-wrapper--select .checkout-field__input {
  padding-top: 21px;
  padding-bottom: 6px;
  padding-right: 36px;
  appearance: none;
  cursor: pointer;
}
.checkout-field__select-icon {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* ── Icône à droite ── */
.checkout-field-wrapper--icon-end .checkout-field__input {
  padding-right: 36px;
}
.checkout-field__icon {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: var(--co-subdued);
}
.checkout-field__icon--info {
  pointer-events: auto;
  cursor: help;
}

/* ── Champ sombre (code promo) ── */
.checkout-field-wrapper--dark {
  border-color: rgb(51, 51, 51);
  background: transparent;
}
.checkout-field-wrapper--dark:has(.checkout-field__input:focus) {
  border-color: var(--co-accent);
  box-shadow: 0 0 0 1px var(--co-accent);
}
.checkout-field__input--dark {
  color: #fff;
}
.checkout-field__label--dark {
  color: rgba(255, 255, 255, 0.5);
}
.checkout-field__input--dark:focus + .checkout-field__label--dark,
.checkout-field__input--dark:not(:placeholder-shown) + .checkout-field__label--dark {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   MODE D'EXPÉDITION
   ============================================================ */
.checkout-shipping-placeholder {
  background: var(--co-bg-subdued);
  border-radius: var(--co-radius);
  padding: 14px;
}
.checkout-shipping-placeholder__hint {
  font-size: 14px;
  color: var(--co-subdued);
  margin: 0 0 12px;
  line-height: 1.5;
}
.checkout-shipping-placeholder .checkout-field-wrapper {
  border-color: transparent;
  background: var(--co-bg);
}

/* ============================================================
   SÉLECTEUR POINT RELAIS MONDIAL RELAY
   ============================================================ */
.checkout-relay-section {
  margin-top: 6px;
  padding: 12px 12px 10px;
  border-radius: var(--co-radius);
  border: 1px dashed var(--co-border);
  background: var(--co-bg-subdued);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-relay-section__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--co-text);
}
.checkout-relay-section__hint {
  margin: 0;
  font-size: 13px;
  color: var(--co-subdued);
}
.checkout-relay-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.checkout-relay-search__field {
  flex: 1;
}
.checkout-relay-search__button {
  flex-shrink: 0;
  padding: 0 14px;
  min-height: 49px;
  border-radius: var(--co-radius);
  border: none;
  background: var(--co-accent);
  color: #fff;
  font-family: var(--co-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--co-transition), transform 0.1s ease-out;
}
.checkout-relay-search__button:hover {
  background: var(--co-accent-hover);
}
.checkout-relay-search__button:active {
  transform: scale(0.98);
}

.checkout-relay-list {
  margin-top: 4px;
  max-height: 190px;
  overflow-y: auto;
  border-radius: var(--co-radius);
  background: #fff;
  border: 1px solid var(--co-border);
}
.checkout-relay-list:empty {
  display: none;
}
.checkout-relay-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  font-family: var(--co-font);
  border-bottom: 1px solid var(--co-border);
}
.checkout-relay-item:last-child {
  border-bottom: none;
}
.checkout-relay-item:hover {
  background: rgba(41, 182, 246, 0.06);
}
.checkout-relay-item.is-selected {
  background: rgba(41, 182, 246, 0.12);
  box-shadow: inset 0 0 0 1px var(--co-accent);
}
.checkout-relay-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--co-text);
}
.checkout-relay-item__address {
  font-size: 13px;
  color: var(--co-subdued);
}
.checkout-relay-item__distance {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--co-subdued);
}

.checkout-relay-summary {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--co-subdued);
}

/* ============================================================
   CHECKBOX
   ============================================================ */
.checkout-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--co-text);
  line-height: 1.4;
}
.checkout-checkbox--billing { margin-top: 24px; }
.checkout-checkbox__control {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.checkout-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0; cursor: pointer;
}
.checkout-checkbox__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--co-border) inset;
  background: var(--co-bg);
  transition: box-shadow 0.13s cubic-bezier(0.3, 0.5, 0.5, 1), background 0.13s;
  pointer-events: none;
}
.checkout-checkbox__box svg { opacity: 0; transition: opacity 0.13s; }
.checkout-checkbox__input:checked ~ .checkout-checkbox__box {
  background: var(--co-accent);
  box-shadow: 0 0 0 1px var(--co-accent) inset;
}
.checkout-checkbox__input:checked ~ .checkout-checkbox__box svg { opacity: 1; }
.checkout-checkbox__label { padding-top: 1px; }

/* ============================================================
   PAIEMENT — boîte méthode + logos cartes + champs
   ============================================================ */
.checkout-section--payment .checkout-section__title-row { margin-bottom: 4px; }

/* "Carte de crédit" : boîte indépendante avec bordure BLEUE accent */
.checkout-payment-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(41, 182, 246, 0.05);
  border: 1px solid var(--co-accent);
  box-shadow: 0 0 0 1px var(--co-accent);
  border-radius: var(--co-radius);
}
.checkout-payment-method__label {
  font-family: var(--co-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--co-text);
  margin: 0;
}

/* Logos de carte */
.checkout-card-logos {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.checkout-card-logo {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--co-border);
  overflow: hidden;
  line-height: 0;
}
.checkout-card-logo-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  background: rgb(232, 232, 232);
  border-radius: 4px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--co-subdued);
  cursor: pointer;
}

/* Encadrement gris : champs + checkbox, style normal (espacés, arrondis) */
.checkout-payment-card {
  margin-top: 12px;
  border: 1px solid var(--co-border);
  border-radius: var(--co-radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Moins d’espace entre les champs dans la carte paiement */
.checkout-payment-card .checkout-fields {
  gap: 10px;
}
/* Le checkout-checkbox--billing dans le card : ajuste le margin */
.checkout-payment-card .checkout-checkbox--billing {
  margin-top: 0;
}

/* Bouton Payer */
.checkout-submit {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  font-family: var(--co-font);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--co-accent);
  border: none;
  border-radius: var(--co-radius);
  cursor: pointer;
  transition: background var(--co-transition);
  letter-spacing: 0.01em;
}
.checkout-submit:hover { background: var(--co-accent-hover); }
.checkout-submit:active { transform: scale(0.99); }

/* ============================================================
   RÉCAP COMMANDE — colonne droite noire
   Sections internes avec gap 21px (valeur PulsedBox)
   ============================================================ */
.checkout-summary__inner {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

/* ── Liste produits ── */
.checkout-summary__products {
  position: relative;
  overflow: hidden;
}
.checkout-summary__products-scroll {
  max-height: 40vh;
  overflow-y: auto;
  padding-top: 7px;
  padding-bottom: 3px;
}
.checkout-summary__product-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Séparateur entre liste et totaux */
.checkout-summary__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0;
}

/* ── Item produit ── */
.checkout-product {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 66px;
}

/* Vignette */
.checkout-product__thumb {
  flex-shrink: 0;
  position: relative;
  margin: 1px;
  width: 64px;
  height: 64px;
}
.checkout-product__image-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: rgb(24, 24, 24);
  overflow: hidden;
  box-shadow: rgba(0,0,0,.12) 0 1px 1.75px, rgba(0,0,0,.09) 0 -.5px 1.5px, rgba(0,0,0,.03) 0 3px 4px;
}
.checkout-product__image {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid #fff;
  box-sizing: border-box;
}
.checkout-product__qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 24px;
  min-height: 24px;
  padding: 0 5px;
  background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Infos */
.checkout-product__info {
  flex: 1;
  min-width: 0;
  padding-left: 0; /* déjà géré par gap sur .checkout-product */
  display: flex;
  flex-direction: column;
  align-self: baseline;
  justify-content: center;
  min-height: 64px;
}
.checkout-product__title {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.checkout-product__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}

/* Prix (colonne droite de chaque item) */
.checkout-product__price-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  white-space: pre;
}
.checkout-product__price {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}
.checkout-product__price--struck {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
  text-decoration: line-through;
  display: block;
}
.checkout-product__free {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

/* ── Code promo ── */
.checkout-summary__discount {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}
.checkout-summary__discount-btn {
  height: 49px;
  padding: 0 14px;
  background: rgb(24, 24, 24);
  color: #fff;
  border: none;
  box-shadow: rgb(51, 51, 51) 0 0 0 1px inset;
  border-radius: var(--co-radius);
  font-family: var(--co-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--co-transition);
  white-space: nowrap;
}
.checkout-summary__discount-btn:hover { opacity: 0.8; }

/* ── Totaux ── */
.checkout-summary__totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.checkout-summary__row--total {
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  align-items: center;
}
.checkout-summary__label {
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.checkout-summary__label--savings {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  gap: 5px;
}
.checkout-summary__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: none;
  cursor: help;
  padding: 0;
  line-height: 1;
}
.checkout-summary__value {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}
.checkout-summary__value--muted {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: 13px;
}
.checkout-summary__value--savings {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.checkout-summary__total-right {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.checkout-summary__currency {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.checkout-summary__value--total {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Panier vide */
.checkout-summary__empty {
  text-align: center;
  padding: 40px 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
.checkout-summary__empty a { color: var(--co-accent); }

/* ============================================================
   ACCORDION RÉSUMÉ MOBILE (caché sur desktop)
   ============================================================ */
.checkout-mobile-summary {
  display: none;
}

/* ============================================================
   RESPONSIVE — breakpoint 1060px (= 58rem + 48rem PulsedBox)
   ============================================================ */
@media (max-width: 1060px) {
  .checkout__grid {
    grid-template-columns: 1fr;
  }
  /* Colonne droite (récap plein) cachée sur mobile */
  .checkout__summary-col {
    display: none;
  }
  /* Accordion résumé mobile visible — juste sous le header, pas caché */
  .checkout-mobile-summary {
    display: block;
    margin-top: var(--co-header-h);
    border-bottom: 1px solid var(--co-border);
    background: var(--co-bg);
  }
  .checkout-mobile-summary__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(41, 182, 246, 0.06);
    border: none;
    cursor: pointer;
    font-family: var(--co-font);
    font-size: 14px;
    color: var(--co-accent);
    text-align: left;
  }
  .checkout-mobile-summary__toggle-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
  }
  .checkout-mobile-summary__chevron {
    transition: transform 0.2s ease;
  }
  .checkout-mobile-summary__toggle[aria-expanded="true"] .checkout-mobile-summary__chevron {
    transform: rotate(180deg);
  }
  .checkout-mobile-summary__total {
    font-size: 16px;
    font-weight: 700;
    color: var(--co-text);
    white-space: nowrap;
  }
  .checkout-mobile-summary__body {
    background: #000;
    color: #fff;
    padding: 20px;
  }
  .checkout-mobile-summary__body[hidden] {
    display: none;
  }
  /* Formulaire sur colonne unique */
  .checkout-form {
    border-right: none;
    padding: 24px 20px 48px;
    max-width: 100%;
  }
  .checkout__form-col {
    justify-content: flex-start;
  }
  /* Champs sur 1 colonne */
  .checkout-field-row {
    grid-template-columns: 1fr;
  }
  /* Champs carte : rangée expiry+cvc en 1 colonne aussi */
  .checkout-payment-card__fields .checkout-field-row {
    grid-template-columns: 1fr;
  }
  .checkout-payment-card__fields .checkout-field-row .checkout-field-wrapper + .checkout-field-wrapper {
    border-left: none;
    border-top: 1px solid var(--co-border);
  }
  .checkout-header__inner {
    padding: 0 20px;
  }
  .checkout-header__cart {
    right: 20px;
  }
}

/* ============================================================
   Popup Expédition (? à côté de Expédition)
   ============================================================ */
.checkout-shipping-dialog {
  max-width: 90vw;
  width: 480px;
  max-height: 85vh;
  padding: 0;
  border: 1px solid var(--co-border);
  border-radius: var(--co-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.checkout-shipping-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}
.checkout-shipping-dialog__inner {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}
.checkout-shipping-dialog__title {
  margin: 0;
  padding: 20px 24px 12px;
  font-family: var(--co-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--co-text);
  border-bottom: 1px solid var(--co-border);
}
.checkout-shipping-dialog__content {
  padding: 20px 24px;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--co-text);
}
.checkout-shipping-dialog__content p {
  margin: 0 0 12px;
}
.checkout-shipping-dialog__content p:last-child {
  margin-bottom: 0;
}
.checkout-shipping-dialog__content strong {
  display: block;
  margin-top: 16px;
  margin-bottom: 4px;
}
.checkout-shipping-dialog__content strong:first-child {
  margin-top: 0;
}
.checkout-shipping-dialog__close {
  margin: 0 24px 24px;
  padding: 12px 20px;
  font-family: var(--co-font);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--co-accent);
  border: none;
  border-radius: var(--co-radius);
  cursor: pointer;
  transition: background var(--co-transition);
}
.checkout-shipping-dialog__close:hover {
  background: var(--co-accent-hover);
}
