/* =====================================================================
   nhuathongminh.com - header + hero trang chu (30/09/2026)
   Dung cho: component/header.blade.php (.ntm-header),
             component/ntm-category-card / ntm-category-sub / ntm-nav-sub,
             homepage/home/index.blade.php (.ntm-hero).
   Quay ve giao dien cu: go <link> ntm-header.css trong homepage/layout.blade.php
   va khoi phuc cac file *.bak-20260930.
   ===================================================================== */
:root {
    --ntm-primary: #167edf;
    --ntm-primary-dark: #0f66bb;
    --ntm-primary-soft: #e8f2fc;
    --ntm-accent: #ffde3c;
    --ntm-text: #1f2530;
    --ntm-muted: #6b7280;
    --ntm-pill: #f1f3f6;
    --ntm-border: #e3e7ed;
    --ntm-radius: 12px;
    --ntm-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 1. HEADER ---------- */
.ntm-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-top: 4px solid var(--ntm-primary);
    box-shadow: 0 4px 18px rgba(16, 38, 68, .08);
}
.ntm-header > .uk-container.uk-container-center { padding-left: 15px !important; padding-right: 15px !important; }
.ntm-header__inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 86px;
}
.ntm-logo {
    flex: 0 0 auto;
    display: block;
    line-height: 0;
}
.ntm-logo img {
    height: 64px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* menu ngang */
.ntm-nav {
    flex: 1 1 auto;
    min-width: 0;
}
.ntm-nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ntm-nav__item {
    position: relative;
    list-style: none;
}
.ntm-nav__item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 30px 12px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ntm-text);
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s;
}
.ntm-nav__item > a .fa {
    font-size: 15px;
    transition: transform .25s var(--ntm-ease);
}
.ntm-nav__item:hover > a,
.ntm-nav__item.active > a {
    color: var(--ntm-primary);
    text-decoration: none;
}
.ntm-nav__item:hover > a .fa { transform: rotate(180deg); }

/* dropdown menu ngang */
.ntm-dd {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(16, 38, 68, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s var(--ntm-ease) .12s, transform .2s var(--ntm-ease) .12s, visibility 0s linear .32s;
    z-index: 20;
}
.ntm-dd .ntm-dd {           /* cap 3+ mo sang phai */
    top: -8px;
    left: 100%;
    margin-left: 6px;
    transform: translateX(10px);
}
.ntm-dd .ntm-dd:before {    /* cau noi hover qua khe 6px */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -14px;
    width: 14px;
}
.ntm-nav__item:hover > .ntm-dd,
.ntm-dd__item:hover > .ntm-dd {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s var(--ntm-ease), transform .25s var(--ntm-ease), visibility 0s;
}
.ntm-dd__item {
    position: relative;
    list-style: none;
}
.ntm-dd__item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 14px;
    color: var(--ntm-text);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.ntm-dd__item:hover > a {
    background: var(--ntm-primary-soft);
    color: var(--ntm-primary);
    text-decoration: none;
}

/* tim kiem */
.ntm-search {
    flex: 0 0 250px;
    position: relative;
    display: flex;
    align-items: center;
    height: 42px;
    margin: 0;
    border: 1.5px solid var(--ntm-primary);
    border-radius: 999px;
    background: #fff;
    transition: box-shadow .2s;
}
.ntm-search:focus-within { box-shadow: 0 0 0 4px rgba(22, 126, 223, .15); }
.ntm-search input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 8px 0 18px;
    border: 0 !important;
    outline: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    color: var(--ntm-text);
}
.ntm-search input::placeholder { color: #9aa1ac; }
.ntm-search button {
    flex: 0 0 42px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ntm-primary);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

/* icon ben phai */
.ntm-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.ntm-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--ntm-text);
    font-size: 24px;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.ntm-icon .fa-phone { font-size: 23px; }
