/* Peau de Satin — fiche produit signature.
   Valeurs reprises du thème publié : bordeaux #601826 (bouton), #4d101a (titres),
   #771526 (prix), or #9a744b, champagne #d8b88e / #c5a36e, ivoire #fff8ef,
   fond #fffdf9, sable #f4ede4 / #f8efe5, encre #241915, texte #443b37,
   rayon média 14 px, rayon bouton 6 px, pastilles 40 px.
   Polices : celles du thème (Bodoni Moda pour les titres, Manrope pour la lecture). */

.pds-sig,
.pds-sig-editorial {
  --pds-bordeaux: #601826;
  --pds-bordeaux-deep: #4d101a;
  --pds-bordeaux-ink: #681329;
  --pds-wine: #771526;
  --pds-gold: #9a744b;
  --pds-champagne: #d8b88e;
  --pds-champagne-2: #c5a36e;
  --pds-ivory: #fff8ef;
  --pds-cream: #fffdf9;
  --pds-sand: #f4ede4;
  --pds-sand-2: #f8efe5;
  --pds-ink: #241915;
  --pds-text: #443b37;
  --pds-muted: #705b51;
  --pds-line: rgba(157, 133, 104, .3);
  --pds-line-soft: rgba(157, 133, 104, .18);
  --pds-display: var(--font-heading-family, 'Bodoni Moda', Georgia, serif);
  --pds-body: var(--font-body-family, 'Manrope', Arial, sans-serif);
  --pds-radius-media: 14px;
  --pds-radius-btn: 6px;
  --pds-gutter: 16px;
}

.pds-sig {
  box-sizing: border-box;
  width: 100%;
  max-width: 132rem;
  margin: 0 auto;
  padding: 4px var(--pds-gutter) 0;
  color: var(--pds-text);
  font-family: var(--pds-body);
  letter-spacing: 0;
  overflow-x: clip;
}
:where(.pds-sig) *, :where(.pds-sig) *::before, :where(.pds-sig) *::after { box-sizing: border-box; }
:where(.pds-sig) :where(h1, h2, h3, p, ul, fieldset, legend) { margin: 0; }
:where(.pds-sig) :where(ul[role="list"]) { list-style: none; padding: 0; }
:where(.pds-sig) :where(button) { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:where(.pds-sig) :where(svg) { display: block; }
.pds-sig :focus-visible { outline: 2px solid var(--pds-wine); outline-offset: 2px; }

.pds-sig__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pds-sig__media, .pds-sig__info { min-width: 0; }

/* ───────── Galerie ───────── */
.pds-sig-gallery { display: block; }
.pds-sig-gallery__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 66svh;
  min-height: 300px;
  width: 100%;
  border-radius: var(--pds-radius-media);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(216, 184, 142, .22), transparent 60%),
    linear-gradient(165deg, #fbf6f0 0%, var(--pds-sand) 100%);
  isolation: isolate;
}
.pds-sig-gallery__track {
  display: flex;
  height: 100%;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.pds-sig-gallery__track::-webkit-scrollbar { display: none; }
.pds-sig-gallery__track:focus-visible { outline-offset: -3px; }
.pds-sig-gallery__slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pds-sig-gallery__zoom-target {
  all: unset;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.pds-sig-gallery__zoom-target:focus-visible { outline: 2px solid var(--pds-wine); outline-offset: -4px; }
.pds-sig-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7% 6% 13%;
  mix-blend-mode: multiply;
}
.pds-sig-gallery__video { width: 100%; height: 100%; display: flex; align-items: center; background: #000; }
.pds-sig-gallery__video :is(video, iframe) { width: 100%; height: 100%; border: 0; object-fit: contain; }
.pds-sig-gallery__placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.pds-sig-gallery__placeholder-svg { width: 70%; height: auto; fill: rgba(157, 133, 104, .35); }

.pds-sig-gallery__signature {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--pds-display);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: rgba(77, 16, 26, .62);
  pointer-events: none;
}
.pds-sig-gallery__counter {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: rgba(77, 16, 26, .7);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.pds-sig-gallery__counter-sep { display: block; width: 18px; height: 1px; background: currentColor; opacity: .55; }
.pds-sig-gallery__loupe,
.pds-sig-gallery__arrow {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(157, 133, 104, .28);
  border-radius: 50%;
  background: rgba(255, 253, 249, .86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--pds-bordeaux-deep);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.pds-sig-gallery__loupe { top: 12px; right: 12px; }
.pds-sig-gallery__loupe svg, .pds-sig-gallery__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pds-sig-gallery__arrow { top: 50%; margin-top: -21px; display: none; }
.pds-sig-gallery__arrow--prev { left: 12px; }
.pds-sig-gallery__arrow--next { right: 12px; }
.pds-sig-gallery__arrow[disabled] { opacity: 0; pointer-events: none; }

.pds-sig-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  padding: 2px 2px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.pds-sig-gallery__thumbs::-webkit-scrollbar { display: none; }
.pds-sig-gallery__thumbs li { flex: 0 0 auto; scroll-snap-align: start; }
.pds-sig-gallery__thumb {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid var(--pds-line-soft);
  border-radius: 10px;
  overflow: hidden;
  background: var(--pds-sand-2);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pds-sig-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.pds-sig-gallery__thumb[aria-current="true"] { border-color: var(--pds-bordeaux); box-shadow: inset 0 0 0 1px var(--pds-bordeaux); }
.pds-sig-gallery__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(36, 25, 21, .18);
}
.pds-sig-gallery__play svg { width: 24px; height: 24px; fill: #fff; }

/* Zoom plein écran */
.pds-sig-zoom {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--pds-cream);
  color: var(--pds-ink);
  overflow: hidden;
}
.pds-sig-zoom::backdrop { background: rgba(36, 25, 21, .5); }
.pds-sig-zoom__list { height: 100%; margin: 0; padding: 64px 0 56px; overflow-y: auto; overscroll-behavior: contain; }
.pds-sig-zoom__list li { display: flex; justify-content: center; padding: 0 0 12px; overflow: auto; }
.pds-sig-zoom__img { display: block; width: 100%; max-width: 1100px; height: auto; cursor: zoom-in; mix-blend-mode: multiply; background: transparent; transition: width .25s ease; }
.pds-sig-zoom__img.is-zoomed { width: 200%; max-width: none; cursor: zoom-out; }
.pds-sig-zoom__close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--pds-line);
  border-radius: 50%;
  background: var(--pds-cream);
  color: var(--pds-bordeaux-deep);
  cursor: pointer;
}
.pds-sig-zoom__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.pds-sig-zoom__hint { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); text-align: center; font-size: 1.2rem; color: var(--pds-muted); background: linear-gradient(transparent, var(--pds-cream) 40%); }

