/* Header & footer — SkyTech (load sau front/category) */

.st-skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100000;
  padding: 12px 18px;
  background: var(--st-brand, #0e76bc);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(14, 118, 188, 0.45);
  transition: top 0.2s ease;
}

.st-skip-link:focus {
  top: 12px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* —— Top bar —— */
.st-topbar {
  position: relative;
  z-index: 50;
  background: linear-gradient(
    90deg,
    var(--st-topbar-start, #001d3d) 0%,
    var(--st-brand, #0e76bc) 42%,
    var(--st-brand-light, #5eb3e0) 100%
  );
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.st-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding: 0.45rem 0;
}

.st-topbar__msg {
  margin: 0;
  flex: 1;
  min-width: 0;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.st-topbar__hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.25rem 0.65rem 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  white-space: nowrap;
}

.st-topbar__hotline a {
  color: #fff;
  text-decoration: none;
}

.st-topbar__hotline a:hover {
  text-decoration: underline;
}

.st-topbar__hotline svg {
  flex-shrink: 0;
  opacity: 0.95;
}

/* —— Main header —— */
.st-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(207, 232, 245, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 4px 20px rgba(0, 29, 61, 0.04);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.st-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 28px rgba(0, 29, 61, 0.08);
}

.st-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 1.35rem);
  padding: 0.7rem 0;
  min-height: 72px;
}

/* Bọc menu — desktop: hàng nav tối giản; mobile: full width dưới logo */
.st-header__nav-shell {
  justify-self: center;
  width: 100%;
  max-width: min(100%, 56rem);
  display: flex;
  justify-content: center;
  min-width: 0;
}

.st-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.st-logo:hover .st-logo__name {
  color: var(--st-brand, #0e76bc);
}

.st-logo__mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--st-brand-light, #5eb3e0), var(--st-brand, #0e76bc));
  box-shadow: 0 10px 26px rgba(14, 118, 188, 0.35);
}

.st-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  min-width: 0;
}

.st-logo__name {
  font-size: clamp(1.12rem, 2.2vw, 1.38rem);
  font-weight: 900;
  color: var(--st-navy, #001d3d);
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.st-logo--image .st-logo__mark {
  display: none;
}

.st-logo--image .st-logo__text {
  display: none;
}

.st-logo--image img {
  display: block;
  max-height: 52px;
  width: auto;
}

/* Logo file trong theme (Images/logo.png …) */
.st-logo--bundle {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}

.st-logo__figure {
  display: flex;
  align-items: center;
  line-height: 0;
}

.st-logo--bundle .st-theme-logo-img {
  display: block;
  max-height: 50px;
  width: auto;
  max-width: min(220px, 46vw);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.st-footer__brand-head--logo {
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.st-footer__brand-img {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.st-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--st-line, #cfe8f5);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.st-menu-toggle:hover {
  background: var(--st-menu-hover-bg, #eef6fb);
  border-color: var(--st-line-2, #b8dcee);
}

.st-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--st-brand, #0e76bc);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.st-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.st-nav > ul,
.st-nav .st-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.st-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #20415e;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.005em;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

/* Underline animation từ giữa */
.st-nav a::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--st-brand, #0e76bc), var(--st-brand-light, #5eb3e0));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
  pointer-events: none;
}

.st-nav a:hover,
.st-nav a:focus-visible {
  color: var(--st-brand-dark, #094d78);
  outline: none;
}

.st-nav a:hover::before,
.st-nav a:focus-visible::before {
  transform: scaleX(1);
  opacity: 1;
}

.st-nav .current-menu-item > a,
.st-nav .current_page_item > a {
  color: var(--st-brand, #0e76bc);
  font-weight: 800;
}

.st-nav .current-menu-item > a::before,
.st-nav .current_page_item > a::before {
  transform: scaleX(1);
  opacity: 1;
}

.st-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.st-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    135deg,
    var(--st-brand, #0e76bc) 0%,
    var(--st-brand-dark, #094d78) 60%,
    var(--st-navy, #001d3d) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 8px 22px rgba(14, 118, 188, 0.32);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease;
}

.st-header__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.st-header__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38) inset,
    0 12px 30px rgba(14, 118, 188, 0.44);
}

.st-header__cta:hover::after {
  left: 130%;
}

.st-header__cta:active {
  transform: translateY(0) scale(0.98);
}

.st-header__cta svg {
  flex-shrink: 0;
}

/* —— Footer —— */
.st-footer {
  position: relative;
  margin-top: auto;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(94, 193, 240, 0.07), transparent 65%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(14, 118, 188, 0.08), transparent 65%),
    linear-gradient(
      180deg,
      var(--st-footer-1, #0a1422) 0%,
      var(--st-footer-2, #112338) 50%,
      var(--st-footer-3, #060d18) 100%
    );
  color: var(--st-footer-body, #93a8bd);
  font-size: 0.9rem;
}

.st-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(94, 193, 240, 0.42) 28%,
    rgba(94, 193, 240, 0.42) 72%,
    transparent 100%
  );
}

.st-footer a {
  color: var(--st-footer-link, #b9cde0);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.st-footer a:hover {
  color: var(--st-footer-link-hover, #ffffff);
}

.st-footer__main {
  padding: clamp(2.5rem, 5.2vw, 3.5rem) 0 clamp(2rem, 4.2vw, 2.5rem);
  border-bottom: 1px solid var(--st-footer-divider-strong, rgba(160, 195, 225, 0.16));
}

.st-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.18fr)
    minmax(0, 0.92fr)
    minmax(0, 1.08fr)
    minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4.5vw, 3rem);
  align-items: start;
}

/* Gộp danh mục + chính sách: desktop dùng contents để lưới 4 ô */
.st-footer__nav-cols {
  display: contents;
}

.st-footer__title {
  position: relative;
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--st-footer-heading, #a3bfd9);
}

.st-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--st-footer-accent, #5ec1f0),
    rgba(94, 193, 240, 0)
  );
}

.st-footer__brand .st-footer__title {
  margin-bottom: 1rem;
}

.st-footer__brand-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
}

.st-footer__logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: #f2f6fa;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--st-brand-light, #5eb3e0), var(--st-brand, #0e76bc));
  box-shadow: 0 8px 22px rgba(14, 118, 188, 0.32);
}

.st-footer__brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #eef3f9;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 22rem;
}

.st-footer__brand-desc {
  margin: 0;
  line-height: 1.7;
  color: var(--st-footer-body, #93a8bd);
  font-size: 0.875rem;
  max-width: 28rem;
}

/* —— Cột danh mục / chính sách: link có separator + accent bar khi hover —— */
.st-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.st-footer__list li {
  border-bottom: 1px solid var(--st-footer-divider, rgba(160, 195, 225, 0.08));
}

.st-footer__list li:last-child {
  border-bottom: none;
}

.st-footer__list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.25rem;
  padding: 0.55rem 0 0.55rem 0;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--st-footer-link, #b9cde0);
  transition:
    color 0.2s ease,
    padding-left 0.22s ease;
}

.st-footer__list a::before {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--st-footer-accent, #5ec1f0);
  opacity: 0;
  transform: translateX(-4px);
  transition:
    width 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    transform 0.25s ease;
}

.st-footer__list a:hover {
  color: var(--st-footer-link-hover, #ffffff);
  padding-left: 0.4rem;
}

.st-footer__list a:hover::before {
  width: 14px;
  opacity: 1;
  transform: translateX(0);
}

.st-footer__list a:focus-visible {
  outline: none;
  color: var(--st-footer-link-hover, #ffffff);
  padding-left: 0.4rem;
}

.st-footer__list a:focus-visible::before {
  width: 14px;
  opacity: 1;
}

/* —— Liên hệ: icon trong tile, line phân tách giữa các mục —— */
.st-footer__contact-line {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem 0.85rem;
  padding: 0.7rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--st-footer-divider, rgba(160, 195, 225, 0.08));
}

.st-footer__contact-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.st-footer__contact-line:first-of-type {
  padding-top: 0;
}

.st-footer__contact-line svg {
  width: 18px;
  height: 18px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--st-footer-accent-soft, rgba(94, 193, 240, 0.18)) 0%, rgba(14, 118, 188, 0.12) 100%);
  border: 1px solid rgba(94, 193, 240, 0.22);
  color: var(--st-footer-accent, #5ec1f0);
  flex-shrink: 0;
  margin: 0;
  opacity: 1;
}

.st-footer__contact-line strong {
  display: block;
  color: #c4d4e3;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.st-footer__contact-line a {
  color: #e1ecf6;
  font-weight: 600;
}

.st-footer__contact-line a:hover {
  color: var(--st-footer-accent, #5ec1f0);
}

.st-footer__contact-line--address > div > span {
  display: block;
  color: var(--st-footer-body, #93a8bd);
  font-weight: 500;
  line-height: 1.6;
}

/* —— Thanh copyright —— */
.st-footer__bar {
  padding: 0.95rem 0;
  background: rgba(4, 9, 17, 0.55);
  border-top: 1px solid var(--st-footer-divider, rgba(160, 195, 225, 0.08));
}

.st-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #7c93a8;
}

@media (min-width: 769px) {
  .st-footer__bar-inner {
    padding-inline-end: max(8px, calc(118px + env(safe-area-inset-right, 0px)));
  }
}

.st-footer__bar-inner p {
  margin: 0;
}

.st-footer__bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.st-footer__bar-links a {
  position: relative;
  color: #95acc2;
  font-weight: 600;
  font-size: 0.8125rem;
}

.st-footer__bar-links a + a {
  padding-left: 1.25rem;
}

.st-footer__bar-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(160, 195, 225, 0.35);
  transform: translateY(-50%);
}

.st-footer__bar-links a:hover {
  color: var(--st-footer-link-hover, #ffffff);
}

/* —— Footer: tối ưu mobile —— */
@media (max-width: 768px) {
  .st-footer {
    /* Tránh nội dung cuối bị che bởi nút nổi Gọi/Zalo */
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .st-footer__main {
    padding: clamp(1.75rem, 4vw, 2.25rem) 0 1.25rem;
  }

  .st-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .st-footer__nav-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--st-footer-divider-strong, rgba(160, 195, 225, 0.16));
  }

  .st-footer__col--categories,
  .st-footer__col--policy,
  .st-footer__col--contact {
    padding: 1rem 1rem 1.05rem;
    background: linear-gradient(180deg, rgba(94, 193, 240, 0.04) 0%, rgba(0, 0, 0, 0.18) 100%);
    border: 1px solid var(--st-footer-divider-strong, rgba(160, 195, 225, 0.14));
    border-radius: 14px;
    backdrop-filter: blur(2px);
  }

  .st-footer__col--categories .st-footer__title,
  .st-footer__col--policy .st-footer__title,
  .st-footer__col--contact .st-footer__title {
    margin: 0 0 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--st-footer-divider, rgba(160, 195, 225, 0.1));
  }

  /* Ẩn underline accent của title trên mobile (đã có border-bottom rộng hơn) */
  .st-footer__col--categories .st-footer__title::after,
  .st-footer__col--policy .st-footer__title::after,
  .st-footer__col--contact .st-footer__title::after {
    display: none;
  }

  .st-footer__brand-head {
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
  }

  .st-footer__brand-name {
    font-size: 1.05rem;
    max-width: none;
    word-break: break-word;
    hyphens: auto;
  }

  .st-footer__brand-desc {
    font-size: 0.8125rem;
    line-height: 1.6;
    max-width: none;
  }

  .st-footer__title {
    font-size: 0.7rem;
  }

  /* Link list: separator + tap target lớn hơn */
  .st-footer__list a {
    min-height: 2.65rem;
    font-size: 0.875rem;
    padding-block: 0.7rem;
  }

  .st-footer__list a:active {
    color: var(--st-footer-accent, #5ec1f0);
  }

  .st-footer__list a:active::before {
    width: 14px;
    opacity: 1;
  }

  /* Ghi đè front.css: footer .container { text-align: center } */
  .st-footer .container {
    text-align: left;
  }

  .st-footer__contact-line {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.55rem 0.75rem;
    padding: 0.7rem 0;
  }

  .st-footer__contact-line:last-child {
    padding-bottom: 0.2rem;
  }

  .st-footer__contact-line svg {
    width: 16px;
    height: 16px;
    padding: 8px;
    border-radius: 10px;
  }

  .st-footer__contact-line a {
    color: #e1ecf6;
    text-decoration: none;
    font-weight: 600;
  }

  .st-footer__contact-line a:active {
    color: var(--st-footer-accent, #5ec1f0);
  }

  .st-footer__bar {
    padding: 0.85rem 0 max(0.85rem, env(safe-area-inset-bottom, 0px));
  }

  .st-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.6rem;
  }

  .st-footer__bar-inner p {
    font-size: 0.75rem;
    line-height: 1.55;
    color: #7c93a8;
    max-width: 100%;
  }

  .st-footer__bar-links {
    gap: 0.5rem 1.25rem;
    width: 100%;
  }

  .st-footer__bar-links a {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .st-footer__nav-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .st-footer__col--policy .st-footer__list a {
    font-size: 0.82rem;
  }
}

/* —— Floating —— */
.st-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 29, 61, 0.35);
  transition: transform 0.15s ease;
}

.st-float a:active {
  transform: scale(0.97);
}

.st-float__call {
  background: linear-gradient(135deg, var(--st-brand-light, #5eb3e0), var(--st-brand-dark, #094d78));
}

.st-float__zalo {
  background: var(--st-zalo-bg, #082a42);
  border: 1px solid rgba(125, 211, 252, 0.25);
}

/* —— Mobile —— */
@media (max-width: 1020px) {
  /* Gọn: không hiển thị topbar gradient */
  .st-topbar {
    display: none;
  }

  /* Header nền trắng đặc — không lẫn với nền trang index */
  .st-header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid #d6e8f4;
    box-shadow:
      0 1px 0 #ffffff inset,
      0 4px 18px rgba(0, 29, 61, 0.06);
  }

  .st-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    row-gap: 0.55rem;
    column-gap: 0.75rem;
  }

  .st-logo {
    grid-area: brand;
    justify-self: start;
    min-width: 0;
  }

  .st-menu-toggle {
    display: flex;
    grid-area: toggle;
    justify-self: end;
    align-self: center;
  }

  /* Bỏ nút gọi trên mobile — dùng nút nổi / liên hệ trong trang */
  .st-header__actions {
    display: none;
  }

  .st-header__nav-shell {
    grid-area: nav;
    justify-self: stretch;
    max-width: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .st-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.25rem 0 0.35rem;
    border-top: 2px solid #e8f3fb;
    background: #ffffff;
  }

  .st-nav.is-open {
    display: flex;
  }

  .st-nav > ul,
  .st-nav .st-nav-list {
    justify-content: flex-start;
    align-items: stretch;
  }

  .st-nav.is-open > ul,
  .st-nav.is-open .st-nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  /* Bỏ gạch dọc desktop */
  .st-nav li + li::before {
    display: none;
  }

  /* Gạch ngang phân vùng giữa các item */
  .st-nav li + li {
    border-top: 1px solid #edf4fa;
  }

  .st-nav a {
    white-space: normal;
    border-radius: 0;
    border: none;
    padding: 0.82rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #001d3d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    position: relative;
    text-align: left;
  }

  /* Tắt underline desktop trên mobile — dùng chevron + bg highlight */
  .st-nav a::before {
    display: none;
  }

  .st-nav a::after {
    content: "";
    display: block;
    margin-left: auto;
    width: 6px;
    height: 6px;
    border-right: 2px solid rgba(14, 118, 188, 0.35);
    border-top: 2px solid rgba(14, 118, 188, 0.35);
    transform: rotate(45deg);
    border-radius: 1px;
    flex-shrink: 0;
  }

  .st-nav a:hover,
  .st-nav a:focus-visible {
    background: linear-gradient(90deg, rgba(14, 118, 188, 0.07) 0%, transparent 100%);
    color: var(--st-brand, #0e76bc);
    border-color: transparent;
    box-shadow: none;
  }

  .st-nav a:hover::after,
  .st-nav a:focus-visible::after {
    border-color: var(--st-brand, #0e76bc);
  }

  .st-nav .current-menu-item > a,
  .st-nav .current_page_item > a {
    background: linear-gradient(90deg, rgba(14, 118, 188, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--st-brand, #0e76bc);
    padding-left: calc(0.75rem - 3px);
    color: var(--st-brand, #0e76bc);
  }

  .st-nav .current-menu-item > a::after,
  .st-nav .current_page_item > a::after {
    border-color: var(--st-brand, #0e76bc);
  }

}

@media (max-width: 640px) {
  .st-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0.55rem 0;
  }

  .st-topbar__hotline {
    width: 100%;
    justify-content: center;
  }

  .st-header__cta-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .st-header__cta {
    min-width: 46px;
    padding: 0 0.75rem;
  }

  .st-float {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    flex-direction: row;
    justify-content: stretch;
  }

  .st-float a {
    flex: 1;
    border-radius: 14px;
  }
}

@media (min-width: 981px) {
  .layout .sidebar {
    top: 118px;
  }
}