.ntm-icon:hover {
    color: var(--ntm-primary);
    background: var(--ntm-primary-soft);
    text-decoration: none;
}
.ntm-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--ntm-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}
.ntm-lang {
    display: flex;
    gap: 6px;
}
.ntm-lang a { line-height: 0; }
.ntm-lang img {
    width: 22px;
    height: auto;
    border-radius: 3px;
    opacity: .85;
    transition: opacity .2s, transform .2s;
}
.ntm-lang a:hover img { opacity: 1; transform: translateY(-1px); }

/* nut "Danh muc" tren header (trang trong) */
.ntm-header__cat {
    position: relative;
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
}
.ntm-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--ntm-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.ntm-header__cat:hover .ntm-cat-btn { background: var(--ntm-primary-dark); }
.ntm-cat--dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 290px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s var(--ntm-ease), transform .25s var(--ntm-ease), visibility 0s linear .25s;
}
.ntm-header__cat:hover .ntm-cat--dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}
.ntm-cat--dropdown .ntm-cat__head { display: none; }
.ntm-cat--dropdown .ntm-cat__body {
    border-radius: var(--ntm-radius);
    box-shadow: 0 14px 34px rgba(16, 38, 68, .18);
}

@media (max-width: 1199px) {
    .ntm-header__inner { gap: 14px; }
    .ntm-logo img { height: 52px; max-width: 150px; }
    .ntm-nav__item > a { padding: 28px 7px; font-size: 14px; }
    .ntm-search { flex-basis: 180px; }
    .ntm-actions { gap: 8px; }
    .ntm-lang { display: none; }
}

/* ---------- 2. HERO TRANG CHU ---------- */
.ntm-hero {
    padding: 28px 0 30px;
    background: #f4f6f9;
}
.ntm-hero__row {
    display: flex;
    align-items: stretch;
    gap: 30px;
}
.ntm-hero__side {
    flex: 0 0 280px;
    position: relative;
    z-index: 50;        /* flyout de len banner */
}
.ntm-hero__main {
    flex: 1 1 auto;
    min-width: 0;
}

