/* dsstockpc — bloc « pièce en réapprovisionnement ».
   Le thème impose ses styles avec deux ID et des !important : on fait de même, uniquement dans #dsstockpc. */
#product #dsstockpc.dsspc,
#dsstockpc.dsspc {
  --dsspc-bleu: #465cff;
  --dsspc-bleu-pale: #eef0ff;
  --dsspc-texte: #151823;
  --dsspc-gris: #63697c;
  --dsspc-trait: #e2e4ea;
  --dsspc-vert: #0f7a3d;
  --dsspc-vert-pale: #ecfdf3;
  --dsspc-ambre: #b45309;
  --dsspc-ambre-pale: #fff8ec;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 18px !important;
  border: 1px solid var(--dsspc-trait) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--dsspc-texte) !important;
  font-family: inherit !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
#product #dsstockpc *,
#dsstockpc * {
  box-sizing: border-box !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
}

/* En-tête */
#product #dsstockpc .dsspc-tete { display: flex !important; align-items: flex-start !important; gap: 12px !important; }
#product #dsstockpc .dsspc-pastille { flex: none !important; width: 36px !important; height: 36px !important; border-radius: 50% !important; background: var(--dsspc-ambre-pale) !important; color: var(--dsspc-ambre) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
#product #dsstockpc .dsspc-tete-txt { display: flex !important; flex-direction: column !important; gap: 3px !important; min-width: 0 !important; }
#product #dsstockpc .dsspc-titre { font-size: 15px !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--dsspc-texte) !important; }
#product #dsstockpc .dsspc-sous { font-size: 12.5px !important; line-height: 1.45 !important; color: var(--dsspc-gris) !important; font-weight: 400 !important; }

/* Une pièce */
#product #dsstockpc .dsspc-menu { display: flex !important; flex-direction: column !important; gap: 8px !important; padding-top: 14px !important; border-top: 1px solid #eef0f4 !important; }
#product #dsstockpc .dsspc-label { display: block !important; margin: 0 !important; font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.45 !important; color: var(--dsspc-texte) !important; }
#product #dsstockpc .dsspc-label b { font-weight: 700 !important; }
#product #dsstockpc .dsspc-clair { display: block !important; font-size: 12px !important; line-height: 1.5 !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc .dsspc-seule { font-size: 13px !important; line-height: 1.5 !important; padding: 10px 12px !important; border-radius: 10px !important; background: var(--dsspc-ambre-pale) !important; color: #5c3d0a !important; }

/* Cartes de choix (même rendu que la preview) */
#product #dsstockpc .dsspc-prevu-ligne { display: block !important; font-size: 12.5px !important; line-height: 1.45 !important; color: var(--dsspc-ambre) !important; font-weight: 600 !important; }
#product #dsstockpc .dsspc-cartes { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; gap: 10px !important; width: 100% !important; }
#product #dsstockpc button.dsspc-opt {
  -webkit-appearance: none !important; appearance: none !important;
  display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 4px !important;
  width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 44px !important; margin: 0 !important;
  padding: 12px !important; border: 1.5px solid var(--dsspc-trait) !important; border-radius: 12px !important;
  background: #fff !important; background-image: none !important; box-shadow: none !important;
  color: var(--dsspc-texte) !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.4 !important;
  cursor: pointer !important; white-space: normal !important; overflow: visible !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}
#product #dsstockpc button.dsspc-opt:hover { border-color: #b9c1ff !important; }
#product #dsstockpc button.dsspc-opt[aria-checked="true"] { border: 2px solid var(--dsspc-bleu) !important; box-shadow: 0 0 0 3px rgba(70, 92, 255, .15) !important; padding: 11.5px !important; }
#product #dsstockpc button.dsspc-opt:focus-visible { outline: 3px solid rgba(70, 92, 255, .35) !important; outline-offset: 2px !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-titre { font-size: 13.5px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--dsspc-texte) !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-prix { font-size: 15px !important; font-weight: 700 !important; color: var(--dsspc-texte) !important; white-space: nowrap !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-prix.dsspc-bleu { color: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-dispo { font-size: 12px !important; font-weight: 600 !important; color: var(--dsspc-vert) !important; }
#product #dsstockpc .dsspc-opt-attente .dsspc-o-dispo { color: var(--dsspc-ambre) !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-texte { font-size: 12px !important; line-height: 1.45 !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc .dsspc-badge { align-self: flex-start !important; padding: 2px 9px !important; border-radius: 999px !important; background: var(--dsspc-vert-pale) !important; color: var(--dsspc-vert) !important; font-size: 11px !important; font-weight: 700 !important; }

/* Récapitulatif */
#product #dsstockpc .dsspc-recap { display: grid !important; grid-template-columns: 1fr auto !important; gap: 4px 12px !important; font-size: 13px !important; color: var(--dsspc-gris) !important; border-top: 1px solid #eef0f4 !important; padding-top: 12px !important; }
#product #dsstockpc .dsspc-recap[hidden] { display: none !important; }
#product #dsstockpc .dsspc-recap b { text-align: right !important; color: var(--dsspc-texte) !important; font-variant-numeric: tabular-nums !important; }
#product #dsstockpc .dsspc-recap-total { font-size: 16px !important; }
#product #dsstockpc .dsspc-mention { font-size: 12px !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc .dsspc-erreur { font-size: 13px !important; font-weight: 600 !important; color: #b42318 !important; }
#product #dsstockpc .dsspc-erreur[hidden] { display: none !important; }

@media (max-width: 480px) {
  #product #dsstockpc.dsspc { padding: 14px !important; }
  #product #dsstockpc .dsspc-o-haut { flex-direction: column !important; gap: 2px !important; }
}

