.sg-product-gallery-page {
  background: #fffefa;
  padding-bottom: clamp(42px, 7vw, 88px);
}

.sg-gallery-product-top {
  padding-top: clamp(14px, 2.4vw, 32px);
  padding-bottom: clamp(30px, 5vw, 70px);
}

.sg-gallery-product-top .sg-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(14px, 2.6vw, 32px);
}

.sg-gallery-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "gallery heading" "gallery summary";
  align-items: start;
  gap: 16px clamp(28px, 5vw, 72px);
}

.sg-gallery-product-hero-text {
  grid-template-columns: minmax(0, 640px);
  grid-template-areas: "heading" "summary";
}

.sg-gallery-product-heading {
  grid-area: heading;
}

.sg-gallery-product-category {
  margin: 4px 0 8px;
  color: var(--sg-muted);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.sg-gallery-product-heading h1 {
  font-family: var(--sg-sans);
  font-size: clamp(2rem, 3.15vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.sg-gallery-product-hero .sg-pilot-gallery {
  grid-area: gallery;
  min-width: 0;
}

.sg-gallery-product-hero .sg-product-single-image {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #f3f2ee;
}

.sg-gallery-product-hero .sg-product-single-image img {
  object-fit: contain;
}

.sg-gallery-product-hero .sg-pilot-gallery-thumbs button {
  border-radius: 4px;
}

.sg-gallery-product-hero .sg-pilot-gallery-thumbs img {
  object-fit: contain;
}

.sg-gallery-product-summary {
  grid-area: summary;
  min-width: 0;
}

.sg-gallery-product-intro {
  margin: 0 0 22px;
  color: var(--sg-muted);
  font-size: .98rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.sg-gallery-product-quote {
  padding: clamp(14px, 2vw, 24px);
  border-radius: 6px;
  background: #f3f2ee;
}

.sg-gallery-quote-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 3vw, 42px);
  margin: 0 0 16px;
}

.sg-gallery-quote-facts > div {
  min-width: 0;
}

.sg-gallery-quote-facts dt {
  color: var(--sg-muted);
  font-size: .78rem;
}

.sg-gallery-quote-facts dd {
  margin: 2px 0 0;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.sg-gallery-product-quote .sg-button {
  display: flex;
  width: 100%;
  border-radius: 6px;
}

.sg-gallery-product-jump {
  display: inline-flex;
  min-height: 44px;
  margin-top: 4px;
}

.sg-gallery-product-specs {
  padding-block: clamp(30px, 5vw, 70px);
  border-block: 1px solid var(--sg-border);
  scroll-margin-top: 116px;
}

.sg-gallery-specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 24px clamp(28px, 5vw, 72px);
}

.sg-product-gallery-page h2,
.sg-product-gallery-page .sg-generated-product-details .sg-section-head h2 {
  font-family: var(--sg-sans);
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -.035em;
}

.sg-gallery-specs-description {
  margin: 14px 0 0;
  max-width: 42ch;
  overflow-wrap: anywhere;
}

.sg-gallery-specs-layout .sg-tags {
  margin-top: 16px;
}

.sg-gallery-spec-list {
  margin: 0;
  border-top: 1px solid var(--sg-border);
}

.sg-gallery-spec-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sg-border);
  font-size: .91rem;
  overflow-wrap: anywhere;
}

.sg-gallery-spec-list dt { color: var(--sg-muted); }

.sg-gallery-spec-list dd {
  margin: 0;
  font-weight: 550;
}

.sg-product-gallery-page .sg-generated-product-details {
  padding-block: clamp(30px, 5vw, 64px) 0;
}

.sg-product-gallery-page .sg-generated-product-details .sg-section-head > p {
  margin-top: 0;
}

.sg-product-gallery-page .sg-generated-product-grid {
  gap: 16px 42px;
}

.sg-product-gallery-page .sg-generated-product-card {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--sg-border);
  border-radius: 0;
  background: transparent;
}

.sg-product-gallery-page .sg-generated-product-card h3,
.sg-product-gallery-page .sg-generated-product-faq h3 {
  font-family: var(--sg-sans);
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  font-weight: 650;
}

@media (max-width: 760px) {
  .sg-gallery-product-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "gallery" "summary";
    gap: 13px;
  }

  .sg-gallery-product-hero-text {
    grid-template-areas: "heading" "summary";
  }

  .sg-gallery-product-category {
    margin: 0 0 5px;
  }

  .sg-gallery-product-heading h1 {
    font-size: clamp(1.65rem, 6.65vw, 2.3rem);
  }

  .sg-gallery-product-hero .sg-product-single-image {
    aspect-ratio: 7 / 5;
    max-height: 320px;
  }

  .sg-gallery-product-summary {
    display: flex;
    flex-direction: column;
  }

  .sg-gallery-product-intro {
    order: 1;
    margin: 10px 0 0;
    font-size: .9rem;
  }

  .sg-gallery-product-jump {
    order: 2;
    align-self: start;
  }

  .sg-gallery-quote-facts {
    margin-bottom: 12px;
  }

  .sg-gallery-specs-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .sg-gallery-spec-list > div {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
    gap: 10px;
  }
}
