/*
  Consent UI. This stylesheet is loaded after styles.css and deliberately uses
  consent-specific selectors so it cannot restyle the rest of the website.
*/

#cookie-banner {
  color-scheme: light;
  position: fixed;
  left: auto;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  width: 480px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(12, 33, 59, .16);
  border-radius: 8px;
  background: #ffffff;
  color: #0c213b;
  box-shadow: 0 18px 55px rgba(4, 18, 32, .24), 0 3px 12px rgba(4, 18, 32, .11);
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  scrollbar-color: #83572b #f2f2f2;
  scrollbar-width: thin;
}

#cookie-banner * {
  box-sizing: border-box;
}

#cookie-banner button,
#cookie-banner input,
#cookie-banner textarea,
#cookie-banner select,
#cookie-banner option {
  font-family: inherit;
}

#cookie-banner .cookie-banner-intro {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(12, 33, 59, .13);
}

#cookie-banner .cookie-eyebrow,
.cookie-policy .cookie-policy-eyebrow {
  margin: 0 0 8px;
  color: #83572b;
  font-family: var(--font-brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}

#cookie-banner .cookie-title {
  margin: 0;
  color: #0c213b;
  font-family: var(--font-brand);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.05;
}

#cookie-banner .cookie-message {
  margin: 12px 0 0;
  color: #24384e;
  font-size: 14px;
  line-height: 1.58;
}

#cookie-banner .cookie-consent-state {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 13px 0 0;
  color: #83572b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.4;
}

#cookie-banner .cookie-consent-state::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

#cookie-banner .cookie-primary-actions,
#cookie-banner .cookie-preference-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#cookie-banner .cookie-primary-actions {
  margin-top: 18px;
}

#cookie-banner .cookie-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 10px 13px;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .105em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

#cookie-banner .cookie-action-primary {
  border-color: #0c213b;
  background: #0c213b;
  color: #fff;
}

#cookie-banner .cookie-action-primary:hover {
  border-color: #83572b;
  background: #83572b;
  color: #fff;
}

#cookie-banner .cookie-action-secondary {
  border-color: rgba(12, 33, 59, .4);
  background: transparent;
  color: #0c213b;
}

#cookie-banner .cookie-action-secondary:hover {
  border-color: #83572b;
  color: #83572b;
}

#cookie-banner .cookie-action-tertiary {
  width: 100%;
  min-height: 34px;
  margin-top: 5px;
  padding-block: 7px;
  background: transparent;
  color: #0c213b;
  text-decoration: underline;
  text-decoration-color: rgba(131, 87, 43, .65);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#cookie-banner .cookie-action-tertiary:hover {
  color: #83572b;
}

#cookie-banner .cookie-information-link {
  display: inline-block;
  margin-top: 6px;
  color: #526274;
  font-size: 11px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(82, 98, 116, .55);
  text-underline-offset: 3px;
}

#cookie-banner .cookie-information-link:hover {
  color: #83572b;
  text-decoration-color: currentColor;
}

#cookie-banner .cookie-preferences {
  margin-top: 17px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 33, 59, .13);
}

#cookie-banner .cookie-preferences-heading h3 {
  margin: 0;
  color: #0c213b;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.12;
}

#cookie-banner .cookie-preferences-heading p {
  margin: 7px 0 14px;
  color: #526274;
  font-size: 12px;
  line-height: 1.5;
}

#cookie-banner .cookie-category {
  margin-top: 9px;
  padding: 13px 14px 12px;
  border: 1px solid rgba(12, 33, 59, .12);
  border-radius: 4px;
  background: rgba(255, 255, 255, .42);
}

#cookie-banner .cookie-category-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

#cookie-banner .cookie-category h4,
#cookie-banner .cookie-category-label {
  display: block;
  margin: 0;
  color: #0c213b;
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.16;
}

#cookie-banner .cookie-category-label {
  cursor: pointer;
}

#cookie-banner .cookie-category-topline p {
  margin: 5px 0 0;
  color: #526274;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.48;
}

#cookie-banner .cookie-always-on {
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1px solid rgba(131, 87, 43, .42);
  border-radius: 999px;
  padding: 4px 7px;
  color: #83572b;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

#cookie-banner .cookie-switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 39px;
  height: 22px;
  margin: 2px 0 0;
  border: 1px solid #98a0a7;
  border-radius: 999px;
  background: #e5e7eb;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

