/*
 * CSS riêng cho Header & Menu điều hướng desktop.
 * Nạp trong inc/functions/site-style.php.
 */

#header .header-top {
  background: var(--vmt-ink);
  animation: none;
}

.header-nav-main>li>a {
  color: var(--vmt-ink);
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav-main>li>a:hover,
.header-nav-main>li.active>a {
  color: var(--vmt-accent);
}

.header-nav-main>.menu-item.menu-item-design-default {
  /* padding: 0 10px; */
  border-radius: var(--vmt-radius-sm);
  transition: background-color 0.2s;
}

/* Màn hình nhỏ hơn: thu gọn để 8 mục menu vẫn nằm trên một hàng */
@media (max-width: 1199px) {
  .header-nav-main>.menu-item.menu-item-design-default {
    padding: 0 4px;
  }

  .header-nav-main.header-nav-main>li>a {
    font-size: 14px;
  }
}

@media (max-width: 999px) {
  .header-nav-main>.menu-item.menu-item-design-default {
    padding: 0;
  }

  .header-nav-main.header-nav-main>li>a {
    font-size: 13px;
  }
}

.header-nav-main .nav-top-link .icon-angle-down {
  transition: transform 0.25s ease;
}

.header-nav-main .nav-top-link:hover .icon-angle-down {
  transform: rotate(180deg);
}

/* Dropdown menu desktop. flatsome.css nạp sau file này nên selector cần mạnh hơn */
.header-nav-main .sub-menu.nav-dropdown {
  width: 300px;
  padding: 8px;
  border-radius: var(--vmt-radius);
  box-shadow: var(--vmt-shadow);
}

.header-nav-main .nav-dropdown.nav-dropdown-bold>li>a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--vmt-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.header-nav-main .nav-dropdown.nav-dropdown-bold>li>a:hover {
  background-color: var(--vmt-tint);
  /* flatsome.css đặt màu trắng kèm !important cho đúng bộ chọn này, chỉ !important mới đè được */
  color: var(--vmt-accent-strong) !important;
}

.header-nav-main .nav-dropdown img.ux-menu-icon {
  flex: none;
  width: 24px;
  height: auto;
  margin: 0;
}

/* Icon "hot" ở mục đầu, nằm cuối dòng thay vì chiếm một dòng riêng */
.header-nav-main .icon-menu-desktop {
  order: 3;
  flex: none;
  margin-left: auto;
  line-height: 0;
}

.header-nav-main .icon-menu-desktop i.icon-products {
  display: block;
  width: 32px;
  height: 18px;
  background: url(/wp-content/uploads/2023/09/custom-hot-icon.png) center / contain no-repeat;
}

/* Dropdown Visa: nội dung là UX Block chia 3 cột */
.header-nav-main #menu-item-20833 .sub-menu.nav-dropdown {
  width: 540px;
}

.header-nav-main .ux-menu-link__link.ux-menu-link__link {
  min-height: 0;
  margin-right: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--vmt-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.header-nav-main .ux-menu-link__link.ux-menu-link__link:hover {
  background: var(--vmt-tint);
  color: var(--vmt-accent-strong);
}

.header-nav-main .label-hot.menu-item>a::after {
  font-size: 10px;
  line-height: 13px;
  white-space: nowrap;
}

/* Nút header */
#header .button.button-header,
#header .header-button .button {
  background: var(--vmt-accent);
  animation: none;
}

/*
 * Header nổi bo góc + menu mobile nhiều màu. Chỉ nạp khi body có class "vmt-hf"
 * (inc/functions/header-float.php). Màu chính: xanh lá theo logo.
 *
 * Màu từng mục trong ngăn kéo mobile: Giao diện → Menu → Menu mobile → mở mục → ô "CSS Classes"
 * gõ một trong: menu-blue, menu-green, menu-orange, menu-purple, menu-pink, menu-teal.
 * Mục không có class thì tự xoay vòng màu theo thứ tự.
 */

