.cookie-preferences { width: min(620px, calc(100% - 24px)); max-height: min(800px, calc(100dvh - 32px)); padding: 0; border: 1px solid #dce4eb; border-radius: 16px; color: #18304c; background: white; box-shadow: 0 24px 80px #18304c33; overflow: hidden; }
.cookie-preferences::backdrop { background: #18304c88; }
.cookie-preferences form { display: flex; flex-direction: column; max-height: min(800px, calc(100dvh - 34px)); margin: 0; }
.cookie-dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid #e1e7ec; flex-shrink: 0; }
.cookie-dialog-header img { width: 155px; height: auto; }
.cookie-close { width: 38px; height: 38px; font-size: 28px; line-height: 1; color: #18304c; background: #f7f9fb; border: 1px solid #dce4eb; border-radius: 9px; }
.cookie-dialog-content { padding: 24px 26px; overflow-y: auto; min-height: 0; }
.cookie-dialog-content h2 { font-size: 24px; margin: 0 0 14px; font-weight: 700; }
.cookie-dialog-content p, .cookie-dialog-content > a { font-size: 13px; line-height: 1.7; }
.cookie-dialog-content p { color: #62758a; }
.cookie-dialog-content a { color: #417505; text-decoration: underline; }
.cookie-dialog-content h3 { font-size: 19px; font-weight: 700; margin: 26px 0 18px; }
.cookie-category { border: 1px solid #dce4eb; border-radius: 6px; margin-top: 8px; }
.cookie-category-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px; gap: 10px; }
.cookie-category-heading { display: flex; align-items: center; gap: 10px; padding: 0; text-align: left; border: 0; background: none; font-size: 14px; font-weight: 600; color: #18304c; }
.cookie-category-heading > span { font-size: 22px; width: 16px; flex-shrink: 0; }
.cookie-always-active, .cookie-unused { font-size: 11px; color: #417505; white-space: nowrap; }
.cookie-unused { color: #6a7989; }
.cookie-category-description { font-size: 12px; line-height: 1.7; padding: 0 16px 16px 38px; color: #62758a; }
.cookie-switch { position: relative; flex-shrink: 0; width: 42px; height: 24px; margin: 0; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; }
.cookie-switch > span { display: block; height: 100%; background: #a2adb8; border-radius: 20px; pointer-events: none; }
.cookie-switch > span::before { content: ''; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; background: white; border-radius: 50%; transition: transform .15s; }
.cookie-switch input:checked + span { background: #417505; }
.cookie-switch input:checked + span::before { transform: translateX(18px); }
.cookie-switch input:focus-visible + span { outline: 3px solid #91b861; outline-offset: 3px; }
.cookie-dialog-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 26px; border-top: 1px solid #e1e7ec; flex-shrink: 0; }
.cookie-dialog-footer button { padding: 12px 8px; min-height: 44px; border-radius: 7px; border: 1px solid #417505; background: #417505; color: white; font-size: 13px; font-weight: 600; }
.cookie-dialog-footer #reject-optional-cookies { background: white; color: #417505; }
.cookie-save-error { color: #b42318 !important; }
.cookie-saved-message { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 12px 18px; border: 1px solid #cbdcba; border-radius: 9px; background: #f4f8ee; color: #386324; z-index: 2000; font-size: 12px; box-shadow: 0 8px 24px #18304c22; }
.compact-booking .booking-details { display: flex; flex-direction: column; }
.compact-booking .booking-details-content { display: flex; flex-direction: column; flex: 1; }
.booking-privacy-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; }
.booking-privacy-links button, .booking-privacy-links a { padding: 4px 0; border: 0; background: none; color: #417505; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
@media (max-width: 400px) { .cookie-dialog-header, .cookie-dialog-content, .cookie-dialog-footer { padding: 18px; } .cookie-dialog-content h2 { font-size: 21px; } .cookie-category-row { padding: 14px 10px; } .cookie-category-heading { font-size: 12px; gap: 7px; } .cookie-always-active, .cookie-unused { font-size: 10px; } }
@media (max-width: 720px) {
  .compact-booking .booking-card { grid-template-rows: max-content max-content max-content; }
  .compact-booking .booking-card.directions-open { grid-template-rows: max-content max-content max-content max-content; }
  .compact-booking .booking-details { display: block; }
  .compact-booking .booking-details-content { flex: none; }
  .compact-booking .booking-details, .compact-booking .booking-selector, .compact-booking .booking-directions { min-height: max-content; }
}

.compact-aside:has(.booking-privacy-links) { display: flex; flex-direction: column; }
.compact-aside .booking-privacy-links { flex-shrink: 0; }
.compact-aside > img { flex-shrink: 0; }
.page-shell > .booking-privacy-links { max-width: 360px; margin-top: 20px; padding-top: 0; }