/* v1.4 : détail des pièces proposées */
#product #dsstockpc .dsspc-puces { display: flex !important; flex-wrap: wrap !important; gap: 5px !important; }
#product #dsstockpc .dsspc-puce { display: inline-block !important; padding: 2px 8px !important; border-radius: 6px !important; background: #f1f2f6 !important; color: #3d4252 !important; font-size: 11.5px !important; font-weight: 600 !important; line-height: 1.5 !important; white-space: nowrap !important; }
#product #dsstockpc .dsspc-detail { display: flex !important; flex-direction: column !important; gap: 6px !important; padding: 10px 12px !important; border-radius: 10px !important; background: #f7f8fb !important; }
#product #dsstockpc .dsspc-detail[hidden] { display: none !important; }
#product #dsstockpc .dsspc-detail-titre { font-size: 11.5px !important; font-weight: 700 !important; color: var(--dsspc-gris) !important; text-transform: uppercase !important; letter-spacing: .04em !important; }
#product #dsstockpc a.dsspc-fiche { display: inline-flex !important; align-items: center !important; gap: 5px !important; align-self: flex-start !important; font-size: 12.5px !important; font-weight: 600 !important; color: var(--dsspc-bleu) !important; text-decoration: underline !important; text-underline-offset: 2px !important; }
#product #dsstockpc a.dsspc-fiche[hidden] { display: none !important; }
#product #dsstockpc .dsspc-recap-l { color: var(--dsspc-texte) !important; font-weight: 700 !important; }

/* v1.6 : ligne sous le prix, mention Alma, badge de disponibilité, ligne du sous-total des options */
#product .dsspc-prix-choix { display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 4px 8px !important; margin: 8px 0 0 !important; padding: 8px 12px !important; border-radius: 10px !important; background: #eef0ff !important; color: #465cff !important; font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.4 !important; text-align: left !important; }
#product .dsspc-prix-choix[hidden] { display: none !important; }
#product .dsspc-prix-choix b { font-size: 16px !important; font-weight: 700 !important; font-variant-numeric: tabular-nums !important; color: #465cff !important; }
#product .dsspc-alma-note { display: block !important; margin: 6px 0 0 !important; font-size: 12.5px !important; font-weight: 600 !important; color: #465cff !important; text-align: left !important; }
#product .dsspc-alma-note[hidden] { display: none !important; }
#product .dsspc-dispo { display: inline-flex !important; align-items: center !important; gap: 7px !important; padding: 5px 12px !important; border-radius: 999px !important; font-size: 12.5px !important; font-weight: 600 !important; line-height: 1.4 !important; background: #fff8ec !important; color: #b45309 !important; }
#product .dsspc-dispo.dsspc-dispo-ok { background: #ecfdf3 !important; color: #0f7a3d !important; }
#product .dsspc-dispo::before { content: "" !important; width: 7px !important; height: 7px !important; border-radius: 50% !important; background: currentColor !important; flex: none !important; }
#product .dsspc-ligne-pieces { display: flex !important; justify-content: space-between !important; flex-wrap: wrap !important; gap: 2px 12px !important; margin: 6px 0 0 !important; font-size: 13px !important; color: #465cff !important; font-weight: 600 !important; }
#product .dsspc-ligne-pieces[hidden] { display: none !important; }
#product .dsspc-ligne-pieces b { font-variant-numeric: tabular-nums !important; }

/* v1.6 : bouton « Voir cette pièce en détail » et fenêtre de la pièce */
#product #dsstockpc button.dsspc-voir { -webkit-appearance: none !important; appearance: none !important; align-self: flex-start !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 6px 12px !important; border: 1.5px solid #c9d0ff !important; border-radius: 999px !important; background: #fff !important; color: var(--dsspc-bleu) !important; font-size: 12.5px !important; font-weight: 600 !important; line-height: 1.3 !important; cursor: pointer !important; box-shadow: none !important; }
#product #dsstockpc button.dsspc-voir:hover { background: var(--dsspc-bleu-pale) !important; }
#product #dsstockpc button.dsspc-voir:focus-visible { outline: 3px solid rgba(70, 92, 255, .35) !important; outline-offset: 2px !important; }
#product #dsstockpc .dsspc-o-loupe { margin-top: 2px !important; font-size: 12px !important; font-weight: 600 !important; color: var(--dsspc-bleu) !important; text-decoration: underline !important; text-underline-offset: 2px !important; }