.vmt-hf {
  /* Header không dính nên mục lục trang tour dính sát mép trên. Bật lại header dính thì đặt 72px. */
  --vmt-sticky-top: 0px;
  --hf-accent: #009030;
  --hf-accent-dark: #007f2a;
  --hf-accent-text: #00852c;
  /* chữ xanh cỡ nhỏ: 4.8:1 trên nền trắng (#009030 chỉ 4.2:1) */
  --hf-grad: linear-gradient(45deg, #009030 0%, #1fb954 50%, #009030 100%);
  --hf-ink: #1f1b18;
  --hf-muted: #5c5650;
  --hf-line: rgba(31, 27, 24, .08);
}

/* ---------- Khung ----------
 * Đầu trang: thanh trắng bình thường, rộng hết màn hình, gạch mảnh phía dưới.
 * Cuộn xuống (Flatsome thêm .stuck): thành thẻ trắng nổi lơ lửng cách mép trên 8px.
 */
.vmt-hf #header .header-main,
.vmt-hf #header .header-bg-color {
  background: transparent !important;
  /* đè màu nền header_bg trong Customizer */
}

.vmt-hf #header .header-wrapper:not(.stuck) {
  background: #fff;
  box-shadow: 0 1px 0 var(--hf-line);
}

.vmt-hf #masthead .header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.vmt-hf #header .header-wrapper.stuck {
  background: transparent;
  box-shadow: none;
}

.vmt-hf #header .stuck #masthead {
  padding: 8px 16px 0;
}

.vmt-hf #header .stuck #masthead .header-inner {
  max-width: 1240px;
  height: 100%;
  /* = chiều cao Sticky Header trong Customizer */
  padding: 0 12px 0 20px;
  border: 1px solid var(--hf-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 36px rgba(31, 27, 24, .12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.vmt-hf #logo {
  flex: none;
  /* menu một dòng không được ép logo co về 0 */
  margin-right: 16px;
}

.vmt-hf #masthead .flex-right {
  flex: none;
  /* nút tư vấn luôn nằm trọn trong khung */
}

.vmt-hf #logo img {
  width: auto;
  max-height: 46px !important;
}

.vmt-hf #masthead .flex-right .html {
  flex: none;
  white-space: nowrap;
}

/* ---------- Menu máy tính: canh giữa ---------- */
@media (min-width: 850px) {
  .vmt-hf #masthead .flex-left.flex-grow .header-nav-main {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .vmt-hf #masthead .header-nav-main.nav-left>li {
    margin: 0;
  }

  .vmt-hf #masthead .header-nav-main.nav-right {
    flex-wrap: nowrap;
  }

  .vmt-hf #masthead .header-nav-main.nav-left>li>a {
    display: inline-flex;
    flex-wrap: nowrap;
    /* Flatsome để wrap: mũi tên rớt xuống dưới chữ */
    align-items: center;
    gap: 2px;
    padding: 9px 8px;
    border-radius: 10px;
    color: var(--hf-ink);
    font-size: 15px;
    white-space: nowrap;
    font-weight: 500;
    transition: background-color .15s, color .15s;
  }

  .vmt-hf #masthead .header-nav-main.nav-left>li>a:hover,
  .vmt-hf #masthead .header-nav-main.nav-left>li.active>a,
  .vmt-hf #masthead .header-nav-main.nav-left>li.current-menu-ancestor>a,
  .vmt-hf #masthead .header-nav-main.nav-left>li:hover>a {
    /* background: rgba(246, 72, 3, .08); */
    color: var(--hf-accent-text);
  }
}

/* Menu con và mega menu: thẻ bo góc */
.vmt-hf #masthead .nav-dropdown {
  padding: 10px;
  border: 1px solid var(--hf-line);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(31, 27, 24, .12);
}

