/* Keep PDR media independent of the purchase column's content height. */
.gt-rebuild-product-page[data-pdr-gallery][data-rebuild-poc="product"][data-card-template] > .gt-rebuild-product-hero.gt-rebuild-product-hero--shared {
  grid-template-rows: auto;
  align-items: start;
}

.gt-rebuild-product-page[data-pdr-gallery][data-rebuild-poc="product"][data-card-template] > .gt-rebuild-product-hero.gt-rebuild-product-hero--shared > .gt-rebuild-product-gallery,
.gt-rebuild-product-page[data-pdr-gallery][data-rebuild-poc="product"][data-card-template] > .gt-rebuild-product-hero.gt-rebuild-product-hero--shared > .gt-rebuild-product-side {
  grid-row: auto;
  grid-template-rows: auto;
  align-self: start;
  align-content: start;
  height: auto;
  min-height: 0;
  row-gap: 14px;
}

.gt-rebuild-product-page[data-pdr-gallery][data-rebuild-poc="product"][data-card-template] > .gt-rebuild-product-hero.gt-rebuild-product-hero--shared > .gt-rebuild-product-gallery > .gt-rebuild-product-gallery__main {
  grid-row: 1;
  align-self: start;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
}

.gt-rebuild-product-page[data-pdr-gallery] .gt-rebuild-product-gallery__main,
.gt-pwa-product-page[data-pdr-gallery] .gt-pwa-product-gallery__stage {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(19, 37, 60, .05), 0 14px 34px rgba(19, 37, 60, .07);
}

.gt-rebuild-product-page[data-pdr-gallery] .gt-rebuild-product-gallery__item img,
.gt-pwa-product-page[data-pdr-gallery] .gt-pwa-product-gallery__slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.gt-rebuild-product-page[data-pdr-gallery] .gt-pdr-gallery__timing {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.gt-rebuild-product-page[data-pdr-gallery] .gt-rebuild-product-gallery--single > .gt-pdr-gallery__timing {
  grid-column: 1 / -1;
}

@media (min-width: 901px) {
  .gt-rebuild-product-page[data-pdr-gallery] .gt-rebuild-product-gallery__thumbs {
    align-self: stretch;
    height: auto;
    min-height: 0;
    contain: size;
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 900px) {
  .gt-rebuild-product-page[data-pdr-gallery] .gt-rebuild-product-gallery > .gt-pdr-gallery__timing {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.gt-pwa-product-page[data-pdr-gallery].is-equipment .gt-pwa-product-gallery__stage {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
}

.gt-pwa-product-page[data-pdr-gallery].is-equipment .gt-pwa-product-gallery__slide {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0;
}

.gt-pdr-gallery__timing > .gt-production-queue {
  margin: 0;
  padding: clamp(15px, 2vw, 21px);
  border: 1px solid #eadcca;
  border-radius: 17px;
  background: linear-gradient(120deg, #fffaf3, #fff 80%);
  box-shadow: 0 6px 22px rgba(19, 37, 60, .045);
}

.gt-pdr-gallery__timing .gt-production-queue__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gt-pdr-gallery__timing .gt-production-queue__eyebrow::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: #e87727;
  box-shadow: 0 0 0 3px rgba(232, 119, 39, .14);
}

.gt-pdr-gallery__timing .gt-production-queue__range {
  margin-block: 5px 7px;
  font-size: clamp(21px, 2.2vw, 27px);
}

.gt-pdr-gallery__timing .gt-production-queue p {
  margin-block-start: 6px;
}

html[data-gt-theme="dark"] .gt-pdr-gallery__timing > .gt-production-queue {
  background: linear-gradient(120deg, #2c2926, #21242c 85%);
  border-color: #70583b;
}
