.cookie-consent[hidden] { display: none !important; }
.cookie-consent {
  position: fixed;
  z-index: 200;
  inset: auto 0 0;
  padding: 14px max(18px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  border-top: 1px solid var(--border, #dedbd4);
  background: color-mix(in srgb, var(--surface, #fbf9f4) 96%, transparent);
  color: var(--text, #303335);
  box-shadow: 0 -12px 40px rgba(20, 22, 20, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1400px);
  margin-inline: auto;
}
.cookie-consent__copy { min-width: 0; }
.cookie-consent__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--orange, #f36b21);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}
.cookie-consent__copy h2 {
  margin: 0 0 4px;
  color: var(--text, #303335);
  font-family: var(--font-display, Arial, sans-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.cookie-consent__copy p {
  max-width: 780px;
  margin: 0;
  color: var(--muted-text, #777a79);
  font-size: 12px;
  line-height: 1.55;
}
.cookie-consent__copy a {
  color: var(--text, #303335);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange, #f36b21);
  text-underline-offset: 3px;
}
.cookie-consent__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 9px;
}
.cookie-consent__button {
  min-width: 124px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border, #dedbd4);
  border-radius: 6px;
  background: var(--surface-2, #e9e6de);
  color: var(--text, #303335);
  font-size: 12px;
  font-weight: 750;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.cookie-consent__button:hover {
  border-color: var(--orange, #f36b21);
  transform: translateY(-1px);
}
.cookie-consent__button:focus-visible,
.cookie-preferences-link:focus-visible {
  outline: 2px solid var(--orange, #f36b21);
  outline-offset: 3px;
}
.cookie-preferences-row {
  display: flex;
  justify-content: flex-end;
  padding: 0 clamp(18px, 7vw, 112px) 14px;
  background: var(--charcoal, #44484b);
}
.cookie-preferences-link {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #e4e3df;
  font-size: 10px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(243, 107, 33, .85);
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-preferences-link:hover { color: #fff; }
:root[data-theme="dark"] .cookie-consent {
  border-color: var(--border, #3b3e3d);
  background: color-mix(in srgb, var(--surface, #242827) 96%, transparent);
  color: var(--text, #eeeae2);
  box-shadow: 0 -14px 48px rgba(0, 0, 0, .38);
}
:root[data-theme="dark"] .cookie-consent__copy h2,
:root[data-theme="dark"] .cookie-consent__copy a { color: var(--text, #eeeae2); }
:root[data-theme="dark"] .cookie-consent__button {
  border-color: var(--border, #3b3e3d);
  background: var(--surface-2, #2c302f);
  color: var(--text, #eeeae2);
}
@media (max-width: 700px) {
  .cookie-consent { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .cookie-consent__inner { display: grid; gap: 12px; }
  .cookie-consent__copy h2 { font-size: 16px; }
  .cookie-consent__copy p { font-size: 11px; }
  .cookie-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cookie-consent__button { min-width: 0; width: 100%; min-height: 45px; padding-inline: 10px; }
  .cookie-preferences-row { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent__button { transition: none; }
}
