@charset "UTF-8";
/* ==========================================================================
   TMT header / menu / drawer / bottom nav (Task 06)
   Phụ thuộc: tmt-design-system.css (token + .tmt-header, .tmt-iconbtn, .tmt-lang, .tmt-bottomnav, .tmt-chip, .tmt-search).
   Mobile-first: < 992px menu là drawer bên phải; >= 992px menu là thanh ngang trong header.
   Chỉ dùng class .tmt-*; không có selector toàn cục. Không chứa logic thương mại.
   ========================================================================== */

/* ---------- Header ---------- */
/* sticky đặt ở phần tử bọc (cao bằng cả khối), không đặt ở <header> (sẽ bị giới hạn trong khối cao bằng chính nó).
   z-index cao hơn thanh dưới (z-bottomnav) để drawer + overlay phủ cả thanh dưới. */
.tmt-site-header-wrap { position: sticky; top: 0; z-index: var(--z-drawer); }
.tmt-site-header.tmt-header { position: relative; z-index: auto; }
.tmt-site-header .tmt-header__bar { gap: var(--space-2); padding-inline: var(--space-2) var(--space-1); }
.tmt-header__brand { flex: 0 1 auto; justify-content: flex-start; gap: var(--space-2); padding-inline: var(--space-2); min-width: 0; }
.tmt-header__logo { display: block; width: auto; height: 36px; flex: 0 0 auto; }
.tmt-header__wordmark { display: block; min-width: 0; white-space: nowrap; font: 700 18px/1.1 var(--font-display); color: var(--color-brand-800); letter-spacing: 0.02em; }
.tmt-header__wordmark small { display: none; font: 600 13px/1.2 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent-700); }
.tmt-header__tools { display: flex; align-items: center; flex: 0 0 auto; margin-left: auto; }
.tmt-header__tools > * { flex: 0 0 auto; }

/* Mobile < 992: chỉ Logo | Tìm | Giỏ | Menu. Tài khoản + VI/EN nằm trong drawer */
.tmt-header__account { display: none; }
.tmt-searchbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  flex: 0 0 var(--tap-min); width: var(--tap-min); height: var(--tap-min); padding: 0;
  font: 500 var(--text-small)/1.2 var(--font-sans); color: var(--color-text-strong);
  background: transparent; border: 0; border-radius: var(--radius-md); cursor: pointer;
}
.tmt-searchbtn:hover { background: var(--color-bg-subtle); }
.tmt-searchbtn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tmt-searchbtn__text { display: none; }
.tmt-iconbtn__count.is-empty { display: none; }

/* Panel tìm kiếm: lớp phủ dưới header (không đẩy nội dung) */
.tmt-header__search { position: absolute; top: 100%; left: 0; right: 0; padding: var(--space-3) var(--gutter) var(--space-4); background: var(--color-bg-surface); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.tmt-header__search[hidden] { display: none; }
.tmt-header__search-inner { max-width: 720px; margin-inline: auto; }
.tmt-header__suggest { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; }

/* ---------- Drawer (mobile / tablet) ---------- */
.tmt-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  display: flex; flex-direction: column; width: min(88vw, 380px);
  background: var(--color-bg-surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--duration-base) var(--ease), visibility 0s linear var(--duration-base);
}
.tmt-drawer.is-open { transform: none; visibility: visible; transition: transform var(--duration-base) var(--ease), visibility 0s; }
.tmt-drawer__overlay { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: rgba(31, 27, 22, 0.5); }
.tmt-drawer__overlay[hidden] { display: none; }
body.tmt-nav-locked { overflow: hidden; }
/* Nút nổi (Zalo/hotline) không đè lên drawer khi đang mở */
html body.tmt-nav-locked #_zalo, html body.tmt-nav-locked #suntory-alo-phoneIcon { display: none !important; }
.tmt-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--color-border); }
.tmt-drawer__title { font: 700 var(--text-h3)/1.2 var(--font-display); color: var(--color-text-strong); }
.tmt-drawer .tmt-nav { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.tmt-drawer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); background: var(--color-bg-page); }
.tmt-drawer__account { flex: 1 1 100%; display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); }
.tmt-drawer__account .tmt-link { display: inline-flex; align-items: center; min-height: var(--tap-min); } /* "Đăng ký" / "Đăng xuất": trước đây cao 26px, dưới vùng chạm 44px */
.tmt-drawer__phone { display: inline-flex; align-items: center; min-height: var(--tap-min); }
.tmt-drawer__phone::before { content: "Hotline\00a0"; font-weight: 400; color: var(--color-text-muted); text-decoration: none; display: inline-block; margin-right: 4px; }

