@charset "UTF-8";
/* designer.css — « Crée ton design » (voir designer.js). Plein écran, site + appli. */
html.mbd-open, html.mbd-open body { overflow: hidden !important; }
.mbd { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: #fff; color: #1D1D1F; font-family: Inter, -apple-system, system-ui, sans-serif; font-size: 14px; line-height: 1.35; -webkit-tap-highlight-color: transparent; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
.mbd *, .mbd *::before, .mbd *::after { box-sizing: border-box; }
.mbd button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; margin: 0; text-transform: none; letter-spacing: 0; min-height: 0; box-shadow: none; }
.mbd button:disabled { opacity: .35; cursor: default; }

.mbd-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #ECECF0; background: #fff; }
.mbd-x { width: 38px; height: 38px; border-radius: 50%; background: #F2F2F5 !important; font-size: 16px; flex: 0 0 auto; }
.mbd-ttl { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.mbd-ttl b { font-size: 16px; font-weight: 800; }
.mbd-ttl small { color: #6E6E73; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbd-tech { display: inline-flex; background: #F2F2F5; border-radius: 999px; padding: 3px; }
.mbd-tech button { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; white-space: nowrap; color: #4A4A50; }
.mbd-tech button.on { background: #fff !important; color: #1D1D1F; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.mbd-go { background: #5B3FC4 !important; color: #fff !important; padding: 11px 18px; border-radius: 12px; font-weight: 700; white-space: nowrap; }
.mbd-go:hover { background: #4A31A8 !important; }

.mbd-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 86px 300px minmax(0, 1fr); }
.mbd-rail { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; border-right: 1px solid #ECECF0; background: #FAFAFB; overflow: auto; }
.mbd-rail button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; font-size: 12px; font-weight: 600; color: #4A4A50; }
.mbd-rail button .mbd-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid #E5E5EA; font-size: 18px; font-weight: 800; }
.mbd-rail button.on { color: #5B3FC4; }
.mbd-rail button.on .mbd-ico { background: #EEE9FF; border-color: #5B3FC4; }
.mbd-panel { overflow: auto; padding: 16px 18px 24px; border-right: 1px solid #ECECF0; }
.mbd-panel h4 { font-family: inherit; line-height: 1.3; margin: 18px 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6E6E73; }
.mbd-panel h4:first-child { margin-top: 0; }
.mbd-mut { color: #6E6E73; font-size: 13px; margin: 10px 0 0; }
.mbd-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.mbd-sw button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18) !important; }
.mbd-sw button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5B3FC4; }
.mbd-sw button.none { background: #fff; color: #A1A1A6; font-size: 15px; }
.mbd-zl { display: flex; flex-direction: column; gap: 6px; }
.mbd-zl button { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 12px; border: 1px solid #E5E5EA !important; border-radius: 12px; text-align: left; }
.mbd-zl button span { font-weight: 700; }
.mbd-zl button small { color: #6E6E73; font-size: 12px; }
.mbd-zl button i { display: none; }
.mbd-zl button.on { border-color: #5B3FC4 !important; background: #F6F3FF; }
.mbd-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 14px; border: 2px dashed #C9C2EA; border-radius: 16px; background: #FAF8FF; text-align: center; cursor: pointer; }
.mbd-drop .mbd-ico { font-size: 26px; }
.mbd-drop small { color: #6E6E73; }
.mbd-tips { margin: 12px 0 0; padding-left: 18px; color: #4A4A50; font-size: 13px; }
.mbd-tips li { margin: 4px 0; }
.mbd-in { width: 100%; padding: 10px 12px; border: 1px solid #D2D2D7; border-radius: 12px; font: inherit; font-size: 15px; resize: vertical; background: #fff; color: #1D1D1F; }
.mbd-in.need { border-color: #C0392B; }
.mbd-btn { margin-top: 8px; width: 100%; padding: 11px; border-radius: 12px; background: #1D1D1F !important; color: #fff !important; font-weight: 700; }
.mbd-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mbd-fonts button { padding: 9px 8px; border: 1px solid #E5E5EA !important; border-radius: 10px; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbd-fonts button.on { border-color: #5B3FC4 !important; background: #F6F3FF; }
.mbd-shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mbd-shapes button { aspect-ratio: 1; padding: 12px; border: 1px solid #E5E5EA !important; border-radius: 12px; color: #3A3A3F; }
.mbd-shapes svg { width: 100%; height: 100%; display: block; }
.mbd-logo { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 1px solid #E5E5EA !important; border-radius: 12px; font-weight: 600; }
.mbd-logo img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #F5F5F7; }
.mbd-chk { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; cursor: pointer; }
.mbd-emo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.mbd-emo button { font-size: 26px; padding: 6px 0; border-radius: 10px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.mbd-emo button:hover { background: #F2F2F5; }

.mbd-stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #ECEDF1; }
.mbd-pms { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 12px 12px 0; }
.mbd-pms button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 10px; background: #F1EEFC !important; border: 1px solid #DCD4F7 !important; color: #3D2A8A; font-weight: 700; font-size: 13px; white-space: nowrap; }
.mbd-pms button i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.mbd-pms button.on { background: #5B3FC4 !important; border-color: #5B3FC4 !important; color: #fff; }
.mbd-zones { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 12px 12px 4px; }
.mbd-zones button { position: relative; padding: 8px 14px; border-radius: 999px; background: #fff !important; border: 1px solid #E0E0E6 !important; font-weight: 600; font-size: 13px; white-space: nowrap; }
.mbd-zones button[hidden] { display: none !important; }
.mbd-zones button.on { background: #1D1D1F !important; color: #fff; border-color: #1D1D1F !important; }
.mbd-zones button i { font-style: normal; display: none; position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #5B3FC4; color: #fff; font-size: 11px; line-height: 18px; font-weight: 700; }
.mbd-zones button i:not(:empty) { display: block; }
.mbd-selbar { position: absolute; left: 50%; transform: translateX(-50%); top: 58px; z-index: 3; display: flex; justify-content: center; gap: 4px; padding: 6px; margin: 0; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.mbd-selbar[hidden] { display: none; }
.mbd-pms ~ .mbd-selbar { top: 104px; }   /* sous les boutons Modèle + zones */
.mbd-selbar button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 9px; border-radius: 10px; font-size: 16px; }
.mbd-selbar button span { font-size: 10.5px; font-weight: 600; color: #6E6E73; }
.mbd-selbar button:hover { background: #F2F2F5; }
.mbd-selbar .mbd-del span { color: #C0392B; }
.mbd-cvwrap { flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 6px; }
.mbd-cvwrap.zoomed { overflow: auto; display: block; }
.mbd-cvwrap.zoomed canvas { margin: 0 auto; }
.mbd-cvwrap canvas { display: block; touch-action: none; border-radius: 22px; background: #F3F4F6; max-width: none; cursor: default; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 30px rgba(20,24,40,.06); }
.mbd-tools { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 12px 4px; }
.mbd-tools button { width: 38px; height: 38px; border-radius: 10px; background: #fff !important; border: 1px solid #E0E0E6 !important; font-size: 17px; }
.mbd-tools button.on { border-color: #5B3FC4 !important; background: #EEE9FF !important; }
.mbd-zoom { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; height: 38px; background: #fff; border: 1px solid #E0E0E6; border-radius: 10px; }
.mbd-zoom input { width: 120px; accent-color: #5B3FC4; }
.mbd-hint { font-family: inherit; line-height: 1.35; min-height: 20px; margin: 0; padding: 0 14px 10px; text-align: center; font-size: 12.5px; color: #6E6E73; }
.mbd-hint.warn { color: #B4561B; font-weight: 600; }
.mbd-busy { position: absolute; inset: 0; background: rgba(255,255,255,.82); display: grid; place-items: center; z-index: 5; }
.mbd-busy[hidden] { display: none; }
.mbd-busy div { text-align: center; font-weight: 600; }
.mbd-spin { display: inline-block; width: 38px; height: 38px; border-radius: 50%; border: 4px solid #E5E0FA; border-top-color: #5B3FC4; animation: mbdspin .8s linear infinite; }
@keyframes mbdspin { to { transform: rotate(360deg); } }

/* Tablette / téléphone : vêtement en haut, outils en bas */
@media (max-width: 860px) {
  .mbd-top { padding: 8px 10px; gap: 8px; flex-wrap: wrap; }
  .mbd-ttl { flex: 1; }
  .mbd-ttl b { font-size: 15px; }
  .mbd-go { padding: 9px 12px; font-size: 13.5px; }
  .mbd-tech { order: 5; width: 100%; }
  .mbd-tech button { flex: 1; padding: 7px 10px; }
  .mbd-main { display: flex; flex-direction: column; }
  .mbd-stage { order: 1; flex: 0 0 auto; height: 52vh; height: 52dvh; }   /* un peu moins haut : plus de place pour les outils en bas */
  .mbd-cvwrap { padding: 0; }
  .mbd-hint:empty { display: none; }
  .mbd-zones { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 8px 10px 2px; scrollbar-width: none; }
  .mbd-pms { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 8px 10px 0; scrollbar-width: none; }
  .mbd-zones::-webkit-scrollbar { display: none; }
  .mbd-zones button { padding: 7px 12px; font-size: 12.5px; }
  .mbd-selbar { top: 46px; padding: 4px; }
  .mbd-pms ~ .mbd-selbar { top: 92px; }
  .mbd-selbar button { padding: 4px 7px; }
  .mbd-tools { padding: 0 10px 2px; gap: 6px; }
  .mbd-tools button, .mbd-zoom { height: 34px; }
  .mbd-tools button { width: 34px; }
  .mbd-zoom input { width: 90px; }
  .mbd-hint { padding: 0 12px 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbd-zones { padding-top: 6px; }
  .mbd-panel { order: 2; flex: 1; min-height: 0; border-right: 0; border-top: 1px solid #ECECF0; padding: 12px 14px 16px; }
  .mbd-rail { order: 3; flex-direction: row; justify-content: space-around; border-right: 0; border-top: 1px solid #ECECF0; padding: 4px 4px; overflow: visible; }
  .mbd-rail button { padding: 4px 2px; font-size: 10.5px; flex: 1; }
  .mbd-rail button .mbd-ico { width: 32px; height: 32px; font-size: 16px; }
  .mbd-fonts { grid-template-columns: 1fr 1fr 1fr; }
  .mbd-fonts button { font-size: 14px; }
  .mbd-shapes { grid-template-columns: repeat(8, 1fr); gap: 6px; }
  .mbd-shapes button { padding: 7px; }
  .mbd-emo { grid-template-columns: repeat(8, 1fr); }
  .mbd-emo button { font-size: 24px; }
}
@media (max-width: 400px) { .mbd-selbar button span { display: none; } }
@media (max-width: 860px) and (max-height: 700px) { .mbd-stage { height: 47vh; height: 47dvh; } }

/* Ligne de commande : bouton + aperçu du design (boutique du site) */
.design-tg { display: flex !important; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1.5px dashed #B9AAF0; border-radius: 12px; background: #FAF8FF; color: #3A2A8A; font-weight: 600; font-size: 14px; cursor: pointer; text-align: left; font-family: inherit; }
.design-tg:hover { border-style: solid; }
.design-tg small { display: block; font-weight: 400; color: #6E6E73; font-size: 12.5px; }
.design-tg img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: #F3F4F6; flex: 0 0 auto; }
.design-tg .design-ico { width: 46px; height: 46px; border-radius: 8px; background: #EEE9FF; display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.design-tg.has { border-style: solid; border-color: #5B3FC4; }
.design-rm { margin-left: auto; padding: 4px 8px; border-radius: 8px; color: #C0392B; font-size: 12.5px; }

/* ---- Étapes : choix du vêtement + brodé / sublimé ---- */
.mbd-step { flex: 1; overflow: auto; padding: 28px 20px 40px; background: linear-gradient(180deg, #FAF8FF 0%, #fff 60%); }
.mbd-h { font-family: inherit; font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 6px auto 8px; line-height: 1.15; color: #1D1D1F; }
.mbd-lead { text-align: center; color: #6E6E73; margin: 0 auto 24px; max-width: 560px; font-size: 15px; }
.mbd-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.mbd-prods button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px 14px; border-radius: 18px; background: #fff !important; border: 1px solid #E5E5EA !important; font-weight: 700; transition: transform .15s, box-shadow .15s, border-color .15s; }
.mbd-prods button:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(91,63,196,.14); border-color: #5B3FC4 !important; }
.mbd-prods img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #F3F4F6; border-radius: 12px; }
.mbd-techs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
.mbd-techs button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border-radius: 22px; background: #fff !important; border: 2px solid #E5E5EA !important; text-align: left; transition: transform .15s, box-shadow .15s, border-color .15s; }
.mbd-techs button:hover { transform: translateY(-3px); border-color: #5B3FC4 !important; box-shadow: 0 14px 34px rgba(91,63,196,.16); }
.mbd-techs b { font-size: 20px; }
.mbd-techs small { color: #6E6E73; font-size: 13.5px; line-height: 1.45; }
.mbd-tv { width: 100%; height: 130px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.mbd-tv i { font-style: normal; font-weight: 900; font-size: 34px; letter-spacing: .06em; }
.mbd-tv-b { background: #1D2B4F; }
.mbd-tv-b i { color: #F2C300; text-shadow: 0 2px 2px rgba(0,0,0,.5); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 1px, transparent 1px 4px); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(0,0,0,.25); }
.mbd-tv-m, .mbd-tv-v { background: #F3F3F6; gap: 8px; display: flex; align-items: center; justify-content: center; padding: 8px; box-sizing: border-box; }
.mbd-tv-m img, .mbd-tv-v img { height: 100%; max-width: 48%; object-fit: contain; border-radius: 10px; background: #fff; }
.mbd-tv-v img { max-width: 100%; background: transparent; }
.mbd-tv-s { background: linear-gradient(120deg, #5B3FC4, #E8457A 50%, #F2C300); }
.mbd-tv-s i { color: #fff; font-size: 40px; mix-blend-mode: overlay; }
@media (max-width: 600px) { .mbd-techs { grid-template-columns: 1fr; } .mbd-tv { height: 90px; } .mbd-prods { grid-template-columns: 1fr 1fr; gap: 10px; } .mbd-step { padding: 18px 14px 30px; } }

/* ---- Éditeur : compléments ---- */
.mbd-tech-l { align-self: center; padding: 0 6px 0 10px; font-size: 12px; font-weight: 600; color: #6E6E73; white-space: nowrap; }
.mbd-tech.is-sel { box-shadow: 0 0 0 2px #5B3FC4; }
.mbd-seltech { background: #F2EEFF !important; }
.mbd-seltech span { color: #5B3FC4 !important; }
.mbd-zl button span em { font-style: normal; display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: #5B3FC4; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.mbd-curve { display: flex; align-items: center; gap: 8px; }
.mbd-curve input { flex: 1; accent-color: #5B3FC4; }
.mbd-curve button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #E5E5EA !important; font-size: 18px; font-weight: 700; flex: 0 0 auto; }
.mbd-curve .mbd-cv0 { width: auto; padding: 0 10px; font-size: 12.5px; }
@media (max-width: 860px) { .mbd-tech-l { display: none; } }

/* ---- Mise en avant dans la boutique (site) ---- */
.dz-promo { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 28px; margin: 0 0 34px; padding: 30px 34px; border-radius: 28px; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #E8457A 0%, rgba(232,69,122,0) 55%), linear-gradient(135deg, #2A1B6E 0%, #5B3FC4 60%, #7A5CF0 100%); box-shadow: 0 24px 60px rgba(60,35,160,.28); }
.dz-promo .dz-new { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dz-promo h3 { margin: 14px 0 8px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.dz-promo p { margin: 0 0 18px; color: rgba(255,255,255,.86); font-size: 15.5px; max-width: 460px; }
.dz-promo ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.dz-promo li { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13px; font-weight: 600; }
.dz-promo .dz-cta { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 16px; border: 0; background: #fff; color: #2A1B6E; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .15s; }
.dz-promo .dz-cta:hover { transform: translateY(-2px); }
.dz-promo .dz-vis { position: relative; height: 300px; }
.dz-promo .dz-vis img { position: absolute; width: 62%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); transition: transform .4s; }
.dz-promo .dz-vis img:nth-child(1) { left: 0; top: 8%; transform: rotate(-8deg); }
.dz-promo .dz-vis img:nth-child(2) { right: 0; top: 0; transform: rotate(7deg); }
.dz-promo .dz-vis img:nth-child(3) { left: 22%; bottom: -6%; width: 52%; }
.dz-promo:hover .dz-vis img:nth-child(1) { transform: rotate(-11deg) translateX(-6px); }
.dz-promo:hover .dz-vis img:nth-child(2) { transform: rotate(10deg) translateX(6px); }
@media (max-width: 760px) { .dz-promo { grid-template-columns: 1fr; padding: 24px 20px; gap: 6px; } .dz-promo .dz-vis { height: 200px; order: -1; } }
.prod-dz-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: #5B3FC4; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(91,63,196,.35); pointer-events: none; }
.design-tg:not(.has) { border: 0 !important; background: linear-gradient(135deg, #5B3FC4, #8E6CEF) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(91,63,196,.25); }
.design-tg:not(.has) small { color: rgba(255,255,255,.85) !important; }
.design-tg:not(.has) .design-ico { background: rgba(255,255,255,.2); }
.dz-card-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 12px; border-radius: 999px; border: 0; background: linear-gradient(135deg, #5B3FC4, #8E6CEF); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(91,63,196,.28); transition: transform .15s; }
.dz-card-btn:hover { transform: translateY(-1px); }
.dz-strip { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 18px; padding: 14px 18px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #2A1B6E, #5B3FC4 70%, #8E6CEF); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 12px 30px rgba(60,35,160,.22); }
.dz-strip-ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 24px; flex: 0 0 auto; }
.dz-strip b { display: block; font-size: 15.5px; }
.dz-strip small { display: block; color: rgba(255,255,255,.82); font-size: 13px; margin-top: 2px; }
.dz-strip-go { margin-left: auto; padding: 10px 16px; border-radius: 12px; background: #fff; color: #2A1B6E; font-weight: 800; white-space: nowrap; }
@media (max-width: 560px) { .dz-strip-go { display: none; } }
.order-line.dz-flash { animation: dzflash 2.2s ease; }
@keyframes dzflash { 0%, 60% { box-shadow: 0 0 0 4px rgba(91,63,196,.45); } 100% { box-shadow: 0 0 0 0 rgba(91,63,196,0); } }

/* ---- Appli : carte « Crée ton design » ---- */
.app-dz { position: relative; display: flex; align-items: stretch; gap: 0; width: 100%; margin: 16px 0 4px; padding: 0; border: 0; border-radius: 24px; overflow: hidden; text-align: left; color: #fff; font: inherit; cursor: pointer; background: radial-gradient(120% 140% at 100% 0%, #E8457A 0%, rgba(232,69,122,0) 55%), linear-gradient(135deg, #2A1B6E 0%, #5B3FC4 60%, #7A5CF0 100%); box-shadow: 0 16px 36px rgba(60,35,160,.28); }
.app-dz .adz-vis { position: relative; flex: 0 0 42%; min-height: 170px; }
.app-dz .adz-vis img { position: absolute; width: 74%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.app-dz .adz-vis img:nth-child(1) { left: -6%; top: 6%; transform: rotate(-10deg); }
.app-dz .adz-vis img:nth-child(2) { left: 30%; top: -4%; transform: rotate(8deg); width: 64%; }
.app-dz .adz-vis img:nth-child(3) { left: 14%; bottom: -14%; width: 62%; }
.app-dz .adz-tx { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 6px; flex: 1; }
.app-dz.compact .adz-tx { padding: 16px 18px; }
.app-dz small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.app-dz strong { font-size: 20px; line-height: 1.1; font-weight: 800; }
.app-dz em { font-style: normal; font-size: 13px; opacity: .85; line-height: 1.35; }
.app-dz .adz-go { margin-top: 8px; align-self: flex-start; padding: 9px 14px; border-radius: 12px; background: #fff; color: #2A1B6E; font-weight: 800; font-size: 13.5px; }
.pill.dz { background: #5B3FC4 !important; color: #fff !important; }

.order-line.has-design .line-field.color.wide-msg { display: none !important; }

/* Supplément design */
.mbd-px { font-style: normal; font-size: 13px; font-weight: 800; color: #5B3FC4; background: #F1ECFF; padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.mbd-extra { font-size: 13px; font-weight: 800; color: #5B3FC4; background: #F1ECFF; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.mbd-extra:empty { display: none; }
@media (max-width: 860px) { .mbd-extra { order: 4; padding: 5px 10px; font-size: 12px; } }
.design-tg .design-price { display: block; font-style: normal; font-weight: 800; font-size: 12.5px; margin-top: 3px; color: inherit; opacity: .95; }
.design-tg.has .design-price { color: #5B3FC4; }
.line-field.inscr.inscr-locked .inscr-toggle { opacity: .45; cursor: not-allowed; filter: grayscale(1); }
.inscr-lock-note { margin: 6px 2px 0; font-size: 12.5px; color: #6E6E73; font-style: italic; }
.mbd-techs .mbd-tech-off { opacity: .5; cursor: not-allowed; filter: grayscale(.8); }
.mbd-techs .mbd-tech-off:hover { transform: none; box-shadow: none; border-color: #E5E5EA !important; }
.mbd-tech-sub button { cursor: default; }
/* Message d'information dans l'éditeur (image non brodable, emoji…) */
.mbd-toast { position: absolute; left: 50%; top: 58px; transform: translate(-50%, -8px); z-index: 6; width: min(560px, calc(100% - 24px)); padding: 12px 38px 12px 14px; border-radius: 14px; background: #1D1D1F; color: #fff; font-size: 13.5px; line-height: 1.45; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; cursor: pointer; }
.mbd-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.mbd-toast b { color: #FFCB6B; }
.mbd-toast-x { position: absolute; right: 12px; top: 10px; opacity: .6; }
.mbd-tech button.is-off { opacity: .4; text-decoration: line-through; }

/* ===== Tenues d'équipe (maillots / shorts sublimés) ===== */
.mbd-sec { max-width: 1000px; margin: 0 auto 26px; }
.mbd-sec h3 { font-size: 18px; font-weight: 800; margin: 6px 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mbd-sec h3 small { font-size: 13px; font-weight: 500; color: #6E6E73; }
.mbd-sec-team { background: linear-gradient(135deg, #F6F3FF, #EEF5FF); border-radius: 22px; padding: 16px 16px 14px; }
.mbd-sec-team .mbd-prods button { background: #fff !important; }
.mbd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.mbd-chips button { padding: 7px 13px; border-radius: 999px; border: 1px solid #D9D3F5 !important; background: #fff !important; font-weight: 700; font-size: 13.5px; }
.mbd-chips button.on { background: #5B3FC4 !important; color: #fff !important; border-color: #5B3FC4 !important; }
.mbd-prods button[hidden] { display: none; }
.mbd-prods button span { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.mbd-pp { font-style: normal; font-size: 12.5px; font-weight: 700; color: #5B3FC4; }
.mbd-tpl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mbd-tpl button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 4px 7px; border: 1px solid #E5E5EA !important; border-radius: 12px; background: #fff !important; font-size: 11.5px; font-weight: 700; }
.mbd-tpl button.on { border-color: #5B3FC4 !important; box-shadow: 0 0 0 2px #5B3FC4 inset; background: #F6F3FF !important; }
.mbd-tpl img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #F3F4F6; border-radius: 9px; }
.mbd-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 4px; }
.mbd-slots button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px; border: 1px solid #E5E5EA !important; border-radius: 12px; background: #fff !important; font-size: 12px; font-weight: 700; }
.mbd-slots button span { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.mbd-slots button small { font-weight: 500; color: #6E6E73; font-size: 11px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbd-slots button i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.mbd-slots button.on { border-color: #5B3FC4 !important; box-shadow: 0 0 0 2px #5B3FC4 inset; }
.mbd-custom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.mbd-custom input { width: 46px; height: 32px; border: 1px solid #E5E5EA; border-radius: 8px; padding: 1px; background: #fff; }
.mbd-btn-ghost { background: #F2F2F7 !important; color: #1D1D1F !important; }
.mbd-seg { display: flex; gap: 4px; background: #F2F2F7; border-radius: 12px; padding: 3px; }
.mbd-seg button { flex: 1; padding: 8px 4px; border-radius: 9px; font-weight: 700; font-size: 13px; background: transparent !important; }
.mbd-seg button.on { background: #fff !important; box-shadow: 0 1px 4px rgba(0,0,0,.12); color: #5B3FC4 !important; }
.mbd-nfonts button { font-size: 17px; }
.mbd-roster { display: flex; flex-direction: column; gap: 5px; }
.mbd-rh, .mbd-rr { display: grid; grid-template-columns: minmax(0, 1fr) 52px 76px 28px; gap: 5px; align-items: center; }
.mbd-rh span { font-size: 11px; font-weight: 700; color: #8E8E93; text-transform: uppercase; letter-spacing: .03em; }
.mbd-rr { padding: 3px; border-radius: 10px; }
.mbd-rr.on { background: #F6F3FF; box-shadow: 0 0 0 1px #D9D3F5 inset; }
.mbd-rr input, .mbd-rr select { width: 100%; min-width: 0; padding: 8px 7px; border: 1px solid #E5E5EA; border-radius: 8px; font-size: 14px; background: #fff; color: #1D1D1F; font-family: inherit; }
.mbd-rr .mbd-rn { text-transform: uppercase; font-weight: 700; }
.mbd-rr .mbd-rnum { text-align: center; font-weight: 800; }
.mbd-rdel { width: 28px; height: 28px; border-radius: 50%; color: #8E8E93; font-size: 13px; background: transparent !important; }
.mbd-rdel:hover { color: #D93B30; background: #FDE8E3 !important; }
.mbd-cnt { text-transform: none; letter-spacing: 0; color: #5B3FC4; font-weight: 700; margin-left: 6px; }
.mbd-paste { margin-top: 12px; border: 1px dashed #D1D1D6; border-radius: 12px; padding: 8px 10px; }
.mbd-paste summary { cursor: pointer; font-weight: 700; font-size: 13.5px; }
.mbd-paste textarea { margin-top: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.mbd-price { margin-top: 14px; padding: 11px 12px; border-radius: 12px; background: #EEF9F1; color: #1B5E20; display: flex; flex-direction: column; gap: 3px; }
.mbd-price b { font-size: 14.5px; }
.mbd-price small { font-size: 12px; color: #2F6B3A; }
.mbd-warn { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: #FFF3D6; color: #8A5A00; font-size: 13px; font-weight: 600; }
@media (max-width: 600px) { .mbd-tpl { grid-template-columns: repeat(4, 1fr); } .mbd-tpl button { font-size: 10.5px; } .mbd-sec-team { padding: 12px 10px; border-radius: 16px; } }
@media (max-width: 600px) { .mbd-xn { display: none; } }

/* « Supprimer le fond » + « Logo cœur » */
.mbd-imgtools { background: #F6F3FF; border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; }
.mbd-imgtools .mbd-btn { margin-top: 0; }
.mbd-imgtools .mbd-btn-ghost { margin-top: 8px; }
.mbd-ok { margin: 0 0 6px; font-weight: 700; color: #1B6B3A; }
.mbd-tolr { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; margin-top: 4px; }
.mbd-tolr input { width: 100%; accent-color: #5B3FC4; }
.mbd-heart { align-items: flex-start; background: #FFF1F3; border-radius: 12px; padding: 10px 12px; margin: 12px 0 4px; }
.mbd-heart input { margin-top: 3px; width: 18px; height: 18px; accent-color: #D93B5C; }
.mbd-heart span { display: flex; flex-direction: column; }
.mbd-heart small { color: #6E6E73; font-size: 12px; font-weight: 500; }
.mbd-tbtn { margin-left: 8px; padding: 5px 11px; border-radius: 999px; background: #fff !important; color: #1D1D1F !important; font-weight: 800; font-size: 13px; }
.mbd-selbar [data-sel="nobg"].on { color: #1B6B3A; }

/* ===== Sponsor ===== */
.mbd-opt { text-transform: none; letter-spacing: 0; font-weight: 600; color: #8E8E93; margin-left: 6px; font-size: 11.5px; background: #F2F2F7; padding: 2px 8px; border-radius: 999px; }
.mbd-spots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mbd-spots button { position: relative; display: flex; align-items: center; gap: 7px; padding: 9px 10px; border: 1px solid #E5E5EA !important; border-radius: 12px; background: #fff !important; font-size: 13px; font-weight: 700; text-align: left; }
.mbd-spots button span { font-size: 16px; }
.mbd-spots button.on { border-color: #5B3FC4 !important; box-shadow: 0 0 0 2px #5B3FC4 inset; background: #F6F3FF !important; }
.mbd-spots button i { position: absolute; top: -6px; right: -6px; font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #5B3FC4; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.mbd-drop-sm { padding: 14px 10px !important; }
.mbd-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: #8E8E93; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.mbd-or::before, .mbd-or::after { content: ""; flex: 1; height: 1px; background: #E5E5EA; }
.mbd-spname-row { display: flex; gap: 6px; align-items: stretch; }
.mbd-spname-row .mbd-in { flex: 1; min-width: 0; text-transform: uppercase; }
.mbd-spname-row .mbd-btn { width: auto; margin: 0; padding: 0 14px; }
.mbd-spfonts { margin: 8px 0; grid-template-columns: 1fr 1fr 1fr; }
.mbd-spfonts button { font-size: 15px; }
.mbd-splist { display: flex; flex-direction: column; gap: 6px; }
.mbd-spi { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid #E5E5EA; border-radius: 12px; }
.mbd-spth { width: 54px; height: 36px; border-radius: 8px; background: #F3F4F6; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.mbd-spth img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mbd-spth b { font-size: 12px; white-space: nowrap; }
.mbd-spl { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: #3A3A3C; }
.mbd-spi button { padding: 6px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; background: #F2F2F7 !important; }
.mbd-spi button.mbd-del { color: #D93B30 !important; }
.mbd-pvbtn { margin-top: 14px; }
.mbd-pv { position: absolute; inset: 0; z-index: 60; background: rgba(250,250,252,.98); display: flex; flex-direction: column; padding: 14px 0 18px; opacity: 0; transition: opacity .22s; }
.mbd-pv.on { opacity: 1; }
.mbd-pv-top { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 10px; font-size: 18px; }
.mbd-pv-row { flex: 1; min-height: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px; }
.mbd-pv-card { position: relative; flex: 0 0 min(78vw, 360px); scroll-snap-align: center; border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; max-height: 100%; }
.mbd-pv-card img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.mbd-pv-card span { position: absolute; left: 12px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mbd-pv .mbd-mut { text-align: center; }
.mbd-spfonts { grid-template-columns: 1fr 1fr; }
.mbd-spfonts button { font-size: 14px; padding: 8px 6px; }
.mbd-nsz { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 10px; font-size: 13px; font-weight: 600; }
.mbd-nsz span { display: flex; justify-content: space-between; }
.mbd-nsz b { color: #5B3FC4; }
.mbd-nsz input { width: 100%; accent-color: #5B3FC4; }
.mbd-nsz { border-radius: 10px; transition: background .3s; padding: 4px 6px; margin-left: -6px; margin-right: -6px; }
.mbd-nsz.flash { background: #EEE8FF; }

/* Boutique : tenues d'équipe sans photo → maillot / short dessiné par l'éditeur */
.dz-thumb { width: 190px; max-width: 80%; aspect-ratio: 1; margin: 0 auto 14px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 38%, #fff 0%, #E8EEF8 80%); overflow: hidden; }
.dz-thumb img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s; }
.dz-thumb.on img { opacity: 1; }
.dz-thumb .icon { margin: 0 !important; }

/* Rashguard : choix manches longues / courtes (v145) */
.mbd-sleeves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 0 auto 26px; }
.mbd-sleeves button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px 14px; border: 2px solid #E5E5EA; border-radius: 18px; background: #fff; cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mbd-sleeves button:hover { transform: translateY(-2px); }
.mbd-sleeves button.on { border-color: #1D1D1F; box-shadow: 0 0 0 3px rgba(29,29,31,.08); }
.mbd-sleeves img { width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: contain; background: radial-gradient(circle at 50% 40%, #fff 0%, #ECEBE7 80%); border-radius: 12px; }
.mbd-sleeves b { font-size: 15px; }
.mbd-sleeves button.on b::before { content: '\2713  '; }

/* Modèles du club pas encore prêts (photos face avant / dos manquantes) */
.mbd-starts .mbd-start-off, .mbd-prods .mbd-pm-off { opacity: .55; filter: grayscale(.6); }
.mbd-prods .mbd-pm-off:hover { transform: none; }
.mbd-pm-tag { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #1B6B3A; }
.mbd-pm-tag.off { color: #8E6CEF; }
.mbd-pm-note, .mbd-soon { background: #F4F0FF; border-radius: 12px; padding: 10px 12px; color: #3D2A8A !important; }
.mbd-pm-note { max-width: 760px; margin: 14px auto 0; text-align: center; }

.mbd-pms button span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Page devis gratuit : pas de suppléments de prix affichés */
.mbd-noprice .mbd-px, .mbd-noprice .mbd-extra, .mbd-noprice .mbd-pxlead{ display:none !important; }

/* v297 — commande de toute l'équipe : série numérotée + tailles rapides */
.mbd-serie, .mbd-qs { background: #F6F3FF; border: 1px solid #E2DBFA; border-radius: 14px; padding: 12px; margin: 0 0 12px; }
.mbd-serie b, .mbd-qs b { display: block; font-size: 14.5px; }
.mbd-serie small, .mbd-qs > small { display: block; color: #6E6E73; font-size: 12.5px; margin: 2px 0 10px; line-height: 1.4; }
.mbd-serie-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.mbd-serie-row label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 700; color: #3A3A3C; }
.mbd-serie-row .mbd-in { width: 70px; text-align: center; font-weight: 800; font-size: 16px; padding: 9px 6px; }
.mbd-serie-row .mbd-btn { flex: 1 1 140px; margin: 0; }
.mbd-btn.mbd-btn-p { background: #5B3FC4 !important; color: #fff !important; border-color: #5B3FC4; }
.mbd-qs { background: #fff; border-color: #ECECF0; }
.mbd-qs-sz { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.mbd-qs-sz button { flex: none; min-width: 48px; height: 40px; border-radius: 12px; border: 1.5px solid #E5E5EA; background: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; position: relative; padding: 0 10px; }
.mbd-qs-sz button.on { background: #1D1D1F; color: #fff; border-color: #1D1D1F; }
.mbd-qs-sz button em { position: absolute; top: -6px; right: -4px; font-style: normal; font-size: 10.5px; background: #5B3FC4; color: #fff; border-radius: 999px; padding: 1px 5px; }
.mbd-qs-n { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; margin: 10px 0 8px; }
.mbd-qs-n button { height: 54px; border-radius: 12px; border: 1.5px dashed #D1D1D6; background: #FAFAFC; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; }
.mbd-qs-n button b { font-size: 17px; line-height: 1; }
.mbd-qs-n button small { font-size: 11.5px; color: #8A8A8E; font-weight: 700; }
.mbd-qs-n button.has { border-style: solid; border-color: #5B3FC4; background: #F6F3FF; }
.mbd-qs-n button.has small { color: #5B3FC4; }
.mbd-qs-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mbd-qs-f .mbd-btn { margin: 0; }
.mbd-okc { font-size: 12.5px; font-weight: 700; color: #1E7A63; }
.mbd-rdet { margin: 4px 0 10px; } .mbd-rdet > summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: #5B3FC4; padding: 6px 0; }
.mbd-rdet[open] > summary { margin-bottom: 8px; }

.mbd-serie-row .mbd-snl { flex: 1 1 160px; }
.mbd-serie-row .mbd-snums { width: 100%; text-align: left; font-weight: 700; font-size: 16px; padding: 9px 12px; box-sizing: border-box; }

/* v299 — tenue publiée dans la boutique */
.mbd-lockbn { background: #FFF6E5; border: 1px solid #F3DDB0; border-radius: 14px; padding: 12px; margin: 0 0 12px; }
.mbd-lockbn b { display: block; font-size: 14.5px; } .mbd-lockbn small { display: block; color: #6E6E73; font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.mbd-pub { display: flex; gap: 10px; align-items: flex-start; background: #EAF7F2; border: 1px solid #BFE6D6; border-radius: 14px; padding: 12px; margin: 0 0 12px; cursor: pointer; }
.mbd-pub input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: #1E7A63; }
.mbd-pub b { display: block; font-size: 14px; } .mbd-pub small { display: block; color: #4A5A55; font-size: 12.5px; margin-top: 2px; line-height: 1.4; }

.mbd-keep { background: #EEF4FF; border-color: #C9DBFB; } .mbd-keep input { accent-color: #0068D6; }
/* v309 — plusieurs jeux de maillots par numéro */
.mbd-rh, .mbd-rr { grid-template-columns: minmax(0, 1fr) 52px 72px 44px 28px !important; }
.mbd-rr .mbd-rq { text-align: center; font-weight: 800; padding: 8px 2px; }
.mbd-sets { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #DCD5F5; }
.mbd-sets b { display: inline !important; font-size: 13.5px !important; } .mbd-sets small { display: block !important; margin: 2px 0 0 !important; font-size: 12px !important; }
.mbd-sets .mbd-step { display: inline-flex; align-items: center; gap: 0; background: #fff; border: 1.5px solid #E2DBFA; border-radius: 999px; flex: none; }
.mbd-sets .mbd-step button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; font-weight: 800; color: #5B3FC4; cursor: pointer; }
.mbd-sets .mbd-step b { min-width: 22px; text-align: center; font-size: 16px !important; }
.mbd-qs-n button { position: relative; } .mbd-qx { position: absolute; top: -6px; right: -5px; font-style: normal; font-size: 10.5px; font-weight: 800; background: #E8457A; color: #fff; border-radius: 999px; padding: 1px 5px; }
/* v301 — tenue d'équipe : parcours guidé et ergonomie téléphone */
.mbd-serie small b { display: inline; font-size: inherit; }
@media (max-width: 860px) { .mbd-qs-sz { flex-wrap: wrap; overflow: visible; } .mbd-qs-sz button { flex: 1 0 calc(25% - 6px); } }
.mbd-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; font-size: 12.5px; color: #3A3A3C; background: #FFF6E5; border: 1px solid #F3DDB0; border-radius: 999px; padding: 5px 11px; margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbd-steps { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.mbd-steps span { font-size: 12px; font-weight: 800; color: #A1A1A6; background: #F2F2F7; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.mbd-steps span.on { background: #5B3FC4; color: #fff; } .mbd-steps span.ok { background: #E4F4EF; color: #1E7A63; }
.mbd-steps i { flex: 1; height: 2px; background: #E5E5EA; border-radius: 2px; min-width: 6px; }
.mbd-serie.done { background: #F3FBF8; border-color: #CBEBDD; }
.mbd-serie.done .mbd-serie-row .mbd-btn-p { background: #fff !important; color: #5B3FC4 !important; }
.mbd-cta { display: block; width: 100%; min-height: 52px; font-size: 16px !important; font-weight: 800 !important; margin: 6px 0 12px !important; border-radius: 16px !important; box-shadow: 0 8px 20px rgba(91,63,196,.28); }
.mbd-pub { margin: 12px 0; }
.mbd-qs-n button, .mbd-qs-sz button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (max-width: 860px) {
  .mbd.mbd-kit .mbd-tech { display: none; }   /* « Sublimation intégrale » : simple info, on gagne de la place */
  .mbd.mbd-teamp .mbd-stage { height: 33vh; height: 33dvh; transition: height .25s; }   /* Équipe : plus de place pour la liste, le maillot reste visible */
  .mbd.mbd-teamp .mbd-hint { display: none; }
  .mbd.mbd-teamp .mbd-tools { display: none; }
  .mbd-qs-n { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }
  .mbd-qs-n button { height: 58px; }
  .mbd-qs-sz button { height: 44px; min-width: 52px; }
  .mbd-snums { font-size: 17px !important; height: 48px; }
  .mbd-serie-row .mbd-btn-p { min-height: 48px; }
}

@media (max-width: 860px) { .mbd-ttl { min-width: 0; } .mbd-ttl b, .mbd-ttl small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* v324 — aperçu 3D */
.mbd-3db { width: auto !important; padding: 0 12px; gap: 5px; display: inline-flex; align-items: center; font-weight: 800; font-size: 14px !important; } .mbd-3db.on { border-color: #5B3FC4 !important; background: #EEE9FF !important; color: #5B3FC4; }
.mb3d { position: fixed; inset: 0; z-index: 2147483100; background: rgba(12,12,16,.62); display: flex; align-items: center; justify-content: center; padding: 14px; font-family: Inter, -apple-system, system-ui, sans-serif; }
.mb3d-box { width: min(560px, 100%); max-height: calc(100% - 20px); display: flex; flex-direction: column; background: #F5F4F0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.mb3d-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px 18px; } .mb3d-top b { font-size: 17px; } .mb3d-top small { flex: 1; color: #6E6E73; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb3d-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: 16px; cursor: pointer; }
.mb3d-stage { position: relative; margin: 0 14px; height: min(60vh, 520px); border-radius: 20px; background: radial-gradient(110% 80% at 50% 42%, #FFFFFF 0%, #E8E7E2 100%); overflow: hidden; touch-action: none; cursor: grab; } .mb3d-stage:active { cursor: grabbing; }
.mb3d-stage canvas { display: block; width: 100%; height: 100%; }
.mb3d-hint { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 12px; color: #8E8E93; pointer-events: none; }
.mb3d-no { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #6E6E73; }
.mb3d-bar { display: flex; gap: 6px; padding: 12px 14px 14px; } .mb3d-bar button { flex: 1; min-height: 42px; border: 1.5px solid #E2DFD8; background: #fff; border-radius: 12px; font: 700 14px/1 inherit; color: #1D1D1F; cursor: pointer; } .mb3d-bar button.on { background: #1D1D1F; color: #fff; border-color: #1D1D1F; }
@media (max-width: 600px) { .mb3d { padding: 0; align-items: flex-end; } .mb3d-box { border-radius: 24px 24px 0 0; max-height: 92%; padding-bottom: env(safe-area-inset-bottom); } .mb3d-stage { height: 56vh; } }
@media (min-width: 900px) { .mb3d { pointer-events: none; background: transparent; align-items: flex-end; justify-content: flex-end; padding: 0 18px 18px 0; } .mb3d-box { pointer-events: auto; width: 400px; box-shadow: 0 18px 50px rgba(0,0,0,.28); border: 1px solid #E6E4DF; } .mb3d-stage { height: 380px; } }

/* v354 : « À partir de ta tenue » — photos envoyées → maquette */
.mbd-starts.n3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 1020px; }
.mbd-starts [hidden] { display: none !important; }
.mbd-tv-own { position: relative; } .mbd-tv-own img { opacity: .45; } .mbd-tv-own i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 40px; }
.mbd-own { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin: 16px auto 10px; }
.mbd-own-t { position: relative; aspect-ratio: 4 / 3; border: 2px dashed #D2D2D7; border-radius: 16px; background: #F7F7F9 center / contain no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; text-align: center; padding: 8px; overflow: hidden; }
.mbd-own-t b { font-size: 14.5px; } .mbd-own-t small { font-size: 12px; color: #6E6E73; } .mbd-own-p { font-size: 28px; color: #8E8E93; line-height: 1; }
.mbd-own-t.ok { border-style: solid; border-color: #2E9E5B; background-color: #fff; justify-content: flex-end; }
.mbd-own-t.ok .mbd-own-p { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: #2E9E5B; color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.mbd-own-t.ok b, .mbd-own-t.ok small { background: rgba(0,0,0,.72); color: #fff; border-radius: 8px; padding: 2px 8px; } .mbd-own-t.ok small { display: none; }
.mbd-own-pv { max-width: 560px; margin: 8px auto 0; } .mbd-own-pv h4 { margin: 6px 0 8px; }
.mbd-own-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .mbd-own-row figure { margin: 0; background: #F3F3F6; border-radius: 14px; padding: 10px; text-align: center; }
.mbd-own-row canvas { width: 100%; height: 230px; object-fit: contain; display: block; } .mbd-own-row figcaption { font-weight: 700; font-size: 13px; margin: 6px 0 2px; }
.mbd-own-row label { display: block; font-size: 12px; color: #6E6E73; } .mbd-own-row input[type=range] { width: 100%; }
.mbd-step .mbd-mut, .mbd-step .mbd-tips { max-width: 560px; margin-left: auto; margin-right: auto; }
.mbd-own-go { max-width: 560px; margin: 16px auto 0; position: sticky; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #fff 30%); }
.mbd-own-go .mbd-btn { width: 100%; min-height: 52px; font-size: 16px; } .mbd-own-go .mbd-btn:disabled { opacity: .45; }
.mbd-own-err { color: #B3261E; font-size: 13.5px; margin: 0 0 8px; }
@media (max-width: 900px) { .mbd-starts.n3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .mbd-own { gap: 10px; } .mbd-own-row canvas { height: 190px; } }

/* ---------- v359 (labo démo, combinaison de pilote) : import d'une tenue · brodé / sublimé logo par logo ---------- */
.mbd-new { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #5B3FC4; color: #fff; font-size: 10.5px; font-weight: 800; font-style: normal; letter-spacing: .02em; text-transform: uppercase; vertical-align: 2px; }
.mbd-impbtn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin: 0 0 14px; border-radius: 16px; text-align: left; background: linear-gradient(135deg, #F4F0FF, #FFFFFF) !important; border: 1.5px solid #CFC3F5 !important; transition: transform .15s, box-shadow .15s; }
.mbd-impbtn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(91,63,196,.16); border-color: #5B3FC4 !important; }
.mbd-impbtn .mbd-impico { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #5B3FC4; font-size: 22px; }
.mbd-impbtn b { display: block; font-size: 14.5px; line-height: 1.25; }
.mbd-impbtn small { display: block; margin-top: 3px; color: #6E6E73; font-size: 12.5px; line-height: 1.4; font-weight: 500; }
.mbd-slots.many { grid-template-columns: repeat(3, 1fr); }
.mbd-repl { display: flex; justify-content: center; cursor: pointer; margin-top: 8px; }

.mbd-mixall { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12.5px; color: #4A4A50; }
.mbd-mixall span { flex: 1; }
.mbd-mixall button { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #F2F2F7 !important; }
.mbd-mixl { display: flex; flex-direction: column; gap: 6px; max-height: 330px; overflow: auto; margin-bottom: 8px; padding-right: 2px; }
.mbd-mixr { display: flex; align-items: center; gap: 9px; padding: 6px; border: 1px solid #E5E5EA; border-radius: 12px; cursor: pointer; background: #fff; }
.mbd-mixr.on { border-color: #5B3FC4; box-shadow: 0 0 0 1.5px #5B3FC4 inset; }
.mbd-mixth { flex: 0 0 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; overflow: hidden; background: #A9A9B3 linear-gradient(45deg, rgba(0,0,0,.09) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.06) 75%), linear-gradient(45deg, rgba(0,0,0,.06) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.06) 75%); background-size: 10px 10px; background-position: 0 0, 5px 5px; }
.mbd-mixth img { max-width: 38px; max-height: 38px; }
.mbd-mixth b { font-size: 18px; color: #4A4A50; }
.mbd-mixn { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbd-mixn em { font-style: normal; font-weight: 600; color: #5B3FC4; font-size: 11px; }
.mbd-mixn small { display: block; font-weight: 500; color: #6E6E73; font-size: 11.5px; }
.mbd-mixseg { flex: 0 0 auto; display: flex; background: #F2F2F7; border-radius: 10px; padding: 2px; }
.mbd-mixseg button { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 46px; padding: 4px 6px; border-radius: 8px; font-size: 15px; line-height: 1.1; background: transparent !important; opacity: .5; }
.mbd-mixseg button i { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .01em; }
.mbd-mixseg button.on { opacity: 1; background: #fff !important; box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.mbd-mixseg button.on[title="Brodé"] { background: #1D1D1F !important; color: #fff !important; }
.mbd-mixseg button.on[title="Sublimé"] { background: #5B3FC4 !important; color: #fff !important; }

.mbd-imp { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 18px; background: rgba(20,20,28,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.mbd-imp-box { display: flex; flex-direction: column; width: min(980px, 100%); max-height: 100%; background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.mbd-imp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #EDEDF0; }
.mbd-imp-top b { display: block; font-size: 18px; }
.mbd-imp-top small { display: block; color: #6E6E73; font-size: 12.5px; margin-top: 2px; }
.mbd-imp-x { flex: 0 0 38px; height: 38px; border-radius: 50%; background: #F2F2F7 !important; font-size: 15px; }
.mbd-imp-body { padding: 18px 20px 20px; overflow: auto; -webkit-overflow-scrolling: touch; }
.mbd-imp-lead { margin: 0 0 16px; font-size: 14.5px; line-height: 1.5; color: #2C2C30; max-width: 720px; }
.mbd-imp-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 620px; }
.mbd-imp-slot { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px; border: 2px dashed #C9C9D1; border-radius: 18px; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.mbd-imp-slot:hover { border-color: #5B3FC4; background: #FAF8FF; }
.mbd-imp-slot.has { border-style: solid; border-color: #5B3FC4; }
.mbd-imp-ph { width: 100%; height: 190px; display: grid; place-items: center; border-radius: 12px; background: #F5F5F7; overflow: hidden; }
.mbd-imp-ph i { font-style: normal; font-size: 40px; opacity: .55; }
.mbd-imp-ph img { max-width: 100%; max-height: 190px; object-fit: contain; }
.mbd-imp-slot b { font-size: 15px; margin-top: 6px; }
.mbd-imp-slot small { color: #6E6E73; font-size: 12px; }
.mbd-imp-err { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF1EF; color: #B3261E; font-weight: 600; font-size: 13.5px; }
.mbd-imp-err[hidden] { display: none; }
.mbd-imp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.mbd-imp-foot .mbd-btn { width: auto; margin: 0; padding-left: 22px; padding-right: 22px; }
.mbd-imp-foot .mbd-mut { margin: 0; }
.mbd-imp-go:disabled { opacity: .45; cursor: not-allowed; }
.mbd-imp-wait { display: grid; place-items: center; gap: 6px; padding: 70px 10px; text-align: center; font-weight: 700; }
.mbd-imp-wait p { margin: 8px 0 0; font-size: 16px; }
.mbd-imp-wait small { color: #6E6E73; font-weight: 500; }
.mbd-imp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.mbd-imp-pv { position: sticky; top: 0; }
.mbd-imp-cmp { position: relative; margin: 10px 0; border-radius: 18px; overflow: hidden; background: #F0F1F4; aspect-ratio: 1 / 1; }
.mbd-imp-cmp canvas { display: block; width: 100%; height: 100%; }
.mbd-imp-cmp .mbd-imp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; opacity: 0; transition: opacity .12s; pointer-events: none; }
.mbd-imp-cmp.photo .mbd-imp-photo { opacity: 1; }
.mbd-imp-hold { touch-action: none; user-select: none; -webkit-user-select: none; }
.mbd-imp-vw small { font-weight: 500; opacity: .7; }
.mbd-imp-side h4 { margin: 0 0 8px; font-size: 14px; }
.mbd-imp-side h4:not(:first-child) { margin-top: 20px; }
.mbd-imp-side h4 small { font-weight: 600; color: #6E6E73; margin-left: 6px; }
.mbd-imp-pal { display: flex; flex-wrap: wrap; gap: 8px; }
.mbd-imp-pal span { display: flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border: 1px solid #E5E5EA; border-radius: 999px; font-size: 12.5px; }
.mbd-imp-pal i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.mbd-imp-pal small { color: #6E6E73; }
.mbd-imp-ctl { margin: 12px 0 5px; font-size: 12px; font-weight: 700; color: #6E6E73; text-transform: uppercase; letter-spacing: .03em; }
.mbd-imp-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; max-height: 250px; overflow: auto; padding: 2px; }
.mbd-imp-logos button { position: relative; height: 74px; border-radius: 12px; border: 2px solid #5B3FC4 !important; display: grid; place-items: center; overflow: hidden; background: #A9A9B3 linear-gradient(45deg, rgba(0,0,0,.09) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.09) 75%), linear-gradient(45deg, rgba(0,0,0,.09) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.09) 75%) !important; background-size: 12px 12px !important; background-position: 0 0, 6px 6px !important; }
.mbd-imp-logos button img { max-width: 62px; max-height: 50px; }
.mbd-imp-logos button em { position: absolute; left: 4px; bottom: 3px; font-style: normal; font-size: 9.5px; font-weight: 800; padding: 1px 5px; border-radius: 999px; background: rgba(29,29,31,.78); color: #fff; }
.mbd-imp-logos button::after { content: '✓'; position: absolute; right: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #5B3FC4; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.mbd-imp-logos button.off { border-color: #D1D1D6 !important; opacity: .45; }
.mbd-imp-logos button.off::after { content: '✕'; background: #8E8E93; }
.mbd-imp-note { margin: 10px 0 0; font-size: 12.5px; color: #4A4A50; line-height: 1.45; }
.mbd-imp-note .mbd-tbtn { background: #F2F2F7 !important; margin-left: 4px; }
@media (max-width: 760px) {
  .mbd-imp { padding: 0; place-items: end stretch; }
  .mbd-imp-box { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .mbd-imp-grid { grid-template-columns: 1fr; gap: 14px; }
  .mbd-imp-pv { position: static; }
  .mbd-imp-cmp { max-width: 440px; margin-left: auto; margin-right: auto; }
  .mbd-imp-slots { gap: 10px; }
  .mbd-imp-ph { height: 140px; } .mbd-imp-ph img { max-height: 140px; }
  .mbd-imp-foot { position: sticky; bottom: -20px; margin: 16px -20px -20px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #EDEDF0; }
  .mbd-imp-foot .mbd-btn { flex: 1; padding-left: 10px; padding-right: 10px; }
  .mbd-imp-foot .mbd-mut { display: none; }
}
