/* Booking page */
.booking { padding-block: var(--space-5) var(--space-7); }
.booking__head { max-width: 44rem; margin-bottom: var(--space-5); }
.booking__head h1 { color: var(--espresso); }
.booking__head p { margin-top: var(--space-2); font-size: var(--step-1); line-height: 1.45; color: var(--brown-soft); }

/* The four steps in order, with "Your booking" (total, how to pay, the button) kept in view beside them.
   On phones it comes last, and a slim bar at the bottom shows the total until it's reached. */
.booking__grid {
  display: grid; gap: var(--space-3); align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem);
}
.booking__steps { display: grid; gap: var(--space-3); min-width: 0; }
.booking__review {
  position: sticky; top: calc(var(--header-h) + var(--banner-h, 0px) + 1rem);
  max-height: calc(100dvh - var(--header-h) - var(--banner-h, 0px) - 2rem); overflow-y: auto;
}
.services__hint { margin: 0 0 .2rem; }
@media (max-width: 960px) {
  .booking__grid { grid-template-columns: minmax(0, 1fr); }
  .booking__review { position: static; max-height: none; overflow: visible; }
}

.total-bar { display: none; }
@media (max-width: 960px) {
  .total-bar:not([hidden]) {
    position: fixed; z-index: 40; inset: auto 0 0 0;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
    padding: .7rem max(var(--gutter), env(safe-area-inset-right)) max(.7rem, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgb(var(--ink-rgb) / .12);
  }
  .total-bar__total { margin: 0; display: grid; line-height: 1.2; }
  .total-bar__label { font-size: var(--step--1); color: var(--brown-soft); }
  .total-bar__total strong { font-size: var(--step-1); font-variant-numeric: tabular-nums; color: var(--espresso); }
  .total-bar__go { flex: none; }
  /* The chat button moves up out of the bar's way, and the page ends above the bar. */
  body.has-total-bar .chat-launch { bottom: calc(max(.7rem, env(safe-area-inset-bottom)) + 4.6rem); }
  body.has-total-bar .site-footer { padding-bottom: 5rem; }
}

.step {
  margin: 0; min-width: 0;
  padding: var(--space-4); border: 0; border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgb(var(--ink-rgb) / .08);
  display: grid; gap: var(--space-3);
}
.step__title {
  display: flex; align-items: center; gap: .65rem; padding: 0; float: left; width: 100%;
  font-size: var(--step-2); font-weight: 800; font-variation-settings: "opsz" 96, "wdth" 75; color: var(--espresso);
}
.step__title + * { clear: both; }
.step__num {
  display: inline-grid; place-items: center; flex: none;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--espresso); color: var(--on-ink);
  font-size: 1rem; font-weight: 700; font-variation-settings: "wdth" 100;
}
.step__empty { color: var(--brown-soft); margin: 0; }

/* Calendar */
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.cal__month { font-size: var(--step-1); font-weight: 700; }
.cal__nav {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1.5px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
}
.cal__nav:hover:not([disabled]) { border-color: var(--brown); }
.cal__nav[disabled] { opacity: .35; cursor: not-allowed; }
.cal__nav svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__weekdays, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.cal__weekdays span { text-align: center; font-size: var(--step--1); font-weight: 600; color: var(--brown-soft); padding-bottom: .25rem; }
.cal__day {
  position: relative; aspect-ratio: 1 / 1; min-height: 2.75rem;
  display: grid; place-items: center; align-content: center; gap: .1rem;
  border: 1.5px solid transparent; border-radius: 8px;
  background: var(--plaster); cursor: pointer;
  font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .15s, border-color .15s, color .15s;
}
.cal__day:hover:not([disabled]) { border-color: var(--brown); }
.cal__day .dot { position: static; }
.cal__day[disabled] { background: transparent; color: rgb(var(--ink-rgb) / .45); cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.cal__day[aria-pressed="true"] { background: var(--espresso); color: var(--on-ink); border-color: var(--espresso); }
.cal__day[aria-pressed="true"] .dot--open { background: var(--bulb); }
.cal__day--today::after { content: ""; position: absolute; inset: auto 30% 6px; height: 2px; border-radius: 1px; background: var(--oak); }
.cal__blank { aspect-ratio: 1 / 1; }
.cal.is-loading .cal__grid { opacity: .5; }
.cal__ghost { aspect-ratio: 1 / 1; min-height: 2.75rem; display: grid; place-items: center; border-radius: 8px;
  background: var(--plaster); color: var(--brown-soft); font-weight: 600; font-variant-numeric: tabular-nums; }

.dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; }
.dot--open { background: var(--ok); }
.dot--request { border: 1.5px solid var(--oak-deep); }
.dot--off { background: rgb(var(--ink-rgb) / .25); }
.cal__legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: 0; margin: var(--space-3) 0 0; font-size: var(--step--1); color: var(--brown-soft); }
.cal__legend li { display: inline-flex; align-items: center; gap: .45rem; }

