:root {
  --reservation-accent: #c9a15a;
  --reservation-accent-deep: #b48c46;
  --reservation-bg: #f6f3ee;
  --reservation-card: #ffffff;
  --reservation-text: #2d2419;
  --reservation-muted: #7a6d5d;
  --reservation-line: rgba(165, 126, 63, 0.35);
}

body.reservation-body {
  background: var(--reservation-bg);
  color: var(--reservation-text);
}

.reservation-shell {
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
}

.reservation-card {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--reservation-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 20px 40px rgba(18, 14, 10, 0.06);
}

.reservation-hero {
  position: relative;
}

.reservation-hero__art {
  height: 190px;
  background:
    radial-gradient(circle at 12% 40%, rgba(243, 214, 166, 0.65), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #284f46, #8fb08f 38%, #b92f2b 39%, #b92f2b 67%, #d8ccae 67%, #c9be9d 100%);
}

.reservation-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  color: #fffaf0;
  padding: 1rem;
}

.reservation-hero__content h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reservation-step[hidden],
.selection-summary[hidden],
.reservation-success-page[hidden],
.reservation-modal[hidden] {
  display: none !important;
}

.reservation-hero__content p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 248, 236, 0.92);
}

.reservation-hero__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.reservation-toolbar,
.reservation-step,
.selection-summary,
.time-step-head,
.reservation-form-stack {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.reservation-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.75rem;
}

.reservation-party-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--reservation-text);
}

.picker-button {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--reservation-line);
  background: #fff;
  color: var(--reservation-text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.picker-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.picker-value {
  min-width: 6rem;
  text-align: center;
}

.picker-value strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.picker-value span {
  display: block;
  font-size: 0.9rem;
  color: var(--reservation-muted);
}

.reservation-step {
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid var(--reservation-line);
}

.month-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.calendar-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.85rem;
}

.calendar-stage__body {
  min-width: 0;
}

.calendar-nav-button {
  align-self: center;
}

.month-header h2,
.time-step-head h2 {
  margin: 0;
  font-size: 1.7rem;
  text-align: center;
}

.calendar-grid-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: var(--reservation-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-grid-head span,
.calendar-cell {
  text-align: center;
}

.reservation-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  min-height: 23rem;
}

.calendar-cell {
  min-height: 4rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #a8a19a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.calendar-cell--empty {
  pointer-events: none;
}

.calendar-cell--enabled {
  color: var(--reservation-text);
  cursor: pointer;
}

.calendar-cell--enabled:hover,
.calendar-cell--enabled:focus-visible {
  border-color: var(--reservation-line);
}

.calendar-cell--selected {
  background: var(--reservation-accent);
  color: #fff;
  font-weight: 700;
}

.calendar-cell--disabled {
  color: #c8c0b6;
}

.calendar-cell__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.calendar-cell__hint {
  font-size: 0.68rem;
  color: inherit;
  opacity: 0.82;
}

.reservation-inline-status:empty {
  display: none;
}

.reservation-inline-status .status {
  margin-top: 0.85rem;
}

.selection-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.8rem;
  background: var(--reservation-accent);
  color: #fff;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.selection-summary__back {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.selection-summary__meta {
  opacity: 0.9;
}

