@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@300;400;500;700&display=swap');

/* Smartpack Configurator V7.5
   Brief interface intégré : sliders bornés, champs normalisés, pictos carton,
   impression multi-sélection Extérieure / Intérieure, prix unitaire prioritaire.
   Classe CSS dédiée : .smartpack-configurator-v7-5 pour éviter toute initialisation par un ancien script V4.9 encore en cache
*/

.smartpack-configurator-v7-5,
.smartpack-configurator-v7-5 * {
  box-sizing: border-box;
}

.smartpack-configurator-v7-5 {
  --bg: #f5f3f4;
  --yellow: #fffc63;
  --black: #000;
  --white: #fff;
  --line: rgba(0,0,0,.16);
  --soft: #333333;
  --muted: #555555;
  --good: #e8f6dd;
  --warning: #fff6c8;
  width: 100%;
  padding: 12px;
  background: var(--bg);
  color: var(--black);
  border-radius: 14px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
}

.smartpack-configurator-v7-5 button,
.smartpack-configurator-v7-5 input,
.smartpack-configurator-v7-5 select,
.smartpack-configurator-v7-5 textarea {
  font: inherit;
}

.smartpack-configurator-v7-5 .sp-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 10px;
  align-items: start;
}

.smartpack-configurator-v7-5 .sp-card,
.smartpack-configurator-v7-5 .sp-stage,
.smartpack-configurator-v7-5 .sp-info-block,
.smartpack-configurator-v7-5 .sp-price-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.smartpack-configurator-v7-5 .sp-stage-body {
  height: clamp(560px, 58vw, 680px);
  min-height: 560px;
  aspect-ratio: 4 / 3;
  position: relative;
  padding: 0;
  background:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
}

.smartpack-configurator-v7-5 .sp-stage-body svg,
.smartpack-configurator-v7-5 .sp-stage-body canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.smartpack-configurator-v7-5 .sp-version {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font: 11px Roboto, Arial, sans-serif;
  color: rgba(0,0,0,.62);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  padding: 5px 7px;
}

.smartpack-configurator-v7-5 .sp-toolbar {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.smartpack-configurator-v7-5 .sp-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.smartpack-configurator-v7-5 button,
.smartpack-configurator-v7-5 .sp-btn,
.smartpack-configurator-v7-5 .sp-choice button,
.smartpack-configurator-v7-5 .sp-gamme,
.smartpack-configurator-v7-5 .sp-color-card {
  font-family: Anton, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.smartpack-configurator-v7-5 .sp-switch button,
.smartpack-configurator-v7-5 .sp-btn,
.smartpack-configurator-v7-5 .sp-choice button,
.smartpack-configurator-v7-5 .sp-gamme,
.smartpack-configurator-v7-5 .sp-color-card {
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease, opacity .12s ease;
}

.smartpack-configurator-v7-5 .sp-switch button.is-active,
.smartpack-configurator-v7-5 .sp-choice button.is-active,
.smartpack-configurator-v7-5 .sp-gamme.is-active,
.smartpack-configurator-v7-5 .sp-color-card.is-active,
.smartpack-configurator-v7-5 .sp-btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: transparent;
}

.smartpack-configurator-v7-5 .sp-switch button:hover,
.smartpack-configurator-v7-5 .sp-btn:hover,
.smartpack-configurator-v7-5 .sp-choice button:hover,
.smartpack-configurator-v7-5 .sp-gamme:hover,
.smartpack-configurator-v7-5 .sp-color-card:hover {
  transform: translateY(-1px);
}

.smartpack-configurator-v7-5 .sp-label {
  display: block;
  margin-bottom: 6px;
  font-family: Anton, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.05;
}

.smartpack-configurator-v7-5 .sp-caption {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #555;
  line-height: 1.2;
}

.smartpack-configurator-v7-5 .sp-fold {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 76px;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.smartpack-configurator-v7-5 .sp-fold .sp-label { margin: 0; }
.smartpack-configurator-v7-5 .sp-fold-value { font-size: 11px; color: var(--soft); text-align: right; }

.smartpack-configurator-v7-5 .sp-fold {
  grid-template-columns: 92px minmax(0, 1fr) 150px;
  row-gap: 4px;
}
.smartpack-configurator-v7-5 .sp-fold-stops {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  font-size: 10px;
  color: var(--soft);
}
.smartpack-configurator-v7-5 .sp-fold-stops span:nth-child(1){ text-align:left; }
.smartpack-configurator-v7-5 .sp-fold-stops span:nth-child(2){ text-align:center; }
.smartpack-configurator-v7-5 .sp-fold-stops span:nth-child(3){ text-align:right; }

.smartpack-configurator-v7-5 input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}

.smartpack-configurator-v7-5 input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: rgba(0,0,0,.16);
  border-radius: 999px;
}