/* ───────── En-tête produit ───────── */
.pds-sig__head { display: grid; gap: 8px; }
.pds-sig__vendor {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pds-gold);
}
.pds-sig .pds-sig__title {
  font-family: var(--pds-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--pds-bordeaux-deep);
  overflow-wrap: break-word;
  text-wrap: balance;
}
.pds-sig__app:empty { display: none; }
.pds-sig__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 22px; }
.pds-sig__stars {
  --pds-rating: 0%;
  display: inline-block;
  width: 84px;
  height: 15px;
  background: linear-gradient(90deg, var(--pds-champagne-2) var(--pds-rating), rgba(157, 133, 104, .28) var(--pds-rating));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.8 5.3.6-3.9 3.6 1 5.2-4.6-2.6-4.6 2.6 1-5.2L0 5.4l5.3-.6z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.8 5.3.6-3.9 3.6 1 5.2-4.6-2.6-4.6 2.6 1-5.2L0 5.4l5.3-.6z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.pds-sig__rating-link {
  font-size: 1.3rem;
  color: var(--pds-bordeaux-ink);
  text-decoration: underline;
  text-decoration-color: rgba(183, 153, 114, .8);
  text-underline-offset: 4px;
}
.pds-sig__rating-link--first { color: var(--pds-muted); }
.pds-sig__intro { font-size: 1.45rem; line-height: 1.6; color: var(--pds-text); }

/* Prix */
.pds-sig__price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pds-line-soft); }
.pds-sig__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pds-sig__price-current { font-size: 2.6rem; line-height: 1.1; color: var(--pds-wine); font-variant-numeric: lining-nums tabular-nums; }
.pds-sig__price-compare { font-size: 1.5rem; color: var(--pds-muted); }
.pds-sig__price-compare[hidden] { display: none; }
.pds-sig__tax { font-size: 1.1rem; letter-spacing: .14em; color: var(--pds-muted); }
.pds-sig__paylater { min-height: 0; margin-top: 6px; font-size: 1.3rem; }
.pds-sig__paylater:empty { margin: 0; }

