.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  max-height: calc(100vh - 76px);
  overflow: auto;
  background: #ffffff;
  color: #1F2937;
  border-top: 4px solid #0A2647;
  box-shadow: 0 -8px 28px rgba(6, 24, 48, 0.16);
  padding: 16px 6% calc(16px + env(safe-area-inset-bottom));
  font-family: Karla, sans-serif;
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-copy { flex: 1 1 auto; min-width: 0; }

.cookie-banner-title {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0A2647;
}

.cookie-banner p {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.cookie-banner-privacy { margin-bottom: 0; }

.cookie-banner a {
  color: #0A2647;
  font-weight: 700;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  width: 39rem;
}

.cookie-btn,
.cookie-switch {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 48px;
  padding: 12px 16px;
  text-align: center;
  border-radius: 4px;
  border: 2px solid #0A2647;
  cursor: pointer;
}

.cookie-btn {
  background: #0A2647;
  color: #ffffff;
}

.cookie-banner-actions .cookie-btn {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
}

.cookie-btn-quiet {
  background: #ffffff;
  color: #0A2647;
}

.cookie-btn:hover,
.cookie-switch:hover { background: #061830; color: #ffffff; }

.cookie-btn-quiet:hover { background: #0A2647; color: #ffffff; }

.cookie-btn:focus-visible,
.cookie-switch:focus-visible,
.cookie-banner a:focus-visible,
[data-cookie-settings]:focus-visible {
  outline: 3px solid #3EB489;
  outline-offset: 2px;
}

.cookie-panel {
  max-width: 1120px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid #E5E8ED;
}

.cookie-panel[hidden] { display: none !important; }

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #E5E8ED;
}

.cookie-row-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: #0A2647;
}

.cookie-row-desc { margin: 0; color: #1F2937; }

.cookie-always {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f7f1;
  color: #0A2647;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cookie-switch {
  flex: 0 0 auto;
  min-width: 148px;
  background: #ffffff;
  color: #0A2647;
}

.cookie-switch[aria-checked="true"] {
  background: #0A2647;
  color: #ffffff;
}

.cookie-panel-actions { padding-top: 14px; }

.cookie-panel-actions .cookie-btn { width: 100%; }

.booking-notice {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1F2937;
}

.booking-notice a {
  color: #0A2647;
  font-weight: 700;
}

.privacy-content { max-width: 760px; }

.privacy-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.7rem;
  color: #0A2647;
}

.privacy-content p,
.privacy-content li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #1F2937;
}

.privacy-content p { margin: 0 0 0.9rem; }

.privacy-content ul,
.privacy-content ol {
  margin: 0 0 1rem 1.25rem;
}

.privacy-content li { margin-bottom: 0.4rem; }

.privacy-content a { color: #0A2647; font-weight: 700; }

.privacy-updated { font-weight: 700; }

.to-confirm {
  background: #FFF3CD;
  color: #1F2937;
  font-weight: 700;
  padding: 0 3px;
}

.privacy-table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.privacy-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid #E5E8ED;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.privacy-table th {
  background: #F8F9FB;
  color: #0A2647;
}

@media (max-width: 1100px) {
  .cookie-banner-inner,
  .cookie-row { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions {
    width: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cookie-banner-actions .cookie-btn,
  .cookie-switch { width: 100%; flex: 1 1 auto; }
  #cookie-manage { grid-column: 1 / -1; }
}

@media print {
  .cookie-banner { display: none !important; }
}
