.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 12000;
  color: #22252a;
}

.cookie-consent__inner {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(34, 37, 42, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(34, 37, 42, 0.22);
  backdrop-filter: blur(12px);
}

.cookie-consent__copy {
  min-width: 0;
}

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cookie-consent__copy p {
  margin: 0;
  color: #555b64;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent__copy a {
  display: inline-block;
  margin-top: 5px;
  color: #8a1f2d;
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 10px;
}

.cookie-consent__button {
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.cookie-consent__button--reject {
  border-color: #22252a;
  background: #22252a;
}

.cookie-consent__button--accept {
  border-color: #f54343;
  background: #f54343;
}

.cookie-consent__button:focus-visible,
.footer-cookie-button:focus-visible {
  outline: 3px solid rgba(245, 67, 67, 0.35);
  outline-offset: 3px;
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-cookie-message {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 28px;
  color: #fff;
  text-align: center;
  background: #22252a;
}

.video-cookie-message p {
  max-width: 520px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.video-cookie-message button,
.video-cookie-message a {
  width: fit-content;
  margin: 0 auto;
  font-weight: 850;
}

.video-cookie-message button {
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #f54343;
  cursor: pointer;
}

.video-cookie-message a {
  color: #fff;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
    border-radius: 17px;
  }

  .cookie-consent__copy p {
    font-size: 0.84rem;
  }

  .cookie-consent__actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent__button {
    min-height: 44px;
    padding-inline: 12px;
  }
}

