#cookie {
  z-index: 10;
}

.mess-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  border-radius: 10px;
  box-shadow: 0 -4px 13.9px 0 rgba(0, 0, 0, 0.25),
  -3px 6px 10.5px 0 rgba(0, 0, 0, 0.2);
  padding: 22px;
  max-width: 270px;
  width: 100%;
  /*background-image: url('/themes/construct/assets/img/banner-background.webp');*/
  background-color: #f1f1f1;
  background-size: cover;
  z-index: 100;
}

.mess-banner-header {
  text-align: center;
  margin-bottom: 10px;
}

.mess-banner-title {
  font-size: 18px;
  font-weight: 600;
  color: #282828;
  line-height: 1.2;
  margin: 0;
}

.mess-banner-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 15px;
  height: 15px;
  border: none;
  background: #CBCBCB;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  transition: all 0.3s ease;
  flex-shrink: 0;
  line-height: normal;
  padding-bottom: 3px;
}

.mess-banner-close:hover {
  background: #e0e0e0;
  color: #333;
}

.mess-banner-description {
  text-align: center;
  font-size: 16px;
  color: #282828;
  line-height: normal;
  margin-bottom: 10px;
  font-weight: 400;
}

.mess-banner-subtitle {
  font-size: 14px;
  color: #797979;
  margin-bottom: 7px;
  text-align: center;
  font-weight: 400;
}

.mess-banner-buttons {
  display: flex;
  gap: 12px;
}

.mess-banner-button {
  flex: 1;
  padding: 6px 7px 7px;
  border: none;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.3s ease;
}

.mess-banner-button:focus {
  color: #ffffff;
  text-decoration: unset;
}

.mess-banner-button span {
  display: flex;
  margin-bottom: auto;
  transform: translateY(3px);
  font-weight: 400;
}

.mess-banner-button-telegram {
  background: #4aa3e6;
  color: white;
}

.mess-banner-button-telegram:hover {
  background: #3a93d6;
  transform: translateY(-2px);
  text-decoration: unset;
  color: #ffffff;
}

.mess-banner-button-max {
  background-image: url('/plugins/ms/widgets/components/widbots/assets/image/background-max.webp');
  background-size: cover;
  background-position-y: center;
  color: white;
}

.mess-banner-button-max:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  text-decoration: unset;
  color: #ffffff;
}

.button-icon {
  width: 20px;
  height: 20px;
}

.button-icon img {
  width: 100%;
}

@media (max-width: 768px) {
  .mess-banner-subtitle {
    display: none;
  }

  .mess-banner {
    max-width: calc(100% - 30px);
    left: 15px;
    right: 15px;
    bottom: 85px;
  }

  .mess-banner.with-cookie {
    bottom: 160px;
  }

  .mess-banner-close {
    width: 25px;
    height: 25px;
    font-size: 20px;
    padding-top: 1px;
  }

  .mess-banner-button span {
    transform: translateY(2px);
  }
}