.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background-color: #1a1b2a;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

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

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.cookie-consent-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-consent-text a {
  color: #d2c0b3;
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: #fff;
}

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

.cookie-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.cookie-consent-btn-accept {
  background-color: #d2c0b3;
  color: #1a1b2a;
}

.cookie-consent-btn-accept:hover {
  background-color: #e0d2c8;
}

.cookie-consent-btn-necessary {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-consent-btn-necessary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-policy-content p > button.cookie-preferences-link {
  display: inline-block;
  width: auto;
  max-width: none;
  overflow: visible;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-btn {
    flex: 1;
  }
}
