body.hosp-cookie-dialog-open {
  overflow: hidden;
}

.hosp-cookie-layer[hidden],
.hosp-cookie-layer [hidden] {
  display: none !important;
}

.hosp-cookie-layer {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hosp-cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 20, 0.72);
  backdrop-filter: blur(5px);
}

.hosp-cookie-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  padding: 30px;
  color: var(--hosp-ink, #152522);
  background: linear-gradient(145deg, #ffffff 0%, var(--hosp-cream-50, #fffaf2) 100%);
  border: 1px solid rgba(220, 231, 225, 0.96);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(7, 22, 20, 0.38);
}

.hosp-cookie-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--hosp-green-950, #12332f);
  background: #ffffff;
  border: 1px solid var(--hosp-line, #dce7e1);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.hosp-cookie-dialog__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-right: 48px;
}

.hosp-cookie-dialog__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--hosp-green-950, #12332f);
  background: var(--hosp-yellow-100, #fff3bf);
  border: 2px solid var(--hosp-yellow-500, #e5b321);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.hosp-cookie-dialog__eyebrow {
  margin: 0 0 4px;
  color: var(--hosp-red-800, #7a2e3b);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hosp-cookie-dialog h2 {
  margin: 0;
  padding: 0;
  color: var(--hosp-green-950, #12332f);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.17;
  font-weight: 880;
}

.hosp-cookie-dialog__lead {
  margin: 20px 0 24px;
  color: var(--hosp-muted, #52615e);
  font-size: 1rem;
  line-height: 1.65;
}

.hosp-cookie-actions,
.hosp-cookie-settings__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hosp-cookie-actions .hosp-cookie-button--quiet {
  grid-column: 1 / -1;
}

.hosp-cookie-button {
  min-height: 48px;
  padding: 12px 18px;
  color: #ffffff;
  background: var(--hosp-green-950, #12332f);
  border: 2px solid var(--hosp-green-950, #12332f);
  border-radius: 8px;
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 820;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hosp-cookie-button:hover {
  color: #ffffff;
  background: var(--hosp-red-800, #7a2e3b);
  border-color: var(--hosp-red-800, #7a2e3b);
  transform: translateY(-1px);
}

.hosp-cookie-button--quiet {
  color: var(--hosp-green-950, #12332f);
  background: #ffffff;
  border-color: var(--hosp-green-700, #286358);
}

.hosp-cookie-button--quiet:hover {
  color: var(--hosp-green-950, #12332f);
  background: var(--hosp-mint-50, #f1f7f3);
  border-color: var(--hosp-green-950, #12332f);
}

.hosp-cookie-settings {
  display: grid;
  gap: 12px;
}

.hosp-cookie-category {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--hosp-line, #dce7e1);
  border-radius: 9px;
}

.hosp-cookie-category h3,
.hosp-cookie-category strong {
  display: block;
  margin: 0 0 3px;
  padding: 0;
  color: var(--hosp-green-950, #12332f);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 850;
}

.hosp-cookie-category p,
.hosp-cookie-category small {
  display: block;
  margin: 0;
  color: var(--hosp-muted, #52615e);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hosp-cookie-category--toggle {
  cursor: pointer;
}

.hosp-cookie-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--hosp-green-950, #12332f);
  background: var(--hosp-yellow-100, #fff3bf);
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 850;
  white-space: nowrap;
}

.hosp-cookie-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
}

.hosp-cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.hosp-cookie-switch span {
  position: absolute;
  inset: 0;
  background: #bdc9c5;
  border: 2px solid #95a6a1;
  border-radius: 999px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.hosp-cookie-switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(18, 51, 47, 0.25);
  content: "";
  transition: transform 160ms ease;
}

.hosp-cookie-switch input:checked + span {
  background: var(--hosp-green-700, #286358);
  border-color: var(--hosp-green-700, #286358);
}

.hosp-cookie-switch input:checked + span::after {
  transform: translateX(22px);
}

.hosp-cookie-switch input:focus-visible + span {
  outline: 3px solid var(--hosp-yellow-500, #e5b321);
  outline-offset: 3px;
}

.hosp-cookie-settings__actions {
  margin-top: 4px;
}

.hosp-cookie-dialog__footer {
  margin: 22px 0 0;
  padding-top: 18px;
  color: var(--hosp-muted, #52615e);
  border-top: 1px solid var(--hosp-line, #dce7e1);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hosp-cookie-dialog__footer a {
  font-weight: 800;
}

.bottom-nav .hosp-cookie-settings-item {
  vertical-align: middle;
}

.hosp-cookie-settings-link {
  display: inline;
  padding: 0;
  color: #bbbbbb;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

.hosp-cookie-settings-link:hover {
  color: #ffffff;
  opacity: 0.8;
}

.hosp-external-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 24px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 10%, rgba(229, 179, 33, 0.22), transparent 35%),
    linear-gradient(145deg, var(--hosp-green-950, #12332f), #0a211e);
  text-align: center;
}

.hosp-external-media__content {
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 440px;
}

.hosp-external-media__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--hosp-green-950, #12332f);
  background: var(--hosp-yellow-500, #e5b321);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}

.hosp-external-media strong,
.hosp-external-media p {
  margin: 0;
  color: #ffffff;
}

.hosp-external-media strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.hosp-external-media p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hosp-external-media button {
  min-height: 42px;
  margin-top: 3px;
  padding: 9px 15px;
  color: var(--hosp-green-950, #12332f);
  background: var(--hosp-yellow-100, #fff3bf);
  border: 2px solid var(--hosp-yellow-500, #e5b321);
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.hosp-consented-iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hosp-privacy-policy {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 22px;
}

.hosp-policy-updated {
  justify-self: start;
  margin: 0;
  padding: 8px 12px;
  color: var(--hosp-green-950, #12332f);
  background: var(--hosp-yellow-100, #fff3bf);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.hosp-policy-section {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--hosp-line, #dce7e1);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(18, 51, 47, 0.07);
}

.hosp-policy-section h2 {
  margin: 0 0 13px;
  padding: 0;
  color: var(--hosp-green-950, #12332f);
  font-size: 1.48rem;
  line-height: 1.24;
}

.hosp-policy-section h3 {
  margin: 22px 0 8px;
  padding: 0;
  color: var(--hosp-green-850, #18483f);
  font-size: 1.1rem;
  line-height: 1.3;
}

.hosp-policy-section p:last-child,
.hosp-policy-section ul:last-child {
  margin-bottom: 0;
}

.hosp-policy-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hosp-policy-contact {
  padding: 18px;
  background: var(--hosp-mint-50, #f1f7f3);
  border-left: 5px solid var(--hosp-yellow-500, #e5b321);
  border-radius: 8px;
}

.hosp-policy-contact strong,
.hosp-policy-contact span {
  display: block;
}

.hosp-policy-table-wrap {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hosp-line, #dce7e1);
  border-radius: 8px;
}

.hosp-policy-table {
  width: 100%;
  min-width: 720px;
  margin: 0 !important;
  border: 0 !important;
}

.hosp-policy-table th,
.hosp-policy-table td {
  padding: 13px 14px !important;
  vertical-align: top;
  border-color: var(--hosp-line, #dce7e1) !important;
  font-size: 0.92rem;
  line-height: 1.48;
}

.hosp-policy-table th {
  color: #ffffff;
  background: var(--hosp-green-950, #12332f);
}

@media (max-width: 720px) {
  .hosp-content:has(.hosp-privacy-policy) {
    min-width: 0;
    max-width: 100%;
  }

  .hosp-cookie-layer {
    align-items: end;
    padding: 10px;
  }

  .hosp-cookie-dialog {
    width: 100%;
    max-height: 92vh;
    padding: 22px 18px;
    border-radius: 12px 12px 8px 8px;
  }

  .hosp-cookie-dialog__header {
    gap: 12px;
    padding-right: 38px;
  }

  .hosp-cookie-dialog__icon {
    width: 40px;
    height: 40px;
  }

  .hosp-cookie-actions,
  .hosp-cookie-settings__actions {
    grid-template-columns: 1fr;
  }

  .hosp-cookie-actions .hosp-cookie-button--quiet {
    grid-column: auto;
  }

  .hosp-cookie-category {
    align-items: flex-start;
    padding: 14px;
  }

  .hosp-cookie-status {
    white-space: normal;
    text-align: center;
  }

  .hosp-external-media {
    padding: 16px;
  }

  .hosp-external-media__icon {
    width: 40px;
    height: 40px;
  }

  .hosp-external-media p {
    display: none;
  }

  .hosp-policy-section {
    padding: 20px;
  }

  .hosp-policy-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hosp-cookie-button,
  .hosp-cookie-switch span,
  .hosp-cookie-switch span::after {
    transition: none;
  }
}
