/* Page shop (SHOP_CHECKOUT) — tout est préfixé #shop (namespacing CSS du site). Valeurs locales scopées au bloc.
   Page pensée mobile d'abord : elle occupe toute la fenêtre (en-tête collant, barre de panier collée
   en bas) ; sur grand écran seul le contenu est centré et borné. */
html, body { height: 100%; }
body { background: var(--pp-surface); color: var(--pp-text-1); overflow-x: hidden; }
#shop {
  /* Page non brandée = surface blanche de l'aperçu téléphone (hero) ; les cartes se détachent par
     leur bordure et leur ombre légère. */
  --shop-fond-page: var(--pp-surface);
  --shop-page-sous: var(--shop-texte);
  --shop-page-tert: var(--shop-texte);
  --shop-titre: var(--marine);
  --shop-action: var(--gold);
  --shop-recherche-fond: color-mix(in srgb, var(--shop-entete-texte) 10%, transparent);
  --shop-recherche-texte: var(--shop-entete-texte);
  --shop-recherche-bord: color-mix(in srgb, var(--shop-entete-texte) 16%, transparent);
  --shop-recherche-indice: color-mix(in srgb, var(--shop-entete-texte) 55%, transparent);
  --shop-badge-fond: var(--shop-action);
  --shop-badge-texte: var(--marine);
  --shop-barre-fond: var(--gold);
  --shop-barre-texte: var(--marine);
  --shop-accroche: var(--gold-dark);
  --shop-btn-fond: var(--orange-pay);
  --shop-btn-texte: var(--pp-surface);
  --shop-entete-fond: var(--marine);
  --shop-entete-texte: var(--pp-surface);
  --shop-texte: var(--pp-text-1);
  --shop-fond-carte: var(--pp-surface);
  --shop-erreur: #B91C1C;
  --shop-succes: #15803D;
  --shop-erreur-bg: #FEF2F2;
  font-family: var(--pp-font);
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  color: var(--shop-texte);
  background: var(--shop-fond-page);
  position: relative; isolation: isolate;
}
#shop [hidden] { display: none !important; }
#shop .shop-conteneur { width: 100%; max-width: 1040px; margin: 0 auto; padding-left: 12px; padding-right: 12px; }

/* ----- En-tête (marque + recherche + panier) ----- */
#shop .shop-entete {
  position: sticky; top: 0; z-index: 20; background: var(--shop-entete-fond); color: var(--shop-entete-texte);
  padding-top: env(safe-area-inset-top);
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
}
#shop .shop-entete::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--shop-action) 50%, transparent 100%); opacity: .7;
}
#shop .shop-entete-ligne { display: flex; align-items: center; gap: 10px; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
#shop .shop-marque { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
#shop .shop-logo-zone { position: relative; flex: none; width: 40px; height: 40px; }
#shop .shop-logo { width: 40px; height: 40px; object-fit: contain; display: block; }
#shop .shop-logo--client { padding: 3px; background: var(--pp-surface); border-radius: 6px; }
/* Badge secteur : posé sur le fond de page, à gauche du nom de la boutique (couleur d'action du client, jamais sur le logo). */
#shop .shop-secteur {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; margin-right: 10px; margin-top: -3px;
  width: 24px; height: 24px; border-radius: 50%; color: var(--shop-action); border: 1.5px solid var(--shop-action);
}
#shop .shop-secteur[hidden] { display: none; }
#shop .shop-secteur svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
#shop .shop-marque-textes { min-width: 0; line-height: 1.2; }
#shop .shop-marque-nom { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#shop .shop-marque-sous { font-size: 12px; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#shop .shop-panier-btn {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--shop-entete-texte) 14%, transparent);
  color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
#shop .shop-panier-btn svg { width: 24px; height: 24px; fill: currentColor; }
#shop .shop-panier-badge {
  position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--shop-badge-fond); color: var(--shop-badge-texte); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--shop-entete-fond);
}
#shop .shop-recherche {
  display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 0 12px; padding: 0 12px; border-radius: 6px;
  background: var(--shop-recherche-fond); border: 1px solid var(--shop-recherche-bord);
  color: var(--shop-recherche-indice); transition: border-color .2s;
}
#shop .shop-recherche:focus-within { border-color: var(--shop-action); }
#shop .shop-recherche svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
#shop .shop-recherche input { flex: 1; border: 0; background: transparent; outline: 0; font: inherit; font-size: 15px; color: var(--shop-recherche-texte); min-width: 0; }
#shop .shop-recherche input::placeholder { color: var(--shop-recherche-indice); }