.smartpack-configurator-v7-5 input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: var(--black);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--black);
}

.smartpack-configurator-v7-5 input[type="range"]::-moz-range-track {
  height: 5px;
  background: rgba(0,0,0,.16);
  border-radius: 999px;
}

.smartpack-configurator-v7-5 input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--black);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--black);
}

.smartpack-configurator-v7-5 .sp-info-block {
  margin-top: 8px;
  padding: 12px;
}

.smartpack-configurator-v7-5 .sp-info-title {
  font-family: Anton, Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 7px;
}

.smartpack-configurator-v7-5 .sp-info-text {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

.smartpack-configurator-v7-5 .sp-under {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 8px;
  margin-top: 8px;
}

.smartpack-configurator-v7-5 .sp-price-box {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 0;
}

.smartpack-configurator-v7-5 .sp-price-main-cell,
.smartpack-configurator-v7-5 .sp-price-secondary-cell {
  padding: 14px;
  min-height: 96px;
}

.smartpack-configurator-v7-5 .sp-price-main-cell {
  background: #111;
  color: #fff;
}

.smartpack-configurator-v7-5 .sp-price-main-cell .sp-caption,
.smartpack-configurator-v7-5 .sp-price-main-cell .sp-price-sub {
  color: rgba(255,255,255,.68);
}

.smartpack-configurator-v7-5 .sp-price-big {
  font-family: Anton, Arial, sans-serif;
  font-size: 44px;
  line-height: .95;
  letter-spacing: .01em;
}

.smartpack-configurator-v7-5 .sp-price-small {
  font-family: Anton, Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: .01em;
}

.smartpack-configurator-v7-5 .sp-price-sub {
  font-size: 12px;
  color: var(--soft);
  margin-top: 6px;
  line-height: 1.35;
}

.smartpack-configurator-v7-5 .sp-price-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.smartpack-configurator-v7-5 .sp-mini-price:not(:last-child) {
  border-right: 1px solid rgba(0,0,0,.12);
  padding-right: 10px;
}

.smartpack-configurator-v7-5 .sp-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  min-width: 200px;
}

.smartpack-configurator-v7-5 .sp-cta .sp-btn { width: 100%; white-space: nowrap; }

.smartpack-configurator-v7-5 .sp-side { display: grid; gap: 10px; }
.smartpack-configurator-v7-5 .sp-section { padding: 12px; }
.smartpack-configurator-v7-5 .sp-section + .sp-section { border-top: 1px solid var(--line); }

.smartpack-configurator-v7-5 .sp-title {
  font-family: Anton, Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.smartpack-configurator-v7-5 .sp-field { margin-bottom: 12px; }
.smartpack-configurator-v7-5 .sp-field:last-child { margin-bottom: 0; }

.smartpack-configurator-v7-5 .sp-select,
.smartpack-configurator-v7-5 .sp-input,
.smartpack-configurator-v7-5 .sp-textarea {
  width: 100%;
  border: 1px solid var(--black);
  border-radius: 8px;
  background: #fff;
  color: #000;
  padding: 9px 10px;
  font-size: 14px;
  outline: none;
}

.smartpack-configurator-v7-5 .sp-textarea { min-height: 88px; resize: vertical; }

.smartpack-configurator-v7-5 .sp-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.smartpack-configurator-v7-5 .sp-choice.three { grid-template-columns: 1fr 1fr 1fr; }
.smartpack-configurator-v7-5 .sp-choice button { font-size: 18px; line-height: 1.05; min-height: 42px; }

.smartpack-configurator-v7-5 .sp-gammes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.smartpack-configurator-v7-5 .sp-gamme { min-height: 52px; display: grid; align-content: center; text-align: center; font-size: 20px; }

.smartpack-configurator-v7-5 .sp-color-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.smartpack-configurator-v7-5 .sp-color-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 52px;
  text-align: left;
  font-size: 17px;
  line-height: 1.05;
}

