/* Overlay nền tối khi mở menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  overflow: hidden;
}

body.menu-overlay.active {
  overflow: hidden;
}

/* Container menu - slide từ phải sang */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 9999;
  overflow: hidden;
}

.mobile-menu.active {
  transform: translateX(0);
}

.menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Panel chính hiển thị mặc định */
.menu-panel.active {
  transform: translateX(0);
}


/* Header của panel */
.menu-header {
  /* display: flex;
  align-items: center;
  justify-content: flex-end; */
  padding: 17px 16px;
  min-height: 48px;
  border-bottom: 1px solid #eee;
}

.glanguage-wrapper {
  padding: 0px 16px;

}

.glanguage-wrapper button {
  margin: 0px !important;
  padding: 0px !important;
  font-size: 17px !important;
}

.main-panel .menu-header {
  justify-content: flex-end;
}

.sub-panel .menu-header {
  justify-content: flex-start;
}

ul.sub-menu {
  border: none !important;
}

.sub-menu-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 48px;
  background-color: #f7f7f7;
}

.sub-menu-title {
  font-size: 17px;
  font-weight: 700;
  flex: 6;
}

.back-panel-btn {
  margin: 0px !important;
  padding: 0px !important;
  flex: 4;
}

.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.back-panel-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #2858a8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Danh sách menu */
.menu-list {
  margin-top: 10px;
  list-style: none;
  flex: 1;
  overflow-y: auto;
}


.menu-list .menu-item {
  border-bottom: 1px solid #eee;
}

.menu-item .menu-text {
  display: block;
  width: 100%;
  padding: 8px 15px;
  font-size: 17px;
  font-weight: 600;
  color: #322f37;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Item có submenu: text + icon mũi tên trên cùng 1 hàng */
.menu-item[data-target],
.menu-item[data-target] a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.menu-item[data-target] a {
  width: 100%;
}

.menu-item[data-target] .menu-text {
  padding-right: 0;
  flex: 1;
}

.menu-arrow {
  padding: 0 16px;
  font-size: 20px;
  color: #999;
  font-weight: 400;
}

/* Hiệu ứng nhấn item */
.menu-item:active {
  background: #f7f7f7;
}

/* .back-panel-btn{
  margin: 0px !important;
  line-height: 0px !important;
} */

select.gt_selector option,
select.gt_selector {
  color: #322f37 !important;
  font-weight: 600;
  font-size: 17px;
}

.glanguage-wrapper {
  padding: 10px 16px !important;
}

.gt_switcher-popup {
  display: flex;
  align-items: center;
  gap: 12px;

}

.gt_switcher-popup img {
  width: 20px !important;
  height: 20px !important;

}

.gt_switcher-popup span {
  color: white;
  font-size: 16px;
  font-weight: 500;

}

.gt_switcher-popup span:last-child {
  display: none !important;
}

@media screen and (max-width: 1025px) {


  .gt_switcher-popup span {
    color: black;
    font-size: 16px;
    font-weight: 600;

  }

}