/* ----- Catalogue ----- */
/* Bannière du client = image de fond de l'en-tête, telle quelle (pas de voile : le client choisit sa bannière et la couleur
   de texte de son bouton principal, et vérifie le rendu dans l'aperçu de ses paramètres). */
#shop .shop-entete-banniere { position: absolute; inset: 0; background-size: cover; background-position: center; pointer-events: none; }
/* Design Nafabeat fixe (client non brandé, ou brandé sans couleur) : fond marine + traits dorés fins en carreaux, comme le hero
   du site (sans la lueur) ; traits à 16 % et fondu plus doux que le hero : l'en-tête est une bande de ~110 px, un trait à 9 % y
   serait invisible. La bannière du client, posée après dans le DOM, recouvre cette texture. */
#shop[data-entete="hero"] .shop-entete::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--gold-light-rgb),0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--gold-light-rgb),0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 100%);
}
#shop .shop-entete > .shop-conteneur { position: relative; }
#shop .shop-accroche-bandeau {
  background: linear-gradient(#FFFBF2, var(--pp-surface)); color: var(--shop-accroche); border-bottom: 1px solid #F3E7C9;
  font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; text-align: center; padding: 9px 0;
}
#shop[data-brande="1"] .shop-accroche-bandeau { background: transparent; border-bottom-color: color-mix(in srgb, var(--shop-texte) 15%, transparent); }
#shop .shop-accroche-bandeau .shop-conteneur::before, #shop .shop-accroche-bandeau .shop-conteneur::after {
  content: '◆'; font-size: 7px; color: var(--shop-action); vertical-align: middle; margin: 0 10px; opacity: .85;
}
#shop .shop-titre-zone { padding-top: 20px; padding-bottom: 6px; }
#shop .shop-titre-zone::after { content: ''; display: block; width: 36px; height: 2px; margin-top: 10px; background: var(--shop-action); border-radius: 2px; }
#shop .shop-titre { font-family: var(--font-display, 'DM Serif Display', Georgia, serif); font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -.005em; color: var(--shop-titre);
  white-space: normal; overflow-wrap: anywhere; word-break: normal; }
