/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.amlab_stock_status {
    width: fit-content;
    position: absolute;
    right: 15px;
    top: 15px;
}

.amlab_stock_in_icon {
    padding: 5px;
    background: rgba(255, 152, 0, 1);
    display: flex;
    border-radius: 6px 0 0 6px;
}

.amlab_stock_out_icon {
    padding: 5px;
    background: white;
    display: flex;
    border-radius: 6px 0 0 6px;
}

.amlab_stock_in_text {
    padding: 5px;
    background-color: white;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    max-height: 30px;
}

.amlab_stock_out_text {
    padding: 5px;
    background-color: rgba(236, 29, 39, 1);
    color: white;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
}

.amlab_stock_in,
.amlab_stock_out {
    display: flex;
    max-height: 30px;
    align-items: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 152, 0, 1);
}

.single.single-product .product-info.summary .price-wrapper.amlab_pricebox {
    overflow: hidden;
    margin-bottom: 15px;
}

.single.single-product .ux-quantity.quantity.buttons_added {
    display: grid;
    grid-template-rows: 30px 30px;
    border: 1px solid rgba(2, 119, 189, 1);
    border-radius: 10px;
    overflow: hidden;
    width: max-content;
}

.single.single-product .ux-quantity .input-text.qty {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 60px;
    width: 56px;
    text-align: center;
    border: 0;
    outline: 0;
    background: #fff;
    font-size: 16px;
    -moz-appearance: textfield;
}

.single.single-product .ux-quantity input[type=number]::-webkit-outer-spin-button,
.single.single-product .ux-quantity input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single.single-product .ux-quantity__button {
    grid-column: 2;
    padding: 0;
    margin: 0;
    border: 0;
    width: 37px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 119, 189, 1);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    min-height: unset;
    text-shadow: none;
}

