.quick-quote-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.quick-quote-primary,
.quick-quote-secondary {
    box-sizing: border-box;
    border: 1px solid #bd2031;
    border-radius: 10px;
    background: #bd2031;
    color: #fff;
    min-height: 40px;
    padding: 8px 15px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.quick-quote-primary:hover { background: #a51a2a; }
.quick-quote-primary:disabled, .quick-quote-dialog button:disabled { opacity: .65; cursor: wait; }
.quick-quote-trigger { white-space: nowrap; }
.quick-quote-secondary { background: #fff; border-color: #cbd5e1; color: #172033; }

.quick-quote-dialog {
    box-sizing: border-box;
    width: min(580px, calc(100% - 28px));
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 26px;
    border: 1px solid #dbe1eb;
    border-radius: 18px;
    background: #fff;
    color: #172033;
    box-shadow: 0 22px 64px #17203333;
    overflow: auto;
}

.quick-quote-dialog::backdrop { background: #17203375; }
.quick-quote-dialog h2 { margin: 0 34px 18px 0; font-size: 1.4rem; }
.quick-quote-close {
    position: absolute;
    inset: 12px 12px auto auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f7;
    color: #172033;
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.quick-quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quick-quote-wide { grid-column: 1 / -1; }
.quick-quote-fields label { display: grid; gap: 5px; align-content: start; font-weight: 600; }
.quick-quote-fields input, .quick-quote-fields textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #172033;
    font: inherit;
    font-weight: 400;
}
.quick-quote-fields textarea { resize: vertical; }
.quick-quote-fields small { color: #526078; font-weight: 400; }
.quick-quote-contact-options { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 8px 0 4px; padding: 0; border: 0; }
.quick-quote-contact-options legend { padding: 0; margin-bottom: 5px; font-size: .85rem; }
.quick-quote-contact-options label { display: inline-flex; align-items: center; gap: 5px; font-weight: 400; font-size: .85rem; cursor: pointer; }
.quick-quote-contact-options input[type="checkbox"] { width: 1rem; height: 1rem; margin: 0; padding: 0; flex-shrink: 0; accent-color: #bd2031; }
.quick-quote-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.quick-quote-error { color: #aa1b2c; margin: 12px 0 0; }

@media (max-width: 760px) {
    .quick-quote-trigger { max-width: 140px; padding: 6px 9px; font-size: 12px; white-space: normal; }
}
@media (max-width: 520px) {
    .quick-quote-dialog { padding: 20px; }
    .quick-quote-fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