.dsspc-fond { position: fixed !important; inset: 0 !important; z-index: 2147483000 !important; background: rgba(21, 24, 35, .5) !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 16px !important; box-sizing: border-box !important; }
.dsspc-fond[hidden] { display: none !important; }
.dsspc-fen { box-sizing: border-box !important; width: 100% !important; max-width: 560px !important; max-height: calc(100vh - 32px) !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; background: #fff !important; color: #151823 !important; border-radius: 18px !important; box-shadow: 0 24px 60px rgba(21, 24, 35, .25) !important; padding: 20px !important; font-family: inherit !important; text-align: left !important; display: flex !important; flex-direction: column !important; gap: 14px !important; }
.dsspc-fen * { box-sizing: border-box !important; text-align: left !important; text-transform: none !important; letter-spacing: normal !important; }
.dsspc-fen-haut { display: flex !important; align-items: flex-start !important; gap: 12px !important; }
.dsspc-fen-haut h2 { flex: 1 !important; min-width: 0 !important; margin: 0 !important; font-size: 18px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #151823 !important; }
.dsspc-fen-fam { display: block !important; font-size: 12px !important; font-weight: 600 !important; color: #63697c !important; margin-bottom: 2px !important; }
button.dsspc-fen-x { -webkit-appearance: none !important; appearance: none !important; flex: none !important; width: 38px !important; height: 38px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; background: #f1f2f6 !important; color: #151823 !important; font-size: 22px !important; line-height: 38px !important; text-align: center !important; cursor: pointer !important; }
.dsspc-fen-img { display: block !important; width: 100% !important; max-height: 260px !important; object-fit: contain !important; border-radius: 12px !important; background: #f7f8fb !important; }
.dsspc-fen-prix { display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 4px 12px !important; }
.dsspc-fen-prix b { font-size: 17px !important; color: #465cff !important; }
.dsspc-fen-prix b.neutre { color: #151823 !important; }
.dsspc-fen-prix span { font-size: 12.5px !important; font-weight: 600 !important; color: #0f7a3d !important; }
.dsspc-fen-prix span.attente { color: #b45309 !important; }
.dsspc-fen-puces { display: flex !important; flex-wrap: wrap !important; gap: 5px !important; }
.dsspc-fen-puces span { padding: 2px 8px !important; border-radius: 6px !important; background: #f1f2f6 !important; color: #3d4252 !important; font-size: 11.5px !important; font-weight: 600 !important; }
.dsspc-fen-texte { margin: 0 !important; font-size: 13.5px !important; line-height: 1.6 !important; color: #3d4252 !important; }
.dsspc-fen table { width: 100% !important; border-collapse: collapse !important; font-size: 13px !important; margin: 0 !important; }
.dsspc-fen th, .dsspc-fen td { padding: 7px 8px 7px 0 !important; border-top: 1px solid #eef0f4 !important; vertical-align: top !important; background: none !important; }
.dsspc-fen th { width: 45% !important; color: #63697c !important; font-weight: 500 !important; }
.dsspc-fen td { font-weight: 600 !important; color: #151823 !important; }
button.dsspc-fen-choisir { -webkit-appearance: none !important; appearance: none !important; width: 100% !important; min-height: 46px !important; margin: 0 !important; padding: 10px 16px !important; border: 0 !important; border-radius: 12px !important; background: #465cff !important; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.3 !important; text-align: center !important; cursor: pointer !important; }
button.dsspc-fen-choisir[disabled] { background: #ecfdf3 !important; color: #0f7a3d !important; cursor: default !important; }
button.dsspc-fen-x:focus-visible, button.dsspc-fen-choisir:focus-visible { outline: 3px solid rgba(70, 92, 255, .35) !important; outline-offset: 2px !important; }
.dsspc-fen-note { font-size: 12px !important; color: #63697c !important; }
.dsspc-fen-charge { font-size: 13px !important; color: #63697c !important; }
html.dsspc-fige, html.dsspc-fige body { overflow: hidden !important; }

/* v1.6 : frise de suivi (Mon compte › Détail de la commande) */
#dsspc-suivi { background: #fff; border: 1px solid #e2e4ea; border-radius: 16px; padding: 20px; margin: 0 0 20px; color: #151823; }
#dsspc-suivi .dsspc-s-titre { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
#dsspc-suivi .dsspc-s-sous { margin: 2px 0 16px; font-size: 13px; color: #63697c; }
#dsspc-suivi .dsspc-s-annule { margin: 0; padding: 12px 14px; border-radius: 12px; background: #eef0ff; font-size: 14px; }
#dsspc-suivi .dsspc-s-frise { list-style: none; margin: 0; padding: 0; }
#dsspc-suivi .dsspc-s-et { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 18px; }
#dsspc-suivi .dsspc-s-et:last-child { padding-bottom: 0; }
#dsspc-suivi .dsspc-s-et::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: #e2e4ea; }
#dsspc-suivi .dsspc-s-et:last-child::before { display: none; }
#dsspc-suivi .dsspc-s-et.fait::before { background: #0f7a3d; }
#dsspc-suivi .dsspc-s-rond { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #e2e4ea; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #63697c; position: relative; z-index: 1; box-sizing: border-box; }
#dsspc-suivi .fait .dsspc-s-rond { background: #0f7a3d; border-color: #0f7a3d; color: #fff; }
#dsspc-suivi .encours .dsspc-s-rond { border-color: #465cff; color: #465cff; box-shadow: 0 0 0 4px #eef0ff; }
#dsspc-suivi .alerte .dsspc-s-rond { border-color: #b45309; color: #b45309; box-shadow: 0 0 0 4px #fff8ec; }
#dsspc-suivi .dsspc-s-corps { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#dsspc-suivi .dsspc-s-et-titre { font-weight: 700; font-size: 14px; line-height: 1.4; }
#dsspc-suivi .dsspc-s-lu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#dsspc-suivi .dsspc-s-date { font-size: 12.5px; color: #63697c; }
#dsspc-suivi .dsspc-s-texte { font-size: 13px; line-height: 1.55; color: #3d4252; }
#dsspc-suivi .dsspc-s-piece { display: block; margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: #fff8ec; font-size: 12.5px; color: #8a4b08; }
#dsspc-suivi .dsspc-s-piece.ok { background: #ecfdf3; color: #0f5a2d; }
#dsspc-suivi .dsspc-s-piece b { color: #151823; margin-right: 6px; }
#dsspc-suivi .dsspc-s-tests { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
#dsspc-suivi .dsspc-s-tests span { padding: 2px 9px; border-radius: 6px; background: #eceef3; color: #3d4252; font-size: 11.5px; font-weight: 600; }
/* Le thème met certaines zones en capitales et alignées à droite : nos lignes gardent leur casse et leur alignement */
#product .dsspc-prix-choix, #product .dsspc-prix-choix *,
#product .dsspc-alma-note, #product .dsspc-dispo,
#product .dsspc-ligne-pieces, #product .dsspc-ligne-pieces * { text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; }
#product .dsspc-alma-note, #product .dsspc-ligne-pieces, #product .dsspc-ligne-pieces span { text-align: left !important; }
#product .dsspc-ligne-pieces b { text-align: right !important; margin-left: auto !important; }
#product .dsspc-dispo { text-align: left !important; }

/* v1.6.1 : version moins puissante (remise) */
#product #dsstockpc .dsspc-badge.dsspc-badge-moins { background: #f1f2f6 !important; color: #3d4252 !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-prix.dsspc-remise { color: #e4001f !important; }
.dsspc-fen-prix b.remise { color: #e4001f !important; }
#product #dsstockpc button.dsspc-voir[hidden] { display: none !important; }
#product .dsspc-tr td { color: #465cff !important; font-weight: 600 !important; font-size: 13px !important; text-transform: none !important; letter-spacing: normal !important; padding-top: 6px !important; }
#product .dsspc-tr td.dsspc-lp-v { text-align: right !important; white-space: nowrap !important; font-variant-numeric: tabular-nums !important; }

/* v1.7.0 : panier — détail pièce par pièce, ligne « Pièces choisies », récapitulatif */
.dsspc-panier { box-sizing: border-box !important; margin: 10px 0 0 !important; padding: 0 !important; background: none !important; text-align: left !important; text-transform: none !important; font-size: 13px !important; line-height: 1.45 !important; color: #151823 !important; display: block !important; width: 100% !important; }
.dsspc-panier-pc { display: block !important; font-size: 12.5px !important; color: #63697c !important; margin: 0 0 6px !important; }
.dsspc-conf { border-radius: 12px !important; background: #f7f8fb !important; border: 1px solid #eceef3 !important; overflow: hidden !important; }
.dsspc-conf-tete { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap !important; gap: 6px 10px !important; padding: 9px 12px !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .04em !important; text-transform: uppercase !important; color: #63697c !important; }
.dsspc-puce { letter-spacing: 0 !important; text-transform: none !important; font-size: 12px !important; padding: 2px 10px !important; border-radius: 999px !important; font-weight: 700 !important; }
.dsspc-puce-ok { background: #ecfdf3 !important; color: #0f7a3d !important; }
.dsspc-puce-att { background: #fff8ec !important; color: #b45309 !important; }
.dsspc-piece { display: grid !important; grid-template-columns: 28px minmax(0,1fr) auto !important; gap: 10px !important; align-items: center !important; padding: 10px 12px !important; border-top: 1px solid #eceef3 !important; background: #fff !important; }
.dsspc-ico { width: 28px !important; height: 28px !important; border-radius: 8px !important; display: flex !important; align-items: center !important; justify-content: center !important; font-weight: 700 !important; font-size: 15px !important; background: #eef0ff !important; color: #465cff !important; }
.dsspc-ico-moins { background: #fdeaec !important; color: #e4001f !important; }
.dsspc-ico-attente { background: #fff8ec !important; color: #b45309 !important; }
.dsspc-ico-equiv { background: #f1f2f6 !important; color: #3d4252 !important; }
.dsspc-piece-t { min-width: 0 !important; font-size: 13px !important; line-height: 1.4 !important; }
.dsspc-piece-t b { display: block !important; font-size: 13.5px !important; font-weight: 700 !important; overflow-wrap: anywhere !important; }
.dsspc-piece-t s { color: #63697c !important; }
.dsspc-piece-t small { display: block !important; color: #63697c !important; font-size: 12px !important; }
.dsspc-mt { font-weight: 700 !important; white-space: nowrap !important; font-size: 14px !important; font-variant-numeric: tabular-nums !important; }
.dsspc-mt-plus { color: #465cff !important; }
.dsspc-mt-moins { color: #e4001f !important; }
.dsspc-mt-zero { color: #63697c !important; font-weight: 600 !important; font-size: 12.5px !important; }
.dsspc-conf-pied { display: flex !important; justify-content: space-between !important; gap: 10px !important; align-items: center !important; padding: 10px 12px !important; border-top: 1px solid #eceef3 !important; background: #fff !important; font-size: 13.5px !important; font-weight: 600 !important; }
.dsspc-conf-lien { display: flex !important; flex-direction: column !important; gap: 4px !important; padding: 9px 12px !important; border-top: 1px solid #eceef3 !important; font-size: 12px !important; color: #63697c !important; }
.dsspc-conf-lien a { color: #465cff !important; font-weight: 600 !important; text-decoration: underline !important; }
.dsspc-ligne-pieces .dsspc-vign { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; aspect-ratio: 1 / 1 !important; max-width: 120px !important; border-radius: 12px !important; background: #eef0ff !important; color: #465cff !important; font-size: 34px !important; }
.dsspc-ligne-pieces .product-line-info a.label { cursor: default !important; text-decoration: none !important; }
/* Récapitulatif (colonne de droite) */
.dsspc-recap { display: flex !important; flex-direction: column !important; gap: 10px !important; margin: 0 0 12px !important; text-transform: none !important; text-align: left !important; }
.dsspc-recap-pc { background: rgba(255,255,255,.07) !important; border-radius: 10px !important; padding: 12px !important; display: flex !important; flex-direction: column !important; gap: 9px !important; }
.dsspc-recap-l { display: flex !important; justify-content: space-between !important; gap: 10px !important; font-size: 13px !important; }
.dsspc-recap-l b { white-space: nowrap !important; font-variant-numeric: tabular-nums !important; }
.dsspc-recap-p { align-items: flex-start !important; font-size: 12.5px !important; }
.dsspc-recap-g { display: flex !important; gap: 8px !important; align-items: flex-start !important; min-width: 0 !important; }
.dsspc-recap-g small { display: block !important; opacity: .7 !important; font-size: 11.5px !important; }
.dsspc-recap-i { flex: none !important; width: 18px !important; height: 18px !important; border-radius: 5px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; font-style: normal !important; font-size: 11px !important; margin-top: 1px !important; color: #fff !important; }
.dsspc-recap-i.dsspc-plus { background: #465cff !important; }
.dsspc-recap-i.dsspc-moins { background: #e4001f !important; }
.dsspc-recap b.dsspc-vert { color: #ff7a8a !important; }
.dsspc-recap-st { border-top: 1px solid rgba(255,255,255,.18) !important; padding-top: 9px !important; font-weight: 600 !important; }
.dsspc-recap-etat { display: flex !important; gap: 8px !important; align-items: flex-start !important; border-radius: 8px !important; padding: 10px 12px !important; font-size: 12.5px !important; line-height: 1.45 !important; }
.dsspc-recap-etat i { font-style: normal !important; flex: none !important; }
.dsspc-recap-etat.dsspc-ok { background: rgba(52,199,120,.16) !important; color: #a6f0c6 !important; }
.dsspc-recap-etat.dsspc-att { background: rgba(245,166,35,.16) !important; color: #ffd58a !important; }
.dsspc-recap-info { font-size: 11.5px !important; opacity: .75 !important; }
.dsspc-masque { display: none !important; }

/* v1.7.0 : rappel Windows (panier, fenêtre d'ajout, paiement) */
.dsspc-win { box-sizing: border-box !important; margin: 12px 0 0 !important; border: 1.5px solid #c7cdff !important; background: #eef0ff !important; border-radius: 14px !important; padding: 14px 16px !important; display: flex !important; flex-direction: column !important; gap: 10px !important; text-align: left !important; text-transform: none !important; width: 100% !important; color: #3b3f4f !important; font-size: 13px !important; line-height: 1.5 !important; }
.dsspc-win-t { display: flex !important; gap: 10px !important; align-items: flex-start !important; }
.dsspc-win-i { flex: none !important; width: 26px !important; height: 26px !important; border-radius: 7px !important; background: #465cff !important; color: #fff !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; font-size: 15px !important; }
.dsspc-win-inclus .dsspc-win-i { background: #0f7a3d !important; }
.dsspc-win-t b { display: block !important; font-size: 14.5px !important; color: #262626 !important; }
.dsspc-packs { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 8px !important; }
.dsspc-pack { position: relative !important; background: #fff !important; border: 1px solid #dde1ff !important; border-radius: 12px !important; padding: 12px !important; display: flex !important; flex-direction: column !important; gap: 6px !important; color: #151823 !important; }
.dsspc-pack-reco { border: 2px solid #465cff !important; }
.dsspc-pack-gris { background: #f3f4f7 !important; border-color: #dfe2ea !important; color: #8b90a0 !important; }
.dsspc-pack-fl { position: absolute !important; top: -9px !important; left: 10px !important; background: #465cff !important; color: #fff !important; font-size: 10.5px !important; font-weight: 700 !important; padding: 1px 8px !important; border-radius: 999px !important; }
.dsspc-pack-gris .dsspc-pack-fl { background: #9aa0b2 !important; }
.dsspc-pack-n { font-size: 13.5px !important; }
.dsspc-pack ul { margin: 0 !important; padding-left: 16px !important; list-style: disc !important; font-size: 12px !important; color: #63697c !important; line-height: 1.45 !important; }
.dsspc-pack-bas { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 8px !important; margin-top: auto !important; flex-wrap: wrap !important; }
.dsspc-pack-px { font-weight: 700 !important; font-size: 16px !important; font-variant-numeric: tabular-nums !important; }
.dsspc-pack-inclus { font-size: 12.5px !important; font-weight: 700 !important; color: #0f7a3d !important; }
.dsspc-win-btn { font: inherit !important; font-size: 12.5px !important; font-weight: 600 !important; padding: 7px 12px !important; border-radius: 8px !important; border: 0 !important; background: #465cff !important; color: #fff !important; cursor: pointer !important; text-transform: none !important; }
.dsspc-win-btn:disabled { opacity: .6 !important; cursor: wait !important; }
.dsspc-win-btn:focus-visible { outline: 3px solid rgba(70,92,255,.35) !important; outline-offset: 2px !important; }
.dsspc-win-cmp { font-size: 12px !important; }
.dsspc-win-msg { font-size: 12.5px !important; font-weight: 600 !important; }
.dsspc-win-msg:empty { display: none !important; }
.dsspc-win-ok { box-sizing: border-box !important; margin: 12px 0 0 !important; border: 1px solid #bfe6cf !important; background: #ecfdf3 !important; color: #0f7a3d !important; border-radius: 12px !important; padding: 10px 14px !important; font-size: 13px !important; font-weight: 600 !important; text-align: left !important; text-transform: none !important; }
.dsspc-win-rappel { display: flex !important; gap: 10px !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap !important; border: 1.5px dashed #aab4ff !important; background: #eef0ff !important; border-radius: 12px !important; padding: 10px 14px !important; margin: 0 0 14px !important; font-size: 13px !important; color: #262626 !important; text-transform: none !important; }
#blockcart-modal .dsspc-win { margin: 0 !important; border-radius: 0 0 6px 6px !important; border-width: 1.5px 0 0 !important; }
@media (max-width: 767px) {
  .dsspc-packs { grid-template-columns: minmax(0,1fr) !important; }
  .dsspc-pack-mobile-cache { display: none !important; }
}
/* Fenêtre d'ajout : pièces choisies */
.dsspc-modale { margin: 10px 0 12px !important; padding: 10px 12px !important; border-radius: 10px !important; background: #f7f8fb !important; border: 1px solid #eceef3 !important; display: flex !important; flex-direction: column !important; gap: 6px !important; text-transform: none !important; text-align: left !important; font-size: 13px !important; }
.dsspc-modale-l { display: flex !important; justify-content: space-between !important; gap: 10px !important; }
.dsspc-modale-l b { white-space: nowrap !important; }
.dsspc-modale-t { border-top: 1px solid #e2e4ea !important; padding-top: 6px !important; font-weight: 700 !important; font-size: 14.5px !important; }
.dsspc-modale-n { margin: 0 !important; font-size: 12px !important; color: #b45309 !important; }

/* v1.7.1 : blocs du panier sous toute la ligne (thème en colonnes flottantes) et récapitulatif lisible sur fond noir */
.product-line-grid.dsspc-avec-sous-ligne { flex-wrap: wrap !important; }
.product-line-grid > .dsspc-sous-ligne { clear: both !important; float: none !important; display: block !important; box-sizing: border-box !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin: 0 0 16px !important; padding: 0 15px !important; order: 99 !important; grid-column: 1 / -1 !important; }
@media (max-width: 767px) { .product-line-grid > .dsspc-sous-ligne { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin: 4px 0 12px !important; padding: 0 12px !important; } }
.dsspc-sous-ligne > .dsspc-panier, .dsspc-sous-ligne > .dsspc-win, .dsspc-sous-ligne > .dsspc-win-ok { margin: 8px 0 0 !important; max-width: 760px !important; }
.dsspc-sous-ligne .dsspc-packs { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important; }
.dsspc-sous-ligne > .dsspc-panier, .dsspc-sous-ligne > .dsspc-win, .dsspc-sous-ligne > .dsspc-win-ok { max-width: none !important; }
#dsspc-recap, #dsspc-recap span, #dsspc-recap b, #dsspc-recap small, #dsspc-recap div { color: #ffffff !important; opacity: 1 !important; font-family: inherit !important; text-transform: none !important; letter-spacing: 0 !important; }
#dsspc-recap .dsspc-recap-pc { background: #333333 !important; }
#dsspc-recap .dsspc-recap-g small { color: #b9bcc8 !important; }
#dsspc-recap b.dsspc-vert { color: #ff7a8a !important; }
#dsspc-recap .dsspc-recap-st { border-top-color: #555555 !important; }
#dsspc-recap .dsspc-recap-etat.dsspc-ok, #dsspc-recap .dsspc-recap-etat.dsspc-ok span, #dsspc-recap .dsspc-recap-etat.dsspc-ok i { color: #a6f0c6 !important; background-color: transparent !important; }
#dsspc-recap .dsspc-recap-etat.dsspc-ok { background: #1f3a2a !important; }
#dsspc-recap .dsspc-recap-etat.dsspc-att, #dsspc-recap .dsspc-recap-etat.dsspc-att span, #dsspc-recap .dsspc-recap-etat.dsspc-att i { color: #ffd58a !important; background-color: transparent !important; }
#dsspc-recap .dsspc-recap-etat.dsspc-att { background: #3d3220 !important; }
#dsspc-recap .dsspc-recap-i { color: #ffffff !important; }
#dsspc-recap .dsspc-recap-l > span, #dsspc-recap .dsspc-recap-l > b { font-size: 13px !important; line-height: 1.4 !important; }

/* v1.8.0 : fiche PC — 3 formules + choix pièce par pièce (lignes repliables), pictos */
#product #dsstockpc.dsspc { --dsspc-rouge: #e4001f; --dsspc-orange: #c46a00; --dsspc-vert: #2f9a55; --dsspc-vert-pale: #eaf7ef; padding: 0 !important; gap: 0 !important; overflow: hidden !important; border-width: 1.5px !important; }
#product #dsstockpc [hidden] { display: none !important; }
#product #dsstockpc .dsspc-tete { padding: 14px 16px !important; background: #fff4e5 !important; }
#product #dsstockpc .dsspc-pastille { width: 28px !important; height: 28px !important; border-radius: 8px !important; background: #fff !important; color: var(--dsspc-orange) !important; font-weight: 700 !important; font-size: 15px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
#product #dsstockpc .dsspc-titre { font-size: 14.5px !important; }
#product #dsstockpc .dsspc-sous { color: #6b4a14 !important; font-size: 12.5px !important; }
#product #dsstockpc .dsspc-manq { list-style: none !important; margin: 6px 0 !important; padding: 0 !important; display: flex !important; flex-direction: column !important; gap: 5px !important; }
#product #dsstockpc .dsspc-manq li { display: flex !important; align-items: center !important; gap: 8px !important; margin: 0 !important; font-size: 13px !important; color: #4a3410 !important; list-style: none !important; }
#product #dsstockpc .dsspc-manq b { font-weight: 700 !important; }
/* Pictos */
#product #dsstockpc .dsspc-picto { flex: none !important; width: 28px !important; height: 28px !important; border-radius: 8px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: var(--dsspc-bleu-pale) !important; color: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-picto svg { width: 18px !important; height: 18px !important; display: block !important; }
#product #dsstockpc .dsspc-picto-att { background: #fff !important; color: var(--dsspc-orange) !important; border: 1px solid #f3d6a8 !important; }
#product #dsstockpc .dsspc-picto-ok { background: var(--dsspc-vert-pale) !important; color: var(--dsspc-vert) !important; }
#product #dsstockpc .dsspc-picto-plus { background: var(--dsspc-bleu-pale) !important; color: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-picto-moins { background: #fdeaec !important; color: var(--dsspc-rouge) !important; }
/* Formules */
#product #dsstockpc .dsspc-formules { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 12px !important; }
#product #dsstockpc button.dsspc-formule { -webkit-appearance: none !important; appearance: none !important; display: grid !important; grid-template-columns: 20px minmax(0, 1fr) auto !important; gap: 10px !important; align-items: start !important; width: 100% !important; margin: 0 !important; padding: 12px !important; border: 1.5px solid var(--dsspc-trait) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; color: var(--dsspc-texte) !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.4 !important; text-align: left !important; cursor: pointer !important; white-space: normal !important; height: auto !important; }
#product #dsstockpc button.dsspc-formule[aria-checked="true"] { border-color: var(--dsspc-bleu) !important; background: var(--dsspc-bleu-pale) !important; }
#product #dsstockpc button.dsspc-formule:focus-visible, #product #dsstockpc button.dsspc-ligne-h:focus-visible { outline: 3px solid rgba(70, 92, 255, .35) !important; outline-offset: 2px !important; }
#product #dsstockpc .dsspc-rond { width: 18px !important; height: 18px !important; border-radius: 50% !important; border: 2px solid #b8bdcc !important; margin-top: 2px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #fff !important; }
#product #dsstockpc [aria-checked="true"] > .dsspc-rond { border-color: var(--dsspc-bleu) !important; }
#product #dsstockpc [aria-checked="true"] > .dsspc-rond::after { content: "" !important; width: 8px !important; height: 8px !important; border-radius: 50% !important; background: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-f-corps { display: flex !important; flex-direction: column !important; gap: 3px !important; min-width: 0 !important; }
#product #dsstockpc .dsspc-f-titre { font-size: 14px !important; font-weight: 700 !important; }
#product #dsstockpc .dsspc-f-badge { display: inline-block !important; margin-left: 6px !important; padding: 1px 8px !important; border-radius: 999px !important; background: var(--dsspc-bleu) !important; color: #fff !important; font-size: 10.5px !important; font-weight: 700 !important; vertical-align: 1px !important; }
#product #dsstockpc .dsspc-f-dl { font-size: 12px !important; font-weight: 600 !important; }
#product #dsstockpc .dsspc-att { color: var(--dsspc-orange) !important; }
#product #dsstockpc .dsspc-ok { color: var(--dsspc-vert) !important; }
#product #dsstockpc .dsspc-f-lignes { display: flex !important; flex-direction: column !important; gap: 5px !important; margin-top: 6px !important; }
#product #dsstockpc .dsspc-f-l { display: grid !important; grid-template-columns: 22px minmax(0, 1fr) !important; gap: 8px !important; align-items: start !important; font-size: 12.5px !important; line-height: 1.4 !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc .dsspc-f-l .dsspc-picto { width: 22px !important; height: 22px !important; border-radius: 6px !important; }
#product #dsstockpc .dsspc-f-l .dsspc-picto svg { width: 14px !important; height: 14px !important; }
#product #dsstockpc .dsspc-f-l b { color: var(--dsspc-texte) !important; font-weight: 600 !important; }
#product #dsstockpc .dsspc-f-prix { font-size: 14px !important; font-weight: 700 !important; white-space: nowrap !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc .dsspc-bleu { color: var(--dsspc-bleu) !important; font-weight: 700 !important; }
#product #dsstockpc .dsspc-remise { color: var(--dsspc-rouge) !important; font-weight: 700 !important; }
#product #dsstockpc .dsspc-voir-fiche, #product #dsstockpc .dsspc-o-loupe { display: inline !important; font-size: 11.5px !important; font-weight: 600 !important; color: var(--dsspc-bleu) !important; text-decoration: underline !important; cursor: pointer !important; background: none !important; border: 0 !important; padding: 0 !important; }
#product #dsstockpc .dsspc-perso { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 10px !important; flex-wrap: wrap !important; padding: 10px 16px !important; border-top: 1px solid var(--dsspc-trait) !important; font-size: 12.5px !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc button.dsspc-lien { -webkit-appearance: none !important; appearance: none !important; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; height: auto !important; font-size: 13px !important; font-weight: 600 !important; color: var(--dsspc-bleu) !important; text-decoration: underline !important; cursor: pointer !important; }
/* Pièce par pièce */
#product #dsstockpc .dsspc-pieces { display: flex !important; flex-direction: column !important; border-top: 1px solid var(--dsspc-trait) !important; }
#product #dsstockpc .dsspc-menu { padding: 0 !important; gap: 0 !important; border-top: 1px solid #eef0f4 !important; }
#product #dsstockpc .dsspc-menu:first-child { border-top: 0 !important; }
#product #dsstockpc .dsspc-ligne-h { -webkit-appearance: none !important; appearance: none !important; display: grid !important; grid-template-columns: 28px minmax(0, 1fr) auto auto !important; gap: 10px !important; align-items: center !important; width: 100% !important; margin: 0 !important; padding: 11px 16px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; color: var(--dsspc-texte) !important; text-align: left !important; cursor: pointer !important; height: auto !important; white-space: normal !important; font-weight: 400 !important; }
#product #dsstockpc .dsspc-ligne-seule { grid-template-columns: 28px minmax(0, 1fr) auto !important; cursor: default !important; }
#product #dsstockpc .dsspc-l-t { display: flex !important; flex-direction: column !important; min-width: 0 !important; }
#product #dsstockpc .dsspc-l-fam { font-size: 11px !important; font-weight: 700 !important; letter-spacing: .04em !important; text-transform: uppercase !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc .dsspc-l-ch { font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.35 !important; }
#product #dsstockpc .dsspc-l-mt { font-size: 13px !important; font-weight: 600 !important; color: var(--dsspc-gris) !important; white-space: nowrap !important; }
#product #dsstockpc .dsspc-l-chg { font-size: 12px !important; font-weight: 600 !important; color: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-flash .dsspc-ligne-h { background: var(--dsspc-vert-pale) !important; transition: background .3s ease !important; }
#product #dsstockpc .dsspc-flash .dsspc-l-chg::before { content: "✓ Choisi · " !important; color: var(--dsspc-vert) !important; }
@media (prefers-reduced-motion: reduce) { #product #dsstockpc .dsspc-flash .dsspc-ligne-h { transition: none !important; } }
#product #dsstockpc .dsspc-cartes { display: flex !important; flex-direction: column !important; gap: 6px !important; padding: 0 16px 12px !important; grid-template-columns: none !important; }
#product #dsstockpc button.dsspc-opt { display: grid !important; grid-template-columns: 18px minmax(0, 1fr) auto !important; gap: 10px !important; align-items: center !important; padding: 9px 10px !important; border-radius: 10px !important; min-height: 0 !important; }
#product #dsstockpc button.dsspc-opt[aria-checked="true"] { border: 1.5px solid var(--dsspc-bleu) !important; background: var(--dsspc-bleu-pale) !important; box-shadow: none !important; padding: 9px 10px !important; }
#product #dsstockpc .dsspc-o-corps { display: flex !important; flex-direction: column !important; gap: 2px !important; min-width: 0 !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-titre { font-size: 13px !important; font-weight: 600 !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-dispo { font-size: 11.5px !important; font-weight: 500 !important; line-height: 1.4 !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-dispo.dsspc-att { color: var(--dsspc-orange) !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-dispo.dsspc-ok { color: var(--dsspc-vert) !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-prix { font-size: 13.5px !important; color: var(--dsspc-gris) !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-prix.dsspc-bleu { color: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-opt .dsspc-o-prix.dsspc-remise { color: var(--dsspc-rouge) !important; }
#product #dsstockpc .dsspc-mention { display: block !important; padding: 10px 16px 12px !important; border-top: 1px solid var(--dsspc-trait) !important; font-size: 12.5px !important; font-weight: 600 !important; }
#product #dsstockpc .dsspc-erreur { padding: 0 16px 12px !important; }
/* Sous le prix : « Pièces choisies » et « Votre PC avec vos choix » (le prix promo et le prix barré ne bougent pas) */
#product .dsspc-prix-choix { display: flex !important; flex-direction: column !important; gap: 4px !important; margin: 10px 0 0 !important; padding: 10px 12px !important; border: 1.5px solid #465cff !important; border-radius: 10px !important; background: #eef0ff !important; color: #262626 !important; font-size: 13px !important; width: 100% !important; max-width: 420px !important; box-sizing: border-box !important; }
#product .dsspc-prix-choix[hidden] { display: none !important; }
#product .dsspc-prix-choix .dsspc-pc-l { display: flex !important; justify-content: space-between !important; gap: 10px !important; }
#product .dsspc-prix-choix .dsspc-pc-t { font-weight: 700 !important; font-size: 15px !important; border-top: 1px solid #cdd3ff !important; padding-top: 6px !important; margin-top: 2px !important; }
#product .dsspc-prix-choix .dsspc-bleu { color: #465cff !important; }
#product .dsspc-prix-choix .dsspc-remise { color: #e4001f !important; }
#product .dsspc-prix-choix .dsspc-pc-l b { font-size: inherit !important; color: #262626 !important; }
#product .dsspc-prix-choix .dsspc-pc-l b.dsspc-bleu { color: #465cff !important; }
#product .dsspc-prix-choix .dsspc-pc-l b.dsspc-remise { color: #e4001f !important; }
#product .dsspc-prix-choix .dsspc-pc-l span { color: #262626 !important; font-weight: 500 !important; }
#product #dsstockpc .dsspc-cartes[hidden], #product #dsstockpc .dsspc-pieces[hidden], #product #dsstockpc .dsspc-erreur[hidden], #product #dsstockpc [hidden] { display: none !important; }
#product .dsspc-prix-choix .dsspc-pc-l { width: 100% !important; }
@media (max-width: 575px) {
  #product #dsstockpc .dsspc-ligne-h { grid-template-columns: 28px minmax(0, 1fr) auto !important; row-gap: 2px !important; padding: 10px 12px !important; }
  #product #dsstockpc .dsspc-ligne-h .dsspc-picto { grid-row: 1 / span 2 !important; }
  #product #dsstockpc .dsspc-ligne-h .dsspc-l-mt { grid-column: 2 !important; grid-row: 2 !important; }
  #product #dsstockpc .dsspc-ligne-h .dsspc-l-chg { grid-column: 3 !important; grid-row: 1 / span 2 !important; }
  #product #dsstockpc .dsspc-cartes { padding: 0 12px 12px !important; }
  #product #dsstockpc .dsspc-formules { padding: 10px !important; }
  #product #dsstockpc .dsspc-perso { padding: 10px 12px !important; }
}
#product #dsstockpc .dsspc-l-mt.dsspc-bleu { color: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-l-mt.dsspc-remise { color: var(--dsspc-rouge) !important; }
#product #dsstockpc .dsspc-f-prix.dsspc-bleu { color: var(--dsspc-bleu) !important; }
#product #dsstockpc .dsspc-f-prix.dsspc-remise { color: var(--dsspc-rouge) !important; }