/* ---------- Công tắc ngôn ngữ VI | EN (Task 14, markup: snippets/tmt-lang-switch.bwt) ---------- */
.tmt-langbox { display: inline-flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); }
.tmt-langbox .tmt-lang { margin-inline: 0; }
a.tmt-lang__btn:hover { background: var(--color-bg-subtle); color: var(--color-text-strong); }
.tmt-lang__btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
/* EN chưa có bản thật: chữ nhạt + viền đứt bên trong (không chỉ dùng màu), con trỏ mặc định, vẫn focus được để đọc ghi chú */
.tmt-lang__btn--soon { color: var(--color-text-muted); cursor: default; }
.tmt-lang__btn--soon::before { content: ""; position: absolute; inset: 3px; border: 1px dashed var(--color-border-control); border-radius: var(--radius-pill); pointer-events: none; }
.tmt-lang__note { margin: 0; font: 400 var(--text-caption)/1.35 var(--font-sans); color: var(--color-text-muted); }
/* Thanh công cụ header: chỉ hiện từ 992px (dưới đó công tắc nằm trong drawer). Khai báo SAU .tmt-langbox để display:none thắng cùng độ ưu tiên.
   Desktop: ghi chú là chú giải nổi dưới công tắc, hiện khi rê chuột, focus hoặc chạm (JS thêm .is-hint) */
.tmt-langbox--header { display: none; position: relative; }
.tmt-langbox--header .tmt-lang__note {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: var(--z-dropdown);
  width: max-content; max-width: 240px; padding: var(--space-2) var(--space-3);
  color: var(--color-text); background: var(--color-bg-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  visibility: hidden; opacity: 0; transition: opacity var(--duration-fast) var(--ease), visibility 0s linear var(--duration-fast);
}
.tmt-langbox--header:hover .tmt-lang__note, .tmt-langbox--header:focus-within .tmt-lang__note, .tmt-langbox--header.is-hint .tmt-lang__note { visibility: visible; opacity: 1; transition-delay: 0s; }

/* ---------- Menu (dùng chung drawer + desktop) ---------- */
.tmt-nav__list, .tmt-nav__sub, .tmt-tree__list, .tmt-tree ul { margin: 0; padding: 0; list-style: none; }
.tmt-nav__item { border-bottom: 1px solid var(--color-border); }
.tmt-nav__row { display: flex; align-items: stretch; }
.tmt-nav__link {
  flex: 1 1 auto; display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-4);
  font: 700 16px/1.2 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-text-strong); text-decoration: none;
}
.tmt-nav__link:hover { color: var(--color-brand-700); background: var(--color-bg-subtle); }
.tmt-nav__link[aria-current="true"] { color: var(--color-brand-700); box-shadow: inset 4px 0 0 var(--color-brand-700); }
.tmt-nav__toggle { position: relative; flex: 0 0 52px; width: 52px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-text-strong); background: transparent; border: 0; border-left: 1px solid var(--color-border); cursor: pointer; }
.tmt-nav__toggle:hover { background: var(--color-bg-subtle); }
.tmt-nav__toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--duration-fast) var(--ease); }
.tmt-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.tmt-nav__sub { background: var(--color-bg-page); border-top: 1px solid var(--color-border); }
.tmt-nav__sub[hidden] { display: none; }

/* Mục chính có con (mobile < 992): MỘT hàng bật/tắt duy nhất. Cả hàng là nút (chữ + mũi tên); link cấp 0 bị ẩn (vẫn vào được từ thanh dưới).
   Trên desktop nút chỉ còn mũi tên cạnh link (chữ trong nút ẩn; aria-label vẫn đủ tên). Mục không có con là link thường (.tmt-nav__item không --has-sub). */
