.quote-next-step[hidden], .quote-next-step [hidden], .quote-email[hidden] {
    display: none !important;
}
.quote-next-step {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.25);
}
.quote-next-step__intro { margin-bottom: .85rem; color: #fff; line-height: 1.5; }
.quote-next-step .button {
    width: 100%;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    color: var(--navy-950);
    background: #ff8a45;
}
.quote-next-step .button:hover { background: #ffa064; }
.quote-next-step__browse {
    display: block;
    padding: .75rem;
    margin-top: .6rem;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 10px;
    text-align: center;
    color: #fff;
    font-weight: 500;
}
.quote-next-step__browse:hover { background: rgba(255,255,255,.1); }
.quote-next-step__reassurance { margin: .8rem 0; color: #fff; font-size: .95rem; line-height: 1.5; }
.quote-next-step__email { display: inline-block; padding: .4rem 0; color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.quote-next-step a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.quote-email-section { padding: 0 0 3rem; }
.quote-email-section:has(.quote-email[hidden]) { display: none; }
.quote-email { max-width: 820px; margin-inline: auto; border: 1px solid #d3dbe6; border-radius: 12px; scroll-margin-top: 140px; }
.quote-email summary { padding: 1.2rem; font-size: 1.1rem; font-weight: 500; cursor: pointer; color: var(--navy-900); }
.quote-email summary:focus-visible { outline: 3px solid var(--orange-600); outline-offset: 4px; }
#quote-email-content { padding: 0 1.5rem 1.5rem; }
#quote-email-content [hidden] { display: none !important; }
#quote-email-success { margin-bottom: 1.5rem; }
#quote-email-success h3 { font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; text-transform: none; line-height: 1.3; }
#quote-email-success .button { font-family: var(--font-body); font-weight: 600; text-transform: none; }
#quote-estimate { scroll-margin-top: 140px; }
@media (min-width: 981px) and (max-height: 900px) {
    .quote-summary { position: static; }
}
