/* TopView Header v3.0 */

:root {
    --tv-header-height: 76px;
    --tv-header-bg: rgba(255, 255, 255, .96);
    --tv-header-border: #e4eaf1;
    --tv-header-text: #14213d;
    --tv-header-muted: #64748b;
    --tv-header-accent: #ff5a36;
    --tv-header-accent-dark: #e84a28;
}

body.tv-menu-open {
    overflow: hidden;
}

.tv-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid var(--tv-header-border);
    background: var(--tv-header-bg);
    box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.tv-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    min-height: var(--tv-header-height);
    padding: 9px 0;
}

.tv-logo,
.tv-mobile-menu-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
}

.tv-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.tv-desktop-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.tv-desktop-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 10px 11px;
    border-radius: 9px;
    color: var(--tv-header-text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color .18s ease,
        background-color .18s ease;
}

.tv-desktop-nav a:hover,
.tv-desktop-nav a.active {
    background: #fff2ee;
    color: var(--tv-header-accent);
}

.tv-desktop-search {
    position: relative;
    width: min(330px, 25vw);
}

.tv-search-form,
.tv-mobile-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-search-field {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d9e1eb;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--tv-header-muted);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.tv-search-field:focus-within {
    border-color: #ff9f89;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 90, 54, .12);
}

.tv-search-field input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tv-header-text);
    font: inherit;
    font-size: 14px;
    outline: none;
}

.tv-search-field input::placeholder {
    color: #94a3b8;
}

.tv-search-form > button,
.tv-mobile-search-form > button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: var(--tv-header-accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background-color .18s ease,
        transform .18s ease;
}

.tv-search-form > button:hover,
.tv-mobile-search-form > button:hover {
    background: var(--tv-header-accent-dark);
    transform: translateY(-1px);
}

.tv-icon-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce4ed;
    border-radius: 12px;
    background: #fff;
    color: var(--tv-header-text);
    cursor: pointer;
}

.tv-icon-button:hover {
    border-color: #ffc0b1;
    background: #fff4f1;
    color: var(--tv-header-accent);
}

.tv-menu-button,
.tv-search-button {
    display: none;
}

.tv-mobile-search-panel {
    border-top: 1px solid var(--tv-header-border);
    background: #fff;
}

.tv-mobile-search-panel[hidden] {
    display: none;
}

.tv-mobile-search-panel .container {
    padding-top: 12px;
    padding-bottom: 14px;
}

.tv-menu-backdrop {
    position: fixed;
    z-index: 1190;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    transition: opacity .22s ease;
}

.tv-menu-backdrop[hidden] {
    display: none;
}

.tv-menu-backdrop.visible {
    opacity: 1;
}

.tv-mobile-menu {
    position: fixed;
    z-index: 1200;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: min(86vw, 360px);
    flex-direction: column;
    background: #fff;
    box-shadow: 24px 0 50px rgba(15, 23, 42, .18);
    transform: translateX(-104%);
    transition: transform .24s ease;
}

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

.tv-mobile-menu-head {
    display: flex;
    min-height: 76px;
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--tv-header-border);
}

.tv-mobile-menu-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 54px;
}

.tv-mobile-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    overflow-y: auto;
}

.tv-mobile-nav a {
    display: flex;
    min-height: 46px;
    padding: 11px 13px;
    align-items: center;
    border-radius: 11px;
    color: var(--tv-header-text);
    font-weight: 750;
    text-decoration: none;
}

.tv-mobile-nav a:hover,
.tv-mobile-nav a.active {
    background: #fff1ed;
    color: var(--tv-header-accent);
}

.tv-mobile-nav-label {
    margin: 14px 12px 4px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tv-mobile-menu-footer {
    padding: 14px 16px 20px;
    border-top: 1px solid var(--tv-header-border);
}

.tv-mobile-menu-footer a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--tv-header-accent);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.tv-header .search-suggestions {
    top: calc(100% + 9px);
    right: -1px;
    left: -1px;
}

@media (max-width: 1180px) {
    .tv-header-inner {
        gap: 18px;
    }

    .tv-desktop-nav a {
        padding-inline: 8px;
        font-size: 13px;
    }

    .tv-desktop-search {
        width: min(285px, 24vw);
    }
}

