/* === CONFIGURATEUR FIGURINE PERSONNALISÉE === */

/* Bloc du configurateur */

body.single-product.product_cat-figurine-personnalisee .ct-product-add-to-cart,
.figurine-simulator .ct-product-add-to-cart {
  max-width: 650px;
  margin: 14px!important;
  background: #fff!important;
  border-radius: 0px 0px 14px 14px;
  padding: 10px 30px 30px 30px;
  box-shadow: 0 14px 25px rgba(0,0,0,0.08);
  --figurine-loading-bottom: clamp(90px, 12vw, 130px);
}

/* Étapes */
.variation-step-row {
  display: none;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navigation */
.figurine-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 5px!important;
}
.figurine-nav button {
  background: #673B77;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.figurine-nav button:hover {
  background: #673B77;
}
.figurine-nav button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Swatches */
.ct-swatch-container {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.ct-swatch-container:hover {
  transform: scale(1.07);
}
.ct-swatch-container .ct-tooltip {
  display: none !important;
}
.ct-variation-swatches.figurine-render-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-swatch-container.figurine-render-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #673B77;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.ct-swatch-container.figurine-render-option .ct-swatch {
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ct-swatch-container.figurine-render-option .ct-swatch-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #CBB9DB;
  border-radius: 10px;
  padding: 10px 16px;
  background: #fff;
  color: #673B77;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ct-swatch-container.figurine-render-option.active .ct-swatch-content {
  color: #673B77;
  border-color: #FDC7DF;
  background: #FDC7DF;
}

.ct-swatch-container.figurine-render-option:hover .ct-swatch-content {
  border-color: #FDCC66;
}


/* Stabilisation CLS mobile : état initial avant l'initialisation JavaScript du simulateur. */
.single-product.product_cat-figurine-personnalisee form.variations_form.cart:not([data-figurine-current-step])::before,
.figurine-simulator form.variations_form.cart:not([data-figurine-current-step])::before {
  content: "";
  display: block;
  min-height: 92px;
}

.single-product.product_cat-figurine-personnalisee form.variations_form.cart:not([data-figurine-current-step]) table.variations > tbody > tr,
.single-product.product_cat-figurine-personnalisee form.variations_form.cart:not([data-figurine-current-step]) table.variations > tr,
.figurine-simulator form.variations_form.cart:not([data-figurine-current-step]) table.variations > tbody > tr,
.figurine-simulator form.variations_form.cart:not([data-figurine-current-step]) table.variations > tr {
  display: none;
}

.single-product.product_cat-figurine-personnalisee #figurine-preview:not(.preview-ready),
.figurine-simulator #figurine-preview:not(.preview-ready) {
  display: none;
}

.single-product.product_cat-figurine-personnalisee #figurine-preview.loading,
.figurine-simulator #figurine-preview.loading {
  display: block;
}

/* Structure principale de navigation */
.figurine-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

.figurine-nav-right {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  width: 100%;
}

.figurine-generation-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #CBB9DB;
  color: #673B77;
  font-size: 13px;
  font-weight: 700;
  min-width: 64px;
}

/* Styles des boutons */
.figurine-nav button,
.figurine-nav .single_add_to_cart_button {
  background: #673B77;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.25s ease;
  font-weight: 600;
}

.figurine-nav button:hover,
.figurine-nav .single_add_to_cart_button:hover {
  background: #673B77;
}

.figurine-nav button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.figurine-nav button.retry-generation {
  background: transparent;
  border: none;
  padding: 0;
  color: #673B77;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.figurine-nav button.retry-generation:hover:not([disabled]) {
  background: transparent;
  color: #673B77;
}

/* Bloc contenant quantité + bouton panier */
.figurine-cart-zone {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.figurine-cart-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.figurine-cart-zone .quantity,
.figurine-cart-zone .single_add_to_cart_button {
  flex: 1 1 auto;
  max-width: 100%;
  width: 100% !important;
}

.figurine-cart-zone .single_add_to_cart_button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.figurine-cart-zone .retry-generation {
  background: transparent;
  border: none;
  padding: 0;
  color: #673B77;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.figurine-cart-zone .retry-generation:hover:not([disabled]) {
  background: transparent;
  color: #673B77;
}

.figurine-cart-validation-note {
  margin: -2px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #673B77;
  line-height: 1.35;
  text-align: center;
}


.figurine-ready-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.figurine-ready-recap {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #CBB9DB;
  border-radius: 10px;
  background: #CBB9DB;
}

.figurine-ready-recap__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #673B77;
}

.figurine-ready-recap__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: #673B77;
  font-size: 14px;
}

/* === Barre de progression (style avis + étapes) === */
.figurine-progress {
  --p: 0%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.figurine-progress-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: #FDCC66;
  font-size: 14px;
}

.figurine-progress-stars {
  letter-spacing: 2px;
  font-size: 16px;
}

.figurine-progress-reviews {
  color: #FDCC66;
}

.figurine-progress-title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #673B77;
}

.figurine-progress-track {
  position: relative;
  height: 18px;
}

.figurine-progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  transform: translateY(-50%);
  background: #CBB9DB;
  border-radius: 999px;
}

.figurine-progress-line--active {
  right: auto;
  width: var(--p);
  background: linear-gradient(90deg, #673B77 0%, #CBB9DB 100%);
  transition: width 0.4s ease;
}

.figurine-progress-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}

.figurine-progress-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #CBB9DB;
  box-shadow: 0 0 0 3px #CBB9DB;
  transition: transform 0.3s ease, background 0.3s ease;
}

.figurine-progress-dot.is-active {
  background: #673B77;
}

.figurine-progress-dot.is-complete {
  background: #673B77;
}

.figurine-progress-dot.is-upcoming {
  background: #FDC7DF;
}

.figurine-progress-dot.is-current {
  transform: scale(1.15);
}

@media (max-width: 600px) {
  .figurine-progress-title {
    font-size: 15px;
  }
}

/* === Prix dynamique du configurateur === */
.figurine-selection {
  text-align: right;
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 14px;
  color: #673B77;
  animation: fadeIn 0.3s ease;
}

.figurine-selection-label {
  margin-right: 6px;
  font-weight: 600;
}

.figurine-selection-value {
  font-weight: 600;
}

.figurine-option-grid__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.figurine-params-accordion {
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  padding: 12px 16px;
  background: #fff;
}

.figurine-params-accordion > summary {
  cursor: pointer;
  font-weight: 700;
  color: #673B77;
  list-style: none;
}

.figurine-params-accordion > summary::-webkit-details-marker {
  display: none;
}

.figurine-params-accordion[open] > summary {
  margin-bottom: 12px;
}

.figurine-params-accordion.figurine-params-accordion--plain {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.figurine-params-accordion.figurine-params-accordion--plain > summary {
  margin: 0;
}

.figurine-params-accordion.figurine-params-accordion--plain .figurine-option-grid__inner {
  gap: 0;
}

.figurine-option-grid__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.figurine-option-grid__label {
  font-weight: 800;
  color: #673B77;
  margin-top:12px;
}

.figurine-option-text{
  font-weight: 400;
  color: #673B77;
  margin-bottom:-10px!important;
}

.figurine-option-grid__value select,
.figurine-option-grid__value .ct-variation-swatches,
.figurine-option-grid__value .value {
  width: 100%;
}

.figurine-render-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.figurine-render-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #673B77;
  cursor: pointer;
  background: transparent;
}

.figurine-render-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #CBB9DB;
  border-radius: 10px;
  padding: 10px 16px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.figurine-render-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.figurine-render-option input:checked + span {
  color: #673B77;
  border-color: #673B77;
  background: #FDC7DF;
}

.figurine-render-option:hover span {
  border-color: #FDCC66;
}

@media (max-width: 700px) {
  .figurine-option-grid__inner {
    grid-template-columns: 1fr;
  }
}


.figurine-price {
  text-align: left;
  margin: 0px!important;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: left;
  column-gap: 12px;
  row-gap: 6px;
  font-weight: 700;
  font-size: 17px;
  animation: fadeIn 0.3s ease;
  width: 100%;
}

.variations_form .woocommerce-variation-price {
  display: none !important;
}

.figurine-price-label {
  color: #673B77;
  margin-right: 0;
  font-weight: 600;
}

.figurine-price-value {
  color: #673B77;
  font-weight: 800;
  font-size: 22px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}


.figurine-price.figurine-price--with-next {
  width: auto;
  margin-left: auto !important;
  animation: none;
}

.figurine-price.figurine-price--with-next .figurine-price-value {
  padding-bottom: 3px;
  border-bottom: 3px solid #FDC7DF;
}

.figurine-price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 16px;
}


/* Texte d'aide des sélections */
.figurine-help-text {
  margin: 6px 0 12px;
  font-size: 13px;
  color: #673B77;
}

.figurine-generation-remaining {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: #673B77;
  text-align: center;
}

#customer-dropzone .figurine-generation-remaining {
  width: 100%;
}

.figurine-generation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #CBB9DB;
  color: #673B77;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 800;
  line-height: 1.2;
}

.figurine-generation-badge--limit {
  background: #FDC7DF;
  color: #673B77;
}

.figurine-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}

.figurine-contact-submit {
  background: #673B77;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.figurine-contact-submit:hover {
  background: #673B77;
}

.figurine-contact-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.figurine-contact-submit.is-sent,
.figurine-contact-submit.is-sent:hover {
  background: #CBB9DB;
  color: #ffffff;
}

.figurine-contact-submit.is-sent[disabled] {
  opacity: 1;
}

.figurine-contact-status {
  order: 1;
  margin-right: auto;
  font-size: 13px;
  font-weight: 600;
  color: #673B77;
}

.figurine-contact-submit {
  order: 2;
}

.figurine-contact-channel-input {
  width: 100%;
  min-height: 32px;
  height: 36px;
  padding: 8px 12px;
  resize: none;
}

.figurine-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.figurine-contact-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.figurine-contact-channel-hint {
  margin-top: 4px;
  font-size: 13px;
  color: #673B77;
  font-weight: 500;
}

/* === Aperçu 2D généré === */
.figurine-preview {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  background: #CBB9DB;
  width: 100%;
  box-sizing: border-box;
}

.figurine-preview-row .figurine-preview-slot {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.figurine-preview-header {
  font-weight: 700;
  margin-bottom: 8px;
  color: #673B77;
}

.figurine-preview-body {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px dashed #CBB9DB;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.figurine-preview-placeholder {
  color: #673B77;
  font-size: 14px;
}

.figurine-preview-progress {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
}

.figurine-preview-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #CBB9DB;
  border-top-color: #673B77;
  animation: figurine-spin 1.2s linear infinite;
}

.figurine-preview-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #673B77;
}

.figurine-preview-progress-status {
  font-size: 12px;
  color: #673B77;
  text-align: center;
}

.figurine-preview.loading .figurine-preview-body {
  opacity: 0.7;
}

.figurine-preview.loading .figurine-preview-progress {
  display: flex;
}

.figurine-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.figurine-preview-gallery-slot {
  margin-bottom: 16px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes figurine-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Responsive mobile --- */
@media (max-width: 768px) {

  .figurine-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .figurine-nav button,
  .figurine-nav .single_add_to_cart_button {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 14px;
  }

  .figurine-nav-right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    order: 1;
  }
  
  .figurine-nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    order: 2;
  }


  .figurine-price {
    justify-content: center;
    text-align: center;
    margin: 0;
    font-size: 1.25rem;
    grid-template-columns: auto auto;
    padding: 12px 16px;
  }

  .figurine-price.figurine-price--with-next {
    width: 100%;
    margin-left: 0 !important;
  }

  .figurine-selection {
    text-align: center;
    font-size: 1.05rem;
  }

  .figurine-price-label {
    font-size: 1.1rem;
  }

  .figurine-price-value {
    font-size: 1.5rem;
  }

  .figurine-cart-zone {
    align-items: center;
    gap: 12px;
  }

  .figurine-cart-controls {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .figurine-cart-zone .retry-generation {
    text-align: center;
  }

  .figurine-cart-zone .quantity,
  .figurine-cart-zone .single_add_to_cart_button {
    width: 100%;
    margin: 0;
    flex-basis: 100%;
  }

  .figurine-nav button.prev-step {
    order: 1;
  }

  .figurine-nav .next-step,
  .figurine-cart-zone {
    order: 2;
  }
}

/* Première étape : bouton suivant centré sans encart blanc derrière. */
.single-product.product_cat-figurine-personnalisee form.cart[data-figurine-current-step="0"] .figurine-nav,
.figurine-simulator form.cart[data-figurine-current-step="0"] .figurine-nav {
  justify-content: center;
  background: transparent;
  box-shadow: none;
}

.single-product.product_cat-figurine-personnalisee form.cart[data-figurine-current-step="0"] .figurine-nav-right,
.figurine-simulator form.cart[data-figurine-current-step="0"] .figurine-nav-right {
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.single-product.product_cat-figurine-personnalisee form.cart[data-figurine-current-step="0"] .figurine-nav .next-step,
.figurine-simulator form.cart[data-figurine-current-step="0"] .figurine-nav .next-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
}

body.single-product.product_cat-figurine-personnalisee .acf-block-upload,
.figurine-simulator .acf-block-upload {
  max-width: 650px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Bouton “Étape précédente” — plus discret mais aligné */
.figurine-nav .prev-step {
  background: #CBB9DB;
  color: #673B77;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease;
}

.figurine-nav .prev-step:hover {
  background: #CBB9DB;
  color: #673B77;
}

/* Désactivé : encore plus doux */
.figurine-nav .prev-step[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.ct-product-add-to-cart.figurine-preview-loading {
  position: relative;
}

.ct-product-add-to-cart.figurine-preview-loading::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--figurine-loading-bottom) 0;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 0px 0px 12px 12px;
  z-index: 5;
  pointer-events: none;
}

.ct-product-add-to-cart.figurine-preview-loading::after {
  content: var(--figurine-loading-text, "Figurpaint est 100% français");
  position: absolute;
  inset: 0 0 var(--figurine-loading-bottom) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 0 24px;
  z-index: 6;
  pointer-events: none;
}

.woocommerce-Price-amount {
  font-size: 16px !important;
}

.figurine-price-value del {
  margin-top: 0;
  font-weight: 400 !important;
  color: #CBB9DB;
  text-decoration: line-through;
  display: inline-flex;
  font-size: clamp(18px, 2.2vw, 24px);
}

.figurine-price-value ins {
  color: #673B77 !important;    /* accent principal */
  font-weight: 800 !important;  /* gras fort */
  text-decoration: none !important;
  display: inline-flex;
  font-size: clamp(28px, 3.2vw, 38px);
}

/* --- Désactive explicitement tout badge promo Saint Valentin restant --- */
.figurine-price .figurine-price-value::after {
  content: none !important;
  display: none !important;
}

.figurine-price-value ins {
  animation: pulsePrice 2s infinite ease-in-out;
}

@keyframes pulsePrice {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* === UPLOAD === */
#customer-dropzone {
  position: relative;
  z-index: 1;
}

#customer-dropzone.is-dragover {
  border-color: #673B77;
  background: #CBB9DB;
  box-shadow: 0 0 0 3px rgba(76, 68, 82, 0.12);
}

#customer-dropzone .dz-instructions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#customer-dropzone .dz-icon {
  width: 66px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(180deg, #CBB9DB 0%, #CBB9DB 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.08);
}

