/* One scene, then original packshots on a continuous ivory surface.
 * Framing is CSS-only: source photos and packaging pixels are never rewritten. */
.single-nevo_product .site-stage[data-gallery-type="packshot"],
.single-nevo_product .site-stage[data-gallery-type="cutout"] {
  background: var(--paper);
}
.single-nevo_product .site-stage[data-gallery-type="packshot"] .hero-art,
.single-nevo_product .site-stage[data-gallery-type="cutout"] .hero-art {
  visibility: hidden;
}
.single-nevo_product .gallery-stage.packshot,
.single-nevo_product .gallery-stage.cutout,
.single-nevo_product .gallery-stage.no-photo {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--paper);
  isolation: isolate;
}
.single-nevo_product .gallery-stage.packshot > img,
.single-nevo_product .gallery-stage.cutout > img {
  display: block;
  width: 90%;
  height: 88%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: none;
  transform: none;
  mix-blend-mode: normal;
}
.single-nevo_product .packshot-frame {
  position: relative;
  display: block;
  height: 78%;
  width: auto;
  aspect-ratio: var(--packshot-ratio);
  max-width: 90%;
  overflow: hidden;
  flex: none;
  mix-blend-mode: normal;
  z-index: 1;
}
.single-nevo_product .packshot-frame > img.packshot {
  position: absolute;
  display: block;
  width: var(--packshot-width);
  height: var(--packshot-height);
  left: var(--packshot-left);
  top: var(--packshot-top);
  max-width: none;
  max-height: none;
  object-fit: fill;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: none;
  transform: none;
  mix-blend-mode: normal;
}
/* Measured outline of the two exact-hash Omega side/back originals only.
 * Clip their white canvas, not the label or plastic. Do not infer a mask for
 * replacement images. Media files and original lightbox views stay untouched. */
