body.has-cookie-consent {
  padding-bottom: 142px;
}

.cookie-consent-banner {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(18, 18, 18, 0.98);
  color: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-consent-banner.is-hiding {
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
}

.cookie-consent-content {
  min-width: 0;
}

.cookie-consent-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.cookie-consent-text {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.55;
}

.cookie-consent-text a {
  color: #ffc277;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-consent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--orange, #f16411);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-consent-button:hover {
  background: var(--orange-dark, #c54d0d);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  body.has-cookie-consent {
    padding-bottom: 226px;
  }

  .cookie-consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 16px;
    width: auto;
    padding: 20px;
    border-radius: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner,
  .cookie-consent-button {
    transition: none;
  }
}