#shop .shop-description { font-size: 13px; color: var(--shop-page-sous); margin-top: 2px; }
#shop .shop-compte { font-size: 12px; color: var(--shop-page-tert); padding: 10px 0 6px; }
/* Cartes presque pleine largeur (6 px du bord de l'écran), bordure complète visible, coins quasi droits (liste à l'Amazon). */
#shop .shop-liste { display: grid; grid-template-columns: 1fr; gap: 6px; padding-bottom: 110px; margin-left: -6px; margin-right: -6px; }
@media (min-width: 640px) { #shop .shop-liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { #shop .shop-liste { grid-template-columns: 1fr 1fr 1fr; } }
#shop .shop-article {
  --shop-carte-h: 88px;
  display: flex; gap: 0; padding: 0; overflow: hidden; height: var(--shop-carte-h); background: var(--shop-fond-carte); border: 1px solid rgba(var(--marine-rgb), .12); border-radius: 6px;
}
#shop .shop-article:hover { border-color: color-mix(in srgb, var(--shop-action) 45%, transparent); }
#shop .shop-article { transition: border-color .25s ease, background .2s; }
#shop .shop-article--choisi {
  border-color: color-mix(in srgb, var(--shop-action) 55%, transparent); background: color-mix(in srgb, var(--shop-action) 3.5%, var(--shop-fond-carte));
}
/* Client brandé : seules les couleurs choisies par le client — contour = sa primaire telle quelle, fond de carte inchangé. */
#shop[data-brande="1"] .shop-article--choisi { border-color: var(--shop-action); background: var(--shop-fond-carte); }
@keyframes shop-rebond { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
#shop .shop-rebond { animation: shop-rebond .32s cubic-bezier(.3,1.6,.5,1); }
#shop .shop-vignette {
  position: relative; width: var(--shop-carte-h); align-self: stretch; background: radial-gradient(circle at 50% 38%, var(--pp-surface) 0%, var(--pp-badge-bg) 78%); /* fond commun à toutes les vignettes */
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; color: var(--pp-text-3);
}
#shop .shop-vignette img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; filter: drop-shadow(0 5px 6px rgba(15,23,42,.2)); }
#shop .shop-vignette svg { width: 34px; height: 34px; fill: currentColor; }
#shop .shop-article-infos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 5px 10px 5px 12px; }
#shop .shop-article-nom { font-size: 14px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Prix « à l'Amazon » : grand chiffre en graisse normale, devise réduite en exposant */
#shop .shop-article-prix { font-size: 17px; font-weight: 400; line-height: 1; color: var(--shop-texte); letter-spacing: -.01em; }
#shop .shop-article-prix small { font-size: 10px; font-weight: 500; color: var(--shop-texte); margin-left: 3px; vertical-align: top; position: relative; top: 1px; letter-spacing: 0; }
#shop .shop-article--desc .shop-article-nom { -webkit-line-clamp: 1; }
#shop .shop-article-nom, #shop .shop-article-desc, #shop .shop-vignette { cursor: pointer; }
#shop .shop-article-desc { font-size: 12px; line-height: 1.35; color: var(--shop-texte); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
#shop .shop-article-pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#shop .shop-article-action { display: flex; flex: none; }
#shop .shop-stepper { display: inline-flex; align-items: center; height: 30px; border: 1.5px solid var(--shop-action); border-radius: 16px; overflow: hidden; }
#shop .shop-stepper button {
  width: 32px; height: 100%; border: 0; background: transparent; color: var(--shop-action); font-size: 18px; font-weight: 400; line-height: 1; cursor: pointer; padding: 0;
}
#shop .shop-stepper--vide { border-color: var(--pp-border); }
#shop .shop-stepper--vide output { opacity: .55; }
#shop .shop-stepper button:disabled { cursor: default; opacity: .35; }
#shop .shop-stepper output { min-width: 24px; text-align: center; font-size: 14px; font-weight: 500; color: var(--shop-texte); }
#shop .shop-vide { font-size: 14px; color: var(--shop-page-tert); text-align: center; padding: 28px 0; grid-column: 1 / -1; }
#shop .shop-signature { font-size: 12px; color: var(--shop-page-tert); text-align: center; padding: 0 0 130px; margin-top: -90px; }

/* ----- Barre de panier collée en bas ----- */
#shop .shop-barre {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--shop-fond-page); border-top: 1px solid color-mix(in srgb, var(--shop-texte) 15%, transparent);
  box-shadow: 0 -8px 28px rgba(15,23,42,.12); padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .42s cubic-bezier(.2,.9,.25,1);
}
#shop .shop-barre.shop-barre--visible { transform: none; }
#shop .shop-barre-ligne { padding-top: 10px; padding-bottom: 10px; }
#shop .shop-barre .shop-btn {
  height: 50px; justify-content: center; gap: 8px; padding: 0 20px; font-size: 15px; font-weight: 700; border-radius: 6px;
  background: var(--shop-barre-fond); color: var(--shop-barre-texte); transition: background .2s, transform .1s;
}
#shop .shop-barre .shop-btn:hover:not(:disabled) { filter: brightness(1.08); }
#shop .shop-barre .shop-btn:active:not(:disabled) { transform: scale(.98); }
#shop .shop-barre .shop-btn:disabled { opacity: .45; }
#shop .shop-btn-icone { width: 18px; height: 18px; fill: currentColor; flex: none; }
#shop .shop-btn-total { white-space: nowrap; }
#shop .shop-btn-total:not(:empty)::before { content: '·'; margin-right: 8px; }

