/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */
:root {
    --bg-primary: #006632;
    --bg-btn: #006632;
    --btn-primary: #034724;
    --bg-white: #ffffff;
    --bg-gray: #f3f5f7;
    --clor-white: #ffffff;
    --clor-black: #000000;
    --clor-gray: #f8f9fa;
    --clor-gray1: #101519;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .06);
    --radius: 14px;
    /* Breakpoints */
    --bp-sm: 640px;
    /* ≤640: mobile-first */
    --bp-md: 1024px;
    /* >640 & ≤1024: tablet */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 14px;
    line-height: 1.42857;
    background-color: #f3f5f7;
}

.bg-gray-3 {
    background: var(--bg-gray);
}

.sticky {
    position: sticky;
}
/* .service-tiktok .wrap {
    padding-top: 24px;
    padding-bottom: 24px;
} */

.container {
    margin: 0 auto;
    padding: 0 16px;
}

a.nav-link {
    font-weight: 600;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.banner-icon {
    font-size: 16px;
}

/* Header */
.header {
    background: var(--bg-primary);
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* .headerSearch {
    position: relative;
    width: 100%;
    height: 40px;
    padding: 4px;
} */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 4px 4px 4px 12px;
    border: 0px solid #e9ecef;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #e6f7fa;
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #e6f7fa;
    border: none;
    color: white;
    padding: 6px 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn svg {
    width: 16px;
    height: 16px;
    line-height: 1;
    margin-top: 4px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-btn,
.consultation-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: var(--btn-primary);
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn span {
    color: var(--clor-white);
}

.consultation-btn {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.login-btn:hover {
    border-color: var(--btn-primary);
    color: var(--bg-primary);
}

.consultation-btn:hover {
    background: #e55a2b;
    border-color: #e55a2b;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #495057;
    cursor: pointer;
    margin-top: 6px;
}

/* Navigation */
.nav-menu {
    background: white;
    border-top: 1px solid #e9ecef;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    padding: 2px 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #20c997;
}

.nav-item.hot .nav-link {
    color: #dc3545;
}

.hot-badge {
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 4px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #20c997;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #495057;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.mobile-login-btn,
.mobile-consultation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-consultation-btn {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid #f8f9fa;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-item.hot .mobile-nav-link {
    color: #dc3545;
}

.mobile-nav-link:hover {
    color: #20c997;
}

/* Services Section */
.services-section {
    padding: 40px 0 100px;
    background: white;
    position: relative;
    
}

section.vacxin__group {
    position: relative;
    padding-top: 68px;
    padding-bottom: 147px;
}

.image-pc,
.image-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1; */
}

/* .services-section .container ,
.vacxin__group .container,  
.service-news .container,
section .container  {
    z-index: 2;
} */

.img__title-desktop , 
.img__title-mobile  {
    position: relative;
    width: 100%;
    height: 100%;
    /* z-index: 1; */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 8px;
}

.service-card {
    text-align: center;
    padding: 24px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 16px;
}

.service-icon img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.service-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* service group */

/* slider */
.service-group_ctx {
    background-color: var(--bg-white);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.alerts-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #ff7a00;
    margin: 15px 0 10px 8px;
}

/* ==== Slick gutter (khoảng cách giữa card) ==== */
.alerts-slider .slick-list {
    margin: 0 -8px;
}

.alerts-slider .slick-slide {
    padding: 0 8px;
}

/* ==== Card ==== */
.alert-card {
    background: #fff;
    overflow: hidden;
    height: 256px;
    border-radius: 10px;
    position: relative;
}

.alert-card .thumb {
    aspect-ratio: 16/11;
    /* cao vừa như ảnh mẫu */
    overflow: hidden;
}

.alert-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transition: transform .4s ease;
}

.alert-card:hover img {
    transform: scale(1.03)
}

/* Icon play */
.play {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 14px;
}

/* Gradient + caption */
.thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58%;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.caption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    color: #fff;
}

.kicker {
    font-size: 11px;
    font-weight: 600;
    opacity: .9;
    margin-bottom: 6px;
    letter-spacing: .2px;
}

.title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

/* phần mô tả rời (nếu cần) */
.body {
    padding: 10px 12px 12px;
}

.desc {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4
}

/* Arrows tinh gọn */
.alerts-slider .slick-prev,
.alerts-slider .slick-next {
    width: 34px;
    height: 34px;
    z-index: 2
}

.alerts-slider .slick-prev {
    left: -6px
}

.alerts-slider .slick-next {
    right: -6px
}

.alerts-slider .slick-prev:before,
.alerts-slider .slick-next:before {
    color: #111;
    opacity: 1;
    font-size: 14px;
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(2, 22, 60, .18);
}

/* Nếu container nằm trong GRID, tránh bug slick */
.alerts-container {
    min-width: 0;
}

.alerts-slider.slick-slider {
    overflow: hidden;
}

/* news */

.grid {
    display: grid;
    gap: 13px;
    grid-template-columns: 620px 1fr;
}

/* .news__one {
    position: relative;
    height: 348px;
    overflow: hidden;
    object-fit: cover;
} */

.news__one .card {
    position: relative;
    padding-top: 54.25%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: unset;
    border: 0;
}

.news__list {
    position: relative;
}

.news__one img,
.news__list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__one img {
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    padding: 0px;
}

.news__list .card.side-item {
   display: flex;
    gap: 10px;
    box-shadow: unset;
    border: 0;
}

.s-thumb {
    width: 144px;
    height: 81px;
    flex-shrink: 0;
}

.s-body {
    flex: 1;
}

.hero-wrap {
    /* position: relative */
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
    z-index: 2;
}

.badge .i {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #0ea5e9;
    color: #fff;
    font-weight: 900;
}

h3.hero-title {
    position: absolute;
    left: 15px;
    bottom: 15px;
    color: #fff;
    z-index: 3;
}

.s-thumb img {
    border-radius: 10px;
    border-radius: 10px;
    object-fit: cover;
}


.s-title {
    font-size: 14px;
    font-weight: 600;
}

.service-news__ctx .alert-card {
    height: 348px;
}

/* cat */
.cat-group {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-primary));
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    padding: 12px;
    margin-top: 20px;
}