#customer-dropzone .dz-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.dz-hint--error {
  color: #673B77!important;
  font-weight: 600;
}

.figurine-preview {
  margin-top: 16px;
  border: 1px dashed #CBB9DB;
  border-radius: 12px;
  padding: 18px;
  background: #CBB9DB;
}

.figurine-preview__title {
  font-weight: 700;
  margin-bottom: 4px;
  color: #673B77;
}

.figurine-preview__helper {
  margin: 0 0 6px;
  color: #673B77;
  font-size: 13px;
}

.figurine-preview__status {
  font-weight: 600;
  color: #673B77;
  min-height: 20px;
}

.figurine-preview__image {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.figurine-preview__image img {
  display: block;
  width: 100%;
  height: auto;
}

#customer-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* Zone des vignettes */
#dz-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 3;
}

.dz-thumb {
  position: relative;
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.dz-thumb:hover {
  transform: scale(1.05);
}

.dz-thumb.upload-error {
  outline: 2px solid #673B77;
  opacity: 0.75;
}

.dz-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bouton supprimer */
.dz-thumb .dz-remove {
  position: absolute;
  top: 3px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 4;
}

.dz-thumb .dz-remove:hover {
  background: #673B77;
}

/* Animation de chargement pendant upload */
.dz-thumb.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dz-thumb.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid #673B77;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 5;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Éléments du configurateur au-dessus de tout */
.variation-step,
.figurine-nav,
.figurine-price,
.figurine-progress {
  position: relative;
  z-index: 10;
}

/* === Bloc "Aperçu avant fabrication" === */
.figurine-preview-info {
  text-align: left;
  padding: 15px 18px;
  margin-top: 15px;
  font-size: 15px;
  color: #673B77;
  line-height: 1.5;
}

.figurine-preview-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #673B77;
}

.figurine-preview-info p {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
}

#figurine-style-select {
  width: 100%;
  max-width: 320px;
  margin: 4px 0;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #CBB9DB;
  background-color: #fff;
  color: #673B77;
  font-size: 14px;
  font-weight: 600;
}

.figurine-style-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.figurine-style-title-text {
  font-size: 13px;
  font-weight: 600;
  color: #673B77;
}

.figurine-style-thumb--photo {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23e6eaf0'/%3E%3Cstop offset='1' stop-color='%23cbd3df'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='160' rx='18' fill='url(%23g1)'/%3E%3Cpath d='M20 118l38-46 28 30 24-28 30 44H20z' fill='%23ffffff' fill-opacity='0.85'/%3E%3Ccircle cx='52' cy='52' r='16' fill='%23ffffff' fill-opacity='0.9'/%3E%3C/svg%3E");
}

.figurine-style-thumb--ghibli {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23f6d7c8'/%3E%3Cstop offset='1' stop-color='%23f2b49a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='160' rx='18' fill='url(%23g2)'/%3E%3Cpath d='M18 120l42-50 26 30 26-32 30 52H18z' fill='%23ffffff' fill-opacity='0.85'/%3E%3Ccircle cx='56' cy='48' r='16' fill='%23ffffff' fill-opacity='0.9'/%3E%3C/svg%3E");
}

.figurine-style-thumb--bobblehead {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cdefs%3E%3ClinearGradient id='g3' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23d7f0f5'/%3E%3Cstop offset='1' stop-color='%239fd0df'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='160' rx='18' fill='url(%23g3)'/%3E%3Cpath d='M20 120l34-40 30 32 26-30 30 38H20z' fill='%23ffffff' fill-opacity='0.85'/%3E%3Ccircle cx='50' cy='52' r='16' fill='%23ffffff' fill-opacity='0.9'/%3E%3C/svg%3E");
}

.figurine-style-thumb--manga {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cdefs%3E%3ClinearGradient id='g4' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23f7f2c8'/%3E%3Cstop offset='1' stop-color='%23efd69a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='160' rx='18' fill='url(%23g4)'/%3E%3Cpath d='M22 120l34-42 30 34 26-30 30 38H22z' fill='%23ffffff' fill-opacity='0.85'/%3E%3Ccircle cx='54' cy='50' r='16' fill='%23ffffff' fill-opacity='0.9'/%3E%3C/svg%3E");
}

.figurine-upload-note {
  margin-top: 12px;
  padding: 0px 0px;
  color: #673B77;
  font-size: 12px;
  line-height: 1.4;
}

.figurine-upload-note__title {
  font-weight: 700;
  margin-bottom: 0px;
}

.figurine-upload-note__text {
  margin: 0;
}

.figurine-retry-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.figurine-retry-modal {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.figurine-retry-modal h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.figurine-retry-modal p {
  margin: 0;
  color: #673B77;
  line-height: 1.45;
}

.figurine-retry-modal-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.figurine-retry-modal-actions .button,
.figurine-retry-modal-actions .button.button-primary {
  background: #CBB9DB;
  border-color: #CBB9DB;
  color: #fff;
}

.figurine-retry-modal-actions .button:hover,
.figurine-retry-modal-actions .button:focus,
.figurine-retry-modal-actions .button.button-primary:hover,
.figurine-retry-modal-actions .button.button-primary:focus {
  background: #CBB9DB;
  border-color: #CBB9DB;
  color: #fff;
}


.figurine-limit-inline-message {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #673B77;
  text-align: center;
}



#customer-dropzone.figurine-dropzone--limit-reached {
  border-style: dashed;
}

#customer-dropzone.figurine-dropzone--limit-reached .figurine-upload-intro,
#customer-dropzone.figurine-dropzone--limit-reached .dz-icon,
#customer-dropzone.figurine-dropzone--limit-reached .dz-button,
#customer-dropzone.figurine-dropzone--limit-reached .figurine-upload-status,
#customer-dropzone.figurine-dropzone--limit-reached .dz-hint,
#customer-dropzone.figurine-dropzone--limit-reached #dz-previews,
#customer-dropzone.figurine-dropzone--limit-reached #customer-file,
#customer-dropzone.figurine-dropzone--limit-reached #dz-msg,
#customer-dropzone.figurine-dropzone--limit-reached .figurine-usage-note-extra {
  display: none !important;
}
.figurine-limit-inline-actions {
  position: relative;
  z-index: 3;
  width: min(100%, 560px);
  margin-top: 12px;
}

#customer-dropzone .figurine-limit-inline-actions .figurine-limit-contact-form {
  margin: 0 auto;
}

.figurine-usage-note {
  margin-top: 8px;
  font-size: 14px;
  color: #673B77;
}

.figurine-usage-note-sub {
  margin-top: 4px;
  font-size: 14px;
  color: #673B77;
}

.figurine-usage-note-extra {
  margin-top: 4px;
  font-size: 14px;
  color: #673B77;
}

.figurine-limit-response-time {
  margin: 4px 0 0;
  font-size: 14px;
  color: #673B77;
  text-align: center;
}

.figurine-limit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.65);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.figurine-limit-card {
  background: #fff;
  border-radius: 14px;
  max-width: 620px;
  width: 100%;
  padding: 24px;
}

.figurine-limit-contact-form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.figurine-limit-contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.figurine-limit-contact-methods label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.figurine-limit-contact-form input[type="text"],
.figurine-limit-contact-form textarea,
.figurine-limit-contact-form input[type="file"] {
  width: 100%;
}

.figurine-limit-upload-label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #673B77;
}

/* Barre d'objectifs coupon (usage total) */
.figurine-reward-progress {
  margin: 0 auto 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 16px 30px;
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  background: #fff;
  overflow: visible;
}

.figurine-reward-tracks {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}

.figurine-reward-track__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #673B77;
}

.figurine-reward-progress__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  margin-bottom: 14px;
}

.figurine-reward-progress__head-main {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.figurine-reward-progress__status {
  color: #673B77;
  font-weight: 600;
  white-space: nowrap;
}

.figurine-reward-progress__track {
  position: relative;
  height: 20px;
  border-radius: 999px;
  overflow: visible;
  margin-top: 2px;
}

.figurine-reward-progress__fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 10px;
  background: linear-gradient(90deg, #FDC7DF, #FDC7DF);
  transition: width 0.3s ease;
  border-radius: 999px;
  z-index: 1;
}

.figurine-reward-progress__ticks {
  position: absolute;
  inset: auto 0 0 0;
  height: 10px;
  border-radius: 999px;
  background: #CBB9DB;
  z-index: 0;
}

.figurine-reward-progress__tick {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: rgba(76, 68, 82, 0.28);
}

.figurine-reward-progress__tick.is-reached {
  background: #673B77;
}

.figurine-reward-progress__tick.is-milestone {
  opacity: 0;
}

.figurine-reward-progress__milestones {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  pointer-events: none;
}

.figurine-reward-progress__milestone-dot {
  position: absolute;
  top: 16px;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #FDCC66;
  background: #FDCC66;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  outline: none;
  pointer-events: auto;
}

.figurine-reward-progress__milestone-dot.is-edge-start {
  transform: translate(0, -50%);
}

.figurine-reward-progress__milestone-dot.is-edge-end {
  transform: translate(-100%, -50%);
}

.figurine-reward-progress__milestone-dot.is-edge-start::before {
  left: 0;
  transform: translateX(0);
}

.figurine-reward-progress__milestone-dot.is-edge-end::before {
  left: auto;
  right: 0;
  transform: translateX(0);
}

.figurine-reward-progress__milestone-dot.is-edge-start::after {
  left: 14px;
  transform: translateX(0);
}

.figurine-reward-progress__milestone-dot.is-edge-end::after {
  left: auto;
  right: 14px;
  transform: translateX(0);
}

.figurine-reward-progress__milestone-dot::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 180px;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #673B77;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  white-space: pre-line;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.figurine-reward-progress__milestone-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #673B77;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.figurine-reward-progress__milestone-dot:hover::before,
.figurine-reward-progress__milestone-dot:hover::after,
.figurine-reward-progress__milestone-dot:focus::before,
.figurine-reward-progress__milestone-dot:focus::after,
.figurine-reward-progress__milestone-dot.is-active::before,
.figurine-reward-progress__milestone-dot.is-active::after {
  opacity: 1;
}

.figurine-reward-progress__milestone-dot.is-reached {
  background: #FDCC66;
  border-color: #FDCC66;
}

.figurine-reward-progress__milestone-value {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #673B77;
  line-height: 1;
}

.figurine-reward-progress__milestone-dot.is-edge-start .figurine-reward-progress__milestone-value {
  left: 0;
  transform: translateX(0);
}

.figurine-reward-progress__milestone-dot.is-edge-end .figurine-reward-progress__milestone-value {
  left: 100%;
  transform: translateX(-100%);
}

.figurine-reward-progress__legend {
  font-size: 12px;
  color: #673B77;
}

.figurine-reward-progress__rewards {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.figurine-reward-progress__reward-item {
  border: 1px solid #CBB9DB;
  border-radius: 10px;
  padding: 8px 10px;
  background: #CBB9DB;
  color: #673B77;
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.figurine-reward-progress__reward-item.is-reached {
  opacity: 1;
  background: #CBB9DB;
  border-color: #CBB9DB;
}

.figurine-reward-progress__reward-title {
  font-size: 13px;
  font-weight: 700;
  color: #673B77;
  margin-bottom: 4px;
}

.figurine-reward-progress__reward-details {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.figurine-reward-progress__reward-details li {
  line-height: 1.35;
}

.figurine-reward-progress__level-zero-accordion {
  margin-top: 10px;
  border: 1px solid #CBB9DB;
  border-radius: 10px;
  background: #fff;
}

.figurine-reward-progress__level-zero-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  color: #673B77;
  padding: 10px 12px;
}

.figurine-reward-progress__validation-lock {
  display: none;
  margin-left: auto;
  font-size: 14px;
  line-height: 1;
}

.figurine-reward-progress__level-zero-summary::-webkit-details-marker {
  display: none;
}

.figurine-reward-progress__level-zero-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid #673B77;
  border-bottom: 2px solid #673B77;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.figurine-reward-progress__level-zero-accordion[open] .figurine-reward-progress__level-zero-arrow {
  transform: rotate(225deg);
}

.figurine-reward-progress__validation-accordion.is-locked > .figurine-reward-progress__level-zero-summary {
  cursor: not-allowed;
  opacity: 0.75;
}

.figurine-reward-progress__validation-accordion.is-locked > .figurine-reward-progress__level-zero-summary .figurine-reward-progress__validation-lock {
  display: inline-flex;
}

.figurine-reward-progress__validation-accordion.is-locked .figurine-reward-progress__level-zero-arrow {
  opacity: 0.4;
}

.figurine-reward-progress__level-zero-body {
  border-top: 1px solid #CBB9DB;
  padding: 10px 12px 12px;
  display: grid;
  gap: 10px;
}

.figurine-reward-progress__level-zero-description {
  margin: 0;
  color: #673B77;
  font-size: 13px;
}

.figurine-reward-progress__level-zero-form {
  display: grid;
  gap: 10px;
}

.figurine-reward-progress__level-zero-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #673B77;
}

.figurine-reward-progress__level-zero-form input[type="file"],
.figurine-reward-progress__level-zero-form select,
.figurine-reward-progress__level-zero-form textarea {
  width: 100%;
  border: 1px solid #CBB9DB;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  font-size: 13px;
}

.figurine-reward-progress__level-zero-form > button[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: #673B77;
  color: #fff;
  padding: 9px 14px;
  font-weight: 700;
  width: fit-content;
  cursor: pointer;
}

.figurine-reward-progress__level-zero-form > button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.fspg-bogo-cart-selector {
  margin-top: 1.4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fspg-bogo-cart-header h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.15;
  color: #673B77;
  font-weight: 800;
}

.fspg-bogo-cart-header p {
  margin: 0.6rem 0 1.2rem;
  color: #673B77;
  font-size: 1.05rem;
}

.fspg-bogo-cart-list {
  display: grid;
  gap: 0.9rem;
}

.fspg-bogo-cart-block {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.fspg-bogo-cart-block-top {
  display: none;
}

.fspg-bogo-slider-label {
  display: block;
  margin: 0 0 0.9rem;
  font-size: 1.12rem;
  color: #673B77;
}

.fspg-bogo-cart-size-price {
  font-weight: 700;
}

.fspg-bogo-carousel-shell {
  border: 2px solid #CBB9DB;
  border-radius: 24px;
  background: #CBB9DB;
  padding: 0.7rem 0.55rem 0.55rem;
}

.fspg-bogo-choice-picker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.fspg-bogo-arrow {
  width: 50px;
  height: 50px;
  border: 2px solid #CBB9DB;
  border-radius: 999px;
  background: #CBB9DB;
  color: #673B77;
  font-size: 40px;
  line-height: 0.75;
  cursor: pointer;
  box-shadow: 0 8px 20px -16px rgba(73, 34, 154, 0.55);
}

.fspg-bogo-choice-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (3 * 0.55rem)) / 4);
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 0.1rem 0.05rem 0.15rem;
}

.fspg-bogo-choice-track::-webkit-scrollbar {
  display: none;
}

.fspg-bogo-choice {
  border: 2px solid #CBB9DB;
  border-radius: 22px;
  padding: 0.45rem;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.fspg-bogo-choice::before,
.fspg-bogo-choice::after {
  content: none !important;
  display: none !important;
}

.fspg-bogo-choice img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.45rem;
}