@media (max-width: 980px) {
    .tv-header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .tv-menu-button,
    .tv-search-button {
        display: inline-flex;
    }

    .tv-logo {
        justify-self: center;
    }

    .tv-logo img {
        max-width: 210px;
        max-height: 56px;
    }

    .tv-desktop-nav,
    .tv-desktop-search {
        display: none;
    }
}

@media (max-width: 600px) {
    :root {
        --tv-header-height: 66px;
    }

    .tv-header-inner {
        min-height: var(--tv-header-height);
        padding: 7px 0;
    }

    .tv-icon-button {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .tv-logo img {
        max-width: min(190px, calc(100vw - 140px));
        max-height: 50px;
    }

    .tv-mobile-search-panel .container {
        width: min(100% - 20px, 1180px);
        padding-top: 10px;
        padding-bottom: 11px;
    }

    .tv-mobile-search-form {
        align-items: stretch;
    }

    .tv-mobile-search-form > button {
        height: 46px;
        padding-inline: 15px;
    }

    .tv-search-field input {
        height: 46px;
        font-size: 16px;
    }

    .tv-header .search-suggestions {
        position: fixed;
        z-index: 1300;
        top: 132px;
        right: 10px;
        left: 10px;
        max-height: calc(100vh - 150px);
    }
}

@media (max-width: 360px) {
    .tv-header-inner {
        width: calc(100% - 18px);
        gap: 7px;
    }

    .tv-icon-button {
        width: 40px;
        height: 40px;
    }

    .tv-logo img {
        max-width: min(160px, calc(100vw - 118px));
    }
}


/* Category icons v1.0 */

.tv-desktop-nav a,
.tv-mobile-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tv-category-icon {
    display: inline-flex;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
}

.tv-mobile-nav .tv-category-icon {
    flex-basis: 26px;
    width: 26px;
    font-size: 19px;
}


/* TopView Mega Menu 3 Columns v1.0 */

.tv-mega-menu-wrap {
    position: relative;
    flex: 0 0 auto;
}

.tv-mega-trigger {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 12px;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--tv-header-text);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.tv-mega-trigger:hover,
.tv-mega-trigger.active,
.tv-mega-trigger[aria-expanded="true"] {
    background: #fff2ee;
    color: var(--tv-header-accent);
}

.tv-mega-trigger-icon {
    font-size: 17px;
    line-height: 1;
}

.tv-mega-menu {
    position: fixed;
    z-index: 1150;
    top: var(--tv-header-height);
    right: 50%;
    display: grid;
    width: min(1160px, calc(100vw - 32px));
    grid-template-columns:
        minmax(280px, .95fr)
        minmax(260px, .8fr)
        minmax(270px, .85fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .18);
    transform: translateX(50%);
}

.tv-mega-menu[hidden] {
    display: none;
}

.tv-mega-column {
    min-width: 0;
    padding: 24px;
    border-right: 1px solid #edf1f5;
}

.tv-mega-column:last-child {
    border-right: 0;
}

.tv-mega-heading {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tv-mega-heading > span {
    color: #14213d;
    font-size: 16px;
    font-weight: 900;
}

.tv-mega-heading > a {
    color: #ff5a36;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.tv-mega-review-list {
    display: grid;
    gap: 9px;
}

.tv-mega-review {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 8px;
    border-radius: 11px;
    color: #14213d;
    text-decoration: none;
}

.tv-mega-review:hover {
    background: #f8fafc;
}

.tv-mega-review img,
.tv-mega-review-placeholder {
    display: block;
    width: 64px;
    height: 48px;
    border-radius: 9px;
    object-fit: cover;
}

.tv-mega-review-placeholder {
    display: grid;
    place-items: center;
    background: #fff1ed;
    color: #ff5a36;
    font-size: 20px;
}

.tv-mega-review strong {
    display: -webkit-box;
    overflow: hidden;
    color: #14213d;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tv-mega-review small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
}

.tv-mega-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tv-mega-chip-list a {
    display: inline-flex;
    min-height: 36px;
    padding: 7px 11px;
    align-items: center;
    gap: 7px;
    border: 1px solid #dce7df;
    border-radius: 999px;
    background: #f1fbf4;
    color: #187d41;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.tv-mega-chip-list a:hover {
    border-color: #2baa60;
    background: #2baa60;
    color: #fff;
}

.tv-mega-location-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tv-mega-location-list a {
    display: flex;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    align-items: center;
    gap: 7px;
    border-radius: 9px;
    background: #eef8ff;
    color: #1374ad;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.tv-mega-location-list a:hover {
    background: #1689c7;
    color: #fff;
}

.tv-mobile-review-link {
    align-items: flex-start !important;
}

.tv-mobile-review-link > span:first-child {
    color: #ff5a36;
}

@media (max-width: 980px) {
    .tv-mega-menu-wrap {
        display: none;
    }
}


/* Priority + grouped locations v2.0 */

.priority-cell {
    width: 64px;
    font-weight: 800;
    text-align: center;
}

.tv-mega-location-groups {
    display: grid;
    gap: 8px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.tv-location-group {
    overflow: hidden;
    border: 1px solid #dce8f1;
    border-radius: 10px;
    background: #f8fbfe;
}

.tv-location-parent {
    display: flex;
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #155f8d;
    font: inherit;
    cursor: pointer;
}

.tv-location-parent:hover,
.tv-location-parent[aria-expanded="true"] {
    background: #eaf6fd;
    color: #0c76ad;
}

.tv-location-parent-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.tv-location-parent svg {
    flex: 0 0 auto;
    transition: transform .18s ease;
}

.tv-location-parent[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.tv-location-children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 10px 11px;
    border-top: 1px solid #dce8f1;
    background: #fff;
}

.tv-location-children[hidden] {
    display: none;
}

.tv-location-children a {
    display: block;
    min-width: 0;
    padding: 7px 8px;
    overflow: hidden;
    border-radius: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tv-location-children a:hover {
    background: #eef8ff;
    color: #1374ad;
}

.tv-location-children .tv-location-all {
    grid-column: 1 / -1;
    color: #ff5a36;
    font-weight: 900;
}

.tv-mobile-location-group {
    overflow: hidden;
    border-radius: 10px;
}

.tv-mobile-location-parent {
    display: flex;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--tv-header-text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tv-mobile-location-parent:hover,
.tv-mobile-location-parent[aria-expanded="true"] {
    background: #eef8ff;
    color: #1374ad;
}

.tv-mobile-location-children {
    display: grid;
    gap: 3px;
    padding: 4px 10px 9px 29px;
}

.tv-mobile-location-children[hidden] {
    display: none;
}

.tv-mobile-location-children a {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 13px;
    font-weight: 700 !important;
}


/* Mobile menu simple links v1.0 */

.tv-mobile-nav-simple {
    gap: 8px;
    padding: 18px 16px;
}

.tv-mobile-nav-simple a {
    display: flex;
    min-height: 50px;
    padding: 12px 14px;
    align-items: center;
    gap: 12px;
    border: 1px solid #e7edf3;
    border-radius: 12px;
    background: #fff;
    color: var(--tv-header-text);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.tv-mobile-nav-simple a:hover,
.tv-mobile-nav-simple a.active {
    border-color: #ffc4b5;
    background: #fff3ef;
    color: var(--tv-header-accent);
}

.tv-mobile-nav-simple a > span:first-child {
    display: inline-grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: #f1f5f9;
    font-size: 18px;
    line-height: 1;
}

.tv-mobile-nav-simple a:hover > span:first-child,
.tv-mobile-nav-simple a.active > span:first-child {
    background: #ffe9e2;
}


/* =========================================================
   TopView Menu Scrollbar v1.0
   ========================================================= */

/* Drawer luôn nằm gọn trong chiều cao màn hình. */
.tv-mobile-menu {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
}

/* Phần đầu và cuối không bị co khi menu dài. */
.tv-mobile-menu-head,
.tv-mobile-menu-footer {
    flex: 0 0 auto;
}

/* Chỉ phần liên kết ở giữa được cuộn. */
.tv-mobile-nav {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #ff7555 #edf2f7;
}

/* Thanh cuộn trên Chrome, Edge, Safari. */
.tv-mobile-nav::-webkit-scrollbar {
    width: 7px;
}

.tv-mobile-nav::-webkit-scrollbar-track {
    margin: 6px 0;
    border-radius: 999px;
    background: #edf2f7;
}

.tv-mobile-nav::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 1px solid #edf2f7;
    border-radius: 999px;
    background: #ff7555;
}

.tv-mobile-nav::-webkit-scrollbar-thumb:hover {
    background: #ff5a36;
}

/* Tạo khoảng thở để liên kết không sát thanh kéo. */
.tv-mobile-nav-simple {
    padding-right: 10px;
}

/* Mega Menu desktop không vượt quá chiều cao màn hình. */
.tv-mega-menu {
    max-height: calc(100vh - var(--tv-header-height) - 14px);
    max-height: calc(100dvh - var(--tv-header-height) - 14px);
    overflow: hidden;
}

/* Mỗi cột có thể kéo riêng khi nội dung dài. */
.tv-mega-column {
    min-height: 0;
    max-height: calc(100vh - var(--tv-header-height) - 14px);
    max-height: calc(100dvh - var(--tv-header-height) - 14px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c7d2df #f1f5f9;
}

.tv-mega-column::-webkit-scrollbar {
    width: 6px;
}

.tv-mega-column::-webkit-scrollbar-track {
    margin: 8px 0;
    border-radius: 999px;
    background: #f1f5f9;
}

.tv-mega-column::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c7d2df;
}

.tv-mega-column::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Danh mục dạng chip dài vẫn kéo dễ dàng. */
.tv-mega-chip-list {
    align-content: flex-start;
}

/* Trên màn hình thấp, giảm khoảng đệm để hiện nhiều mục hơn. */
@media (max-height: 650px) {
    .tv-mobile-menu-head {
        min-height: 64px;
        padding-block: 7px;
    }

    .tv-mobile-menu-footer {
        padding-block: 10px 12px;
    }

    .tv-mobile-nav-simple {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .tv-mobile-nav-simple a {
        min-height: 46px;
        padding-block: 10px;
    }
}


/* =========================================================
   TopView Mega Menu FINAL - 3 Columns v4.0
   ========================================================= */

.tv-mega-menu-wrap {
    position: relative;
}

.tv-mega-trigger {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 12px;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--tv-header-text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tv-mega-trigger:hover,
.tv-mega-trigger.active,
.tv-mega-trigger[aria-expanded="true"] {
    background: #fff2ee;
    color: var(--tv-header-accent);
}

.tv-mega-menu.tv-mega-menu-final {
    position: fixed;
    z-index: 1150;
    top: var(--tv-header-height);
    right: 50%;
    display: grid;
    width: min(1160px, calc(100vw - 30px));
    max-height: calc(100dvh - var(--tv-header-height) - 16px);
    grid-template-columns:
        minmax(300px, 1.05fr)
        minmax(245px, .8fr)
        minmax(245px, .8fr);
    overflow: hidden;
    border: 1px solid #dde5ee;
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .18);
    transform: translateX(50%);
}

.tv-mega-menu.tv-mega-menu-final[hidden] {
    display: none;
}

.tv-mega-menu-final .tv-mega-column {
    display: flex;
    min-width: 0;
    min-height: 0;
    max-height: calc(100dvh - var(--tv-header-height) - 16px);
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-right: 1px solid #edf1f5;
}

.tv-mega-menu-final .tv-mega-column:last-child {
    border-right: 0;
}

.tv-mega-menu-final .tv-mega-heading {
    display: flex;
    flex: 0 0 auto;
    min-height: 58px;
    margin: 0;
    padding: 17px 20px;
    align-items: center;
    border-bottom: 1px solid #edf1f5;
    background: #f8fafc;
}

.tv-mega-menu-final .tv-mega-heading span {
    color: #14213d;
    font-size: 16px;
    font-weight: 900;
}

.tv-mega-scroll {
    min-height: 0;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #b9c6d5 #eef2f6;
}

.tv-mega-scroll::-webkit-scrollbar {
    width: 7px;
}

.tv-mega-scroll::-webkit-scrollbar-track {
    margin: 7px 0;
    border-radius: 999px;
    background: #eef2f6;
}

.tv-mega-scroll::-webkit-scrollbar-thumb {
    min-height: 42px;
    border-radius: 999px;
    background: #b9c6d5;
}

.tv-mega-scroll::-webkit-scrollbar-thumb:hover {
    background: #8fa2b7;
}

.tv-mega-review-list {
    display: grid;
    gap: 7px;
}

.tv-mega-review {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 8px;
    border-radius: 11px;
    color: #14213d;
    text-decoration: none;
}

.tv-mega-review:hover {
    background: #f1f5f9;
}

.tv-mega-review img,
.tv-mega-review-placeholder {
    display: block;
    width: 68px;
    height: 52px;
    border-radius: 9px;
    object-fit: cover;
}

.tv-mega-review-placeholder {
    display: grid;
    place-items: center;
    background: #fff1ed;
    color: #ff5a36;
    font-size: 20px;
}

.tv-mega-review strong {
    display: -webkit-box;
    overflow: hidden;
    color: #14213d;
    font-size: 13px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tv-mega-review small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
}

.tv-mega-parent-list {
    display: grid;
    gap: 6px;
}

.tv-mega-parent-list > a {
    display: flex;
    min-height: 43px;
    padding: 9px 11px;
    align-items: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #24324a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.tv-mega-parent-list > a:hover {
    border-color: #ffd1c5;
    background: #fff3ef;
    color: #e94d29;
}

.tv-mega-parent-list .tv-category-icon,
.tv-mega-parent-list .tv-location-icon {
    display: inline-grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 17px;
    line-height: 1;
}

.tv-mega-empty {
    margin: 0;
    padding: 16px 10px;
    color: #64748b;
    font-size: 13px;
}

.tv-mobile-nav-simple {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ff7555 #edf2f7;
}

.tv-mobile-nav-simple::-webkit-scrollbar {
    width: 7px;
}

.tv-mobile-nav-simple::-webkit-scrollbar-track {
    background: #edf2f7;
}

.tv-mobile-nav-simple::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #ff7555;
}

@media (max-width: 980px) {
    .tv-mega-menu-wrap {
        display: none;
    }
}


/* =========================================================
   Mobile Mega Menu same structure as desktop v4.1
   ========================================================= */

.tv-mobile-mega {
    display: block;
    min-height: 0;
    padding: 0 14px 22px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #ff7555 #edf2f7;
}

.tv-mobile-mega::-webkit-scrollbar {
    width: 7px;
}

.tv-mobile-mega::-webkit-scrollbar-track {
    background: #edf2f7;
}

.tv-mobile-mega::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #ff7555;
}

.tv-mobile-mega-section {
    padding: 18px 0;
    border-bottom: 1px solid #e7edf3;
}

.tv-mobile-mega-section:last-child {
    border-bottom: 0;
}

.tv-mobile-mega-section h3 {
    margin: 0 0 12px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tv-mobile-latest-list {
    display: grid;
    gap: 7px;
}

.tv-mobile-latest-list > a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 10px;
    color: #14213d;
    text-decoration: none;
}

.tv-mobile-latest-list > a:hover {
    background: #f8fafc;
}

.tv-mobile-latest-list img,
.tv-mobile-post-placeholder {
    display: block;
    width: 58px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

.tv-mobile-post-placeholder {
    display: grid;
    place-items: center;
    background: #fff1ed;
    color: #ff5a36;
    font-size: 18px;
}

.tv-mobile-latest-list strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tv-mobile-latest-list small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
}

.tv-mobile-parent-list {
    display: grid;
    gap: 6px;
}

.tv-mobile-parent-list > a {
    display: flex;
    min-height: 44px;
    padding: 9px 10px;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #24324a;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.tv-mobile-parent-list > a:hover {
    border-color: #ffd1c5;
    background: #fff3ef;
    color: #e94d29;
}

.tv-mobile-parent-list .tv-category-icon,
.tv-mobile-parent-list .tv-location-icon {
    display: inline-grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 18px;
    line-height: 1;
}


/* Latest-posts link in Mega Menu v4.2 */

.tv-mega-link-column {
    padding: 16px;
}

.tv-mega-main-link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid #ffd2c7;
    border-radius: 14px;
    background: #fff4f0;
    color: #14213d;
    text-decoration: none;
}

.tv-mega-main-link:hover {
    border-color: #ff8f75;
    background: #ffece6;
    color: #e94d29;
}

.tv-mega-main-link-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #ff5a36;
    color: #fff;
    font-size: 21px;
}

.tv-mega-main-link strong,
.tv-mega-main-link small {
    display: block;
}

.tv-mega-main-link strong {
    font-size: 15px;
}

.tv-mega-main-link small {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.tv-mobile-main-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 13px;
    border: 1px solid #ffd2c7;
    border-radius: 12px;
    background: #fff4f0;
    color: #14213d;
    text-decoration: none;
}

.tv-mobile-main-link-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: #ff5a36;
    color: #fff;
    font-size: 20px;
}

.tv-mobile-main-link strong,
.tv-mobile-main-link small {
    display: block;
}

.tv-mobile-main-link strong {
    font-size: 14px;
}

.tv-mobile-main-link small {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}