.cat-head {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    color: #e6fffb;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.fire {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #ffd166;
    color: #ff5a1f;
    font-size: 13px;
}

.cat-body {
    background: rgb(242 251 252/1);
    border-radius: 14px;
    padding: 10px;
    overflow: hidden;
}

/* Grid 2 x 5 */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 84px;
    /* chiều cao item gần giống ảnh */
    row-gap: 10px;
    column-gap: 5px;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background-color: #fff;
}

/* bỏ đường kẻ cuối cột/hàng */
.cat-item:nth-child(5),
.cat-item:nth-child(10) {
    border-right: none;
}

.cat-item:nth-child(n + 6) {
    border-bottom: none;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e8faf6, #c8f0ea);
    flex: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) inset;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.label {
    font-weight: 600;
    color: #111827;
}

.sub {
    font-size: 12px;
    color: #64748b;
}

/* footer */

.topband {
    background: linear-gradient(90deg, #14a3a5, #0f8e92);
    color: #e6fffb;
}

.band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
}

.band-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.2px;
}

.band-title .pin {
    font-size: 20px;
}

.band-cta {
    background: #e6fffb;
    color: #0d6e72;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 34px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

/* footer */
.footer {
    background: #fff;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
    border-top: 1px solid #def3f3;
}

.footer-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 22px 20px 8px;
}

.cols {
    display: grid;
    grid-template-columns: 2.2fr 1.6fr 1.6fr 1.4fr 2.2fr;
    gap: 24px;
    padding: 10px 0 22px;
}

.h6 {
    font-weight: 600;
    color: #0d6e72;
    margin: 6px 0 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.list a {
    display: block;
    padding: 7px 0;
    color: #16757a;
}

.cert img {
    height: 24px;
}

.payrow img {
    height: 28px;
    margin-right: 8px;
}

.hotline {
    font-size: 14px;
}

.hotline b {
    display: block;
    margin: 6px 0 2px;
}

.social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #16a2a71a;
    color: #0c7f83;
    font-size: 16px;
}

/* Bottom strip */
.brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 14px 0;
}

.brand-row img {
    height: 28px;
}

.legal {
    border-top: 1px solid #e8eff3;
}

.legal .wrapx {
    margin: 0 auto;
    padding: 14px 20px 30px;
    text-align: center;
}

.legal p {
    margin: 6px 0;
    color: #334155;
}

.sep {
    margin: 12px 0;
    border-top: 1px solid #e8eff3;
}

