.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10000;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.34);
}
.cookie-consent__panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
}
.cookie-consent__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #d7d7d7;
}
.cookie-consent__header h2 {
  margin: 0;
  color: #111;
  font-size: 1.2rem;
  line-height: 1.2;
}
.cookie-consent__icon {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.cookie-consent__body {
  padding: 26px 24px 22px;
}
.cookie-consent__body h3 {
  margin: 0 0 14px;
  color: #151515;
  font-size: 1.15rem;
}
.cookie-consent__intro {
  margin-bottom: 24px;
}
.cookie-consent__intro p {
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}
.cookie-consent__state {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.cookie-consent__row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 24px;
  color: #202020;
  font-size: 1.02rem;
  cursor: pointer;
}
.cookie-consent__row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-consent__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
}
.cookie-consent__row input:checked + .cookie-consent__mark {
  color: #1937d3;
  font-size: 1.35rem;
  font-weight: 800;
}
.cookie-consent__details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #1937d3;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
}
.cookie-consent__chevron {
  color: #111;
  font-size: 1.4rem;
  line-height: 1;
}
.cookie-consent__details {
  display: grid;
  gap: 22px;
  margin-top: 18px;
  padding: 22px 20px;
  border-radius: 8px;
  background: #f0f0f0;
  color: #111;
  overflow-wrap: anywhere;
}
.cookie-consent__details strong {
  display: block;
  margin-bottom: 6px;
}
.cookie-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 24px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}
.cookie-consent__btn {
  min-height: 46px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
}
.cookie-consent__btn--primary {
  border: 1px solid #1937d3;
  background: #1937d3;
  color: #fff;
}
.cookie-consent__btn--secondary,
.cookie-consent__btn--ghost {
  border: 1px solid #a3a3a3;
  background: #fff;
  color: #333;
}
.cookie-consent__btn:disabled {
  color: #9ca3af;
  border-color: #c7c7c7;
  cursor: not-allowed;
}
.cookie-settings-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-settings-link:hover { opacity: .78; }

@media (max-width: 640px) {
  .cookie-consent__panel {
    inset: 0;
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
