.consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 75;
  width: min(680px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  overflow: auto;
  padding: 26px;
  border: 1px solid #d8d8d1;
  border-top: 3px solid var(--gold, #a5874c);
  border-radius: 18px;
  background: #fff;
  color: #151617;
  box-shadow: 0 12px 42px #0000001a;
}
.consent-banner h2,
.consent-dialog h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.consent-banner p,
.consent-dialog p {
  max-width: 60ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #50534f;
}
.consent-policy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.4;
  color: #50534f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-actions,
.consent-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.consent-button,
.consent-settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #a9aaa3;
  border-radius: 99px;
  background: #fff;
  color: #151617;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}
.consent-actions > .consent-button,
.consent-dialog-actions > .consent-button {
  flex: 1 1 180px;
}
.consent-settings-button {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-button:hover,
.consent-settings-button:hover,
.consent-close:hover {
  background: #f3f3f1;
}
.consent-banner :focus-visible,
.consent-dialog :focus-visible {
  outline: 2px solid #82652f;
  outline-offset: 3px;
}
.consent-dialog {
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: auto;
  overflow: auto;
  padding: 28px;
  border: 1px solid #d8d8d1;
  border-radius: 18px;
  background: #fff;
  color: #151617;
  font-family: inherit;
}
.consent-dialog::backdrop {
  background: #11111170;
}
.consent-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.consent-dialog-header h2 {
  padding-top: 6px;
}
.consent-dialog-header form {
  margin: 0;
}
.consent-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d8d8d1;
  border-radius: 50%;
  color: #151617;
  font-size: 27px;
  line-height: 1;
}
.consent-essential {
  margin-top: 22px;
  padding: 18px 0;
  border-top: 1px solid #deded9;
  border-bottom: 1px solid #deded9;
}
.consent-essential h3 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 21px;
  cursor: pointer;
}
.consent-option input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #82652f;
  cursor: pointer;
}
.consent-option > span {
  min-width: 0;
  font-size: 16px;
  line-height: 1.5;
}
.consent-option strong,
.consent-option span > span {
  display: block;
}
.consent-option strong {
  margin-bottom: 7px;
  font-weight: 500;
}
.consent-option span > span {
  color: #50534f;
}
.consent-provider-link {
  margin-left: 35px;
}
.consent-dialog .consent-no-ads {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #deded9;
  font-size: 14px;
}
.consent-dialog-actions {
  margin-top: 18px;
  margin-bottom: 5px;
}
@media (max-width: 600px) {
  .consent-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    padding: 20px;
  }
  .consent-banner h2,
  .consent-dialog h2 {
    font-size: 22px;
  }
  .consent-actions {
    gap: 8px;
  }
  .consent-actions > .consent-button {
    flex-basis: calc(50% - 4px);
    padding-inline: 12px;
  }
  .consent-settings-button {
    width: 100%;
  }
  .consent-dialog {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent-banner *,
  .consent-dialog * {
    scroll-behavior: auto;
    transition: none;
  }
}

.footer-privacy-settings { min-height:44px; padding:8px 0; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.footer-privacy-settings:focus-visible { outline:2px solid #c9a861; outline-offset:4px; }
.analytics-privacy { max-width:75ch; margin-top:56px; padding-top:36px; border-top:1px solid #deded9; scroll-margin-top:120px; }
.analytics-privacy h2 { font-size:clamp(26px,3vw,40px); line-height:1.2; margin-bottom:24px; }
.analytics-privacy p { font-size:17px; line-height:1.65; margin:0 0 20px; }