/* banner category */
.banner-cat {
    background: url(../assets/image/bg-doctor-page.webp) no-repeat center;
    background-size: cover;

}

.head-group {
    padding: 46px 0;
    position: relative;
}

.title-cat h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
}

.desc-cat {
    padding: 16px 0;
    font-size: 16px;
    font-weight: 400;
    color: #455768;
}

/* Hàng 3 cột */
.feature-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    align-items: flex-start;
}

/* Mỗi item gồm icon + text theo hàng ngang */
.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Icon tròn */
.feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    flex: 0 0 auto;
}

/* Tiêu đề + mô tả */
.feature__title {
    margin: 0 0 4px 0;
    font-weight: 600;
    font-size: 16px;
}

.feature__desc {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.doctors__header {
    text-align: center;
    margin-bottom: 12px;
}

.doctors__title {
    margin: 0 0 6px;
    font-size: var(--h1);
    font-weight: 600;
}

.doctors__subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* ====== Grid ====== */
.doctors__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}


/* ====== Card (BEM) ====== */
.card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card__media {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card__content {
    flex: 1;
    min-width: 0;
}

.card__name {
    margin: 6px 0 2px;
    font-size: var(--h3);
    line-height: 1.25;
}

.card__dept {
    margin: 3px 0 0 0;
    color: #6b7280;
    font-size: var(--body);
}

/* ====== Badge (inline SVG icon) ====== */
.badge--doctor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    background: #e6efff;
    color: #1f2937;
    border: 1px solid transparent;
    user-select: none;
    width: max-content;
}

.badge__icon {
    width: 14px;
    height: 14px;
    fill: #2b6de9;
    flex: 0 0 14px;
}

.badge--primary {
    background: #e6efff;
}

.badge--outline {
    background: #fff;
    border-color: #e5e7eb;
}

.badge--muted {
    background: #eef2f7;
}

.service-news__header img {
    width: 100%;
}

section.main-cat {
    padding: 50px 0;
}

ul.mobile-submenu {
    background-color: #f2fbfc;
    padding: 10px;
}

ul.mobile-submenu li {
    padding: 5px 0;
}

.mobile-submenu {
    display: none;
}

i.fa-chevron-down {
    display: none;
}

.has-submenu.open i.fa-chevron-down {
    display: block;
}

.has-submenu.open i.fa-chevron-right {
    display: none;
}

.has-submenu i.fa-chevron-right {
    display: block;
}

.has-submenu.open .mobile-submenu {
    display: block;
    transition: all 2s;
}

.bg-news {
    background-image: url('../assets/image/bg-news.png');
    background-repeat: no-repeat;
    background-size: 100% 298px;
    background-position: top;
}

.footer-head__title {
    font-weight: 600;
    color: #0d6e72;
    margin: 6px 0 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.payrow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    row-gap: 5px;
}

.payrow img {
    width: 100%;
    height: 100%;
}

#sitemodal.modal {
    top: 50%;
    transform: translateY(-50%);
}

.bg-popup {
    position: absolute;
    /* display: block; */
    width: 100%;
    height: 100%;
    background-color: #000000a8;
    z-index: 9;
}

.fixed {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
}

.page-detail .title {
    font-size: 32px;
    margin-bottom: 20px;
    /* text-align: center; */
}

.page-list__link li {
    margin: 15px 0;
}

.page-list__link li {
    position: relative;
    padding: 15px 0px 15px 10px;
    border-radius: 6px;
    overflow: hidden;
}

li.page-list__ctx.active {
    background-color: #f2fbfc;
}

.page-list__link li.active:before {
    opacity: 1;
    content: "";
    border-style: solid;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    transition: all .2s ease-in-out;
    border-color: #1d8787;
    border-left-width: 1px;
}

li.page-list__ctx a {
    font-weight: 600;
    color: #455768;
}

.form-control {
    height: 40px;
}

input.required.form-control {
    border-radius: 6px !important;
    outline: none;
    border: 1px solid #cad4de;
    box-shadow: inset 0 0px 0px rgb(0 0 0 / 0%);
}

/* banner */

section.banner_ads {
    padding-top: 72px;
    padding-bottom: 44px;
}

.service-news__header {
    margin-bottom: 40px;
}

.vxso__panel {
    position: absolute;
    left: 46.5%;
    top: 44%;
    width: min(500px, 92vw);
    max-height: 86vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, calc(-50% + 12px)) scale(0.98);
    opacity: 0;
    transition: transform 280ms cubic-bezier(.2, .7, .2, 1), opacity 280ms ease;
}

