/* Octipo cookie bar + settings panel, in e4's own language:
   nav glass (rgba(36,36,36,.72) + blur + top-lit edge), the ⋮ menu's #333 card (24px radius, 24px padding, #444 rules),
   Inter Tight 14/20 text in #fff/#888, Manrope 700 headings, #444 pills (the booking card's hour buttons) and the white pill (Book Now). */
.oc {
  --oc-gx: var(--gx, 16px);
  font: 400 14px/20px var(--font-sans);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
.oc :where(*) {
  box-sizing: border-box;
  margin: 0;
}
.oc :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.oc a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.oc a:hover {
  text-decoration-color: #fff;
}
.oc-bar a {
  white-space: nowrap;
}
.oc :focus {
  outline: 0;
}
.oc :focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.oc .oc-pm:focus,
.oc .oc-pm:focus-visible {
  outline: 0;
} /* the panel itself only takes focus for screen readers */

/* shared: both surfaces sit bottom-left on desktop, fade/slide like the nav's pop-ups */
.oc-bar,
.oc-pm {
  position: fixed;
  z-index: 90;
  left: var(--oc-gx);
  bottom: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 0.3s;
}
.oc[data-state="bar"] .oc-bar:not(.oc-note),
.oc[data-state="note"] .oc-note,
.oc[data-state="panel"] .oc-pm {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.2s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* the bar (opt-in regions) and the lighter notice (elsewhere): one line in the nav's glass pill */
.oc-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 2 * var(--oc-gx));
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(36, 36, 36, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 64px -16px rgba(0, 0, 0, 0.6);
}
.oc-bar p {
  color: #bbb;
  white-space: nowrap;
}
.oc-acts {
  display: flex;
  align-items: center;
  gap: 8px;
}
.oc-txt {
  padding: 6px 8px;
  border-radius: 999px;
  color: #888;
  transition: color 0.2s;
}
.oc-txt:hover {
  color: #fff;
}
.oc-btn {
  padding: 6px 16px;
  border-radius: 999px;
  background: #444;
  color: #fff;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.oc-btn:hover {
  background: #555;
}
.oc-pri {
  background: #fff;
  color: #111;
  font-weight: 600;
  font-family: var(--font-display);
}
.oc-pri:hover {
  background: #e6e6e6;
}
.oc-note p {
  color: #999;
}

/* the settings panel: the ⋮ menu's card */
.oc-pm {
  width: 360px;
  max-width: calc(100vw - 2 * var(--oc-gx));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 24px;
  background: #333;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.6);
}
.oc-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 0 24px;
}
.oc-hd h2 {
  font:
    700 20px/1.1 Manrope,
    var(--font-sans);
  letter-spacing: -0.2px;
  color: #fff;
}
.oc-x {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #444;
  border-radius: 999px;
  color: #bbb;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.oc-x:hover {
  background: #3d3d3d;
  border-color: #555;
  color: #fff;
}
.oc-rows {
  list-style: none;
  padding: 16px 24px 0;
}
.oc-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #444;
}
.oc-rows li:first-child {
  border-top: 0;
}
.oc-rows li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.oc-rows b {
  font-weight: 500;
  color: #fff;
}
.oc-rows span {
  font-size: 12px;
  line-height: 16px;
  color: #888;
}
.oc-rows em {
  flex: none;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  color: #888;
}
.oc-more {
  padding: 4px 24px 0;
  font-size: 12px;
  line-height: 16px;
  color: #888;
}
.oc-more a {
  color: #bbb;
}
.oc-ft {
  display: flex;
  gap: 8px;
  padding: 20px 24px 24px;
}
.oc-ft .oc-btn {
  flex: 1;
  padding: 8px 12px;
}