#cookie-banner .cookie-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(12, 33, 59, .26);
  content: "";
  transition: transform .18s ease;
}

#cookie-banner .cookie-switch:checked {
  border-color: #83572b;
  background: #83572b;
}

#cookie-banner .cookie-switch:checked::after {
  transform: translateX(17px);
}

#cookie-banner .cookie-details {
  margin-top: 10px;
  border-top: 1px solid rgba(12, 33, 59, .1);
  padding-top: 8px;
}

#cookie-banner .cookie-details summary {
  display: list-item;
  width: max-content;
  max-width: 100%;
  color: #0c213b;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

#cookie-banner .cookie-details summary::marker {
  color: #83572b;
}

#cookie-banner .cookie-details p {
  margin: 8px 0 0;
  color: #526274;
  font-size: 11px;
  line-height: 1.48;
}

#cookie-banner .cookie-preference-actions {
  margin-top: 14px;
}

#cookie-banner .cookie-information-link:focus-visible,
#cookie-banner .cookie-action:focus-visible,
#cookie-banner .cookie-switch:focus-visible,
#cookie-banner .cookie-details summary:focus-visible,
#cookie-reopen:focus-visible,
.cookie-policy a:focus-visible,
.cookie-policy .cookie-policy-action:focus-visible {
  outline: 2px solid #83572b;
  outline-offset: 3px;
}

#cookie-feedback {
  position: fixed;
  left: 24px;
  bottom: 76px;
  z-index: 109;
  max-width: min(360px, calc(100vw - 48px));
  margin: 0;
  padding: 10px 12px;
  border-radius: 4px;
  background: #ffffff;
  color: #0c213b;
  box-shadow: 0 8px 24px rgba(4, 18, 32, .19);
  font-family: var(--font-brand);
  font-size: 12px;
  line-height: 1.45;
}

#cookie-feedback:empty {
  display: none;
}

#cookie-reopen {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 24px;
  transform: none;
  z-index: 108;
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(248, 245, 239, .72);
  border-radius: 999px;
  padding: 8px 12px 8px 10px;
  background: #0c213b;
  color: #ffffff;
  box-shadow: 0 7px 20px rgba(4, 18, 32, .24);
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .095em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

#cookie-reopen:hover {
  background: #83572b;
  color: #fff;
  transform: translateY(-1px);
}

#cookie-reopen .cookie-shield {
  width: 16px;
  height: 16px;
}

.cookie-policy {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 100px;
  color: #ffffff;
  font-family: var(--font-brand);
}

.cookie-policy .cookie-policy-header {
  max-width: 720px;
  margin-bottom: 42px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(248, 245, 239, .25);
}

.cookie-policy .cookie-policy-header h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-brand);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.04;
}

.cookie-policy .cookie-policy-lead {
  max-width: 650px;
  margin: 17px 0 0;
  color: rgba(248, 245, 239, .86);
  font-size: 16px;
  line-height: 1.65;
}

.cookie-policy .cookie-policy-content {
  display: grid;
  gap: 15px;
}

.cookie-policy .cookie-policy-section,
.cookie-policy .cookie-policy-note {
  padding: 23px 25px;
  border: 1px solid rgba(248, 245, 239, .2);
  border-radius: 5px;
  background: rgba(255, 255, 255, .045);
}

.cookie-policy .cookie-policy-section h2,
.cookie-policy .cookie-policy-note h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.cookie-policy .cookie-policy-section p,
.cookie-policy .cookie-policy-note p {
  margin: 11px 0 0;
  color: rgba(248, 245, 239, .87);
  font-size: 14px;
  line-height: 1.65;
}

.cookie-policy .cookie-policy-section code {
  border-radius: 2px;
  padding: 1px 4px;
  background: rgba(248, 245, 239, .13);
  color: #fff;
  font-family: var(--font-brand);
  font-size: .88em;
}

