/* Basic cookie consent UI (lightweight) */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 0.9rem 0;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid #e7e7e7;
  box-shadow: 0 -12px 30px rgba(0,0,0,0.06);
}

.cookie-banner-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  appearance: none;
  border: 1px solid var(--border, #e2e2e2);
  background: #f8fafc;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 800;
  transition: transform .05s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.cookie-btn.primary {
  background: var(--accent, #f97316);
  color: #fff;
  border-color: var(--accent, #f97316);
}

.cookie-btn.primary:hover {
  filter: brightness(1.02);
}
.cookie-btn:active {
  transform: translateY(1px);
}
.cookie-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-3, rgba(249,115,22,.28));
}


.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-overlay.is-open {
  display: flex;
}

.cookie-modal {
  width: min(640px, 100%);
  background: #fff;
  border-radius: 0.8rem;
  border: 1px solid #e7e7e7;
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
  overflow: hidden;
}

.cookie-modal-head {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cookie-modal-title {
  font-weight: 700;
  margin: 0;
}

.cookie-modal-body {
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f3f3;
}

.cookie-row:first-child {
  border-top: 0;
}

.cookie-row small {
  display: block;
  color: #777;
  margin-top: 0.15rem;
}

.cookie-switch {
  flex-shrink: 0;
}

.cookie-modal-foot {
  padding: 1rem 1.1rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    justify-content: flex-start;
  }
}