.smartpack-configurator-v7-5 .sp-open-box-icon {
  width: 46px;
  height: 34px;
  display: block;
}

.smartpack-configurator-v7-5 .sp-help { font-size: 11px; line-height: 1.4; color: var(--soft); margin-top: 6px; }

.smartpack-configurator-v7-5 .sp-slider-row {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) 72px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.smartpack-configurator-v7-5 .sp-slider-row .sp-label { margin: 0; }
.smartpack-configurator-v7-5 .sp-value { font-size: 12px; color: var(--soft); text-align: right; white-space: nowrap; }

.smartpack-configurator-v7-5 .sp-range-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 72px 8px 82px;
  font-size: 10px;
  color: var(--muted);
}

.smartpack-configurator-v7-5 .sp-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--soft);
  display: grid;
  gap: 5px;
}

.smartpack-configurator-v7-5 .sp-kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding-bottom: 4px;
}

.smartpack-configurator-v7-5 .sp-kv strong { font-weight: 500; color: #000; text-align: right; }
.smartpack-configurator-v7-5 .sp-alerts { display: grid; gap: 6px; margin-top: 8px; }

.smartpack-configurator-v7-5 .sp-alert {
  font-size: 11px;
  line-height: 1.35;
  padding: 7px 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  color: #000;
}

.smartpack-configurator-v7-5 .sp-alert[data-severity="warning"] { background: var(--warning); }
.smartpack-configurator-v7-5 .sp-alert[data-severity="success"] { background: var(--good); }

.smartpack-configurator-v7-5 .sp-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0,0,0,.44);
  display: none;
  place-items: center;
  padding: 18px;
}

.smartpack-configurator-v7-5 .sp-modal.is-open { display: grid; }

