.custom-logo-link { 
  display: flex;
  align-items: center;
  flex-shrink: 0;        
}

.custom-logo,
.custom-logo-link img {

  width: auto !important;
  max-width: 100%;
  display: inline-block;
}


@media (max-width: 768px) {
  .custom-logo,
  .custom-logo-link img {
    height: 40px !important;
  }
}


.logo-wrap-overflow-fix { overflow: visible !important; }



.banner img {
  width: 100%;       
  height: auto;       
  display: block;     
}


.banner {
  width: 100%;
  overflow: hidden;   
}

@media (max-width: 768px) {
  .banner img {
    max-height: 250px; 
    object-fit: cover;
  }
}


/* ================================
   DROPDOWN MENU (menu con)
================================ */


header nav .menu-item-parent {
  position: relative;
}


header nav .menu-item-parent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

header nav .menu-item-parent > .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

header nav .menu-item-parent:hover > .sub-menu,
header nav .menu-item-parent:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header nav .sub-menu .sub-menu-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #374151;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

header nav .sub-menu .sub-menu-link:hover {
  background: #eff6ff;
  color: #f97316;
}

header nav .menu-caret {
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

header nav .menu-item-parent:hover .menu-caret {
  transform: rotate(180deg);
}


#mobile-menu .sub-menu {
  list-style: none;
  margin: 0.75rem 0 0 1rem;
  padding: 0 0 0 0.75rem;
  border-left: 2px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#mobile-menu .sub-menu .sub-menu-link {
  display: block;
  color: #4b5563;
  font-size: 0.85rem;
}

#mobile-menu .sub-menu .sub-menu-link:hover {
  color: #f97316;
}

#mobile-menu .menu-caret {
  display: none;
}


/* ================================
   NÚT HOTLINE RUNG + CHAT FACEBOOK
   (widget nổi giống bản cũ)
================================ */

.hotline-phone-ring-wrap {
  position: fixed;
  bottom: 55px;
  left: 0;
  z-index: 999999;
}

.hotline-phone-ring {
  position: relative;
  width: 110px;
  height: 110px;
  cursor: pointer;
  z-index: 11;
}

.hotline-phone-ring-circle {
  width: 85px;
  height: 85px;
  top: 10px;
  left: 10px;
  position: absolute;
  border-radius: 100%;
  border: 2px solid #e60808;
  animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  transform-origin: 50% 50%;
  opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
  width: 55px;
  height: 55px;
  top: 25px;
  left: 25px;
  position: absolute;
  background-color: rgba(230, 8, 8, 0.7);
  border-radius: 100%;
  animation: phonering-alo-circlefill-anim 2.3s infinite ease-in-out;
  transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
  background-color: #e60808;
  width: 33px;
  height: 33px;
  top: 37px;
  left: 37px;
  position: absolute;
  border-radius: 100%;
  overflow: hidden;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
}

.hotline-phone-ring-img-circle a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hotline-bar {
  position: absolute;
  background: rgba(230, 8, 8, 0.75);
  height: 40px;
  width: 190px;
  line-height: 40px;
  padding: 0 10px;
  cursor: pointer;
  transition: all 0.8s;
  z-index: 9;
  box-shadow: 2px 2px 6px -1px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  top: 37px;
  left: 40px;
}

.hotline-bar > a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-indent: 50px;
  display: block;
  letter-spacing: 1px;
  line-height: 40px;
}

@keyframes phonering-alo-circle-anim {
  0%   { transform: rotate(0) scale(0.5) skew(1deg); opacity: 0.1; }
  30%  { transform: rotate(0) scale(0.7) skew(1deg); opacity: 0.5; }
  100% { transform: rotate(0) scale(1) skew(1deg);   opacity: 0.1; }
}

@keyframes phonering-alo-circlefill-anim {
  0%   { transform: rotate(0) scale(0.7) skew(1deg); opacity: 0.6; }
  50%  { transform: rotate(0) scale(1) skew(1deg);   opacity: 0.6; }
  100% { transform: rotate(0) scale(0.7) skew(1deg); opacity: 0.6; }
}

@keyframes phonering-alo-circle-img-anim {
  0%        { transform: rotate(0) scale(1) skew(1deg); }
  10%, 20%  { transform: rotate(-25deg) scale(1) skew(1deg); }
  30%, 50%  { transform: rotate(25deg) scale(1) skew(1deg); }
  40%       { transform: rotate(-25deg) scale(1) skew(1deg); }
  100%      { transform: rotate(0) scale(1) skew(1deg); }
}

/* Nút Chat Facebook (desktop) */
.hotline-fb {
  position: fixed;
  left: 31px;
  bottom: 10px;
  z-index: 9000;
  display: block;
  background: #4267b2;
  color: #fff;
  padding: 5px 14px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 2px 2px 6px -1px rgba(0, 0, 0, 0.3);
}

.hotline-fb .hotline-number {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
}

.hotline-fb:hover {
  background: #365899;
}

/* Thanh liên hệ mobile */
.mobile-hotline { display: none; }

@media (max-width: 767px) {
  .hotline-fb { display: none; }

  .mobile-hotline {
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    height: 60px;
    position: fixed;
    z-index: 9999999;
  }

  .mobile-hotline .mobile-hotline-left {
    width: 45%;
    float: left;
    text-align: center;
    background: #4267b2;
    margin: 7px 5px 0 10px;
    height: 45px;
    border-radius: 4px;
  }

  .mobile-hotline .mobile-hotline-right {
    width: 45%;
    float: right;
    text-align: center;
    background: #00a502;
    margin: 7px 10px 0 5px;
    height: 45px;
    border-radius: 4px;
  }

  .mobile-hotline a {
    color: #fff;
    line-height: 46px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: block;
  }

  /* Nút hotline rung không che thanh mobile */
  .hotline-phone-ring-wrap { bottom: 60px; }
}



body,
.font-sans {
  font-family: 'Be Vietnam Pro', ui-sans-serif, system-ui, sans-serif;
}