.tmt-nav__toggle-text { display: none; }
@media (max-width: 991.98px) {
  .tmt-nav__item--has-sub > .tmt-nav__row > .tmt-nav__link { display: none; }
  .tmt-nav__item--has-sub > .tmt-nav__row > .tmt-nav__toggle {
    flex: 1 1 auto; width: auto; min-height: 52px; justify-content: space-between; gap: var(--space-3); padding: 0 var(--space-4); border-left: 0;
    font: 700 16px/1.2 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase; text-align: left;
  }
  .tmt-nav__item--has-sub > .tmt-nav__row > .tmt-nav__toggle .tmt-nav__toggle-text { display: block; flex: 1 1 auto; }
  .tmt-nav__item--has-sub > .tmt-nav__row > .tmt-nav__toggle[aria-expanded="true"] { color: var(--color-brand-700); }
}

/* ---------- Cây menu đệ quy (.tmt-nt__*, snippets/tmt-nav-node.bwt) ----------
   MỘT bộ style cho drawer, dropdown desktop, accordion trên trang collection và chỉ mục "Danh mục khác". Nút bật/tắt chỉ tồn tại khi nút menu có con (markup do Liquid dựng theo dữ liệu), dấu +/− là SVG trong nút.
   Thụt lề theo cấp: --nt-pad = 20 / 32 / 48 / 60px (cấp 1 / 2 / 3 / 4). Hàng cao tối thiểu 44px; vùng chạm của nút bật/tắt 48 x 44. */
.tmt-nt__list { margin: 0; padding: 0; list-style: none; }
.tmt-nt__list[hidden] { display: none; }
.tmt-nt__item { border-top: 1px solid var(--color-border); }
.tmt-nt__item:first-child { border-top: 0; }
.tmt-nt__item--l1 { --nt-pad: 20px; }
.tmt-nt__item--l2 { --nt-pad: 32px; }
.tmt-nt__item--l3 { --nt-pad: 48px; }
.tmt-nt__item--l4 { --nt-pad: 60px; }
.tmt-nt__item--l5 { --nt-pad: 72px; }
.tmt-nt__row { display: flex; align-items: stretch; }
.tmt-nt__link, .tmt-nt__toggle--row {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; min-height: var(--tap-min);
  padding: var(--space-2) var(--space-3) var(--space-2) var(--nt-pad, 20px);
  font: 400 var(--text-body)/1.3 var(--font-sans); color: var(--color-text); text-decoration: none; text-align: left; overflow-wrap: anywhere;
}
.tmt-nt__item--l3 .tmt-nt__link, .tmt-nt__item--l4 .tmt-nt__link, .tmt-nt__item--l5 .tmt-nt__link { font-size: 15px; }
.tmt-nt__toggle {
  flex: 0 0 48px; width: 48px; min-height: var(--tap-min); display: inline-flex; align-items: center; justify-content: center; padding: 0;
  color: var(--color-brand-700); background: transparent; border: 0; border-left: 1px solid var(--color-border); cursor: pointer;
}
/* Hàng không có URL (cả hàng là nút): khai báo SAU .tmt-nt__toggle để padding/màu không bị .tmt-nt__toggle (padding: 0) đè */
.tmt-nt__toggle--row {
  flex: 1 1 auto; width: auto; justify-content: space-between; gap: var(--space-3); border: 0; background: transparent; cursor: pointer;
  padding: var(--space-2) var(--space-4) var(--space-2) var(--nt-pad, 20px); color: var(--color-text);
}
.tmt-nt__toggle--row svg { color: var(--color-brand-700); }
.tmt-nt__label { flex: 1 1 auto; min-width: 0; }
.tmt-nt__toggle svg { flex: 0 0 20px; width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.25; stroke-linecap: round; }
.tmt-nt__toggle[aria-expanded="true"] .tmt-nt__v { display: none; } /* + → − */
.tmt-nt__link:hover, .tmt-nt__toggle:hover { color: var(--color-brand-700); background: var(--color-bg-subtle); }
.tmt-nt__toggle[aria-expanded="true"] { background: var(--color-bg-subtle); }
.tmt-nt__link[aria-current="page"] { font-weight: 700; color: var(--color-brand-700); box-shadow: inset 4px 0 0 var(--color-accent-500); }
.tmt-nt__item--branch > .tmt-nt__list { background: var(--color-bg-page); border-top: 1px solid var(--color-border); }
.tmt-nt__link:focus-visible, .tmt-nt__toggle:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }

