.interior-table-stack {
  display: grid;
  grid-column: 1 / -1;
  gap: clamp(15px, 2.5vw, 30px);
  width: 100%;
  min-width: 0;
}

.interior-branded-table {
  width: 100%;
  min-width: 0;
  padding: clamp(12px, 1.6vw, 21px);
  border-radius: var(--interior-radius, 17px);
  background: #fffdfa;
  box-shadow: 0 9px 28px rgb(40 39 32 / .075);
}

.interior-table-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}

.interior-table-brand > img {
  display: block;
  width: auto;
  height: clamp(27px, 3vw, 39px);
  max-width: 145px;
  object-fit: contain;
}

.interior-table-stack .interior-table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.interior-branded-table > .interior-table {
  border-radius: 10px;
  box-shadow: none;
}

.interior-table-stack .interior-table > table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.interior-table-stack .interior-table > table :is(th, td) {
  padding: 10px clamp(10px, 1.65vw, 21px);
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.interior-table-stack .interior-table > table tr:first-child > th:first-child { width: 46% }
.interior-table-stack .interior-table > table tr:first-child > th:first-child:has(~ th:nth-child(4)) { width: 40% }
.interior-table-stack .interior-table > table tr:first-child > th:nth-child(2):has(~ th:nth-child(4)) { width: 17% }
.interior-table-stack .interior-table > table tr:first-child > th:nth-child(3):has(~ th:nth-child(4)) { width: 19% }

.interior-branded-table .interior-table > table :is(th, td):not(:first-child) {
  text-align: right;
}

.interior-table-stack .interior-table > table > tbody > tr:first-child > th[scope="col"],
.interior-table-stack .interior-table > table:not(:has(thead)) > tbody:first-of-type > tr:first-child:has(> th:nth-child(2)) > th {
  background: #28332d;
  color: #fffdfa;
  font-weight: 640;
}

.interior-related > .shell {
  display: grid;
  gap: clamp(19px, 2.6vw, 34px);
}

.interior-related-group + .interior-related-group {
  padding-top: clamp(17px, 2.35vw, 29px);
  border-top: 1px solid #e5ddd2;
}

.interior-related-group > :is(h2, h3) {
  margin: 0 0 12px;
  color: var(--interior-ink, #202622);
  font-size: clamp(21px, 2.65vw, 37px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.interior-related-group > ul.interior-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.interior-chips > li { min-width: 0; max-width: 100% }

.interior-chips > li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid #e4dbd0;
  border-radius: 99px;
  background: #fffdfa;
  color: #353d35;
  font-size: 13px;
  font-weight: 640;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.interior-chips > li > a:hover {
  border-color: #c7b7a4;
  background: #efe8dc;
  color: var(--red-dark, #8d1823);
}

.interior-chips > li > a[aria-current="page"] {
  border-color: #c99994;
  background: #f7e9e5;
  color: var(--red-dark, #8d1823);
}

.interior-chips > li > a > .interior-swatch {
  width: 15px;
  height: 15px;
  border-width: 1px;
}

.interior-card-grid--mosaic {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
}

.interior-card-grid--mosaic > .interior-card {
  grid-column: span 4;
  grid-row: auto;
}

.interior-card-grid--mosaic > .interior-card:first-child { grid-row: auto }
.interior-card-grid--mosaic > .interior-card:only-child { grid-column: 1 / -1 }
.interior-card-grid--mosaic:has(> .interior-card:nth-child(2):last-child) > .interior-card { grid-column: span 6 }

.interior-card-grid--mosaic > .interior-card:first-child > img,
.interior-card-grid--mosaic > .interior-card:not(:first-child) > img {
  flex: none;
  min-height: 0;
  aspect-ratio: 1.65;
}

@media (min-width: 671px) {
  .interior-card-grid--mosaic:has(> .interior-card:nth-child(4):last-child) > .interior-card:nth-child(3n + 1) { grid-column: span 7 }
  .interior-card-grid--mosaic:has(> .interior-card:nth-child(4):last-child) > .interior-card:is(:nth-child(2), :nth-child(3)) { grid-column: span 5 }
  .interior-card-grid--mosaic:has(> .interior-card:nth-child(4):last-child) > .interior-card > img { height: clamp(148px, 20vw, 280px) }

  .interior-card-grid--mosaic:has(> .interior-card:nth-child(5)) > .interior-card:first-child {
    grid-column: span 6;
    grid-row: span 2;
  }

  .interior-card-grid--mosaic:has(> .interior-card:nth-child(5)) > .interior-card:first-child > img {
    flex: 1 0 0;
    width: 100%;
    height: 0;
    min-height: 0;
    aspect-ratio: auto;
  }

  .interior-card-grid--mosaic:has(> .interior-card:nth-child(5)) > .interior-card:nth-child(n + 2):nth-child(-n + 5) { grid-column: span 3 }
  .interior-card-grid--mosaic:has(> .interior-card:nth-child(6):last-child) > .interior-card:first-child {
    grid-column: span 4;
    grid-row: auto;
  }

  .interior-card-grid--mosaic:has(> .interior-card:nth-child(6):last-child) > .interior-card:first-child > img {
    flex: none;
    height: auto;
    aspect-ratio: 1.65;
  }

  .interior-card-grid--mosaic:has(> .interior-card:nth-child(6):last-child) > .interior-card:nth-child(n + 2) { grid-column: span 4 }
  .interior-card-grid--mosaic:has(> .interior-card:nth-child(9)) > .interior-card:nth-child(3n + 6):last-child { grid-column: 1 / -1 }
  .interior-card-grid--mosaic > .interior-card:nth-child(3n + 6):nth-last-child(2),
  .interior-card-grid--mosaic > .interior-card:nth-child(3n + 7):last-child { grid-column: span 6 }
}

@media (max-width: 670px) {
  .interior-branded-table { padding: 8px }
  .interior-table-brand { min-height: 35px; margin-bottom: 8px }
  .interior-table-stack .interior-table > table { font-size: 12px }
  .interior-table-stack .interior-table > table:has(tr:first-child > th:nth-child(4)) { min-width: 338px }
  .interior-table-stack .interior-table > table :is(th, td) { padding: 8px 6px }
  .interior-chips > li > a { min-height: 40px; padding-inline: 10px }

  .interior-card-grid--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .interior-card-grid--mosaic > .interior-card,
  .interior-card-grid--mosaic > .interior-card:first-child,
  .interior-card-grid--mosaic:has(> .interior-card:nth-child(2):last-child) > .interior-card { grid-column: auto }
  .interior-card-grid--mosaic:has(> .interior-card:nth-child(odd):last-child) > .interior-card:first-child { grid-column: 1 / -1 }
}

.interior-hero .inner-breadcrumb a + a::before,
.interior-hero .inner-breadcrumb a + [aria-current]::before {
  content: "›"; display: inline-block; margin-right: 9px; color: #8c8278;
}
.interior-band--solutions .interior-card-grid--compact { grid-template-columns: repeat(3,minmax(0,1fr)) }
.interior-band--constructions,.interior-band--specs { background: #f9f6f0 }
.interior-band--palette { background: #eee7dc }
.interior-band--projects { background: #f5f0e8 }
.interior-band--projects .inner-actions { margin-top: 18px }
.interior-gallery--single { grid-template-columns: 1fr }
.interior-gallery--single figure:first-child { grid-column: auto }
.interior-gallery--single figure:first-child img { aspect-ratio: 1.85; object-position: center 40% }
.interior-gallery:not(.interior-gallery--pair):not(.interior-gallery--single) figure:nth-child(2) img { aspect-ratio: 1.05 }
.interior-table-subtitle { margin: 0 0 10px; font-size: 18px }
.interior-branded-table .interior-table-brand { background: #fff; border-radius: 8px }
.interior-band--specs .inner-actions { align-items: baseline; margin-top: 15px }
.interior-band--specs .inner-actions p { margin: 0 }
.interior-callout:not(section) {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px;
  padding: clamp(20px,3.6vw,51px); border-radius: var(--interior-radius); background: #242d26;
}
.interior-callout:not(section) p { color: #e5ded2 }
.interior-prices-band .inner-copy + .interior-table { margin-top: 20px }
.interior-prices-band .editorial-grid + .inner-copy { margin-top: 18px }
.interior-prices-band .price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px }
.interior-prices-band .price-card {
  min-width: 0; overflow: hidden; border: 0; border-radius: var(--interior-radius); background: #eee8de;
}
.interior-prices-band .price-card img { aspect-ratio: 1.56; width: 100%; object-fit: cover }
.interior-prices-band .price-card-inner { display: grid; gap: 6px; padding: clamp(12px,1.7vw,23px) }
.interior-prices-band .price-card-inner h3 { font-size: clamp(18px, 2.2vw, 29px); line-height: 1.08 }
.interior-fixtures { margin-top: 25px }
.interior-fixtures .interior-photos { margin-top: 10px; grid-template-columns: repeat(4,minmax(0,1fr)) }
.interior-fixtures img { max-height: 115px; padding: 9px; object-fit: contain; background: #f3eee8 }
.interior-contact-hours-note { margin-top: 13px }
.interior-legal { max-width: 76ch; margin-inline: auto }
.interior-legal-tag { width: fit-content; padding: 6px 11px; margin-bottom: 17px; border-radius: 999px; background: #efe7da; font-size: 13px }
.interior-legal-block { margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid #ede7dd }
.interior-legal-block h2 { font-size: clamp(20px,2.3vw,33px); letter-spacing: -.03em; margin-bottom: 8px }
.interior-legal-block a { color: var(--red-dark); text-decoration: underline }
.interior-legal-block button { margin-top: 10px }
.interior-reviews { grid-template-columns: repeat(2,minmax(0,1fr)) }
.interior-reviews > article:first-child { grid-column: 1 / -1 }
.interior-reviews time { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px }
.interior-hero--product .interior-hero-photo img { object-fit: contain; padding: 16px; background: #f9f7f2; max-height: 440px }
@media (max-width: 670px) {
  .interior-gallery:not(.interior-gallery--pair):not(.interior-gallery--single) figure:nth-child(2) img { aspect-ratio: 1.58 }
  .interior-band--solutions .interior-card-grid--compact { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .interior-prices-band .price-grid { grid-template-columns: 1fr }
  .interior-fixtures .interior-photos { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