.single.single-product .ux-quantity__button--plus {
    grid-row: 1;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.single.single-product .ux-quantity__button--minus {
    grid-row: 2;
}

.single.single-product h1.product-title {
    font-size: 16px;
    color: rgba(0, 0, 0, 1);
    font-weight: bold;
    text-transform: uppercase;
}

.amlab_icb_center {
    align-items: center !important;
}

.single.single-product .ux-buy-now-button {
    flex: 1;
    background: linear-gradient(90deg, #FF9800 0%, #FFB74D 100%);
    border-radius: 10px;
    font-size: 23px;
}

.single.single-product .amlab_cssp>.col>.col-inner {
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 10px;
    padding: 20px 24px !important;
}

.single.single-product .single_add_to_cart_button {
    font-weight: 600;
    font-size: 16px;
    color: rgba(2, 119, 189, 1);
    background-color: white;
    border: 1px solid rgba(2, 119, 189, 1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 60px;
    flex-wrap: nowrap;
    line-height: normal;
    justify-content: space-around;
}

.single.single-product .single_add_to_cart_button::before {
    content: "";
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(./assets/images/ic_add_cart.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.amlab_prostats>.col-inner {
    display: flex;
}

.amlab_prostats .icon-box {
    align-items: center;
}

.amlab_prostats .icon-box .icon-box-img svg * {
    fill: rgba(2, 119, 189, 1);
}

.amlab_prostats .icon-box .icon-box-text .text>* {
    font-size: 13px;
}

.amlab_single_gifts .amlab_single_gifts_des {
    margin-top: 15px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

.amlab_single_gifts .amlab_single_gifts_des ul {
    margin-bottom: 0;
}

.single.single-product p.price.product-page-price span.sale-percentage {
    order: 3;
    font-size: 13px;
    border-radius: 4px;
    color: white;
    background: rgba(236, 29, 39, 1);
    padding: 4px 4px 2px 4px;
}

.single.single-product p.price.product-page-price ins bdi {
    font-size: 32px;
    font-weight: 700;
    color: white;
    position: relative;
}

.single.single-product p.price.product-page-price ins {
    order: 1;
    width: 100%;
}

.single.single-product p.price.product-page-price del {
    font-size: 18px;
    color: rgba(202, 202, 202, 1);
    order: 2;
    width: fit-content;
    padding: 4px 4px 2px 4px;
}

.single.single-product .price-wrapper .price-wrapper-inner {
    background-color: rgba(2, 119, 189, 1);
    border: 1px solid rgba(255, 152, 0, 1);
    padding: 15px;
    position: relative;
    border-radius: 10px;
}

.single.single-product p.price.product-page-price {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
}

.single.single-product p.price.product-page-price span.amount {
    color: white;
}

.amlab_ddnb.amlab_cssp {
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 10px;
    padding: 20px 24px !important;
    margin-top: 20px;
}

.amlab_single_title h3 {
    font-weight: 600;
    font-size: 23px;
    color: rgba(2, 119, 189, 1);
    border-left: 3px solid rgba(2, 119, 189, 1);
    padding-left: 10px;
    margin-bottom: 15px;
}

.amlab_tieude_chitiet {
    font-weight: 600;
    font-size: 23px;
    color: rgba(51, 51, 51, 1);
    border-left: 3px solid rgba(51, 51, 51, 1);
    padding-left: 10px;
    margin-bottom: 15px;
}

.amlab_cssp .icon-box .icon-box-text {
    color: rgba(2, 119, 189, 1);
}

.amlab_product_comment {
    margin-top: 20px;
}

.amlab_info_col .amlab_product_description_section {
    background-color: rgba(225, 245, 254, 1);
    border-radius: 10px;
    border: 1px solid rgba(128, 128, 128, 0.5);
    padding: 20px 24px !important;
}

.amlab_info_col .amlab_product_desc .card-body>.row {
    margin: 0 !important;
}

.fix_height {
    max-height: 550px;
    overflow: hidden;
    position: relative;
}

.devvn_readmore_flatsome {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: rgba(225, 245, 254, 1);
    padding: 20px 0 0;
}

.amlab_product_desc {
    padding-bottom: 60px;
    position: relative;
}

.devvn_readmore_flatsome a {
    color: white;
    display: block;
    font-weight: 600;
    padding: 5px 20px;
    width: fit-content;
    margin: 0 auto;
    border-radius: 9px;
    font-size: 13px;
    line-height: 24px;
    background-color: rgba(2, 119, 189, 1);
    text-decoration: underline;
    text-underline-offset: 2px;
    min-width: 200px;
}

/* thẻ h1 */
.text_h1,
.text_h1>* {
    font-size: 48px !important;
}

/* thẻ h2 */
.text_h2,
.text_h2>* {
    font-size: 40px !important;
}

/* tiêu đề 1 */
.text_title_main,
.text_title_main>* {
    font-size: 32px !important;
}

.text_title_1,
.text_title_1>* {
    font-size: 27px !important;
}

/* tiêu đề 2 */
.text_title_2,
.text_title_2>* {
    font-size: 23px !important;
}

/* text */
.text_desc,
.text_desc>* {
    font-size: 16px !important;
}

/* font weight */
.fw_700,
.fw_700>* {
    font-weight: 700 !important;
}

.fw_600,
.fw_600>* {
    font-weight: 600 !important;
}

.fw_500,
.fw_500>* {
    font-weight: 500 !important;
}

body {
    background-color: #fff;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.text_ellip_2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* header */
#header .header-main {
    background: #E1F5FE;
}

#header .header-main .search-field {
    display: inline-block;
    width: 100%;
    height: 50px;
    border: 1px solid #03A9F4;
    border-radius: 10px;
}

#header .header-main .header-nav-main .header-search-form {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#header .header-main .header-nav-main {
    justify-content: center;
    align-items: center;
    align-content: center;
}

#header .header-main .header-nav-main .icon-search {
    color: #808080;
}

#header .header-main .header-nav-main .account-link,
#header .header-main .header-nav-main .header-cart-link {
    flex-direction: row-reverse;
}

#header .header-main .header-nav-main .account-link span,
#header .header-main .header-nav-main .header-cart-link span {
    font-size: 16px;
    font-weight: 400;
    color: #03A9F4;
    text-transform: none;
}

#header .header-main .header-nav-main .cart-item .header-cart-icon,
#header .header-main .header-nav-main .account-link .icon-user {
    margin: 0 5px;
}

