/* Shared, locally served privacy controls; preserve both existing page themes. */
.hd-cookie-banner[hidden], [data-hd-map] [hidden] { display: none !important; }
.hd-cookie-banner, .hd-cookie-dialog { color: #24282e; background: #fffdf9; font-family: Inter, Arial, sans-serif; font-size: 15px; line-height: 1.55; box-sizing: border-box; }
.hd-cookie-banner { position: fixed; z-index: 10000; inset: auto 0 0; border-top: 1px solid #d5ccbd; box-shadow: 0 -4px 24px #0002; padding: 20px max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 28px; max-height: 55dvh; overflow-y: auto; }
.hd-cookie-copy { max-width: 820px; }
.hd-cookie-banner h2, .hd-cookie-dialog h2 { color: #24282e; font-family: Inter, Arial, sans-serif; font-size: 21px; line-height: 1.3; margin: 0 0 8px; letter-spacing: 0; text-transform: none; }
.hd-cookie-banner p, .hd-cookie-dialog p { color: #353b42; font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.hd-cookie-banner a, .hd-cookie-dialog a, .hd-map-placeholder a { color: #694d1d; text-decoration: underline; text-underline-offset: 3px; }
.hd-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.hd-cookie-actions button, .hd-map-placeholder button { font: 600 15px/1.3 Inter, Arial, sans-serif; min-height: 44px; padding: 10px 16px; color: #24282e; background: #fffdf9; border: 1.5px solid #75603c; border-radius: 6px; cursor: pointer; }
.hd-cookie-actions button:hover, .hd-map-placeholder button:hover { background: #f0e9dc; }
.hd-cookie-actions [data-hd-consent="accept"], .hd-cookie-actions [data-hd-consent="save"] { background: #24282e; border-color: #24282e; color: #fff; }
.hd-cookie-actions [data-hd-consent="accept"]:hover, .hd-cookie-actions [data-hd-consent="save"]:hover { background: #434950; border-color: #434950; }
.hd-cookie-actions .hd-cookie-settings-link { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.hd-cookie-actions .hd-cookie-settings-link:hover { background: #f0e9dc; }
.hd-cookie-banner p { margin-bottom: 0; }
.hd-cookie-active { display: inline-block; margin-left: 12px; font-size: 13px; font-weight: 500; color: #356345; }
.hd-cookie-banner :focus-visible, .hd-cookie-dialog :focus-visible, .hd-map-placeholder :focus-visible { outline: 3px solid #135ead; outline-offset: 3px; }
.hd-cookie-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid #8b682b; border-radius: 12px; overflow-y: auto; }
.hd-cookie-dialog::backdrop { background: #121820b3; }
.hd-cookie-dialog h3 { font: 700 16px/1.4 Inter, Arial, sans-serif; color: #24282e; margin: 0 0 8px; }
.hd-cookie-category { margin: 20px 0; padding-bottom: 16px; border-bottom: 1px solid #d5ccbd; }
.hd-cookie-category label { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.hd-cookie-category input { width: 22px; height: 22px; flex-shrink: 0; accent-color: #694d1d; }
.hd-cookie-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hd-map-placeholder { min-height: 340px; padding: 36px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid #d5ccbd; background: #f6f3ee; color: #24282e; border-radius: 12px; }
.hd-map-placeholder p { max-width: 600px; margin: 8px 0 16px; }
.hd-map-placeholder h3 { color: #24282e; }
body.hd-cookie-visible { padding-bottom: calc(var(--hd-cookie-height, 0px) + 72px); }
html { scroll-padding-bottom: calc(var(--hd-cookie-height, 0px) + 80px); }
body.hd-cookie-visible #hdc-btn { bottom: calc(var(--hd-cookie-height) + 16px); }
body.hd-cookie-visible #hdc { bottom: calc(var(--hd-cookie-height) + 80px); max-height: calc(100dvh - var(--hd-cookie-height) - 96px); }
body.hd-cookie-visible .mobile-call { bottom: var(--hd-cookie-height); }
@media (max-width: 1100px) {
  .hd-cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
  .hd-cookie-actions { flex-shrink: 1; }
}
@media (max-width: 680px) {
  .hd-cookie-banner { padding: 14px 16px max(14px, env(safe-area-inset-bottom)); }
  .hd-cookie-banner h2 { font-size: 18px; }
  .hd-cookie-banner p { font-size: 14px; }
  .hd-cookie-actions button { flex: 1 1 auto; }
  .hd-cookie-banner .hd-cookie-actions { gap: 8px; }
  .hd-cookie-banner .hd-cookie-actions [data-hd-consent] { flex: 1 1 calc(50% - 4px); padding-inline: 10px; }
  .hd-cookie-banner .hd-cookie-actions .hd-cookie-settings-link { flex: 1 1 100%; padding-block: 6px; }
  .hd-cookie-dialog { padding: 20px; }
  body.hd-cookie-visible #hdc-btn, body.hd-cookie-visible #a11y-btn { bottom: calc(var(--hd-cookie-height) + 68px); }
  body.hd-cookie-visible #hdc { bottom: calc(var(--hd-cookie-height) + 124px); max-height: calc(100dvh - var(--hd-cookie-height) - 140px); }
}