.fspg-bogo-choice span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.15;
  color: #673B77;
  font-weight: 700;
  padding: 0 0.14rem 0.14rem;
}

.fspg-bogo-choice:hover {
  border-color: #CBB9DB;
}

.fspg-bogo-choice.is-active {
  border-color: #673B77;
  box-shadow: 0 18px 24px -20px rgba(62, 29, 140, 0.82);
}

.fspg-bogo-selected-summary {
  margin: 0.8rem 0 0.55rem;
  color: #673B77;
  font-size: 0.98rem;
  font-weight: 700;
}

.fspg-bogo-selected-summary.is-hidden {
  display: none;
}

.fspg-bogo-add-btn {
  width: 100%;
  min-height: 60px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.1rem;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #FDCC66 0%, #673B77 43%, #673B77 100%);
  box-shadow: 0 16px 26px -24px rgba(66, 30, 157, 0.95);
  margin-top: 0.75rem;
}

.fspg-bogo-feedback {
  margin-top: 0.45rem;
  color: #673B77;
  font-size: 0.88rem;
  min-height: 1.2em;
}

.fspg-bogo-add-to-cart-note {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: #673B77;
}

.fspg-bogo-disclaimer {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #673B77;
}

.fspg-bogo-disclaimer-cart {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #FDCC66;
}

.fspg-bogo-mini-cart-note {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #673B77;
}

.fspg-bogo-empty {
  margin: 0;
}

.fspg-bogo-promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #FDCC66;
  color: #673B77;
  border: 1px solid #FDCC66;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.woocommerce ul.products li.product {
  position: relative;
}

.woocommerce ul.products li.product .fspg-bogo-promo-badge:not(.fspg-bogo-promo-badge-single) {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 5;
}

.woocommerce ul.products li.product figure {
  position: relative;
}

.woocommerce ul.products li.product figure + .fspg-bogo-promo-badge:not(.fspg-bogo-promo-badge-single) {
  top: calc(0.7rem + var(--theme-frame-size, 0px));
}

.woocommerce .related ul.products li.product .fspg-bogo-promo-badge:not(.fspg-bogo-promo-badge-single) {
  top: 0.7rem;
  left: 0.7rem;
}

.fspg-bogo-promo-badge-single {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 30;
}

.single-product div.product {
  position: relative;
}

.fspg-bogo-qty-locked,
.fspg-bogo-offered-label {
  font-weight: 600;
}

@media (max-width: 991px) {
  .fspg-bogo-choice-track {
    grid-auto-columns: calc((100% - (3 * 0.55rem)) / 4);
  }
}

@media (max-width: 640px) {
  .fspg-bogo-cart-selector {
    padding: 0.8rem;
    border-radius: 0;
  }

  .fspg-bogo-cart-header h2 {
    font-size: 1.45rem;
  }

  .fspg-bogo-cart-header p {
    font-size: 0.95rem;
  }

  .fspg-bogo-choice-track {
    grid-auto-columns: calc((100% - (1 * 0.55rem)) / 2);
  }

  .fspg-bogo-arrow {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .fspg-bogo-add-btn {
    min-height: 52px;
    font-size: 1rem;
  }
}

.figurine-reward-progress__level-zero-status {
  font-size: 12px;
  color: #673B77;
}

.figurine-reward-progress__level-zero-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #673B77;
  font-weight: 700;
  background: #CBB9DB;
  border: 1px solid #CBB9DB;
  border-radius: 999px;
  padding: 8px 12px;
  width: fit-content;
}

.figurine-reward-progress__level-zero-success-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #673B77;
  position: relative;
  flex-shrink: 0;
}

.figurine-reward-progress__level-zero-success-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* === FIX UCSS — étoiles avis / notation === */
body.single-product .star-rating,
body.single-product .woocommerce .star-rating {
  position: relative !important;
  display: inline-block !important;
  width: 5.4em !important;
  height: 1em !important;
  line-height: 1 !important;
  overflow: hidden !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
}

body.single-product .star-rating::before,
body.single-product .woocommerce .star-rating::before {
  content: "★★★★★" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  color: #CBB9DB !important;
  display: block !important;
}

body.single-product .star-rating span,
body.single-product .woocommerce .star-rating span {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 1em !important;
  overflow: hidden !important;
  display: block !important;
  padding-top: 1.5em !important;
}

body.single-product .star-rating span::before,
body.single-product .woocommerce .star-rating span::before {
  content: "★★★★★" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  color: #FDCC66 !important;
  display: block !important;
}

/* === FIX UCSS — bandeau cookies Blocksy === */
body .container:has(.ct-cookies-content),
body .ct-cookies-consent,
body .ct-cookie-consent,
body .ct-cookies {
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 999999 !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

body .ct-cookies-content {
  margin: 0 !important;
  color: #673B77333 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

body .ct-button-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

body .ct-cookies-accept-button,
body .ct-cookies-decline-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  border: none !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

body .ct-cookies-accept-button {
  background: #673B77 !important;
  color: #ffffff !important;
}

body .ct-cookies-decline-button {
  background: #CBB9DB !important;
  color: #673B77333 !important;
}

@media (max-width: 768px) {
  body .container:has(.ct-cookies-content),
  body .ct-cookies-consent,
  body .ct-cookie-consent,
  body .ct-cookies {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    padding: 14px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
  }

  body .ct-button-group {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  body .ct-cookies-accept-button,
  body .ct-cookies-decline-button {
    flex: 1 1 120px !important;
  }
}

.figurine-upload-status {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #CBB9DB;
  color: #673B77;
  font-size: 14px;
  font-weight: 600;
}

#customer-dropzone[data-upload-status="uploading"] .figurine-upload-status {
  background: #FDCC66;
  color: #673B77;
}

#customer-dropzone[data-upload-status="ready"] .figurine-upload-status {
  background: #CBB9DB;
  color: #673B77;
}

#customer-dropzone[data-upload-status="error"] .figurine-upload-status {
  background: #FDC7DF;
  color: #673B77;
}

/* === Étape 2 : personnalisation premium inspirée de la maquette === */
.figurine-progress {
  max-width: 1440px;
  margin: 0 auto 18px;
  text-align: center;
}

.figurine-progress-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.figurine-progress-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #673B77;
  font-weight: 700;
  min-width: 0;
}

.figurine-progress-step:not(:first-child)::before {
  content: "";
  position: absolute;
  right: calc(50% + 92px);
  left: calc(-50% + 92px);
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #CBB9DB;
}

.figurine-progress-step.is-active,
.figurine-progress-step.is-complete {
  color: #673B77;
}

.figurine-progress-step.is-active:not(:first-child)::before,
.figurine-progress-step.is-complete:not(:first-child)::before {
  background: linear-gradient(90deg, #673B77, #673B77);
}

.figurine-progress-step__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #CBB9DB;
  color: inherit;
  box-shadow: 0 2px 8px rgba(83, 45, 83, 0.12);
}

