/* Heidar Baba · reservations (/reserve/) and the plain pages the API returns to visitors without JavaScript.
   Same language as the secondary pages: a charcoal hero with a Bodoni headline, then a porcelain body.
   Selector prefix: .rsv- */

/* Anything with the hidden attribute stays hidden, whatever display its class sets. */
.rsv [hidden], .rsv-body [hidden], .adm [hidden] { display: none !important; }

/* ---------- Hero ---------- */
.rsv-hero { background: var(--charcoal); color: var(--chini); }
.rsv-hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 96px; padding-bottom: 80px; }
.rsv-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6.4vw, 92px); line-height: .95; letter-spacing: -.025em; text-wrap: balance; }
.rsv-hero__title em { color: var(--saffron); }
.rsv-hero__lede { max-width: 34em; font-size: 18px; line-height: 1.65; color: var(--text-on-dark); }

/* ---------- Body: the form beside a summary card ---------- */
.rsv-body { background: var(--chini); color: var(--ink); }
.rsv-body__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; padding-top: 72px; padding-bottom: 112px; }
.rsv-main { min-width: 0; }

/* Progress */
.rsv-progress { display: flex; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: none; }
.rsv-progress__item { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 3px solid rgba(28, 23, 21, 0.14); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted-on-light); }
.rsv-progress__num { display: none; }
.rsv-progress__item.is-done { border-top-color: var(--saffron); color: var(--ink); }
.rsv-progress__item.is-current { border-top-color: var(--anar); color: var(--anar); }

/* Steps */
.rsv-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.rsv-step + .rsv-step { margin-top: 40px; }
.rsv--js .rsv-step + .rsv-step { margin-top: 0; }
.rsv-step:focus { outline: none; }
.rsv-step__title { display: block; margin-bottom: 24px; padding: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.015em; }
.rsv-step__note { margin-top: 20px; max-width: 40em; font-size: 15px; line-height: 1.6; color: var(--muted-on-light); }
.rsv-link { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--anar); font-weight: 600; white-space: nowrap; }
.rsv-link:hover { color: var(--anar-deep); }

/* Tiles (party sizes and times) */
.rsv-tiles { display: grid; gap: 10px; }
.rsv-tiles--party { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); max-width: 640px; }
.rsv-tiles--time { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.rsv-tile { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 6px 10px; border: 0; border-radius: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(28, 23, 21, 0.2); color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.rsv-tile:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--anar); color: var(--ink); }
.rsv-tile[aria-pressed="true"] { background: var(--anar); box-shadow: none; color: var(--chini); }
.rsv-tile:disabled { cursor: not-allowed; background: transparent; color: rgba(28, 23, 21, 0.38); box-shadow: inset 0 0 0 1px rgba(28, 23, 21, 0.1); }
.rsv-tile--more { background: transparent; font-weight: 500; }
.rsv-tile__full { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* Calendar */
.rsv-cal { max-width: 480px; }
.rsv-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rsv-cal__title { font-family: var(--serif); font-size: 24px; }
.rsv-cal__nav { width: 48px; height: 48px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px rgba(28, 23, 21, 0.2); font-size: 24px; line-height: 1; cursor: pointer; }
.rsv-cal__nav:disabled { opacity: .3; cursor: default; }
.rsv-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rsv-cal__dow { padding: 6px 0; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted-on-light); }
.rsv-cal__day { aspect-ratio: 1; min-height: 44px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(28, 23, 21, 0.16); font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; }
.rsv-cal__day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--anar); }
.rsv-cal__day.is-today { box-shadow: inset 0 0 0 1px rgba(28, 23, 21, 0.16), inset 0 -3px 0 var(--saffron); }
.rsv-cal__day[aria-pressed="true"] { background: var(--anar); color: var(--chini); box-shadow: none; }
.rsv-cal__day:disabled { background: transparent; box-shadow: none; color: rgba(28, 23, 21, 0.3); font-weight: 400; cursor: default; }
.rsv-cal__legend { margin-top: 14px; font-size: 14px; color: var(--muted-on-light); }

/* Times */
.rsv-times__group + .rsv-times__group { margin-top: 28px; }
.rsv-times__label { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--anar); }
.rsv-times__loading, .rsv-times__none { margin-bottom: 20px; font-size: 16px; color: var(--text-on-light); }

