.product-page { max-width: 1120px; }
.product-path {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 18px 24px;
  color: #6b5547;
  font-size: .9rem;
}
.product-path a { font-weight: 550; }
.product-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(24px, 5vw, 68px);
}
.gallery { min-width: 0; }
.gallery-stage {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #e7d8c8;
  border-radius: 8px;
  background: #f5e9db;
}
.gallery-stage figure { height: 100%; margin: 0; }
.gallery-stage [data-photo="room"] > img,
.gallery-stage [data-photo="studio"] > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.gallery-thumbs button {
  display: grid;
  gap: 4px;
  padding: 4px 4px 5px;
  border: 1px solid #e2d2c3;
  border-radius: 5px;
  background: #fff;
  color: var(--pine);
  font: 550 .875rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}
.gallery-thumbs button[aria-pressed="true"] {
  border-color: #87583d;
  background: #f6eadc;
  box-shadow: inset 0 0 0 1px #87583d;
}
.gallery-thumbs button > img,
.gallery-thumbs button > span { width: 100%; height: auto; aspect-ratio: 1; border-radius: 3px; }
.image-crop {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e5ddd6;
}
.gallery-stage [hidden] { display: none; }
.image-crop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-image { position: relative; background: #fff; color: var(--pine); }
.gallery-stage .size-image > img { position: absolute; inset: 7% auto auto 10%; width: 67%; height: 76%; object-fit: contain; }
.size-scale,
.size-base { position: absolute; font-size: clamp(.8rem, 2vw, 1rem); font-weight: 600; }
.size-scale {
  display: grid;
  align-content: center;
  top: 16%;
  right: 4%;
  bottom: 25%;
  width: 16%;
  padding-left: 6px;
  border-left: 2px solid #a47659;
  line-height: 1.3;
}
.size-base {
  inset: auto 23% 5%;
  border-top: 2px solid #a47659;
  padding-top: 5px;
  text-align: center;
}
.summary-copy { padding-block: clamp(8px, 4vw, 58px) 0; }
.product-model { display: flex; align-items: center; gap: 10px; font-weight: 750; color: #704a35; }
.product-model span {
  border-left: 1px solid #dac6b4;
  padding-left: 10px;
  color: #664d3e;
  font-size: .9rem;
  font-weight: 500;
}
.product-summary h1 {
  margin: 11px 0 16px;
  color: var(--pine);
  font: 650 clamp(2.4rem, 4.3vw, 3.65rem)/1.06 var(--serif);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.product-intro { max-width: 47ch; color: #5e493e; font-size: 1.06rem; }
.quick-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 22px;
  padding-block: 13px;
  border-block: 1px solid #e5d6c9;
}
.quick-specs dt, .spec-table span { color: #6f5546; }
.quick-specs dd { margin: 3px 0 0; font-weight: 700; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.spec-link { font-weight: 650; }

.product-section { margin-top: clamp(42px, 7vw, 78px); scroll-margin-top: 22px; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  margin-top: 22px;
}
.detail-card .image-crop { border-radius: 6px; }
.detail-card h3 { margin: 14px 0 5px; color: var(--pine); font: 600 1.4rem/1.2 var(--serif); }
.detail-card p, .specs-section p { color: #664d3e; }
.specs-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 14px 36px;
  padding: clamp(20px, 4vw, 40px);
  background: #f8f0e7;
  border-radius: 7px;
}
.spec-table { margin: 0; }
.spec-table div {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 6px 18px;
  padding-block: 9px;
  border-bottom: 1px solid #e0cec0;
}
.spec-table dt { font-weight: 650; }
.spec-table dd { margin: 0; }
.quote-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 42px;
  padding: clamp(20px, 4vw, 46px);
  background: var(--pine);
  color: #fff5e9;
  border-radius: 7px;
}
.quote-panel h2 { color: inherit; }
.quote-model { margin-top: 18px; font-weight: 650; }
.quote-fields, .quote-field { display: grid; gap: 6px; }
.quote-fields { gap: 13px; align-content: start; }
.quote-field label { font-weight: 650; }
.quote-field input {
  width: 100%;
  min-height: 43px;
  padding: 6px 10px;
  border: 1px solid #d7bca5;
  border-radius: 4px;
  background: #fffaf3;
  color: var(--pine);
  font: inherit;
}
.quote-fields .button { justify-self: start; }
.quote-fields :focus-visible { outline-color: #f2cfac; }

@media (max-width: 760px) {
  .product-summary, .specs-section, .quote-panel { grid-template-columns: minmax(0, 1fr); }
  .summary-copy { padding-block: 0; }
}
@media (max-width: 900px) {
  .gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-thumbs button {
    grid-template-columns: clamp(20px, 6vw, 32px) minmax(0, 1fr);
    align-items: center;
    font-size: .8rem;
  }
}
@media (max-width: 520px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
}
@media (max-width: 360px) {
  .gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.custom-grid .detail-card { padding: 18px; border: 1px solid #e5d6c9; border-radius: 6px; }
.custom-grid h3 { margin-top: 0; }
.product-faq { margin-top: 20px; border-top: 1px solid #e5d6c9; }
.product-faq details { padding-block: 14px; border-bottom: 1px solid #e5d6c9; }
.product-faq summary { font-weight: 700; color: var(--pine); cursor: pointer; }
.product-faq p { max-width: 74ch; margin: 8px 0 0; color: #664d3e; }