.cookie-policy .cookie-policy-section a,
.cookie-policy .cookie-policy-note a {
  color: #f1c58d;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-policy .cookie-policy-section a:hover,
.cookie-policy .cookie-policy-note a:hover {
  color: #fff;
}

.cookie-policy .cookie-policy-note {
  border-color: rgba(131, 87, 43, .8);
  background: rgba(131, 87, 43, .14);
}

.cookie-policy .cookie-policy-action {
  min-height: 42px;
  margin-top: 16px;
  border: 1px solid #ffffff;
  border-radius: 3px;
  padding: 10px 14px;
  background: transparent;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.cookie-policy .cookie-policy-action:hover {
  border-color: #83572b;
  background: #83572b;
  color: #fff;
}

@media (max-width: 600px) {
  #cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 24px);
    padding: 21px 19px;
    border-radius: 7px;
  }

  #cookie-banner .cookie-title {
    font-size: 25px;
  }

  #cookie-banner .cookie-primary-actions,
  #cookie-banner .cookie-preference-actions {
    gap: 7px;
  }

  #cookie-banner .cookie-action {
    min-height: 42px;
    padding-inline: 8px;
    font-size: 10px;
  }

  #cookie-banner .cookie-category {
    padding: 12px;
  }

  #cookie-banner .cookie-category-topline {
    gap: 10px;
  }

  #cookie-banner .cookie-category h4,
  #cookie-banner .cookie-category-label {
    font-size: 16px;
  }

  #cookie-feedback {
    left: 12px;
    bottom: 62px;
    max-width: calc(100vw - 24px);
  }

  #cookie-reopen {
    left: 12px;
    bottom: 12px;
  }

  .cookie-policy {
    width: min(100% - 32px, 900px);
    padding: 52px 0 68px;
  }

  .cookie-policy .cookie-policy-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .cookie-policy .cookie-policy-lead {
    font-size: 14px;
  }

  .cookie-policy .cookie-policy-section,
  .cookie-policy .cookie-policy-note {
    padding: 19px 18px;
  }

  .cookie-policy .cookie-policy-section h2,
  .cookie-policy .cookie-policy-note h2 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cookie-banner .cookie-action,
  #cookie-banner .cookie-switch,
  #cookie-banner .cookie-switch::after,
  #cookie-reopen,
  .cookie-policy .cookie-policy-action {
    transition-duration: .01ms;
  }
}

/* Explicit, separate permission for the third-party booking service. */
.reservation-gate {
  width: min(520px, 100%);
  margin: 12vh auto 0;
  padding: 36px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #ffffff;
  color: #0c213b;
  text-align: center;
}
.reservation-gate .reservation-eyebrow { font: 700 10px/1.4 var(--font-brand); letter-spacing: .15em; color: #83572b; }
.reservation-gate h2 { margin: 18px 0; font: 400 32px/1.15 var(--font-brand); }
.reservation-gate p { font: 500 14px/1.65 var(--font-brand); }
.reservation-gate button { border: 1px solid #0c213b; border-radius: 3px; padding: 13px 22px; margin-top: 12px; background: #0c213b; color: white; font: 700 11px/1.3 var(--font-brand); letter-spacing: .08em; text-transform: uppercase; }
.reservation-gate button:hover { background: #83572b; border-color: #83572b; }
.reservation-gate .reservation-gate-note { font-size: 11px; color: #526274; margin-top: 15px; }
@media (max-width: 600px) { .reservation-gate { margin-top: 8vh; padding: 24px; } }

#cookie-banner.is-customizing .cookie-primary-actions,
#cookie-banner.is-customizing #cookie-preference-button,
#cookie-banner.is-customizing .cookie-message,
#cookie-banner.is-customizing .cookie-consent-state,
#cookie-banner.is-customizing .cookie-information-link { display: none; }
#cookie-banner.is-customizing .cookie-banner-intro { padding-bottom: 0; border-bottom: 0; }
#cookie-banner.is-customizing .cookie-preferences { border-top: 0; margin-top: 15px; padding-top: 0; }
#cookie-banner .cookie-preference-actions { position: sticky; bottom: -26px; z-index: 1; background: #ffffff; padding: 14px 0 4px; box-shadow: 0 -8px 12px #ffffff; }
@media (max-width: 600px) { #cookie-banner .cookie-preference-actions { bottom: -21px; } }

#cookie-banner .cookie-withdraw { grid-column: 1 / -1; min-height: 32px; padding: 7px; background: transparent; color: #526274; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
#cookie-banner .cookie-withdraw:hover { color: #83572b; }

/* The mobile header now occupies its own space, so policy content needs less top offset. */
@media (max-width: 1024px) {
  .cookie-policy { padding-top: 48px; padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .cookie-policy { padding-top: 36px; padding-bottom: 64px; }
}
