/* Keep native input/select minimum sizes inside their grid cells. */
.calc-fields { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.calc-fields label, .calculator-card, .estimate-grid > *, .workspace-fields label,
.gp-premium-copy, .gp-quick-quote, .gp-quick-fields label, .gp-quick-measurements label { min-width: 0; }
.calc-fields input, .calc-fields select, .workspace-fields input, .workspace-fields select,
.gp-quick-fields select, .gp-quick-measurements input { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.estimate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.workspace-fields, .gp-quick-fields, .gp-quick-measurements { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gp-banner-stack { display: grid; touch-action: pan-y; }
.gp-banner-slide { position: relative; grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease; overflow: hidden; }
.gp-banner-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.gp-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-banner-slide.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #06131ff0, #06131fb3); }
.gp-banner-text { position: relative; z-index: 1; }
.gp-banner-slide.has-image .gp-banner-text { padding: 22px; }
.gp-premium-copy .gp-banner-title { max-width: 650px; margin: 20px 0 24px; font-size: clamp(46px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; color: #fff; overflow-wrap: break-word; }
.gp-banner-title em { color: var(--gp-gold, #e8b24b); font-style: normal; }
.gp-banner-text > p { max-width: 625px; margin: 0; color: #c5d0da; font-size: 17px; line-height: 1.65; white-space: pre-line; }
.gp-banner-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #e8b24b; font-size: 13px; font-weight: 700; }
.gp-banner-link svg { width: 18px; height: 18px; }
.gp-banner-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gp-banner-controls[hidden] { display: none; }
.gp-banner-controls button { cursor: pointer; color: white; }
.gp-banner-arrow, .gp-banner-pause { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff55; border-radius: 50%; background: #ffffff06; font-size: 18px; }
.gp-banner-arrow:hover, .gp-banner-pause:hover { background: #ffffff20; }
.gp-banner-pause { font-size: 12px; }
.gp-banner-dots { display: flex; flex-wrap: wrap; }
.gp-banner-dots button { display: grid; place-items: center; width: 28px; height: 38px; border: 0; background: none; padding: 4px; }
.gp-banner-dots span { width: 8px; height: 8px; border-radius: 9px; background: #ffffff66; transition: width .2s; }
.gp-banner-dots [aria-current="true"] span { width: 20px; background: #e8b24b; }
.gp-banner-counter { font-size: 11px; font-variant-numeric: tabular-nums; color: #c5d0da; margin: 0 4px; }
.gp-banner-carousel button:focus-visible, .gp-banner-link:focus-visible, .gp-max-contact:focus-visible { outline: 3px solid #e8b24b; outline-offset: 4px; }
.gp-premium-actions { flex-wrap: wrap; }

.header-main { gap: 24px; }
.header-phone { white-space: nowrap; }
.header-phone > svg { flex-shrink: 0; }
.gp-max-contact { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; min-width: 76px; height: 42px; padding: 0 10px; border-radius: 12px; background: linear-gradient(135deg, #168cff, #7850e9 80%); color: #fff; font-size: 12px; font-weight: 800; }
.gp-max-contact:hover { filter: brightness(1.08); }
.gp-max-dialog { margin: auto; padding: 0; width: min(420px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 1px solid #e4e8ee; border-radius: 16px; color: #142033; box-shadow: 0 24px 90px #07152b44; }
.gp-max-dialog::backdrop { background: #07152b99; }
.gp-max-dialog-content { padding: 32px; position: relative; }
.gp-max-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; color: #142033; font-size: 28px; cursor: pointer; }
.gp-max-label { color: #6455ed; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.gp-max-dialog h2 { font-size: 25px; line-height: 1.2; margin: 16px 0; }
.gp-max-dialog p { font-size: 14px; line-height: 1.6; color: #667085; }
.gp-max-dialog .gp-max-number { font-size: 24px; font-weight: 800; color: #0c1e3c; user-select: all; }
.gp-max-dialog .button { width: 100%; margin-bottom: 10px; cursor: pointer; }
.gp-max-dialog .gp-max-launch { color: #5440bd; background: #f0edff; }
.gp-max-dialog [data-max-status] { display: block; min-height: 18px; font-size: 12px; color: #667085; }
@media (max-width: 1200px) {
  .header-main .region-pill { display: none; }
  .header-main { gap: 18px; }
}
@media (max-width: 1100px) {
  .gp-premium-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 450px); }
  .gp-premium-copy .gp-banner-title { font-size: 48px; }
}
@media (max-width: 1000px) {
  .estimate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
}
@media (max-width: 900px) {
  .gp-premium-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .header-main { gap: 8px; }
  .gp-max-contact { min-width: 38px; width: 38px; height: 38px; padding: 7px; }
  .gp-max-contact > span { display: none; }
  .header-main .cart-link { padding-left: 8px; }
  .header-main .header-phone { gap: 0; }
  .gp-premium-copy .gp-banner-title { font-size: clamp(34px, 9vw, 48px); margin: 16px 0 18px; }
  .gp-banner-text > p { font-size: 15px; }
  .gp-banner-text .gp-premium-kicker { font-size: 9px; line-height: 1.5; }
  .gp-banner-text .gp-premium-kicker i { flex-shrink: 0; }
  .estimate-grid, .calc-fields, .workspace-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .gp-quick-fields, .gp-quick-measurements { grid-template-columns: minmax(0, 1fr); }
  .header-main .brand { gap: 6px; }
  .header-main .brand img { width: 34px; height: 34px; }
  .header-main .brand strong { font-size: 12px; }
}
@media (max-width: 380px) {
  .header-main .brand > span { display: none; }
  .header-main .brand img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-banner-slide, .gp-banner-dots span { transition: none; }
}