.single-nevo_product .packshot-frame[data-packshot-profile="omega-round"] {
  clip-path: polygon(40.488% .490%,30.288% .613%,18.093% .980%,16.319% 1.103%,15.432% 1.348%,11.441% 1.838%,9.889% 2.574%,9.667% 2.819%,9.667% 3.186%,9.446% 3.309%,9.446% 13.848%,9.224% 13.971%,9.224% 17.892%,8.780% 18.137%,8.780% 21.814%,9.224% 21.936%,9.224% 22.059%,10.998% 22.304%,15.654% 22.672%,15.654% 24.632%,15.211% 25.123%,11.885% 25.490%,8.780% 26.103%,6.563% 26.716%,3.681% 28.186%,3.681% 28.309%,2.794% 28.922%,1.685% 30.392%,1.685% 30.760%,1.463% 30.882%,1.463% 31.250%,1.242% 31.373%,1.242% 31.985%,1.020% 32.108%,1.020% 33.088%,.798% 33.211%,.798% 87.623%,1.020% 87.745%,1.020% 90.809%,1.242% 90.931%,1.242% 91.667%,1.463% 91.789%,1.685% 92.770%,1.907% 92.892%,2.129% 93.505%,3.681% 94.975%,7.228% 96.814%,8.337% 97.181%,10.554% 97.672%,16.098% 98.407%,23.193% 98.897%,32.062% 99.265%,38.936% 99.387%,61.951% 99.387%,71.486% 99.142%,82.572% 98.529%,87.672% 97.917%,89.889% 97.549%,91.885% 97.059%,93.437% 96.446%,96.098% 94.975%,97.650% 93.505%,97.650% 93.260%,98.093% 92.770%,98.093% 92.402%,98.315% 92.279%,98.315% 91.912%,98.537% 91.789%,98.537% 91.054%,98.758% 90.931%,98.758% 87.745%,98.980% 87.623%,98.980% 33.211%,98.758% 33.088%,98.758% 31.985%,98.537% 31.863%,98.315% 30.760%,98.093% 30.637%,97.650% 29.657%,96.984% 28.922%,96.541% 28.676%,96.098% 28.186%,93.880% 26.961%,89.889% 25.858%,87.894% 25.490%,83.681% 25.123%,83.237% 24.755%,83.237% 22.794%,83.681% 22.672%,88.780% 22.304%,90.554% 22.059%,90.554% 21.936%,90.998% 21.814%,90.998% 18.137%,90.776% 18.015%,90.776% 5.270%,90.554% 5.147%,90.554% 3.064%,90.333% 2.941%,90.333% 2.696%,89.002% 1.961%,87.894% 1.716%,84.789% 1.348%,81.907% 1.103%,76.807% .858%,62.838% .490%);
}
.single-nevo_product .gallery-stage.packshot:not(:has(> .packshot-frame)) { background: #fff; border-radius: 8px; }
.single-nevo_product .gallery-stage:has(> .packshot-frame)::after {
  content: "";
  position: absolute;
  bottom: 9.4%;
  left: 26%;
  width: 48%;
  height: 3%;
  border-radius: 50%;
  background: #3d49352e;
  filter: blur(5px);
  pointer-events: none;
  z-index: 0;
}
.single-nevo_product .gallery-stage .zoom-cue {
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  gap: 7px;
  padding: 9px 12px;
  min-height: 36px;
  border: 1px solid #ded8ca;
  border-radius: 999px;
  background: #fbf8f2;
  color: #164c41;
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}
.single-nevo_product .gallery-stage .zoom-cue span { display: inline; }
.single-nevo_product .gallery-thumbnails {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px 4px 10px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #b9beab transparent;
}
.single-nevo_product .gallery-thumbnails > button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  max-height: none;
  aspect-ratio: 1;
  padding: 4px;
  overflow: hidden;
  border: 2px solid #e4e1d6;
  border-radius: 8px;
  background: #f5f1e8;
  box-shadow: none;
  outline: none;
  scroll-snap-align: start;
  isolation: isolate;
}
.single-nevo_product .gallery-thumbnails > button.selected { border-color: #164c41; outline: none; }
.single-nevo_product .gallery-thumbnails > button:focus-visible { outline: 2px solid #668b3e; outline-offset: 3px; }
.single-nevo_product .gallery-thumbnails > button > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: none;
  transform: none;
  mix-blend-mode: normal;
}
.single-nevo_product .gallery-thumbnails .packshot-frame { height: 88%; }
.single-nevo_product .gallery-thumbnails .scene-crop { border-radius: 3px; }
.single-nevo_product .gallery-modal {
  width: 1000px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  background: #fbf8f2;
}
.single-nevo_product .gallery-modal .modal-header h2 { min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
.single-nevo_product .lightbox-stage {
  height: min(70dvh, 820px);
  min-height: 180px;
  padding: 16px;
  border: 0;
  background: #fbf8f2;
  isolation: isolate;
}
.single-nevo_product .lightbox-stage > img {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  filter: none;
  transform: none;
}
.single-nevo_product .lightbox-stage > img.packshot { background: transparent; mix-blend-mode: normal; }
.single-nevo_product .lightbox-stage:has(> img.packshot:not(.cutout-photo)) { background: #fff; }
.single-nevo_product .lightbox-controls { flex-wrap: wrap; gap: 12px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.single-nevo_product .lightbox-controls .icon-button { width: 44px; height: 44px; min-width: 44px; }
.single-nevo_product .gallery-original {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  color: #164c41;
  font-size: 13px;
  text-underline-offset: 3px;
}
.single-nevo_product .gallery-thumbnails[hidden],
.single-nevo_product .lightbox-controls [hidden] { display: none; }
.single-nevo_product .composition-source a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}
@media (max-width: 760px) {
  .single-nevo_product .gallery-thumbnails { gap: 10px; }
  .single-nevo_product .gallery-thumbnails > button { flex-basis: 64px; width: 64px; height: 64px; }
  .single-nevo_product .gallery-modal { max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .single-nevo_product .gallery-modal .modal-inner { padding: 14px; }
  .single-nevo_product .lightbox-stage { height: min(62dvh, 600px); padding: 10px; }
  .single-nevo_product .gallery-original { flex-basis: 100%; }
}
