/* Scoped styles: keep the existing Novas Painting pages intact. */
.np-estimator { --np-navy: #18283a; --np-cream: #f7f1e6; --np-gold: #ecc08b; --np-muted: #596575; --np-border: #dce1e6; font-family: Verdana, Geneva, Tahoma, sans-serif; color: var(--np-navy); font-size: 14px; line-height: 1.6; }
.np-estimator *, .np-estimator *::before, .np-estimator *::after { box-sizing: border-box; }
.np-estimator [hidden], [data-open-estimate][hidden] { display: none !important; }
.np-estimator button, .np-estimator input, .np-estimator select { font: inherit; }
.np-estimator button, .np-estimator a { -webkit-tap-highlight-color: transparent; }
.np-estimator button { cursor: pointer; }
.np-estimator button:focus-visible, .np-estimator a:focus-visible, .np-estimator input:focus-visible, .np-estimator select:focus-visible, .np-inline-trigger:focus-visible { outline: 3px solid #b06928; outline-offset: 4px; }
.np-estimator svg { width: 25px; height: 25px; flex-shrink: 0; }
.np-estimator p, .np-estimator h2, .np-estimator h3 { margin: 0; }
.np-launcher { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 1100; display: flex; align-items: center; gap: 12px; min-height: 64px; border: 1px solid #ffffff40; border-radius: 18px; padding: 12px 21px; background: var(--np-navy); color: #fff; text-align: left; box-shadow: 0 8px 32px #0c192538; transition: transform .2s, background .2s; }
.np-launcher:hover { transform: translateY(-3px); background: #243c55; }
.np-launcher > svg { color: var(--np-gold); width: 29px; height: 29px; }
.np-launcher span { font-weight: 700; font-size: 14px; line-height: 1.4; }
.np-launcher small { display: block; font-weight: 400; font-size: 11px; color: #d4dce4; margin-top: 3px; }
.np-dialog { position: fixed; inset: 0; margin: auto; width: min(1080px, calc(100% - 48px)); max-width: none; height: min(800px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--np-navy); box-shadow: 0 25px 100px #0005; overflow: hidden; }
.np-dialog::backdrop { background: #0d1727b3; backdrop-filter: blur(5px); }
.np-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); height: 100%; }
.np-sidebar { padding: 32px 28px; background: var(--np-navy); color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.np-sidebar::after { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid #ffffff0c; border-radius: 50%; bottom: -165px; left: 25px; pointer-events: none; }
.np-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 42px; }
.np-brand img { width: 52px; height: 52px; object-fit: contain; }
.np-brand > span { font-size: 18px; font-weight: 700; letter-spacing: 2px; line-height: 1.1; }
.np-brand small { font-size: 9px; letter-spacing: 1.8px; }
.np-eyebrow { font-size: 9px; font-weight: 700; color: var(--np-gold); letter-spacing: 1.6px; }
.np-side-copy h2 { font-size: 29px; letter-spacing: -1px; line-height: 1.25; color: #fff; margin: 15px 0 18px; }
.np-side-copy p { font-size: 12px; color: #c8d3de; line-height: 1.85; }
.np-steps { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 23px; }
.np-steps li { display: flex; gap: 14px; align-items: center; color: #aebdcb; }
.np-steps li > span { display: grid; place-items: center; height: 35px; width: 35px; border: 1px solid #ffffff3b; border-radius: 50%; font-size: 11px; }
.np-steps li > div { font-size: 13px; font-weight: 700; }
.np-steps small { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; }
.np-steps .np-current { color: #fff; }
.np-steps .np-current > span { background: var(--np-gold); border-color: var(--np-gold); color: var(--np-navy); font-weight: 700; }
.np-steps .np-complete > span { border-color: var(--np-gold); color: var(--np-gold); }
.np-side-note { margin-top: auto !important; padding-top: 24px; border-top: 1px solid #ffffff20; font-size: 11px; color: #c8d3de; }
.np-main { min-width: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.np-topbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 17px 28px 16px 36px; border-bottom: 1px solid #edf0f2; position: sticky; top: 0; z-index: 2; background: #fffffff5; }
.np-topbar > span { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }
.np-topbar svg { width: 20px; height: 20px; }
.np-close { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f3f5; color: var(--np-navy); font-size: 27px !important; line-height: 1; }
.np-close:hover { background: #e2e7ec; }
.np-content { padding: 28px 36px 32px; }
.np-demo { display: inline-block; color: #795021; background: #fcf0df; padding: 5px 10px; border-radius: 5px; font-size: 9px; letter-spacing: 1px; font-weight: 700; margin-bottom: 17px !important; }
.np-content > h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.9px; margin-bottom: 12px; }
.np-content > h2:focus { outline: none; }
.np-intro { font-size: 12px; color: var(--np-muted); line-height: 1.8; margin-bottom: 25px !important; max-width: 510px; }
.np-mobile-step { display: none; }
.np-panel, .np-extras { border: 0; margin: 0; padding: 0; min-width: 0; }
.np-fields { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 21px 18px; }
.np-full { grid-column: 1 / -1; }
.np-field label, .np-extras legend { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.np-field input, .np-field select { width: 100%; height: 49px; border: 1px solid var(--np-border); border-radius: 8px; background: #fff; color: var(--np-navy); font-size: 13px; padding: 0 12px; min-width: 0; }
.np-field select { padding-right: 8px; }
.np-field input[aria-invalid="true"] { border-color: #ad2f30; }
.np-field > small { display: block; font-size: 10px; color: var(--np-muted); margin-top: 6px; line-height: 1.65; }
.np-input-unit { position: relative; }
.np-input-unit input { padding-right: 76px; }
.np-input-unit > span { position: absolute; top: 14px; right: 24px; font-size: 12px; color: var(--np-muted); pointer-events: none; }
.np-tip { margin-top: 24px; padding: 14px 16px; border-left: 3px solid #d3b18a; background: #f8f5ef; color: #60646a; font-size: 11px; line-height: 1.8; border-radius: 0 7px 7px 0; }
.np-actions { margin-top: 28px; padding-top: 22px; border-top: 1px solid #e9edf0; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.np-step-note { font-size: 10px; color: var(--np-muted); }
.np-primary { border: 1px solid var(--np-navy); background: var(--np-navy); color: #fff; padding: 13px 20px; min-height: 48px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; font-size: 12px !important; font-weight: 700 !important; line-height: 1.5; text-decoration: none; text-align: center; }
.np-primary:hover { background: #29435e; border-color: #29435e; }
.np-back, .np-edit, .np-reset { border: 0; background: transparent; padding: 12px 0; color: var(--np-navy); font-size: 11px !important; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.np-extras > p { color: var(--np-muted); font-size: 11px; margin-bottom: 14px; }
.np-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.np-check-grid label { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--np-border); border-radius: 9px; padding: 16px 13px; cursor: pointer; }
.np-check-grid label:has(input:checked) { border-color: #9e7043; background: #fbf5ec; }
.np-check-grid input { width: 17px; height: 17px; accent-color: var(--np-navy); flex-shrink: 0; margin-top: 3px; }
.np-check-grid span { font-size: 11px; font-weight: 700; }
.np-check-grid small { display: block; font-size: 9px; font-weight: 400; color: var(--np-muted); margin-top: 3px; }
.np-door-fields { margin-top: 26px; }
.np-error { color: #992525; background: #fff1f0; border-radius: 7px; font-size: 12px; padding: 13px; margin-top: 16px !important; }
.np-project-summary { font-size: 11px; color: var(--np-muted); line-height: 1.8; padding-bottom: 24px; }
.np-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 12px; }
.np-package { border: 1px solid var(--np-border); border-radius: 10px; padding: 23px 14px 19px; position: relative; }
.np-package h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 11px; }
.np-package p { font-size: 10px; color: var(--np-muted); line-height: 1.7; min-height: 38px; }
.np-package .np-price { display: block; margin-top: 13px; font-size: 15px; line-height: 1.6; letter-spacing: -.6px; white-space: nowrap; }
.np-recommended { border: 2px solid var(--np-navy); background: #f6f8fa; padding: 22px 13px 18px; }
.np-recommend-label { position: absolute; top: -12px; left: 10px; padding: 3px 10px; border-radius: 4px; background: var(--np-navy); color: #fff; font-size: 9px; font-weight: 700; }
.np-currency-note { font-size: 9px; text-align: right; color: var(--np-muted); margin: 12px 0 18px !important; }
.np-demo-note { background: #fcf0df; padding: 12px 14px; border-radius: 7px; font-size: 10px; line-height: 1.8; color: #795021; margin-bottom: 23px !important; }
.np-included { border-top: 1px solid #e9edf0; padding: 21px 0; }
.np-included h3, .np-booking h3 { font-size: 14px; margin-bottom: 13px; }
.np-included ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 15px; margin: 0; padding: 0; list-style: none; }
.np-included li { position: relative; padding-left: 18px; font-size: 10px; color: var(--np-muted); line-height: 1.8; }
.np-included li::before { content: '✓'; position: absolute; left: 0; color: #416047; font-weight: 700; }
.np-booking { background: var(--np-cream); padding: 23px; border-radius: 10px; margin-top: 5px; }
.np-booking h3 { margin-bottom: 7px; }
.np-booking p { font-size: 11px; color: var(--np-muted); line-height: 1.8; }
.np-book { margin: 16px 0 12px; }
.np-contact a { color: var(--np-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.np-disclaimer { margin-top: 18px !important; color: #66717c; font-size: 9px; line-height: 1.9; }
.np-result-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 15px; }
.np-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.np-inline-trigger { display: inline-block; padding: 12px 22px; border: 1px solid #ecd3b6; border-radius: 8px; background: #ecd3b6; color: #18283a; font: 700 15px Verdana, sans-serif; line-height: 1.4; cursor: pointer; text-transform: uppercase; }
.np-inline-trigger:hover { background: #f4e2cb; }
.exterior-page .np-inline-trigger { margin: 12px 0 0 12px; }
@media (max-width: 1000px) {
  .np-shell { grid-template-columns: 235px minmax(0, 1fr); }
  .np-sidebar { padding: 28px 22px; }
  .np-side-copy h2 { font-size: 25px; }
  .np-content { padding: 26px; }
  .np-topbar { padding-left: 26px; padding-right: 20px; }
  .np-packages { grid-template-columns: 1fr; gap: 22px; }
  .np-package { padding: 19px; }
  .np-package p { min-height: 0; }
  .np-package .np-price { font-size: 22px; margin-top: 8px; }
}
@media (max-width: 720px) {
  .np-dialog { width: calc(100% - 20px); height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .np-shell { display: block; }
  .np-sidebar { display: none; }
  .np-main { height: 100%; }
  .np-topbar { padding: 12px 15px 12px 22px; }
  .np-content { padding: 23px 22px; }
  .np-content > h2 { font-size: 25px; }
  .np-mobile-step { display: block; color: var(--np-muted); letter-spacing: 1.3px; font-size: 9px; font-weight: 700; margin-bottom: 12px !important; }
  .np-launcher { right: 15px; bottom: max(15px, env(safe-area-inset-bottom)); min-height: 57px; padding: 10px 16px; border-radius: 15px; }
  .np-launcher span { font-size: 12px; }
  .np-fields { gap: 20px 12px; }
  .np-field input, .np-field select { font-size: 16px; }
  .np-field select { text-overflow: ellipsis; }
  .np-check-grid { grid-template-columns: 1fr; gap: 10px; }
  .np-check-grid label { padding: 14px; }
  .np-check-grid span { font-size: 12px; }
  .np-check-grid small { font-size: 10px; }
  .np-actions { margin-top: 22px; }
  .np-step-note { max-width: 85px; line-height: 1.7; }
  .np-primary { padding: 13px 16px; font-size: 11px !important; }
  .np-included ul { grid-template-columns: 1fr; }
  .np-included li { font-size: 11px; }
  .np-book { width: 100%; }
  .np-booking { padding: 19px; }
  .np-contact { display: flex; flex-wrap: wrap; gap: 5px; }
  .exterior-page .np-inline-trigger { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .np-launcher { transition: none; } }

/* Service selection and service-specific estimate details. */
.np-service-options { display: grid; gap: 12px; }
.np-service-option { display: grid; grid-template-columns: 70px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--np-border); border-radius: 12px; cursor: pointer; background: #fff; }
.np-service-option:hover { border-color: #94a3ae; }
.np-service-option:has(input:checked) { background: #faf6ef; border: 2px solid #9e7043; padding: 11px; }
.np-service-option img { width: 70px; height: 58px; object-fit: cover; border-radius: 7px; }
.np-service-option strong { display: block; font-size: 17px; line-height: 1.4; }
.np-service-option small { display: block; margin-top: 5px; font-size: 12px; line-height: 1.65; color: var(--np-muted); }
.np-service-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--np-navy); }
.np-service-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding: 12px 0; border-bottom: 1px solid #e9edf0; }
.np-service-bar > span { font-size: 13px; font-weight: 700; }
.np-change-service { border: 0; background: transparent; color: var(--np-navy); font-size: 12px !important; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.np-estimator .np-intro { font-size: 14px; line-height: 1.75; }
.np-estimator .np-sidebar { overflow-y: auto; }
.np-estimator .np-sidebar::after { content: none; }
.np-choosing .np-tip { margin-top: 16px; padding: 12px 16px; }
.np-choosing .np-actions { margin-top: 18px; }
.np-choosing .np-intro { margin-bottom: 20px !important; }
.np-estimator .np-brand { margin-bottom: 26px; }
.np-estimator .np-steps { gap: 18px; margin: 26px 0; }
.np-estimator .np-field label, .np-estimator .np-extras legend { font-size: 14px; }
.np-estimator .np-field input, .np-estimator .np-field select { font-size: 16px; }
.np-estimator .np-field > small { font-size: 12px; }
.np-field select:disabled { background: #f3f4f5; color: #63717d; cursor: not-allowed; }
.np-estimator .np-tip { font-size: 12px; }
.np-estimator .np-primary { font-size: 14px !important; }
.np-estimator .np-check-grid span { font-size: 13px; }
.np-estimator .np-check-grid small, .np-estimator .np-extras > p { font-size: 11px; }
.np-estimator .np-project-summary { font-size: 13px; }
.np-estimator .np-included li, .np-estimator .np-booking p { font-size: 12px; }
.np-estimator .np-disclaimer { font-size: 11px; }
.np-estimator .np-package .np-price { white-space: normal; }
.np-packages.np-single { grid-template-columns: minmax(0, 1fr); }
.np-single .np-package { border: 2px solid var(--np-navy); background: #f6f8fa; padding: 25px; }
.np-single .np-package p { min-height: 0; font-size: 14px; }
.np-single .np-package .np-price { font-size: 30px; margin-top: 12px; }
.np-selected-system { margin: 0 0 24px; padding: 18px; border: 1px solid var(--np-border); border-radius: 9px; }
.np-selected-system > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 8px 0; font-size: 13px; line-height: 1.6; }
.np-selected-system dt { color: var(--np-muted); }
.np-selected-system dd { margin: 0; font-weight: 700; }
.interior-page .hero-overlay-content .np-inline-trigger,
.cabinet-page .hero-overlay-content .np-inline-trigger { margin: 12px 0 0 12px; }
@media (max-width: 720px) {
  .np-estimator .np-launcher small { font-size: 10px; }
  .np-service-option { grid-template-columns: 60px minmax(0, 1fr) 18px; gap: 11px; padding: 12px; }
  .np-service-option:has(input:checked) { padding: 11px; }
  .np-service-option img { width: 60px; height: 76px; }
  .np-service-option strong { font-size: 15px; }
  .np-service-option small { font-size: 11px; }
  .np-estimator .np-fields { grid-template-columns: minmax(0, 1fr); }
  .np-estimator .np-content { padding: 23px 19px; }
  .np-estimator .np-primary { padding: 13px 14px; font-size: 13px !important; }
  .np-estimator .np-step-note { max-width: 85px; }
  .np-service-bar { margin-bottom: 20px; gap: 8px; }
  .np-service-bar > span { font-size: 12px; }
  .np-selected-system > div { grid-template-columns: 1fr; gap: 3px; }
  .np-single .np-package .np-price { font-size: 27px; }
}
@media (max-width: 760px) {
  .interior-page .hero-overlay-content .np-inline-trigger,
  .cabinet-page .hero-overlay-content .np-inline-trigger { margin-left: 0; }
}