/* Times: "Pick a time slot" or "Request my own time", then a compact grid of slots */
.time-mode { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; margin: 0 0 var(--space-2);
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--plaster); }
.time-mode__opt { position: relative; display: flex; align-items: center; justify-content: center; min-height: 2.6rem; padding: .35rem .75rem;
  border-radius: 999px; font-weight: 650; font-size: var(--step--1); text-align: center; line-height: 1.2; cursor: pointer; transition: background-color .15s; }
.time-mode__opt input { position: absolute; opacity: 0; pointer-events: none; }
.time-mode__opt:has(input:checked) { background: var(--espresso); color: var(--on-ink); }
.time-mode__opt:has(input:focus-visible) { outline: 3px solid var(--oak-deep); outline-offset: 2px; }
.time-mode__opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.time-pane[hidden] { display: none; }
.times__zone { margin: 0 0 .6rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr)); gap: .45rem; }
.slot-grid--ranges { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.slot { position: relative; display: grid; place-content: center; justify-items: center; min-height: 2.75rem; padding: .4rem .5rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--plaster); cursor: pointer; text-align: center;
  font-weight: 650; font-size: var(--step--1); font-variant-numeric: tabular-nums; line-height: 1.2; transition: border-color .15s, background-color .15s; }
.slot:hover { border-color: var(--brown); }
.slot:has(input:checked) { background: var(--espresso); border-color: var(--espresso); color: var(--on-ink); }
.slot:has(input:focus-visible) { outline: 3px solid var(--oak-deep); outline-offset: 2px; }
.slot.is-taken { cursor: not-allowed; background: transparent; border-style: dashed; color: rgb(var(--ink-rgb) / .45); }
.slot.is-taken .slot__time { text-decoration: line-through; }
.slot__note { font-size: .68rem; font-weight: 600; }
.times__picked { margin: .6rem 0 0; min-height: 1.3em; font-weight: 650; }
.custom-time { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2); }
.custom-time__hint { grid-column: 1 / -1; margin: 0; }
@media (max-width: 520px) {
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
  .slot-grid--ranges { grid-template-columns: 1fr; }
  .slot { min-height: 2.5rem; padding-inline: .25rem; }
}

/* Details */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2); }
@media (max-width: 520px) { .field-row, .custom-time { grid-template-columns: 1fr; } }
.services { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.services legend { margin-bottom: .45rem; }
.check {
  display: flex; align-items: center; gap: .7rem; min-height: 2.875rem; padding: .5rem .9rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--plaster); cursor: pointer; font-weight: 500;
}
.check:hover { border-color: var(--brown); }
.check input { accent-color: var(--espresso); width: 1.15rem; height: 1.15rem; margin: 0; }
.check:has(input:checked) { border-color: var(--espresso); background: var(--selected); }
.check:has(input:focus-visible) { outline: 3px solid var(--oak-deep); outline-offset: 2px; }
.services[aria-invalid="true"] .check { border-color: rgb(162 59 42 / .6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { padding: var(--space-2) var(--space-3); border-radius: 8px; background: var(--plaster); border-left: 3px solid var(--oak); }
.summary__line { margin: 0; }
.summary strong { font-weight: 700; }
.booking__submit { width: 100%; }
.booking__submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.booking__fineprint { margin: 0; text-align: center; }
[data-error-summary] { margin-bottom: var(--space-3); }
[data-error-summary] ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* Confirmation */
.confirmation { max-width: 40rem; margin: 0 auto; text-align: center; padding: var(--space-5) var(--space-3); background: var(--paper); border-radius: 12px; }
.confirmation:focus { outline: none; }
.confirmation__logo { width: 9rem; margin: 0 auto var(--space-3); }
.confirmation h2 { color: var(--espresso); margin-bottom: var(--space-2); }
.confirmation > p { color: var(--brown-soft); font-size: var(--step-1); }
.confirmation__ref { margin: var(--space-4) 0; text-align: left; border-top: 1px solid var(--line); }
.confirmation__ref div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-2); padding: .75rem 0; border-bottom: 1px solid var(--line); }
.confirmation__ref dt { font-weight: 600; }
.confirmation__ref dd { margin: 0; }