.vmt-hf #masthead .nav-dropdown>li>a {
  padding: 10px 12px;
  border-radius: 10px;
  border-bottom: 0;
  color: var(--hf-ink);
  font-weight: 500;
}

/* Cờ quốc gia trước tên mục (header-float.php → travel_menu_flag_code) */
.vmt-hf #masthead .nav-dropdown>li>a:has(.vmt-flag) {
  white-space: nowrap;
  /* "Lịch Khởi Hành Tour Anh Quốc" không xuống dòng */
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mega menu dạng khối (Visa: 3 cột ux_menu) rộng hơn để cờ + tên nước + nhãn "Thịnh hành" không chật */
.vmt-hf #masthead .nav-dropdown:has(.ux-menu-link .vmt-flag) {
  width: 680px;
  max-width: calc(100vw - 32px);
}

.vmt-hf #masthead .nav-dropdown:has(.ux-menu-link .vmt-flag) .ux-menu-link__link {
  padding-right: 8px;
}

.vmt-hf #masthead .nav-dropdown .ux-menu-link__link:has(.vmt-flag) {
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.vmt-hf #masthead .nav-dropdown .ux-menu-link__link:hover .vmt-flag {
  transform: scale(1.12);
}

.vmt-hf #masthead .nav-dropdown .vmt-flag {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(31, 27, 24, .12), 0 2px 6px rgba(31, 27, 24, .15);
  transition: transform .2s;
}

.vmt-hf #masthead .nav-dropdown .vmt-flag--globe {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--hf-accent) 10%, transparent);
  color: var(--hf-accent-text);
}

.vmt-hf #masthead .nav-dropdown>li>a:hover .vmt-flag {
  transform: scale(1.12);
}

.vmt-hf #masthead .nav-dropdown>li>a:hover {
  background: color-mix(in srgb, var(--hf-accent) 7%, transparent);
  color: var(--hf-accent-text);
}

/* ---------- Bên phải: hotline + nút tư vấn ---------- */
.vmt-hf .vmt-hf-hotline {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  color: var(--hf-accent-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15 !important;
  /* đè line-height của header dính (nav_height_sticky) */
  white-space: nowrap;
}

.vmt-hf .vmt-hf-hotline svg {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--hf-accent) 10%, transparent);
  color: var(--hf-accent-text);
}

.vmt-hf .vmt-hf-hotline small {
  display: block;
  color: var(--hf-muted);
  font-size: 12px;
  font-weight: 500;
}

/* Hotline nằm trong menu chính: đè màu chữ và độ đậm của menu (Flatsome, style.css, fonts.css) */
.vmt-hf #masthead .header-nav-main.nav>li>a.vmt-hf-hotline {
  color: var(--hf-accent-text);
  font-weight: 700;
}

.vmt-hf #masthead .header-nav-main.nav>li>a.vmt-hf-hotline:hover {
  color: var(--hf-accent-dark);
}

.vmt-hf .vmt-hf-hotline:hover {
  color: var(--hf-accent-dark);
}

@media (max-width: 1599px) {

  /* Màn hình vừa: chỉ còn số hotline để menu đủ một dòng và nút tư vấn không tràn ra ngoài. */
  .vmt-hf #masthead .vmt-hf-hotline small {
    display: none;
  }

  .vmt-hf #masthead .vmt-hf-hotline {
    gap: 8px;
    font-size: 15px;
  }

  .vmt-hf #masthead .vmt-hf-hotline svg {
    width: 34px;
    height: 34px;
    padding: 8px;
  }
}

@media (min-width: 850px) and (max-width: 1199px) {

  /* Tablet ngang: bỏ chữ số, giữ biểu tượng gọi. */
  .vmt-hf #masthead .flex-right .vmt-hf-hotline span {
    display: none;
  }

  .vmt-hf #masthead .header-nav-main.nav-left>li>a {
    padding: 8px 7px;
    font-size: 14px;
  }
}

