.pvc-window-product-page {
  background: #f4f6f8;
}

.pvc-window-product {
  --pvc-blue: #1684d8;
  --pvc-blue-dark: #0a5f9e;
  --pvc-border: #dce3e8;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 72px;
  color: #18212a;
}

.pvc-window-product.is-loading {
  cursor: progress;
  opacity: .72;
  pointer-events: none;
}

.pvc-window-product__notice {
  min-height: 1.25rem;
  color: #53616e;
  font-size: var(--text-md);
}

.pvc-window-product__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin: 4px 0 20px;
}

.pvc-window-product__back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--pvc-blue-dark);
  text-decoration: none;
}

.pvc-window-product__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.pvc-window-product__gallery,
.pvc-window-product__summary,
.pvc-window-product__details {
  border: 1px solid var(--pvc-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(28 48 68 / 7%);
}

.pvc-window-product__gallery {
  position: sticky;
  top: 20px;
  padding: 26px;
}

.pvc-window-product__main-image {
  display: grid;
  min-height: 480px;
  place-items: center;
}

.pvc-window-product__main-image img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.pvc-window-product__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pvc-window-product__thumbs button {
  width: 68px;
  height: 68px;
  padding: 5px;
  border: 1px solid var(--pvc-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.pvc-window-product__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pvc-window-product__summary {
  padding: 30px;
}

.pvc-window-product__eyebrow {
  margin: 0 0 5px;
  color: var(--pvc-blue-dark);
  font-size: var(--text-small);
  font-weight: 800;
  letter-spacing: .16em;
}

.pvc-window-product h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.12;
}

.pvc-window-product__meta {
  margin: 10px 0 8px;
  color: #6c7781;
}

.pvc-window-product__lead {
  margin: 0 0 18px;
  color: #53616e;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
}

.pvc-window-product__price {
  display: flex;
  gap: 7px 14px;
  align-items: baseline;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--pvc-border);
}

.pvc-window-product__price strong {
  color: var(--pvc-blue-dark);
  font-size: var(--text-3xl);
}

.pvc-window-product__price span {
  flex-basis: 100%;
  color: #6c7781;
  font-size: var(--text-body);
}

.pvc-variations {
  display: grid;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--pvc-border);
}

.pvc-variations__axis {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.pvc-variations__axis legend {
  display: flex;
  gap: 9px;
  margin-bottom: 12px;
  font-size: var(--text-lg);
}

.pvc-variations__axis legend strong {
  color: var(--pvc-blue-dark);
}

.pvc-variations__choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.pvc-variations__choice {
  display: grid;
  grid-template-rows: 76px auto;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--pvc-border);
  border-radius: 9px;
  background: #fff;
  color: #26323c;
  font-size: var(--text-caption);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.pvc-variations__choice:hover,
.pvc-variations__choice:focus-visible {
  border-color: var(--pvc-blue);
  box-shadow: 0 5px 16px rgb(22 132 216 / 16%);
  transform: translateY(-1px);
}

.pvc-variations__choice.is-selected {
  border: 2px solid var(--pvc-blue);
  padding: 7px;
  box-shadow: 0 0 0 2px rgb(22 132 216 / 12%);
}

.pvc-variations__choice img,
.pvc-variations__placeholder {
  width: 100%;
  height: 76px;
  object-fit: contain;
}

.pvc-variations__placeholder {
  display: block;
  border-radius: 5px;
  background: linear-gradient(135deg, #edf1f4, #fafbfc);
}

.pvc-configurator {
  margin-top: 24px;
}

.pvc-window-product__details {
  margin-top: 30px;
  padding: 28px 30px;
}

.pvc-window-product__details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.pvc-window-product__details-section:only-child {
  grid-column: 1 / -1;
}

.pvc-window-product__details h2 {
  margin: 0 0 18px;
  color: #0b416f;
  font-size: var(--text-2xl);
}

.pvc-window-product__specifications dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.pvc-window-product__specifications dl div {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 1.25fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f2;
}

.pvc-window-product__specifications dt {
  color: #67737e;
}

.pvc-window-product__specifications dd {
  margin: 0;
  font-weight: 600;
}

.pvc-window-product__richtext {
  color: #43515e;
  line-height: 1.65;
}

.pvc-window-product__richtext > :first-child {
  margin-top: 0;
}

.pvc-window-product__richtext > :last-child {
  margin-bottom: 0;
}

.pvc-window-product__richtext img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .pvc-window-product__layout {
    grid-template-columns: 1fr;
  }

  .pvc-window-product__gallery {
    position: static;
  }

  .pvc-window-product__main-image {
    min-height: 340px;
  }

  .pvc-window-product__details-grid {
    grid-template-columns: 1fr;
  }

  .pvc-window-product__details-section:only-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .pvc-window-product {
    padding: 18px 12px 48px;
  }

  .pvc-window-product__gallery,
  .pvc-window-product__summary,
  .pvc-window-product__details {
    padding: 20px;
    border-radius: 13px;
  }

  .pvc-window-product__main-image {
    min-height: 260px;
  }

  .pvc-variations__choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pvc-window-product__specifications dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
