/* Fiche produit — fond crème (pages statiques d'origine) */

html:has(body.page-product) {
  background: #fff;
}

body.page-product {
  --text: #1a1a1a;
  --title-display: #2e2e2e;
  --muted: #6b6b6b;
  --ff-btn-radius: 8px;
  --ff-btn-pad-y: 10px;
  --ff-btn-pad-x: 14px;
  --ff-btn-font: 13px;
  --ff-btn-min-h: 40px;
  --ff-btn-gap: 8px;
  background: #fff;
  color: var(--text);
}

body.page-product .product-info .breadcrumb,
body.page-product .product-info .breadcrumb a {
  color: #5a5a5a;
  font-size: 13px;
}

body.page-product .product-info .breadcrumb a:hover {
  color: #d0296d;
}

body.page-product .product-info .breadcrumb-current {
  color: #1a1a1a;
  font-weight: 500;
}

body.page-product .product-info h1,
body.page-product .product-price-big {
  color: var(--text);
}

body.page-product .product-info:has(.product-fit-subtitle) h1 {
  margin-bottom: 4px;
}

body.page-product .product-fit-subtitle {
  margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--muted, #6b6b6b);
}

body.page-product .related-section .section-header {
  padding: 20px 40px 12px;
  justify-content: flex-start;
}

body.page-product .related-section .section-header > div {
  text-align: left;
}

body.page-product .related-section .section-title--display {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 4.8vw, 46px);
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: none;
  color: var(--title-display);
}

body.page-product .related-section .section-sub.section-sub--lead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 2.2vw, 18px);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  margin-top: 6px;
}

body.page-product .related-section {
  padding-top: 16px;
  padding-bottom: 48px;
}

body.page-product .related-section .grid-wrap {
  padding-top: 0;
  padding-bottom: 40px;
}

body.page-product .related-section .products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin-inline: auto;
  justify-items: center;
}

body.page-product .related-section .product-card {
  width: 100%;
  max-width: 320px;
}

body.page-product .related-section .product-name,
body.page-product .related-section .product-price {
  color: var(--text);
}

body.page-product .variant-label {
  font-size: 11px;
  margin-bottom: var(--ff-btn-gap);
}

body.page-product .product-acc-bullet {
  color: #111;
  font-weight: 700;
}

body.page-product .fit-toggle {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 18px;
  max-width: 100%;
}

body.page-product .fit-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 30vw, 158px);
  min-height: var(--ff-btn-min-h);
  padding: var(--ff-btn-pad-y) 22px;
  border: none;
  background: #ececec;
  color: #9a9a9a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: default;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.page-product a.fit-toggle__btn {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

body.page-product .fit-toggle__btn.is-current {
  background: #ececec;
  color: #5a5a5a;
  cursor: default;
  box-shadow: none;
}

body.page-product a.fit-toggle__btn:hover {
  color: var(--text);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

body.page-product .variants-grid {
  margin-bottom: 18px;
  gap: var(--ff-btn-gap);
}

body.page-product .variant-btn {
  min-width: 44px;
  padding: var(--ff-btn-pad-y) var(--ff-btn-pad-x);
  font-size: var(--ff-btn-font);
  border-radius: var(--ff-btn-radius);
}

body.page-product .product-color-block {
  margin: 8px 0 18px;
}
body.page-product .product-option-title {
  margin: 0 0 8px;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
body.page-product .product-color-selected {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 13px;
  color: #111;
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
}
body.page-product .product-color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.page-product .product-color-option {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 13px;
  color: #111;
  background: #fff;
  border: 1.5px solid #cfcfcf;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  font: inherit;
}
body.page-product .product-color-option.is-selected {
  border-color: #111;
}
body.page-product .product-color-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body.page-product .product-color-swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: #fff;
  border: 1px solid #a9a9a9;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff;
}
body.page-product .product-color-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
body.page-product .product-color-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  color: #fff;
  background: #111;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

/* Sac cadeau — deux boutons côte à côte */
body.page-product .gift-bag-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--ff-btn-gap);
  margin-bottom: 18px;
}