.vxso-btn__qly {
    padding: 5px 1px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.vx-list-head-left {
    font-weight: 600;
}

/* vacxn */

.vx-price-line {
    text-align: center;
}

.vx-pack {
    padding: 20px;
}

.goi__ctx {
    padding-left: 15px;
}

.vx-title {
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
}

.vx-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

.goi__detail {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 20px;
}

h2.goi__detail-title {
    margin-bottom: 12px;
    font-size:20px;
}

.goi__detail-ctx p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.side-detail__item-link {
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
        padding-left: 15px;
}

li.side-detail__item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

a.side-detail__item-link.active {
    background-color: #f2fbfc;
}
a.side-detail__item-link.active:after {
    position: absolute;
    content: "";
    opacity: 1;
    border-style: solid;
    top: 0;
    left: 0;
    bottom: 0;
    transition: all .2s ease-in-out;
    border-color: #1d8787;
     border-left-width: 1px;
}

/* block can tiem  */

section.vacxin-cantiem {
    padding-top: 60px;
    padding-bottom: 90px;
    position: relative;
    background: #fafbfb;
}

.vacxin-thongbao {
    padding: 50px;
    margin: auto;
    text-align: center;
}

/* overlay */
.vxso {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0ms 220ms;
  z-index: 9999;
}
.vxso.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease;
}
.vxso__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 220ms ease;
}
.vxso.is-open .vxso__backdrop {
  opacity: 1;
}
.vxso__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, calc(-50% + 12px)) scale(0.98);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2, .7, .2, 1), opacity 280ms ease;
}
.vxso.is-open .vxso__panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.vxso__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 0 16px;
}
.vxso__title {
  font-weight: 700;
}
.vxso__close {
  border: none;
  background: #f3f5f7;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 22px;
  cursor: pointer;
}
.vxso__searchbar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}
.vxso__searchbar input {
  flex: 1;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  padding: 10px 14px;
}
.vxso__searchbar button {
  border: none;
  background: #e8f7f7;
  color: #1d8787;
  border-radius: 999px;
  padding: 0 14px;
  cursor: pointer;
}
.vxso__content {
  padding: 6px 0 14px 0;
}
.vxso__banner {
  margin: 8px 16px;
  padding: 10px 12px;
  background: #e9f2ff;
  border: 1px solid #cfe1ff;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}
.vxso__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
}
.vxso__card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #f8fbfd;
  border: 1px solid #ecf1f6;
  border-radius: 12px;
  padding: 10px;
}
.vxso__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #ffffff;
  object-fit: cover;
  border: 1px solid #e7edf3;
}
.vxso__meta {
  font-size: 12px;
  color: #6b7280;
}
.vxso__name {
  font-weight: 700;
  margin: 2px 0;
}
.vxso__price {
  text-align: right;
}
.vxso__price b {
  font-size: 16px;
}
.vxso__old {
  font-size: 12px;
  color: #9aa3ad;
  text-decoration: line-through;
}
.vxso__cta {
  border: none;
  background: #dbf2ff;
  color: #1671c4;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  margin-top: 6px;
}
.vxso__more {
  padding: 6px 16px 0 16px;
}
.vxso__more a {
  color: #1671c4;
  text-decoration: none;
}
.vxso__trend {
  padding: 10px 16px 16px 16px;
}
.vxso__trend-title {
  font-weight: 600;
  margin-bottom: 8px;
}
.vxso__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vxso__chip {
  border: 1px solid #e5e9ef;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ffffff;
  cursor: pointer;
}
.search-input::placeholder {
  color: #9aa3ad;
  transition: opacity 200ms ease;
}
.search-input:focus::placeholder {
  opacity: 0.4;
}

.profile-left .tag {
    display: block;
    width: max-content;
    text-align: center;
    margin: auto;
}