.vmt-hf #masthead .html_topbar_left .button {
  margin: 0 0 0 16px;
  padding: 0 22px;
  min-height: 44px;
  line-height: 44px !important;
  border: 0;
  border-radius: 999px !important;
  /* đè style="border-radius" ghi cứng trong HTML 1 */
  background: var(--hf-grad);
  color: #fff;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 144, 48, .32);
  transition: transform .15s ease, opacity .15s ease;
}

.vmt-hf #masthead .html_topbar_left .button:hover {
  background: var(--hf-grad);
  opacity: .95;
  transform: translateY(-2px);
}

/* ---------- Điện thoại: ☰ | logo | nút gọi ---------- */
@media (max-width: 849px) {
  .vmt-hf #masthead .header-inner {
    padding: 0 12px;
  }

  /* Logo giữa: ☰ và nút gọi hai bên rộng bằng nhau (flex: 1) */
  .vmt-hf #logo {
    order: 2;
    flex: none;
    margin: 0;
    text-align: center;
  }

  .vmt-hf #masthead .flex-col.show-for-medium.flex-left {
    order: 1;
    flex: 1 1 0;
    margin-right: 0;
  }

  .vmt-hf #masthead .flex-col.show-for-medium.flex-right {
    order: 3;
    flex: 1 1 0;
    justify-content: flex-end;
    margin-left: 0;
  }

  .vmt-hf #masthead .flex-col.show-for-medium.flex-right .mobile-nav {
    justify-content: flex-end;
  }

  .vmt-hf #header .stuck #masthead {
    padding: 6px 10px 0;
  }

  .vmt-hf #header .stuck #masthead .header-inner {
    padding: 0 8px;
  }

  .vmt-hf #logo img {
    max-height: 40px !important;
  }

  .vmt-hf #masthead .mobile-nav .nav-icon a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--hf-accent) 10%, transparent);
    color: var(--hf-accent-text);
  }

  .vmt-hf #masthead .mobile-nav .nav-icon .icon-menu {
    font-size: 18px;
  }

  .vmt-hf #masthead .mobile-nav>li.html {
    display: flex;
    /* Flatsome ẩn phần tử HTML trên header điện thoại */
  }

  .vmt-hf #masthead .mobile-nav .vmt-hf-hotline span {
    display: none;
  }

  .vmt-hf #masthead .mobile-nav .vmt-hf-hotline svg {
    width: 40px;
    height: 40px;
    padding: 10px;
    background: var(--hf-accent);
    color: #fff;
  }
}

/* ---------- Ngăn kéo menu mobile nhiều màu ---------- */
.vmt-hf .mobile-sidebar {
  background: #fff;
}

.vmt-hf .mobile-sidebar .sidebar-menu {
  padding: 16px 14px 24px;
}

.vmt-hf .mobile-sidebar .nav-sidebar>li.header-search-form {
  margin-bottom: 10px;
  padding: 0;
  border: 0;
}

/* Bỏ ô chọn danh mục ("Tất cả") trước ô tìm kiếm: chỉ trong ngăn kéo, ô tìm kiếm khác giữ nguyên */
.vmt-hf .mobile-sidebar .search-form-categories {
  display: none;
}

.vmt-hf .mobile-sidebar .header-search-form input[type="search"] {
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f4f3f2;
  box-shadow: none;
}

/* Màu theo mục: mặc định xoay vòng, đặt class menu-xxx để chọn tay */
.vmt-hf .nav-sidebar>li {
  --mc: #f64803;
  --mc-bg: #ffeee6;
}

/* Đếm riêng các mục menu (bỏ qua ô tìm kiếm cũng nằm trong danh sách). */
.vmt-hf .nav-sidebar>li:nth-child(6n+1 of .menu-item) {
  --mc: #2563eb;
  --mc-bg: #e8f0ff;
}

.vmt-hf .nav-sidebar>li:nth-child(6n+2 of .menu-item) {
  --mc: #16a34a;
  --mc-bg: #e3f7ea;
}

