/* Cookie sáv — B2C egyedi oldalak (card-builder, checkout, főoldal) */

.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(15, 15, 15, 0.97);
  border-top: 1px solid rgba(220, 38, 38, 0.35);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  color: #d4d4d8;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.cookie-text {
  line-height: 1.45;
  flex: 1;
  min-width: 0;
}

.cookie-text a {
  color: #f87171;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: #fca5a5;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-btn-primary {
  background: #dc2626;
  color: #fff;
  border-color: #b91c1c;
}

.cookie-btn-primary:hover {
  background: #b91c1c;
}

.cookie-btn-secondary {
  background: #27272a;
  color: #e4e4e7;
  border-color: #3f3f46;
}

.cookie-btn-secondary:hover {
  background: #3f3f46;
}

.cookie-btn-ghost {
  background: transparent;
  color: #a1a1aa;
  border-color: #52525b;
}

.cookie-btn-ghost:hover {
  color: #fafafa;
  border-color: #71717a;
}

.cookie-settings {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

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

.cookie-settings-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  margin: 0 0 0.5rem;
}

.cookie-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 12px;
  cursor: pointer;
}

.cookie-save {
  margin-top: 0.5rem;
}