/* ---------- 3. THE "DANH MUC" ---------- */
.ntm-cat { font-size: 15px; }
.ntm-cat--home {
    position: absolute;  /* cao bang dung banner, list tu cuon */
    inset: 0;
    display: flex;
    flex-direction: column;
}
.ntm-cat__head {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    height: 50px;
}
.ntm-cat__tab {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 26px 0 20px;
    border-radius: var(--ntm-radius) var(--ntm-radius) 0 0;
    background: #fff;
    color: var(--ntm-primary);
    font-size: 17px;
    font-weight: 700;
}
.ntm-cat__tab .fa { font-size: 17px; }
.ntm-cat__deco {       /* khoi mau ben phai tab, nhu mau */
    flex: 1;
    margin-left: -12px;
    border-radius: 0 var(--ntm-radius) 0 0;
    background: var(--ntm-primary);
}
.ntm-cat__body {
    position: relative;  /* moc dinh vi cho flyout (khong bi cat boi thanh cuon) */
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    background: #fff;
    border-radius: 0 0 var(--ntm-radius) var(--ntm-radius);
    border-right: 6px solid var(--ntm-primary);
    box-shadow: 0 6px 20px rgba(16, 38, 68, .06);
}
.ntm-cat__list {
    flex: 1;
    margin: 0;
    padding: 14px 10px 14px 14px;
    list-style: none;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c6cdd6 transparent;
}
.ntm-cat__list::-webkit-scrollbar { width: 6px; }
.ntm-cat__list::-webkit-scrollbar-thumb { background: #c6cdd6; border-radius: 3px; }
.ntm-cat__item {
    position: static;   /* flyout dinh vi theo .ntm-cat__body */
    list-style: none;
    margin: 0 0 9px;
}
.ntm-cat__item:last-child { margin-bottom: 0; }
.ntm-cat__link,
.ntm-fly__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 7px;
    background: var(--ntm-pill);
    color: var(--ntm-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background .22s var(--ntm-ease), color .22s var(--ntm-ease), padding .22s var(--ntm-ease);
}
.ntm-cat__link .fa,
.ntm-fly__link .fa {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 400;
    color: #555c66;
    transition: transform .22s var(--ntm-ease), color .22s;
}
.ntm-cat__item:hover > .ntm-cat__link,
.ntm-fly__item:hover > .ntm-fly__link {
    background: var(--ntm-primary-soft);
    color: var(--ntm-primary);
    padding-left: 16px;
    text-decoration: none;
}
.ntm-cat__item:hover > .ntm-cat__link .fa,
.ntm-fly__item:hover > .ntm-fly__link .fa {
    color: var(--ntm-primary);
    transform: translateX(3px);
}
.ntm-cat__item:hover > .ntm-cat__link { box-shadow: inset 3px 0 0 var(--ntm-accent); }

/* ---------- 4. FLYOUT MENU CON (mo sang phai, hien muot) ---------- */
.ntm-fly {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 2;
    min-height: 100%;
    width: 300px;
    padding-left: 10px;  /* vung trong suot = cau noi hover */
    opacity: 0;
    visibility: hidden;
    transform: translateX(14px);
    /* an CO TRE (.15s) de chuot kip di qua khe giua muc cha va bang con */
    transition: opacity .22s var(--ntm-ease) .15s, transform .22s var(--ntm-ease) .15s, visibility 0s linear .37s;
}
.ntm-fly:before {       /* cau noi hover phu qua le phai cua danh sach / thanh cuon */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -22px;
    width: 32px;
}
.ntm-cat--home .ntm-fly { height: 100%; }
.has-sub:hover > .ntm-fly {
    z-index: 3;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .28s var(--ntm-ease), transform .28s var(--ntm-ease), visibility 0s;
}
.ntm-fly__panel {
    height: 100%;
    min-height: inherit;
    padding: 14px;
    border-radius: var(--ntm-radius);
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 38, 68, .18);
}
.ntm-fly__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ntm-fly__item {
    position: static;   /* flyout cap sau dinh vi theo .ntm-fly */
    list-style: none;
    margin: 0 0 8px;
}
.ntm-fly__item:last-child { margin-bottom: 0; }
.ntm-fly__link {
    font-size: 14.5px;
    font-weight: 600;
    background: transparent;
}
.ntm-fly__item > .ntm-fly__link { border-bottom: 1px dashed var(--ntm-border); border-radius: 7px 7px 0 0; }
.ntm-fly__item:last-child > .ntm-fly__link { border-bottom: 0; border-radius: 7px; }
/* hieu ung tung dong hien lan luot */
.ntm-fly__item {
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .3s var(--ntm-ease), transform .3s var(--ntm-ease);
}
.has-sub:hover > .ntm-fly > .ntm-fly__panel > .ntm-fly__list > .ntm-fly__item { opacity: 1; transform: none; }
.has-sub:hover > .ntm-fly .ntm-fly__item:nth-child(2) { transition-delay: .04s; }
.has-sub:hover > .ntm-fly .ntm-fly__item:nth-child(3) { transition-delay: .08s; }
.has-sub:hover > .ntm-fly .ntm-fly__item:nth-child(4) { transition-delay: .12s; }
.has-sub:hover > .ntm-fly .ntm-fly__item:nth-child(5) { transition-delay: .16s; }
.has-sub:hover > .ntm-fly .ntm-fly__item:nth-child(n+6) { transition-delay: .2s; }

