.cookie-consent {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 1000;
  width: min(480px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-top: 5px solid #bd965e;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(142, 47, 52, .34), rgba(189, 150, 94, .12) 48%, rgba(255, 255, 255, .04) 100%),
    #211b18;
  color: #fff;
  box-shadow: 0 30px 90px rgba(14, 10, 8, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-consent[hidden],
.cookie-settings[hidden] {
  display: none;
}

.cookie-consent h2 {
  margin: 0 0 10px;
  color: inherit;
  font-family: inherit;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.cookie-consent p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.6;
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.cookie-consent button,
.cookie-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.cookie-consent button:hover,
.cookie-settings:hover {
  transform: translateY(-1px);
}

.cookie-consent-accept {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.cookie-consent-decline {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.cookie-consent-link {
  color: #f5d7a4;
  font-weight: 800;
  text-underline-offset: 3px;
}

.cookie-consent-link:hover {
  color: #fff;
}

.cookie-settings {
  background: #fff;
  color: #211b18;
}

.cookie-settings {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  box-shadow: 0 10px 28px rgba(46, 33, 26, .12);
}

@media (max-width: 520px) {
  .cookie-consent {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent button {
    width: 100%;
  }
}
