/* Static product showroom: scoped so other trades keep their existing styles. */
.roof-products {
  --rp-ink: #17212b;
  --rp-muted: #52606c;
  --rp-line: #dce1e5;
  margin: 54px 0;
  padding: clamp(22px, 3.2vw, 44px);
  border: 1px solid var(--rp-line);
  border-radius: 16px;
  color: var(--rp-ink);
  background: #f3f5f6;
  overflow-wrap: anywhere;
}
.roof-products *, .roof-products *::before, .roof-products *::after { box-sizing: border-box; }
.roof-products .rp-header { max-width: 880px; margin-bottom: 30px; }
.roof-products .rp-eyebrow {
  margin: 0 0 12px; color: #865900; font-size: .75rem; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.roof-products .rp-header h2 {
  margin: 0 0 16px; color: var(--rp-ink); font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem); line-height: 1.12;
  letter-spacing: -.035em; text-transform: none; text-wrap: balance;
}
.roof-products .rp-header > p:last-child { margin: 0; color: var(--rp-muted); max-width: 800px; }
.roof-products .rp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.roof-products .rp-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--rp-line); border-top: 3px solid #e9a400;
  border-radius: 10px; background: #fff;
}
.roof-products .rp-card-header { padding: 22px 22px 0; }
.roof-products .rp-brand { margin: 0 0 8px; font-size: .75rem; letter-spacing: .09em; font-weight: 850; text-transform: uppercase; color: #68747e; }
.roof-products .rp-card h3 {
  margin: 0; color: var(--rp-ink); font-family: "Inter", Arial, sans-serif;
  font-size: 1.35rem; font-weight: 800; line-height: 1.25; text-transform: none; letter-spacing: -.025em;
}
.roof-products .rp-photo { margin: 20px 18px 0; }
.roof-products .rp-image-link {
  display: grid; place-items: center; height: 200px; padding: 15px;
  background: #fff; border: 1px solid #eef0f2; border-radius: 6px;
}
.roof-products .rp-photo img { width: 100%; height: 100%; max-height: 170px; object-fit: contain; }
.roof-products .rp-photo figcaption { margin-top: 8px; font-size: .69rem; line-height: 1.5; color: #6b7780; }
.roof-products a:not(.btn) { color: #855800; text-decoration: underline; text-underline-offset: 3px; }
.roof-products a:focus-visible, .roof-products summary:focus-visible { outline: 3px solid #bf7b00; outline-offset: 4px; }
.roof-products .rp-body { display: flex; flex-direction: column; flex: 1; gap: 16px; padding: 20px 22px 24px; }
.roof-products .rp-feature { margin: 0; color: var(--rp-muted); font-size: .89rem; line-height: 1.65; }
.roof-products .rp-project-note { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rp-line); font-size: .93rem; line-height: 1.65; }
.roof-products .rp-project-note strong { display: block; margin-bottom: 5px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #7a5400; }
.roof-products .rp-warranty { margin: auto 0 0; padding: 14px; background: #f7f5ee; border-radius: 6px; }
.roof-products .rp-warranty dt { font-size: .69rem; color: #5c6061; text-transform: uppercase; letter-spacing: .05em; }
.roof-products .rp-warranty dd { margin: 4px 0 0; font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.roof-products .rp-warranty dd + dt { margin-top: 12px; }
.roof-products details { font-size: .8rem; color: var(--rp-muted); }
.roof-products summary { cursor: pointer; font-weight: 750; color: var(--rp-ink); padding: 7px 0; }
.roof-products details p { margin: 8px 0; }
.roof-products .rp-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: .78rem; font-weight: 750; }
.roof-products .rp-focus {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px;
  margin-top: 24px; padding: 26px; border-radius: 8px; background: #19232c; color: #e4e9ee;
}
.roof-products .rp-focus h3 { margin: 0; color: #fff; font-size: 1.35rem; line-height: 1.3; text-transform: none; }
.roof-products .rp-focus p { margin: 0; font-size: .93rem; line-height: 1.65; }
.roof-products .rp-fine-print { margin: 20px 0 0; color: var(--rp-muted); font-size: .79rem; line-height: 1.7; }
.roof-products .rp-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rp-line); }
.roof-products .rp-next p { margin: 0; font-size: .92rem; }
.roof-products .rp-next .btn { flex-shrink: 0; white-space: normal; text-align: center; }
.roof-products--rows .rp-grid { grid-template-columns: 1fr; }
.roof-products--rows .rp-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.7fr); border-top-width: 1px; border-left: 4px solid #e9a400; }
.roof-products--rows .rp-card-header { grid-column: 1; }
.roof-products--rows .rp-photo { grid-column: 1; margin-bottom: 22px; }
.roof-products--rows .rp-body { grid-column: 2; grid-row: 1 / 3; }
.roof-products--rows .rp-warranty { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 15px; }
.roof-products--rows .rp-warranty dt { grid-row: 1; }
.roof-products--rows .rp-warranty dd { grid-row: 2; }
.roof-products--rows .rp-warranty dd + dt { margin: 0; }
.roof-products--contrast { background: #121b23; border-color: #121b23; }
.roof-products--contrast .rp-header h2 { color: #fff; }
.roof-products--contrast .rp-eyebrow { color: #ffc13d; }
.roof-products--contrast .rp-header > p:last-child,
.roof-products--contrast > .rp-fine-print { color: #c7d0d8; }
.roof-products--contrast .rp-focus { background: #26333e; }
.roof-products--contrast .rp-next { color: #fff; border-color: #42505c; }
.roof-products--spotlight .rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roof-products--spotlight .rp-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.roof-products--spotlight .rp-card:first-child .rp-card-header { grid-column: 1; }
.roof-products--spotlight .rp-card:first-child .rp-photo { grid-column: 1; margin-bottom: 22px; }
.roof-products--spotlight .rp-card:first-child .rp-body { grid-column: 2; grid-row: 1 / 3; }
.roof-products--spotlight .rp-card:first-child .rp-image-link { height: 240px; }
.roof-products--spotlight .rp-card:first-child img { max-height: 210px; }
body.roofing-location-page .local-form { background: #f4f5f6; }
body.roofing-location-page .local-form > .container { max-width: 1000px; }
body.roofing-location-page .local-form form.estimate-form { background: #fff; padding: clamp(20px, 4vw, 36px); border: 1px solid #dce1e5; border-radius: 12px; width: 100%; }
body.roofing-location-page .roofing-location-footer { padding-bottom: 90px; }
@media (min-width: 901px) {
  .roof-products--catalog .rp-card-header, .roof-products--contrast .rp-card-header { min-height: 111px; }
}
@media (max-width: 1100px) {
  .roof-products { padding: 24px; }
  .roof-products .rp-grid { gap: 14px; }
  .roof-products .rp-card-header { padding-inline: 17px; }
  .roof-products .rp-body { padding-inline: 17px; }
}
@media (max-width: 900px) {
  .roof-products .rp-grid { grid-template-columns: 1fr; }
  .roof-products .rp-card, .roof-products--spotlight .rp-card:first-child { display: flex; grid-column: auto; }
  .roof-products .rp-image-link, .roof-products--spotlight .rp-card:first-child .rp-image-link { height: 220px; }
  .roof-products .rp-photo img, .roof-products--spotlight .rp-card:first-child img { max-height: 190px; }
  .roof-products .rp-focus { grid-template-columns: 1fr; gap: 12px; }
  .roof-products .rp-next { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .roof-products { padding: 17px; margin-block: 32px; border-radius: 10px; }
  .roof-products .rp-header h2 { font-size: 1.85rem; }
  .roof-products .rp-focus { padding: 20px; }
  .roof-products .rp-next .btn { width: 100%; }
}