/* Formulaire */
.pds-sig__form { display: grid; gap: 18px; margin-top: 18px; }
.pds-sig__label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pds-ink);
}
.pds-sig-option { min-width: 0; padding: 0; border: 0; }
.pds-sig-option__current { margin-left: 6px; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--pds-muted); }
.pds-sig-option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.pds-sig-option__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pds-sig-option__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 5px 16px 5px 6px;
  border: 1px solid rgba(36, 25, 21, .2);
  border-radius: 40px;
  background: var(--pds-cream);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--pds-ink);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.pds-sig-option__pill:not(:has(.pds-sig-option__swatch)) { padding-left: 16px; }
.pds-sig-option__swatch { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(36, 25, 21, .12); background: #fff; }
.pds-sig-option__swatch img { width: 100%; height: 100%; object-fit: cover; }
.pds-sig-option__text { overflow-wrap: anywhere; }
.pds-sig-option__input:checked + .pds-sig-option__pill { border-color: var(--pds-bordeaux); box-shadow: inset 0 0 0 1px var(--pds-bordeaux); background: var(--pds-ivory); }
.pds-sig-option__input:focus-visible + .pds-sig-option__pill { outline: 2px solid var(--pds-wine); outline-offset: 2px; }
.pds-sig-option__pill.is-unavailable { color: var(--pds-muted); background: transparent; border-style: dashed; }
.pds-sig-option__pill.is-unavailable .pds-sig-option__text { text-decoration: line-through; text-decoration-color: rgba(112, 91, 81, .6); }

.pds-sig__qty-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pds-sig-qty__control {
  display: inline-flex;
  align-items: center;
  height: 46px;
  border: 1px solid rgba(36, 25, 21, .2);
  border-radius: 40px;
  background: var(--pds-cream);
}
.pds-sig-qty__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--pds-bordeaux-deep); border-radius: 50%; }
.pds-sig-qty__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.pds-sig-qty__btn[disabled] { opacity: .35; cursor: default; }
.pds-sig .pds-sig-qty__input {
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font: 600 1.5rem/1 var(--pds-body);
  color: var(--pds-ink);
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: none;
}
.pds-sig-qty__input::-webkit-outer-spin-button, .pds-sig-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pds-sig__stock { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; font-size: 1.35rem; color: var(--pds-ink); }
.pds-sig__stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #5f8a63; box-shadow: 0 0 0 4px rgba(95, 138, 99, .14); }
.pds-sig__stock.is-out { color: var(--pds-muted); }
.pds-sig__stock.is-out .pds-sig__stock-dot { background: #a3483f; box-shadow: 0 0 0 4px rgba(163, 72, 63, .12); }

/* ───────── Complétez votre expérience ───────── */
.pds-sig-ess {
  min-width: 0;
  margin: 2px 0 0;
  padding: 18px 14px 14px;
  border: 0;
  border-radius: var(--pds-radius-media);
  background: var(--pds-sand-2);
}
.pds-sig-ess__title {
  float: left;
  width: 100%;
  padding: 0;
  font-family: var(--pds-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--pds-bordeaux-deep);
}
.pds-sig-ess__subtitle { clear: both; padding-top: 4px; font-size: 1.4rem; line-height: 1.5; color: #5d4a42; }
.pds-sig-ess__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.pds-sig-ess__item { min-width: 0; }
.pds-sig-ess__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 6px 6px 10px;
  border: 1px solid var(--pds-line-soft);
  border-radius: 12px;
  background: var(--pds-cream);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pds-sig-ess__card:hover { border-color: rgba(96, 24, 38, .45); }
.pds-sig-ess__card[aria-pressed="true"] { border-color: var(--pds-bordeaux); box-shadow: inset 0 0 0 1px var(--pds-bordeaux); }
.pds-sig-ess__card[disabled] { opacity: .5; cursor: not-allowed; }
.pds-sig-ess__media { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 6px; border-radius: 8px; background: #fff; overflow: hidden; }
.pds-sig-ess__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.pds-sig-ess__toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--pds-bordeaux);
  border-radius: 50%;
  background: var(--pds-cream);
  color: var(--pds-bordeaux);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.pds-sig-ess__toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pds-sig-ess__check { display: none !important; }
.pds-sig-ess__card[aria-pressed="true"] .pds-sig-ess__toggle { background: var(--pds-bordeaux); color: var(--pds-ivory); transform: scale(1.04); }
.pds-sig-ess__card[aria-pressed="true"] .pds-sig-ess__plus { display: none !important; }
.pds-sig-ess__card[aria-pressed="true"] .pds-sig-ess__check { display: block !important; }
.pds-sig-ess__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; width: 100%; min-width: 0; padding: 2px 4px 0; }
.pds-sig-ess__kind { font-family: var(--pds-body); font-size: 1.45rem; font-weight: 700; line-height: 1.25; letter-spacing: .01em; color: var(--pds-ink); overflow-wrap: anywhere; }
.pds-sig-ess__meta { font-family: var(--pds-body); font-size: 1.25rem; font-weight: 500; line-height: 1.4; color: #5d4a42; overflow-wrap: anywhere; }
.pds-sig-ess__price { margin-top: auto; padding-top: 6px; font-family: var(--pds-body); font-size: 1.55rem; font-weight: 700; color: var(--pds-wine); font-variant-numeric: lining-nums tabular-nums; }
.pds-sig-ess__hint { margin-top: 12px; font-size: 1.3rem; line-height: 1.45; color: #5d4a42; }

/* Équilibre selon le nombre d’essentiels */
.pds-sig-ess[data-count="2"] .pds-sig-ess__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pds-sig-ess[data-count="2"] .pds-sig-ess__card { padding: 8px 8px 12px; }
.pds-sig-ess[data-count="2"] .pds-sig-ess__media { aspect-ratio: 5 / 4; }
.pds-sig-ess[data-count="2"] .pds-sig-ess__kind { font-size: 1.55rem; }
.pds-sig-ess[data-count="1"] .pds-sig-ess__list { grid-template-columns: minmax(0, 1fr); }
.pds-sig-ess[data-count="1"] .pds-sig-ess__card { flex-direction: row; align-items: center; gap: 14px; padding: 10px 56px 10px 10px; }
.pds-sig-ess[data-count="1"] .pds-sig-ess__media { flex: 0 0 92px; width: 92px; margin: 0; }
.pds-sig-ess[data-count="1"] .pds-sig-ess__toggle { top: 50%; margin-top: -16px; width: 32px; height: 32px; }
.pds-sig-ess[data-count="1"] .pds-sig-ess__price { margin-top: 2px; }

@media (max-width: 359px) {
  .pds-sig-ess[data-count="3"] { margin-inline: calc(var(--pds-gutter) * -1); border-radius: 0; padding-inline: var(--pds-gutter); }
  .pds-sig-ess[data-count="3"] .pds-sig-ess__list {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--pds-gutter) * -1);
    padding-inline: var(--pds-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pds-gutter);
    scrollbar-width: none;
  }
  .pds-sig-ess[data-count="3"] .pds-sig-ess__list::-webkit-scrollbar { display: none; }
  .pds-sig-ess[data-count="3"] .pds-sig-ess__item { flex: 0 0 46%; scroll-snap-align: start; }
}

/* ───────── Bouton principal ───────── */
.pds-sig__error {
  padding: 12px 14px;
  border-radius: 10px;
  background: #fbeeee;
  border: 1px solid rgba(163, 72, 63, .3);
  font-size: 1.35rem;
  line-height: 1.5;
  color: #7c2a23;
}
.pds-sig__error[hidden] { display: none; }
.pds-sig__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--pds-radius-btn);
  background: var(--pds-bordeaux);
  color: var(--pds-ivory);
  font-family: var(--pds-body);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(77, 16, 26, .65);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pds-sig__cta:hover:not([disabled]) { background: var(--pds-bordeaux-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(77, 16, 26, .75); }
.pds-sig__cta:active:not([disabled]) { transform: translateY(0); }
.pds-sig__cta[disabled] { background: #b9a59c; box-shadow: none; cursor: not-allowed; }
.pds-sig__cta-inner { display: inline-flex; align-items: center; gap: 10px; min-width: 0; transition: opacity .2s ease; }
.pds-sig__cta-icon { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.pds-sig__cta-total { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pds-sig__cta-total::before { content: ''; width: 1px; height: 16px; background: rgba(255, 248, 239, .45); }
.pds-sig__cta-total[hidden] { display: none; }
.pds-sig__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(255, 248, 239, .35);
  border-top-color: var(--pds-ivory);
  border-radius: 50%;
  opacity: 0;
}
.pds-sig__cta[aria-busy="true"] { cursor: progress; }
.pds-sig__cta[aria-busy="true"] .pds-sig__cta-inner { opacity: 0; }
.pds-sig__cta[aria-busy="true"] .pds-sig__spinner { opacity: 1; animation: pds-sig-spin .8s linear infinite; }
.pds-sig__cta.is-added { background: #3f5f43; }
@keyframes pds-sig-spin { to { transform: rotate(360deg); } }

/* Jauge (styles de base dans pds-delivery-premium.css) */
.pds-sig__gauge { margin-top: 16px; }
.pds-sig__gauge .pds-delivery-gauge { margin: 0; }
.pds-sig__gauge-note { margin-top: 6px; font-size: 1.1rem; line-height: 1.45; color: var(--pds-muted); }

/* Réassurance */
.pds-sig-assure {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--pds-line-soft);
}
.pds-sig-assure li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 1.1rem; line-height: 1.3; color: var(--pds-ink); }
.pds-sig-assure svg { width: 28px; height: 28px; fill: none; stroke: var(--pds-gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Accordéons ───────── */
.pds-sig__details { margin-top: 40px; }
.pds-sig-acc { display: block; max-width: 86rem; margin: 0 auto; }
.pds-sig .pds-sig-acc__heading {
  margin-bottom: 14px;
  font-family: var(--pds-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--pds-bordeaux-deep);
}
.pds-sig-acc__item { border-bottom: 1px solid var(--pds-line); }
.pds-sig-acc__item:first-of-type { border-top: 1px solid var(--pds-line); }
.pds-sig-acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 2px;
  list-style: none;
  cursor: pointer;
}
.pds-sig-acc__summary::-webkit-details-marker { display: none; }
.pds-sig-acc__summary::marker { content: ''; }
.pds-sig-acc__summary:focus-visible { outline: 2px solid var(--pds-wine); outline-offset: -2px; }
.pds-sig .pds-sig-acc__title {
  font-family: var(--pds-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.25;
  color: var(--pds-bordeaux-deep);
}
.pds-sig-acc__icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.pds-sig-acc__icon::before, .pds-sig-acc__icon::after { content: ''; position: absolute; top: 50%; left: 0; width: 16px; height: 1.4px; margin-top: -.7px; background: var(--pds-bordeaux); transition: transform .25s ease; }
.pds-sig-acc__icon::after { transform: rotate(90deg); }
.pds-sig-acc__item[open] .pds-sig-acc__icon::after { transform: rotate(0deg); }
.pds-sig .pds-sig-acc__panel {
  padding: 0 2px 26px;
  font-family: var(--pds-body);
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--pds-text);
  overflow-wrap: anywhere;
}
.pds-sig-acc__panel > :first-child { margin-top: 0; }
.pds-sig-acc__panel > :last-child { margin-bottom: 0; }
.pds-sig-acc__panel p { margin: 0 0 14px; }
.pds-sig-acc__panel strong { color: var(--pds-bordeaux-ink); font-weight: 700; }
.pds-sig-acc__panel h3 { margin: 22px 0 8px; font-family: var(--pds-body); font-size: 1.45rem; font-weight: 700; letter-spacing: .02em; color: var(--pds-bordeaux-ink); }
.pds-sig-acc__panel ul { margin: 0 0 14px; padding: 0; list-style: none; }
.pds-sig-acc__panel ul li { position: relative; padding-left: 26px; }
.pds-sig-acc__panel ul li + li { margin-top: 8px; }
.pds-sig-acc__panel ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .5em;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--pds-gold);
  border-bottom: 1.5px solid var(--pds-gold);
  transform: rotate(-45deg);
}
.pds-sig-acc__panel ol { padding-left: 20px; }
.pds-sig-acc__panel :is(img, video, iframe, table) { max-width: 100%; height: auto; }
.pds-sig-acc__panel table { width: 100%; table-layout: fixed; border-collapse: collapse; }

/* En-tête des avis (le module Judge.me suit juste après) */
.pds-sig-reviews-head { max-width: 86rem; margin: 48px auto 0; padding-top: 30px; border-top: 1px solid var(--pds-line-soft); text-align: center; scroll-margin-top: 90px; }
.pds-sig__eyebrow { font-size: 1.1rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--pds-gold); }
.pds-sig .pds-sig-reviews-head__title { margin-top: 8px; font-family: var(--pds-display); font-weight: 400; font-size: 2.6rem; line-height: 1.15; color: var(--pds-bordeaux-deep); text-wrap: balance; }
.pds-sig-reviews-head__score { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 12px; font-size: 1.4rem; color: var(--pds-ink); }
.pds-sig-reviews-head__empty { max-width: 46ch; margin: 10px auto 0; font-size: 1.4rem; line-height: 1.6; color: var(--pds-muted); }

