/* Cookie Consent Banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #30251C;
  color: #F7F2ED;
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.consent-banner.visible {
  transform: translateY(0);
}
.consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.consent-text {
  flex: 1;
  min-width: 280px;
}
.consent-text p {
  margin: 0;
  color: #EEEAE5;
}
.consent-text a {
  color: #FCBA37;
  text-decoration: underline;
}
.consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.consent-btn {
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.consent-btn:hover { opacity: 0.85; }
.consent-btn-accept {
  background: #FCBA37;
  color: #30251C;
}
.consent-btn-reject {
  background: transparent;
  color: #EEEAE5;
  border: 1px solid rgba(238,234,229,0.3);
}
.consent-btn-manage {
  background: transparent;
  color: #EEEAE5;
  border: 1px solid rgba(238,234,229,0.3);
}

/* Preferences Panel */
.consent-prefs {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(238,234,229,0.15);
}
.consent-prefs.open { display: block; }
.consent-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.consent-pref-label {
  font-size: 13px;
  color: #EEEAE5;
}
.consent-pref-label small {
  display: block;
  color: rgba(238,234,229,0.6);
  font-size: 12px;
  margin-top: 2px;
}

/* Toggle switch */
.consent-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.consent-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.consent-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(238,234,229,0.2);
  border-radius: 22px;
  transition: background 0.2s;
}
.consent-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #EEEAE5;
  border-radius: 50%;
  transition: transform 0.2s;
}
.consent-toggle input:checked + .consent-toggle-slider {
  background: #FCBA37;
}
.consent-toggle input:checked + .consent-toggle-slider::before {
  transform: translateX(18px);
}
.consent-toggle input:disabled + .consent-toggle-slider {
  opacity: 0.5;
  cursor: default;
}
.consent-btn-save {
  margin-top: 12px;
  background: #FCBA37;
  color: #30251C;
}

@media (max-width: 600px) {
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .consent-buttons {
    flex-direction: column;
  }
  .consent-btn {
    text-align: center;
  }
}
