.quote-main {
  max-width: 72rem;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.quote-heading { padding: clamp(2.25rem, 5vw, 4rem) 0 1.65rem; }
.quote-heading h1 { color: var(--wine); font-size: clamp(2.65rem, 6vw, 4.6rem); }
.quote-heading p { margin: .85rem 0 0; max-width: 45ch; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.quote-form { display: grid; gap: .9rem; min-width: 0; margin: 0; }
.quote-quantities { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-quantities label { display: flex; flex-direction: column; justify-content: space-between; }
.quote-form label { min-width: 0; font-size: .95rem; font-weight: 550; }
.quote-form :is(input:not([type=radio]), select) {
  display: block; width: 100%; min-height: 3rem; margin-top: .35rem; padding: .6rem .75rem;
  color: var(--ink); background: #fff; border: 1px solid #a9a09f; border-radius: .25rem;
}
.quote-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-form legend { margin-bottom: .55rem; padding: 0; font-weight: 600; }
.quote-hint, .quote-choice-detail { font-size: .9rem; color: var(--muted); }
.quote-hint { margin: 0; }
.quote-choice {
  display: grid; grid-template-columns: 1.15rem minmax(0, 1fr) auto; align-items: center; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: .35rem; padding: .85rem; margin-bottom: .55rem; cursor: pointer;
}
.quote-choice:has(input:checked) { background: #f8eff1; border-color: var(--wine); }
.quote-choice input { margin: 0; }
.quote-choice strong, .quote-choice-detail { display: block; }
.quote-choice-price { color: var(--wine); font-size: 1.12rem; font-weight: 600; align-self: start; font-variant-numeric: tabular-nums; }
.quote-choice-detail { font-weight: 400; }
.quote-result { background: #f8eff1; padding: clamp(1rem, 3vw, 1.75rem); border-top: 3px solid var(--wine); min-width: 0; }
.quote-result h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); color: var(--wine); }
.quote-status { color: var(--muted); margin: .5rem 0; }
.quote-status:empty { margin: 0; }
.quote-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.quote-totals dd { color: var(--wine); font: 400 clamp(1.75rem, 4.1vw, 3.1rem)/1.15 "Botanical Display", Georgia, serif; margin: .25rem 0 0; overflow-wrap: anywhere; }
.quote-totals { display: grid; gap: .5rem; margin: 1rem 0; }
.quote-totals > div { padding: .65rem 0; border-block-start: 1px solid #d6c6c9; }
.quote-totals dt { font-size: .9rem; color: var(--muted); }
.quote-contact-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.15rem; align-items: center; margin-top: 1.25rem; }
.quote-contact-actions [hidden] { display: none; }
.quote-lines { margin: 1rem 0 1.15rem; border-top: 1px solid #d6c6c9; }
.quote-lines > div { display: flex; justify-content: space-between; gap: .65rem; padding: .55rem 0; border-bottom: 1px solid #d6c6c9; font-size: .93rem; }
.quote-lines dd { margin: 0; flex-shrink: 0; text-align: right; font-variant-numeric: tabular-nums; }
.quote-terms { margin-top: .9rem; }
.quote-owner { margin-top: .7rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.quote-owner summary { cursor: pointer; color: var(--wine); font-weight: 600; }
.quote-owner label { display: block; margin-top: .8rem; }
.quote-owner .quote-hint { margin-top: .45rem; }
.quote-owner .quote-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.quote-owner textarea { margin-top: .6rem; width: 100%; min-height: 7rem; font: inherit; padding: .65rem; }
.quote-owner [aria-disabled=true] { opacity: .6; pointer-events: none; }
.quote-owner-feedback { margin: .55rem 0 0; font-size: .9rem; }
.quote-mobile { display: none; }
@media (max-width: 760px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-mobile:not([hidden]) { display: block; position: sticky; top: .5rem; z-index: 1; margin: 0 0 1.1rem; }
  .quote-mobile a { display: block; padding: .55rem .75rem; background: #f8eff1; border: 1px solid #d6c6c9; border-radius: .25rem; }
  #quote-title { scroll-margin-top: 4rem; }
}
@media (max-width: 360px) { .quote-quantities { gap: .6rem; } .quote-choice { gap: .5rem; } }
@media print {
  .quote-main { padding: 0; }
  .quote-layout { display: block; }
  .quote-heading, .quote-mobile, .quote-form, .quote-contact-actions, .quote-owner, .world-header, .world-footer { display: none; }
  .quote-result { border: 0; background: #fff; padding: 0; }
}