.smartpack-configurator-v7-5 .sp-modal-card {
  width: min(620px,100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  overflow: hidden;
}

.smartpack-configurator-v7-5 .sp-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.smartpack-configurator-v7-5 .sp-modal-title {
  font-family: Anton, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.smartpack-configurator-v7-5 .sp-close {
  width: 36px;
  height: 36px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.smartpack-configurator-v7-5 .sp-form { padding: 14px; }
.smartpack-configurator-v7-5 .sp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.smartpack-configurator-v7-5 .sp-form-full { grid-column: 1 / -1; }
.smartpack-configurator-v7-5 .sp-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.smartpack-configurator-v7-5 .sp-status { font-size: 12px; line-height: 1.35; color: var(--soft); margin-top: 10px; min-height: 18px; }

@media (max-width: 980px) {
  .smartpack-configurator-v7-5 .sp-shell { grid-template-columns: 1fr; }
  .smartpack-configurator-v7-5 .sp-under { grid-template-columns: 1fr; }
  .smartpack-configurator-v7-5 .sp-cta { grid-template-columns: 1fr 1fr; }
  .smartpack-configurator-v7-5 .sp-toolbar { grid-template-columns: 1fr; }
  .smartpack-configurator-v7-5 .sp-stage-body { height: 520px; min-height: 520px; }
}

@media (max-width: 720px) {
  .smartpack-configurator-v7-5 .sp-price-box { grid-template-columns: 1fr; }
  .smartpack-configurator-v7-5 .sp-price-secondary-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .smartpack-configurator-v7-5 { padding: 8px; border-radius: 0; }
  .smartpack-configurator-v7-5 .sp-stage-body {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }
  .smartpack-configurator-v7-5 .sp-cta { grid-template-columns: 1fr; }
  .smartpack-configurator-v7-5 .sp-choice.three { grid-template-columns: 1fr; }
  .smartpack-configurator-v7-5 .sp-form-grid { grid-template-columns: 1fr; }
  .smartpack-configurator-v7-5 .sp-actions { flex-direction: column; }
  .smartpack-configurator-v7-5 .sp-btn { width: 100%; }
}


/* V2.3 : pictogrammes couleur en boîte ouverte */
.smartpack-configurator-v7-5 .sp-color-card {
  grid-template-columns: 54px minmax(0, 1fr);
}

.smartpack-configurator-v7-5 .sp-open-box-icon {
  width: 48px;
  height: 36px;
  display: block;
}


/* V2.7 : typographie champs */
.smartpack-configurator-v7-5 .sp-select,
.smartpack-configurator-v7-5 .sp-input,
.smartpack-configurator-v7-5 .sp-textarea,
.smartpack-configurator-v7-5 .sp-value,
.smartpack-configurator-v7-5 .sp-range-meta,
.smartpack-configurator-v7-5 .sp-help,
.smartpack-configurator-v7-5 .sp-choice button,
.smartpack-configurator-v7-5 .sp-gamme,
.smartpack-configurator-v7-5 .sp-color-card {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  color: #2f2f2f;
}

.smartpack-configurator-v7-5 .sp-select,
.smartpack-configurator-v7-5 .sp-input,
.smartpack-configurator-v7-5 .sp-textarea {
  font-size: 16px;
}

.smartpack-configurator-v7-5 .sp-choice button,
.smartpack-configurator-v7-5 .sp-gamme,
.smartpack-configurator-v7-5 .sp-color-card {
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}

.smartpack-configurator-v7-5 .sp-value {
  font-size: 15px;
}

.smartpack-configurator-v7-5 .sp-range-meta {
  font-size: 12px;
}

.smartpack-configurator-v7-5 .sp-slider-row--project {
  margin-top: 2px;
}

.smartpack-configurator-v7-5 .sp-range-meta--project {
  margin-bottom: 0;
}

.smartpack-configurator-v7-5 .sp-color-card {
  grid-template-columns: 62px minmax(0, 1fr);
}

.smartpack-configurator-v7-5 .sp-open-box-icon {
  width: 58px;
  height: 42px;
}

/* V2.7 : mobile, configuration avant plan/prix */
@media (max-width: 980px) {
  .smartpack-configurator-v7-5 .sp-shell > .sp-side {
    order: -1;
  }

  .smartpack-configurator-v7-5 .sp-shell > main {
    order: 2;
  }
}


/* V2.8 : typo ajustée */
.smartpack-configurator-v7-5 .sp-btn,
.smartpack-configurator-v7-5 .sp-choice button,
.smartpack-configurator-v7-5 .sp-gamme,
.smartpack-configurator-v7-5 .sp-switch button {
  font-family: Anton, Arial, sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.smartpack-configurator-v7-5 .sp-color-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  min-height: 70px;
  text-align: left;
}

.smartpack-configurator-v7-5 .sp-color-card,
.smartpack-configurator-v7-5 .sp-color-card span,
.smartpack-configurator-v7-5 .sp-select,
.smartpack-configurator-v7-5 .sp-input,
.smartpack-configurator-v7-5 .sp-textarea,
.smartpack-configurator-v7-5 .sp-value,
.smartpack-configurator-v7-5 .sp-help,
.smartpack-configurator-v7-5 .sp-price-sub,
.smartpack-configurator-v7-5 .sp-range-meta {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  color: #333;
}

.smartpack-configurator-v7-5 .sp-color-card span,
.smartpack-configurator-v7-5 .sp-select,
.smartpack-configurator-v7-5 .sp-input,
.smartpack-configurator-v7-5 .sp-textarea,
.smartpack-configurator-v7-5 .sp-value {
  font-size: 18px !important;
}

.smartpack-configurator-v7-5 .sp-open-box-icon {
  width: 72px;
  height: 52px;
  overflow: visible;
}


/* V2.9 : affinage typographique */
.smartpack-configurator-v7-5 .sp-btn,
.smartpack-configurator-v7-5 .sp-choice button,
.smartpack-configurator-v7-5 .sp-gamme,
.smartpack-configurator-v7-5 .sp-switch button {
  font-family: Anton, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.smartpack-configurator-v7-5 .sp-color-card span,
.smartpack-configurator-v7-5 .sp-select,
.smartpack-configurator-v7-5 .sp-input,
.smartpack-configurator-v7-5 .sp-textarea,
.smartpack-configurator-v7-5 .sp-value,
.smartpack-configurator-v7-5 .sp-range-meta,
.smartpack-configurator-v7-5 .sp-help,
.smartpack-configurator-v7-5 .sp-price-sub {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  color: #333;
  font-size: 16px !important;
}

.smartpack-configurator-v7-5 .sp-help,
.smartpack-configurator-v7-5 .sp-range-meta,
.smartpack-configurator-v7-5 .sp-price-sub { font-size: 13px !important; }

.smartpack-configurator-v7-5 .sp-color-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  min-height: 68px;
  text-align: left;
}

.smartpack-configurator-v7-5 .sp-open-box-icon {
  width: 72px;
  height: 52px;
  overflow: visible;
}

.smartpack-configurator-v7-5 .sp-slider-row {
  grid-template-columns: 96px minmax(0,1fr) 72px;
}

.smartpack-configurator-v7-5 .sp-range-meta {
  margin: -2px 72px 8px 104px;
}

.smartpack-configurator-v7-5 .sp-version { display:none !important; }


/* V2.11 : champ usage final en modal */
.smartpack-configurator-v7-5 .sp-form-grid .sp-select {
  min-height: 41px;
}


/* V2.13.1 : corrections interface */
.smartpack-configurator-v7-5 .sp-color-card span {
  line-height: 1.08;
}

.smartpack-configurator-v7-5 .sp-stage svg text {
  letter-spacing: 0;
}

.smartpack-configurator-v7-5 .sp-form .sp-input:required,
.smartpack-configurator-v7-5 .sp-form .sp-textarea:required,
.smartpack-configurator-v7-5 .sp-form .sp-select:required {
  border-color: rgba(0,0,0,.85);
}


/* V2.13.2 : accompagnement graphique */
.smartpack-configurator-v7-5 .sp-label-with-info {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.smartpack-configurator-v7-5 .sp-label--no-margin {
  margin-bottom: 0;
}

.smartpack-configurator-v7-5 .sp-price-note {
  display: block;
  margin-top: 2px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.1;
  color: rgba(17,17,17,.72);
  text-transform: none;
  letter-spacing: 0;
}

.smartpack-configurator-v7-5 .sp-info-bubble {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 999px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.smartpack-configurator-v7-5 .sp-info-popover {
  position: absolute;
  right: 0;
  top: 32px;
  z-index: 30;
  width: min(310px, calc(100vw - 48px));
  padding: 12px 13px;
  border: 1px solid var(--black);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  font-family: Roboto, Arial, sans-serif;
  color: var(--black);
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.smartpack-configurator-v7-5 .sp-info-popover::before {
  content: "";
  position: absolute;
  right: 7px;
  top: -7px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--black);
  border-top: 1px solid var(--black);
  transform: rotate(45deg);
}

.smartpack-configurator-v7-5 .sp-info-popover strong {
  display: block;
  margin-bottom: 6px;
  font-family: Anton, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
}

.smartpack-configurator-v7-5 .sp-info-popover p {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
}

.smartpack-configurator-v7-5 .sp-info-bubble:hover + .sp-info-popover,
.smartpack-configurator-v7-5 .sp-info-bubble:focus + .sp-info-popover,
.smartpack-configurator-v7-5 .sp-info-bubble:focus-visible + .sp-info-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


/* V2.13.3 : validation formulaire demande */
.smartpack-configurator-v7-5 .sp-form .sp-input:required,
.smartpack-configurator-v7-5 .sp-form .sp-textarea:required,
.smartpack-configurator-v7-5 .sp-form .sp-select:required {
  border-color: rgba(0,0,0,.85);
}

.smartpack-configurator-v7-5 .sp-form .sp-input:invalid,
.smartpack-configurator-v7-5 .sp-form .sp-textarea:invalid,
.smartpack-configurator-v7-5 .sp-form .sp-select:invalid {
  box-shadow: none;
}


/* V2.13.4 : confirmation envoi */
.smartpack-configurator-v7-5 .sp-status {
  min-height: 18px;
}

.smartpack-configurator-v7-5 .sp-status:not(:empty) {
  margin-top: 8px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(17,17,17,.85);
}

.smartpack-configurator-v7-5 .sp-btn:disabled {
  opacity: .55;
  cursor: wait;
}


/* V2.14 : cartouche plan réduit */
.smartpack-configurator-v7-5 .sp-stage svg text {
  letter-spacing: 0;
}


/* V4.1 : galerie dynamique visible, même sans visuels actifs */
.smartpack-configurator-v7-5 .sp-gallery {
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.smartpack-configurator-v7-5 .sp-gallery-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
  gap: 0;
  align-items: stretch;
}

.smartpack-configurator-v7-5 .sp-gallery-image-wrap {
  min-height: 245px;
  background: #f5f3f4;
  padding: 10px;
}

.smartpack-configurator-v7-5 .sp-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 225px;
  object-fit: cover;
  border-radius: 10px;
  background: #f5f3f4;
}

.smartpack-configurator-v7-5 .sp-gallery-copy {
  padding: 14px;
  border-left: 1px solid var(--line);
  align-self: stretch;
  display: grid;
  align-content: center;
}

.smartpack-configurator-v7-5 .sp-gallery-title {
  margin: 0 0 8px;
  font-family: Anton, Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #111;
}

.smartpack-configurator-v7-5 .sp-gallery-caption {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--soft);
}

.smartpack-configurator-v7-5 .sp-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.smartpack-configurator-v7-5 .sp-gallery-thumb {
  flex: 0 0 86px;
  width: 86px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.smartpack-configurator-v7-5 .sp-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.smartpack-configurator-v7-5 .sp-gallery-thumb.is-active {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--yellow);
}

.smartpack-configurator-v7-5 .sp-gallery.is-empty {
  display: block;
}

.smartpack-configurator-v7-5 .sp-gallery.is-empty .sp-gallery-image {
  object-fit: cover;
}

.smartpack-configurator-v7-5 .sp-gallery-empty-note {
  width: 100%;
  padding: 8px 10px;
  border: 1px dashed rgba(0,0,0,.24);
  border-radius: 10px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--soft);
  background: #fff;
}

.smartpack-configurator-v7-5 .sp-gallery img {
  border-radius: 10px;
}

@media (max-width: 720px) {
  .smartpack-configurator-v7-5 .sp-gallery-main {
    grid-template-columns: 1fr;
  }

  .smartpack-configurator-v7-5 .sp-gallery-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .smartpack-configurator-v7-5 .sp-gallery-image-wrap {
    min-height: 210px;
  }

  .smartpack-configurator-v7-5 .sp-gallery-image {
    min-height: 190px;
  }
}


/* V4.3.0 — Garantie visuelle galerie : arrondi 10 px sur toutes les images */
.smartpack-configurator-v7-5 .sp-gallery img,
.smartpack-configurator-v7-5 .sp-gallery-image,
.smartpack-configurator-v7-5 .sp-gallery-thumb img {
  border-radius: 10px;
}


/* V4.5.0 : Galerie comme troisième vue dans la zone visuelle + limite 5 images */
.smartpack-configurator-v7-5 .sp-toolbar {
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: center;
}

.smartpack-configurator-v7-5 .sp-switch {
  grid-template-columns: 1fr 1fr 1fr;
}

.smartpack-configurator-v7-5 .sp-view-controls {
  min-width: 0;
}

.smartpack-configurator-v7-5 .sp-view-controls [hidden] {
  display: none !important;
}

.smartpack-configurator-v7-5 .sp-gallery-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fff;
  overflow: hidden;
}

.smartpack-configurator-v7-5 .sp-gallery-stage .sp-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 10px;
  background: #f5f3f4;
}

