.cookie-consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  border-radius: 1rem;
  border: 1px solid rgba(236, 72, 153, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: #3d2f25;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(4px);
  padding: 0.95rem 1rem;
}

.cookie-consent-banner[hidden] {
  display: none;
}

.cookie-consent-content {
  display: grid;
  gap: 0.6rem;
}

.cookie-consent-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
}

.cookie-consent-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-consent-copy a {
  color: #9b2c62;
  text-decoration: underline;
  font-weight: 700;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-consent-btn {
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid rgba(79, 111, 168, 0.35);
  padding: 0.42rem 0.95rem;
  cursor: pointer;
}

.cookie-consent-btn.accept {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #9b2c62, #c94f82);
}

.cookie-consent-btn.reject {
  color: #4f6fa8;
  background: rgba(255, 255, 255, 0.8);
}

.dark-mode .cookie-consent-banner {
  background: rgba(58, 58, 58, 0.96);
  color: #f0e2d5;
  border-color: rgba(243, 168, 202, 0.42);
}

.dark-mode .cookie-consent-copy a {
  color: #f3a8ca;
}

.dark-mode .cookie-consent-btn.reject {
  color: #f3a8ca;
  border-color: rgba(243, 168, 202, 0.5);
  background: rgba(33, 33, 33, 0.82);
}

@media (min-width: 768px) {
  .cookie-consent-banner {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 720px;
    margin-left: auto;
  }

  .cookie-consent-content {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.9rem 1rem;
  }

  .cookie-consent-copy {
    grid-column: 1 / 2;
  }

  .cookie-consent-actions {
    grid-column: 2 / 3;
    justify-content: flex-end;
  }
}