@media (min-width: 768px) {

    .doctors__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        margin-top: 20px;
    }

    .image-mobile,
    .img__title-mobile {
        display: none;
    }

    .image-pc,
    .img__title-desktop {
        display: block;
    }

    .news__list .card.side-item {
        padding: 3px;
    }

    .card__media {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }

    .card__name {
        font-size: 13px;
    }

    .card__dept {
        font-size: 12px;
    }

    i.fa-chevron-down {
        display: block;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cat-item:nth-child(5),
    .cat-item:nth-child(10) {
        border-right: 1px solid #e6eef2;
    }

    .cat-item:nth-child(4),
    .cat-item:nth-child(8) {
        border-right: none;
    }

    .cat-item:nth-child(n + 9) {
        border-bottom: none;
    }

    .cols {
        grid-template-columns: 1.4fr 1fr 1fr;
        row-gap: 20px
    }

    .col-hide {
        display: none
    }
}

@media (max-width: 820px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cat-item:nth-child(4),
    .cat-item:nth-child(8) {
        border-right: 1px solid #e6eef2;
    }

    .cat-item:nth-child(3),
    .cat-item:nth-child(6),
    .cat-item:nth-child(9) {
        border-right: none;
    }

    .cat-item:nth-child(n + 7) {
        border-bottom: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .login-btn {
        display: none;
    }

    .image-mobile,
    .img__title-mobile {
        display: block;
    }

    .image-pc,
    .img__title-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .search-container {
        order: 3;
        flex: 1 1 100%;
    }

    .nav-menu {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-card h3 {
        font-size: 13px;
    }

    .banner-content {
        font-size: 13px;
    }

    .close-banner {
        position: static;
        order: -1;
        margin-right: 12px;
    }

    .notification-banner {
        padding: 10px 16px;
    }

    .band-inner {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 14px 0;
        gap: 10px
    }

    .cols {
        grid-template-columns: 1fr 1fr
    }

    .news__one {
        display: none;
    }

    .service-news__ctx .grid {
        grid-template-columns: 1fr;
    }

    .service-news__ctx .card {
        padding: 5px;
    }

    .s-thumb {
        width: 110px;
    }

    .cat-grid {
        grid-auto-rows: unset;
    }

    .cat-head {
        padding: 0 0px 0 10px;
    }

    .cat-body {
        padding: 5px;
    }

    .title-cat h1 {
        font-size: 30px;
    }

    .head-group {
        padding: 20px 0;
    }

    .desc-cat {
        padding: 5px 0;
    }
}

@media (max-width: 600px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-item {
        gap: 6px;
        padding: 6px;
    }

    .avatar {
        width: 52px;
        height: 52px;
    }

    .cat-item:nth-child(3),
    .cat-item:nth-child(5),
    .cat-item:nth-child(7),
    .cat-item:nth-child(9) {
        border-right: none;
    }

    .cat-item:nth-child(n + 9) {
        border-bottom: none;
    }

    .page-list__link {
        display: none;
    }
    
    .cat-item .label {
        font-size: 12px;
        font-weight: 600;
        white-space: unset;
        line-height: 16px;
        text-align: left;
    }

    .cat-group {
        padding: 3px;
    }
    
    .service-news__ctx .alert-card {
        margin: 0 5px;
    }

    section.banner_ads {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .service-news__header {
        margin-bottom: 24px;
    }

    section.vacxin-cantiem {
        padding-top: 36px;
        padding-bottom: 20px;
    }

    .tab-btn__ctx {
        width: 100%;
        display: inline-block;
        white-space: nowrap;
    }

    .tab-list {
        scrollbar-width: none;
        overflow-x: auto;
    }

    .vaccine-products {
        justify-content: center;
    }

    section.main-cat {
        padding: 20px 0;
    }

    section.vacxin__group {
        position: relative;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #mainHeader.fixed .logo,
    #mainHeader.fixed #btn__span {
        display: none;
    }
    #mainHeader.fixed #header__menu {
        flex-wrap: nowrap;
        transition: all 1s linear;
    }
    #mainHeader.fixed .header-actions {
        order: 5;
        
    }

}


@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .services-section {
        margin-top: 0px;
        padding: 15px 0 80px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .service-card {
        padding: 16px 12px;
        border-radius: 0;
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    }

    .logo img {
        height: 22px;
    }

    .search-input {
        padding: 10px 40px 10px 14px;
        font-size: 13px;
    }

    .banner-content {
        font-size: 12px;
    }

    .header .container {
        justify-content: flex-start;
    }

    .header-actions {
        margin-left: auto;
    }

    .cols {
        grid-template-columns: 1fr
    }

    .band-title {
        font-size: 18px
    }

    .doctors__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .wrap {
        padding-top: 10px;
        padding-bottom: 10px;
    }

}