/* Product gallery. Loaded only on the storefront; shared purchase styles stay separate. */
.hero-gallery .gallery-stage {
  height: 640px;
  border: 1px solid #dce5f1;
  border-radius: 24px;
  background: radial-gradient(ellipse at 48% 36%, #fcfdff 0%, #e7edf6 47%, #d4e0f0 100%);
}

.hero-gallery .gallery-stage::after {
  content: "";
  position: absolute;
  left: 36%;
  bottom: 56px;
  width: 34%;
  height: 13px;
  border-radius: 50%;
  background: #354d7421;
  filter: blur(9px);
  pointer-events: none;
  z-index: 0;
}

.hero-gallery .gallery-heading {
  position: absolute;
  top: 25px;
  left: 26px;
  z-index: 3;
  display: grid;
  gap: 7px;
  pointer-events: none;
}

.hero-gallery .product-label {
  position: static;
  color: #526781;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero-gallery .product-descriptor {
  color: #1c304b;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .1em;
}

.hero-gallery .vertical-label {
  top: 104px;
  right: 23px;
  z-index: 3;
  color: #526781;
  font-size: 8px;
  letter-spacing: .2em;
  pointer-events: none;
}

.hero-gallery .orbital {
  z-index: 0;
  border-color: #7b9dcc30;
  pointer-events: none;
  transform: rotate(-30deg);
}

.hero-gallery .orbital-one {
  width: 115%;
  height: 55%;
  left: -6%;
  top: 25%;
}

.hero-gallery .orbital-two {
  width: 135%;
  height: 68%;
  left: -17%;
  top: 19%;
  border-color: #ffffff85;
}

.hero-gallery .product-cutout:not(.is-photo) {
  height: calc(100% - 130px);
  width: auto;
  max-width: 74%;
  margin: 0;
  object-fit: contain;
  transform: translate(12px, 10px) rotate(-5deg);
  filter: contrast(1.045) saturate(1.04) drop-shadow(7px 19px 16px #263d602b);
}

.hero-gallery .product-cutout.is-photo {
  width: calc(100% - 80px);
  height: calc(100% - 150px);
  max-width: none;
  margin: 0;
  object-fit: contain;
  transform: translateY(5px);
  border-radius: 14px;
  filter: none;
}

.hero-gallery .gallery-caption {
  left: 25px;
  right: 85px;
  bottom: 25px;
  z-index: 3;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .015em;
  color: #344b68;
}

.hero-gallery .zoom-button {
  right: 21px;
  bottom: 19px;
  width: 46px;
  height: 46px;
  border-color: #d6e1ee;
  background: #ffffffed;
  box-shadow: 0 3px 12px #28436508;
}

.hero-gallery .zoom-button:hover {
  background: #fff;
  border-color: #96adcc;
}

.hero-gallery .gallery-footer {
  justify-content: flex-start;
  margin-top: 14px;
}

.hero-gallery .thumbnails {
  gap: 9px;
}

.hero-gallery .thumbnail {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  padding: 6px;
}

.hero-gallery .thumbnail img {
  max-height: 48px;
}

@media (min-width: 1450px) {
  .hero-gallery .gallery-stage { height: 680px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .hero-gallery .gallery-stage { height: 590px; }
  .hero-gallery .gallery-heading { left: 20px; }
  .hero-gallery .product-descriptor { font-size: 11px; }
  .hero-gallery .vertical-label { right: 16px; }
  .hero-gallery .gallery-caption { left: 20px; right: 74px; font-size: 11px; }
  .hero-gallery .zoom-button { right: 16px; }
}

@media (max-width: 760px) {
  .hero-gallery .gallery-stage {
    height: clamp(380px, 108vw, 440px);
    border-radius: 19px;
  }
  .hero-gallery .gallery-stage::after { bottom: 46px; height: 9px; }
  .hero-gallery .gallery-heading { top: 20px; left: 19px; gap: 5px; }
  .hero-gallery .product-label { font-size: 8px; letter-spacing: .16em; }
  .hero-gallery .product-descriptor { font-size: 11px; letter-spacing: .075em; }
  .hero-gallery .vertical-label { top: 88px; right: 15px; font-size: 7px; letter-spacing: .17em; }
  .hero-gallery .product-cutout:not(.is-photo) {
    height: calc(100% - 110px);
    transform: translate(9px, 7px) rotate(-5deg);
    filter: contrast(1.045) saturate(1.04) drop-shadow(5px 12px 11px #263d6028);
  }
  .hero-gallery .product-cutout.is-photo { width: calc(100% - 58px); height: calc(100% - 120px); }
  .hero-gallery .gallery-caption { left: 18px; right: 70px; bottom: 20px; font-size: 10px; line-height: 1.5; }
  .hero-gallery .zoom-button { right: 13px; bottom: 13px; width: 44px; height: 44px; }
  .hero-gallery .zoom-button .icon { width: 17px; height: 17px; }
  .hero-gallery .gallery-footer { margin-top: 11px; }
  .hero-gallery .thumbnails { gap: 8px; }
  .hero-gallery .thumbnail { width: 56px; height: 56px; padding: 5px; border-radius: 10px; }
  .hero-gallery .thumbnail img { max-height: 44px; }
}

@media (max-width: 355px) {
  .hero-gallery .gallery-heading { left: 17px; }
  .hero-gallery .product-label { font-size: 7px; }
  .hero-gallery .product-descriptor { font-size: 10px; }
  .hero-gallery .gallery-caption { left: 16px; right: 66px; font-size: 9px; }
}
