#htcontact {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 85px;
    right: 25px;
    z-index: 99;
}
#htcontact a, .ht-hienan{
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    width:50px !important;
    height:50px !important;
    padding:0px;
    text-transform: none;
    margin-top: 5px;
}
#htcontact a img, .ht-hienan img{
    width: 25px;
}
#ht-phone{
    background: #34A853;
}
#ht-zalo {
    background: #4285F4;
}
#ht-messenger {
    background: #4267b2;
}
#ht-email {
    background: #FBBC05;
}
#ht-buy {
  background: #EA4335;
}
#ht-messenger:hover, #ht-zalo:hover, #ht-email:hover, #ht-phone:hover,#ht-buy:hover {
    filter: hue-rotate(45deg);
}
#ht-messenger span, #ht-zalo span, #ht-email span, #ht-phone span, #ht-anhien span, #ht-andi span, #ht-buy span{
  display: none;
  word-break: normal;
}
#ht-messenger:hover span, #ht-zalo:hover span, #ht-email:hover span, #ht-phone:hover span, #ht-anhien:hover span, #ht-andi:hover span, #ht-buy:hover span {
    background:#000;
    padding: 4px;
    display: block;
    z-index: 100;
    right: 55px;
    margin: 10px;
    position: absolute;
    font-size:13px;
    border-radius:4px;
    color:#fff;
    top: 0px;
    opacity:0.8;
    text-decoration: none;
    /* Thêm các thuộc tính sau */
    max-width: 150px; /* Đặt giới hạn chiều dài của văn bản */
    overflow: hidden; /* Ẩn văn bản nếu nó vượt quá giới hạn */
    text-overflow: ellipsis; /* Thêm dấu ba chấm nếu văn bản bị cắt */
    white-space: nowrap; /* Ngăn chặn văn bản xuống hàng */
}
#htnutan{white-space: initial;}
#htnutan img{
    padding:0px !important;
    margin:0px !important;
    box-shadow:0px 0px 0px !important;
    display: inline !important;
}
#htnutan button{
    line-height: 1.2 !important;
    font-family: Arial, sans-serif;
    font-weight: normal;
}
#ht-anhien, #ht-andi {
    position: fixed;
    bottom: 10px;
    right: 10px; 
    z-index: 99; 
    background: #444;
}
#ht-anhien, #ht-andi {
  -webkit-animation: glowing 1100ms infinite;
  -moz-animation: glowing 1100ms infinite;
  -o-animation: glowing 1100ms infinite;
  animation: glowing 1100ms infinite;
}
#htcontact img:hover{
transform: scale(1.2);
animation: runglac 0.5s;
animation-iteration-count: infinite;
} 
@keyframes runglac {
 0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
@-webkit-keyframes glowing {
  0% { background-color: #777; -webkit-box-shadow: 0 0 3px #777; }
  50% { background-color: #000; -webkit-box-shadow: 0 0 10px #999; }
  100% { background-color: #777; -webkit-box-shadow: 0 0 3px #777; }
}
@-moz-keyframes glowing {
  0% { background-color: #777; -moz-box-shadow: 0 0 3px #777; }
  50% { background-color: #000; -moz-box-shadow: 0 0 10px #999; }
  100% { background-color: #777; -moz-box-shadow: 0 0 3px #777; }
}
@-o-keyframes glowing {
  0% { background-color: #777; box-shadow: 0 0 3px #777; }
  50% { background-color: #000; box-shadow: 0 0 10px #999; }
  100% { background-color: #777; box-shadow: 0 0 3px #777; }
}
@keyframes glowing {
  0% { background-color: #777; box-shadow: 0 0 3px #777; }
  50% { background-color: #000; box-shadow: 0 0 10px #999; }
  100% { background-color: #777; box-shadow: 0 0 3px #777; }
}
/* Desktop and mobile */
@media (max-width: 549px) {
/*.htdesktop{display:none !important}
.htmobile{display:flex !important}*/
  #htcontact {
      right: 0;
      bottom: 0;
      flex-direction: row;
      width: 100%;
      white-space: initial;
          align-items: center;
    justify-content: center;
  }
  #ht-anhien, #ht-andi {
    display: none;
  }
  #htcontact a{
    width: 100%!important;
    border-radius: 0;
    height: auto!important;
    padding: 2px 0;
    background: none;
    flex-direction: column;
  }
  #htcontact a img{
    width: 22px;
  }
  #ht-messenger span, #ht-zalo span, #ht-email span, #ht-phone span, #ht-buy span {
    display: block;
    font-size: 10px;
  }
  #ht-messenger:hover span, #ht-zalo:hover span, #ht-email:hover span, #ht-phone:hover span, #ht-anhien:hover span, #ht-andi:hover span, #ht-buy:hover span {
    display: none;
  }
   /* theme thay doi tren dien thoai */
  .htmobile.Pro1{background: linear-gradient(47deg, rgb(19 141 160) 0%, rgb(0 243 86) 100%);}
  .htmobile.Pro2{background: linear-gradient(47deg, rgb(222 33 0) 0%, rgb(255 200 0) 100%);}
  .htmobile.Pro3{background: linear-gradient(36deg, rgba(0,101,247,1) 0%, rgb(0 240 252) 100%);}
  .htmobile.Pro4{background: linear-gradient(36deg, rgba(31,132,252,1) 0%, rgb(255 0 212) 100%);}
}