body.quote-is-open { overflow: hidden; }
.quote-dialog { box-sizing: border-box; width: min(660px,calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #d9d2c7; border-top: 5px solid #812c32; border-radius: 8px; background: #fcfaf5; color: #35291f; box-shadow: 0 24px 80px #180d0966; overflow-y: auto; }
.quote-dialog::backdrop { background: #241a14b8; backdrop-filter: blur(3px); }
.quote-dialog-header { display: flex; align-items: start; gap: 16px; justify-content: space-between; padding: 28px 30px 20px; border-bottom: 1px solid #d9d2c7; }
.quote-dialog-header .eyebrow { font-size: 10px; color: #812c32; }
.quote-dialog h2 { font: 700 clamp(29px,4vw,38px)/1.1 Georgia,serif; margin: 12px 0; letter-spacing: -.025em; }
.quote-dialog-header p { font-size: 14px; line-height: 1.6; margin: 0; color: #62584d; }
.quote-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #d9d2c7; border-radius: 50%; background: transparent; color: #442d20; display: grid; place-items: center; cursor: pointer; }
.quote-close:hover { background: #f3f0e8; }
.quote-dialog-body { padding: 20px 30px 26px; }
.quote-preview-note { background: #f3f0e8; border-left: 3px solid #812c32; padding: 10px 12px; margin: 0 0 20px; font-size: 12px; line-height: 1.5; }
.quote-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-dialog label { display: block; font-size: 13px; font-weight: 700; line-height: 1.6; }
.quote-dialog label span { font-size: 11px; font-weight: 400; color: #62584d; }
.quote-dialog input,.quote-dialog select,.quote-dialog textarea { box-sizing: border-box; display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #aaa093; border-radius: 4px; background: #fff; color: #35291f; font: 16px/1.5 Arial,sans-serif; }
.quote-dialog input,.quote-dialog select { min-height: 48px; }
.quote-dialog textarea { resize: vertical; min-height: 100px; }
.quote-dialog input:focus,.quote-dialog select:focus,.quote-dialog textarea:focus { outline: 2px solid #812c32; outline-offset: 2px; }
.quote-details-label { margin-top: 18px; }
.quote-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; }
.quote-form-footer small { max-width: 290px; font-size: 11px; color: #62584d; line-height: 1.6; }
.quote-dialog .btn { white-space: nowrap; min-height: 46px; background: #812c32; color: #fff; }
.quote-dialog .btn:hover { background: #632128; }
.quote-privacy { margin: 18px 0 0; font-size: 12px; }
.quote-privacy a { color: #812c32; text-decoration: underline; padding: 10px 0; }
.quote-request-review[hidden],#quote-request-form[hidden] { display: none; }
.quote-request-review h3 { font: 700 27px/1.2 Georgia,serif; margin: 4px 0 12px; }
.quote-request-review p { font-size: 14px; line-height: 1.6; }
.quote-request-review dl { margin: 20px 0; }
.quote-request-review dl div { border-top: 1px solid #d9d2c7; padding: 12px 0; }
.quote-request-review dt { color: #812c32; font-weight: 700; font-size: 12px; }
.quote-request-review dd { margin: 6px 0 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.quote-review-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.quote-edit { min-height: 44px; padding: 10px 16px; border: 1px solid #812c32; border-radius: 4px; color: #812c32; background: transparent; font-weight: 700; cursor: pointer; }
@media(max-width:500px) {
 .quote-dialog-header { padding: 22px 20px 18px; }
 .quote-dialog-body { padding: 18px 20px 24px; }
 .quote-form-grid { grid-template-columns: 1fr; gap: 14px; }
 .quote-form-footer { align-items: stretch; flex-direction: column-reverse; gap: 12px; }
 .quote-form-footer small { max-width: none; }
 .quote-dialog-header .eyebrow { font-size: 9px; letter-spacing: .08em; }
}
/* Match Old Town's deep-red contact section while keeping fields easy to read. */
.quote-dialog { background: #812c32; color: #fff4df; border-color: #a95a60; border-top-color: #f3e7d0; }
.quote-dialog-header { border-bottom-color: #f3e7d055; }
.quote-dialog-header .eyebrow,.quote-dialog-header p { color: #f2d7bc; }
.quote-close { color: #fff4df; border-color: #f3e7d077; }
.quote-close:hover { background: #ffffff14; }
.quote-preview-note { background: #632128; color: #fff4df; border-left-color: #f3e7d0; }
.quote-dialog label span,.quote-form-footer small { color: #f2d7bc; }
.quote-dialog input,.quote-dialog select,.quote-dialog textarea { background: #fcfaf5; color: #35291f; border-color: #e5d3b9; }
.quote-dialog input:focus,.quote-dialog select:focus,.quote-dialog textarea:focus { outline-color: #fff4df; }
.quote-dialog .btn { background: #f3e7d0; color: #632128; }
.quote-dialog .btn:hover { background: #fff7e7; }
.quote-privacy a { color: #fff4df; }
.quote-request-review dl div { border-top-color: #f3e7d055; }
.quote-request-review dt { color: #f2d7bc; }
.quote-edit { color: #fff4df; border-color: #f3e7d099; }
.quote-dialog button:focus-visible,.quote-dialog a:focus-visible { outline-color: #fff4df; }
