/* Shared GANT palette and opening measurements for national and local product pages. */
.sn > .gp-section { padding-block: var(--pr-body-inset, clamp(2.5rem, 5vw, 5rem)); color: #10243c; }
.gp-section .gp-heading { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.gp-section .gp-heading h2 { margin: 0 0 1rem; }
.gp-section .gp-heading p { margin: 0; max-width: none; color: #526174; }
.gp-section .gp-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.gp-section .gp-sample { margin: 0; padding: clamp(1.25rem,3vw,2.5rem); background: #f1f5fa; border-radius: .9rem; text-align: center; }
.gp-section .gp-sample > img { display: block; width: 100%; height: clamp(240px,27vw,380px); object-fit: contain; }
.gp-section .gp-sample figcaption { margin-top: 1rem; color: #10243c; font-weight: 700; }
.gp-section .gp-category-title { margin: 0 0 1rem; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.gp-section .gp-panel-group + .gp-panel-group { margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid #d4e0ec; }
.gp-section .gp-picker h3, .gp-section .gp-picker .gp-field-label { margin: 0 0 .8rem; color: inherit; font-weight: 700; font-size: 1.15rem; }
.gp-section .gp-profiles { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.gp-section button { font: inherit; line-height: 1.4; color: #10243c; background: #fff; border: 1px solid #d4e0ec; border-radius: .65rem; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.gp-section .gp-profile { padding: .7rem 1rem; min-height: 44px; font-weight: 600; }
.gp-section .gp-profile[aria-pressed="true"] { background: #0a162c; border-color: #0a162c; color: #fff; }
.gp-section .gp-colors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.gp-section .gp-colors[hidden] { display: none; }
.gp-section .gp-color { display: grid; justify-items: center; align-content: start; padding: .75rem .5rem; gap: .65rem; font-size: .875rem; }
.gp-section .gp-color img { display: block; width: 100%; height: 100px; object-fit: contain; }
.gp-section .gp-color[aria-pressed="true"] { border-color: #225b94; box-shadow: 0 0 0 1px #225b94; background: #f1f6fb; }
.gp-section button:focus-visible, .gp-section a:focus-visible { outline: 3px solid #5797da; outline-offset: 4px; }
.gp-section .gp-note { margin: 1.3rem 0 0; font-size: .875rem; line-height: 1.6; color: #526174; max-width: none; }
.sn > .gp-measure { background: linear-gradient(to bottom,#fff,#f7f8fa var(--pr-fade,24px),#f7f8fa calc(100% - var(--pr-fade,24px)),#fff); }
.gp-section .gp-measure-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: start; }
.gp-section .gp-diagram { margin: 0; }
.gp-section .gp-diagram a { display: block; }
.gp-section .gp-diagram img { display: block; width: 100%; height: auto; border-radius: .9rem; background: #fff; }
.gp-section .gp-diagram figcaption { margin-top: .6rem; color: #526174; font-size: .875rem; text-align: center; }
.gp-section .gp-dimensions { margin: 0; }
.gp-section .gp-dimensions > div { display: grid; grid-template-columns: minmax(72px,.65fr) minmax(0,1.8fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #d4e0ec; }
.gp-section .gp-dimensions > div:first-child { padding-top: 0; }
.gp-section .gp-dimensions dt { color: #225b94; font-weight: 700; font-size: 1rem; overflow-wrap: anywhere; }
.gp-section .gp-dimensions dd { margin: 0; color: #465569; line-height: 1.5; }
.gp-section .gp-tips { margin-top: 2rem; padding: clamp(1.25rem,2.5vw,2rem); border-radius: .9rem; background: #fff; }
.gp-section .gp-tips h3 { font-size: 1.15rem; margin: 0 0 .7rem; }
.gp-section .gp-tips p { margin: 0; color: #526174; max-width: none; }
@media(hover:hover) { .gp-section button:hover { border-color: #225b94; } }
@media(max-width:767px) {
    .gp-section .gp-grid, .gp-section .gp-measure-grid { grid-template-columns: minmax(0,1fr); }
    .gp-section .gp-sample > img { height: 260px; }
    .gp-section .gp-color img { height: 80px; }
}
@media(max-width:359px) { .gp-section .gp-colors { gap: .5rem; } .gp-section .gp-color { font-size: .8rem; } }
@media(prefers-reduced-motion:reduce) { .gp-section button { transition: none; } }
/* Keep the palette and following content stationary when a profile has fewer colors. */
.gp-section .gp-palettes { display: grid; }
.gp-section .gp-palettes .gp-colors { grid-area: 1 / 1; align-self: start; }
.gp-section .gp-palettes .gp-colors[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.gp-section button { transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
@media(prefers-reduced-motion:reduce) { .gp-section button { transition: none; } }

/* Continue the existing white/gray rhythm after the third roller product block. */
.sn > #sectional-panel-colors, .sn > #roller-panel-colors { background: #f7f8fa linear-gradient(to bottom,#fff,#f7f8fa var(--pr-fade,24px),#f7f8fa calc(100% - var(--pr-fade,24px)),#fff); }
.sn > #sectional-opening-parameters, .sn > #roller-opening-parameters { background: #fff; }
#sectional-opening-parameters .gp-tips, #roller-opening-parameters .gp-tips { background: #f7f8fa; }
