.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.cookie-banner .container {
  background: white;
  border: 1px solid var(--Stroke-Default, #00000026);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6.938rem;
  border-radius: 2.5rem 2.5rem 0 0;
}
.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--secondary);
}

.cookie-banner__text a {
  color: var(--accent-link);
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: grid;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 12.063rem;
}

.cookie-banner__buttons .news__btn-all {
  margin-top: 0;
}
.cookie-banner__buttons .btn {
  width: 100%;
  font-size: 1rem;
  padding: 0.75rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: #d9d9d98c;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 2.5rem;
  padding: 1.5rem 3.188rem;
  max-width: 30rem;
  width: 100%;
  position: relative;
  transition: transform 0.3s ease;
}

.cookie-mini__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.modal__close img {
  width: 1rem;
  height: 1rem;
}
.modal__close:hover {
  transform: rotate(90deg);
}

.modal__title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-align: center;
  width: 23.625rem;
}

.modal__subtitle {
  font-size: 1rem;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.4;
  width: 23.625rem;
  font-weight: 500;
}

.modal__messengers {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.messenger-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.5rem;
}

.messenger-btn:hover {
  transform: translateY(-4px);
}

.modal__cta {
  text-align: center;
}

.modal__cta .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.demo-buttons {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.demo-btn {
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.demo-btn:hover {
  background: #e06a1a;
  transform: translateY(-2px);
}

@media (max-width: 48em) {
  .cookie-banner__buttons {
    width: 100%;
  }
  .cookie-mini {
    width: calc(100% - 2rem);
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .modal__close {
    top: 1rem;
    right: 1rem;
    width: 1rem;
    height: 1rem;
  }
  .modal {
    padding: 1.5rem;
    border-radius: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .cookie-banner .container {
    display: grid;
    border-radius: 1.5rem;
    gap: 1rem;
    padding: 1.5rem;
  }
  .modal__title {
    width: 100%;
    font-size: 1.25rem;
  }
  .modal__subtitle {
    width: 100%;
    font-size: 0.875rem;
  }
  .modal__messengers {
    gap: 1.5rem;
  }
  .cookie-mini__title {
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }
  .cookie-banner__text {
    font-size: 0.75rem;
  }
  .cookie-banner__text a {
    font-weight: 600;
  }
  .messenger-btn {
    width: 3rem;
    height: 3rem;
  }
}