.vmt-hf .nav-sidebar>li:nth-child(6n+3 of .menu-item) {
  --mc: #f64803;
  --mc-bg: #ffeee6;
}

.vmt-hf .nav-sidebar>li:nth-child(6n+4 of .menu-item) {
  --mc: #7c3aed;
  --mc-bg: #f1e9ff;
}

.vmt-hf .nav-sidebar>li:nth-child(6n+5 of .menu-item) {
  --mc: #db2777;
  --mc-bg: #fde8f2;
}

.vmt-hf .nav-sidebar>li:nth-child(6n+6 of .menu-item) {
  --mc: #0d9488;
  --mc-bg: #e0f5f2;
}

.vmt-hf .nav-sidebar>li.menu-blue {
  --mc: #2563eb;
  --mc-bg: #e8f0ff;
}

.vmt-hf .nav-sidebar>li.menu-green {
  --mc: #16a34a;
  --mc-bg: #e3f7ea;
}

.vmt-hf .nav-sidebar>li.menu-orange {
  --mc: #f64803;
  --mc-bg: #ffeee6;
}

.vmt-hf .nav-sidebar>li.menu-purple {
  --mc: #7c3aed;
  --mc-bg: #f1e9ff;
}

.vmt-hf .nav-sidebar>li.menu-pink {
  --mc: #db2777;
  --mc-bg: #fde8f2;
}

.vmt-hf .nav-sidebar>li.menu-teal {
  --mc: #0d9488;
  --mc-bg: #e0f5f2;
}

.vmt-hf .nav-sidebar.nav-uppercase>li>a {
  text-transform: none;
}

.vmt-hf .nav-sidebar>li {
  margin: 0 0 4px;
  border: 0 !important;
  border-radius: 14px;
  transition: background-color .15s;
}

.vmt-hf .nav-sidebar>li>a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 44px 6px 8px;
  color: var(--hf-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

/* Icon (SVG nhập ở ô HTML icon của mục) nằm trong ô vuông màu */
.vmt-hf .nav-sidebar>li>a>svg,
.vmt-hf .nav-sidebar>li>a>img {
  flex: none;
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  background: var(--mc-bg);
  fill: var(--mc);
  color: var(--mc);
}

.vmt-hf .nav-sidebar>li>a>svg * {
  fill: inherit;
}

.vmt-hf .nav-sidebar>li>a .icon-mobile-tour {
  display: none;
  /* icon cũ thừa trong mục "Du Lịch" */
}

.vmt-hf .mobile-sidebar .nav-sidebar.nav-vertical>li.active,
.vmt-hf .mobile-sidebar .nav-sidebar.nav-vertical>li.menu-item:hover {
  background: var(--mc-bg);
  /* đè nền xám rgba(0,0,0,.05) của Flatsome */
}

.vmt-hf .nav-sidebar>li.active>a,
.vmt-hf .nav-sidebar>li>a:hover {
  color: var(--mc);
}

.vmt-hf .nav-sidebar>li.menu-item {
  position: relative;
}

.vmt-hf .nav-sidebar>li>.toggle {
  position: absolute;
  top: 8px;
  margin: 0;
  right: 4px;
  width: 40px;
  height: 40px;
  color: var(--mc);
  opacity: 1;
}

/* Menu con: vạch màu bên trái */
.vmt-hf .nav-sidebar>li>.sub-menu {
  margin: 0 10px 10px 30px;
  padding: 2px 0 4px 14px !important;
  border-left: 2px solid var(--mc);
}

.vmt-hf .nav-sidebar>li>.sub-menu>li>a {
  padding: 9px 4px;
  color: var(--hf-ink);
  font-size: 15px;
  font-weight: 500;
}

/* Cờ quốc gia trước mục con (header-float.php → travel_menu_flag_code) */
.vmt-hf .nav-sidebar>li>.sub-menu>li>a:has(.vmt-flag) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vmt-hf .nav-sidebar .sub-menu .vmt-flag {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(31, 27, 24, .12);
}

.vmt-hf .nav-sidebar .sub-menu .vmt-flag--globe {
  display: grid;
  place-items: center;
  background: var(--mc-bg);
  color: var(--mc);
}

.vmt-hf .nav-sidebar .sub-menu .vmt-flag--globe svg {
  width: 13px;
  height: 13px;
}

.vmt-hf .nav-sidebar>li>.sub-menu>li>a:hover,
.vmt-hf .nav-sidebar>li>.sub-menu>li.current-menu-item>a {
  color: var(--mc);
}

/* Menu top bar ("Hotline", "Hợp tác với chúng tôi", "Góp ý"...) cuối ngăn kéo: nhóm riêng, mục không icon */
.vmt-hf .nav-sidebar>li.menu-item:not(.has-icon-left) {
  --mc: var(--hf-accent);
  --mc-bg: #fff3ec;
}

.vmt-hf .nav-sidebar>li.menu-item:not(.has-icon-left)>a {
  min-height: 44px;
  padding: 8px 12px 8px 30px;
  color: var(--hf-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  position: relative;
}

.vmt-hf .nav-sidebar>li.menu-item:not(.has-icon-left)>a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--hf-accent);
}

