/* GuestFlow 1.4.71 — compact, container-aware guest booking layout.
 * Presentation only. No date, availability, party, consent or booking rules.
 * Loaded after the design tokens and existing guest styles. The explicit
 * day/blank heights override legacy aspect-ratio:1/1 !important; importantly,
 * we do NOT clip the calendar or hide its sixth week/special-day messages.
 * Engines without container queries keep the safe, single-column layout.
 */
.luva-res[data-luva-reservations] {
  container-type:inline-size;
  container-name:gf-guest;
}
.luva-res[data-luva-reservations] .luva-date-stage {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  gap:18px;
  max-width:940px;
  margin:18px auto 0;
  padding-top:18px;
  min-width:0;
}
/* The native hidden attribute stays authoritative throughout the booking flow. */
.luva-res[data-luva-reservations] [data-party-after][hidden] {display:none!important}
.luva-res[data-luva-reservations] .luva-date-stage__title {
  grid-column:1/-1;
  min-width:0;
  margin:0;
  font-size:20px;
  line-height:1.3;
  overflow-wrap:break-word;
}
.luva-res[data-luva-reservations] .luva-date-stage > .luva-fields {
  display:block!important;
  width:100%;
  min-width:0;
  max-width:520px!important;
  margin:0!important;
  justify-self:center;
}
.luva-res[data-luva-reservations] .luva-date-calendar {
  width:100%!important;
  max-width:520px!important;
  min-width:0!important;
  min-height:0!important;
  margin-inline:auto!important;
}
.luva-res[data-luva-reservations] .luva-cal {
  padding:12px!important;
  border-radius:16px!important;
  overflow:visible;
}
.luva-res[data-luva-reservations] .luva-cal__toolbar {
  grid-template-columns:44px minmax(0,1fr) 44px!important;
  gap:8px;
  margin-bottom:10px;
}
.luva-res[data-luva-reservations] .luva-cal__toolbar strong {
  font-size:18px;
  line-height:1.3;
  overflow-wrap:break-word;
}
.luva-res[data-luva-reservations] .luva-cal__nav {
  width:44px!important;height:44px!important;
  min-width:44px!important;min-height:44px!important;
  max-width:44px!important;max-height:44px!important;
  border-radius:50%!important;
  padding:0!important;
  display:grid!important;place-items:center!important;
  touch-action:manipulation;
}
.luva-res[data-luva-reservations] .luva-cal__weekdays,
.luva-res[data-luva-reservations] .luva-cal__days {
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:4px!important;
}
.luva-res[data-luva-reservations] .luva-cal__weekdays span {
  font-size:10px;
  line-height:1.3;
  padding:4px 0;
}
.luva-res[data-luva-reservations] .luva-cal__days {grid-auto-rows:44px!important}
.luva-res[data-luva-reservations] .luva-cal__day,
.luva-res[data-luva-reservations] .luva-cal__blank {
  aspect-ratio:auto!important;
  width:100%!important;min-width:0!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  margin:0!important;
}
.luva-res[data-luva-reservations] .luva-cal__day {
  padding:0!important;
  border-radius:9px!important;
  font-size:14px!important;
  line-height:1.1!important;
  font-variant-numeric:tabular-nums;
  touch-action:manipulation;
}
.luva-res[data-luva-reservations] .luva-cal__legend {
  align-items:flex-start;
  flex-direction:row!important;
  flex-wrap:wrap;
  gap:6px 12px;
  margin-top:10px;
  padding-top:10px;
  font-size:11px;
  line-height:1.4;
}
.luva-res[data-luva-reservations] .luva-cal__legend > span,
.luva-res[data-luva-reservations] .luva-cal__legend > strong {
  min-width:0;
  overflow-wrap:break-word;
}
.luva-res[data-luva-reservations] .luva-cal__legend > strong {flex:1 1 170px}
.luva-res[data-luva-reservations] .luva-cal__special-notice {
  min-width:0;
  overflow-wrap:anywhere;
}
.luva-res[data-luva-reservations] .luva-date-stage > .luva-slots {
  width:100%;min-width:0;max-width:520px;
  margin:0!important;
  justify-self:center;
  padding:16px;
  border:1px solid var(--line,#e4dbd0);
  border-radius:16px;
  background:var(--soft-2,#fbf8f4);
}
.luva-res[data-luva-reservations] .luva-date-stage > .luva-slots > :first-child {margin-top:0}
.luva-res[data-luva-reservations] .luva-date-stage > .luva-slots > :last-child {margin-bottom:0}
.luva-res[data-luva-reservations] .luva-slots__label {
  font-size:12px;
  letter-spacing:.02em;
  text-transform:none;
  line-height:1.4;
}
.luva-res[data-luva-reservations] .luva-slot-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,94px),1fr))!important;
  gap:8px!important;
}
.luva-res[data-luva-reservations] .luva-slot {
  min-width:0!important;
  min-height:44px!important;
  padding:9px 8px!important;
  font-size:13px!important;
  line-height:1.3!important;
  touch-action:manipulation;
}
/* Small embedded widgets get the same safe layout as a phone, even on a
 * desktop. Container size reflects the actual modal/sidebar/content width. */