/* ---------- 5. BANNER ---------- */
.ntm-hero-slider {
    position: relative;
    border-radius: var(--ntm-radius);
    overflow: hidden;
    background: #e9edf2;
    box-shadow: 0 6px 20px rgba(16, 38, 68, .08);
}
.ntm-hero-slider .item a { display: block; line-height: 0; }
.ntm-hero-slider .item img {
    display: block;
    width: 100%;
    height: auto;
}
.ntm-hero-slider.owl-theme .owl-nav { margin: 0; }
.ntm-hero-slider.owl-theme .owl-nav [class*="owl-"],
.ntm-hero-slider .owl-nav button.owl-prev,
.ntm-hero-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    margin: -28px 0 0 !important;
    width: 44px;
    height: 56px;
    padding: 0 !important;
    border: 0;
    background: transparent !important;
    color: #fff !important;
    font-size: 64px !important;
    line-height: 56px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    opacity: .9;
    transition: opacity .2s, transform .2s;
}
.ntm-hero-slider .owl-nav .owl-prev { left: 12px; }
.ntm-hero-slider .owl-nav .owl-next { right: 12px; }
.ntm-hero-slider .owl-nav .owl-prev:hover { opacity: 1; transform: translateX(-3px); }
.ntm-hero-slider .owl-nav .owl-next:hover { opacity: 1; transform: translateX(3px); }
.ntm-hero-slider .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    line-height: 0;
}
.ntm-hero-slider .owl-dots .owl-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid transparent !important;
    border-radius: 50%;
    background: transparent !important;
    transition: border-color .25s;
}
.ntm-hero-slider .owl-dots .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85) !important;
    transition: background .25s;
}
.ntm-hero-slider .owl-dots .owl-dot.active { border-color: var(--ntm-primary) !important; }
.ntm-hero-slider .owl-dots .owl-dot.active span { background: var(--ntm-primary) !important; }

@media (max-width: 1199px) {
    .ntm-hero__side { flex-basis: 250px; }
    .ntm-hero__row { gap: 20px; }
    .ntm-cat__link { font-size: 14px; padding: 9px 10px; }
}
@media (max-width: 959px) {
    .ntm-hero { padding: 12px 0 16px; }
    .ntm-hero-slider { border-radius: 10px; }
    .ntm-hero-slider .owl-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ntm-fly, .ntm-fly__item, .ntm-dd, .ntm-cat--dropdown { transition: none !important; }
}

/* =====================================================================
   6. HEADER MOBILE / TABLET (< 960px) - 01/10/2026
   ===================================================================== */
.ntm-mhead {
    position: relative;
    z-index: 1000;
    padding: 10px 14px 14px;
    background: var(--ntm-primary);
    box-shadow: 0 4px 14px rgba(16, 38, 68, .12);
}
.ntm-mhead__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 60px;
}
.ntm-mhead__menu,
.ntm-mhead__cart {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 58px;
    height: 52px;
    padding: 0 6px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s, transform .15s;
}
.ntm-mhead__menu .fa { font-size: 20px; }
.ntm-mhead__cart { min-width: 52px; font-size: 25px; }
.ntm-mhead__menu:active,
.ntm-mhead__cart:active { transform: scale(.95); background: rgba(255, 255, 255, .26); }
.ntm-mhead__cart:hover, .ntm-mhead__cart:focus { color: #fff; text-decoration: none; }
.ntm-mhead__cart .ntm-badge {
    top: 4px;
    right: 4px;
    background: var(--ntm-accent);
    color: #1f2530;
}
.ntm-mhead__logo {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    line-height: 0;
}
.ntm-mhead__logo img {
    height: 58px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}
.ntm-msearch {
    display: flex;
    align-items: center;
    height: 46px;
    margin: 10px 0 0;
    padding: 4px 4px 4px 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(10, 45, 90, .18);
}
.ntm-msearch input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0 !important;
    outline: 0;
    background: transparent;
    box-shadow: none;
    font-size: 16px;   /* >= 16px: iOS khong tu zoom khi bam vao o */
    color: var(--ntm-text);
    -webkit-appearance: none;
}
.ntm-msearch input::placeholder { color: #9aa1ac; }
.ntm-msearch button {
    flex: 0 0 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ntm-primary);
    color: #fff;
    font-size: 20px;
    line-height: 38px;
    cursor: pointer;
}

