.ashecx-cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 22px;
  width: min(960px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 22px 24px;
  color: #fffaf5;
  font-family: var(--font-body, "Hanken Grotesk", system-ui, sans-serif);
  background: #1e1b19;
  border: 1px solid rgba(255, 250, 245, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 70px -32px rgba(0, 0, 0, 0.45);
}

.ashecx-cookie-banner__copy {
  max-width: 62ch;
  padding-right: 18px;
}

.ashecx-cookie-banner__copy strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ashecx-cookie-banner__copy p {
  margin: 0;
  color: rgba(255, 250, 245, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.ashecx-cookie-banner__copy a,
.ashecx-recaptcha-notice a {
  color: #a95f70;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ashecx-cookie-banner__actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.ashecx-cookie-banner__btn {
  min-width: 118px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

.ashecx-cookie-banner__btn--decline {
  color: #fffaf5;
  background: transparent;
  border: 1px solid rgba(255, 250, 245, 0.24);
}

.ashecx-cookie-banner__btn--accept {
  color: #1e1b19;
  background: #fffaf5;
  border: 1px solid #fffaf5;
}

.ashecx-cookie-banner__btn:focus-visible,
.ashecx-cookie-banner__x:focus-visible,
.ashecx-cookie-preferences:focus-visible,
.ashecx-footer-privacy-links a:focus-visible {
  outline: 2px solid var(--accent, #a95f70);
  outline-offset: 3px;
}

.ashecx-cookie-banner__x {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: rgba(255, 250, 245, 0.72);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.ashecx-footer-privacy-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ashecx-footer-privacy-links::before {
  content: none;
}

.ashecx-footer-privacy-links a,
.ashecx-cookie-preferences {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

html[data-theme="dark"] .ashecx-footer-privacy-links,
html[data-theme="dark"] .ashecx-footer-privacy-links a,
html[data-theme="dark"] .ashecx-cookie-preferences {
  color: #fffaf5;
}

html[data-theme="dark"] .ashecx-cookie-banner {
  color: #1e1b19;
  background: #fffaf5;
  border-color: rgba(169, 95, 112, 0.24);
}

html[data-theme="dark"] .ashecx-cookie-banner__copy p {
  color: rgba(30, 27, 25, 0.76);
}

html[data-theme="dark"] .ashecx-cookie-banner__btn--decline {
  color: #1e1b19;
  border-color: rgba(30, 27, 25, 0.22);
}

html[data-theme="dark"] .ashecx-cookie-banner__btn--accept {
  color: #fffaf5;
  background: #1e1b19;
  border-color: #1e1b19;
}

html[data-theme="dark"] .ashecx-cookie-banner__x {
  color: rgba(30, 27, 25, 0.72);
}

.ashecx-recaptcha-notice {
  max-width: 48ch;
  margin: 14px 0 0;
  color: var(--fg-3, rgba(30, 27, 25, 0.58));
  font-size: 12.5px;
  line-height: 1.45;
}

@media (max-width: 680px) {
  .ashecx-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    width: calc(100vw - 24px);
    padding: 20px;
  }

  .ashecx-cookie-banner__copy {
    padding-right: 24px;
  }

  .ashecx-cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .ashecx-cookie-banner__btn {
    width: 100%;
    min-width: 0;
  }
}