#header .header-main .header-nav-main .cart-item .header-cart-icon img,
#header .header-main .header-nav-main .account-link .icon-user {
    width: 16px !important;
    aspect-ratio: 1 / 1;
    color: #03A9F4;
    object-fit: fill;
}

#header .header-bottom {
    height: 60px;
    background: #03A9F4;
}

#header .header-bottom a {
    font-size: 16px;
}

#header .header-bottom a.nav-top-link {
    text-transform: none;
    font-weight: 400 !important;
}

#header .header-bottom .flex-left a.nav-top-link {
    color: #0277BD;
    padding: 8px 24px;
    border-radius: 32px;
    background: #81D4FA;
    position: relative;
    font-weight: 700 !important;
    transition: color 0s;
}

#header .header-bottom .flex-left a.nav-top-link:hover {
    color: #fff;
}

#header .header-bottom .flex-left a.nav-top-link::before {
    content: '';
    position: relative;
    background-image: url(./assets/images/icon_menu.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-flex;
    width: 20px;
    aspect-ratio: 1 / 1;
    margin-right: 10px;
    opacity: 1;
}
#header .header-bottom .flex-left a.nav-top-link:hover::before {
    background-image: url(./assets/images/Vector.png);
    transition: 0s;
}

#wide-nav .flex-col.flex-left ul.nav {
    justify-content: center !important;
}
.r_menu_danh_muc ul.nav {
    background-color: rgba(2, 119, 189, 1);
}

#header .header-bottom .flex-center a.nav-top-link,
#header .header-bottom .flex-right a {
    color: #fff;
}

#header .header-bottom .flex-right .icon-phone {
    font-size: 0;
    /* Ẩn icon */
}

#header .header-bottom .flex-right .icon-phone::before {
    content: "Liên hệ: ";
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600 !important;
}
#header .header-bottom .menu-item.current-dropdown a.nav-top-link {
    color: white;
    transition: 0s;
}
#header .header-bottom .menu-item.current-dropdown a.nav-top-link::before {
    justify-content: center !important;
    background-image: url(./assets/images/Vector.png);
}
#header .header-bottom .menu-item {
    position: relative;
    height: 100%;
    margin: 0px;
}

#header .header-bottom .flex-center .menu-item::after {
    content: '';
    position: relative;
    width: 1px;
    height: 20px;
    margin: 0 20px;
    background: #fff;
    display: inline-flex;
    top: 5px;
    /* right: -20px; */
}

#header .header-bottom .flex-center .menu-item:last-child::after {
    display: none;
}
#menu-item-31227 > .sub-menu {
    border: none;
}
/* menu danh muc */
.r_menu_danh_muc li>a span::after {
    content: "";
    background-image: url(/wp-content/uploads/2025/07/Vector-3.png);
    background-repeat: no-repeat;
    background-size: 6.5px 11.5px;
    display: inline-block;
    width: 6.5px;
    height: 11.5px;
    margin-left: 8px;
    vertical-align: middle;
    position: absolute;
    right: 13px;
    top: 42%;
}

.r_menu_danh_muc li {
    padding: 0;
    border: none !important;
}

.r_menu_danh_muc li>a {
    padding: 23px 25px 23px 15px;
}

.r_menu_danh_muc li.active,
.r_menu_danh_muc li:hover {
    background-color: #fff;
}

.r_menu_danh_muc li span,
.r_menu_danh_muc li span {
    color: white !important;
}

.r_menu_danh_muc li.active span,
.r_menu_danh_muc li:hover span {
    color: rgba(2, 119, 189, 1) !important;
}