/* Barre fixe mobile */
.pds-sig-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 10px var(--pds-gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--pds-line-soft);
  box-shadow: 0 -10px 30px -20px rgba(36, 25, 21, .45);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.pds-sig-sticky.is-visible { transform: translateY(0); }
.pds-sig-sticky[hidden] { display: none; }
.pds-sig-sticky__inner { display: flex; align-items: center; gap: 10px; max-width: 64rem; margin: 0 auto; }
.pds-sig-sticky__img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--pds-sand-2); }
.pds-sig-sticky__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pds-sig-sticky__text { display: grid; min-width: 0; flex: 1 1 auto; }
.pds-sig-sticky__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1.25rem; color: var(--pds-ink); }
.pds-sig-sticky__price { font-size: 1.4rem; color: var(--pds-wine); }
.pds-sig-sticky__btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--pds-radius-btn);
  background: var(--pds-bordeaux);
  color: var(--pds-ivory) !important;
  font-size: 1.25rem !important;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.pds-sig-sticky__btn[disabled] { background: #b9a59c; }

/* ───────── Bandeau signature ───────── */
.pds-sig-editorial { box-sizing: border-box; max-width: 132rem; margin: 48px auto 0; padding: 0 var(--pds-gutter); font-family: var(--pds-body); }
.pds-sig-editorial__inner {
  position: relative;
  overflow: hidden;
  padding: 44px 24px 40px;
  border-radius: var(--pds-radius-media);
  text-align: center;
  color: var(--pds-ivory);
  background:
    radial-gradient(90% 70% at 15% 0%, rgba(216, 184, 142, .28), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(165, 65, 81, .35), transparent 65%),
    linear-gradient(160deg, var(--pds-bordeaux-deep) 0%, var(--pds-bordeaux) 100%);
}
.pds-sig-editorial__eyebrow { margin: 0; font-size: 1.1rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--pds-champagne); }
.pds-sig-editorial .pds-sig-editorial__title { margin: 12px 0 0; font-family: var(--pds-display); font-weight: 400; font-style: italic; font-size: clamp(2.8rem, 8vw, 4.4rem); line-height: 1.12; color: var(--pds-ivory); text-wrap: balance; }
.pds-sig-editorial__text { max-width: 44ch; margin: 12px auto 0; font-size: 1.45rem; line-height: 1.6; color: rgba(255, 248, 239, .86); }
.pds-sig-editorial__text p { margin: 0; }
.pds-sig-editorial__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 26px;
  border: 1px solid var(--pds-champagne);
  border-radius: var(--pds-radius-btn);
  color: var(--pds-ivory);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}
