/* Product-specific offsets are kept on the stage; the artwork always measures 260 by 310. */
/* These hero templates anchor the label by its top-left corner and provide their own photo geometry. */
html body #material-product-page figure button[data-en-bottle].label-artwork:where(:not(.oat-label, .ph007-label, .teca-draggable-label, .thp-label, .pinhon-bisabolol-label, .ph011-label, .uv-label)),
html body main :is(button,span,div)[data-en-bottle].label-artwork:where(:not(.oat-label, .ph007-label, .teca-draggable-label, .thp-label, .pinhon-bisabolol-label, .ph011-label, .uv-label)) {
  left: var(--english-label-center-x, 50%) !important;
  top: var(--english-label-center, 66%) !important;
  width: 18% !important;
}
html body #material-product-page figure button[data-en-bottle].label-artwork,
html body main :is(button,span,div)[data-en-bottle].label-artwork {
  position: absolute !important;
  display: block !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  aspect-ratio: 260 / 310 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}
html body main button[data-en-bottle] { touch-action: none; cursor: grab; }
html body :is(#material-product-page,main) figure [data-en-bottle].label-artwork[hidden] { display:none !important; }
html body main [data-en-bottle].label-artwork::before,
html body main [data-en-bottle].label-artwork::after { content:none !important; }
html body main :is(.framework-catalog-card,.related-detail-card) [data-en-bottle].label-artwork {
  width: 18.2% !important;
  max-width: 88px !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none;
}
html body main [data-en-bottle].label-artwork > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 100% !important;
  aspect-ratio: 260 / 310 !important;
  object-fit: contain !important;
  transform: none !important;
  margin: 0 !important;
  pointer-events: none;
}
/* Center the THC hero label on the glass body of its approved bottle photo. */
html body main figure button.detail-product-label[data-en-bottle="ph-np-008"].label-artwork {
  --english-label-center-x: 49.6%;
  --english-label-center: 63%;
}
html body main [data-en-bottle="ph-synbio-021"] { --english-label-center: 64.75%; }
html body main [data-en-label-move] {
  z-index: 3;
  transform: translate(calc(-50% + var(--detail-label-x, 0px)), calc(-50% + var(--detail-label-y, 0px)));
}


/* Original 4-Butylresorcinol stage and unlabelled bottle share the same square canvas. */
.detail-visual .pinhon-label-stage > img.detail-product-image[src="/assets/four-product-labels-20261012/4-butylresorcinol-unlabelled.png"] {
  background: url("/assets/four-product-labels-20261012/4-butylresorcinol-original-stage-84b59c7d7a12.png") center / 100% 100% no-repeat;
}
/* Keep product-page heading rules from overriding the catalogue card heading. */
html body main .framework-catalog-grid .framework-catalog-card-name h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.18;
}