.vmt-hf .nav-sidebar>li.has-icon-left+li.menu-item:not(.has-icon-left) {
  margin-top: 12px;
}

.vmt-hf .nav-sidebar>li.has-icon-left+li.menu-item:not(.has-icon-left)::before {
  content: "";
  display: block;
  margin: 0 -2px 8px;
  border-top: 1px solid var(--hf-line);
}

/* Nút Gọi / Zalo cuối ngăn kéo (HTML 5) */
.vmt-hf .vmt-hf-drawer-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.vmt-hf .vmt-hf-drawer-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: 14px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.vmt-hf .vmt-hf-call {
  background: var(--hf-accent);
}

.vmt-hf .vmt-hf-zalo {
  background: #0068ff;
}

.vmt-hf .vmt-hf-drawer-cta svg {
  flex: none;
}

/* Thanh admin 32px (khi đăng nhập, màn hình > 782px) cố định ở mép trên: mục lục dính nằm dưới nó. */
@media (min-width: 783px) {
  .admin-bar.vmt-hf {
    --vmt-sticky-top: 32px;
  }
}


/**
 * Mega menu dọc ([vmt_mega_tabs], inc/shortcodes/vmt-mega-tabs.php).
 * Phong cách trang chủ đã duyệt (Hoàn Mỹ × Vietmytravel): nền sáng, thẻ trắng trên nền xanh nhạt (--vmt-tint), chữ màu mực,
 * một màu nhấn xanh lá, bo góc 16px, không viền / bóng trên thẻ. Sang trọng nhờ khoảng trắng và chữ, không nhờ hiệu ứng.
 */