.time-step-head {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.time-step-head p {
  margin: 0.5rem auto 0;
  max-width: 34rem;
  color: var(--reservation-muted);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
}

.time-slot-button {
  min-height: 4.25rem;
  border: 0;
  background: var(--reservation-accent);
  color: #fff;
  padding: 0.85rem 0.75rem;
  cursor: pointer;
  text-align: center;
}

.time-slot-button:hover,
.time-slot-button:focus-visible,
.time-slot-button--selected {
  background: var(--reservation-accent-deep);
}

.time-slot-button__time {
  display: block;
  font-size: 1.65rem;
  line-height: 1.05;
  font-weight: 700;
}

.time-slot-button__meta {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.82rem;
  color: rgba(255, 248, 236, 0.92);
}

.reservation-form-stack {
  padding-top: 1rem;
}

.reservation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.reservation-form-grid label,
.reservation-form-stack label {
  display: grid;
  gap: 0.35rem;
}

.reservation-form-grid span,
.reservation-form-stack span {
  font-size: 0.9rem;
  color: var(--reservation-muted);
}

.reservation-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.reservation-form-grid input,
.reservation-form-stack input {
  height: 2.9rem;
  border: 1px solid rgba(32, 24, 15, 0.12);
  border-radius: 0;
  padding: 0 0.9rem;
  font: inherit;
}

.reservation-primary-button {
  display: block;
  width: 100%;
  margin-top: 1rem;
  min-height: 3rem;
  border: 0;
  background: var(--reservation-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reservation-primary-button:hover,
.reservation-primary-button:focus-visible {
  background: var(--reservation-accent-deep);
}

@media (max-width: 720px) {
  .reservation-toolbar {
    flex-direction: column;
  }

  .calendar-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .calendar-nav-button {
    justify-self: center;
  }

  .calendar-stage .calendar-nav-button:first-of-type {
    order: 1;
  }

  .calendar-stage__body {
    order: 2;
  }

  .calendar-stage .calendar-nav-button:last-of-type {
    order: 3;
  }

  .reservation-calendar {
    min-height: 19rem;
  }

  .time-slots,
  .reservation-form-grid {
    grid-template-columns: 1fr;
  }

  .calendar-cell {
    min-height: 3.2rem;
  }
}


.reservation-form-grid--crm {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reservation-form-grid__full {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .reservation-form-grid--crm {
    grid-template-columns: 1fr;
  }

  .reservation-form-grid__full {
    grid-column: auto;
  }
}

.reservation-form-stack .reservation-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--reservation-line);
  border-bottom: 1px solid var(--reservation-line);
}

.reservation-consent-copy {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--reservation-text);
  font-size: 0.97rem;
  line-height: 1.45;
}

.reservation-consent-copy label,
.reservation-consent-copy span,
.reservation-consent-copy strong {
  min-width: 0;
}

.reservation-consent-copy strong {
  font-weight: 700;
}

.reservation-required-star {
  color: #d0021b !important;
  font-weight: 700;
  line-height: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reservation-terms-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--reservation-text);
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.reservation-terms-trigger:hover,
.reservation-terms-trigger:focus-visible {
  text-decoration: underline;
}

.reservation-consent-row input[type='checkbox'] {
  width: 1.05rem;
  height: 1.05rem;
  min-height: auto;
  flex: 0 0 auto;
}

.reservation-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.reservation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 8, 0.52);
}

.reservation-modal__dialog {
  position: relative;
  width: min(680px, calc(100vw - 2rem));
  margin: min(7vh, 3.5rem) auto;
  background: #fff;
  border: 1px solid rgba(32, 24, 15, 0.12);
  box-shadow: 0 24px 70px rgba(16, 12, 8, 0.22);
}

.reservation-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--reservation-line);
}

.reservation-modal__head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.reservation-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--reservation-text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.reservation-modal__body {
  max-height: min(70vh, 620px);
  overflow: auto;
  padding: 1.15rem;
  color: var(--reservation-text);
  white-space: pre-wrap;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .reservation-form-stack .reservation-consent-row {
    gap: 0.75rem;
  }

  .reservation-consent-copy {
    flex-wrap: wrap;
  }

  .reservation-consent-copy {
    flex-wrap: wrap;
  }

  .reservation-terms-trigger {
    white-space: normal;
  }

  .reservation-modal__dialog {
    width: min(680px, calc(100vw - 1rem));
    margin: 0.5rem auto;
  }
}


.reservation-footer {
  border-top: 1px solid var(--reservation-line);
  padding: 1rem 1.25rem 1.35rem;
}

.reservation-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.25rem;
}

.reservation-footer-links a {
  color: var(--reservation-muted);
  font-size: 0.92rem;
}


.reservation-consent-copy .reservation-terms-trigger strong {
  font-weight: 700;
}

.reservation-primary-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


.reservation-step-actions {
  padding-top: 1rem;
}