.pds-sig-editorial__link:hover { background: var(--pds-champagne); color: var(--pds-bordeaux-deep); }
.pds-sig-editorial__link:focus-visible { outline: 2px solid var(--pds-champagne); outline-offset: 3px; }
.pds-sig-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 22px 0 6px; list-style: none; }
.pds-sig-values li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 1.15rem; line-height: 1.35; color: var(--pds-ink); }
.pds-sig-values svg { width: 26px; height: 26px; fill: none; stroke: var(--pds-gold); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }

/* ───────── Tablette ───────── */
@media (min-width: 750px) {
  .pds-sig { --pds-gutter: 32px; padding-top: 8px; }
  .pds-sig__layout { max-width: 64rem; margin: 0 auto; gap: 30px; }
  .pds-sig-gallery__thumb { width: 68px; height: 68px; }
  .pds-sig-assure li { font-size: 1.2rem; }
  .pds-sig-editorial { --pds-gutter: 32px; }
  .pds-sig-editorial__inner { padding: 64px 40px 58px; }
}

/* ───────── Ordinateur ───────── */
@media (min-width: 990px) {
  .pds-sig { --pds-gutter: 40px; }
  .pds-sig__layout {
    max-width: none;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }
  .pds-sig__media { position: sticky; top: 24px; }
  .pds-sig-gallery__stage { aspect-ratio: auto; max-height: none; height: min(78vh, 760px); min-height: 520px; }
  .pds-sig-gallery__arrow { display: grid; opacity: 0; }
  .pds-sig-gallery__stage:hover .pds-sig-gallery__arrow, .pds-sig-gallery__arrow:focus-visible { opacity: 1; }
  .pds-sig-gallery__arrow:hover, .pds-sig-gallery__loupe:hover { background: var(--pds-cream); transform: scale(1.04); }
  .pds-sig-gallery__signature { left: 26px; bottom: 22px; font-size: 1.5rem; }
  .pds-sig-gallery__counter { right: 26px; bottom: 24px; }
  .pds-sig__info { padding-top: 8px; }
  .pds-sig .pds-sig__title { font-size: clamp(3.4rem, 2.9vw, 4.4rem); }
  .pds-sig__price-current { font-size: 3rem; }
  .pds-sig-ess { padding: 22px 20px 18px; }
  .pds-sig-ess__title { font-size: 2.2rem; }
  .pds-sig__cta { min-height: 60px; font-size: 1.45rem; }
  .pds-sig__details { margin-top: 72px; }
  .pds-sig .pds-sig-acc__heading { font-size: 3.2rem; text-align: center; margin-bottom: 24px; }
  .pds-sig .pds-sig-acc__title { font-size: 2.1rem; }
  .pds-sig .pds-sig-acc__panel { font-size: 1.6rem; }
  .pds-sig .pds-sig-reviews-head__title { font-size: 3.2rem; }
  .pds-sig-sticky { display: none !important; }
  .pds-sig-editorial { --pds-gutter: 40px; margin-top: 72px; }
  .pds-sig-editorial__inner { padding: 88px 48px 80px; }
  .pds-sig-values { max-width: 86rem; margin: 0 auto; padding-top: 32px; }
  .pds-sig-values li { font-size: 1.3rem; }
  .pds-sig-zoom__list { padding-top: 24px; }
}