.r_menu_danh_muc li.active svg>*,
.r_menu_danh_muc li:hover svg>* {
    fill: rgba(2, 119, 189, 1);
}

.r_menu_danh_muc ul.nav li a {
    gap: 10px;
    font-weight: 600;
    line-height: 1;
}

.r_menu_danh_muc .nav-line>li>a:before {
    display: none;
}

.r_menu_danh_muc .tab-panels {
    padding: 20px;
    border: 2px solid rgba(2, 119, 189, 1);
}
.r_menu_danh_muc .tab-panels .ux-menu .ux-menu-link:not(:first-child) a {
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    color: rgba(2, 119, 189, 1);
}
.r_menu_danh_muc .tab-panels .ux-menu .ux-menu-link:first-child a {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: rgba(2, 119, 189, 1);
}

.r_menu_danh_muc .panel {
    width: 100%;
    height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.r_menu_danh_muc .panel::-webkit-scrollbar {
    display: none;
}

#menu-item-49660 .sub-menu {
    margin-left: unset !important;
    left: unset;
    border: none;
    border-radius: 20px;
}

#menu-item-49660.current-dropdown .nav-top-link {
    background-color: #0c4367;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: #fff;
    border: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-image: url(./assets/images/menu_light.png);
}

#menu-item-49660 .nav-top-link {
    padding: 13px 12px;
    border: 1px solid #0c4367;
    border-radius: 30px;
    background-image: url(./assets/images/menu_dark.png);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    padding-left: 40px;
    background-position: 7px;
    color: #0c4367;
}

header.transparent #menu-item-49660 .nav-top-link {
    border: 1px solid white;
    background-image: url(./assets/images/menu_light.png);
    color: white;
}

header.transparent #menu-item-49660.current-dropdown .nav-top-link {
    border: 1px solid #0c4367;
}

/* trang chủ */
.section_slider .img-inner {
    border-radius: 15px;
    overflow: hidden;
}

.section_slider .amlab_slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section_slider .col_banner .col-inner {
    height: 100%;
}

.section_slider .col_banner .col-inner .img {
    height: calc(100% / 3 - 15px);
}

.section_slider .col_banner .col-inner .img:nth-child(2) {
    margin: 20px 0;
}

.section_slider .col_banner .col-inner .img .img-inner {
    height: 100%;
}

.section_slider .col_banner .col-inner .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section_slider .col_icon_item {
    flex-basis: 20%;
    max-width: 20%;
}

.section_slider .col_icon_item .icon-box {
    border-radius: 10px;
    overflow: hidden;
    background: #03A9F4;
    padding: 10px 0;
}

.section_slider .col_icon_item .icon-box-img {
    width: 30px !important;
    aspect-ratio: 1 / 1;
    margin-bottom: 5px;
}

.section_slider .col_icon_item .icon-box .text_desc h3,
.section_slider .col_icon_item .icon-box .text_desc p {
    color: #fff;
    line-height: 1;
}

.section_product_featured h3 a {
    text-transform: uppercase;
    color: #0277BD;
    letter-spacing: 0;
    line-height: 100%;
}

.section_product_featured .stack_title a.button {
    background: #03A9F4 !important;
    position: relative;
}