@container gf-guest (max-width:359px) {
  .luva-res[data-luva-reservations] .luva-cal {padding:7px!important}
  .luva-res[data-luva-reservations] .luva-cal__weekdays,
  .luva-res[data-luva-reservations] .luva-cal__days {gap:2px!important}
  .luva-res[data-luva-reservations] .luva-cal__day {font-size:13px!important}
  .luva-res[data-luva-reservations] .luva-cal__legend {flex-direction:column!important}
  .luva-res[data-luva-reservations] .luva-cal__legend > strong {flex:0 1 auto;text-align:left}
  .luva-res[data-luva-reservations] .luva-date-stage > .luva-slots {padding:12px}
}
@container gf-guest (min-width:760px) {
  .luva-res[data-luva-reservations] .luva-step {padding-top:26px!important;padding-bottom:26px!important}
  .luva-res[data-luva-reservations] .luva-step__head {margin-bottom:18px}
  .luva-res[data-luva-reservations] .luva-date-stage {
    grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);
    column-gap:22px;
    row-gap:14px;
  }
  .luva-res[data-luva-reservations] .luva-date-stage > .luva-fields {grid-column:1;grid-row:2;justify-self:start}
  .luva-res[data-luva-reservations] .luva-date-stage > .luva-slots {grid-column:2;grid-row:2;justify-self:end;margin-top:24px!important}
  .luva-res[data-luva-reservations] .luva-cal__day.is-disabled:not(.is-special-day) small {font-size:8px;letter-spacing:0}
  .luva-res[data-luva-reservations] .luva-cal__day.is-special-day small {font-size:8px!important;letter-spacing:-.02em!important}
  .luva-res[data-luva-reservations] .luva-party-panel {
    grid-template-columns:minmax(0,1fr) 174px minmax(0,1fr);
    gap:6px 16px;
    align-items:center;
    justify-items:start;
    max-width:940px;
    margin:12px auto 20px;
    padding:16px 18px;
    text-align:left;
  }
  .luva-res[data-luva-reservations] .luva-party-panel__label {grid-column:1;grid-row:1;margin:0;font-size:16px}
  .luva-res[data-luva-reservations] .luva-party-panel__hint {grid-column:1;grid-row:2;min-height:0;font-size:12px;line-height:1.4}
  .luva-res[data-luva-reservations] .luva-party-control {grid-column:2;grid-row:1/3;grid-template-columns:44px 70px 44px;gap:8px}
  .luva-res[data-luva-reservations] .luva-party-control__button {
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
    max-width:44px!important;max-height:44px!important;font-size:26px!important;
  }
  .luva-res[data-luva-reservations] .luva-party-control input[data-party-count] {min-height:58px!important;height:58px;font-size:32px!important;border-radius:12px!important}
  .luva-res[data-luva-reservations] .luva-party-confirm {grid-column:3;grid-row:1/3;min-width:0;max-width:280px;justify-self:end;min-height:48px;font-size:14px!important;padding:10px 12px!important;line-height:1.3!important}
}
/* The legacy hover rule lightened selected dates but kept white text. Keep the
 * chosen date high-contrast during hover/focus as well as after moving away. */
.luva-res[data-luva-reservations] .luva-cal__day.is-selected:not(.is-disabled),
.luva-res[data-luva-reservations] .luva-cal__day.is-selected:not(.is-disabled):hover,
.luva-res[data-luva-reservations] .luva-cal__day.is-selected:not(.is-disabled):focus-visible{
  background:var(--ink,#211d19)!important;color:#fff!important;
  border-color:var(--ink,#211d19)!important;
}
.luva-res[data-luva-reservations] .luva-cal__day.is-selected:not(.is-disabled) > span{color:inherit!important}