body.page-product .gift-bag-grid .option-btn {
  width: auto;
  min-height: var(--ff-btn-min-h);
  padding: var(--ff-btn-pad-y) var(--ff-btn-pad-x);
  border: 1.5px solid var(--border);
  border-radius: var(--ff-btn-radius);
  background: #fff;
  font-family: inherit;
  font-size: var(--ff-btn-font);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  color: var(--text);
}

body.page-product .gift-bag-grid .option-btn--gift-short {
  flex: 0 0 38%;
  max-width: 42%;
}

body.page-product .gift-bag-grid .option-btn--gift-long {
  flex: 1 1 0;
  min-width: 0;
}

body.page-product .gift-bag-grid .option-btn:hover {
  border-color: var(--black);
}

body.page-product .gift-bag-grid .option-btn.selected {
  background: var(--black);
  border-color: var(--black);
  color: var(--offwhite);
}

body.page-product .product-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px 12px;
  min-height: var(--ff-btn-min-h);
  border: 1.5px solid var(--border);
  border-radius: var(--ff-btn-radius);
  background: #fff;
}

body.page-product .product-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

body.page-product .product-qty-btn:hover {
  color: var(--gold);
}

body.page-product .product-qty-value {
  flex: 1;
  text-align: center;
  font-size: var(--ff-btn-font);
  font-weight: 600;
}

body.page-product .add-to-cart-big {
  padding: 13px 16px;
  font-size: 13px;
  letter-spacing: 1.5px;
  border-radius: var(--ff-btn-radius);
  margin-bottom: var(--ff-btn-gap);
}

body.page-product .buy-now-btn {
  padding: 11px 16px;
  font-size: 12px;
  letter-spacing: 1.2px;
  border-radius: var(--ff-btn-radius);
  margin-bottom: 20px;
}

/* Fiche produit : galerie à gauche, bloc achat à droite, ensemble centré */
body.page-product .product-page {
  display: grid;
  grid-template-columns: min(720px, calc(100vw - 520px)) 400px;
  gap: 48px;
  align-items: start;
  justify-content: center;
}

