/* Quotation only: compact, keyboard-friendly progressive form. */
html:has(.vr-quotation-page) { scroll-behavior: auto; scroll-padding-top: 0; }
body.admin-bar:has(.vr-quotation-page) .vr-site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar:has(.vr-quotation-page) .vr-site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar:has(.vr-quotation-page) .vr-site-header { top: 0; } }
.vr-quotation-page { max-width: 1120px; }
.vr-quote-header { max-width: 760px; margin: 1rem auto 2rem; text-align: center; }
.vr-quote-header h1 { color: var(--vr-wine); font-family: Georgia,serif; font-size: clamp(2.1rem,4vw,3.5rem); line-height: 1.12; margin-block: .7rem 1rem; }
.vr-quote-header p { line-height: 1.7; }
.vr-quotation-page .vr-quotation-form { background: #fffdf9; border: 1px solid #dfd0c2; border-radius: 1.25rem; padding: clamp(1rem,3vw,2.5rem); gap: .75rem; }
.vr-quotation-page [hidden] { display: none !important; }
.vr-quote-progress { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; gap: .65rem; padding: 0; margin: 0; counter-reset: step; }
.vr-quote-progress li { border-top: 3px solid #c6b5a8; padding-top: .7rem; font-size: .9rem; color: #55483f; counter-increment: step; }
.vr-quote-progress li::before { content: counter(step) '. '; }
.vr-quote-progress [aria-current] { color: var(--vr-wine); border-color: var(--vr-wine); font-weight: 700; }
.vr-quote-step { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 1.25rem; min-width: 0; }
.vr-quote-step > :is(h2,p,fieldset,section,button,.vr-honeypot), .vr-quote-step > .vr-form-field:has(textarea), .vr-quote-step > .vr-form-field:has(#vr-q-consent) { grid-column: 1 / -1; }
.vr-quote-step > h2 { font-family: Georgia,serif; color: var(--vr-wine); font-size: clamp(1.5rem,3vw,2rem); margin: .3rem 0 0; scroll-margin-top: 11rem; }
.vr-quote-step > p { margin: 0 0 .25rem; }
.vr-quote-step label { display: block; margin-bottom: .35rem; }
.vr-quotation-page .vr-field-help { margin: .4rem 0 0; font-size: .88rem; color: #55483f; line-height: 1.5; }
.vr-quotation-page .vr-form-field > input, .vr-quotation-page .vr-form-field > select { min-height: 48px; border: 1px solid #86766c; }
.vr-quote-required,.vr-quote-live { margin: .3rem 0; font-size: .9rem; }
.vr-quote-live { color: var(--vr-wine); font-weight: 700; }
.vr-quote-step fieldset { border-color: #dfd0c2; }
.vr-quote-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin-top: .75rem; }
.vr-quote-step .vr-quote-card { position: relative; display: flex; flex-direction: column; border: 2px solid #dfd0c2; border-radius: .7rem; overflow: hidden; cursor: pointer; margin: 0; background: #fff; }
.vr-quote-card:has(input:checked) { border-color: var(--vr-wine); background: #f6e9ec; }
.vr-quote-card input { position: absolute; top: .6rem; left: .6rem; z-index: 1; width: 24px; height: 24px; accent-color: var(--vr-wine); }
.vr-quote-card img { width: 100%; height: 150px; object-fit: cover; object-position: center; }
.vr-quote-card__name { display: block; padding: .85rem; font-weight: 700; line-height: 1.4; }
.vr-quote-card__description { display: block; padding: 0 .85rem .85rem; font-size: .85rem; line-height: 1.5; color: #55483f; }
.vr-quote-card:not(:has(img)) .vr-quote-card__name { padding-left: 2.7rem; min-height: 60px; }
.vr-quote-card:focus-within { outline: 3px solid #762b40; outline-offset: 3px; }
.vr-quote-controls { display: flex; justify-content: space-between; gap: 1rem; }
.vr-quote-controls [data-next] { margin-left: auto; }
.vr-quote-edit { color: var(--vr-wine); background: transparent; border: 0; text-decoration: underline; font: inherit; padding: .6rem .25rem; cursor: pointer; min-height: 44px; }
.vr-quote-review { background: #f1e9de; padding: 1.2rem; border-radius: .75rem; }
.vr-quote-review h3 { margin-top: 0; }
.vr-quote-review dl { display: grid; grid-template-columns: minmax(110px,1fr) 2fr; gap: .4rem 1rem; margin: 0; }
.vr-quote-review dt { font-weight: 700; }
.vr-quote-review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.vr-quote-step .vr-choice { display: flex; }
.vr-quote-notice { border-left: 3px solid var(--vr-wine); padding-left: 1rem; font-size: .9rem; }
.vr-quotation-page :is(input,select,textarea,button,a):focus-visible { outline: 3px solid #762b40; outline-offset: 3px; }
.vr-quotation-page [aria-invalid=true] { scroll-margin-top: 11rem; }
.vr-quotation-page .vr-form-feedback { margin: 1rem 0; overflow-wrap: anywhere; }
.vr-quotation-page button:disabled { opacity: .7; cursor: wait; }
@media (max-width: 640px) {
 .vr-quote-step { grid-template-columns: minmax(0,1fr); }
 .vr-quote-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .vr-quote-card img { height: 120px; }
 .vr-quote-card__name { font-size: .9rem; padding: .65rem; }
 .vr-quote-review dl { grid-template-columns: 1fr; }
 .vr-quote-review dd { margin-bottom: .65rem; }
 .vr-quote-progress li { font-size: .8rem; }
 .vr-quote-controls button { min-width: 100px; }
 .vr-quote-step > h2, .vr-quotation-page [aria-invalid=true] { scroll-margin-top: 8rem; }
}
@media (prefers-reduced-motion: no-preference) {
 .vr-quote-card { transition: border-color .2s, background-color .2s; }
}
