.roof-page { padding-bottom: 32px; }
.roof-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.roof-tile, .roof-summary, .roof-quote {
  border: 1px solid var(--line);
  border-radius: 12px;
}
.roof-tile { display: flex; flex-direction: column; overflow: hidden; }
.roof-tile > img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  background: var(--surface);
}
.roof-tile-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 16px; }
.roof-tile-body h3 { font-size: 1.1rem; line-height: 1.3; }
.roof-tile-body .roof-price { margin-top: auto; }
.roof-price { font-size: 1.08rem; font-weight: 700; }
.roof-product { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: center; }
.roof-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.roof-gallery > img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: var(--surface); }
.roof-summary, .roof-quote { padding: clamp(16px, 3vw, 32px); background: var(--surface); }
.roof-summary h1 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); overflow-wrap: anywhere; }
.roof-summary :is(p, .action) { margin-top: 12px; }
.roof-copy p { margin-bottom: 8px; }
.roof-specs { width: 100%; border-collapse: collapse; }
.roof-specs :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.roof-specs th { width: 43%; font-weight: 650; }
.roof-specs ul { padding-inline-start: 20px; margin: 0; }
.roof-quote { margin-top: 28px; scroll-margin-top: 110px; }
.roof-quote p { margin-block: 8px; }
.roof-quote a + a { margin-inline-start: 12px; }
@media (max-width: 700px) {
  .roof-product { grid-template-columns: minmax(0, 1fr); }
  .roof-summary { grid-row: 1; }
}