/* ---------- 7. NGAN KEO (DRAWER) ---------- */
html.ntm-lock, html.ntm-lock body { overflow: hidden; }
.ntm-drawer {
    position: fixed;
    inset: 0;
    z-index: 100000;
    visibility: hidden;
    transition: visibility 0s linear .35s;
}
.ntm-drawer.is-open { visibility: visible; transition-delay: 0s; }
.ntm-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, .5);
    opacity: 0;
    transition: opacity .35s var(--ntm-ease);
}
.ntm-drawer.is-open .ntm-drawer__overlay { opacity: 1; }
.ntm-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 86%;
    max-width: 360px;
    background: #fff;
    box-shadow: 8px 0 30px rgba(10, 22, 40, .25);
    transform: translateX(-100%);
    transition: transform .35s var(--ntm-ease);
}
.ntm-drawer.is-open .ntm-drawer__panel { transform: none; }
.ntm-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 12px 16px;
    background: var(--ntm-primary);
}
.ntm-drawer__logo { line-height: 0; }
.ntm-drawer__logo img { height: 46px; width: auto; }
.ntm-drawer__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.ntm-drawer__tabs {
    display: flex;
    gap: 6px;
    margin: 12px 12px 4px;
    padding: 4px;
    border-radius: 12px;
    background: var(--ntm-pill);
}
.ntm-drawer__tabs button {
    flex: 1;
    height: 40px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ntm-muted);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
}
.ntm-drawer__tabs button.is-active {
    background: #fff;
    color: var(--ntm-primary);
    box-shadow: 0 2px 8px rgba(16, 38, 68, .1);
}
.ntm-drawer__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 12px 16px;
}
.ntm-drawer__pane { display: none; animation: ntmFade .3s var(--ntm-ease); }
.ntm-drawer__pane.is-active { display: block; }
@keyframes ntmFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ntm-mm { margin: 0; padding: 0; list-style: none; }
.ntm-mm__item { list-style: none; }
.ntm-mm--lv1 > .ntm-mm__item { margin-bottom: 8px; }
.ntm-mm__row {
    display: flex;
    align-items: stretch;
    border-radius: 9px;
    background: var(--ntm-pill);
    transition: background .2s;
}
.ntm-mm__row > a {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    color: var(--ntm-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}
.ntm-mm__toggle {
    flex: 0 0 46px;
    border: 0;
    border-left: 1px solid rgba(0, 0, 0, .06);
    background: transparent;
    color: #555c66;
    font-size: 20px;
    cursor: pointer;
}
.ntm-mm__toggle .fa { transition: transform .3s var(--ntm-ease); }
.ntm-mm__item.is-open > .ntm-mm__row { background: var(--ntm-primary-soft); }
.ntm-mm__item.is-open > .ntm-mm__row > a,
.ntm-mm__item.is-open > .ntm-mm__row > .ntm-mm__toggle { color: var(--ntm-primary); }
.ntm-mm__item.is-open > .ntm-mm__row > .ntm-mm__toggle .fa { transform: rotate(180deg); }
/* xo xuong muot: grid 0fr -> 1fr */
.ntm-mm__sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s var(--ntm-ease);
}
.ntm-mm__sub > div { overflow: hidden; min-height: 0; }
.ntm-mm__item.is-open > .ntm-mm__sub { grid-template-rows: 1fr; }
.ntm-mm .ntm-mm { padding: 4px 0 2px 12px; border-left: 2px solid var(--ntm-primary-soft); margin: 6px 0 0 10px; }
.ntm-mm .ntm-mm .ntm-mm__item { margin-bottom: 4px; }
.ntm-mm .ntm-mm .ntm-mm__row { background: transparent; }
.ntm-mm .ntm-mm .ntm-mm__row > a { padding: 9px 10px; font-size: 14px; font-weight: 600; }
.ntm-mm .ntm-mm .ntm-mm__toggle { flex-basis: 40px; border-left: 0; font-size: 18px; }
.ntm-drawer__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid var(--ntm-border);
}
.ntm-drawer__call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 999px;
    background: var(--ntm-primary);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
}
.ntm-drawer__call:hover, .ntm-drawer__call:focus { color: #fff; text-decoration: none; }
.ntm-drawer .ntm-lang { display: flex; flex: 0 0 auto; }
@media (min-width: 960px) { .ntm-drawer { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .ntm-drawer, .ntm-drawer__overlay, .ntm-drawer__panel, .ntm-mm__sub { transition: none !important; }
}
