/* ============================================
   GDPR Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--color-primary, #1a2744);
  color: rgba(255,255,255,0.9);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body, 'Source Sans 3', sans-serif);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
.cookie-banner__text {
  flex: 1;
  min-width: 280px;
}
.cookie-banner__text h4 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  color: var(--color-accent, #c8a456);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.cookie-banner__text p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.75);
}
.cookie-banner__text a {
  color: var(--color-accent-light, #dabb6f);
  text-decoration: underline;
}
.cookie-banner__text a:hover {
  color: #fff;
}

/* Toggle switches */
.cookie-banner__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 14px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle__switch {
  width: 38px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}
.cookie-toggle__switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}
.cookie-toggle input:checked + .cookie-toggle__switch {
  background: var(--color-accent, #c8a456);
}
.cookie-toggle input:checked + .cookie-toggle__switch::after {
  transform: translateX(18px);
}
.cookie-toggle input:disabled + .cookie-toggle__switch {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-toggle__label {
  color: rgba(255,255,255,0.85);
}
.cookie-toggle__label small {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

/* Buttons */
.cookie-banner__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.cookie-btn {
  display: block;
  width: 100%;
  padding: 11px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-body, 'Source Sans 3', sans-serif);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.cookie-btn--accept-all {
  background: var(--color-accent, #c8a456);
  color: var(--color-primary, #1a2744);
}
.cookie-btn--accept-all:hover {
  background: var(--color-accent-light, #dabb6f);
}
.cookie-btn--save {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.cookie-btn--save:hover {
  background: rgba(255,255,255,0.2);
}
.cookie-btn--reject {
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  font-size: 0.8rem;
  text-decoration: underline;
  padding: 6px;
}
.cookie-btn--reject:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    padding: 20px 16px;
  }
  .cookie-banner__buttons {
    flex-direction: row;
    width: 100%;
  }
  .cookie-banner__buttons .cookie-btn {
    flex: 1;
  }
  .cookie-banner__options {
    gap: 8px 16px;
  }
}