.vmt-mega {
  --mega-bg: var(--vmt-tint, #eefaf1);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(1120px, calc(100vw - 48px));
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: var(--vmt-ink, #111827);
  text-align: left;
}

/* Khung dropdown của Flatsome bao quanh mega: bỏ đệm, giữ một bóng nhẹ để tách khỏi trang */
.nav-dropdown:has(.vmt-mega) {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .12) !important;
}

/* ---------- Cột danh mục (trái) ---------- */
.vmt-mega__side {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  background: #f7f7f7;
}

#wrapper .vmt-mega__cats,
.vmt-mega__cats {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vmt-mega__cats li {
  margin: 0 0 4px;
  list-style: none;
}

.vmt-mega .vmt-mega__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--vmt-ink, #111827);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.vmt-mega__cat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vmt-mega__cat-name {
  font-family: var(--vmt-font-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.vmt-mega__cat-desc {
  color: var(--vmt-ink-2, #5b6470);
  font-size: 12.5px;
  line-height: 1.4;
}

.vmt-mega .vmt-mega__cat svg {
  flex-shrink: 0;
  color: var(--vmt-accent, #009030);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
}

.vmt-mega .vmt-mega__cat:hover {
  background: rgba(255, 255, 255, .6);
}

.vmt-mega .vmt-mega__cat.is-active {
  background: #fff;
}

.vmt-mega .vmt-mega__cat.is-active .vmt-mega__cat-name {
  color: var(--vmt-accent-strong, #007f2a);
  font-weight: 600;
}

.vmt-mega .vmt-mega__cat.is-active svg {
  opacity: 1;
  transform: none;
}

.vmt-mega .vmt-mega__cat:focus-visible {
  outline: 2px solid var(--vmt-accent, #009030);
  outline-offset: 2px;
}

/* Cuối cột: ghi chú + hotline */
.vmt-mega__side-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding: 16px 14px 4px;
}

.vmt-mega__note {
  color: var(--vmt-ink-2, #5b6470);
  font-size: 12.5px;
  line-height: 1.4;
}

.vmt-mega .vmt-mega__hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--vmt-ink, #111827);
  text-decoration: none;
}

.vmt-mega .vmt-mega__hotline svg {
  flex-shrink: 0;
  color: var(--vmt-accent, #009030);
}

.vmt-mega__hotline span {
  font-family: var(--vmt-font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.vmt-mega__hotline small {
  display: none;
}

.vmt-mega .vmt-mega__hotline:hover span {
  color: var(--vmt-accent-strong, #007f2a);
}

/* ---------- Khung tour (phải) ---------- */
.vmt-mega__panels {
  min-width: 0;
  padding: 22px 24px 20px;
}

.vmt-mega__panel[hidden] {
  display: none;
}

.vmt-mega__panel.is-active {
  animation: vmt-mega-in .25s ease;
}

@keyframes vmt-mega-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vmt-mega__panel.is-active {
    animation: none;
  }
}

/* Đầu khung: chữ bên trái, ảnh điểm đến bên phải */
.vmt-mega__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "text more";
  align-items: end;
  gap: 6px 24px;
  margin-bottom: 18px;
}

.vmt-mega__head.has-image {
  grid-template-columns: minmax(0, 1fr) 240px;
  grid-template-areas:
    "text img"
    "more img";
  align-items: center;
}

.vmt-mega__head-text {
  grid-area: text;
  min-width: 0;
  align-self: end;
}

#wrapper .vmt-mega__title,
.vmt-mega__title {
  margin: 0;
  color: var(--vmt-heading, #1f2328);
  font-family: var(--vmt-font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}

#wrapper .vmt-mega__desc,
.vmt-mega__desc {
  margin: 6px 0 0;
  color: var(--vmt-ink-2, #5b6470);
  font-size: 15px;
  line-height: 1.5;
}

.vmt-mega__head .vmt-mega__hero-img {
  grid-area: img;
  display: block;
  width: 240px;
  height: 120px;
  margin: 0;
  border-radius: 16px;
  object-fit: cover;
}

.vmt-mega .vmt-mega__more {
  grid-area: more;
  display: inline-flex;
  align-items: center;
  align-self: start;
  justify-self: start;
  gap: 6px;
  color: var(--vmt-accent-strong, #007f2a);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.vmt-mega__head:not(.has-image) .vmt-mega__more {
  align-self: end;
  justify-self: end;
}

.vmt-mega__more svg {
  transition: transform .2s ease;
}

.vmt-mega .vmt-mega__more:hover svg {
  transform: translateX(3px);
}

/* Tour: Products Custom (slider) */
.vmt-mega__body {
  min-width: 0;
}

.vmt-mega__body .row {
  margin-left: -8px;
  margin-right: -8px;
}

.vmt-mega__empty {
  margin: 0;
  color: var(--vmt-ink-2, #5b6470);
  font-size: 14px;
}