.figurine-progress-step.is-active .figurine-progress-step__number {
  color: #fff;
  background: linear-gradient(135deg, #673B77, #673B77);
}

.figurine-progress-title {
  margin: 0;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
}

.figurine-progress-title::after {
  content: " ✧";
  color: #673B77;
}

.figurine-progress-subtitle {
  margin: 8px 0 0;
  color: #673B77;
  font-size: 17px;
}

.figurine-progress-track {
  display: none;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] {
  max-width: 1480px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(360px, 1fr);
  gap: 24px;
  column-gap: 24px;
  align-items: start;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-progress,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-nav,
.figurine-simulator form.cart[data-figurine-current-step="1"] .single_variation_wrap {
  grid-column: 1 / -1;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] table.variations {
  grid-column: 1;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px 20px;
  border-spacing: 0 12px;
  overflow: visible;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] table.variations tbody,
.figurine-simulator form.cart[data-figurine-current-step="1"] table.variations tr,
.figurine-simulator form.cart[data-figurine-current-step="1"] table.variations th,
.figurine-simulator form.cart[data-figurine-current-step="1"] table.variations td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] table.variations tr[data-figurine-step="2"] {
  background: #fff;
  border-inline: 1px solid #CBB9DB;
  box-shadow: 0 12px 35px rgba(63, 45, 70, 0.06);
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-section-row {
  margin-top: 12px;
  padding: 20px 24px 6px;
  border-top: 1px solid #CBB9DB;
  border-radius: 16px 16px 0 0;
  background: #fff;
}


.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-taille-title {
  margin-top: 0;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-section-row + tr {
  margin-bottom: 12px;
  padding: 4px 24px 22px;
  border-bottom: 1px solid #CBB9DB;
  border-radius: 0 0 16px 16px;
  background: #fff;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-section-row .figurine-option-text {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-section-row .figurine-option-text::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FDC7DF;
  color: #673B77;
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-render-title .figurine-option-text::before { content: "1"; }
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-taille-title .figurine-option-text::before { content: "2"; }
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-nb-title .figurine-option-text::before { content: "3"; }
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-style-title .figurine-option-text::before { content: "4"; }
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-color-title .figurine-option-text::before { content: "5"; }

.figurine-simulator form.cart[data-figurine-current-step="1"] select {
  min-height: 54px;
  border: 1px solid #CBB9DB;
  border-radius: 14px;
  padding: 0 18px;
  background: #fff;
  color: #673B77;
  font-weight: 600;
}

.figurine-style-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.figurine-style-card,
.figurine-render-option {
  min-height: 86px;
}

.figurine-style-card {
  position: relative;
  cursor: pointer;
}

.figurine-style-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.figurine-style-card span,
.figurine-render-option span {
  width: 100%;
  min-height: 100%;
  justify-content: flex-start;
  border-color: #CBB9DB;
  border-radius: 14px;
  padding: 18px 20px;
}

.figurine-style-card span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 2px solid #CBB9DB;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.figurine-style-card strong {
  color: #673B77;
  font-size: 16px;
}

.figurine-style-card small {
  color: #673B77;
  font-weight: 500;
  line-height: 1.35;
}

.figurine-style-card input:checked + span,
.figurine-render-option input:checked + span {
  border-color: #673B77;
  background: linear-gradient(135deg, #fff, #FDC7DF);
  box-shadow: inset 0 0 0 1px rgba(155, 73, 152, .12);
}

.figurine-render-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.figurine-step2-aside {
  display: none;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-step2-aside {
  display: block;
  grid-column: 2;
  position: sticky;
  top: 24px;
}

.figurine-step2-preview-card {
  padding: 18px;
  border: 1px solid #CBB9DB;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(64, 39, 65, .08);
}

.figurine-step2-summary__title {
  margin: 0 0 14px;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.figurine-step2-summary {
  margin-top: 0;
}

.figurine-step2-summary.figurine-ready-recap {
  background: #fff;
}

.figurine-step2-summary__list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.figurine-step2-summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #673B77;
}

.figurine-step2-summary__list strong {
  color: #673B77;
  text-align: right;
}

.figurine-step2-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 14px;
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.figurine-step2-trust span {
  padding: 10px 8px;
  text-align: center;
  color: #673B77;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.figurine-step2-trust span + span {
  border-left: 1px solid #CBB9DB;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-nav-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-items: stretch;
  width: 100%;
  max-width: none;
  gap: 14px;
  margin-left: 0;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .next-step {
  order: 2;
  background: linear-gradient(90deg, #673B77, #673B77);
  border-radius: 12px;
  min-height: 58px;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--with-next {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #F7DDAA;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 240, 0.94) 100%);
  box-shadow: 0 10px 26px rgba(103, 59, 119, 0.08);
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #F7DDAA;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #673B77;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--with-next .figurine-price-value {
  padding-bottom: 0;
  border-bottom: 0;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price-value .woocommerce-Price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  color: inherit;
  font-size: inherit !important;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price-value .woocommerce-Price-currencySymbol {
  display: inline !important;
  color: inherit;
  font-size: 0.78em;
  line-height: inherit;
}

@media (max-width: 980px) {
  .figurine-simulator form.cart[data-figurine-current-step="1"] {
    grid-template-columns: 1fr;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-step2-aside,
  .figurine-simulator form.cart[data-figurine-current-step="1"] table.variations {
    grid-column: 1;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-step2-aside {
    position: static;
  }

  .figurine-style-cards,
  .figurine-progress-steps {
    grid-template-columns: 1fr;
  }

  .figurine-progress-step:not(:first-child)::before {
    display: none;
  }
}

/* Ajustements étape 2 : titre compact, slider taille, styles complets et actions dans l'aperçu */
.figurine-progress-title {
  font-size: clamp(22px, 2.2vw, 32px);
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-option-text--with-badge {
  flex-wrap: wrap;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-option-text--with-badge em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #CBB9DB;
  color: #673B77;
  font-family: inherit;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-taille-title + tr {
  padding-top: 0;
}

.figurine-size-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.figurine-size-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  padding: 2px 0 6px;
}

.figurine-size-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 182px;
  padding: 0;
  border: 1px solid #CBB9DB;
  border-radius: 10px;
  background: #fff;
  color: #673B77;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(48, 42, 55, .05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.figurine-size-card:hover,
.figurine-size-card:focus-visible {
  border-color: #CBB9DB;
  box-shadow: 0 12px 28px rgba(111, 45, 111, .12);
  transform: translateY(-1px);
  outline: none;
}

.figurine-size-card.is-selected {
  border-color: #673B77;
  background: linear-gradient(135deg, #fff 0%, #FDC7DF 58%, #FDC7DF 100%);
  box-shadow: 0 14px 30px rgba(111, 45, 111, .16);
}

.figurine-size-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 14px;
  border-radius: 0 8px 0 8px;
  background: linear-gradient(135deg, #673B77, #673B77);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  z-index: 2;
}

.figurine-size-card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  flex: 1 1 auto;
  padding: 22px 18px 16px;
}

.figurine-size-card__content {
  min-width: 0;
}

.figurine-size-card__size {
  display: block;
  margin-bottom: 8px;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.figurine-size-card__title {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.figurine-size-card__description {
  display: block;
  max-width: 210px;
  color: #673B77;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.28;
}

.figurine-size-card__check {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #673B77;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.figurine-size-card.is-selected .figurine-size-card__check {
  display: inline-flex;
}

.figurine-style-cards {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.figurine-style-card {
  min-height: 68px;
}

.figurine-style-card span {
  min-height: 68px;
  justify-content: center;
}

.figurine-style-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.figurine-choice-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #673B77;
}

.figurine-render-option span {
  gap: 12px;
}

.figurine-render-option strong {
  font-weight: 800;
}

.figurine-color-dot {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid rgba(72, 64, 75, .22);
  box-shadow: inset 0 1px 3px rgba(255,255,255,.65), 0 2px 7px rgba(61, 49, 72, .12);
}

.figurine-color-dot--white {
  background: #fff;
  border-color: rgba(103, 59, 119, .32);
}

.figurine-color-dot--rainbow {
  background: conic-gradient(#ff4d6d 0 16%, #ffad33 16% 32%, #ffe45e 32% 48%, #4cd964 48% 64%, #2f80ed 64% 82%, #9b51e0 82% 100%);
}

.figurine-color-dot--black {
  background: #111;
  border-color: rgba(255, 255, 255, .36);
}

.figurine-color-dot--marble {
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.98), rgba(255,255,255,0) 30%),
    linear-gradient(135deg, #f8f8f8 0 24%, #c9c9cf 25% 31%, #fff 32% 56%, #d9d9df 57% 63%, #f4f4f4 64% 100%);
}

.figurine-color-dot--gold {
  background: linear-gradient(135deg, #8f5f12 0%, #f6c85f 38%, #fff1a8 50%, #d49a24 68%, #8f5f12 100%);
  border-color: rgba(143, 95, 18, .45);
}


.figurine-offer-slot:empty {
  display: none;
}

.figurine-offer-slot .fpodm-offer-message,
.figurine-step1-aside-stack > .fpodm-offer-message {
  margin: 0;
}

.figurine-step2-preview-card > .figurine-offer-slot--step2,
.figurine-step3-side > .figurine-offer-slot--step3 {
  width: 100%;
}

.figurine-step2-preview-card > .figurine-offer-slot--step2 {
  margin-top: 22px;
}

.figurine-step3-side > .figurine-offer-slot--step3 {
  margin-top: 22px;
}

.figurine-offer-slot .fpodm-offer-message,
.figurine-step1-aside-stack > .fpodm-offer-message {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 20px;
  text-align: center;
}

.figurine-offer-slot .fpodm-offer-message .fpodm-offer-message__icon,
.figurine-step1-aside-stack > .fpodm-offer-message .fpodm-offer-message__icon {
  width: 52px;
  height: 52px;
}

.figurine-offer-slot .fpodm-offer-message .fpodm-offer-message__content,
.figurine-step1-aside-stack > .fpodm-offer-message .fpodm-offer-message__content {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.figurine-offer-slot .fpodm-offer-message .fpodm-offer-message__text,
.figurine-step1-aside-stack > .fpodm-offer-message .fpodm-offer-message__text {
  max-width: 34ch;
}

.figurine-offer-slot .fpodm-offer-message .fpodm-offer-message__text {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.32;
}

.figurine-offer-slot .fpodm-offer-message .fpodm-offer-message__counter,
.figurine-step1-aside-stack > .fpodm-offer-message .fpodm-offer-message__counter {
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  width: min(100%, 210px);
  padding: 10px 16px;
}

.figurine-offer-slot .fpodm-offer-message .fpodm-offer-message__counter strong,
.figurine-offer-slot .fpodm-offer-message .fpodm-offer-message__counter span,
.figurine-step1-aside-stack > .fpodm-offer-message .fpodm-offer-message__counter strong,
.figurine-step1-aside-stack > .fpodm-offer-message .fpodm-offer-message__counter span {
  margin: 0;
}

.figurine-step2-nav {
  margin: 22px 0 0 !important;
  padding: 14px;
  border: 1px solid #CBB9DB;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(65, 39, 67, .06);
}

.figurine-step2-nav .figurine-nav-right {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  align-items: stretch !important;
}

.figurine-step2-nav .figurine-price,
.figurine-step3-total.figurine-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #F7DDAA;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 240, 0.94) 100%);
  box-shadow: 0 10px 26px rgba(103, 59, 119, 0.08);
}

.figurine-step2-nav .figurine-price-label,
.figurine-step3-total.figurine-price .figurine-price-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #F7DDAA;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #673B77;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.figurine-step2-nav .figurine-price-value,
.figurine-step3-total.figurine-price .figurine-price-value {
  justify-content: flex-end;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  letter-spacing: -0.03em;
}

.figurine-step2-nav .figurine-price.figurine-price--with-next .figurine-price-value,
.figurine-step3-total.figurine-price.figurine-price--with-next .figurine-price-value {
  padding-bottom: 0;
  border-bottom: 0;
}

.figurine-step2-nav .next-step {
  width: 100%;
  min-height: 56px;
  justify-content: center;
}

@media (max-width: 560px) {
  .figurine-size-slider,
  .figurine-step2-nav .figurine-nav-right {
    grid-template-columns: 1fr !important;
  }

  .figurine-size-card__body {
    grid-template-columns: 1fr;
  }
}

/* Ajustements choix configurateur : flèche personnes, styles repliables et cartes uniformes. */
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-people-choice-row .value {
  position: relative;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-people-choice-select,
.figurine-simulator form.cart[data-figurine-current-step="1"] select[name="figurine_people_choice"],
.figurine-simulator form.cart[data-figurine-current-step="1"] select[name="attribute_pa_nombre-de-personnes"],
.figurine-simulator form.cart[data-figurine-current-step="1"] select[name="pa_nombre-de-personnes"] {
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23673B77' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-position: calc(100% - 18px) 50%;
  background-size: 22px 22px;
  background-repeat: no-repeat;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] select[name="figurine_people_choice"] {
  padding: 0 52px 0 18px;
}


/* Personnes : liste visuelle premium synchronisée avec le select natif. */
.figurine-people-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.figurine-people-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  width: 100%;
  padding: 2px 0 6px;
}

.figurine-people-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px 42px 16px 16px;
  border: 1px solid #CBB9DB;
  border-radius: 14px;
  background: #fff;
  color: #673B77;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(48, 42, 55, .05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.figurine-people-card:hover,
.figurine-people-card:focus-visible {
  border-color: #673B77;
  box-shadow: 0 12px 28px rgba(111, 45, 111, .12);
  transform: translateY(-1px);
  outline: none;
}

.figurine-people-card.is-selected {
  border-color: #673B77;
  background: linear-gradient(135deg, #fff 0%, #FDC7DF 58%, #FDC7DF 100%);
  box-shadow: 0 14px 30px rgba(111, 45, 111, .16);
}


.figurine-people-card__content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.figurine-people-card__content strong {
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.figurine-people-card__content span {
  color: #673B77;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.figurine-people-card__check {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #673B77;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.figurine-people-card.is-selected .figurine-people-card__check {
  display: inline-flex;
}

.figurine-style-cards:not(.is-expanded) .figurine-style-card--extra {
  display: none;
}

.figurine-style-toggle {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 14px auto 0;
  padding: 10px 16px;
  border: 1px solid #CBB9DB;
  border-radius: 999px;
  background: #fff;
  color: #673B77;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(66, 39, 72, .06);
}

.figurine-style-toggle:hover,
.figurine-style-toggle:focus-visible {
  border-color: #673B77;
  outline: none;
}

.figurine-style-toggle span {
  font-size: 18px;
  line-height: 1;
}

.figurine-style-card span {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.figurine-style-card strong {
  min-width: 0;
}

.figurine-style-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #673B77;
}

.figurine-render-row .figurine-render-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
}

.figurine-render-row .figurine-render-option,
.figurine-render-row .figurine-render-option span {
  min-height: 74px;
  height: 74px;
}

.figurine-render-row .figurine-render-option span {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.figurine-render-option--promo span {
  padding-right: 82px;
}

.figurine-render-option__badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 12px;
  border-radius: 0 12px 0 12px;
  background: linear-gradient(135deg, #FDCC66, #FDC7DF);
  color: #673B77;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.figurine-render-option input:checked + span .figurine-render-option__badge {
  background: #FDCC66;
  color: #673B77;
}

.figurine-render-option span {
  box-sizing: border-box;
}

.figurine-color-row .figurine-color-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
}

.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-color-row {
  border-bottom: 1px solid #CBB9DB;
  border-radius: 0 0 16px 16px;
}

.figurine-color-row .figurine-render-option,
.figurine-color-row .figurine-render-option span {
  min-height: 84px;
  height: 100%;
}

@media (max-width: 720px) {
  .figurine-render-row .figurine-render-options,
  .figurine-color-row .figurine-color-options {
    grid-template-columns: 1fr;
  }
}

/* Étape 1 : mise en page premium upload + conseils */
.figurine-simulator {
  --figurine-purple: #673B77;
  --figurine-purple-dark: #673B77;
  --figurine-purple-soft: #CBB9DB;
  --figurine-border: #CBB9DB;
  --figurine-muted: #673B77;
}

.figurine-simulator > .figurine-progress {
  margin-bottom: 24px;
}

.figurine-simulator .figurine-progress-title {
  min-height: 1.15em;
  font-size: clamp(42px, 3.4vw, 58px) !important;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.figurine-step1-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(340px, 1fr);
  gap: 24px;
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  align-items: stretch;
}

.figurine-step1-card,
.figurine-step1-aside {
  min-width: 0;
}

#customer-dropzone {
  height: 100%;
  min-height: 590px;
  padding: 18px 28px 22px;
  border: 1px solid var(--figurine-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(63, 45, 70, 0.07);
  box-sizing: border-box;
}

#customer-dropzone .dz-instructions {
  height: 100%;
  gap: 12px;
}

#customer-dropzone .figurine-generation-remaining {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, #CBB9DB 0%, #CBB9DB 100%);
  color: #673B77;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(135, 55, 131, 0.08);
}

#customer-dropzone .figurine-generation-remaining:empty::before {
  content: "Aperçus gratuits restants aujourd’hui : 1";
}

#customer-dropzone .figurine-upload-intro {
  color: #673B77;
  font-size: 16px;
  font-weight: 600;
}

#customer-dropzone .dz-icon,
#customer-dropzone .dz-button,
#customer-dropzone .figurine-upload-status {
  position: relative;
  z-index: 3;
}

#customer-dropzone .dz-icon {
  width: 128px;
  height: 128px;
  margin-top: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 35%, #CBB9DB 0%, #CBB9DB 58%, rgba(246, 231, 251, 0) 59%);
  box-shadow: none;
}

#customer-dropzone .dz-icon::before,
#customer-dropzone .dz-icon::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  background: #CBB9DB;
}

#customer-dropzone .dz-icon::before {
  width: 56px;
  height: 24px;
  left: -18px;
  bottom: 38px;
  box-shadow: -30px 6px 0 -7px #CBB9DB;
}

#customer-dropzone .dz-icon::after {
  width: 72px;
  height: 24px;
  right: -38px;
  bottom: 22px;
  box-shadow: -26px -4px 0 -8px #CBB9DB;
}

#customer-dropzone .dz-icon img {
  width: 58px;
  height: 58px;
  filter: hue-rotate(62deg) saturate(1.4);
}

#customer-dropzone .dz-button {
  min-width: min(360px, 82%);
  min-height: 58px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(90deg, #673B77 0%, #673B77 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(128, 45, 139, 0.22);
}

#customer-dropzone .figurine-upload-status {
  margin-top: -2px;
  padding: 10px 16px;
  border-radius: 9px;
  background: #CBB9DB;
  color: #673B77;
  font-size: 15px;
  font-weight: 700;
}

#customer-dropzone .figurine-usage-note {
  max-width: 720px;
  margin: 0 auto;
  color: #673B77;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

#customer-dropzone .dz-hint {
  color: #673B77;
  font-size: 14px;
  font-weight: 600;
}

#customer-dropzone .dz-instructions::after {
  content: "";
  position: absolute;
  inset: 106px 28px auto;
  height: 250px;
  border: 2px dashed #CBB9DB;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(253, 250, 255, 0.74), rgba(255, 255, 255, 0.9));
  pointer-events: none;
  z-index: -1;
}

.figurine-step1-assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: auto;
  border: 1px solid var(--figurine-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.figurine-step1-assurance__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  padding: 13px 16px;
  color: #673B77;
  text-align: left;
}

.figurine-step1-assurance__item + .figurine-step1-assurance__item {
  border-left: 1px solid var(--figurine-border);
}

.figurine-step1-assurance__item > span {
  grid-row: span 2;
  color: var(--figurine-purple);
  font-size: 26px;
  line-height: 1;
}

.figurine-step1-assurance__item strong {
  font-size: 14px;
  line-height: 1.2;
}

.figurine-step1-assurance__item small {
  color: #673B77;
  font-size: 12px;
  line-height: 1.3;
}

.figurine-step1-examples {
  width: 100%;
  padding: 10px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 35%);
}

.figurine-step1-examples__title {
  display: grid;
  grid-template-columns: auto max-content 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #673B77;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
}

.figurine-step1-examples__title::after {
  content: "";
  height: 1px;
  background: var(--figurine-border);
}

.figurine-step1-examples__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.figurine-step1-example {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 90px;
  padding-right: 8px;
  text-align: left;
}

.figurine-step1-example + .figurine-step1-example {
  border-left: 1px solid #CBB9DB;
  padding-left: 18px;
}

.figurine-step1-example img {
  width: 82px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #CBB9DB, #CBB9DB);
}

.figurine-step1-example strong {
  display: block;
  color: #673B77;
  font-size: 15px;
}

.figurine-step1-example small {
  color: #673B77;
  font-size: 13px;
  line-height: 1.25;
}

.figurine-step1-aside {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--figurine-border);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,251,.96));
  box-shadow: 0 20px 50px rgba(63, 45, 70, 0.06);
}

.figurine-step1-aside {
  padding: 0 0 14px;
}

.figurine-step1-aside h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.figurine-step1-timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0 0 0 64px;
  list-style: none;
  counter-reset: figurine-step1;
}

.figurine-step1-timeline li {
  position: relative;
  min-height: 78px;
  padding-left: 86px;
  counter-increment: figurine-step1;
}

.figurine-step1-timeline li::before {
  content: counter(figurine-step1);
  position: absolute;
  left: -44px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 3px solid #CBB9DB;
  border-radius: 999px;
  background: #fff;
  color: #673B77;
  font-weight: 800;
}

.figurine-step1-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -31px;
  top: 48px;
  bottom: -24px;
  border-left: 3px dashed #CBB9DB;
}

.figurine-step1-timeline__icon {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  box-sizing: border-box;
  border: 2px solid var(--figurine-purple, #673B77);
  border-radius: 999px;
  background: transparent;
  color: var(--figurine-purple, #673B77);
  font-size: 34px;
  box-shadow: none;
}

.figurine-step1-timeline strong,
.figurine-step1-timeline small {
  display: block;
}

.figurine-step1-timeline strong {
  padding-top: 8px;
  color: #673B77;
  font-size: 15px;
}

.figurine-step1-timeline small {
  margin-top: 4px;
  color: #673B77;
  font-size: 14px;
  line-height: 1.35;
}

.figurine-step1-aside--tips {
  padding: 16px 18px;
  border: 1px solid var(--figurine-border);
  border-radius: 12px;
  background: rgba(255,255,255,.55);
}

.figurine-step1-aside--tips h3 {
  margin-bottom: 12px;
}

.figurine-step1-aside--tips ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.figurine-step1-aside--tips li {
  position: relative;
  padding-left: 30px;
  color: #673B77;
  font-size: 15px;
  font-weight: 600;
}

.figurine-step1-aside--tips li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--figurine-purple);
  color: #fff;
  font-size: 12px;
}

.figurine-step1-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--figurine-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.figurine-step1-badges span {
  padding: 14px 10px;
  color: #673B77;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.figurine-step1-badges span + span {
  border-left: 1px solid var(--figurine-border);
}

.figurine-step1-badges strong {
  display: block;
  color: var(--figurine-purple);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 6px;
}