.site-footer--slim { padding-top: 0; }

/* Package choice under each service */
.service-pick { display: grid; gap: .4rem; }
.pkg-options { margin: 0 0 .35rem 1.6rem; padding-left: .9rem; border-left: 2px solid var(--line); display: grid; gap: .4rem; }
.pkg-options[hidden] { display: none; }
.pkg-options__label { margin: 0; font-size: var(--step--1); font-weight: 600; color: var(--brown-soft); }
.pkg-options__none { margin: 0; font-size: var(--step--1); color: var(--brown-soft); }
/* A service's own add-ons, right under its packages, lined up with them. */
.svc-addons { margin: 0 0 .35rem 1.6rem; padding-left: .9rem; border-left: 2px solid var(--line); }
.svc-addons[hidden] { display: none; }
/* Phones: less indent, and no second box inside the service's line, so the add-on cards keep their width. */
@media (max-width: 520px) {
  .svc-addons, .pkg-options { margin-left: .35rem; padding-left: .65rem; }
  .svc-addons .addon-svc { padding: .35rem 0 0; border: 0; }
}
.pkg-list { display: grid; gap: .4rem; }
.pkg {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .15rem .7rem;
  padding: .6rem .85rem; min-height: 2.875rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer;
}
.pkg:hover { border-color: var(--brown); }
.pkg input { accent-color: var(--espresso); width: 1.1rem; height: 1.1rem; margin: 0; grid-row: span 2; }
.pkg:has(input:checked) { border-color: var(--espresso); background: var(--selected); }
.pkg:has(input:focus-visible) { outline: 3px solid var(--oak-deep); outline-offset: 2px; }
.pkg__name { font-weight: 600; display: flex; flex-wrap: wrap; gap: .1rem .5rem; align-items: baseline; }
.pkg__hours { font-weight: 400; font-size: var(--step--1); color: var(--brown-soft); }
.pkg__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.pkg__desc { grid-column: 2 / -1; font-size: var(--step--1); color: var(--brown-soft); }
/* What a package includes, and the free picks (backdrop, color) under a package or add-on. */
.pkg-item { display: grid; gap: .35rem; }
.pkg__includes { margin: 0 0 .2rem .9rem; font-size: var(--step--1); color: var(--brown-soft); }
.pkg__includes summary { cursor: pointer; font-weight: 600; color: var(--brown); }
.pkg__includes ul { margin: .35rem 0 0; padding-left: 1.1rem; display: grid; gap: .15rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 0 .2rem .9rem; }
.choices[hidden] { display: none; }
.choices__field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices__field legend { padding: 0; margin-bottom: .35rem; font-size: var(--step--1); font-weight: 600; }
.choice-opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.choice-opt { position: relative; display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .35rem .85rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-size: var(--step--1); font-weight: 600; }
.choice-opt:hover { border-color: var(--brown); }
.choice-opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice-opt:has(input:checked) { border-color: var(--espresso); background: var(--espresso); color: var(--on-ink); }
.choice-opt:has(input:focus-visible) { outline: 3px solid var(--oak-deep); outline-offset: 2px; }
/* Choices with pictures: a row of picture tiles, the picked one outlined with a check. */
.choices__field--tiles { flex-basis: 100%; }
.choice-tiles { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-tile { position: relative; display: grid; align-content: start; gap: .3rem; width: 5.5rem; padding: .3rem; border: 2px solid var(--line); border-radius: 10px;
  background: var(--paper); cursor: pointer; font-size: var(--step--1); font-weight: 600; line-height: 1.2; text-align: center; color: var(--brown); }
.choice-tile:hover { border-color: var(--brown); }
.choice-tile input { position: absolute; opacity: 0; pointer-events: none; }
.choice-tile img, .choice-tile__blank { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--plaster); }
.choice-tile__pic { position: relative; display: block; }
.choice-tile__zoom { position: absolute; right: .2rem; bottom: .2rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: 0;
  border: 1px solid rgb(246 240 231 / .5); border-radius: 50%; background: rgb(20 17 15 / .72); color: #F6F0E7; cursor: zoom-in; }
.choice-tile__zoom:hover { background: rgb(20 17 15 / .9); }
.choice-tile__zoom svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.choices__hint { display: block; margin-top: .1rem; font-weight: 400; color: var(--brown-soft); }
/* A pick that an added custom backdrop replaces: its options step aside for a short note */
.choices__waived { margin: 0; font-size: var(--step--1); color: var(--brown-soft); }
.choices__waived[hidden] { display: none; }
.choices__field.is-waived .choice-tiles, .choices__field.is-waived .choice-opts,
.choices__field.is-waived .choices__hint, .choices__field.is-waived .req { display: none; }
.choice-tile__name { padding: 0 .1rem .1rem; }
.choice-tile:has(input:checked) { border-color: var(--espresso); box-shadow: 0 0 0 2px var(--espresso); }
.choice-tile:has(input:checked)::after { content: "✓"; position: absolute; top: .45rem; right: .45rem; display: grid; place-items: center;
  width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--espresso); color: var(--on-ink); font-size: .8rem; }
