.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #0a0a09;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-consent__panel {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  margin-left: auto;
  padding: 24px;
  border: 1px solid #0a0a09;
  border-radius: 0;
  background: #f1eee6;
  box-shadow: 12px 12px 0 rgba(255, 77, 0, 0.9);
}

.cookie-consent__eyebrow {
  margin: 0 0 6px;
  color: #ff4d00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cookie-consent h2 {
  margin: 0;
  color: #0a0a09;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  font-size: 21px;
  font-weight: 760;
  line-height: 1.2;
}

.cookie-consent__copy > p:not(.cookie-consent__eyebrow) {
  max-width: 560px;
  margin: 9px 0 0;
  color: #343431;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-consent__status {
  font-weight: 700;
}

.cookie-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-consent__links a {
  color: #0a0a09;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  min-width: 164px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.cookie-consent__actions button {
  min-height: 43px;
  border: 1px solid #0a0a09;
  border-radius: 0;
  padding: 9px 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent__accept {
  background: #ff4d00;
  color: #0a0a09;
}

.cookie-consent__reject {
  background: #f1eee6;
  color: #0a0a09;
}

.cookie-consent__actions button:hover {
  transform: translateY(-1px);
}

.cookie-consent__actions button:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 3px solid #ff4d00;
  outline-offset: 3px;
}

.cookie-settings-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.page-footer .cookie-settings-link,
.site-footer .cookie-settings-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .cookie-consent__panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .cookie-consent__actions {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__actions button:hover {
    transform: none;
  }
}