.figurine-simulator form.cart[data-figurine-current-step="0"] {
  max-width: 1480px;
  margin: 14px auto 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.figurine-simulator form.cart[data-figurine-current-step="0"] table.variations,
.figurine-simulator form.cart[data-figurine-current-step="0"] .single_variation_wrap,
.figurine-simulator form.cart[data-figurine-current-step="0"] .quantity {
  display: none !important;
}

.figurine-simulator form.cart[data-figurine-current-step="0"] .figurine-nav {
  margin-top: 0 !important;
}

.figurine-simulator form.cart[data-figurine-current-step="0"] .figurine-nav .next-step {
  min-width: min(560px, calc(100vw - 32px));
  min-height: 58px;
  border-radius: 12px;
  background: linear-gradient(90deg, #673B77, #673B77);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(128, 45, 139, 0.2);
}

@media (max-width: 1100px) {
  .figurine-step1-layout {
    grid-template-columns: 1fr;
  }

  .figurine-step1-aside {
    order: 2;
  }
}

@media (max-width: 760px) {
  .figurine-simulator .figurine-progress-title {
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  .figurine-step1-layout {
    width: min(100%, calc(100% - 20px));
    gap: 14px;
  }

  #customer-dropzone {
    min-height: auto;
    padding: 16px;
  }

  #customer-dropzone .dz-instructions::after {
    inset: 94px 16px auto;
    height: 230px;
  }

  #customer-dropzone .figurine-generation-remaining {
    font-size: 16px;
    padding-inline: 14px;
  }

  #customer-dropzone .dz-button {
    min-width: 100%;
    font-size: 17px;
  }

  .figurine-step1-assurance,
  .figurine-step1-examples__grid,
  .figurine-step1-badges {
    grid-template-columns: 1fr;
  }

  .figurine-step1-assurance__item + .figurine-step1-assurance__item,
  .figurine-step1-example + .figurine-step1-example,
  .figurine-step1-badges span + span {
    border-left: 0;
    border-top: 1px solid var(--figurine-border);
    padding-left: 0;
  }

  .figurine-step1-example + .figurine-step1-example {
    padding-left: 0;
    padding-top: 12px;
  }

  .figurine-step1-timeline {
    padding-left: 38px;
  }

  .figurine-step1-timeline li {
    padding-left: 74px;
  }

  .figurine-step1-timeline li::before {
    left: -36px;
  }

  .figurine-step1-timeline li:not(:last-child)::after {
    left: -23px;
  }

  .figurine-step1-timeline__icon {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }
}

#customer-dropzone .dz-instructions {
  position: relative;
  z-index: 1;
}

#customer-dropzone .dz-instructions > * {
  position: relative;
  z-index: 1;
}

#customer-dropzone .dz-instructions::after {
  z-index: 0;
}

.figurine-step1-example__visual {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 82px;
  height: 82px;
  padding-bottom: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #CBB9DB, #CBB9DB);
  color: #673B77;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  position: relative;
}

.figurine-step1-example__visual::before,
.figurine-step1-example__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(135, 55, 131, 0.56);
}

.figurine-step1-example__visual::before {
  top: 14px;
  width: 28px;
  height: 28px;
}

.figurine-step1-example__visual::after {
  top: 48px;
  width: 52px;
  height: 38px;
}

.figurine-step1-example__visual--group::before {
  box-shadow: -18px 8px 0 -5px rgba(135, 55, 131, 0.42), 18px 8px 0 -5px rgba(135, 55, 131, 0.42);
}

.figurine-step1-example__visual--animal {
  background: linear-gradient(135deg, #FDCC66, #FDC7DF);
}

.figurine-step1-example__visual--animal::before {
  width: 34px;
  height: 30px;
  border-radius: 45% 45% 50% 50%;
  background: #FDCC66;
  box-shadow: -20px 4px 0 -9px #FDCC66, 20px 4px 0 -9px #FDCC66;
}

.figurine-step1-example__visual--animal::after {
  width: 48px;
  height: 32px;
  background: rgba(185, 121, 67, 0.55);
}

/* Ajustements étape 1 : alignement upload, icônes SVG et proportions. */
.figurine-simulator .figurine-progress-title {
  font-size: clamp(34px, 2.65vw, 46px) !important;
}

.figurine-step1-layout {
  grid-template-columns: minmax(0, 1.86fr) minmax(300px, .82fr);
}

#customer-dropzone {
  min-height: 610px;
  padding: 18px 24px 20px;
}

#customer-dropzone .dz-instructions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

#customer-dropzone .figurine-generation-remaining,
#customer-dropzone .figurine-generation-badge {
  background: transparent !important;
  box-shadow: none !important;
}

#customer-dropzone .figurine-generation-remaining {
  min-height: 34px;
  padding: 0;
  font-size: 17px;
}

#customer-dropzone .figurine-generation-remaining:empty::before {
  content: "Aperçus gratuits restants aujourd’hui : 1";
}

#customer-dropzone .figurine-generation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

.figurine-upload-zone {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 18px 20px;
  border: 2px dashed #CBB9DB;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(253, 250, 255, 0.74), rgba(255, 255, 255, 0.9));
  text-align: center;
  box-sizing: border-box;
}

#customer-dropzone .dz-instructions::after {
  content: none;
}

#customer-dropzone .figurine-upload-intro {
  margin-bottom: 2px;
}

#customer-dropzone .dz-icon {
  width: 92px;
  height: 82px;
  margin-top: 0;
  background: transparent;
}

#customer-dropzone .dz-icon::before {
  width: 42px;
  height: 18px;
  left: 2px;
  bottom: 22px;
  box-shadow: -18px 5px 0 -7px #CBB9DB;
}

#customer-dropzone .dz-icon::after {
  width: 48px;
  height: 18px;
  right: 0;
  bottom: 12px;
  box-shadow: -16px -3px 0 -8px #CBB9DB;
}

#customer-dropzone .dz-icon img {
  width: 46px;
  height: 46px;
}

#customer-dropzone .dz-button {
  min-width: min(300px, 88%);
  min-height: 50px;
  font-size: 18px;
}

#customer-dropzone .figurine-upload-status {
  margin-top: 0;
  padding: 8px 14px;
  font-size: 14px;
}

#customer-dropzone .dz-hint {
  margin-top: 0 !important;
  color: #673B77;
}

#customer-file {
  height: min(100%, 360px) !important;
}

.figurine-step1-assurance__item {
  grid-template-columns: 22px 1fr;
  align-items: center;
  column-gap: 9px;
  padding: 11px 13px;
}

.figurine-step1-assurance__item > .figurine-ui-icon {
  grid-row: 1 / span 2;
}

.figurine-step1-assurance__item strong,
.figurine-step1-assurance__item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figurine-step1-assurance__item strong {
  font-size: 13px;
}

.figurine-step1-assurance__item small {
  font-size: 11px;
}

.figurine-step1-example {
  grid-template-columns: 74px 1fr;
  min-height: 82px;
}

.figurine-step1-example img {
  width: 74px;
  height: 74px;
}

.figurine-step1-aside {
  gap: 12px;
  padding: 16px;
}

.figurine-step1-timeline {
  gap: 14px;
  padding-left: 50px;
}

.figurine-step1-timeline li {
  min-height: 66px;
  padding-left: 70px;
}

.figurine-step1-timeline li::before {
  left: -38px;
  top: 14px;
}

.figurine-step1-timeline li:not(:last-child)::after {
  left: -25px;
  top: 44px;
  bottom: -18px;
}

.figurine-step1-timeline .figurine-step1-timeline__icon {
  width: 58px;
  height: 58px;
}

.figurine-step1-badges span {
  padding: 12px 8px;
}

.figurine-step1-badges strong.figurine-ui-icon,
.figurine-step2-trust .figurine-ui-icon {
  display: block;
  margin: 0 auto 4px;
}

.figurine-ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: currentColor;
  color: var(--figurine-purple, #673B77);
  vertical-align: -0.2em;
  -webkit-mask: var(--figurine-icon) center / contain no-repeat;
  mask: var(--figurine-icon) center / contain no-repeat;
}

.figurine-step1-timeline .figurine-step1-timeline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  box-sizing: border-box;
  border: 2px solid var(--figurine-purple, #673B77);
  border-radius: 999px;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}

.figurine-step1-timeline .figurine-step1-timeline__icon::before {
  content: "";
  width: 34px;
  height: 34px;
  background: currentColor;
  -webkit-mask: var(--figurine-icon) center / contain no-repeat;
  mask: var(--figurine-icon) center / contain no-repeat;
}