/* ----- Boutons / formulaires / états ----- */
#shop .shop-btn {
  height: 48px; border-radius: 6px; border: 0; width: 100%; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  background: var(--shop-btn-fond); color: var(--shop-btn-texte); display: flex; align-items: center; justify-content: center; gap: 6px;
}
#shop .shop-btn:disabled { opacity: .45; cursor: default; }
#shop .shop-btn--secondaire { background: transparent; color: var(--shop-texte); border: 1px solid color-mix(in srgb, var(--shop-texte) 25%, transparent); }
#shop .shop-state { flex: 1; display: flex; flex-direction: column; }
#shop .shop-page { width: 100%; max-width: 560px; margin: 0 auto; padding: 12px; flex: 1; }
/* Récapitulatif : occupe tout l'écran du téléphone (carte qui s'étire, bouton Payer calé en bas) ; centré et encadré dès 561 px. */
#shop .shop-page--plein { display: flex; flex-direction: column; padding: 0; }
#shop .shop-card.shop-card--plein { flex: 1; border: 0; border-radius: 0; box-shadow: none; padding: 16px; }
#shop .shop-card--plein { padding-bottom: 0; }
#shop .shop-card--plein.shop-card--valide { padding-bottom: calc(var(--shop-barre-recap-h, 120px) + 16px); }
#shop .shop-aide-champs {
  position: sticky; bottom: 0; margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); font-size: 13px; font-weight: 500;
  color: var(--shop-texte); background: var(--shop-fond-carte); border-top: 1px solid color-mix(in srgb, var(--shop-texte) 15%, transparent);
}
#shop .shop-aide-champs:empty { display: none; }
@media (min-width: 561px) {
  #shop .shop-page--plein { padding: 12px; }
  #shop .shop-card.shop-card--plein { border: 1px solid color-mix(in srgb, var(--shop-texte) 15%, transparent); border-radius: 6px; }
}
#shop .shop-champs-colonne { display: flex; flex-direction: column; gap: 12px; }
#shop .shop-case { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--shop-texte); cursor: pointer; }
#shop .shop-case input { width: 18px; height: 18px; accent-color: var(--shop-action); flex: none; }
#shop .shop-indispo { font-weight: 400; }
#shop .shop-radios label.shop-radio--indispo { opacity: .5; cursor: default; }
#shop .shop-position { display: flex; flex-direction: column; gap: 6px; }
#shop .shop-position-ligne { display: flex; align-items: center; gap: 10px; }
#shop .shop-position .shop-btn { width: auto; height: 40px; padding: 0 14px; font-size: 14px; }
#shop .shop-position .shop-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
#shop .shop-position-etat { font-size: 12px; color: var(--shop-texte); }
#shop .shop-position-etat--ok { color: var(--shop-succes); }
#shop .shop-position-etat--erreur { color: var(--shop-erreur); }
#shop .shop-lien-discret { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--shop-texte); text-decoration: underline; cursor: pointer; }
#shop .shop-card {
  background: var(--shop-fond-carte); border: 1px solid var(--pp-border); border-radius: 6px;
  padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 4px 14px rgba(15,23,42,.07);
}
#shop .shop-retour { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
#shop .shop-retour button { border: 0; background: transparent; padding: 6px; cursor: pointer; color: var(--shop-texte); display: flex; }
#shop .shop-retour svg { width: 22px; height: 22px; fill: currentColor; }
#shop .shop-lignes { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
#shop .shop-ligne { display: flex; justify-content: space-between; gap: 12px; }
#shop .shop-ligne--frais { color: var(--shop-texte); font-size: 12px; }
#shop .shop-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; border-top: 1px solid var(--pp-border); padding-top: 10px; }
#shop .shop-bloc { border-top: 1px solid var(--pp-border); padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
#shop .shop-bloc-titre { font-size: 13px; font-weight: 600; color: var(--shop-texte); }
#shop .shop-radios { display: flex; gap: 22px; font-size: 14px; }
#shop .shop-radios label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
#shop .shop-radios input { accent-color: var(--shop-action); width: 18px; height: 18px; }
#shop .shop-champ { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
#shop .shop-champ label { color: color-mix(in srgb, var(--shop-texte) 72%, transparent); font-weight: 500; }
#shop .shop-champ input, #shop .shop-champ textarea {
  font: inherit; font-size: 16px; color: var(--shop-texte); background: transparent;
  border: 1px solid color-mix(in srgb, var(--shop-texte) 20%, transparent); border-radius: 6px; padding: 11px 12px; outline: 0; width: 100%;
  transition: border-color .2s;
}
#shop .shop-champ input::placeholder, #shop .shop-champ textarea::placeholder { color: color-mix(in srgb, var(--shop-texte) 45%, transparent); }
#shop .shop-champ input:focus, #shop .shop-champ textarea:focus { border-color: var(--shop-action); }
#shop .shop-champ--erreur input, #shop .shop-champ--erreur textarea { border-color: var(--shop-erreur); }
#shop .shop-optionnel { font-weight: 400; }
#shop .shop-bloc-livraison { display: flex; flex-direction: column; gap: 12px; }
#shop .shop-champ-erreur { color: var(--shop-erreur); font-size: 12px; }
#shop .shop-barre-erreur { margin: 0 0 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--shop-erreur); }
#shop .shop-barre-message { margin: 0 0 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--shop-titre); }
#shop .shop-info-erreur { background: var(--shop-erreur-bg); color: var(--shop-erreur); border-radius: 6px; padding: 10px 12px; font-size: 13px; }
#shop .shop-centre, #shop .shop-card.shop-card--plein.shop-centre { align-items: center; text-align: center; justify-content: center; gap: 14px; padding: 36px 24px; }
#shop .shop-centre h1 { font-size: 20px; font-weight: 700; line-height: 1.3; }
#shop .shop-centre p { font-size: 14px; color: var(--shop-texte); line-height: 1.5; }
#shop .shop-ref {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .5px;
  border: 1px solid color-mix(in srgb, var(--shop-texte) 20%, transparent); border-radius: 6px; padding: 6px 6px 6px 14px; color: var(--shop-texte);
}
#shop .shop-ref-copier {
  flex: none; width: 36px; height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--shop-action);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