.reservation-primary-button--step {
  max-width: 14rem;
  margin-left: auto;
  margin-right: auto;
}


.reservation-success-page {
  border-top: 1px solid var(--reservation-line);
  padding: 1.4rem 1.25rem 1.25rem;
  display: grid;
  gap: 1rem;
}

.reservation-success-page__head {
  display: grid;
  gap: 0.35rem;
}

.reservation-success-page__eyebrow {
  margin: 0;
  color: var(--reservation-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reservation-success-page__head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
}

.reservation-success-page__lead {
  margin: 0;
  color: var(--reservation-text);
}

.reservation-success-page__actions {
  padding-top: 0.25rem;
}

.reservation-confirmation-summary {
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid var(--reservation-line);
  border-bottom: 1px solid var(--reservation-line);
  padding: 1rem 1.25rem;
}

.reservation-confirmation-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.reservation-confirmation-row span {
  color: var(--reservation-muted);
  font-size: 0.92rem;
}

.reservation-confirmation-row strong {
  text-align: right;
}

@media (max-width: 720px) {
  .reservation-confirmation-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .reservation-confirmation-row strong {
    text-align: left;
  }
}


.reservation-success-summary__grid {
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid var(--reservation-line);
  border-bottom: 1px solid var(--reservation-line);
  padding: 1rem 0;
}

.reservation-success-note {
  margin: 1rem 0 0;
  color: var(--reservation-muted);
  line-height: 1.55;
}



.reservation-field-help {
  font-size: 0.78rem;
  color: var(--reservation-muted);
}

.reservation-phone-field {
  display: grid;
  grid-template-columns: minmax(7.25rem, auto) minmax(0, 1fr);
}

.reservation-country-picker {
  position: relative;
}

.reservation-country-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  height: 2.9rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(32, 24, 15, 0.12);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: var(--reservation-text);
  font: inherit;
  cursor: pointer;
}

.reservation-country-trigger__flag {
  font-size: 1rem;
  line-height: 1;
}

.reservation-country-trigger__dial {
  font-weight: 600;
}

.reservation-country-trigger__caret {
  margin-left: auto;
  color: var(--reservation-muted);
  font-size: 0.82rem;
}

.reservation-phone-field input[name='customer_phone_local'] {
  border-left: 1px solid rgba(32, 24, 15, 0.08);
}

.reservation-country-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 30;
  width: min(20rem, calc(100vw - 3rem));
  max-height: 15rem;
  overflow: auto;
  border: 1px solid rgba(32, 24, 15, 0.12);
  background: #fff;
  box-shadow: 0 18px 40px rgba(32, 24, 15, 0.12);
}

.reservation-country-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-bottom: 1px solid rgba(32, 24, 15, 0.08);
  background: #fff;
  color: var(--reservation-text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.reservation-country-option:last-child {
  border-bottom: 0;
}

.reservation-country-option__main {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.reservation-country-option__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reservation-country-option__dial {
  color: var(--reservation-muted);
  font-weight: 600;
}

.reservation-country-option--active,
.reservation-country-option:hover,
.reservation-country-option:focus-visible {
  background: rgba(200, 160, 92, 0.12);
  outline: none;
}

@media (max-width: 760px) {
  .reservation-phone-field {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .reservation-country-trigger {
    border-right: 1px solid rgba(32, 24, 15, 0.12);
  }

  .reservation-phone-field input[name='customer_phone_local'] {
    border-left: 1px solid rgba(32, 24, 15, 0.12);
  }

  .reservation-country-menu {
    width: 100%;
  }
}


.reservation-review-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.reservation-primary-button--inline {
  margin-top: 0;
}

.reservation-secondary-button {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-top: 0;
  border: 1px solid var(--reservation-line);
  background: #fff;
  color: var(--reservation-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reservation-secondary-button:hover,
.reservation-secondary-button:focus-visible {
  border-color: rgba(32, 24, 15, 0.24);
  background: #faf8f3;
}

@media (max-width: 720px) {
  .reservation-review-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
