@keyframes code-pro-rung-lac {
  0% {
    transform: rotate(0) scale(1);
  }
  10% {
    transform: rotate(-25deg) scale(1);
  }
  20% {
    transform: rotate(25deg) scale(1);
  }
  30% {
    transform: rotate(-25deg) scale(1);
  }
  40% {
    transform: rotate(25deg) scale(1);
  }
  50% {
    transform: rotate(0) scale(1);
  }
  100% {
    transform: rotate(0) scale(1);
  }
}
.fixed__button__pc {
  position: fixed;
  bottom: 125px;
  right: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  width: 70px;
  padding: 1.5rem 0.5rem;
  border-radius: 35px 0 0 35px;
  background: var(--primary_color);
  box-sizing: border-box;
}
.fixed__button__pc:after, .fixed__button__pc:before {
  content: "";
  position: absolute;
  right: 0;
  height: 30px;
  width: 75px;
  pointer-events: none;
}
.fixed__button__pc:before {
  top: -30px;
  border-radius: 0 0 50px 0;
  box-shadow: 35px 1px 0 0 var(--primary_color);
}
.fixed__button__pc:after {
  bottom: -30px;
  border-radius: 0 50px 0 0;
  box-shadow: 35px -1px 0 0 var(--primary_color);
}
.fixed__button__pc a {
  display: block;
  position: relative;
  text-align: center;
  text-decoration: none;
}
.fixed__button__pc a:hover {
  text-decoration: none;
}
.fixed__button__pc a img {
  width: 25px;
  height: auto;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem;
}
.fixed__button__pc a img.Zalo {
  filter: invert(1) brightness(0) saturate(100%) invert(100%);
}
.fixed__button__pc a i[class*="fa-"] {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 30px;
  color: #fff;
}
.fixed__button__pc a i[class*="fa-"]:before, .fixed__button__pc a i[class*="fa-"]:after {
  color: inherit;
}
.fixed__button__pc a span {
  display: block;
  color: #fff;
  font-size: 9px;
  line-height: 1.1;
  margin-top: 0;
  text-align: center;
  font-weight: 500;
}
.fixed__button__pc a ins {
  position: absolute;
  left: -145px;
  top: 0;
  z-index: 9;
  padding: 5px 10px;
  border: 1px solid #d31616;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
}
.fixed__button__pc a ins::after {
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #d41716;
  position: absolute;
  right: -6px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.fixed__button__pc a ins::before {
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #fff;
  position: absolute;
  right: -4px;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 9;
}
.fixed__button__pc a:hover ins {
  opacity: 1;
  visibility: visible;
}
.fixed__button__pc a img.rung {
  animation: code-pro-rung-lac 2s ease infinite;
}
@media only screen and (min-width: 1101px) {
  .scrollToTop {
    right: 16px;
    bottom: 36px;
  }
}
.fixed__button__mobile {
  display: none;
}
@media only screen and (max-width: 1100px) {
  .fixed__button__pc {
    display: none;
  }
  .fixed__button__mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0 5px;
    background: var(--primary_color);
    box-shadow: 0 -5px 19px 0 rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
  }
  .fixed__button__mobile > div {
    flex: 1;
    border: 0 !important;
    opacity: 1 !important;
    text-align: center;
  }
  .fixed__button__mobile a {
    display: block;
    text-decoration: none;
  }
  .fixed__button__mobile a img {
    max-height: 24px !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 0 auto 3px;
    object-fit: contain !important;
  }
  .fixed__button__mobile a span {
    display: block;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
  }
  .fixed__button__mobile a ins {
    display: none;
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}
