.hs-cookie[hidden], .hs-cookie-settings[hidden] { display: none !important; }
.hs-cookie {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(650px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  box-sizing: border-box;
  background: #fff;
  color: var(--body);
  border: 2px solid var(--ocean);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgb(13 6 79 / 12%);
  font-family: var(--sans);
}
.hs-cookie h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font: 400 30px/1.1 var(--serif);
  letter-spacing: -.025em;
  text-transform: none;
}
.hs-cookie p { margin: 0; color: var(--body); font: 400 15px/1.45 var(--sans); }
.hs-cookie a { display: inline-block; margin-top: 5px; color: var(--ocean); font: 550 14px/1.45 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.hs-cookie-actions { display: grid; gap: 7px; }
.hs-cookie-actions button {
  margin: 0;
  min-width: 132px;
  min-height: 44px;
  padding: 9px 16px;
  color: var(--ocean);
  background: #fff;
  border: 1px solid var(--ocean);
  border-radius: 30px;
  font: 550 14px/1.2 var(--sans);
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
.hs-cookie-actions button:hover, .hs-cookie-actions button:focus-visible {
  background: var(--ocean);
  color: #fff;
}
.hs-cookie :is(button,a):focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; }
.hs-cookie-settings {
  margin: 0;
  padding: 5px 0;
  min-height: auto;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: 550 13px/1.4 var(--sans);
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0;
}
.hs-cookie-settings:hover { color: var(--ocean); background: transparent; }
@media (max-width: 600px) {
  .hs-cookie {
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    padding: 16px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .hs-cookie h2 { font-size: 26px; }
  .hs-cookie-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-cookie-actions button { min-width: 0; }
}
html { scroll-padding-bottom: var(--hs-cookie-space, 0px); }
body:has(.hs-cookie:not([hidden])) .hs-footer { padding-bottom: calc(32px + var(--hs-cookie-space, 0px)); }