.choice-tile:has(input:focus-visible) { outline: 3px solid var(--oak-deep); outline-offset: 2px; }
.addon__info .choices { margin: .4rem 0 0; }
.sum-picks { color: var(--brown-soft); font-weight: 400; }

/* Deposit or pay in full, chosen before paying. Paying in full is shown as the deal (green, like "You save"). */
.pay-choice { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.pay-choice[hidden] { display: none; }
.pay-choice__title { font-weight: 700; padding: 0; margin-bottom: .5rem; }
.pay-choice__tax { display: block; font-weight: 500; font-size: var(--step--1); color: var(--brown-soft); }
.pkg--deal, .pkg--deal:hover, .pkg--deal:has(input:checked) { border-color: var(--ok); background: var(--tint-ok); }
.pkg--deal:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ok); }
.pkg--deal input { accent-color: var(--ok); }
.pkg--deal .pkg__price, .pkg--deal .pkg__desc { color: var(--ok); }
.pkg--deal .was { color: var(--brown-soft); font-weight: 500; font-size: .85em; }
.deal-tag {
  display: inline-block; padding: .1rem .5rem; border-radius: 999px;
  background: var(--ok-fill); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.summary__total { display: flex; justify-content: space-between; gap: 1rem; margin: .6rem 0 0; padding-top: .6rem; border-top: 1px solid var(--line); }
.summary__total strong { font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.summary__note { margin: .35rem 0 0; font-size: var(--step--1); color: var(--brown-soft); }

/* Sale prices */
.was { color: var(--brown-soft); text-decoration-thickness: 1.5px; font-weight: 500; }
.now { color: var(--oak-deep); font-weight: 800; }
.sale-tag { display: inline-block; padding: .05rem .45rem; border-radius: 999px; background: var(--danger-fill); color: #fff; font-size: .72rem; font-weight: 700; vertical-align: middle; }

/* Add-ons */
.addons { display: grid; gap: var(--space-2); }
.addons__title { font-size: var(--step-1); font-weight: 700; }
.addons__lede { margin: -.4rem 0 0; }
/* One panel per chosen service, so each service's extras sit together */
.addon-svc { display: grid; gap: var(--space-2); padding: var(--space-2); border: 1.5px solid var(--line); border-radius: 14px; }
.addon-svc[hidden] { display: none; }
.addon-svc__title { margin: 0; font-size: var(--step-0); font-weight: 700; }
.addon-group { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.addon-group legend { font-weight: 600; font-size: var(--step--1); color: var(--oak-deep); margin-bottom: .4rem; }
.addon {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .75rem; align-items: center;
  padding: .6rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--plaster);
}
.addon:has(input:checked), .addon:has(.qty__input:not([value="0"])) { border-color: var(--espresso); }
.addon__photo { position: relative; width: 4.5rem; aspect-ratio: 1; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.addon__photo img { width: 100%; height: 100%; object-fit: cover; }
.addon__photo--none { cursor: default; }
.addon__enlarge { position: absolute; right: .25rem; bottom: .25rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgb(43 35 30 / .7); display: grid; place-items: center; }
.addon__enlarge svg { width: .8rem; height: .8rem; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
/* An add-on with a video: a play button over its picture, and the pointing hand instead of the magnifier. */
.addon__photo--video { cursor: pointer; }
.addon__photo video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.addon__play { position: absolute; inset: 0; margin: auto; width: 2rem; height: 2rem; border-radius: 50%; background: rgb(43 35 30 / .72); display: grid; place-items: center; }
.addon__play svg { width: .95rem; height: .95rem; fill: #fff; margin-left: .12rem; }
.addon__photo:hover .addon__play { background: rgb(43 35 30 / .9); }
.addon__info p { margin: 0; }
.addon__name { font-weight: 600; }
.addon__desc { font-size: var(--step--1); color: var(--brown-soft); }
.addon__price { font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; }
.addon__pick { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 .8rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-weight: 600; }
.addon__pick input { accent-color: var(--espresso); width: 1.1rem; height: 1.1rem; margin: 0; }
.addon__pick:has(input:checked) { background: var(--espresso); color: var(--on-ink); border-color: var(--espresso); }
.addon__pick:has(input:focus-visible) { outline: 3px solid var(--oak-deep); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty__btn { width: 2.75rem; height: 2.75rem; border: 0; background: none; font-size: 1.2rem; font-weight: 700; cursor: pointer; border-radius: 50%; }
.qty__btn:hover { background: rgb(var(--ink-rgb) / .08); }
.qty__input { width: 2.6rem; text-align: center; border: 0; background: none; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 520px) {
  .addon { grid-template-columns: 4rem minmax(0, 1fr); }
  .addon__photo { width: 4rem; }
  .addon > .qty, .addon > .addon__pick { grid-column: 2; justify-self: start; }
}

/* Coupon */
.coupon__row { display: flex; gap: .5rem; }
.coupon__row input { text-transform: uppercase; }
.coupon__msg { margin: 0; font-size: var(--step--1); min-height: 1.2em; }
.coupon__msg.is-ok { color: var(--ok); font-weight: 600; }
.coupon__msg.is-error { color: var(--danger); font-weight: 600; }

/* Itemised summary */
.sum { margin: .6rem 0 0; padding-top: .5rem; border-top: 1px solid var(--line); display: grid; gap: .25rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); }
.sum-row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-row.is-saving dd { color: var(--ok); font-weight: 700; }
.sum-row.is-total { margin-top: .3rem; padding-top: .4rem; border-top: 1px solid var(--line); font-size: var(--step-0); font-weight: 800; color: var(--espresso); }
.summary__save { margin: .2rem 0 0; color: var(--ok); font-weight: 700; font-size: var(--step--1); text-align: right; }

/* Policy */
.policy-box { display: grid; gap: .6rem; padding: var(--space-2); border-radius: 8px; background: var(--plaster); }
.policy-box__details summary { cursor: pointer; font-weight: 600; }
.policy-text { max-height: 18rem; overflow: auto; margin-top: .6rem; padding: .75rem 1rem; background: var(--paper); border-radius: 6px; font-size: var(--step--1); line-height: 1.55; }
.policy-text h3 { font-size: var(--step-0); margin-bottom: .5rem; }
.policy-text h4 { font-size: var(--step--1); margin: .9rem 0 .25rem; }
.policy-text p { margin: 0 0 .5rem; }
.policy-box__agree { align-items: flex-start; background: var(--paper); }
.policy-box__agree input { margin-top: .2rem; }
.policy-box__agree[aria-invalid="true"], #agree[aria-invalid="true"] { outline: 2px solid var(--danger); }

/* Add-on photo viewer with zoom */
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #14110F; color: #F6F0E7; }
.zoom::backdrop { background: #14110F; }
.zoom[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
.zoom :focus-visible { outline-color: var(--bulb); }
.zoom__bar { display: flex; align-items: center; gap: .5rem; padding: .6rem var(--gutter); }
.zoom__title { margin: 0 auto 0 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 34rem) {
  .zoom__bar { flex-wrap: wrap; }
  .zoom__title { flex-basis: 100%; }
}
.zoom__btn { white-space: nowrap; min-height: 2.5rem; padding: .35rem .9rem; border: 1px solid rgb(246 240 231 / .3); border-radius: 999px; background: none; color: inherit; font-weight: 600; cursor: pointer; }
.zoom__btn:hover { background: rgb(246 240 231 / .1); }
.zoom__close { width: 2.5rem; padding: 0; display: grid; place-items: center; }
.zoom__close svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.zoom__stage { display: grid; place-items: center; overflow: hidden; padding: 0 var(--gutter) var(--space-3); }
.zoom__stage img { max-width: 100%; max-height: calc(100dvh - 5rem); object-fit: contain; cursor: zoom-in; }
.zoom__stage video { max-width: 100%; max-height: calc(100dvh - 5rem); background: #000; }
.zoom__stage [hidden] { display: none; }
.zoom__stage { position: relative; }
.zoom__pick { border-color: transparent; background: var(--bulb); color: #14110F; }
.zoom__pick:hover { background: var(--bulb); filter: brightness(1.08); }
.zoom__pick[hidden], .zoom__nav[hidden] { display: none; }
.zoom__nav { position: absolute; z-index: 1; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  border: 1px solid rgb(246 240 231 / .35); border-radius: 50%; background: rgb(20 17 15 / .65); color: #F6F0E7; cursor: pointer; }
.zoom__nav:hover { background: rgb(20 17 15 / .9); }
.zoom__nav svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.zoom__nav--prev { left: max(.5rem, var(--gutter)); }
.zoom__nav--next { right: max(.5rem, var(--gutter)); }
.zoom.is-zoomed .zoom__nav { display: none; }
.zoom.is-zoomed .zoom__stage { place-items: start; overflow: auto; padding: 0; cursor: grab; }
.zoom.is-zoomed .zoom__stage img { max-width: none; max-height: none; width: auto; cursor: zoom-out; }

/* Public policy page */
.policy-page { padding-block: var(--space-5) var(--space-7); max-width: 46rem; }
.policy-text--page { max-height: none; overflow: visible; margin: 0; padding: 0; background: none; font-size: var(--step-0); line-height: 1.65; }
.policy-text--page h1 { color: var(--espresso); margin-bottom: var(--space-3); }
.policy-text--page h2 { font-size: var(--step-1); margin: var(--space-4) 0 .4rem; color: var(--espresso); }

/* Venue: name, street (with suggestions), then city / state / ZIP on one row. */
.venue { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--space-2); }
.venue legend { padding: 0; margin-bottom: .1rem; font-weight: 700; }
.venue__street { position: relative; }
.venue__row { display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem 6.5rem; gap: var(--space-2); }
.venue .hint, .venue .field-error { margin: 0; }
.addr-suggest { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: .25rem 0 0; padding: .25rem; list-style: none;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgb(0 0 0 / .18); }
.addr-suggest__item { padding: .55rem .7rem; border-radius: calc(var(--radius) - 2px); cursor: pointer; line-height: 1.35; }
.addr-suggest__item:hover, .addr-suggest__item[aria-selected="true"] { background: var(--selected); }
.addr-suggest__item .hint { font-size: inherit; }
.field--guests input { max-width: 9rem; }
@media (max-width: 480px) {
  .venue__row { grid-template-columns: minmax(0, 1fr) 4.5rem; }
  .venue__zip { grid-column: 1 / -1; }
  .venue__zip input { max-width: 9rem; }
}
/* Add-ons that don't go with the chosen services are hidden. */
.addon[hidden], .addon-group[hidden] { display: none; }