/* Fields */
.rsv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; max-width: 720px; }
.rsv-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rsv-field--wide { grid-column: 1 / -1; }
.rsv-field__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.rsv-field__hint { margin-left: 6px; font-weight: 400; color: var(--muted-on-light); }
.rsv-input { width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-radius: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(28, 23, 21, 0.28); color: var(--ink); font: inherit; font-size: 16px; }
.rsv-input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.rsv-input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--anar); }
.rsv-input--area { min-height: 96px; resize: vertical; }
select.rsv-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.rsv-field__error { min-height: 0; font-size: 14px; font-weight: 600; color: var(--anar); }
.rsv-field__error:empty { display: none; }
.rsv-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rsv-native { max-width: 360px; }

/* Review */
.rsv-review { max-width: 720px; margin: 0; border-top: 1px solid rgba(28, 23, 21, 0.16); }
.rsv-review__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(28, 23, 21, 0.12); }
.rsv-review dt { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-light); }
.rsv-review dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.rsv-review__change { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--anar); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rsv-error { max-width: 720px; margin-top: 20px; padding: 14px 16px; background: var(--rose); color: var(--anar-deep); font-weight: 600; }
.rsv-submit { margin-top: 28px; }
.rsv-submit:disabled { opacity: .6; cursor: progress; }

/* Step buttons */
.rsv-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.rsv-nav [hidden] { display: none; }

/* Done and off panels */
.rsv-done, .rsv-off { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 640px; }
.rsv-done:focus { outline: none; }
.rsv-done__mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--anar); color: var(--chini); }
.rsv-done__title, .rsv-off__title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 52px); line-height: 1.02; }
.rsv-done__text, .rsv-off__text { font-size: 17px; line-height: 1.6; color: var(--text-on-light); }
.rsv-done__code { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-light); }
.rsv-done__code strong { margin-left: 6px; font-size: 22px; letter-spacing: .18em; color: var(--ink); }

/* Aside */
.rsv-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 28px; padding: 32px; background: var(--sand); }
.rsv-aside__label { margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--anar); }
.rsv-aside__phone { font-family: var(--serif); font-size: 28px; color: var(--ink); text-decoration: none; }
.rsv-aside__phone:hover { color: var(--anar); }
.rsv-aside__text { font-size: 15px; line-height: 1.6; color: var(--text-on-light); }
.rsv-summary__list { margin: 0; }
.rsv-summary__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(28, 23, 21, 0.12); }
.rsv-summary__list dt { font-size: 14px; color: var(--muted-on-light); }
.rsv-summary__list dd { margin: 0; font-size: 15px; font-weight: 600; text-align: right; }

/* Plain pages returned by the API (visitors without JavaScript) */
.rsv-plain { background: var(--chini); color: var(--ink); }
.rsv-plain__main { max-width: 720px; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.6; }
.rsv-plain__title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.rsv-plain__main a { color: var(--anar); font-weight: 600; }
.rsv-plain__links { margin-top: 12px; font-size: 15px; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1080px) {
  .rsv-body__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .rsv-aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
}
@media (max-width: 720px) {
  .rsv-hero__inner { padding-top: 48px; padding-bottom: 48px; gap: 16px; }
  .rsv-hero__title { font-size: clamp(44px, 12vw, 64px); }
  .rsv-hero__lede { font-size: 16px; }
  .rsv-body__inner { padding-top: 40px; padding-bottom: 72px; }
  .rsv-progress { margin-bottom: 28px; gap: 6px; }
  .rsv-progress__item { font-size: 0; gap: 0; }
  .rsv-progress__item.is-current { font-size: 12px; gap: 6px; }
  .rsv-grid { grid-template-columns: minmax(0, 1fr); }
  .rsv-tiles--party { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rsv-tiles--time { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rsv-review__row { grid-template-columns: minmax(0, 1fr) auto; }
  .rsv-review dt { grid-column: 1 / -1; }
  .rsv-nav .btn { flex: 1 1 140px; }
  .rsv-aside { padding: 24px; }
}
@media print { .rsv-hero { background: #fff !important; color: #000 !important; } }
