.wpc-config{margin:1.25rem 0}.wpc-progress{font-size:.85rem;opacity:.7;margin-bottom:1rem}.wpc-step h3{margin:0 0 1rem}.wpc-field{margin:0 0 1.1rem}.wpc-field label{display:block;margin-bottom:.4rem;font-weight:600}.wpc-field input,.wpc-field textarea,.wpc-field select{width:100%;max-width:100%;padding:.75rem;border:1px solid #ccc;border-radius:6px;background:transparent;color:inherit;box-sizing:border-box}.wpc-controls{display:flex;gap:.7rem;margin:1rem 0}.wpc-total{font-weight:600}.wpc-step[hidden],.wpc-controls button[hidden]{display:none!important}

.wpc-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin:12px 0}.wpc-product-card{border:1px solid #ddd;border-radius:10px;padding:12px;min-width:0}.wpc-product-card img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.wpc-product-name{font-weight:600;margin:8px 0}.wpc-product-price{font-size:13px;opacity:.7;margin-bottom:8px}.wpc-qty{display:flex;align-items:stretch}.wpc-qty input{width:65px;min-width:0;text-align:center;margin:0!important;border-radius:0!important;appearance:textfield}.wpc-qty button{flex:1;min-width:35px;border:1px solid #ddd;background:transparent;cursor:pointer}.wpc-qty button:first-child{border-radius:6px 0 0 6px}.wpc-qty button:last-child{border-radius:0 6px 6px 0}.wpc-qty input::-webkit-inner-spin-button,.wpc-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.wpc-field[hidden]{display:none!important}

/* Mode liste : style isolé pour ne pas modifier la grille existante. */
.wpc-products--list{display:flex;flex-direction:column;gap:0;margin:12px 0}
.wpc-products--list .wpc-product-card{display:flex;align-items:center;gap:18px;min-width:0;padding:16px 0;border:0;border-bottom:1px solid #dedbd8;border-radius:0;background:transparent}
.wpc-products--list .wpc-product-image{flex:0 0 76px;width:76px}
.wpc-products--list .wpc-product-image img{display:block;width:76px;height:76px;object-fit:cover;border-radius:7px}
.wpc-products--list .wpc-product-details{flex:1;min-width:0}
.wpc-products--list .wpc-product-name{margin:0;font-weight:500;overflow-wrap:anywhere}
.wpc-products--list .wpc-product-price{margin:4px 0 0}
.wpc-products--list .wpc-qty{flex:0 0 auto;display:flex;align-items:stretch;height:46px;border:1px solid #dedbd8;border-radius:10px;overflow:hidden}
.wpc-products--list .wpc-qty button{flex:0 0 44px;min-width:44px;border:0;border-radius:0!important;background:#faf7f5;color:#956b55;font-size:22px;padding:0}
.wpc-products--list .wpc-qty input[type=number]{flex:0 0 62px;width:62px;min-width:0;max-width:62px;height:44px;padding:0 3px;border:0!important;border-left:1px solid #dedbd8!important;border-right:1px solid #dedbd8!important;border-radius:0!important;background:#faf7f5;text-align:center;font-size:17px;box-shadow:none}
@media(max-width:600px){.wpc-products--list .wpc-product-card{gap:10px;padding:12px 0}.wpc-products--list .wpc-product-image{flex-basis:52px;width:52px}.wpc-products--list .wpc-product-image img{width:52px;height:52px}.wpc-products--list .wpc-qty{height:40px}.wpc-products--list .wpc-qty button{flex-basis:34px;min-width:34px}.wpc-products--list .wpc-qty input[type=number]{flex-basis:43px;width:43px;max-width:43px;height:38px;font-size:15px}}

/* v0.4.3: list thumbnails must not inherit full-width card image rules. */
.wpc-config .wpc-products--list .wpc-product-card > .wpc-product-image{display:block!important;flex:0 0 70px!important;width:70px!important;min-width:70px!important;max-width:70px!important;align-self:center!important}
.wpc-config .wpc-products--list .wpc-product-card > .wpc-product-image img{display:block!important;width:70px!important;height:70px!important;min-width:0!important;max-width:100%!important;max-height:70px!important;aspect-ratio:1!important;object-fit:cover!important;margin:0!important;border-radius:7px!important}
.wpc-config .wpc-products--list .wpc-product-card > .wpc-product-name{flex:1 1 auto;min-width:0;margin:0!important}
.wpc-config .wpc-products--list .wpc-product-card > .wpc-product-price{flex:0 1 auto;margin:0!important}
.wpc-config .wpc-products--list .wpc-product-card > .wpc-qty{flex-shrink:0}
@media(max-width:600px){.wpc-config .wpc-products--list .wpc-product-card > .wpc-product-image{flex-basis:52px!important;width:52px!important;min-width:52px!important;max-width:52px!important}.wpc-config .wpc-products--list .wpc-product-card > .wpc-product-image img{width:52px!important;height:52px!important;max-height:52px!important}}

/* v0.4.4 — Accessible single-choice button field */
.wpc-config .wpc-choice-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 18px}
.wpc-config .wpc-choice-buttons .wpc-choice-button{position:relative;display:inline-flex;align-items:center;gap:11px;cursor:pointer;width:auto;max-width:100%;margin:0;padding:13px 17px;border:1px solid #e8ded4;border-radius:12px;background:#faf7f3;color:#352d28;font-weight:500;line-height:1.3;transition:background .15s,border-color .15s;box-sizing:border-box}
.wpc-config .wpc-choice-button input[type=radio]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;pointer-events:none}
.wpc-config .wpc-choice-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border:2px solid #b5ada5;border-radius:6px;background:#fff;color:transparent;font-size:15px;line-height:1}
.wpc-config .wpc-choice-button:has(input:checked){background:#f3e4da;border-color:#bb7655}
.wpc-config .wpc-choice-button input:checked + .wpc-choice-check{background:#b76f4e;border-color:#b76f4e;color:white}
.wpc-config .wpc-choice-button:has(input:focus-visible){outline:3px solid #3273dc;outline-offset:3px}
/* Elementor global button design: inherit its styles without requiring Elementor */
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-button{background:var(--e-global-color-accent,#69727d);color:var(--e-global-color-primary,#fff);border-color:transparent;border-radius:var(--wpc-elementor-button-radius,6px);font-family:var(--e-global-typography-accent-font-family,inherit);font-weight:var(--e-global-typography-accent-font-weight,600)}
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-button:has(input:checked){background:var(--e-global-color-primary,#333);color:var(--e-global-color-secondary,#fff);border-color:var(--e-global-color-accent,#69727d)}
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-check{background:transparent;border-color:currentColor}
.wpc-config .wpc-choice-buttons--elementor input:checked + .wpc-choice-check{background:currentColor;border-color:currentColor;color:inherit}
@media(max-width:600px){.wpc-config .wpc-choice-buttons{gap:8px}.wpc-config .wpc-choice-buttons .wpc-choice-button{padding:11px 12px}}

/* Compteurs universels minimalistes */
.wpc-config .wpc-qty,.wpc-config .wpc-products--list .wpc-qty{display:flex;align-items:center;gap:9px;height:auto;border:0;border-radius:0;overflow:visible;background:transparent}
.wpc-config .wpc-qty button,.wpc-config .wpc-products--list .wpc-qty button{flex:0 0 54px;min-width:54px;width:54px;height:38px;border:1px solid #111!important;border-radius:999px!important;background:transparent!important;color:#111!important;font-size:22px;line-height:1;padding:0;box-shadow:none}
.wpc-config .wpc-qty input[type=number],.wpc-config .wpc-products--list .wpc-qty input[type=number]{flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:38px;border:0!important;background:transparent!important;color:#111;text-align:center;padding:0!important;box-shadow:none!important}
@media(max-width:600px){.wpc-config .wpc-qty,.wpc-config .wpc-products--list .wpc-qty{gap:5px}.wpc-config .wpc-qty button,.wpc-config .wpc-products--list .wpc-qty button{flex-basis:39px;min-width:39px;width:39px;height:34px}.wpc-config .wpc-qty input[type=number],.wpc-config .wpc-products--list .wpc-qty input[type=number]{flex-basis:34px;width:34px;min-width:34px;max-width:34px;height:34px}}
/* Choix de couleur unique */
.wpc-color-swatches{display:flex;gap:15px;flex-wrap:wrap;margin:12px 0}.wpc-color-swatch{display:flex;align-items:center;flex-direction:column;gap:6px;cursor:pointer;font-size:13px}.wpc-color-swatch input{position:absolute;opacity:0;width:1px;height:1px}.wpc-color-dot{background:var(--wpc-swatch);border:1px solid #aaa;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;outline:2px solid transparent;outline-offset:3px}.wpc-color-dot span{opacity:0;background:#fff;color:#111;border-radius:50%;font-size:12px;width:19px;height:19px;display:grid;place-items:center}.wpc-color-swatch input:checked+.wpc-color-dot{outline-color:#111}.wpc-color-swatch input:checked+.wpc-color-dot span{opacity:1}.wpc-color-swatch input:focus-visible+.wpc-color-dot{outline:3px solid #2271b1}

/* V0.4.6 : compteurs fins et symboles parfaitement centrés */
.wpc-config .wpc-qty button,.wpc-config .wpc-products--list .wpc-qty button{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;border:1px solid #111!important;border-radius:999px!important;background:transparent!important;color:#111!important;font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:400!important;line-height:1!important;letter-spacing:0!important;text-align:center!important;text-indent:0!important;padding:0!important;appearance:none!important;-webkit-appearance:none!important;box-shadow:none!important;transform:none!important}
.wpc-config .wpc-qty button:hover,.wpc-config .wpc-qty button:focus{border-width:1px!important;box-shadow:none!important}

/* V0.4.8 — Bordures discrètes et homogènes sur tous les contrôles. */
.wpc-config{--wpc-border-soft:#d0d0d0}
.wpc-config .wpc-field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.wpc-config .wpc-field textarea,
.wpc-config .wpc-field select{
  border:1px solid var(--wpc-border-soft)!important;
  box-shadow:none!important;
}
/* Les champs numériques des compteurs restent sans encadrement. */
.wpc-config .wpc-qty input[type="number"],
.wpc-config .wpc-products--list .wpc-qty input[type="number"]{
  border:0!important;outline-offset:2px;box-shadow:none!important;
}
.wpc-config .wpc-qty button,
.wpc-config .wpc-products--list .wpc-qty button{
  border:1px solid var(--wpc-border-soft)!important;
  outline:none;border-radius:999px!important;
  background:transparent!important;box-shadow:none!important;
  color:inherit!important;
}
.wpc-config .wpc-qty button:hover,
.wpc-config .wpc-products--list .wpc-qty button:hover{
  border-color:var(--wpc-border-soft)!important;
  background:rgba(0,0,0,.035)!important;
}
.wpc-config .wpc-choice-buttons .wpc-choice-button,
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-button,
.wpc-config .wpc-choice-buttons .wpc-choice-button.elementor-button{
  display:inline-flex!important;align-items:center!important;gap:11px!important;
  border:1px solid var(--wpc-border-soft)!important;
  border-radius:999px!important;
  background:transparent!important;background-image:none!important;
  color:inherit!important;box-shadow:none!important;outline:none!important;
  padding:12px 18px!important;min-height:48px;
  transition:background-color .18s ease!important;
}
.wpc-config .wpc-choice-buttons .wpc-choice-button:hover{
  background:rgba(0,0,0,.035)!important;
}
.wpc-config .wpc-choice-buttons .wpc-choice-button:has(input:checked),
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-button:has(input:checked){
  border:1px solid var(--wpc-border-soft)!important;
  background:rgba(0,0,0,.05)!important;
  padding:12px 18px!important;
  box-shadow:none!important;outline:none!important;
}
.wpc-config .wpc-choice-buttons .wpc-choice-check,
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-check{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:21px;height:21px;flex:0 0 21px;
  border:1px solid var(--wpc-border-soft)!important;border-radius:6px!important;
  background:transparent!important;color:transparent!important;
  font-size:14px!important;line-height:1!important;
}
.wpc-config .wpc-choice-buttons .wpc-choice-button input:checked + .wpc-choice-check,
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-button input:checked + .wpc-choice-check{
  border-color:#777!important;background:#777!important;color:#fff!important;
}
.wpc-config .wpc-choice-buttons .wpc-choice-label{color:inherit!important}
/* Focus clavier visible sans double contour permanent. */
.wpc-config .wpc-choice-buttons .wpc-choice-button:has(input:focus-visible),
.wpc-config .wpc-qty button:focus-visible{
  outline:2px solid #777!important;outline-offset:3px!important;
}
@media(max-width:600px){
  .wpc-config .wpc-choice-buttons .wpc-choice-button,
  .wpc-config .wpc-choice-buttons .wpc-choice-button:has(input:checked){
    padding:10px 14px!important;min-height:44px;
  }
}

/* v0.4.9 — Boutons de choix sans coche : l'état est porté par la surface. */
.wpc-config .wpc-choice-buttons .wpc-choice-check{display:none!important}
.wpc-config .wpc-choice-buttons .wpc-choice-button,
.wpc-config .wpc-choice-buttons .wpc-choice-button:has(input:checked){gap:0!important}

/* v0.4.9 — Liste produits : titre prioritaire, prix unitaire masqué.
   Le tarif des composants reste calculé côté PHP/JS. */
.wpc-config .wpc-product-price{display:none!important}
.wpc-config .wpc-products--list .wpc-product-card > .wpc-product-name{
  flex:1 1 0!important;min-width:0!important;overflow-wrap:break-word;
}
@media(max-width:600px){
  .wpc-config .wpc-products--list .wpc-product-card{gap:8px!important}
  .wpc-config .wpc-products--list .wpc-qty{gap:4px!important;flex:0 0 auto!important}
  .wpc-config .wpc-products--list .wpc-qty button{
    flex:0 0 30px!important;width:30px!important;min-width:30px!important;
    height:30px!important;min-height:30px!important;font-size:18px!important;
    padding:0!important;line-height:1!important;
  }
  .wpc-config .wpc-products--list .wpc-qty input[type=number]{
    flex:0 0 24px!important;width:24px!important;min-width:24px!important;
    max-width:24px!important;height:30px!important;min-height:30px!important;
    padding:0!important;border:0!important;box-shadow:none!important;
    font-size:15px!important;appearance:textfield!important;
  }
}

/* v0.4.10 — Espacement et champ quantité sans encadrement sur mobile. */
@media (max-width:600px){
  .wpc-config .wpc-products--list .wpc-product-card > .wpc-product-image{
    margin-right:8px!important;
  }
  .wpc-config .wpc-products--list .wpc-qty{
    gap:8px!important;
  }
  .wpc-config .wpc-products--list .wpc-qty input[type="number"]{
    box-sizing:border-box!important;
    border:0!important;
    border-width:0!important;
    border-radius:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    background-image:none!important;
    -webkit-appearance:none!important;
    appearance:textfield!important;
    padding:0!important;
    margin:0!important;
    text-align:center!important;
  }
  .wpc-config .wpc-products--list .wpc-qty input[type="number"]:focus{
    border:0!important;outline:0!important;box-shadow:none!important;
  }
}

/* v0.4.11 — Compteurs sans bordures, uniquement dans le configurateur. */
.wpc-config .wpc-qty button,
.wpc-config .wpc-products--list .wpc-qty button,
.wpc-config .wpc-qty button:hover,
.wpc-config .wpc-products--list .wpc-qty button:hover,
.wpc-config .wpc-qty button:focus,
.wpc-config .wpc-products--list .wpc-qty button:focus{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
/* Plus spécifique que les règles globales des champs du configurateur. */
.wpc-config .wpc-field .wpc-qty input[type="number"],
.wpc-config .wpc-field .wpc-products--list .wpc-qty input[type="number"],
.wpc-config .wpc-qty input[type="number"],
.wpc-config .wpc-products--list .wpc-qty input[type="number"]{
  border:0!important;
  border-width:0!important;
  border-radius:0!important;
  outline:0;
  box-shadow:none!important;
  background:transparent!important;
  background-image:none!important;
  -webkit-appearance:none!important;
  appearance:textfield!important;
}
/* Garder un repère accessible lors de la navigation clavier. */
.wpc-config .wpc-qty button:focus-visible,
.wpc-config .wpc-qty input[type="number"]:focus-visible{
  outline:2px solid #777!important;
  outline-offset:3px!important;
}

/* v0.4.12 — Avoid double-tap zoom on quantity controls (Chrome / Safari mobile). */
.wpc-config .wpc-qty button,
.wpc-config .wpc-products--list .wpc-qty button {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
}

/* V0.4.13 – Pastilles centrées, libellés espacés */
.wpc-config .wpc-color-swatches{align-items:flex-start;column-gap:18px;row-gap:18px}
.wpc-config .wpc-color-swatch{display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;gap:8px!important}
.wpc-config .wpc-color-dot{flex:none;margin-inline:auto!important}
.wpc-config .wpc-color-name{display:block;text-align:center!important;line-height:1.3!important;margin:0!important}
.wpc-config .wpc-product-card:not(:has(.wpc-product-image)) .wpc-product-name{flex:1;min-width:0}

/* v0.4.18 — Selection nette et navigation harmonisée avec Elementor. */
.wpc-config .wpc-color-swatch .wpc-color-dot span{display:none!important}
.wpc-config .wpc-color-swatch input:checked + .wpc-color-dot{
  outline:2px solid #111!important;outline-offset:4px!important;
  box-shadow:none!important;
}
.wpc-config .wpc-color-swatch input:focus-visible + .wpc-color-dot{
  outline:2px solid #111!important;outline-offset:4px!important;
}
.wpc-config .wpc-choice-buttons .wpc-choice-button:has(input:checked),
.wpc-config .wpc-choice-buttons--elementor .wpc-choice-button:has(input:checked){
  border:2px solid #111!important;
  padding:11px 17px!important; /* Compensation pour garder les mêmes dimensions. */
  background:rgba(0,0,0,.05)!important;
  box-shadow:none!important;outline:none!important;
}
.wpc-config .wpc-controls{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;gap:16px!important;margin:24px 0 16px!important;
}
.wpc-config .wpc-controls .wpc-prev{margin-right:auto!important}
.wpc-config .wpc-controls .wpc-next{margin-left:auto!important}
.wpc-config .wpc-controls button.wpc-prev,
.wpc-config .wpc-controls button.wpc-next{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-height:46px!important;padding:10px 22px!important;
  border:1px solid #111!important;border-radius:999px!important;
  background:transparent!important;background-image:none!important;
  color:#111!important;box-shadow:none!important;text-shadow:none!important;
  font-family:var(--e-global-typography-text-font-family,inherit)!important;
  font-size:var(--e-global-typography-text-font-size,inherit)!important;
  font-weight:var(--e-global-typography-text-font-weight,400)!important;
  font-style:var(--e-global-typography-text-font-style,normal)!important;
  line-height:1.4!important;letter-spacing:normal!important;text-transform:none!important;
  cursor:pointer!important;transition:background-color .15s ease!important;
}
.wpc-config .wpc-controls button.wpc-prev:hover,
.wpc-config .wpc-controls button.wpc-next:hover{background:rgba(0,0,0,.045)!important}
.wpc-config .wpc-controls button:focus-visible{outline:2px solid #111!important;outline-offset:3px!important}
.wpc-config .wpc-controls button[hidden]{display:none!important}
@media(max-width:600px){
  .wpc-config .wpc-choice-buttons .wpc-choice-button:has(input:checked),
  .wpc-config .wpc-choice-buttons--elementor .wpc-choice-button:has(input:checked){padding:9px 13px!important}
  .wpc-config .wpc-controls button.wpc-prev,
  .wpc-config .wpc-controls button.wpc-next{min-height:44px!important;padding:9px 16px!important}
}

/* 0.4.19 — Navigation directe entre les étapes déjà validées */
.wpc-config .wpc-step-tabs{display:flex;align-items:stretch;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;margin:0 0 12px;padding:0 0 7px;scrollbar-width:thin}
.wpc-config .wpc-step-tab{appearance:none;-webkit-appearance:none;position:relative;flex:1 0 max-content;min-width:110px;max-width:260px;display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 10px 15px;border:0!important;border-bottom:3px solid #dedede!important;border-radius:0!important;background:transparent!important;color:#555!important;box-shadow:none!important;font-family:var(--e-global-typography-text-font-family,inherit)!important;font-size:var(--e-global-typography-text-font-size,inherit)!important;font-weight:var(--e-global-typography-text-font-weight,400)!important;line-height:1.35;white-space:normal;text-align:center;cursor:pointer;transition:border-color .15s ease}
.wpc-config .wpc-step-tab.is-active{border-bottom-color:#111!important;color:#111!important;font-weight:600!important}
.wpc-config .wpc-step-tab.is-complete{border-bottom-color:#999!important;color:#222!important}
.wpc-config .wpc-step-tab:disabled{cursor:not-allowed;opacity:.4}
.wpc-config .wpc-step-tab:not(:disabled):hover{border-bottom-color:#111!important}
.wpc-config .wpc-step-tab:focus-visible{outline:2px solid #111!important;outline-offset:-3px!important}
.wpc-config .wpc-tab-check{display:none;flex:none;width:15px;height:15px}
.wpc-config .wpc-step-tab.is-complete .wpc-tab-check{display:inline-flex;align-items:center;justify-content:center}
.wpc-config .wpc-step-tab.is-complete .wpc-tab-check::before{content:'✓';font-size:13px;line-height:1}
@media(max-width:767px){.wpc-config .wpc-step-tabs{gap:8px}.wpc-config .wpc-step-tab{flex:0 0 auto;min-width:105px;max-width:190px;padding:11px 10px 13px}}

/* v0.4.20 : ajout au panier à la dernière étape */
.wpc-config .wpc-controls .wpc-add-to-cart{margin-left:auto!important;min-height:44px!important;padding:10px 20px!important;border:1px solid #111!important;border-radius:999px!important;background:transparent!important;color:#111!important;box-shadow:none!important;font-family:var(--e-global-typography-text-font-family,inherit)!important;font-weight:var(--e-global-typography-text-font-weight,inherit)!important;font-size:var(--e-global-typography-text-font-size,inherit)!important;line-height:1.4!important;cursor:pointer!important}
.wpc-config .wpc-controls .wpc-add-to-cart:hover{background:rgba(0,0,0,.045)!important}
.wpc-config .wpc-controls .wpc-add-to-cart[hidden]{display:none!important}
form.wpc-has-configurator .wpc-native-add-to-cart{display:none!important}

.wpc-config .wpc-add-to-cart.loading{opacity:.6;cursor:wait}.wpc-config .wpc-ajax-notice{margin:12px 0;color:inherit}

/* 0.4.23 — Récapitulatif desktop sticky et mobile fixe */
.wpc-config{--wpc-summary-bg:#fffcf3;--wpc-summary-border:#e3ded6;position:relative}
.wpc-config .wpc-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,29%);align-items:start;gap:clamp(20px,3vw,44px)}
.wpc-config .wpc-main{min-width:0}
.wpc-config .wpc-summary{position:sticky;top:110px;align-self:start;background:var(--wpc-summary-bg);border:1px solid var(--wpc-summary-border);border-radius:12px;padding:20px;max-height:calc(100vh - 130px);overflow:auto;font-family:var(--e-global-typography-text-font-family,inherit);color:#1c1c1c}
.wpc-config .wpc-summary h3{font-size:1.05rem;margin:0 0 20px}
.wpc-config .wpc-summary-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:7px 0;font-size:.88rem;line-height:1.45}
.wpc-config .wpc-summary-row span:first-child{min-width:0;overflow-wrap:anywhere}
.wpc-config .wpc-summary-row span:last-child{flex-shrink:0;white-space:nowrap}
.wpc-config .wpc-summary-subrow{color:#777;font-size:.78rem;padding:2px 0 2px 10px}
.wpc-config .wpc-summary-footer{display:flex;flex-direction:column;gap:7px;border-top:1px solid var(--wpc-summary-border);margin-top:14px;padding-top:18px}
.wpc-config .wpc-summary-footer span{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#777}
.wpc-config .wpc-summary-price{font-size:1.7rem;line-height:1.2}
.wpc-config .wpc-summary-detail-toggle{display:block!important;width:auto!important;border:0!important;background:none!important;color:#111!important;text-decoration:underline;font-size:.8rem!important;padding:10px 0 0!important;cursor:pointer}
.wpc-config .wpc-mobile-summary{display:none}
.wpc-config .wpc-total{display:none}
@media(max-width:767px){
 .wpc-config .wpc-layout{display:block}
 .wpc-config .wpc-summary{display:none}
 .wpc-config{padding-bottom:96px}
 .wpc-config .wpc-mobile-summary{display:block;position:fixed;bottom:0;left:0;right:0;z-index:999;background:var(--wpc-summary-bg);border-top:1px solid var(--wpc-summary-border);box-shadow:0 -5px 25px rgba(0,0,0,.07);padding:12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));font-family:var(--e-global-typography-text-font-family,inherit);color:#111}
 .wpc-config .wpc-mobile-summary-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%!important;text-align:left!important;background:transparent!important;color:#111!important;border:0!important;padding:0!important;box-shadow:none!important}
 .wpc-config .wpc-mobile-summary-toggle>span:first-child{display:flex;flex-direction:column;gap:4px}
 .wpc-config .wpc-mobile-count{font-size:.68rem;letter-spacing:.04em;color:#777}
 .wpc-config .wpc-mobile-price{font-size:1.35rem;line-height:1.2}
 .wpc-config .wpc-mobile-detail-label{font-size:.8rem;text-decoration:underline;white-space:nowrap}
 .wpc-config .wpc-mobile-summary-panel:not([hidden]){display:block;max-height:min(52vh,480px);overflow-y:auto;border-bottom:1px solid var(--wpc-summary-border);margin-bottom:12px;padding-bottom:12px}
 .wpc-config .wpc-mobile-summary-panel[hidden]{display:none!important}
 .wpc-config .wpc-mobile-summary-content>strong{display:block;margin:10px 0}
 .wpc-config .wpc-mobile-close{display:block!important;background:transparent!important;border:1px solid #111!important;color:#111!important;border-radius:999px!important;padding:7px 20px!important;margin:10px 0 0 auto!important}
 .wpc-config .wpc-summary-grand-total{border-top:1px solid var(--wpc-summary-border);margin-top:8px;padding-top:14px}
}

/* v0.4.24 — Mobile : onglets persistants, défilement interne de l'étape et actions visibles */
@media (max-width:767px){
  .wpc-config{--wpc-mobile-header-offset:0px;--wpc-mobile-summary-height:100px;--wpc-mobile-tabs-height:66px;--wpc-mobile-actions-height:74px;}
  .wpc-config .wpc-step-tabs{
    position:sticky;top:var(--wpc-mobile-header-offset);z-index:30;
    background:var(--wpc-summary-bg,#fffcf3);margin-bottom:0!important;
    padding:6px 0 10px!important;scrollbar-width:none;
  }
  .wpc-config .wpc-step-tabs::-webkit-scrollbar{display:none}
  .wpc-config .wpc-layout,.wpc-config .wpc-main{min-height:0}
  .wpc-config .wpc-step:not([hidden]){
    display:block;overflow-y:auto;overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    max-height:var(--wpc-mobile-step-height,45dvh);
    scrollbar-width:thin;
    padding:4px 6px 16px 0;
  }
  .wpc-config .wpc-step[hidden]{display:none!important}
  .wpc-config .wpc-controls{
    position:sticky;bottom:var(--wpc-mobile-summary-height);z-index:25;
    background:var(--wpc-summary-bg,#fffcf3);
    padding:10px 0!important;margin:0!important;
    border-top:1px solid var(--wpc-summary-border,#e3ded6);
  }
  .wpc-config .wpc-mobile-summary{z-index:40}
  .wpc-config .wpc-progress{margin-top:10px}
}

/* v0.4.25 — Elementor Text for content; Elementor Button (Accent) for actions */
.wpc-config{
  font-family:var(--e-global-typography-text-font-family,inherit)!important;
  font-size:var(--e-global-typography-text-font-size,inherit);
  font-weight:var(--e-global-typography-text-font-weight,inherit);
  font-style:var(--e-global-typography-text-font-style,normal);
  line-height:var(--e-global-typography-text-line-height,inherit);
  letter-spacing:var(--e-global-typography-text-letter-spacing,normal);
  text-transform:var(--e-global-typography-text-text-transform,none);
}
.wpc-config .wpc-step,
.wpc-config .wpc-step h3,
.wpc-config .wpc-field,
.wpc-config .wpc-field label,
.wpc-config .wpc-product-name,
.wpc-config .wpc-choice-button,
.wpc-config .wpc-color-swatch,
.wpc-config .wpc-progress,
.wpc-config .wpc-step-tab,
.wpc-config .wpc-summary,
.wpc-config .wpc-summary h3,
.wpc-config .wpc-summary-row,
.wpc-config .wpc-summary-footer,
.wpc-config .wpc-mobile-summary,
.wpc-config .wpc-mobile-summary-toggle,
.wpc-config .wpc-mobile-detail-label,
.wpc-config .wpc-mobile-count,
.wpc-config .wpc-mobile-price,
.wpc-config .wpc-summary-detail-toggle,
.wpc-config .wpc-summary-price,
.wpc-config .wpc-qty input,
.wpc-config .wpc-field input,
.wpc-config .wpc-field select,
.wpc-config .wpc-field textarea{
  font-family:var(--e-global-typography-text-font-family,inherit)!important;
}
/* Les boutons d'action retrouvent la typographie Boutons (Accent) Elementor. */
.wpc-config .wpc-controls button.wpc-prev,
.wpc-config .wpc-controls button.wpc-next,
.wpc-config .wpc-controls button.wpc-add-to-cart{
  font-family:var(--e-global-typography-accent-font-family,inherit)!important;
  font-size:var(--e-global-typography-accent-font-size,inherit)!important;
  font-weight:var(--e-global-typography-accent-font-weight,600)!important;
  font-style:var(--e-global-typography-accent-font-style,normal)!important;
  line-height:var(--e-global-typography-accent-line-height,1.4)!important;
  letter-spacing:var(--e-global-typography-accent-letter-spacing,normal)!important;
  text-transform:var(--e-global-typography-accent-text-transform,none)!important;
}

/* v0.4.26 — Cartes de sélection du produit */
.wpc-config .wpc-card-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.wpc-config .wpc-select-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:14px;border:1px solid #dedbd7;border-radius:14px;background:#fff;cursor:pointer;text-align:center;transition:border-color .15s ease,box-shadow .15s ease}
.wpc-config .wpc-select-card:has(input:checked){border:2px solid #151515;padding:13px}
.wpc-config .wpc-select-card:has(input:focus-visible){outline:2px solid #151515;outline-offset:3px}
.wpc-config .wpc-select-card input[type=radio]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none}
.wpc-config .wpc-select-card-visual{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;border-radius:8px;background:#f8f8f8;overflow:hidden}
.wpc-config .wpc-select-card-visual img{width:100%;height:100%;object-fit:contain}
.wpc-config .wpc-card-placeholder{width:60%;height:60%;border:1px dashed #d5d5d5;border-radius:8px}
.wpc-config .wpc-select-card .wpc-choice-label{font-family:var(--e-global-typography-text-font-family,inherit)!important;font-size:1rem;line-height:1.4;color:#222}
.wpc-config .wpc-select-card-price{font-size:.95rem;color:#666;margin-top:auto}
.wpc-config .wpc-card-indicator{position:absolute;right:22px;top:22px;width:24px;height:24px;border:1.5px solid #ccc;background:#fff;border-radius:50%}
.wpc-config .wpc-select-card:has(input:checked) .wpc-card-indicator{border:6px solid #111}
@media(max-width:767px){.wpc-config .wpc-card-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wpc-config .wpc-select-card{padding:9px;gap:7px}.wpc-config .wpc-select-card:has(input:checked){padding:8px}.wpc-config .wpc-card-indicator{right:14px;top:14px;width:20px;height:20px}.wpc-config .wpc-select-card .wpc-choice-label{font-size:.9rem}.wpc-config .wpc-select-card-price{font-size:.82rem}}

/* v0.4.27 — Carrousel de cartes sur mobile avec aperçu de la suivante */
@media (max-width:767px) {
  .wpc-config .wpc-card-choices {
    display:flex!important; flex-wrap:nowrap!important; grid-template-columns:none!important;
    gap:12px!important; overflow-x:auto!important; overflow-y:hidden!important;
    scroll-snap-type:x mandatory; scroll-padding-inline:0;
    -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain;
    padding:2px 16px 14px 2px; scrollbar-width:none;
    max-width:100%; width:100%; box-sizing:border-box; touch-action:pan-x pan-y;
  }
  .wpc-config .wpc-card-choices::-webkit-scrollbar {display:none;}
  .wpc-config .wpc-card-choices > .wpc-select-card {
    flex:0 0 78%!important; width:78%!important; max-width:320px;
    scroll-snap-align:start; scroll-snap-stop:normal; box-sizing:border-box;
  }
}

/* v0.4.29 — Onglets sticky sur ordinateur, recapitulatif decale, compteur masque */
.wpc-config .wpc-progress{display:none!important}
@media (min-width:768px){
 .wpc-config .wpc-step-tabs{position:sticky;top:20px;z-index:35;background:var(--wpc-summary-bg,#fffcf3);padding-top:12px;padding-bottom:12px;margin-bottom:18px;isolation:isolate}
 .wpc-config .wpc-summary{margin-top:16px;top:110px}
}

/* v0.4.30: sticky desktop resilient aux conteneurs Elementor */
@media(min-width:768px){
 .wpc-config .wpc-step-tabs{top:var(--wpc-desktop-tabs-top,110px)!important;z-index:100!important;background:#fffcf3!important;padding:12px 0 14px!important;margin-bottom:18px!important;}
 .wpc-config .wpc-summary{top:var(--wpc-desktop-summary-top,135px)!important;margin-top:22px!important;z-index:10;}
 .wpc-config .wpc-step-tabs.wpc-sticky-fallback,.wpc-config .wpc-summary.wpc-sticky-fallback{position:fixed!important;margin:0!important;box-sizing:border-box!important;}
}

/* v0.4.31: keep summary in the right grid column even with sticky fallback anchors */
@media(min-width:768px){
 .wpc-config .wpc-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(230px,28%)!important;gap:clamp(20px,3vw,44px)!important;align-items:start!important;}
 .wpc-config .wpc-main{grid-column:1!important;grid-row:1!important;min-width:0!important;}
 .wpc-config .wpc-summary{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%;box-sizing:border-box!important;}
 .wpc-config .wpc-summary-anchor{display:none!important;}
 .wpc-config .wpc-summary.wpc-sticky-fallback{width:var(--wpc-summary-fixed-width,280px)!important;}
}

/* v0.4.32: desktop tabs horizontally scrollable, summary raised and fixed in right column */
@media(min-width:768px){
 .wpc-config .wpc-step-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;max-width:100%;min-width:0;gap:10px!important;}
 .wpc-config .wpc-step-tabs::-webkit-scrollbar{display:none}
 .wpc-config .wpc-step-tab{flex:0 0 auto!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;padding-left:16px!important;padding-right:16px!important;}
 .wpc-config .wpc-summary{margin-top:-78px!important;top:110px!important;max-height:calc(100dvh - 130px);}
 .wpc-config .wpc-summary.wpc-sticky-fallback{margin-top:0!important;position:fixed!important;z-index:80!important;}
 .wpc-config .wpc-summary-anchor{display:block!important;grid-column:2!important;grid-row:1!important;visibility:hidden;pointer-events:none;height:1px!important;}
 .wpc-config .wpc-tabs-anchor{height:0;min-width:0;}
}

/* v0.4.33 — Empêche le recadrage du haut du récapitulatif desktop.
   La marge négative de v0.4.32 remontait la carte sous les onglets sticky. */
@media (min-width:768px){
 .wpc-config .wpc-summary:not(.wpc-sticky-fallback){margin-top:0!important;}
 .wpc-config .wpc-summary.wpc-sticky-fallback{margin-top:0!important;top:110px!important;}
}

/* v0.4.34: le recapitulatif reste sous la barre d'onglets sticky. */
@media(min-width:768px){
 .wpc-config .wpc-summary.wpc-sticky-fallback{
   top:var(--wpc-dynamic-sticky-top,190px)!important;
   max-height:calc(100dvh - var(--wpc-dynamic-sticky-top,190px) - 16px)!important;
   overflow-y:auto;
 }
 .wpc-config .wpc-summary:not(.wpc-sticky-fallback){
   top:190px!important;
 }
}

/* v0.4.35: fixed summary keeps the exact grid column width, not a 280px fallback. */
@media(min-width:768px){
 .wpc-config .wpc-summary.wpc-sticky-fallback{
   width:var(--wpc-summary-fixed-width,280px)!important;
   min-width:0!important;max-width:none!important;
 }
}

/* v0.4.36 : titre d'étape redondant supprimé, hauteur uniforme sur mobile. */
.wpc-config .wpc-step > h3{display:none!important}
@media(max-width:767px){
  .wpc-config .wpc-step:not([hidden]){
    height:var(--wpc-mobile-step-height,45dvh)!important;
    min-height:0!important;
    max-height:var(--wpc-mobile-step-height,45dvh)!important;
    overflow-y:auto!important;
    box-sizing:border-box!important;
  }
  .wpc-config .wpc-controls{flex-shrink:0!important}
}

/* v0.4.37: consigne de chaque étape, sans doublon de libellé */
.wpc-config .wpc-step-instruction{margin:0 0 1rem;font:inherit;font-weight:600;line-height:1.5}
.wpc-config .wpc-field-first-instructed > label:first-child{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* v0.4.38 : validation des quantités cumulées */
.wpc-config .wpc-quantity-error{color:#b42318;font-size:14px;line-height:1.45;margin:12px 0 0}.wpc-config .wpc-field-invalid>.wpc-products{outline:1px solid #b42318;outline-offset:6px;border-radius:5px}
