.product__right:has(.wfac3d) .js-product-prices {
  display: none !important;
}

/* Catalogue cover until a real personalized view exists, including after reset. */
.wfac3d-preview--product-image > :not([data-wfac3d-product-image]):not([data-birth-loading]):not([data-organizer-loading]) {
  display: none !important;
}
.wfac3d-preview--product-image > img[data-wfac3d-product-image] {
  display: block;
  width: 100%;
  height: clamp(300px, 48vw, 640px);
  max-width: none;
  max-height: 680px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
  background: transparent;
}
[data-wfac3d-product-image][hidden] { display: none !important; }

.js-images-container.wfac3d-gallery-active {
  display: block !important;
  width: 100%;
  min-width: 0;
}

.js-images-container.wfac3d-gallery-active > :not(.wfac3d-gallery-preview) {
  display: none !important;
}

.wfac3d-gallery-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 48vw, 680px);
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid #ead7ca;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .98) 0 28%, rgba(250, 242, 236, .96) 72%),
    #fbf7f3;
  box-shadow: 0 16px 40px rgba(74, 42, 24, .08);
}

.wfac3d-gallery-preview__plates {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 76px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}
.wfac3d-gallery-preview__plates[hidden] { display: none; }
.wfac3d-gallery-preview__plate {
  padding: 8px 12px;
  border: 1px solid #e2c6b5;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #65483b;
  font: 600 .78rem/1.3 Manrope, sans-serif;
  box-shadow: 0 5px 15px rgba(74, 42, 24, .08);
  cursor: pointer;
}
.wfac3d-gallery-preview__plate:hover,
.wfac3d-gallery-preview__plate.is-active {
  border-color: #b65932;
  background: #b65932;
  color: #fff;
}
.wfac3d-gallery-preview__plate:focus-visible {
  outline: 3px solid rgba(199, 95, 50, .4);
  outline-offset: 2px;
}

.wfac3d-gallery-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.wfac3d-gallery-preview canvas.is-dragging {
  cursor: grabbing;
}

.wfac3d-gallery-preview canvas:focus-visible {
  outline: 3px solid rgba(199, 95, 50, .35);
  outline-offset: -3px;
}

.wfac3d-gallery-preview__hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(199, 95, 50, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #65483b;
  font-size: .82rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(74, 42, 24, .1);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.wfac3d-gallery-preview__icon {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #c75f32;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wfac3d.has-file .wfac3d__drop {
  min-height: 150px;
}

.wfac3d.has-file .wfac3d__drop-copy .wfac3d__icon--model {
  width: 2.15rem;
  height: 2.15rem;
}

@media (max-width: 767px) {
  .wfac3d-gallery-preview {
    min-height: 320px;
    border-radius: 12px;
  }

  .wfac3d-gallery-preview__hint {
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-radius: 12px;
    font-size: .75rem;
  }
}
