.social-button-wrapper {
  bottom: 30px;
  min-width: 45px;
  position: fixed;
  right: 30px;
  text-align: center;
  z-index: 94;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.social-button-wrapper .social-button {
  position: relative;
  max-height: 40px;
}

.social-button .icon-whatsapp {
  background-color: transparent !important;
  background-image: url(/public/images/whatapp.png);
  background-repeat: no-repeat;
  background-size: cover;
}

@media only screen and (max-width: 768px) {
  .social-button-wrapper {
    display: none;
  }
}

/* ===== MENU FOOTER MOBILE ===== */
.menu-footer-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  align-items: stretch;
  background: #ffffff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767px) {
  .menu-footer-mobile {
    display: flex;
  }
}

.menu-footer-mobile_item {
  flex: 1 1 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  position: relative;
}

/* CỘT TRÁI: ZALO + WHATSAPP */
.menu-footer-mobile_item:nth-child(1) > div {
  display: flex;
  width: 100%;
  height: 100%;
}
.menu-footer-mobile_item .icon-zalo:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-image: url(/public/images/zalo.svg);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 3px;
  background-position: center center;
}
.menu-footer-mobile_item .icon-whatsapp:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-image: url(/public/images/whatapp.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 3px;
  background-position: center center;
}

.menu-footer-mobile_item:nth-child(1) a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.2;
  transition: background 0.2s ease;
}

.menu-footer-mobile_item:nth-child(1) a:active {
  background: rgba(0, 0, 0, 0.04);
}

.menu-footer-mobile_item:nth-child(1) [class^="icon-"] {
  font-size: 22px;
  line-height: 1;
}

.menu-footer-mobile_item .zalo {
  color: #0068ff;
}
.menu-footer-mobile_item .whatsapp {
  color: #25d366;
}

/* CỘT GIỮA: PHONE — dùng màu chủ đạo #bf1108 */
.menu-footer-mobile_item .phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 68px;
  height: 68px;
  margin-top: -28px;
  border-radius: 50%;
  background: #bf1108;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(191, 17, 8, 0.4);
  border: 4px solid #fff;
  animation: phone-pulse 2.2s infinite;
}

.menu-footer-mobile_item .phone .icon-phone {
  font-size: 26px;
  line-height: 1;
}

.menu-footer-mobile_item .phone span:last-child {
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

@keyframes phone-pulse {
  0% {
    box-shadow:
      0 6px 16px rgba(191, 17, 8, 0.4),
      0 0 0 0 rgba(191, 17, 8, 0.4);
  }
  70% {
    box-shadow:
      0 6px 16px rgba(191, 17, 8, 0.4),
      0 0 0 10px rgba(191, 17, 8, 0);
  }
  100% {
    box-shadow:
      0 6px 16px rgba(191, 17, 8, 0.4),
      0 0 0 0 rgba(191, 17, 8, 0);
  }
}

/* CỘT PHẢI: ĐẶT LỊCH TƯ VẤN */
.menu-footer-mobile_item:nth-child(3) > div {
  display: flex;
  width: 100%;
  height: 100%;
}
.menu-footer-mobile_item:nth-child(3) a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.menu-footer-mobile_item .icon-facebook:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-image: url(/public/images/fb_icon.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 3px;
  background-position: center center;
}
.menu-footer-mobile_item .facebook {
  color: #1877f2;
}
.menu-footer-mobile_item .js-modal {
  color: #bf1108;
  font-size: 9px !important;
}

.menu-footer-mobile_item:nth-child(3) a:active {
  background: rgba(0, 0, 0, 0.04);
}

.menu-footer-mobile_item:nth-child(3) .icon-edit {
  font-size: 22px;
  line-height: 1;
  color: #bf1108;
  margin-bottom: 2px;
}
.menu-footer-mobile_item .icon-edit:before {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 3px;
}