/* Chỉ mục "Danh mục khác" (trước footer, mặc định gập). Xem snippets/tmt-category-index.bwt */
.tmt-catindex { background: var(--color-bg-page); border-top: 1px solid var(--color-border); }
.tmt-catindex .tmt-tree { max-width: 720px; margin-inline: auto; }
.tmt-tree > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--tap-min); padding: 0; cursor: pointer; list-style: none;
  font: 600 var(--text-body)/1.2 var(--font-sans); color: var(--color-text-muted);
}
.tmt-tree > summary::-webkit-details-marker { display: none; }
.tmt-tree > summary::after { content: "+"; font: 400 24px/1 var(--font-sans); color: var(--color-brand-700); }
.tmt-tree[open] > summary { color: var(--color-text-strong); }
.tmt-tree[open] > summary::after { content: "\2212"; }
.tmt-catindex .tmt-nt__list--index { border-top: 1px solid var(--color-border); }

/* Focus nhìn thấy được cho mọi phần tử menu/tìm kiếm */
.tmt-nav__link:focus-visible, .tmt-nav__toggle:focus-visible, .tmt-nav__sub a:focus-visible,
.tmt-catindex a:focus-visible,
.tmt-tree summary:focus-visible, .tmt-tree a:focus-visible, .tmt-searchbtn:focus-visible,
.tmt-header__brand:focus-visible, .tmt-drawer__phone:focus-visible, .tmt-drawer__account a:focus-visible,
.tmt-header__suggest a:focus-visible {
  outline: 3px solid var(--color-focus); outline-offset: -3px;
}
.tmt-header__brand:focus-visible, .tmt-searchbtn:focus-visible { outline-offset: 2px; }

/* ---------- Bottom nav: bổ sung nhãn (span) ---------- */
.tmt-bottomnav__item span { display: block; max-width: 100%; overflow-wrap: anywhere; }

/* Đệm cuối trang cho thanh dưới (chỉ mobile/tablet) */
.tmt-bottomnav-spacer { height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); background: var(--color-bg-surface); }
@media (min-width: 992px) { .tmt-bottomnav-spacer { display: none; } }

/* ---------- ≤ 351 (Task 38): thu logo + chữ + khoảng cách để chữ KHÔNG chạm nút tìm kiếm ở 320 (trước: chữ tràn 31 px sang nút).
   Bản gốc cần ≥ 352 px để vừa; ba nút công cụ giữ nguyên 44×44 (vùng chạm); chỉ co logo (36→30), chữ (18→16) và đệm/khoảng cách ngang. ---------- */
@media (max-width: 351px) {
  .tmt-site-header .tmt-header__bar { gap: 4px; padding-inline: 4px 0; }
  .tmt-header__brand { gap: 6px; padding-inline: 4px; }
  .tmt-header__logo { height: 30px; }
  .tmt-header__wordmark { font-size: 16px; letter-spacing: 0.01em; }
}

/* ---------- ≥ 430: hiện tagline ---------- */
@media (min-width: 430px) { .tmt-header__wordmark small { display: block; } }

/* ---------- ≥ 768: gutter rộng hơn ---------- */
@media (min-width: 768px) {
  .tmt-site-header .tmt-header__bar { padding-inline: var(--space-4) var(--space-2); }
  .tmt-header__logo { height: 40px; }
  .tmt-header__wordmark { font-size: 20px; }
}

