.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 680px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(61, 53, 48, 0.18);
  padding: 24px 28px;
  z-index: 9999;
  animation: cookieSlideIn 320ms ease-out;
  font-family: 'Lato', sans-serif;
}
.cookie-banner--dark {
  background: rgba(19, 28, 44, 0.95);
  color: #E2E8F0;
}
@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #1E293B;
  font-family: 'Playfair Display', serif;
}
.cookie-banner--dark .cookie-banner__title { color: #E2E8F0; }

.cookie-banner__text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}
.cookie-banner--dark .cookie-banner__text { color: #A5B4C7; }

.cookie-banner__text a { color: #C97D60; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 9px 20px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.cookie-btn--accept {
  background: #C97D60;
  color: #fff;
  border-color: #C97D60;
}
.cookie-btn--accept:hover { background: #b56c50; }

.cookie-btn--reject {
  background: transparent;
  color: #475569;
  border-color: rgba(0,0,0,0.18);
}
.cookie-btn--reject:hover { background: rgba(0,0,0,0.05); }

.cookie-btn--manage {
  background: transparent;
  color: #C97D60;
  border-color: #C97D60;
}
.cookie-btn--manage:hover { background: rgba(201,125,96,0.08); }

/* Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  font-family: 'Lato', sans-serif;
}
.cookie-modal__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #3D3530;
}
.cookie-modal__desc {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Switch rows */
.cookie-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.cookie-switch-row__info { flex: 1; padding-right: 16px; }
.cookie-switch-label { font-weight: 600; font-size: 0.9rem; color: #3D3530; }
.cookie-switch-desc { font-size: 0.8rem; color: #7A6A62; margin-top: 2px; }

/* Toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.25s;
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  left: 3px; top: 3px;
  transition: transform 0.25s;
}
.cookie-toggle input:checked + .cookie-toggle__slider { background: #C97D60; }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle__slider { opacity: 0.5; cursor: not-allowed; }

.cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}