#shop .shop-ref-copier:hover { background: color-mix(in srgb, var(--shop-action) 12%, transparent); }
#shop .shop-ref-copier svg { width: 20px; height: 20px; fill: currentColor; }
#shop .shop-ref-confirmation { font-size: 12px; color: var(--shop-succes); min-height: 16px; margin-top: -8px; }
#shop .shop-pictogramme { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--shop-action); display: flex; align-items: center; justify-content: center; color: var(--shop-action); }
#shop .shop-pictogramme svg { width: 32px; height: 32px; fill: currentColor; }
#shop .shop-spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--pp-border); border-top-color: var(--shop-btn-fond); animation: shop-rotation .8s linear infinite; }
@keyframes shop-rotation { to { transform: rotate(360deg); } }

/* ----- Détail d'un article (galerie, nom, prix, description, quantité) ----- */
#shop .shop-detail { padding-bottom: 110px; }
#shop .shop-galerie {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1 / 1; max-height: 420px;
  border-radius: 6px; background: radial-gradient(circle at 50% 38%, var(--pp-surface) 0%, var(--pp-badge-bg) 78%);
}
#shop .shop-galerie::-webkit-scrollbar { display: none; }
#shop .shop-diapo { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; color: var(--pp-text-3); }
#shop .shop-diapo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; filter: drop-shadow(0 6px 8px rgba(var(--marine-rgb), .2)); }
#shop .shop-diapo svg { width: 64px; height: 64px; fill: currentColor; }
#shop .shop-points { display: flex; justify-content: center; gap: 8px; margin-top: -4px; }
#shop .shop-point { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: color-mix(in srgb, var(--shop-texte) 25%, transparent); }
#shop .shop-point--actif { background: var(--shop-action); }
#shop .shop-detail-nom { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
#shop .shop-detail-prix { font-size: 24px; font-weight: 500; letter-spacing: -.01em; color: var(--shop-texte); }
#shop .shop-detail-description { margin: 0; font-size: 14px; line-height: 1.5; color: var(--shop-texte); white-space: pre-line; overflow-wrap: anywhere; }
#shop .shop-detail-actions { display: flex; align-items: center; gap: 12px; }
#shop .shop-detail-actions .shop-btn { flex: 1; }
#shop .shop-stepper--detail { height: 50px; border-radius: 6px; flex: none; }
#shop .shop-stepper--detail button { width: 44px; font-size: 22px; }
#shop .shop-stepper--detail output { min-width: 32px; font-size: 16px; }