.smartpack-configurator-v7-5 .sp-gallery-thumbs--toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0;
  border: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
}

.smartpack-configurator-v7-5 .sp-gallery-thumbs--toolbar .sp-gallery-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.smartpack-configurator-v7-5 .sp-gallery-thumbs--toolbar .sp-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.smartpack-configurator-v7-5 .sp-gallery-thumbs--toolbar .sp-gallery-thumb.is-active {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--yellow);
}

.smartpack-configurator-v7-5 .sp-stage-body .sp-gallery-image,
.smartpack-configurator-v7-5 .sp-gallery-thumbs--toolbar img {
  border-radius: 10px;
}

@media (max-width: 980px) {
  .smartpack-configurator-v7-5 .sp-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .smartpack-configurator-v7-5 .sp-switch {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .smartpack-configurator-v7-5 .sp-gallery-thumbs--toolbar .sp-gallery-thumb {
    flex-basis: 64px;
    width: 64px;
    height: 44px;
  }
}


/* V4.6.1 : vue Plan alimentée par le moteur exact de dieline */
.smartpack-configurator-v7-5 .sp-stage-body svg.sp-dieline-exact {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  shape-rendering: geometricPrecision;
}

.smartpack-configurator-v7-5 .sp-stage-body svg.sp-dieline-exact text {
  letter-spacing: 0;
}


/* V4.6.1 : cartouche technique fixe dans la fenêtre de visualisation */
.smartpack-configurator-v7-5 .sp-stage-plan-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.smartpack-configurator-v7-5 .sp-stage-plan-wrap > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  width: min(360px, calc(100% - 24px));
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(17,17,17,.84);
  color: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  font-family: Roboto, Arial, sans-serif;
  pointer-events: none;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 28px;
  padding: 7px 9px 6px;
  border-bottom: 1px solid rgba(17,17,17,.84);
  font-family: Anton, Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-head strong {
  font: inherit;
  font-weight: 400;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-grid {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  font-size: 11px;
  line-height: 1.15;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-label,
.smartpack-configurator-v7-5 .sp-plan-cartouche-value {
  min-height: 23px;
  padding: 6px 8px 5px;
  border-bottom: 1px solid rgba(17,17,17,.34);
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-label {
  color: rgba(17,17,17,.66);
  border-right: 1px solid rgba(17,17,17,.34);
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-value {
  font-weight: 400;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-note {
  padding: 6px 8px 7px;
  font-size: 9.5px;
  line-height: 1.2;
  color: rgba(17,17,17,.62);
}

@media (max-width: 620px) {
  .smartpack-configurator-v7-5 .sp-plan-cartouche {
    right: 8px;
    bottom: 8px;
    width: min(320px, calc(100% - 16px));
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-head {
    font-size: 11px;
    min-height: 24px;
    padding: 6px 7px 5px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-grid {
    grid-template-columns: 86px minmax(0, 1fr);
    font-size: 9.5px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-label,
  .smartpack-configurator-v7-5 .sp-plan-cartouche-value {
    min-height: 20px;
    padding: 5px 6px 4px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-note {
    font-size: 8.5px;
  }
}


/* V4.7.0 : affinage cartouche + repères sliders */
.smartpack-configurator-v7-5 .sp-range-meta,
.smartpack-configurator-v7-5 .sp-range-meta--project {
  font-size: 8px;
  letter-spacing: .02em;
  color: rgba(0,0,0,.48);
}

.smartpack-configurator-v7-5 .sp-plan-cartouche {
  right: 10px;
  bottom: 10px;
  width: min(286px, calc(100% - 20px));
  background: rgba(255,255,255,.90);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-head {
  min-height: 24px;
  padding: 5px 7px 5px;
  font-size: 11px;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-grid {
  grid-template-columns: 82px minmax(0, 1fr);
  font-size: 9.5px;
  line-height: 1.1;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-label,
.smartpack-configurator-v7-5 .sp-plan-cartouche-value {
  min-height: 18px;
  padding: 4px 6px 4px;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-note {
  padding: 5px 6px 6px;
  font-size: 8px;
  line-height: 1.15;
}

@media (max-width: 620px) {
  .smartpack-configurator-v7-5 .sp-range-meta,
  .smartpack-configurator-v7-5 .sp-range-meta--project {
    font-size: 7.5px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche {
    width: min(250px, calc(100% - 16px));
    right: 8px;
    bottom: 8px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-head {
    font-size: 10px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-grid {
    grid-template-columns: 76px minmax(0, 1fr);
    font-size: 8.5px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-label,
  .smartpack-configurator-v7-5 .sp-plan-cartouche-value {
    min-height: 16px;
    padding: 4px 5px 3px;
  }

  .smartpack-configurator-v7-5 .sp-plan-cartouche-note {
    font-size: 7.5px;
  }
}


/* V4.7.1 : correctifs régression affichage / diecut / mobile */
.smartpack-configurator-v7-5 .sp-range-meta,
.smartpack-configurator-v7-5 .sp-range-meta--project,
.smartpack-configurator-v7-5 .sp-range-meta span,
.smartpack-configurator-v7-5 .sp-range-meta--project span {
  font-size: 7.5px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  color: rgba(0,0,0,.42) !important;
}

.smartpack-configurator-v7-5 .sp-stage-plan-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.smartpack-configurator-v7-5 .sp-stage-plan-wrap > svg.sp-dieline-exact {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche {
  width: min(270px, calc(100% - 20px)) !important;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-head {
  min-height: 22px !important;
  padding: 4px 6px !important;
  font-size: 10px !important;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-grid {
  grid-template-columns: 76px minmax(0,1fr) !important;
  font-size: 8.8px !important;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-label,
.smartpack-configurator-v7-5 .sp-plan-cartouche-value {
  min-height: 16px !important;
  padding: 3px 5px !important;
}

.smartpack-configurator-v7-5 .sp-plan-cartouche-note {
  font-size: 7.5px !important;
  padding: 4px 5px !important;
}

@media (max-width: 720px) {
  .smartpack-configurator-v7-5 .sp-plan-cartouche {
    display: none !important;
  }

  .smartpack-configurator-v7-5 .sp-range-meta,
  .smartpack-configurator-v7-5 .sp-range-meta--project,
  .smartpack-configurator-v7-5 .sp-range-meta span,
  .smartpack-configurator-v7-5 .sp-range-meta--project span {
    font-size: 7px !important;
  }
}


/* V4.8.0 : scène 3D Three.js */
.smartpack-configurator-v7-5 .sp-three-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #faf8f4;
}

.smartpack-configurator-v7-5 .sp-three-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

.smartpack-configurator-v7-5 .sp-three-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  pointer-events: none;
  background: rgba(43,29,14,.84);
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.smartpack-configurator-v7-5 .sp-three-badge--right {
  left: auto;
  right: 10px;
  background: rgba(166,134,84,.90);
}

.smartpack-configurator-v7-5 .sp-three-fold-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  pointer-events: none;
  color: rgba(43,29,14,.62);
  font-family: Roboto, Arial, sans-serif;
  font-size: 11px;
  line-height: 1;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(43,29,14,.10);
  border-radius: 999px;
  padding: 6px 8px;
}


/* V4.8.1 : renderer 3D affiné */
.smartpack-configurator-v7-5 .sp-three-badge { display: none !important; }
.smartpack-configurator-v7-5 .sp-three-fold-label {
  left: 10px;
  bottom: 10px;
  font-size: 10px;
  padding: 5px 8px;
}


/* V4.8.2 : vue galerie par défaut + chargement 3D à la demande */
.smartpack-configurator-v7-5 .sp-three-loading {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #faf8f4;
  border-radius: 10px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  color: rgba(43,29,14,.62);
}


/* V4.8.3 : cadrage 3D plus bas / vue flat-to-closed */
.smartpack-configurator-v7-5 .sp-three-fold-label {
  left: 10px;
  bottom: 10px;
  font-size: 10px;
  padding: 5px 8px;
}


/* V4.8.4 : contraste + accessibilité visuelle */
.smartpack-configurator-v7-5 .sp-range-meta,
.smartpack-configurator-v7-5 .sp-range-meta--project,
.smartpack-configurator-v7-5 .sp-range-meta span,
.smartpack-configurator-v7-5 .sp-range-meta--project span {
  color: #000 !important;
  opacity: 1 !important;
}

.smartpack-configurator-v7-5 .sp-color-card,
.smartpack-configurator-v7-5 .sp-color-card * {
  color: #000 !important;
}


/* V7.5 — mobile: fenêtre de visualisation carrée pour préserver le responsive. */
@media (max-width: 620px) {
  .smartpack-configurator-v7-5 .sp-stage-body {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }
}