@media (hover: hover) and (min-width: 990px) {
  .pds-sig-ess__card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(77, 16, 26, .5); }
  .pds-sig-ess__card[aria-pressed="true"]:hover { box-shadow: inset 0 0 0 1px var(--pds-bordeaux), 0 12px 24px -18px rgba(77, 16, 26, .5); }
}

@media (prefers-reduced-motion: reduce) {
  .pds-sig *, .pds-sig-editorial * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .pds-sig__cta[aria-busy="true"] .pds-sig__spinner { animation: pds-sig-spin 1.6s linear infinite !important; }
}

/* Le module d’avis Judge.me prend la couleur de la maison */
.pds-sig-section ~ .shopify-section .jdgm-widget .jdgm-star,
body .jdgm-widget .jdgm-star { color: #c5a36e !important; }
body .jdgm-widget .jdgm-btn, body .jdgm-widget .jm-button--primary { background-color: #601826 !important; border-color: #601826 !important; color: #fff8ef !important; }

/* La jauge du thème déborde de 12 px en mobile pour l’ancienne mise en page : on l’aligne ici */
.pds-sig__gauge pds-delivery-gauge.pds-delivery-gauge { width: 100%; max-width: 100%; margin: 0; }

/* Neutralise l’interlettrage hérité de base.css sur les titres de la fiche */
.pds-sig :is(.pds-sig-acc__title, .pds-sig-acc__heading, .pds-sig-reviews-head__title), .pds-sig-editorial .pds-sig-editorial__title { letter-spacing: 0; }

/* Bloc des essentiels : titre plus lisible (prioritaire sur les tailles de la section) */
.pds-sig .pds-sig-ess .pds-sig-ess__title { font-size: 2.5rem; line-height: 1.15; color: #4d101a; }
@media (min-width: 990px) { .pds-sig .pds-sig-ess .pds-sig-ess__title { font-size: 2.7rem; } }
