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

.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: min(390px, calc(100% - 48px));
  box-sizing: border-box;
  padding: 26px;
  background: #f7f6f0;
  color: #242824;
  border: 1px solid #d5d5cd;
  border-top: 4px solid #b52e20;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .12);
}

.cookie-banner .cookie-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b52e20;
  margin: 0 0 10px;
}

.cookie-banner h2 {
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #242824;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.cookie-banner a {
  color: #b52e20;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.cookie-actions button {
  flex: 1;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #242824;
  background: #242824;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}

.cookie-actions button:hover {
  background: #b52e20;
  border-color: #b52e20;
}

.cookie-actions button:focus-visible,
.cookie-settings:focus-visible {
  outline: 3px solid #b52e20;
  outline-offset: 4px;
}

.cookie-settings {
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    right: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }
}