:root {
    --site-blue: #1769aa;
    --site-blue-dark: #124c7c;
    --site-blue-light: #edf4fb;
    --site-ink: #172b3a;
    --site-muted: #637487;
    --site-border: #e1e9f1;
    --site-surface: #fff;
    --site-page: #f5f8fc;
}

body {
    color: var(--site-ink);
    font-family: "Roboto", sans-serif;
}

a {
    transition: color .2s ease;
}

a:hover {
    color: var(--site-blue);
}

#header {
    position: relative;
    z-index: 2000;
    isolation: isolate;
    border-bottom: 1px solid rgba(23, 43, 58, .07);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 5px 24px rgba(23, 43, 58, .05);
    backdrop-filter: blur(14px);
}

#header .navbar a,
#header .navbar a:focus {
    border-radius: 9px;
    color: var(--site-ink);
    transition: color .2s ease, background-color .2s ease;
}

#header .navbar a:hover,
#header .navbar li:hover > a {
    background: var(--site-blue-light);
    color: var(--site-blue);
}

#header .navbar .dropdown ul {
    z-index: 2001;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(23, 43, 58, .12);
}

#header .box_search .btn-show_form {
    border: 1px solid var(--site-border);
    background: var(--site-page);
    color: var(--site-ink);
    transition: transform .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#header .hold-search {
    position: relative;
    z-index: 2001;
}

#header .wrapper-form {
    z-index: 2002;
}

#header .box_search .btn-show_form:hover {
    transform: translateY(-2px);
    border-color: var(--site-blue);
    background: var(--site-blue);
    color: #fff;
    box-shadow: 0 6px 16px rgba(23, 105, 170, .18);
}

#header .js-btn-opennav,
#header .js-btn-closenav {
    transition: transform .22s ease, color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

#header .js-btn-opennav:hover,
#header .js-btn-closenav:hover {
    transform: translateY(-2px);
    background: var(--site-blue-light);
    color: var(--site-blue) !important;
}

.xtrust_navbar {
    z-index: 2003;
    box-sizing: border-box;
    width: min(390px, 88vw);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 24px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--site-border);
    border-radius: 0 24px 24px 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 16px 0 50px rgba(23, 43, 58, .13);
    list-style: none;
    transition: left .38s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

.xtrust_navbar .js-btn-closenav {
    border-radius: 13px;
    transition: transform .22s ease, color .22s ease, background-color .22s ease;
}

.xtrust_navbar .js-btn-closenav:hover {
    transform: rotate(90deg);
    background: var(--site-blue-light);
    color: var(--site-blue) !important;
}

.xtrust_navbar > li {
    width: 100%;
    margin-bottom: 0;
}

.xtrust_navbar > li > a,
.xtrust_navbar .nav-content a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--site-ink);
    line-height: 1.4;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}

.xtrust_navbar .nav-content {
    width: 100%;
    padding: 6px 0 6px 10px;
    list-style: none;
}

.xtrust_navbar .nav-content .nav-item {
    width: 100%;
}

.xtrust_navbar .nav-content a {
    min-height: 44px;
    padding-left: 18px;
}

.xtrust_navbar > li > a:hover,
.xtrust_navbar .nav-content a:hover,
.xtrust_navbar > li > a[aria-expanded="true"] {
    transform: translateX(3px);
    border-color: #dce8f3;
    background: #f0f6fc;
    color: var(--site-blue);
}

.xtrust_navbar > li > a .fa-chevron-down {
    transition: transform .25s ease;
}

.xtrust_navbar > li > a[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.btn-primary,
.btn-dark,
.bg-blue,
.button-banner,
.button-banner-xtube,
.btn-core,
.btn-color-search,
.btn-submit,
.contact-form .btn-submit {
    border-color: var(--site-blue);
    background-color: var(--site-blue);
    color: #fff;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn-primary:hover,
.btn-dark:hover,
.bg-blue:hover,
.button-banner:hover,
.button-banner-xtube:hover,
.btn-core:hover,
.btn-color-search:hover,
.btn-submit:hover,
.contact-form .btn-submit:hover {
    transform: translateY(-1px);
    border-color: var(--site-blue-dark);
    background-color: var(--site-blue-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(23, 105, 170, .18);
}

.btn-outline-primary {
    border-color: var(--site-blue);
    color: var(--site-blue);
}

.btn-outline-primary:hover {
    border-color: var(--site-blue);
    background: var(--site-blue);
    color: #fff;
}

.btn-white,
.btn-white:hover,
.btn-white:active,
.btn-white:focus {
    border-color: var(--site-border);
    color: var(--site-blue);
}

.c_home--danhmuc_title,
.c_home--danhmuc_title a,
.c_home--danhmuc_readmore a,
.packet-header h2,
.packet-header-title a {
    color: var(--site-blue);
}

.c_blog_title,
.c_blog_cate--title,
.c_blog_list--title,
.c_blog_details h1,
.c_blog_details h2,
.c_blog_details h3 {
    color: var(--site-ink);
}

.c_blog_sapo,
.c_blog_cate--des,
.c_blog_list--des {
    color: var(--site-muted);
}

.packet-product-item,
.packet-product-item1,
.c_blog_cate--box,
.c_blog_cate--box_top,
.c_blog_list--main {
    border-color: var(--site-border);
    border-radius: 16px;
    background-color: var(--site-surface);
    box-shadow: 0 8px 24px rgba(23, 43, 58, .06);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
select,
textarea {
    border-color: var(--site-border);
    border-radius: 9px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
select:focus,
textarea:focus {
    border-color: #83b4df;
    box-shadow: 0 0 0 .2rem rgba(23, 105, 170, .14);
    outline: 0;
}

#topBtn,
.back-to-top {
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 17px;
    background-color: var(--site-blue);
    background-image: none;
    color: #fff;
    box-shadow: 0 8px 22px rgba(18, 76, 124, .24);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, background .25s ease;
}

#topBtn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
}

#topBtn.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#topBtn:hover,
.back-to-top:hover {
    transform: translateY(-4px);
    background-color: var(--site-blue-dark);
    background-image: none;
    color: #fff;
    box-shadow: 0 13px 28px rgba(18, 76, 124, .3);
}

#topBtn:focus-visible,
.back-to-top:focus-visible,
button:focus-visible,
a.btn:focus-visible {
    outline: 3px solid rgba(23, 105, 170, .32);
    outline-offset: 3px;
}

.footer {
    border-color: var(--site-border);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