.figurine-ui-icon--gift { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v10H4V12'/%3E%3Cpath d='M2 7h20v5H2zM12 22V7M12 7H7.5a2.5 2.5 0 1 1 2.24-3.62C10.5 4.9 12 7 12 7Zm0 0h4.5a2.5 2.5 0 1 0-2.24-3.62C13.5 4.9 12 7 12 7Z'/%3E%3C/svg%3E"); }
.figurine-ui-icon--shield { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm3.7 8.7-4.3 4.3-2.1-2.1 1.4-1.4.7.7 2.9-2.9 1.4 1.4Z'/%3E%3C/svg%3E"); }
.figurine-ui-icon--eye { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.figurine-ui-icon--bolt { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7l1-8Z'/%3E%3C/svg%3E"); }
.figurine-ui-icon--sparkle { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l2.2 6.1L20 10l-5.8 1.9L12 18l-2.2-6.1L4 10l5.8-1.9L12 2Zm7 11 1 2.7 2 .8-2 .8-1 2.7-1-2.7-2-.8 2-.8 1-2.7ZM5 14l1 2.5 2 .7-2 .8-1 2.5L4 18l-2-.8 2-.7L5 14Z'/%3E%3C/svg%3E"); }
.figurine-ui-icon--badge { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='m8 13-2 8 6-3 6 3-2-8'/%3E%3C/svg%3E"); }
.figurine-ui-icon--tag { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.1 13 20.7a2 2 0 0 1-2.8 0l-6.9-6.9a2 2 0 0 1-.6-1.4V5a2 2 0 0 1 2-2h7.4a2 2 0 0 1 1.4.6l7.1 7.1a1.7 1.7 0 0 1 0 2.4Z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E"); }
.figurine-ui-icon--image { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 20'/%3E%3C/svg%3E"); }
.figurine-ui-icon--palette { --figurine-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.567%209.8895C12.2495%208.90124%2012.114%207.5637%2011.247%206.7325C10.3679%205.88806%209.02339%205.75928%207.99998%206.4215C7.57983%206.69308%207.25013%207.0837%207.05298%207.5435C6.85867%207.99881%206.80774%208.50252%206.90698%208.9875C7.00665%209.47472%207.25054%209.92071%207.60698%2010.2675C7.97021%2010.6186%208.42786%2010.8563%208.92398%2010.9515C9.42353%2011.049%209.94062%2011.0001%2010.413%2010.8105C10.8798%2010.6237%2011.2812%2010.3033%2011.567%209.8895Z'%20stroke='black'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.433%2017.8895C11.7504%2016.9012%2011.886%2015.5637%2012.753%2014.7325C13.6321%2013.8881%2014.9766%2013.7593%2016%2014.4215C16.4202%2014.6931%2016.7498%2015.0837%2016.947%2015.5435C17.1413%2015.9988%2017.1922%2016.5025%2017.093%2016.9875C16.9933%2017.4747%2016.7494%2017.9207%2016.393%2018.2675C16.0298%2018.6186%2015.5721%2018.8563%2015.076%2018.9515C14.5773%2019.0481%2014.0614%2018.9988%2013.59%2018.8095C13.1222%2018.6234%2012.7197%2018.3034%2012.433%2017.8895Z'%20stroke='black'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M12%207.75049C11.5858%207.75049%2011.25%208.08627%2011.25%208.50049C11.25%208.9147%2011.5858%209.25049%2012%209.25049V7.75049ZM19%209.25049C19.4142%209.25049%2019.75%208.9147%2019.75%208.50049C19.75%208.08627%2019.4142%207.75049%2019%207.75049V9.25049ZM6.857%209.25049C7.27121%209.25049%207.607%208.9147%207.607%208.50049C7.607%208.08627%207.27121%207.75049%206.857%207.75049V9.25049ZM5%207.75049C4.58579%207.75049%204.25%208.08627%204.25%208.50049C4.25%208.9147%204.58579%209.25049%205%209.25049V7.75049ZM12%2017.2505C12.4142%2017.2505%2012.75%2016.9147%2012.75%2016.5005C12.75%2016.0863%2012.4142%2015.7505%2012%2015.7505V17.2505ZM5%2015.7505C4.58579%2015.7505%204.25%2016.0863%204.25%2016.5005C4.25%2016.9147%204.58579%2017.2505%205%2017.2505V15.7505ZM17.143%2015.7505C16.7288%2015.7505%2016.393%2016.0863%2016.393%2016.5005C16.393%2016.9147%2016.7288%2017.2505%2017.143%2017.2505V15.7505ZM19%2017.2505C19.4142%2017.2505%2019.75%2016.9147%2019.75%2016.5005C19.75%2016.0863%2019.4142%2015.7505%2019%2015.7505V17.2505ZM12%209.25049H19V7.75049H12V9.25049ZM6.857%207.75049H5V9.25049H6.857V7.75049ZM12%2015.7505H5V17.2505H12V15.7505ZM17.143%2017.2505H19V15.7505H17.143V17.2505Z'%20fill='black'/%3E%3C/svg%3E"); }
.figurine-ui-icon--check { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E"); }
.figurine-ui-icon--bulb { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M8 14a6 6 0 1 1 8 0c-1 1-1 2-1 3H9c0-1 0-2-1-3Z'/%3E%3C/svg%3E"); }
.figurine-ui-icon--flag { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V3M5 3h14l-2 5 2 5H5'/%3E%3C/svg%3E"); }
.figurine-ui-icon--france-flag {
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23ED2939' d='M36 27a4 4 0 0 1-4 4h-8V5h8a4 4 0 0 1 4 4v18z'/%3E%3Cpath fill='%23002495' d='M4 5a4 4 0 0 0-4 4v18a4 4 0 0 0 4 4h8V5H4z'/%3E%3Cpath fill='%23EEE' d='M12 5h12v26H12z'/%3E%3C/svg%3E") center / contain no-repeat;
  color: inherit;
  -webkit-mask: none;
  mask: none;
}
.figurine-ui-icon--delivery { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v10H3zM14 11h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='19' r='2'/%3E%3Ccircle cx='17' cy='19' r='2'/%3E%3C/svg%3E"); }
.figurine-ui-icon--lock { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.figurine-ui-icon--clipboard { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h6a2 2 0 0 1 2 2v1H7V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8 6H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2'/%3E%3Cpath d='M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.figurine-ui-icon--cart { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h15l-2 8H8L6 3H3'/%3E%3Ccircle cx='9' cy='20' r='1.8'/%3E%3Ccircle cx='18' cy='20' r='1.8'/%3E%3C/svg%3E"); }
.figurine-ui-icon--edit { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5Z'/%3E%3C/svg%3E"); }

@media (max-width: 760px) {
  .figurine-upload-zone {
    min-height: 250px;
  }

  .figurine-simulator .figurine-progress-title {
    font-size: clamp(28px, 8vw, 38px) !important;
  }
}

.figurine-ui-icon--size { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17 17 4l3 3L7 20H4v-3Z'/%3E%3Cpath d='m14 7 3 3M5 16l3 3'/%3E%3C/svg%3E"); }
.figurine-ui-icon--people { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M3 21v-2a6 6 0 0 1 12 0v2'/%3E%3Cpath d='M16 11a4 4 0 0 1 0-8M21 21v-2a6 6 0 0 0-4-5.7'/%3E%3C/svg%3E"); }

.figurine-ui-icon--cube { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 8 4.5v9L12 22l-8-6.5v-9L12 2Z'/%3E%3Cpath d='M12 22v-9M4 6.5l8 6.5 8-6.5'/%3E%3C/svg%3E"); }
.figurine-ui-icon--drop { --figurine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8 7 6 10.2 6 14a6 6 0 0 0 12 0c0-3.8-2-7-6-12Z'/%3E%3C/svg%3E"); }

/* Ajustements étape 1 : badge, zone d'upload et navigation simplifiée. */
.figurine-simulator .figurine-progress-title {
  font-size: clamp(22px, 1.75vw, 30px) !important;
  line-height: 1.12;
}

#customer-dropzone.custom-dropzone,
#customer-dropzone {
  margin-top: 0 !important;
}

#customer-dropzone .figurine-generation-remaining {
  align-self: center;
  min-height: 46px;
  padding: 8px 22px;
  border-radius: 12px;
  background: #CBB9DB !important;
  box-shadow: none !important;
  font-size: 17px;
}

#customer-dropzone .figurine-generation-badge {
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.figurine-upload-zone {
  overflow: hidden;
}

.figurine-upload-zone::before,
.figurine-upload-zone::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.figurine-upload-zone::before {
  top: 42px;
  left: 50%;
  width: 108px;
  height: 108px;
  transform: translateX(-50%);
  border-radius: 999px;
  content: none;
}

.figurine-upload-zone::after {
  top: 52px;
  left: calc(50% + 78px);
  width: 28px;
  height: 28px;
  background: var(--figurine-purple);
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  filter: drop-shadow(0 2px 4px rgba(135, 55, 131, 0.18));
  opacity: 0.95;
  z-index: 1;
}

#customer-dropzone .dz-icon {
  width: 96px;
  height: 82px;
  margin-top: 0;
  background: transparent;
}

#customer-dropzone .dz-icon::before,
#customer-dropzone .dz-icon::after {
  content: none;
}

#customer-dropzone .dz-icon img {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: 18px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(42%) saturate(1251%) hue-rotate(256deg) brightness(88%) contrast(90%) drop-shadow(0 10px 14px rgba(132, 39, 143, 0.2));
  transform-origin: center;
  animation: figurineCameraFloat 2.8s ease-in-out infinite;
}

.figurine-upload-sparkles {
  position: absolute;
  top: 47px;
  left: calc(50% + 72px);
  z-index: 2;
  pointer-events: none;
}

.figurine-upload-sparkles span {
  position: absolute;
  width: 15px;
  height: 15px;
  background: #FDCC66;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  filter: drop-shadow(0 2px 4px rgba(220, 164, 0, 0.28));
}

.figurine-upload-sparkles span:first-child {
  top: 0;
  left: 34px;
  width: 10px;
  height: 10px;
}

.figurine-upload-sparkles span:last-child {
  top: 34px;
  left: 0;
  width: 9px;
  height: 9px;
}

@keyframes figurineCameraFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg) scale(1);
  }
  50% {
    transform: translateY(-5px) rotate(2deg) scale(1.04);
  }
}

#customer-dropzone .dz-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(430px, 90%);
  min-height: 58px;
  border-radius: 10px;
  background: linear-gradient(180deg, #673B77 0%, #673B77 100%);
  box-shadow: 0 14px 24px rgba(128, 45, 139, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 2px rgba(72, 21, 78, 0.34);
}

#customer-dropzone .dz-button::before {
  content: none;
}

.figurine-step1-timeline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #CBB9DB;
  color: var(--figurine-purple);
  box-shadow: none;
  -webkit-mask: none;
  mask: none;
}

.figurine-step1-timeline__icon::before {
  content: "";
  width: 38px;
  height: 38px;
  background: currentColor;
  -webkit-mask: var(--figurine-icon) center / contain no-repeat;
  mask: var(--figurine-icon) center / contain no-repeat;
}

.figurine-step1-timeline li {
  min-height: 72px;
  padding-left: 74px;
}

.figurine-simulator form.cart[data-figurine-current-step="0"] .figurine-nav .next-step {
  display: none !important;
}

@media (max-width: 760px) {
  .figurine-simulator .figurine-progress-title {
    font-size: clamp(20px, 6vw, 26px) !important;
  }

  .figurine-upload-zone::after {
    top: 52px;
    left: calc(50% + 62px);
    width: 24px;
    height: 24px;
  }

  .figurine-upload-sparkles {
    top: 48px;
    left: calc(50% + 58px);
  }

  #customer-dropzone .dz-button {
    min-width: 100%;
  }

  .figurine-step1-timeline__icon {
    width: 52px;
    height: 52px;
  }

  .figurine-step1-timeline__icon::before {
    width: 34px;
    height: 34px;
  }

  .figurine-step1-timeline li {
    padding-left: 66px;
  }
}

/* Affiche la photo sélectionnée directement dans la zone d'upload, sous le statut. */
#customer-dropzone .figurine-upload-zone #dz-previews {
  justify-content: center;
  width: 100%;
  min-height: 0;
  margin: 0;
}

#customer-dropzone .figurine-upload-zone #dz-previews:empty {
  display: none;
}

#customer-dropzone .figurine-upload-zone .dz-thumb {
  width: min(180px, 70vw);
  height: min(180px, 70vw);
  border: 4px solid #fff;
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(76, 68, 82, 0.18);
}

#customer-dropzone .figurine-upload-zone .dz-thumb .dz-remove {
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  line-height: 26px;
  font-size: 18px;
}

/* === Étape 3 : aperçu & validation, sans vues multiples ni contrôles zoom/360 === */
.figurine-simulator form.cart[data-figurine-current-step="2"] {
  max-width: 1440px;
  margin-inline: auto;
}

.figurine-simulator form.cart[data-figurine-current-step="2"] table.variations,
.figurine-simulator form.cart[data-figurine-current-step="2"] table.variations tbody,
.figurine-simulator form.cart[data-figurine-current-step="2"] table.variations tr,
.figurine-simulator form.cart[data-figurine-current-step="2"] table.variations td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.figurine-step3-row > td {
  padding: 0 !important;
}

.figurine-step3-direct-layout {
  display: none;
}

form.cart[data-figurine-current-step="2"] .figurine-step3-direct-layout {
  display: grid;
}

.figurine-step3-layout,
.figurine-step3-direct-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.figurine-step3-main {
  display: grid;
  gap: 24px;
}

.figurine-step3-card {
  border: 1px solid #CBB9DB;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(65, 42, 71, 0.06);
}

.figurine-step3-preview-card {
  padding: 18px;
}

.figurine-step3-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.figurine-step3-card__header h3,
.figurine-step3-side h4,
.figurine-ready-recap__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
}

.figurine-step3-card__header h3 span {
  color: #673B77;
}

.figurine-step3-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #CBB9DB;
  border-radius: 999px;
  color: #673B77;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.figurine-step3-preview-card .figurine-preview {
  margin: 0;
  padding: 0;
  border: 1px solid #CBB9DB;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.figurine-step3-preview-card .figurine-preview-header {
  display: none;
}

.figurine-step3-preview-card .figurine-preview-body {
  min-height: 430px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #FDC7DF 100%);
}

.figurine-step3-preview-card .figurine-preview img {
  max-height: 410px;
  width: auto;
  object-fit: contain;
  box-shadow: none;
}

.figurine-step3-adjustment {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid #CBB9DB;
  border-radius: 16px;
  background: linear-gradient(135deg, #FDC7DF, #fff);
}

.figurine-step3-adjustment h4 {
  margin: 0;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.figurine-step3-adjustment p {
  margin: 0;
  color: #673B77;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.figurine-step3-adjustment p + p {
  margin-top: -6px;
  margin-bottom: 14px;
}

.figurine-step3-adjustment textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  background: #fff;
  color: #673B77;
  resize: vertical;
}

.figurine-step3-side .figurine-step3-adjustment {
  padding: 0;
  border: 0;
  background: transparent;
}

.figurine-step3-request-form[hidden] {
  display: none !important;
}

.figurine-step3-request-form {
  display: grid;
  gap: 10px;
}

.figurine-step3-actions {
  display: grid;
  grid-template-columns: minmax(200px, 0.95fr) minmax(240px, 1.25fr);
  gap: 12px;
  align-items: stretch;
}

.figurine-step3-adjust-button,
.figurine-step3-send-button,
.figurine-step3-cart .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 12px !important;
  font-weight: 800 !important;
}

.figurine-step3-adjust-button {
  position: relative;
  overflow: hidden;
  border: 1px solid #673B77 !important;
  background: #fff !important;
  color: #673B77 !important;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
  animation: figurineClickablePulse 2.4s ease-in-out infinite;
}

.figurine-step3-adjust-button::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(253, 204, 102, 0.5), transparent);
  transform: skewX(-18deg);
  animation: figurineButtonShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.figurine-step3-adjust-button:hover,
.figurine-step3-adjust-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(103, 59, 119, 0.18);
  animation-play-state: paused;
}

.figurine-step3-send-button {
  border: 1px solid #673B77 !important;
  background: #673B77 !important;
  color: #fff !important;
  cursor: pointer;
}

.figurine-step3-cart .single_add_to_cart_button {
  background: linear-gradient(90deg, #673B77, #673B77) !important;
}

.figurine-step3-cart .figurine-cart-validation-note,
.figurine-step3-cart .quantity,
.figurine-step3-cart .figurine-price {
  display: none !important;
}

.figurine-step3-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 22px 26px;
  border: 1px solid var(--figurine-soft-border, #CBB9DB);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(103, 59, 119, 0.06);
}

.figurine-step3-side .figurine-ready-recap {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.figurine-step3-side .figurine-ready-recap__list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #673B77;
  font-size: 15px;
}

.figurine-step3-side .figurine-ready-recap__list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #CBB9DB;
}

.figurine-step3-side .figurine-ready-recap__list strong {
  color: #673B77;
  text-align: right;
}

.figurine-step3-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #F7DDAA;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 240, 0.94) 100%);
  box-shadow: 0 10px 26px rgba(103, 59, 119, 0.08);
}

.figurine-step3-contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.figurine-step3-contact-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  background: #fff;
  color: #673B77;
  font-weight: 700;
  cursor: pointer;
}

.figurine-step3-contact-detail {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  background: #fff;
  color: #673B77;
}

.figurine-step3-adjustment-status {
  min-height: 18px;
  color: #673B77;
  font-size: 13px;
  font-weight: 700;
}

.figurine-step3-adjustment-status.is-error {
  display: block;
  padding: 12px 14px;
  border: 1px solid #FDC7DF;
  border-radius: 12px;
  background: #FDC7DF;
  color: #673B77;
  animation: figurineShake 0.32s ease both;
}

.figurine-step3-adjustment-status.is-loading {
  color: #673B77;
}

.figurine-step3-adjustment-status.is-success {
  display: block;
  padding: 12px 14px;
  border: 1px solid #CBB9DB;
  border-radius: 12px;
  background: #CBB9DB;
  color: #673B77;
}

.figurine-step3-send-button.is-sending,
.figurine-step3-cart .single_add_to_cart_button.is-adding {
  animation: figurineButtonPulse 0.9s ease-in-out infinite;
}

.figurine-step3-send-button.is-sent,
.figurine-step3-send-button.is-sent:hover {
  border-color: #CBB9DB !important;
  background: #CBB9DB !important;
  color: #fff !important;
}

.figurine-step3-total:not(.figurine-price) span,
.figurine-step3-next li span {
  display: block;
  color: #673B77;
  font-size: 13px;
}

.figurine-step3-total:not(.figurine-price) > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #F7DDAA;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #673B77;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.figurine-step3-total strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  color: #673B77;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.figurine-step3-total strong .woocommerce-Price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  color: inherit;
  font-size: inherit !important;
}

.figurine-step3-total strong .woocommerce-Price-currencySymbol {
  display: inline !important;
  color: inherit;
  font-size: 0.78em;
  line-height: inherit;
}

.figurine-step3-next {
  padding: 22px 26px;
}

.figurine-step3-next ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: figurine-step3-next;
}

.figurine-step3-next li {
  position: relative;
  min-height: 54px;
  padding: 0 0 18px 42px;
  counter-increment: figurine-step3-next;
}

.figurine-step3-next li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: #CBB9DB;
}

.figurine-step3-next li::before {
  content: counter(figurine-step3-next);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #CBB9DB;
  border-radius: 50%;
  background: #fff;
  color: #CBB9DB;
  font-weight: 800;
}

.figurine-step3-next li.is-active::before {
  content: "✓";
  border-color: #673B77;
  background: #673B77;
  color: #fff;
}

.figurine-step3-next li strong {
  display: block;
  color: #673B77;
  font-size: 15px;
}

.figurine-step3-trust:not(.figurine-step2-trust) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #CBB9DB;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.figurine-step3-trust:not(.figurine-step2-trust) span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 12px;
  color: #673B77;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.figurine-step3-trust:not(.figurine-step2-trust) span + span {
  border-left: 1px solid #CBB9DB;
}

.figurine-simulator form.cart[data-figurine-current-step="2"] > .figurine-nav {
  display: none !important;
}

@keyframes figurineClickablePulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(103, 59, 119, 0);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(103, 59, 119, 0.14);
  }
}

@keyframes figurineButtonShine {
  0%, 35% { left: -35%; }
  55%, 100% { left: 115%; }
}

