.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid rgba(0, 79, 0, 0.15);
  box-shadow: 0 -8px 32px rgba(30, 35, 41, 0.12);
  padding: 1.25rem 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-consent-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

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

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

.cookie-consent-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-banner__text {
  flex: 1 1 320px;
  min-width: 0;
}

.cookie-consent-banner__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black-dark, #1e2329);
  margin-bottom: 0.35rem;
}

.cookie-consent-banner__desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--gray-dark, #666);
}

.cookie-consent-banner__desc a {
  color: var(--green-dark, #004f00);
  text-decoration: underline;
}

.cookie-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  font-size: 0.9375rem !important;
  padding: 10px 20px !important;
  white-space: nowrap;
}

.cookie-preferences-modal .modal-title {
  color: var(--black-dark, #1e2329);
  font-weight: 600;
}

.cookie-preferences-intro {
  color: var(--gray-dark, #666);
  margin-bottom: 1.25rem;
}

.cookie-preference-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.cookie-preference-item:last-of-type {
  border-bottom: 0;
}

.cookie-preference-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.cookie-preference-item__header strong {
  color: var(--black-dark, #1e2329);
}

.cookie-preference-item p {
  font-size: 0.875rem;
  color: var(--gray-dark, #666);
  line-height: 1.45;
}

.cookie-preference-badge {
  background: rgba(0, 79, 0, 0.1);
  color: var(--green-dark, #004f00);
  font-weight: 500;
}

.cookie-preferences-footer {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-preferences-footer .outline-btn,
.cookie-preferences-footer .primary-btn {
  font-size: 0.9375rem !important;
  padding: 10px 20px !important;
}

.cookie-settings-link {
  color: inherit;
  text-decoration: underline;
}

.cookie-settings-link:hover {
  color: var(--green-light, #99cc00);
}

@media (max-width: 767.98px) {
  .cookie-consent-banner__actions {
    width: 100%;
  }

  .cookie-consent-banner__actions .cookie-consent-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .cookie-preferences-footer {
    justify-content: stretch;
  }

  .cookie-preferences-footer .outline-btn,
  .cookie-preferences-footer .primary-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