/* toggle: the booking card's pills as a switch: #444 off, white on */
.oc-sw {
  position: relative;
  flex: none;
  display: block;
  width: 40px;
  height: 24px;
  cursor: pointer;
}
.oc-sw input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.oc-sw i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #444;
  transition: background 0.2s;
  pointer-events: none;
}
.oc-sw i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #888;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s;
}
.oc-sw:hover i {
  background: #555;
}
.oc-sw input:checked + i {
  background: #fff;
}
.oc-sw input:checked + i::after {
  transform: translateX(16px);
  background: #111;
}
.oc-sw input:focus-visible + i {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* rises above e4's composer when it sits at the bottom (octipo-consent.js sets --oc-lift; 0 otherwise).
   `translate`, not `bottom`, so it never counts as layout shift. No transition on translate — lift tracks the composer
   every scroll frame; easing it made the bar rubber-band and flash while scrolling. */
.oc-bar {
  translate: 0 calc(-1 * var(--oc-lift, 0px));
}
.oc-scrim {
  display: none;
}

/* tablets: one full-width bar in the gutters (the desktop pill is a speck on an iPad; the phone sheet is too tall) */
@media (min-width: 600px) and (max-width: 1100px) {
  .oc-bar {
    left: var(--oc-gx);
    right: var(--oc-gx);
    max-width: none;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    justify-content: space-between;
    gap: 16px;
    padding: 10px 10px 10px 20px;
    border-radius: 20px;
  }
  .oc-bar p {
    white-space: nowrap;
  }
  .oc-acts {
    flex: none;
  }
  .oc-pm {
    left: auto;
    right: var(--oc-gx);
  }
}
/* phones only: bottom sheet */
@media (max-width: 599px) {
  /* banner + light notice: full-width card; copy, then equal pills; Settings as its own quiet row under */
  .oc-bar {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 16px 14px;
    border-radius: 20px;
    transform: translateY(12px);
  }
  .oc-bar p {
    white-space: normal;
    font-size: 14px;
    line-height: 20px;
  }
  .oc-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
  }
  .oc-acts .oc-btn {
    flex: 1 1 calc(50% - 4px);
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }
  .oc-note .oc-acts .oc-btn {
    flex: 1 1 100%;
  }
  .oc-acts .oc-txt {
    flex: 1 1 100%;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 4px 0 2px;
    font-size: 13px;
    color: #888;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.22);
    text-underline-offset: 3px;
  }
  .oc-acts .oc-txt:hover {
    color: #fff;
  }

  /* settings: bottom sheet, rounded top corners, ~80% tall at most, rows scroll, actions stay put */
  .oc-pm {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 101;
    width: auto;
    max-width: none;
    max-height: min(80vh, 80dvh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 -16px 48px -8px rgba(0, 0, 0, 0.6);
  }
  .oc-pm::before {
    content: "";
    flex: none;
    align-self: center;
    width: 36px;
    height: 4px;
    margin-top: 8px;
    border-radius: 2px;
    background: #555;
  }
  .oc-hd {
    flex: none;
    padding: 12px 16px 0 24px;
  }
  .oc-x {
    width: 44px;
    height: 44px;
  }
  .oc-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
  }
  .oc-rows li {
    padding: 16px 0;
  }
  .oc-ft {
    flex: none;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #444;
    background: #333;
  }
  .oc-ft .oc-btn {
    min-height: 44px;
    padding: 0 8px;
    font-size: 15px;
  }
  .oc-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(8, 8, 8, 0.6);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      visibility 0s 0.2s;
  }
  .oc[data-state="panel"] .oc-scrim {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .oc-bar,
  .oc-pm,
  .oc-scrim,
  .oc-sw i::after {
    transition: none;
  }
}

/* footer "Cookie settings" link (added by the production build next to the policy links) */
.ft-lk {
  flex-wrap: wrap;
  row-gap: 8px;
}
.ft-lk a {
  white-space: nowrap;
}
.ft-lk [data-cookie-settings] {
  color: #fff;
  cursor: pointer;
}
.ft-lk [data-cookie-settings]:hover {
  color: #bdbdbd;
}
