:root{--green:#18766f;--green-dark:#105d57;--line:#cfdae2;--muted:#586d7c;color:#17212d;background:#f0f3f5}
.page-shell,.site-header{letter-spacing:0}
.page-shell *,.site-header *{letter-spacing:0}
.progress-steps{grid-template-columns:repeat(6,minmax(0,1fr));max-width:1100px}
.progress-steps li{white-space:normal;line-height:1.5;min-width:0}
.progress-steps li>span:last-child{overflow-wrap:anywhere}
.material-heading{margin:28px 0 20px}
.material-heading h1{font-size:28px;line-height:1.4}
.material-heading h1:focus{outline:none}
.material-heading .material-order-summary{font-size:15px;color:#4c6272;margin-top:12px}
.material-price-note{font-size:13px;line-height:1.65;color:#516879;margin-bottom:20px}
.glass-composition-group{margin:24px 0 32px}
.glass-composition-group h2{font-size:18px;line-height:1.5;margin-bottom:14px;color:#243c49}
.glass-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.glass-material-option{position:relative;border:1px solid #a9c7c9;border-radius:6px;min-width:0;background:#fff;overflow:hidden}
.glass-material-option:has(input:checked){border-color:#18766f;background:#e3f2ee;box-shadow:inset 0 0 0 1px #18766f}
.glass-material-option:has(input:focus-visible){outline:3px solid #76b9b2;outline-offset:3px}
.glass-material-option>label{display:flex;flex-direction:column;height:100%;padding:14px;cursor:pointer;min-width:0}
.material-photo-wrap{display:block;margin-bottom:12px}
.glass-material-photo{display:grid;place-items:center;width:100%;aspect-ratio:4/3;background:#f4f5f6;overflow:hidden}
.glass-material-photo.comparison{aspect-ratio:800/377}
.glass-material-photo img{display:block;width:100%;height:100%;object-fit:contain}
.glass-photo-error{padding:16px;color:#667884;font-size:13px;text-align:center}
.material-choice-label{display:flex;gap:9px;align-items:flex-start;font-size:16px;line-height:1.6;min-height:51px;overflow-wrap:anywhere;margin:0 42px 8px 0;color:#1c303c}
.material-choice-label input{flex:none;width:18px;height:18px;margin:4px 0 0;accent-color:#18766f}
.material-price{display:block;color:#18766f;font-size:20px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:auto}
.icon-button{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #acc3cf;border-radius:4px;background:#fff;color:#18766f;padding:0;font-size:27px;line-height:1}
.icon-button:hover{background:#ecf5f3}
.glass-zoom{position:absolute;right:12px;bottom:54px}
.material-actions{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid var(--line);padding:22px 0;margin-top:24px}
.material-actions p{font-size:14px;line-height:1.6;color:#3b5968;overflow-wrap:anywhere}
.material-actions .primary-button{max-width:300px;flex:none}
.material-error{color:#a53337;font-size:14px;line-height:1.6;margin:20px 0}
.film-options{min-width:0;border:0;padding:0;margin:0}
.film-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:980px}
.glass-film-option>label{padding:18px}
.glass-film-option .glass-material-photo{margin-bottom:18px}
.glass-film-option .material-choice-label{min-height:28px;margin-bottom:10px}
.glass-film-option .glass-zoom{right:18px;bottom:64px}
.glass-quote-summary{padding:24px 0;border-top:1px solid var(--line);line-height:1.8}
.glass-quote-summary h2{margin-bottom:10px;font-size:19px}
.glass-quote-summary p{font-size:14px;margin:8px 0;overflow-wrap:anywhere}
#glass-quote-total{font-size:25px;color:var(--green);overflow-wrap:anywhere}
#glass-delivery-options{border:0;padding:0;margin:22px 0;min-width:0}
#glass-delivery-options legend{font-size:15px;font-weight:600;margin-bottom:12px}
.glass-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:980px}
.glass-delivery-option{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #a9c7c9;border-radius:6px;background:#fff;min-width:0;cursor:pointer}
.glass-delivery-option:has(input:checked){border-color:#18766f;background:#e3f2ee;box-shadow:inset 0 0 0 1px #18766f}
.glass-delivery-option:has(input:focus-visible){outline:3px solid #76b9b2;outline-offset:3px}
.delivery-choice-heading{display:flex;align-items:center;gap:10px;min-width:0;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.delivery-choice-heading input{margin:0;flex:none;width:18px;height:18px;accent-color:#18766f}
.delivery-price{font-size:24px;color:#18766f;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.delivery-time{font-size:15px;line-height:1.5;color:#354f60}
#glass-quote-selected:not([hidden]){margin:18px 0}
.glass-photo-dialog{width:min(1120px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #b7c7cd;border-radius:6px;color:#182d39;background:#fff}
.glass-photo-dialog::backdrop{background:#16253099}
.glass-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.glass-dialog-heading h2{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.glass-photo-dialog>img{display:block;max-width:100%;max-height:calc(100dvh - 180px);object-fit:contain;margin:auto}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:899px){.glass-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-actions{gap:16px}.material-actions .primary-button{max-width:245px}}
@media(max-width:720px){.progress-steps{gap:6px}.progress-steps li{font-size:10px;line-height:1.5}.progress-steps li>span:last-child{max-width:84px}.material-heading h1{font-size:24px}.material-heading .material-order-summary{font-size:13px}.material-price-note{font-size:12px}.film-option-grid{gap:16px}.glass-film-option>label{padding:12px}.material-choice-label{font-size:14px}.material-price{font-size:18px}.glass-film-option .glass-zoom{right:12px;bottom:56px}}
@media(max-width:599px){.glass-color-grid,.film-option-grid{grid-template-columns:minmax(0,1fr)}.glass-composition-group h2{font-size:16px}.glass-material-option>label{padding:14px}.material-choice-label{font-size:16px;min-height:28px}.material-price{font-size:20px}.glass-zoom,.glass-film-option .glass-zoom{right:12px;bottom:53px}.material-actions{align-items:stretch;flex-direction:column;gap:12px}.material-actions .primary-button{max-width:none}.glass-photo-dialog{padding:12px}.glass-dialog-heading h2{font-size:14px}.material-heading{margin-top:22px}.glass-composition-group{margin-bottom:26px}}
@media(max-width:360px){.progress-steps li{font-size:9px}.progress-steps{gap:4px}.material-heading h1{font-size:22px}.material-choice-label{font-size:14px}.material-price{font-size:19px}}
@media(max-width:599px){.glass-delivery-grid{grid-template-columns:minmax(0,1fr);gap:12px}.glass-delivery-option{padding:16px;gap:12px}.delivery-price{font-size:22px}}
.glass-document-totals { display: flex; flex-wrap: wrap; gap: 16px 40px; border-block: 1px solid #c9d8dd; padding: 12px 0; }
.glass-document-totals p { margin: 0; }
.glass-document-totals strong { display: block; margin-top: 8px; font-size: 20px; }
.glass-document-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 24px 0; }
.glass-document-actions a { text-decoration: none; }
.glass-document-preview { display: block; width: 100%; max-width: 1000px; height: auto; background: white; }
.order-contact-banner { margin: 0; padding: 14px 20px; border-bottom: 1px solid #e7a5a5; background: #fde2e2; color: #342c10; font-size: 20px; font-weight: 600; line-height: 1.5; text-align: center; letter-spacing: 0; overflow-wrap: anywhere; }
.order-contact-banner strong { font-weight: 750; }
.glass-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 5; margin-top: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); background: #f0f3f5; }
.glass-step-actions .primary-button { width: auto; min-width: 220px; max-width: 300px; margin-left: auto; flex: 0 1 auto; white-space: normal; overflow-wrap: anywhere; }
.glass-step-actions .type-back-button { margin: 0; min-width: 0; white-space: normal; text-align: left; line-height: 1.5; }
.glass-step-actions + .page-heading { margin-top: 24px; }
.page-shell { scroll-padding-top: 100px; }
.page-shell :is(input, select, button, a, h1, h2, [tabindex]) { scroll-margin-top: 110px; }
@media(max-width:599px) {
  .glass-step-actions { gap: 12px; padding: 10px 0; }
  .glass-step-actions .primary-button { min-width: 0; max-width: 62%; padding: 10px 12px; font-size: 13px; }
  .glass-step-actions .primary-button:only-child { max-width: 100%; }
  .glass-step-actions .type-back-button { flex: 1 1 0; font-size: 11px; }
}

/* The contact note belongs to the PDF page, not the configuration steps. */
.order-contact-banner { display: none; }
.quote-document-page > .order-contact-banner { display: block; }
.glass-step-actions .type-back-button { display: none; }
.glass-step-actions:not(:has(.primary-button)) { display: none; }
.progress-steps li { align-items: flex-start; }
.progress-steps li:not(:last-child)::after { margin-top: 14px; }
.glass-step-copy { display: flex; flex-direction: column; min-width: 0; min-height: 60px; }
.glass-step-label { display: flex; align-items: center; min-height: 28px; }
.glass-step-edit { align-self: flex-start; max-width: 100%; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #147a74; font: inherit; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 720px) {
  .progress-steps li { align-items: center; }
  .progress-steps li:not(:last-child)::after { margin-top: 0; }
  .glass-step-copy { align-items: center; min-height: 62px; }
  .glass-step-label { min-height: 30px; }
  .glass-step-edit { align-self: center; font-size: 10px; }
}
@media (max-width: 480px) {
  .progress-steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px 6px; }
  .progress-steps li { font-size: 11px; }
  .progress-steps li:nth-child(3)::after { display: none; }
  .glass-step-edit { font-size: 11px; }
}