/* ---------- ≥ 992: menu ngang trên desktop ---------- */
@media (min-width: 992px) {
  .tmt-site-header .tmt-header__bar { gap: var(--space-4); padding-inline: var(--gutter); }
  .tmt-header__wordmark small { display: none; }
  .tmt-header__brand { padding-inline: 0; }
  .tmt-header__menu, .tmt-drawer__head, .tmt-drawer__foot, .tmt-drawer__overlay { display: none !important; }
  .tmt-drawer { position: static; z-index: auto; flex: 1 1 auto; width: auto; background: transparent; box-shadow: none; transform: none; visibility: visible; transition: none; justify-content: center; min-width: 0; }
  .tmt-drawer .tmt-nav { overflow: visible; flex: 0 1 auto; }
  .tmt-nav__list { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .tmt-nav__item { position: relative; border-bottom: 0; }
  .tmt-nav__row { align-items: center; height: var(--header-h); }
  .tmt-nav__link { flex: 0 0 auto; min-height: var(--tap-min); padding: 0 var(--space-2); font-size: 14px; letter-spacing: 0.03em; white-space: nowrap; border-radius: var(--radius-md); }
  .tmt-nav__link[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--color-brand-700); border-radius: 0; }
  .tmt-nav__toggle { flex: 0 0 32px; width: 32px; height: var(--tap-min); margin-left: -8px; border-left: 0; border-radius: var(--radius-md); }
  .tmt-nav__toggle::after { content: ""; position: absolute; inset: 0 -6px; } /* vùng chạm 44px */
  .tmt-nav__toggle svg { width: 18px; height: 18px; }
  /* Dropdown: MỘT cột, cùng cây đệ quy như mobile (nhánh lồng mở bằng nút +), cuộn khi cao hơn khung nhìn */
  .tmt-nav__sub {
    position: absolute; top: 100%; left: 0; z-index: var(--z-dropdown);
    width: 340px; max-height: calc(100vh - var(--header-h) - var(--space-6)); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--space-2) 0; background: var(--color-bg-surface);
    border: 1px solid var(--color-border); border-top: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-md);
  }
  .tmt-nt__link, .tmt-nt__toggle--row { font-size: var(--text-small); }
  .tmt-nt__item--l3 .tmt-nt__link, .tmt-nt__item--l4 .tmt-nt__link, .tmt-nt__item--l5 .tmt-nt__link { font-size: 14px; }

  .tmt-header__tools { gap: 0; }
  .tmt-header__account, .tmt-langbox--header { display: inline-flex; }
  .tmt-langbox--header { margin-inline: var(--space-1) var(--space-2); }
}

/* Giảm dấu trên màn hình rất rộng: giữ ở mức container */
@media (min-width: 1200px) {
  .tmt-site-header .tmt-header__bar { gap: var(--space-6); }
  .tmt-header__wordmark small { display: block; }
  .tmt-nav__link { padding: 0 var(--space-3); font-size: 15px; letter-spacing: 0.04em; }
  .tmt-header__tools { gap: var(--space-1); }
  .tmt-searchbtn { flex: 0 0 auto; width: 188px; height: 44px; justify-content: flex-start; padding: 0 var(--space-4); color: var(--color-text-muted); background: var(--color-bg-subtle); border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); margin-right: var(--space-2); }
  .tmt-searchbtn:hover { background: var(--color-bg-surface); border-color: var(--color-border-control); }
  .tmt-searchbtn svg { width: 20px; height: 20px; }
  .tmt-searchbtn__text { display: inline; }
}

/* Tablet 768–991: drawer rộng hơn một chút */
@media (min-width: 768px) and (max-width: 991.98px) {
  .tmt-drawer { width: min(60vw, 420px); }
}

@media (prefers-reduced-motion: reduce) {
  .tmt-drawer, .tmt-nav__toggle svg, .tmt-langbox--header .tmt-lang__note { transition: none; }
}
@media print {
  .tmt-bottomnav, .tmt-drawer__overlay, .tmt-header__search { display: none !important; }
}

/* Task 17 (tương phản): trang 404 và trang giỏ hàng cũ giữ nền sao tối của .wrap_background_aside nhưng tiêu đề, thông báo giỏ trống và nhãn "Tổng tiền" dùng chữ #222 nên gần như không đọc được.
   Chỉ đổi màu ở các khối tiêu đề trong phần bọc có class tmt-legacy-dark (do template 404/cart gắn); các dòng sản phẩm nằm trên nền trắng không bị ảnh hưởng. */
