/* Scoped consent interface. Optional choices have equal visual weight. */
.hh-consent-banner,
.hh-consent-dialog {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  color: #604041;
  background: #fff;
  border: 1px solid #e5c3c4;
  font-size: 14px;
  line-height: 1.6;
}
.hh-consent-banner {
  position: fixed;
  z-index: 10000;
  inset: auto 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(96, 64, 65, .16);
  max-height: min(70vh, 560px);
  overflow: auto;
}
.hh-consent-banner h2,
.hh-consent-dialog h2 { margin: 0 0 8px; color: #841b3b; font-size: 21px; font-weight: 600; line-height: 1.25; }
.hh-consent-banner p,
.hh-consent-dialog p { margin: 0; }
.hh-consent-banner a,
.hh-consent-dialog a,
.hh-consent-noscript a { color: #841b3b; text-decoration: underline; text-underline-offset: .2em; }
.hh-consent-links { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hh-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hh-consent-actions .hh-consent-secondary { grid-column: 1 / -1; }
.hh-consent-button,
.hh-consent-close {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #841b3b;
  border-radius: 7px;
  background: #841b3b;
  color: #fff;
  font: 600 14px/1.4 "Montserrat", sans-serif;
  text-align: center;
  cursor: pointer;
}
.hh-consent-button:hover { background: #6c1630; border-color: #6c1630; }
.hh-consent-secondary { color: #841b3b; background: #fff; }
.hh-consent-secondary:hover { color: #841b3b; background: #fdf2ee; }
.hh-consent-close { flex: none; background: transparent; border-color: transparent; color: #841b3b; padding-inline: 10px; }
.hh-consent-close:hover { background: #fdf2ee; }
.hh-consent-button:focus-visible,
.hh-consent-close:focus-visible,
.hh-consent-dialog input:focus-visible { outline: 3px solid #b83746; outline-offset: 3px; }
.hh-consent-status { grid-column: 1 / -1; padding: 12px; background: #fbe1d8; border-radius: 6px; }
.hh-consent-dialog {
  position: fixed;
  inset: 0;
  z-index: 10002;
  width: min(620px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 28px;
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(70, 20, 35, .2);
}
.hh-consent-dialog:not([open]) { display: none; }
.hh-consent-dialog::backdrop { background: rgba(41, 23, 29, .5); }
.hh-consent-backdrop { position: fixed; z-index: 10001; inset: 0; background: rgba(41, 23, 29, .5); }
.hh-consent-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.hh-consent-dialog-heading h2 { margin: 8px 0 0; font-size: 25px; }
.hh-consent-category { padding-block: 20px; border-bottom: 1px solid #edd8d8; }
.hh-consent-category-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 8px; color: #841b3b; font-size: 17px; font-weight: 600; line-height: 1.4; }
.hh-consent-category-heading h3 { color: inherit; font-size: inherit; font-weight: inherit; }
.hh-consent-category-heading input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: #841b3b; cursor: pointer; }
.hh-consent-required { font-size: 12px; font-weight: 600; background: #fbe1d8; border-radius: 20px; padding: 5px 12px; white-space: nowrap; }
.hh-consent-dialog .hh-consent-note { padding-block: 20px; font-size: 13px; }
.hh-consent-dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hh-consent-dialog-actions .hh-consent-secondary { grid-column: 1 / -1; }
.hh-consent-noscript { font-size: 13px; text-align: center; padding: 16px; color: #604041; background: #fdf2ee; }
body.hh-consent-modal-open { overflow: hidden; }
@media (max-width: 900px) {
  .hh-consent-banner { grid-template-columns: 1fr; gap: 18px; }
  .hh-consent-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hh-consent-actions .hh-consent-secondary { grid-column: auto; }
}
@media (max-width: 620px) {
  .hh-consent-banner { inset: auto 8px 8px; width: calc(100% - 16px); padding: 18px; border-radius: 12px; font-size: 13px; }
  .hh-consent-banner h2 { font-size: 19px; }
  .hh-consent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-consent-actions .hh-consent-secondary { grid-column: 1 / -1; }
  .hh-consent-dialog { padding: 20px; }
  .hh-consent-dialog-heading { gap: 8px; }
  .hh-consent-dialog-heading h2 { font-size: 22px; }
  .hh-consent-button { padding-inline: 10px; font-size: 13px; }
}