@keyframes figurineButtonPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(125, 52, 125, 0);
  }
  50% {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 10px 24px rgba(125, 52, 125, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .figurine-step3-adjust-button,
  .figurine-step3-adjust-button::after {
    animation: none;
  }
}

@keyframes figurineShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@media (max-width: 980px) {
  .figurine-step3-layout,
  .figurine-step3-direct-layout {
    grid-template-columns: 1fr;
  }

  .figurine-step3-side {
    position: static;
  }

  .figurine-step3-actions,
  .figurine-step3-contact-methods,
  .figurine-step3-trust:not(.figurine-step2-trust) {
    grid-template-columns: 1fr;
  }

  .figurine-step3-trust:not(.figurine-step2-trust) span + span {
    border-left: 0;
    border-top: 1px solid #CBB9DB;
  }
}

/* Étape 3 : le chargement reste dans .figurine-preview-body, sans réafficher les options taille/personnes. */
form.cart[data-figurine-current-step="2"] .figurine-option-grid,
form.cart[data-figurine-current-step="2"] .figurine-params-accordion,
form.cart[data-figurine-current-step="2"] .figurine-preview-row,
.figurine-simulator form.cart[data-figurine-current-step="2"] .figurine-size-slider,
.figurine-simulator form.cart[data-figurine-current-step="2"] .figurine-size-cards,
.figurine-simulator form.cart[data-figurine-current-step="2"] .figurine-taille-title,
.figurine-simulator form.cart[data-figurine-current-step="2"] .figurine-nb-title,
.figurine-simulator form.cart[data-figurine-current-step="2"] select[name="figurine_people_choice"],
.figurine-simulator form.cart[data-figurine-current-step="2"] select[name="attribute_pa_nombre-de-personnes"],
.figurine-simulator form.cart[data-figurine-current-step="2"] select[name="pa_nombre-de-personnes"] {
  display: none !important;
}

.figurine-step3-contact-anchor > td {
  height: 0;
  padding: 0 !important;
  border: 0 !important;
}

.figurine-step3-preview-card .figurine-preview.loading .figurine-preview-body {
  opacity: 1;
}

.figurine-step3-preview-card .figurine-preview-progress {
  max-width: 320px;
  margin-inline: auto;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.figurine-simulator form.cart[data-figurine-current-step="2"] tr:has(select[name="figurine_people_choice"]),
.figurine-simulator form.cart[data-figurine-current-step="2"] tr:has(select[name="attribute_pa_nombre-de-personnes"]),
.figurine-simulator form.cart[data-figurine-current-step="2"] tr:has(select[name="pa_nombre-de-personnes"]),
.figurine-simulator form.cart[data-figurine-current-step="2"] tr:has(.figurine-size-slider),
.figurine-simulator form.cart[data-figurine-current-step="2"] tr:has(.figurine-size-cards) {
  display: none !important;
}

/* Ajustement DA : palette plus minimaliste avec touches jaunes ponctuelles. */
.figurine-simulator {
  --figurine-yellow: #FDCC66;
  --figurine-pink: #FDC7DF;
  --figurine-panel-tint: rgba(203, 185, 219, 0.14);
  --figurine-yellow-tint: rgba(253, 204, 102, 0.18);
  --figurine-pink-tint: rgba(253, 199, 223, 0.16);
  --figurine-soft-border: rgba(103, 59, 119, 0.16);
}

.ct-swatch-container.figurine-render-option.active .ct-swatch-content,
.figurine-render-option input:checked + span,
.figurine-style-card input:checked + span,
.figurine-size-card.is-selected,
.figurine-people-card.is-selected {
  background: #673B77;
  border-color: #673B77;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 16px rgba(103, 59, 119, 0.16);
}

.ct-swatch-container.figurine-render-option.active .ct-swatch-content strong,
.figurine-render-option input:checked + span strong,
.figurine-style-card input:checked + span strong,
.figurine-size-card.is-selected .figurine-size-card__size,
.figurine-size-card.is-selected .figurine-size-card__title,
.figurine-size-card.is-selected .figurine-size-card__description,
.figurine-people-card.is-selected .figurine-people-card__content strong,
.figurine-people-card.is-selected .figurine-people-card__content span {
  color: #fff;
}

.figurine-style-card span::after,
.figurine-render-option span::after,
.ct-swatch-container.figurine-render-option .ct-swatch-content::after {
  content: "✓";
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FDCC66;
  color: #673B77;
  font-size: 16px;
  font-weight: 900;
}

.figurine-style-card input:checked + span,
.figurine-render-option input:checked + span,
.ct-swatch-container.figurine-render-option .ct-swatch-content {
  position: relative;
}

.figurine-style-card input:checked + span::after,
.figurine-render-option input:checked + span::after,
.ct-swatch-container.figurine-render-option.active .ct-swatch-content::after {
  display: inline-flex;
}

.figurine-render-option input:checked + span .figurine-color-dot,
.ct-swatch-container.figurine-render-option.active .ct-swatch-content .figurine-color-dot {
  border-color: rgba(255, 255, 255, .75);
  box-shadow: 0 0 0 2px rgba(255,255,255,.24), inset 0 1px 3px rgba(255,255,255,.6);
}

.ct-swatch-container.figurine-render-option:hover .ct-swatch-content,
.figurine-render-option:hover span,
.figurine-style-card:hover span,
.figurine-size-card:hover,
.figurine-size-card:focus-visible,
.figurine-people-card:hover,
.figurine-people-card:focus-visible {
  border-color: #FDCC66;
  box-shadow: 0 8px 18px rgba(253, 204, 102, 0.16);
}


.figurine-progress-line--active,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-progress-step.is-active:not(:first-child)::before,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-progress-step.is-complete:not(:first-child)::before {
  background: linear-gradient(90deg, #673B77 0%, #FDCC66 100%);
}

.figurine-progress-dot.is-current,
.figurine-progress-step.is-active .figurine-progress-step__number,
.figurine-size-card__check,
.figurine-people-card__check {
  background: #FDCC66;
  color: #673B77;
}

#customer-dropzone,
.figurine-step1-aside,
.figurine-step2-preview-card,
.figurine-step3-card,
.figurine-step3-side .figurine-ready-recap,
.figurine-step3-next,
.figurine-step3-trust:not(.figurine-step2-trust),
.figurine-reward-progress {
  border-color: var(--figurine-soft-border);
  background: linear-gradient(180deg, #fff 0%, var(--figurine-panel-tint) 100%);
  box-shadow: 0 12px 28px rgba(103, 59, 119, 0.06);
}

.figurine-step3-side .figurine-ready-recap {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.figurine-step2-preview-card {
  background: #fff;
  border-top: 0;
}

.figurine-step3-next {
  background: #fff;
}

.figurine-step1-aside {
  border-top: 4px solid #FDCC66;
}

.figurine-step1-aside--tips,
.figurine-step2-trust,
.figurine-step3-adjustment,
.figurine-step3-total,
.figurine-step3-contact-method,
.figurine-configurator-redirect__badge {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--figurine-soft-border);
}

#customer-dropzone .figurine-generation-remaining,
#customer-dropzone .figurine-upload-status,
.figurine-generation-counter,
.figurine-step3-total:not(.figurine-price) > span,
.figurine-option-text--with-badge em,
.figurine-reward-progress__level-zero-success {
  background: var(--figurine-yellow-tint) !important;
  color: #673B77;
}

.figurine-upload-zone {
  border-color: rgba(103, 59, 119, 0.18);
  background: linear-gradient(180deg, #fff 0%, var(--figurine-panel-tint) 100%);
}

#customer-dropzone .dz-button,
.figurine-nav button,
.figurine-nav .single_add_to_cart_button,
.figurine-contact-submit,
.figurine-simulator form.cart[data-figurine-current-step="1"] .next-step,
.figurine-simulator form.cart[data-figurine-current-step="0"] .figurine-nav .next-step,
.figurine-step3-send-button,
.figurine-step3-cart .single_add_to_cart_button {
  background: #673B77 !important;
  box-shadow: 0 10px 20px rgba(103, 59, 119, 0.14), 0 0 0 3px rgba(253, 204, 102, 0.10);
}

#customer-dropzone .dz-button:hover,
.figurine-nav button:hover,
.figurine-nav .single_add_to_cart_button:hover,
.figurine-contact-submit:hover,
.figurine-step3-send-button:hover,
.figurine-step3-cart .single_add_to_cart_button:hover {
  box-shadow: 0 12px 22px rgba(103, 59, 119, 0.18), 0 0 0 3px rgba(253, 204, 102, 0.18);
}

.figurine-step3-preview-card .figurine-preview-body,
.figurine-preview,
.figurine-preview-body {
  background: linear-gradient(180deg, #fff 0%, rgba(203, 185, 219, 0.10) 100%);
}

.figurine-step1-badges strong,
.figurine-step1-assurance__item > span,
.figurine-ui-icon,
.figurine-choice-icon,
.figurine-style-icon,
.figurine-configurator-redirect__icon--sparkle,
.figurine-configurator-redirect__badge-icon {
  color: #FDCC66;
}

/* === Correctifs mobile globaux : configurateur utilisable sur petit écran === */
.figurine-simulator,
.figurine-simulator * {
  box-sizing: border-box;
}

.figurine-simulator {
  max-width: 100%;
  overflow-x: clip;
}

.figurine-simulator img,
.figurine-simulator svg,
.figurine-simulator video,
.figurine-simulator canvas {
  max-width: 100%;
  height: auto;
}

.figurine-simulator button,
.figurine-simulator .button,
.figurine-simulator input,
.figurine-simulator select,
.figurine-simulator textarea {
  max-width: 100%;
}

@media (max-width: 782px) {
  body.single-product.product_cat-figurine-personnalisee .ct-product-add-to-cart,
  .figurine-simulator .ct-product-add-to-cart,
  body.single-product.product_cat-figurine-personnalisee .acf-block-upload,
  .figurine-simulator .acf-block-upload {
    width: calc(100% - 16px);
    max-width: none;
    margin: 8px auto !important;
    padding: 14px;
    border-radius: 16px;
  }

  .figurine-simulator table.variations,
  .figurine-simulator table.variations tbody,
  .figurine-simulator table.variations tr,
  .figurine-simulator table.variations th,
  .figurine-simulator table.variations td {
    display: block;
    width: 100% !important;
  }

  .figurine-simulator table.variations th,
  .figurine-simulator table.variations td {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .figurine-progress {
    gap: 10px;
    padding-inline: 4px;
  }

  .figurine-progress-rating {
    flex-wrap: wrap;
    row-gap: 2px;
    font-size: 12px;
  }

  .figurine-progress-title,
  .figurine-simulator .figurine-progress-title {
    margin-inline: auto;
    max-width: 16ch;
    font-size: clamp(22px, 7.2vw, 30px) !important;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .figurine-progress-subtitle {
    font-size: 14px;
    line-height: 1.35;
  }

  .figurine-progress-steps {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 2px 8px;
    margin-bottom: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .figurine-progress-steps::-webkit-scrollbar {
    display: none;
  }

  .figurine-progress-step {
    flex: 0 0 auto;
    min-width: min(72vw, 210px);
    justify-content: flex-start;
    padding: 8px 10px;
    border: 1px solid var(--figurine-soft-border, rgba(103, 59, 119, 0.16));
    border-radius: 999px;
    background: #fff;
    scroll-snap-align: center;
    font-size: 13px;
  }

  .figurine-progress-step:not(:first-child)::before {
    display: none !important;
  }

  .figurine-progress-step__number {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .figurine-nav,
  .figurine-step2-nav {
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
  }

  .figurine-nav-left,
  .figurine-nav-right,
  .figurine-step2-nav .figurine-nav-right,
  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-nav-right {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: none;
    gap: 10px;
    margin: 0 !important;
  }

  .figurine-nav button,
  .figurine-nav .single_add_to_cart_button,
  .figurine-contact-submit,
  .figurine-step3-adjust-button,
  .figurine-step3-send-button,
  .figurine-step3-cart .single_add_to_cart_button {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    justify-content: center;
    font-size: 16px;
    line-height: 1.2;
    touch-action: manipulation;
  }

  .figurine-nav button.prev-step {
    min-height: 46px;
    font-size: 14px;
  }

  .figurine-price,
  .figurine-price.figurine-price--with-next,
  .figurine-step2-nav .figurine-price {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    justify-content: center;
    row-gap: 2px;
    padding: 10px 12px !important;
    text-align: center;
  }

  .figurine-price-value {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    gap: 6px;
    font-size: 24px;
  }

  .figurine-price-value ins {
    font-size: clamp(24px, 8vw, 32px);
  }

  .figurine-price-value del {
    font-size: clamp(16px, 5.5vw, 20px);
  }

  .figurine-contact-actions,
  .figurine-limit-contact-methods,
  .figurine-step3-contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .figurine-contact-status {
    order: 0;
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 782px) {
  .figurine-step1-layout {
    width: calc(100% - 16px);
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  #customer-dropzone {
    min-height: auto !important;
    padding: 14px;
  }

  #customer-dropzone .dz-instructions {
    gap: 10px;
  }

  #customer-dropzone .figurine-generation-remaining,
  #customer-dropzone .figurine-generation-badge {
    min-height: auto;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
  }

  .figurine-upload-zone {
    min-height: 220px;
    padding: 16px 12px;
    gap: 9px;
  }

  #customer-dropzone .figurine-upload-intro,
  #customer-dropzone .figurine-usage-note,
  #customer-dropzone .dz-hint,
  .figurine-upload-note,
  .figurine-upload-status {
    font-size: 13px;
    line-height: 1.35;
  }

  #customer-dropzone .dz-icon {
    width: 74px;
    height: 62px;
  }

  #customer-dropzone .dz-icon img {
    width: 38px;
    height: 38px;
    margin-top: 12px;
  }

  .figurine-upload-sparkles {
    top: 38px;
    left: calc(50% + 44px);
    transform: scale(0.82);
  }

  #customer-dropzone .dz-button {
    min-width: 100%;
    min-height: 50px;
    font-size: 16px;
    white-space: normal;
  }

  #customer-file {
    height: 100% !important;
  }

  #dz-previews,
  #customer-dropzone .figurine-upload-zone #dz-previews {
    justify-content: center;
  }

  #customer-dropzone .figurine-upload-zone .dz-thumb,
  .dz-thumb {
    width: min(148px, 54vw);
    height: min(148px, 54vw);
  }

  .figurine-step1-assurance,
  .figurine-step1-examples__grid,
  .figurine-step1-badges {
    grid-template-columns: 1fr !important;
  }

  .figurine-step1-assurance__item,
  .figurine-step1-example {
    grid-template-columns: 42px 1fr;
    min-height: auto;
    padding: 12px !important;
    gap: 10px;
  }

  .figurine-step1-assurance__item strong,
  .figurine-step1-assurance__item small {
    white-space: normal;
  }

  .figurine-step1-example img,
  .figurine-step1-example__visual {
    width: 42px;
    height: 42px;
  }

  .figurine-step1-aside {
    padding: 14px;
  }

  .figurine-step1-aside--tips {
    padding: 14px;
  }

  .figurine-step1-timeline {
    gap: 12px;
    padding-left: 0;
  }

  .figurine-step1-timeline li {
    min-height: auto;
    padding: 0 0 14px 58px;
  }

  .figurine-step1-timeline li::before {
    left: 16px;
    top: 34px;
    width: 22px;
    height: 22px;
    border-width: 2px;
    font-size: 12px;
  }

  .figurine-step1-timeline li:not(:last-child)::after {
    left: 27px;
    top: 58px;
    bottom: -4px;
    border-left-width: 2px;
  }

  .figurine-step1-timeline__icon,
  .figurine-step1-timeline .figurine-step1-timeline__icon {
    left: 0;
    width: 46px;
    height: 46px;
  }

  .figurine-step1-timeline__icon::before,
  .figurine-step1-timeline .figurine-step1-timeline__icon::before {
    width: 28px;
    height: 28px;
  }

  .figurine-step1-timeline strong {
    padding-top: 2px;
  }

  .figurine-step1-timeline strong,
  .figurine-step1-timeline small {
    font-size: 13px;
  }

  .figurine-step1-aside--tips li {
    font-size: 16px;
  }
}

@media (max-width: 782px) {
  .figurine-simulator form.cart[data-figurine-current-step="1"] {
    width: calc(100% - 16px);
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-inline: auto;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] table.variations {
    padding: 0;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] table.variations tr[data-figurine-step="2"] {
    border: 1px solid var(--figurine-soft-border, #CBB9DB);
    overflow: hidden;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] table.variations tr.figurine-section-row[data-figurine-step="2"] {
    margin-bottom: 0;
    padding: 14px 14px 4px;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    box-shadow: none;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] table.variations tr.figurine-section-row[data-figurine-step="2"] + tr[data-figurine-step="2"] {
    margin-top: 0;
    margin-bottom: 10px;
    padding: 8px 14px 16px;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: none;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-section-row .figurine-option-text {
    gap: 10px;
    font-size: 17px;
    line-height: 1.2;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-section-row .figurine-option-text::before {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 14px;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-option-text--with-badge em {
    min-height: 24px;
    padding: 3px 9px;
    font-size: 12px;
  }

  .figurine-size-slider,
  .figurine-style-cards,
  .figurine-render-options,
  .figurine-render-row .figurine-render-options,
  .figurine-color-row .figurine-color-options {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .figurine-size-card {
    min-height: auto;
  }

  .figurine-size-card__body {
    padding: 16px 14px;
  }

  .figurine-size-card__size {
    font-size: 24px;
  }

  .figurine-size-card__description {
    max-width: none;
  }

  .figurine-style-card,
  .figurine-render-option,
  .figurine-render-row .figurine-render-option,
  .figurine-color-row .figurine-render-option {
    min-height: auto;
  }

  .figurine-style-card span,
  .figurine-render-option span,
  .ct-swatch-container.figurine-render-option .ct-swatch-content {
    min-height: 58px;
    padding: 13px 14px;
    align-items: center;
    text-align: left;
  }

  .figurine-render-row .figurine-render-option span {
    min-height: 74px;
    height: 74px;
    justify-content: center;
    text-align: center;
  }

  .figurine-choice-icon,
  .figurine-style-icon,
  .figurine-color-dot {
    width: 28px;
    height: 28px;
  }

  .figurine-style-toggle {
    width: 100%;
    justify-content: center;
  }

  .figurine-step2-aside {
    display: none;
  }

  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-step2-aside {
    display: block;
    position: static;
    grid-column: 1;
  }

  .figurine-step2-preview-card {
    padding: 14px;
  }


  .figurine-step2-summary__list li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .figurine-step2-summary__list strong {
    text-align: left;
  }

  .figurine-step2-trust {
    grid-template-columns: 1fr;
  }

  .figurine-step2-trust span {
    padding: 9px 8px;
  }

  .figurine-step2-trust span + span {
    border-left: 0;
    border-top: 1px solid var(--figurine-soft-border, #CBB9DB);
  }
}

@media (max-width: 782px) {
  .figurine-simulator form.cart[data-figurine-current-step="2"] {
    width: calc(100% - 16px);
  }

  .figurine-step3-layout,
  .figurine-step3-direct-layout {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .figurine-step3-main {
    display: contents;
  }

  .figurine-step3-preview-card {
    order: 1;
  }

  .figurine-step3-side {
    order: 2;
  }

  .figurine-step3-next {
    order: 3;
  }

  .figurine-step3-preview-card,
  .figurine-step3-side .figurine-ready-recap,
  .figurine-step3-next,
  .figurine-step3-adjustment {
    padding: 14px;
    border-radius: 14px;
  }

  .figurine-step3-card__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }

  .figurine-step3-card__header h3,
  .figurine-step3-side h4,
  .figurine-ready-recap__title,
  .figurine-step3-adjustment h4 {
    font-size: 18px;
    line-height: 1.2;
  }

  .figurine-step3-badge {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .figurine-step3-preview-card .figurine-preview-body {
    min-height: 280px;
    padding: 10px;
  }

  .figurine-step3-preview-card .figurine-preview img {
    max-height: 300px;
    width: 100%;
    object-fit: contain;
  }

  .figurine-step3-actions,
  .figurine-step3-contact-methods,
  .figurine-step3-trust {
    grid-template-columns: 1fr !important;
  }

  .figurine-step3-side .figurine-ready-recap__list li,
  .figurine-step3-total {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .figurine-step3-side .figurine-ready-recap__list strong,
  .figurine-step3-total strong {
    justify-content: flex-start;
    text-align: left;
  }

  .figurine-step3-total strong {
    white-space: normal;
    font-size: clamp(24px, 9vw, 30px);
  }

  .figurine-step3-next li {
    min-height: auto;
    padding-bottom: 14px;
  }

  .figurine-step3-trust span {
    min-height: auto;
    padding: 12px;
  }

  .figurine-retry-modal-overlay,
  .figurine-limit-overlay {
    align-items: flex-end;
    padding: 10px;
  }

  .figurine-retry-modal,
  .figurine-limit-card {
    max-height: calc(100dvh - 20px);
    overflow: auto;
    padding: 16px;
    border-radius: 16px;
  }

  .figurine-retry-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .figurine-simulator .ct-product-add-to-cart,
  body.single-product.product_cat-figurine-personnalisee .ct-product-add-to-cart,
  .figurine-simulator .acf-block-upload,
  body.single-product.product_cat-figurine-personnalisee .acf-block-upload,
  .figurine-step1-layout,
  .figurine-simulator form.cart[data-figurine-current-step="1"],
  .figurine-simulator form.cart[data-figurine-current-step="2"] {
    width: calc(100% - 10px);
  }

  .figurine-progress-step {
    min-width: min(82vw, 230px);
  }

  .figurine-step1-assurance__item,
  .figurine-step1-example,
  .figurine-step1-badges span,
  .figurine-step2-trust span,
  .figurine-step3-trust span {
    padding-inline: 10px !important;
  }

  .figurine-step3-preview-card .figurine-preview-body {
    min-height: 240px;
  }
}

/* Step 1 aside aligned with the examples strip, in a compact format. */
.figurine-step1-aside-stack {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
  align-self: start;
  align-content: start;
  min-width: 0;
}

.figurine-step1-aside-stack .figurine-step1-aside {
  padding: 18px 20px;
  border: 1px solid #F0D5E8;
  border-radius: 16px;
  border-top: 1px solid #F0D5E8;
  background: #FFFFFF;
  box-shadow: 0 14px 34px rgba(103, 59, 119, 0.04);
}

.figurine-step1-aside h3 {
  display: grid;
  grid-template-columns: auto max-content 1fr;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #673B77;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.figurine-step1-aside h3::after {
  content: "";
  height: 1px;
  background: var(--figurine-border);
}

.figurine-step1-aside h3 .figurine-ui-icon--sparkle,
.figurine-step1-aside h3 .figurine-ui-icon--bulb {
  width: 18px;
  height: 18px;
  color: #FDCC66;
}

.figurine-step1-timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 0 42px;
  list-style: none;
  counter-reset: figurine-step1;
}

.figurine-step1-timeline li {
  position: relative;
  display: grid;
  min-height: 58px;
  padding: 0 0 0 66px;
  align-content: center;
  counter-increment: figurine-step1;
}

.figurine-step1-timeline li::before {
  content: counter(figurine-step1);
  position: absolute;
  left: -38px;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: #7D3F8F;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 8px rgba(103, 59, 119, 0.14);
}

.figurine-step1-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -24px;
  top: calc(50% + 18px);
  bottom: -22px;
  border-left: 2px dashed #CDB1D6;
}

.figurine-step1-timeline__icon,
.figurine-step1-timeline .figurine-step1-timeline__icon {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  box-sizing: border-box;
  border: 1px solid #F0D5E8;
  border-radius: 999px;
  background: #FBEAF3;
  color: #7D3F8F;
  box-shadow: none;
  -webkit-mask: none;
  mask: none;
}

.figurine-step1-timeline__icon::before,
.figurine-step1-timeline .figurine-step1-timeline__icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: var(--figurine-icon) center / contain no-repeat;
  mask: var(--figurine-icon) center / contain no-repeat;
}

.figurine-step1-timeline .figurine-ui-icon--check {
  color: #FDCC66;
}

.figurine-step1-timeline strong,
.figurine-step1-timeline small {
  display: block;
  color: #673B77;
}

.figurine-step1-timeline strong {
  padding-top: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.figurine-step1-timeline small {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0.82;
}

.figurine-step1-aside--tips {
  padding: 18px 20px;
  border: 1px solid #F0D5E8;
  border-radius: 16px;
  border-top: 1px solid #F0D5E8;
  background: #FFFFFF;
}

.figurine-step1-aside--tips h3 {
  margin-bottom: 14px;
}

.figurine-step1-aside--tips ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.figurine-step1-aside--tips li {
  position: relative;
  padding-left: 30px;
  color: #673B77;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.figurine-step1-aside--tips li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #7D3F8F;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
}

#customer-dropzone {
  border-top: 1px solid var(--figurine-soft-border);
  background: #FFFFFF;
}

@media (max-width: 760px) {
  .figurine-step1-aside-stack {
    position: static;
    gap: 24px;
  }

  .figurine-step1-aside,
  .figurine-step1-aside-stack .figurine-step1-aside {
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
  }

  .figurine-step1-aside h3 {
    gap: 8px;
    margin-bottom: 12px;
    font-size: 18px;
  }

  .figurine-step1-aside h3 .figurine-ui-icon--sparkle,
  .figurine-step1-aside h3 .figurine-ui-icon--bulb {
    width: 17px;
    height: 17px;
  }

  .figurine-step1-timeline {
    gap: 14px;
    padding-left: 36px;
  }

  .figurine-step1-timeline li {
    min-height: 52px;
    padding-left: 60px;
  }

  .figurine-step1-timeline li::before {
    left: -34px;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .figurine-step1-timeline li:not(:last-child)::after {
    left: -23px;
    top: calc(50% + 16px);
    bottom: -19px;
  }

  .figurine-step1-timeline__icon,
  .figurine-step1-timeline .figurine-step1-timeline__icon {
    width: 46px;
    height: 46px;
  }

  .figurine-step1-timeline__icon::before,
  .figurine-step1-timeline .figurine-step1-timeline__icon::before {
    width: 26px;
    height: 26px;
  }

  .figurine-step1-timeline strong {
    font-size: 15px;
  }

  .figurine-step1-timeline small {
    font-size: 13px;
  }

  .figurine-step1-aside--tips li {
    font-size: 16px;
  }
}

/* Prix promo réservé au rendu "Entière avec jambes" dans le configurateur. */
.figurine-step2-nav .figurine-price,
.figurine-step3-total.figurine-price,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price {
  border-color: #CBB9DB;
}

.figurine-step2-nav .figurine-price-label,
.figurine-step3-total.figurine-price .figurine-price-label,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price-label {
  display: inline-grid;
  grid-template-columns: auto;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-transform: none;
  letter-spacing: normal;
}


.figurine-price-label__text {
  display: grid;
  gap: 8px;
}

.figurine-price-label__subtitle {
  color: #6F6A91;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.figurine-step2-nav .figurine-price-value,
.figurine-step3-total.figurine-price .figurine-price-value,
.figurine-step3-total strong {
  flex: 1 1 auto;
  min-width: 0;
}

.figurine-price-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "badge regular"
    "promo promo";
  align-items: center;
  column-gap: 24px;
  row-gap: 8px;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  white-space: nowrap;
}

.figurine-price-promo__badge {
  grid-area: badge;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FDCC66 0%, rgba(253, 204, 102, 0.38) 100%);
  color: #673B77;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(253, 204, 102, 0.24);
}

.figurine-price-promo__badge .figurine-ui-icon {
  width: 1em;
  height: 1em;
}

.figurine-price-promo .figurine-price-line--regular {
  grid-area: regular;
  justify-self: end;
}

.figurine-price-promo .figurine-price-line--promo {
  grid-area: promo;
  justify-self: end;
  text-align: right;
}

.figurine-step3-total.figurine-price .figurine-price-promo {
  max-width: none;
}

/* Harmonise le bloc prix de l'étape 3 avec celui de l'étape 2. */
.figurine-step2-nav .figurine-price-label,
.figurine-step3-total.figurine-price .figurine-price-label,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price-label {
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1;
}

.figurine-price-promo .figurine-price-line--regular del {
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1;
}

.figurine-price-promo .figurine-price-line--regular .woocommerce-Price-amount {
  font-size: inherit !important;
}

.figurine-price-promo .figurine-price-line--promo,
.figurine-price-promo .figurine-price-line--promo ins {
  width: 100%;
  justify-content: flex-end;
  text-align: right;
}

.figurine-price-promo .figurine-price-line--promo .woocommerce-Price-amount {
  justify-content: flex-end;
}

.figurine-step3-total.figurine-price .figurine-price-value::after {
  content: none !important;
}

.figurine-step3-total.figurine-price {
  display: flex;
  grid-template-columns: none;
}

/* Force les tailles du prix promo jusque dans les montants WooCommerce internes. */
.figurine-price-value ins .woocommerce-Price-amount,
.figurine-price-value del .woocommerce-Price-amount,
.figurine-price-value ins .woocommerce-Price-amount bdi,
.figurine-price-value del .woocommerce-Price-amount bdi {
  font-size: inherit !important;
  line-height: inherit;
}

.figurine-price-value ins .woocommerce-Price-currencySymbol,
.figurine-price-value del .woocommerce-Price-currencySymbol {
  font-size: 0.78em !important;
  line-height: inherit;
}

@media (max-width: 782px) {
  .figurine-step3-total.figurine-price {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding: 12px 14px !important;
    text-align: left;
  }

  .figurine-step3-total.figurine-price .figurine-price-label {
    align-self: flex-start;
    font-size: clamp(18px, 5.8vw, 22px);
  }

  .figurine-step3-total.figurine-price .figurine-price-value {
    width: 100%;
    justify-content: flex-end;
    text-align: right;
    white-space: normal;
  }

  .figurine-step3-total.figurine-price .figurine-price-promo {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 6px;
    max-width: none;
    white-space: normal;
  }

  .figurine-step3-total.figurine-price .figurine-price-promo__badge {
    justify-self: start;
    font-size: 12px;
    padding: 4px 9px;
  }

  .figurine-step3-total.figurine-price .figurine-price-line--regular del {
    font-size: clamp(12px, 3.8vw, 14px);
  }

  .figurine-step3-total.figurine-price .figurine-price-line--promo ins {
    font-size: clamp(26px, 9vw, 34px);
  }
}

/* Aligne le prix promo en deux colonnes : Promo au-dessus de Total, prix barré au-dessus du prix clignotant. */
.figurine-step2-nav .figurine-price.figurine-price--promo-layout,
.figurine-step3-total.figurine-price.figurine-price--promo-layout,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-areas:
    "promo-badge promo-regular"
    "promo-label promo-sale";
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
  width: 100%;
  text-align: left;
}

.figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-label,
.figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-label,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-label {
  grid-area: promo-label;
  justify-self: start;
  align-self: center;
}

.figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-value,
.figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-value,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-value {
  display: contents;
}

.figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-promo,
.figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-promo,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-promo {
  display: contents;
  max-width: none;
  margin-left: 0;
  white-space: normal;
}

.figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-promo__badge,
.figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-promo__badge,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-promo__badge {
  grid-area: promo-badge;
  justify-self: start;
}

.figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-line--regular,
.figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-line--regular,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-line--regular {
  grid-area: promo-regular;
  justify-self: end;
}

.figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-line--promo,
.figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-line--promo,
.figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-line--promo {
  grid-area: promo-sale;
  justify-self: end;
  width: auto;
  text-align: right;
}

@media (max-width: 782px) {
  .figurine-step2-nav .figurine-price.figurine-price--promo-layout,
  .figurine-step3-total.figurine-price.figurine-price--promo-layout,
  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout {
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
  }

  .figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-label,
  .figurine-step2-nav .figurine-price.figurine-price--promo-layout .figurine-price-promo__badge,
  .figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-label,
  .figurine-step3-total.figurine-price.figurine-price--promo-layout .figurine-price-promo__badge,
  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-label,
  .figurine-simulator form.cart[data-figurine-current-step="1"] .figurine-price.figurine-price--promo-layout .figurine-price-promo__badge {
    align-self: center;
  }
}