#main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 50px;
    width: 50px;
    font-size: 25px;
    color: #fff;
    cursor: pointer;
    background-color: #c90000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

#main-button ~ a {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 50px;
    width: 50px;
    font-size: 25px;
    opacity: 0;
    text-decoration: none;
    color: #fff;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.2s linear;
}

#main-button i {
    z-index: 999;
}

#main-button ~ .zalo-custom,
#main-button ~ .whatsapp-custom {
    background: linear-gradient(0deg, #00B100, #09db09);
}

#main-button ~ .messenger-custom {
    background: linear-gradient(0deg, #0078FF, #00C6FF);
}

#main-button.open ~ a {
    opacity: 1;
    transition: all 0.4s cubic-bezier(0, 0.01, 0, 1.27);
}

#main-button.open ~ a:nth-of-type(1) { bottom: 80px; }
#main-button.open ~ a:nth-of-type(2) { bottom: 160px; }
#main-button.open ~ a:nth-of-type(3) { bottom: 240px; }

.wave {
    animation: wave 1s linear infinite;
    
}

@keyframes wave {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0px 10px rgb(190 159 159 / 60%);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }
    100% {
    transform: scale(.9);
    box-shadow: 0 0 0 0 transparent;
    }

}

.open {
    animation-iteration-count: 1;
}

.open:after {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
    height: 100%;
    width: 100%;
    content: '';
}
#shortcode-content {
    position: absolute;
    bottom: 100px; /* Khoảng cách từ nút chính xuống nội dung shortcode */
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: none; /* Ẩn nội dung shortcode mặc định */
    z-index: 999999;
    max-width: 600px!important;
    width: 600px!important;
    word-wrap: break-word;
    text-align: center;
}

#main-div[data-position="left"] #shortcode-content {
    left: 0;
    transform: translateX(0); /* Không dịch chuyển khi ở bên trái */
}

#main-div[data-position="right"] #shortcode-content {
    right: 0;
    transform: translateX(0); /* Không dịch chuyển khi ở bên phải */
}

#shortcode-content.show {
    display: block;
}
:root {
  --lmkt-contact-primary-color: var(--primary-color);
  --lmkt-contact-secondary-color: #fff;
  --lmkt-contact-text-color: #111;
  --lmkt-contact-hover-color: #ec1f27;
  --lmkt-contact-shadow-color: rgba(0, 0, 0, 0.1);
  --lmkt-contact-border-radius: 15px;
  --lmkt-contact-icon-size: 16px;
}

#side-links-wrapper {
  position: fixed;
  top: 35%;
  right: -100px;
  transition: all 0.4s ease-in-out;
  z-index: 999;
}

#side-links-wrapper:hover {
  right: 0;
}

#side-links-wrapper .box_content {
  background: var(--lmkt-contact-secondary-color);
  padding: 10px;
  box-shadow: 0 4px 10px var(--lmkt-contact-shadow-color);
  border-radius: var(--lmkt-contact-border-radius) 0 0 var(--lmkt-contact-border-radius);
}

#side-links-wrapper .side-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--lmkt-contact-text-color);
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 5px;
  background: var(--lmkt-contact-secondary-color);
  margin-bottom: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

#side-links-wrapper .side-link:last-child {
  margin-bottom: 0;
}

#side-links-wrapper .side-link:hover {
  color: var(--lmkt-contact-secondary-color);
  background: var(--lmkt-contact-primary-color);
  box-shadow: 0 4px 10px var(--lmkt-contact-shadow-color);
}

#side-links-wrapper .side-link i {
  font-size: var(--lmkt-contact-icon-size);
  margin-right: 10px;
  color: var(--lmkt-contact-primary-color);
  transition: all 0.3s ease;
}

#side-links-wrapper .side-link:hover i {
  color: var(--lmkt-contact-secondary-color);
}

#side-links-wrapper .side-link-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  #side-links-wrapper {
    top: auto;
    bottom: 20px;
    right: -80px;
  }

  #side-links-wrapper:hover {
    right: 0;
  }

  #side-links-wrapper .side-link {
    font-size: 14px;
    padding: 10px;
  }
}

