.xhh-consent-banner {
  position: fixed;
  z-index: 9998;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 22px;
  color: #162438;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(19, 49, 80, .14);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(8, 28, 49, .2);
  font-family: Arial, Helvetica, sans-serif;
}

.xhh-consent-copy { max-width: 720px; }
.xhh-consent-copy strong { display: block; margin-bottom: 7px; color: #0e2b49; font-size: 18px; }
.xhh-consent-copy p { margin: 0; color: #46586d; font-size: 14px; line-height: 1.55; }
.xhh-consent-details,
.xhh-privacy-link {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.xhh-consent-details { margin-top: 8px; color: #1f5f91; font-size: 13px; font-weight: 700; }
.xhh-consent-details:focus-visible,
.xhh-privacy-link:focus-visible { outline: 3px solid rgba(31, 95, 145, .24); outline-offset: 3px; }
.site-footer .xhh-privacy-link { color: rgba(255, 255, 255, .82); }
.xhh-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 390px; }
.xhh-consent-actions button {
  min-height: 46px;
  padding: 10px 16px;
  color: #123653;
  background: #fff;
  border: 1px solid #285f8c;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}
.xhh-consent-actions button:hover,
.xhh-consent-actions button:focus-visible { color: #fff; background: #1f5f91; outline: 3px solid rgba(31, 95, 145, .18); outline-offset: 2px; }

body.xhh-privacy-open { overflow: hidden; }
.xhh-privacy-backdrop {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 20, 35, .72);
  font-family: Arial, Helvetica, sans-serif;
}
.xhh-privacy-backdrop[hidden] { display: none; }
.xhh-privacy-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 34px 34px 30px;
  color: #162438;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(3, 18, 32, .34);
}
.xhh-privacy-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: #162438;
  background: #fff;
  border: 2px solid #162438;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.xhh-privacy-close:focus-visible { outline: 4px solid rgba(31, 95, 145, .2); outline-offset: 2px; }
.xhh-privacy-brand { display: block; margin: 2px 56px 17px 0; color: #1f5f91; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.xhh-privacy-dialog h2 { margin: 0 54px 18px 0; color: #102a44; font-size: clamp(28px, 5vw, 38px); line-height: 1.08; }
.xhh-privacy-description { color: #46586d; font-size: 15px; line-height: 1.62; }
.xhh-privacy-description p { margin: 0 0 15px; }
.xhh-privacy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.xhh-privacy-actions button {
  min-height: 46px;
  padding: 10px 16px;
  color: #123653;
  background: #fff;
  border: 1px solid #285f8c;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}
.xhh-privacy-actions button:last-child { color: #fff; background: #1f5f91; }
.xhh-privacy-actions button[aria-pressed="true"] { box-shadow: 0 0 0 3px rgba(31, 95, 145, .22); }
.xhh-privacy-actions button:hover,
.xhh-privacy-actions button:focus-visible { outline: 3px solid rgba(31, 95, 145, .18); outline-offset: 2px; }

@media (max-width: 820px) {
  .xhh-consent-banner { right: 12px; bottom: 12px; left: 12px; display: block; padding: 18px; }
  .xhh-consent-actions { grid-template-columns: 1fr; min-width: 0; margin-top: 16px; }
  .xhh-privacy-dialog { padding: 28px 20px 22px; border-radius: 14px; }
  .xhh-privacy-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .xhh-consent-actions button { transition: none; }
}