.section_product_featured .stack_title a.button::after {
    position: relative;
    content: '';
    background-image: url(./assets/images/ep_right.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    width: 16px;
    aspect-ratio: 1 / 1;
    height: 16px;
    top: 3px;
    /* margin-left: 10px; */
}

.section_product_featured .col_products>.col-inner {
    padding: 24px;
    border: 1px solid #0277BD;
    border-radius: 15px;
    overflow: hidden;
    background: #E1F5FE;
}

.section_product_featured .col_products .woocommerce {
    padding: 0 15px;
}

.products .product-small .box-image {
    border-radius: 10px;
    overflow: hidden;
    max-width: 342px;
    aspect-ratio: 1 / 1;
}

.products .product-small .badge-container {
    max-width: 90px;
    width: auto;
    top: 0;
    margin: 10px 0;
    right: 20px !important;
    left: auto;
}

.products .product-small .badge-container .badge {
    height: 30px;
}

.products .product-small .badge-container .onsale {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    line-height: 20px;
    padding: 5px 24px;
}

.products .product-small .badge-container .badge-circle .badge-inner {
    border-radius: 15px;

}

/* footer */
.amlab_footer .img {
    max-width: 210px;
    height: auto;
}

.amlab_footer h2 {
    color: #000000 !important;
}

.amlab_footer .col_info .icon-box {
    display: flex;
    align-self: center;
    vertical-align: middle;
    margin: 10px 0;
}

.amlab_footer .col_info .icon-box .icon-box-img {
    width: 20px !important;
    margin-bottom: 0;
    margin-right: 20px;
}

.amlab_footer .ux-menu-link__link {
    min-height: 2rem;
}

.amlab_footer .stack_icon {
    align-items: center;
    vertical-align: middle;
    gap: 24px;
}

.amlab_footer .stack_icon img {
    object-fit: cover;
}
.blog_show_arti .day-text::before {
    content: url(/wp-content/uploads/2025/08/tabler_point-filled.png);
    display: block;
    width: 3px;
    height: 3px;
    line-height: 0;
}
.blog_show_arti .day-text {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    align-items: center;
}
#amlab_category-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.amlab_bsettings {
    padding: 20px;
    border: 1px solid rgba(128, 128, 128, .5);
    border-radius: 10px;
    margin-bottom: 20px;
}
.amlab-tskt-table table tbody tr:nth-child(odd) {
    background-color: rgba(234, 234, 234, 1);
}

.amlab-tskt-table table tbody tr:nth-child(even) {
    background-color: #fff;
}
.amlab-tskt-table tr td {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}
.amlab_bsettings.bvkt h3 {
    margin-bottom: 0;
    width: fit-content;
}
.amlab_bsettings.bvkt .amlab_single_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.amlab_bsettings.bvkt .amlab_download,
.amlab_bsettings.tldk .amlab_download {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-decoration: underline;
    text-decoration-style: solid;
    color: rgba(2, 119, 189, 1);
}
.shop-container .term-description {
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.5s ease
}

.shop-container .term-description.expanded {
  max-height: none;
}

.shop-container .toggle-description {
  margin-top: 10px;
  padding: 8px 16px;
  background: #020092;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
      width: 150px;
    margin: 20px auto;
    justify-content: center;
    display: flex;
}
.category-page-row .shop-container{
    display: flex;
    flex-direction: column;
}
.category-page-row .shop-container .term-description{
    order: 3;
    margin-top: 60px;
}
.category-page-row .shop-container .products{
    order: 1;
}
.category-page-row .shop-container .container{
    order: 2;
}
.category-page-row .shop-container .toggle-description{
    order: 4;
}
.thuong-hieu-item.col{
            flex-basis: 20%;
        max-width: 20%;
}
.category-banner-wrap img{
    aspect-ratio: 1239 / 514;
    object-fit: cover;
    margin-top: 20px;
}
@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .text_h1,
    .text_h1>* {
        font-size: 24px !important;
    }

    /* thẻ h2 */
    .text_h2,
    .text_h2>* {
        font-size: 20px !important;
    }

    /* tiêu đề 1 */
    .text_title_main,
    .text_title_main>* {
        font-size: 18px !important;
    }

    .text_title_1,
    .text_title_1>* {
        font-size: 18px !important;
    }

    /* tiêu đề 2 */
    .text_title_2,
    .text_title_2>* {
        font-size: 16px !important;
    }

    .header-cart-icon img {
        max-width: 20px !important;
        min-width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .header-main {
        height: 70px !important;
    }

    .header-main .mobile-nav .icon-menu {
        color: #03A9F4;
    }

    .header-main #logo {
        width: auto;
        height: 100%;
        align-content: center;
        vertical-align: middle;
    }

    .header-main #logo img {
        height: 60px;
        width: auto;
        max-height: 100%;
    }
}