.tmt-legacy-dark .page-title h1,
.tmt-legacy-dark .page-title p,
.tmt-legacy-dark .title-cart h3,
.tmt-legacy-dark .title-cart p,
.tmt-legacy-dark .title_cart_pc p,
.tmt-legacy-dark .title_cart_mobile p { color: #f4efe6; }
.tmt-legacy-dark .title-cart a,
.tmt-legacy-dark .title_cart_pc a,
.tmt-legacy-dark .title_cart_mobile a { color: #ffd9a0; text-decoration: underline; }

/* ---------- Task 50: menu Quà tặng 3 tầng (#tmt-sub-s2; markup ở snippets/tmt-header.bwt) ----------
   A. Brand Home (.tmt-gm__brand: khối riêng, KHÔNG phải danh mục)  B. 3 dòng quà (nhánh l1)  C. mục con (l2).
   Mobile: dòng chính là nhánh +/− (tmt-nt__toggle). Desktop: mục con luôn hiện, thụt vào dưới dòng cha, nút +/− ẩn. */
#tmt-sub-s2 .tmt-gm__brand { border-top: 0; margin: var(--space-2) var(--space-3) var(--space-3); background: #f8f3e7; border: 1px solid #e0c98f; border-left: 4px solid var(--color-accent-500); border-radius: var(--radius-md); }
#tmt-sub-s2 .tmt-gm__brand .tmt-nt__link { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; min-height: 56px; padding: var(--space-2) var(--space-3); }
#tmt-sub-s2 .tmt-gm__mark { display: block; width: min(220px, 100%); height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
#tmt-sub-s2 .tmt-gm__name { font: 700 15px/1.25 var(--font-sans); letter-spacing: 0.02em; color: var(--color-brand-700); }
#tmt-sub-s2 .tmt-gm__sub { font: 400 13px/1.3 var(--font-sans); color: var(--color-text-muted); }
#tmt-sub-s2 .tmt-gm__brand .tmt-nt__link:hover { background: #f1e9d3; }
#tmt-sub-s2 .tmt-gm__brand .tmt-nt__link[aria-current="page"] { box-shadow: none; }
#tmt-sub-s2 > .tmt-nt__item--branch > .tmt-nt__row > .tmt-nt__link { font-weight: 700; color: var(--color-text-strong); }
#tmt-sub-s2 > .tmt-nt__item--branch > .tmt-nt__list { background: transparent; border-top: 0; }
#tmt-sub-s2 .tmt-nt__item--l2 { border-top: 0; --nt-pad: 36px; }
#tmt-sub-s2 .tmt-nt__item--l2 .tmt-nt__link { font-size: 15px; font-weight: 400; color: var(--color-text); position: relative; }
#tmt-sub-s2 .tmt-nt__item--l2 .tmt-nt__link::before { content: ""; position: absolute; left: 20px; top: 50%; width: 9px; height: 1.5px; background: var(--color-accent-500); }
@media (min-width: 992px) {
  #tmt-sub-s2 { width: 360px; }
  #tmt-sub-s2 .tmt-gm__brand { margin: var(--space-1) var(--space-3) var(--space-2); }
  #tmt-sub-s2 > .tmt-nt__item--branch { border-top: 0; padding: var(--space-1) 0; }
  #tmt-sub-s2 > .tmt-nt__item--branch + .tmt-nt__item--branch { border-top: 1px solid var(--color-border); }
  #tmt-sub-s2 > .tmt-nt__item--branch > .tmt-nt__row > .tmt-nt__toggle { display: none; }
  #tmt-sub-s2 > .tmt-nt__item--branch > .tmt-nt__list[hidden] { display: block !important; } /* bootstrap-4-3-min.css có [hidden]{display:none!important}; id + !important thắng */
  #tmt-sub-s2 .tmt-nt__item--l2 .tmt-nt__link { min-height: 40px; font-size: 14px; }
}

/* ---------- Task 54B: menu Sưu tầm (#tmt-sub-s1; markup ở snippets/tmt-collect-links.bwt, gọi từ tmt-header với tmt_cl_brand) ----------
   A. Brand Home (.tmt-cm__brand: khối navy riêng, KHÔNG phải danh mục; khác khối ngà của Quà tặng)  B. 9 dòng cấp 1 (Hàng mới, Sale + 7 nhóm chính). */
#tmt-sub-s1 .tmt-cm__brand { border-top: 0; margin: var(--space-2) var(--space-3) var(--space-2); background: #0c1a30; border: 1px solid #0c1a30; border-left: 4px solid #d6c28c; border-radius: var(--radius-md); }
#tmt-sub-s1 .tmt-cm__brand .tmt-nt__link { gap: 12px; align-items: center; min-height: 60px; padding: 8px 14px; color: #fbf7ea; }
#tmt-sub-s1 .tmt-cm__brand .tmt-nt__link:hover { background: #14284a; color: #fff; }
#tmt-sub-s1 .tmt-cm__brand .tmt-nt__link[aria-current="page"] { box-shadow: none; color: #fff; }
#tmt-sub-s1 .tmt-cm__mark { flex: none; width: 42px; height: auto; padding: 4px; background: #f3eee2; border-radius: 2px; }
#tmt-sub-s1 .tmt-cm__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tmt-sub-s1 .tmt-cm__name { font: 700 15px/1.2 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: #fbf7ea; }
#tmt-sub-s1 .tmt-cm__sub { font: 600 12.5px/1.3 var(--font-sans); letter-spacing: 0.04em; color: #d6c28c; }
#tmt-sub-s1 > .tmt-nt__item--l1 > .tmt-nt__row > .tmt-nt__link, #tmt-sub-s1 > .tmt-nt__item--l1 > .tmt-nt__row > .tmt-nt__toggle--row, #tmt-sub-s1 > .tmt-nt__item--l1 > .tmt-nt__link { font-size: 15px; font-weight: 600; color: var(--color-text-strong); }
@media (min-width: 992px) {
  #tmt-sub-s1 { width: 360px; }
  #tmt-sub-s1 .tmt-cm__brand { margin: var(--space-1) var(--space-3) var(--space-2); }
}

/* ---------- Task 60: điều hướng EN trung thực về ngôn ngữ ----------
   (1) .tmt-vitag: nhãn nhỏ "in Vietnamese" đặt cạnh liên kết dẫn tới trang chỉ có tiếng Việt (thẻ Gift, thanh dưới).
   (2) .tmt-nav__item--panel: mục cấp 0 KHÔNG có trang EN tương ứng (COLLECT, STORIES, ABOUT ở EN): chỉ là nút mở bảng giải thích + MỘT liên kết có nhãn; không có liên kết cấp 0 dẫn thẳng sang trang VI.
   Chỉ dùng ở giao diện EN (snippets/tmt-nav-panel-en.bwt); giao diện VI không có các class này. */
.tmt-vitag { display: inline-block; margin-left: 0.45em; padding: 1px 8px; font: 600 11px/1.6 var(--font-sans); letter-spacing: 0.02em; text-transform: none; color: var(--color-text-muted); background: var(--color-bg-subtle); border: 1px solid var(--color-border); border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.tmt-nt__note { padding: var(--space-3) 20px var(--space-2); border-top: 0; }
.tmt-nt__note-title { display: block; font: 700 14px/1.3 var(--font-sans); color: var(--color-text-strong); }
.tmt-nt__note-text { display: block; margin-top: 2px; font: 400 13px/1.45 var(--font-sans); color: var(--color-text-muted); }
.tmt-nt__list--panel .tmt-nt__item--l1 .tmt-nt__link { font-weight: 600; }
@media (min-width: 992px) {
  .tmt-nav__item--panel > .tmt-nav__row > .tmt-nav__toggle { flex: 0 0 auto; width: auto; height: var(--tap-min); margin-left: 0; padding: 0 var(--space-2); gap: 4px; border-radius: var(--radius-md); font: 700 14px/1.2 var(--font-sans); letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-text-strong); }
  .tmt-nav__item--panel > .tmt-nav__row > .tmt-nav__toggle .tmt-nav__toggle-text { display: inline; }
  .tmt-nav__item--panel > .tmt-nav__row > .tmt-nav__toggle::after { inset: 0; }
  .tmt-nav__item--panel > .tmt-nav__row > .tmt-nav__toggle[aria-expanded="true"] { color: var(--color-brand-700); }
  .tmt-nav__item--panel .tmt-nav__sub { width: 320px; }
}
@media (min-width: 1200px) {
  .tmt-nav__item--panel > .tmt-nav__row > .tmt-nav__toggle { padding: 0 var(--space-3); font-size: 15px; letter-spacing: 0.04em; }
}
/* Task 60: nhãn "VI" nhỏ trên icon của thanh dưới EN (Collect, Stories) */
.tmt-bottomnav__item--vi { position: relative; }
.tmt-vitag--bn { position: absolute; top: 5px; left: calc(50% + 7px); margin: 0; padding: 0 5px; font-style: normal; font: 700 9px/14px var(--font-sans); letter-spacing: 0.04em; color: var(--color-bg-surface, #fff); background: var(--color-text-muted); border: 0; border-radius: 7px; }
/* Task 60: hàng con EN (WORLD BANKNOTES) cao tối thiểu 44px trên desktop */
#tmt-sub-s2 .tmt-nt__item--l2.tmt-nt__item--tall .tmt-nt__link, .tmt-nt__item--tall > .tmt-nt__link { min-height: 44px; }