.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10050;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.35);
}

.cookie-consent-panel {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  color: #222;
}

.cookie-consent-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.cookie-consent-panel p {
  margin: 0.35rem 0;
  line-height: 1.5;
  font-size: 0.92rem;
}

.cookie-consent-details {
  margin: 0.65rem 0;
  font-size: 0.88rem;
}

.cookie-consent-details summary {
  cursor: pointer;
  font-weight: 600;
}

.cookie-consent-category {
  margin-top: 0.65rem;
}

.cookie-consent-more {
  margin-top: 0.5rem;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.cookie-btn {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.cookie-btn-primary {
  background: #1a5fb4;
  border-color: #1a5fb4;
  color: #fff;
}

.cookie-btn-secondary {
  background: #fff;
  color: #222;
}

@media (max-width: 520px) {
  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
