.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: min(720px, calc(100% - 32px));
  z-index: 9999;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  border-top-color: rgba(255,255,255,0.18);
  background:
    linear-gradient(135deg,
      rgba(215,228,255,0.09) 0%,
      rgba(185,210,255,0.04) 100%);
  backdrop-filter: blur(40px) saturate(180%);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.60),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.14);
  padding: 20px 24px;
  opacity: 0;
  transition:
    transform 0.44s cubic-bezier(0.34, 1.44, 0.64, 1),
    opacity   0.32s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner.is-hiding {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 260px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin: 0;
}


.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.cookie-btn--primary {
  background: linear-gradient(135deg, #ff6a3d 0%, #ff4d1a 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,106,61,0.30);
}
.cookie-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255,106,61,0.40);
}

#cookieReject {
  display: none;
}

.cookie-btn--secondary {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.10);
}
.cookie-btn--secondary:hover {
  background: rgba(255,255,255,0.11);
  color: #fff;
}

.cookie-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.07);
}
.cookie-btn--ghost:hover {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.14);
}

.cookie-settings {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s ease, padding 0.3s ease;
}

.cookie-settings.is-open {
  max-height: 200px;
  padding-top: 16px;
}

.cookie-settings__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.cookie-settings__item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #ff6a3d;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-settings__item-text {
  flex: 1;
}

.cookie-settings__item-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: block;
  margin-bottom: 2px;
}

.cookie-settings__item-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}

.cookie-settings__save {
  margin-top: 12px;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 8px;
    border-radius: 14px;
    padding: 12px 14px;
  }
  .cookie-banner__inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }
  .cookie-banner__text {
    font-size: 13.5px;
    flex: 1 1 0;
    min-width: 0;
  }

  .cookie-banner__actions {
    flex-shrink: 0;
    flex-direction: column;
    gap: 6px;
  }
  .cookie-btn {
    font-size: 12px;
    padding: 7px 12px;
    white-space: nowrap;
  }
}