/* ----- Reprise, « Retrouver ma commande », paiement et statut ----- */
#shop .shop-bandeau-reprise {
  display: block; width: 100%; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--shop-action) 45%, transparent); cursor: pointer;
  background: color-mix(in srgb, var(--shop-action) 12%, var(--shop-fond-page)); color: var(--shop-texte); font: inherit; font-size: 14px; font-weight: 600; padding: 11px 0; text-align: left;
}
#shop .shop-bandeau-reprise .shop-conteneur::after { content: ' →'; }
#shop .shop-retrouver { margin: 4px 0 0; text-align: center; }
#shop .shop-retrouver--pied { padding: 0 0 130px; margin-top: -90px; }
#shop .shop-aide { margin: 0; font-size: 13px; line-height: 1.45; color: color-mix(in srgb, var(--shop-texte) 78%, transparent); }
#shop .shop-paiement-titre { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
#shop .shop-montant {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 6px; font-size: 13px;
  background: color-mix(in srgb, var(--shop-action) 10%, var(--shop-fond-carte)); border: 1px solid color-mix(in srgb, var(--shop-action) 40%, transparent);
}
#shop .shop-montant strong { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
#shop .shop-moyens { display: flex; flex-direction: column; gap: 8px; }
#shop .shop-moyen {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 6px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--shop-texte) 20%, transparent); transition: border-color .2s, background .2s;
}
#shop .shop-moyen:has(input:checked) { border-color: var(--shop-action); background: color-mix(in srgb, var(--shop-action) 7%, var(--shop-fond-carte)); }
#shop .shop-moyen input { accent-color: var(--shop-action); width: 20px; height: 20px; flex: none; }
#shop .shop-moyen-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#shop .shop-moyen-nom { font-size: 14px; font-weight: 600; }
#shop .shop-moyen-titulaire { font-size: 13px; color: color-mix(in srgb, var(--shop-texte) 75%, transparent); overflow-wrap: anywhere; }
#shop .shop-moyen-numero { font-size: 17px; font-weight: 700; letter-spacing: .3px; overflow-wrap: anywhere; }
#shop .shop-moyen .shop-ref-confirmation { position: absolute; margin: 0; }
#shop .shop-recu-ligne { display: flex; align-items: center; gap: 12px; }
#shop .shop-recu-ligne .shop-btn { width: auto; height: 40px; padding: 0 16px; font-size: 14px; }
#shop .shop-recu-etat { font-size: 12px; min-height: 16px; overflow-wrap: anywhere; }
#shop .shop-suivi { gap: 16px; }
#shop .shop-centre-entete { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-top: 8px; }
#shop .shop-centre-entete h1 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
#shop .shop-centre-entete p { margin: 0; font-size: 14px; line-height: 1.5; }
#shop .shop-suivi-details { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
#shop .shop-suivi-details dt { color: color-mix(in srgb, var(--shop-texte) 72%, transparent); font-weight: 500; }
#shop .shop-suivi-details dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
#shop .shop-suivi-details a { color: var(--shop-action); }
#shop .shop-conserver .shop-ref { justify-content: center; padding: 12px 14px; font-size: 22px; letter-spacing: 1px; }
#shop .shop-conserver .shop-champ input { font-size: 14px; }
#shop .shop-conserver .shop-ref-confirmation { margin-top: 0; text-align: center; }
#shop .shop-pictogramme[data-etat="validee"] { border-color: var(--shop-succes); color: var(--shop-succes); }
#shop .shop-pictogramme[data-etat="rejetee"], #shop .shop-pictogramme[data-etat="remboursee"] { border-color: var(--shop-erreur); color: var(--shop-erreur); }
#shop .shop-ligne--sous-total { color: var(--shop-texte); font-size: 13px; padding-top: 8px; border-top: 1px dashed var(--pp-border); }
#shop .shop-ligne--frais { font-size: 13px; }