body.page-product .product-gallery-col {
  width: min(720px, calc(100vw - 520px));
  min-width: 0;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

body.page-product .product-gallery {
  width: 100%;
  min-width: 0;
  justify-self: start;
  align-self: stretch;
}

body.page-product .product-info {
  width: 100%;
  max-width: 400px;
  justify-self: start;
}

body.page-product .product-gallery .main-image-wrap {
  position: relative;
  width: 100%;
  height: min(78vh, 840px);
  min-height: min(78vh, 840px);
  margin-bottom: 0;
  aspect-ratio: unset;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-product .product-gallery__picture {
  display: block;
  width: 100%;
  height: 100%;
}

body.page-product .product-gallery .main-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

body.page-product .product-gallery .main-image-wrap img.is-changing {
  opacity: 0.55;
}

body.page-product .gallery-navs {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

body.page-product .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 28px;
  height: 48px;
  border: none;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: auto;
  transition: background 0.2s;
}

body.page-product .gallery-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.page-product .gallery-nav:hover {
  background: rgba(0, 0, 0, 0.48);
}

body.page-product .gallery-nav--prev {
  left: 6px;
}

body.page-product .gallery-nav--next {
  right: 6px;
}

body.page-product .gallery-nav[hidden] {
  display: none !important;
}

body.page-product .gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: auto;
}

/* Zone tactile 24x24 (accessibilite), point visuel 8px via ::before. */
body.page-product .gallery-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

body.page-product .gallery-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.page-product .gallery-dot.is-active::before {
  background: #fff;
  border-color: #fff;
}

body.page-product .gallery-dot:hover:not(.is-active)::before {
  background: rgba(255, 255, 255, 0.45);
}

body.page-product .gallery-dots[hidden] {
  display: none !important;
}

body.page-product .product-gallery .thumbnails {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  padding: 2px 2px 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body.page-product .product-gallery .thumbnails .thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 90px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-product .product-gallery .thumbnails .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

body.page-product .product-gallery .thumbnails .thumb:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

body.page-product .product-gallery .thumbnails .thumb.active {
  border-color: var(--gold, #c9a84a);
  box-shadow: 0 0 0 1px var(--gold, #c9a84a), 0 3px 10px rgba(0, 0, 0, 0.1);
}

body.page-product .thumbnails .thumb-gift img {
  object-fit: contain;
}

body.page-product .thumbnails .thumb-gift[hidden] {
  display: none !important;
}

body.page-product .product-price-big .price-gift-extra {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  margin-top: 6px;
}

@media (max-width: 900px) {
  body.page-product .product-page {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 8px 16px 28px;
  }

  body.page-product .product-gallery-col {
    gap: 12px;
  }

  body.page-product .related-section .section-header {
    padding: 16px 16px 10px;
  }

  body.page-product .related-section .section-title--display {
    font-size: clamp(16px, 7vw, 28px);
  }

  body.page-product .related-section .section-sub.section-sub--lead {
    font-size: clamp(12px, 3.2vw, 15px);
  }

  body.page-product .related-section .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
    gap: 14px;
  }

  body.page-product .related-section .product-name {
    font-size: 13px;
    min-height: auto;
    margin-bottom: 4px;
  }

  body.page-product .related-section .product-price {
    font-size: 13px;
    margin-bottom: 8px;
  }

  body.page-product .related-section .product-img-wrap {
    margin-bottom: 10px;
  }

  body.page-product .related-section .product-card:last-child:nth-child(3):nth-last-child(1) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  body.page-product .product-gallery-col,
  body.page-product .product-gallery {
    width: 100%;
  }

  body.page-product .product-gallery .main-image-wrap {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: unset;
    display: block;
  }

  body.page-product .product-gallery .main-image-wrap img {
    width: 100%;
    height: auto;
    max-height: min(88vw, 440px);
    object-fit: contain;
    object-position: center top;
  }

  body.page-product .product-gallery .thumbnails {
    margin-top: 10px;
    gap: 8px;
  }

  body.page-product .product-gallery .thumbnails .thumb {
    width: 64px;
    height: 80px;
  }

  body.page-product .product-info {
    max-width: none;
    justify-self: stretch;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  body.page-product .product-page {
    padding-top: 4px;
    gap: 16px;
  }

  body.page-product .product-gallery-col {
    gap: 8px;
  }

  body.page-product .product-gallery .main-image-wrap img {
    max-height: min(84vw, 400px);
  }

  body.page-product {
    --ff-btn-radius: 6px;
    --ff-btn-pad-y: 8px;
    --ff-btn-pad-x: 12px;
    --ff-btn-font: 12px;
    --ff-btn-min-h: 36px;
    --ff-btn-gap: 6px;
  }

  body.page-product .variants-grid,
  body.page-product .gift-bag-grid {
    margin-bottom: 14px;
  }

  body.page-product .gift-bag-grid {
    flex-direction: column;
  }

  body.page-product .gift-bag-grid .option-btn--gift-short,
  body.page-product .gift-bag-grid .option-btn--gift-long {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  body.page-product .product-qty {
    padding: 4px 10px;
    margin-bottom: 14px;
  }

  body.page-product .product-qty-btn {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  body.page-product .add-to-cart-big {
    padding: 10px 14px;
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  body.page-product .buy-now-btn {
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }
}

/* Lightbox zoom produit */
body.ff-lightbox-open {
  overflow: hidden;
}

.ff-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ff-product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.ff-product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 12, 0.9);
  backdrop-filter: blur(10px);
}

.ff-product-lightbox__panel {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  display: flex;
  flex-direction: column;
  transform: none;
  transition: none;
}

.ff-product-lightbox.is-open .ff-product-lightbox__panel {
  transform: none;
}

.ff-product-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ff-product-lightbox__close:hover {
  background: #000;
  transform: scale(1.04);
}

.ff-product-lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.ff-product-lightbox__toolbar {
  position: absolute;
  left: 50%;
  top: 18px;
  bottom: auto;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 10, 20, 0.78);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.ff-product-lightbox__zoom-btn {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ff-product-lightbox__zoom-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.ff-product-lightbox__zoom-level {
  min-width: 44px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ff-product-lightbox__hint {
  color: rgba(255, 255, 255, 0.72);
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.ff-product-lightbox__stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  touch-action: none;
  cursor: zoom-in;
  padding: 0;
}

.ff-product-lightbox__stage.is-zoomed {
  cursor: grab;
  background: rgba(8, 7, 12, 0.96);
}

.ff-product-lightbox__stage.is-dragging {
  cursor: grabbing;
}

.ff-product-lightbox__img {
  display: block;
  max-width: 100vw;
  max-height: 100dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  transform-origin: center center;
  will-change: transform;
  transition: opacity 0.15s ease-out;
}

.ff-product-lightbox__img.is-hd-loading {
  opacity: 1;
}

.ff-product-lightbox__stage.is-hd-pending::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 2px solid rgb(255 255 255 / 35%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ff-lightbox-hd-spin 0.7s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes ff-lightbox-hd-spin {
  to {
    transform: rotate(360deg);
  }
}

.ff-product-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.ff-product-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ff-product-lightbox__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ff-product-lightbox__nav--prev {
  left: 12px;
}

.ff-product-lightbox__nav--next {
  right: 12px;
}

.ff-product-lightbox__nav[hidden] {
  display: none;
}

.ff-product-lightbox__thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  flex-shrink: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 98px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 16px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 7, 12, 0.55) 40%);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.ff-product-lightbox__thumbs[hidden] {
  display: none !important;
}

.ff-product-lightbox__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 90px;
  padding: 0;
  margin: 0;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: #f4f4f4;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: center;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.ff-product-lightbox__thumb:hover {
  opacity: 0.88;
}

.ff-product-lightbox__thumb.is-active {
  border-bottom-color: #111;
}

.ff-product-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ff-product-lightbox__thumb--gift img {
  object-fit: contain;
}

@media (max-width: 900px) {
  .ff-product-lightbox__nav--prev {
    left: 8px;
  }

  .ff-product-lightbox__nav--next {
    right: 8px;
  }

  .ff-product-lightbox__close {
    top: 12px;
    right: 12px;
  }

  .ff-product-lightbox__close:hover {
    transform: scale(1.04);
  }

  .ff-product-lightbox__hint {
    display: none;
  }
}

/* Le saviez-vous ? — styles dans includes/product_didyouknow.php (inline, sans cache) */

/* Univers produit — badges + changer d'univers */
body.page-product .product-univers-badges {
  margin: 0 0 22px;
}

body.page-product .product-univers-label {
  display: block;
  margin-bottom: 10px;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

body.page-product .product-univers-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-product .product-univers-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body.page-product .product-univers-pill--badge {
  background: #d0296d;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.page-product a.product-univers-pill--badge:hover {
  background: #b0245c;
  color: #fff;
}

body.page-product .product-univers-switcher {
  max-width: 920px;
  margin: 8px auto 28px;
  padding: 0 24px;
  box-sizing: border-box;
}

body.page-product .product-univers-switcher__inner {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

body.page-product .product-univers-switcher__bg {
  position: relative;
  z-index: 0;
  display: block;
  line-height: 0;
}

body.page-product .product-univers-switcher__bg img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0;
}

body.page-product .product-univers-switcher__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(100%, 540px);
  padding: clamp(14px, 2.5vw, 22px) clamp(18px, 2.8vw, 28px);
  box-sizing: border-box;
}

body.page-product .product-univers-switcher__title {
  margin: 0 0 4px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
}

body.page-product .product-univers-switcher__lead {
  margin: 0 0 10px;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: #4a4a4a;
}

body.page-product .product-univers-pill-row--switcher {
  gap: 8px;
}

body.page-product .product-univers-pill-row--switcher .product-univers-pill {
  min-height: 30px;
  padding: 6px 16px;
  font-size: 12px;
}

body.page-product .product-univers-pill--link {
  background: #111;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.page-product .product-univers-pill--link:hover {
  background: #2a2a2a;
  color: #fff;
}

@media (max-width: 900px) {
  body.page-product .product-univers-switcher {
    padding: 0 16px;
    margin-bottom: 20px;
  }

  body.page-product .product-univers-switcher__inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 108px;
  }

  body.page-product .product-univers-switcher__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    line-height: 0;
  }

  body.page-product .product-univers-switcher__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    border-radius: 0;
  }

  body.page-product .product-univers-switcher__content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 62%;
    padding: 10px 12px;
    box-sizing: border-box;
  }

  body.page-product .product-univers-switcher__title {
    font-size: 13px;
    margin-bottom: 2px;
  }

  body.page-product .product-univers-switcher__lead {
    font-size: 10px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  body.page-product .product-univers-pill-row--switcher {
    flex-wrap: nowrap;
    gap: 5px;
  }

  body.page-product .product-univers-pill-row--switcher .product-univers-pill {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 10px;
  }

  body.page-product .product-univers-pill {
    min-height: 34px;
    padding: 8px 18px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  body.page-product .product-univers-switcher__inner {
    min-height: 100px;
  }

  body.page-product .product-univers-switcher__content {
    max-width: 58%;
    padding: 8px 10px;
  }

  body.page-product .product-univers-pill-row--switcher {
    gap: 4px;
  }

  body.page-product .product-univers-pill-row--switcher .product-univers-pill {
    min-height: 24px;
    padding: 4px 7px;
    font-size: 9px;
    letter-spacing: 0.01em;
  }
}

/* Guide des tailles (tableau sous galerie + lien accordéon) */
body.page-product .size-guide-trigger {
  display: inline-block;
  margin: -12px 0 8px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #b80052;
  text-decoration: none;
  cursor: pointer;
}

body.page-product .size-guide-inline {
  display: none;
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

body.page-product .size-guide-inline:not(.open) {
  display: none;
}

body.page-product .size-guide-inline.open {
  display: block;
  width: 100%;
}

body.page-product .size-guide-fits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.page-product .size-guide-fit-block {
  border-radius: 8px;
}

body.page-product .size-guide-fit-block.is-active .size-guide-coupe {
  color: #e91e63;
}

body.page-product .size-guide-coupe {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.page-product .size-guide-accordion-body .size-guide-accordion-fit {
  margin: 1rem 0;
}

body.page-product .size-guide-accordion-body .size-guide-accordion-fit strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.page-product .size-guide-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

body.page-product .size-guide-habituelle {
  display: block;
  margin: 0.35rem 0 0.75rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

body.page-product .size-guide-table-wrap {
  overflow-x: auto;
  border: 1px solid #ececec;
  border-radius: 8px;
}

body.page-product .size-guide-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

body.page-product .size-guide-table td {
  border: 1px solid #ececec;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text);
  text-align: center;
}

body.page-product .size-guide-table td:first-child {
  text-align: left;
  font-weight: 700;
  background: #fafafa;
  width: 34%;
}

body.page-product .size-guide-img {
  margin-top: 0.75rem;
  text-align: center;
}

body.page-product .size-guide-img img {
  max-width: 190px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ececec;
}

body.page-product .size-guide-link {
  color: #e91e63;
  font-weight: 700;
  text-decoration: none;
}

body.page-product .accordion-body .size-guide-habituelle {
  margin: 0.5rem 0;
  text-align: left;
}

