/* ==========================================================
   cookie-consent.css — Cedar Stone Bistro
   Cookie consent banner — fixed bottom panel.
   ========================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--cs-bg-2);
  border-top: 1px solid var(--cs-line-gold);
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.6);
  animation: cookie-slide-up 0.35s ease both;
}

@keyframes cookie-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    animation: none;
  }
}

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.25rem;
}

.cookie-consent__text {
  flex: 1;
  min-width: 240px;
  font-size: 1.1375rem;
  color: var(--cs-muted);
  line-height: 1.6;
  margin: 0;
}

.cookie-consent__link {
  color: var(--cs-gold);
  text-decoration: underline;
  transition: color var(--transition);
}

.cookie-consent__link:hover {
  color: var(--cs-white);
}

.cookie-consent__prefs {
  flex-basis: 100%;
  padding: 1rem;
  border: 1px solid var(--cs-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.cookie-consent__prefs:focus {
  outline: none;
}

.cookie-consent__prefs-title {
  color: var(--cs-gold);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cookie-consent__prefs-list {
  display: grid;
  gap: 0.35rem;
}

.cookie-consent__prefs-list li {
  color: var(--cs-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
}

.cookie-consent__btn {
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__btn {
    flex: 1;
    min-width: 0;
  }
}
