/* Wedding quote builder */
.quote { padding-top: clamp(1.5rem, 4vw, 3rem); }
.quote__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) { .quote__grid { grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 1fr); gap: 5rem; } }
.qstep { border: 0; border-top: 1px solid var(--ink); margin: 0 0 3.5rem; padding: 1.5rem 0 0; min-width: 0; }
.qstep legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font: 400 var(--step-2)/1.1 var(--serif); color: var(--ink); display: flex; align-items: baseline; gap: .6em; }
.qstep legend + * { clear: both; }
.qstep__n { font: italic 300 1em/1 var(--serif); color: var(--tan-deep); min-width: 1ch; }
.qstep__help { max-width: 40em; margin-bottom: 1.4rem; font-size: .97rem; }
.qstep__result { margin: 1rem 0; font: 400 var(--step-1)/1.4 var(--serif); color: var(--ink); min-height: 1.4em; }
.qstep__result strong { color: var(--tan-deep); font-weight: 500; }
.qstep .field { max-width: 22rem; }
.qstep--save .field { max-width: none; }

.choice { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
@media (min-width: 40rem) { .choice--2 { grid-template-columns: 1fr 1fr; } .choice--3 { grid-template-columns: repeat(3, 1fr); } }
.choice__item { position: relative; display: block; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice__item > span { display: block; height: 100%; padding: 1.1rem 1.2rem; border: 1px solid rgba(18,48,59,.3); border-radius: .35rem; transition: border-color .2s, background-color .2s, color .2s; }
.choice__item strong { display: block; font: 500 1.35rem/1.2 var(--serif); color: var(--ink); }
.choice__item small { display: block; margin-top: .3rem; font-size: .9rem; line-height: 1.45; }
.choice__item small b { font-weight: 500; color: var(--tan-deep); }
.choice__item input:checked + span { background: var(--teal); border-color: var(--teal); color: rgba(255,255,255,.88); }
.choice__item input:checked + span strong { color: var(--white); }
.choice__item input:checked + span small b { color: var(--gold); }
.choice__item input:focus-visible + span { outline: 2px solid var(--tan); outline-offset: 3px; }

.guests__row { display: grid; grid-template-columns: 1fr 6rem; gap: 1rem; align-items: center; }
.guests { max-width: 32rem !important; }
.guests input[type=range] { width: 100%; accent-color: var(--teal); min-height: 2.75rem; padding: 0; border: 0; }
.guests input[type=number] { text-align: center; font: 500 1.4rem/1 var(--serif) !important; }

.checks { display: grid; }
.check { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check:first-child { border-top: 1px solid var(--line); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; accent-color: var(--teal); }
.check strong, .stepper strong { display: block; font-weight: 500; color: var(--ink); }
.check small, .stepper small { display: block; font-size: .88rem; line-height: 1.45; }
.check > b { text-align: right; font-weight: 500; color: var(--ink); white-space: nowrap; }
.check > b small { font-weight: 300; }
.steppers { display: grid; }
.stepper { display: grid; grid-template-columns: 1fr 5.5rem; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.stepper:first-child { border-top: 1px solid var(--line); }
.stepper input { width: 100%; min-height: 3rem; text-align: center; border: 1px solid rgba(18,48,59,.3); border-radius: .35rem; font: 500 1.1rem/1 var(--sans); color: var(--ink); background: var(--white); }
.stepper input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

.qs { background: var(--teal-deep); color: rgba(255,255,255,.82); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: .35rem; }
@media (min-width: 64rem) { .qs:not(.qs--page) { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100svh - var(--header-h) - 3rem); overflow-y: auto; } }
.qs__title { font: 400 var(--step-2)/1.1 var(--serif); color: var(--white); margin-bottom: 1rem; }
.qs__when { font: italic 300 1.25rem/1.4 var(--serif); color: var(--gold); margin-bottom: 1rem; }
.qs__lines { list-style: none; padding: 0; margin: 0; }
.qs__lines li, .qs__total { display: flex; justify-content: space-between; gap: 1.25rem; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.qs__lines strong { display: block; font-weight: 400; color: var(--white); font-size: .97rem; }
.qs small { display: block; font-size: .8rem; line-height: 1.4; opacity: .75; font-weight: 300; }
.qs__lines b { font-weight: 400; color: var(--white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.qs__total { border-top: 1px solid var(--gold); margin-top: .3rem; padding-top: 1.1rem; align-items: baseline; color: var(--white); }
.qs__total b { font: 400 clamp(2rem, 1.5rem + 1.6vw, 2.9rem)/1 var(--serif); color: var(--gold); white-space: nowrap; }
.qs__per, .qs__small, .qs__note, .qs__empty { font-size: .88rem; margin-top: .6rem; }
.qs__note { color: var(--gold); }
.qs__empty { font: italic 300 1.3rem/1.4 var(--serif); color: var(--white); }
.qs__save { --bg: var(--white); --fg: var(--teal-deep); --bd: var(--white); width: 100%; margin-top: 1.4rem; }
.qs__save:hover { --bg: var(--gold); --bd: var(--gold); }
.qs.is-loading [data-summary] { opacity: .55; transition: opacity .2s; }

/* Mobile: a compact total stays in reach */
.qbar { display: none; }
@media (max-width: 63.99rem) {
  .qbar { position: fixed; inset: auto 0 0 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem var(--gutter); background: var(--teal-deep); color: var(--white); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.6); }
  .qbar b { font: 400 1.6rem/1 var(--serif); color: var(--gold); }
  .qbar small { display: block; font-size: .75rem; opacity: .8; }
  .qbar a { color: var(--white); font-size: .9rem; }
  body:has(.qbar) .site-footer { padding-bottom: 6rem; }
}
@media print {
  .no-print, .qbar { display: none !important; }
  .qs { background: none; color: #000; padding: 0; }
  .qs * { color: #000 !important; border-color: #999 !important; }
}

/* ---------- Availability calendar ---------- */
.cal { max-width: 34rem; margin: 1.25rem 0; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.cal__title { font: 400 var(--step-2)/1.1 var(--serif); color: var(--ink); }
.cal__nav { min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; font-size: .9rem; color: var(--ink); }
.cal__nav:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; }
.cal__dow span { text-align: center; font-size: .78rem; padding-bottom: .3rem; }
.cal__grid { min-height: 17rem; align-content: start; transition: opacity .2s; }
.cal.is-loading .cal__grid { opacity: .4; }
.cal__day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 3.4rem; padding: .25rem 0; border: 1px solid var(--line); border-radius: .3rem; background: var(--white); color: var(--ink); font: 500 1rem/1.1 var(--sans); cursor: pointer; }
.cal__day small { font: 400 .68rem/1 var(--sans); color: var(--text); font-variant-numeric: tabular-nums; }
.cal__day:hover:not(:disabled) { border-color: var(--teal); }
.cal__day--low { border-color: var(--gold); background: #fbf8ef; }
.cal__day[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.cal__day[aria-pressed="true"] small { color: var(--gold); }
.cal__day:disabled { cursor: not-allowed; }
.cal__day--closed { border-color: transparent; background: none; color: rgba(18,48,59,.3); }
.cal__day--booked { border-color: transparent; background: var(--mist); color: rgba(18,48,59,.45); text-decoration: line-through; }
.cal__day--booked small { text-decoration: none; }
.cal__key { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .82rem; }
.cal__key li { display: flex; align-items: center; gap: .45rem; }
.cal__swatch { width: .9rem; height: .9rem; border-radius: .2rem; border: 1px solid var(--line); background: var(--white); }
.cal__swatch--low { border-color: var(--gold); background: #fbf8ef; }
.cal__swatch--booked { border-color: transparent; background: var(--mist); }
@media (max-width: 26rem) { .cal__day { min-height: 3rem; font-size: .92rem; } .cal__day small { font-size: .6rem; } }
