/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
:root {
    --color-main: #487fbe;
    --color-second: #C80101;
    --color-medium-red: #cc2c32;
    --color-dark-red: #c31829;
    --color-green: #28a745;
    --color-dark-green: #207d36;
    --color-black: #212529;
    --color-gray: #6c757d;
    --font-title: 'Roboto';
    --font-title-card: 'Roboto';
    --color-title: #c31829;
    --color-hover-text: #C80101;
}
body
{
    background: #fff;
}
/*************** ADD CUSTOM CSS HERE.   ***************/
#top-bar {
    background-color: var(--color-main);
    color: #fff;
    font-weight: 500;
    overflow: hidden;
}
#top-bar::before
{
    content: '';
    position: absolute;
    background: #6b66c0;
    height: 1100%;
    width: 40%;
    transform: rotate(40deg);
}
#top-bar .company_name
{
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
#top-bar .social-icons.follow-icons a
{
    margin: 0 5px;
    background: #fff !important;
    border: unset !important;
    position: relative;
}
#top-bar .social-icons.follow-icons .facebook::before
{
    content: "";
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('images/fb.png');
    background-position: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 50%;
    background-size: cover;
}
#top-bar .social-icons.follow-icons .email::before
{
    content: "";
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('images/gg.png');
    border-radius: 50%;
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
/* header */
#masthead
{
    box-shadow: 0px 1px 2px #0000003d;
}
#header .ux-search-submit
{
    border: unset;
    background: transparent;
    position: absolute;
    left: 5px;
    top: 0;
}
#header-contact a
{
    font-size: 16px;
    text-transform: unset !important;
}
#header .searchform
{
    position: relative;
    border-radius: 20px;
    background: #F3F3F3;
}
#header .icon-search
{
    color: #000;
}
#header .header-nav-main > .menu-item.active a
{
    color: #443cb7 !important;
}
#header .header-nav-main > .menu-item a
{
    padding: 15px;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    color: var(--color-main);
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
}
.nav-dropdown.nav-dropdown-default>li>a
{
    border: unset !important;
}
.nav-dropdown.nav-dropdown-default>li
{
    border-bottom: 1px solid #ececec;
}
#header .header-nav-main .sub-menu li:hover
{
    background: red;
}
#header .header-nav-main .sub-menu li a
{
    color: #fff;
}
#header .header-nav-main .sub-menu
{
    border-radius: 8px;
    padding: 0;
    border: unset !important;
    left: 0;
    background: #7f7fff;
    color: #fff !important
}
#header .search-field
{
    background: transparent;
    border: unset;
    box-shadow: unset !important;
    padding-left: 50px;
}
/* Category */
.section_category .header_title .title
{
    width: 100%;
    text-align: center;
    display: block;
    color: var(--color-main);
    font-weight: bold;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.section_category .header_title p
{
    text-align: center;
    margin: 0 auto;
    color: #222222;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 400;
}
.section_category .product-categories-slider .title
{
    color: #fff;
    font-weight: 500;
    font-size: 24px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-align: center;
    -webkit-line-clamp: 2;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px;
}
.section_category .swiper-button-next,
.section_category .swiper-button-prev
{
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    background: #8f8f8f;
}
.section_category .product-categories-slider .content-hidden_img_danhmuccap1
{
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 7%, rgba(0, 0, 0, 1) 100%);
    padding: 0 24px;
}
.section_category .swiper-slide,
.section_category .swiper-slide img
{
    border-radius: 16px !important;
}
/* Product */
.product-image
{
	aspect-ratio: 9 / 9;
}
.section_product .header_title .title
{
    width: 100%;
    text-align: center;
    display: block;
    color: var(--color-main);
    font-weight: bold;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
#products-list-wrapper .box .wp-post-image
{
    border-radius: 16px;
    width: 100% !important;
}
#products-list-wrapper .product-title
{
    text-align: center;
    text-decoration: none;
    margin-bottom: 0;
    font-size: 19px;
    color: #222222;
    line-height: normal;
    text-align: center;
    font-weight: 600;
    text-transform: capitalize;
}
#products-list-wrapper .product-body
{
    padding: 10px;
}
/* About */
.section-about .subtitle
{
    margin-bottom: 0;
    color: red;
    font-size: 20px;
}
.section-about .section-about-content p
{
    color: #222222;
    font-size: 16px;
    text-indent: 20px;
}
.section-about .title
{
    color: var(--color-main);
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.img2_gioithieu img {
    border-radius: 16px;
    box-shadow: 0 0 5px 5px #f6f5f5;
    margin-bottom: 24px;
    transition: all 0.5s !important;
}
.img1_gioithieu img {
    border-radius: 16px;
    box-shadow: 0 0 5px 5px #f6f5f5;
    transition: all 0.5s !important;
}
.btn--primary
{
    padding: 10px 24px;
    color: #fff !important;
    background: var(--color-main);
    font-size: 16px;
    font-weight: bold;
    line-height:  1 !important;
    margin: 0 !important;
    margin-top: 24px;
    border-radius: 8px;
    transition: all 0.5s;
}
/* Why Chose */
.section_why_chose
{
    background: linear-gradient(180deg, rgba(101, 141, 215, 1) 55%, rgba(255, 255, 255, 1) 55%);
}
.section_why_chose .box_why_chose  > div
{
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    gap: 16px;
    box-shadow: 0 0 3px 2px #0000000a;
    backdrop-filter: blur(5px);
}
.section_why_chose .box_why_chose .title
{
    width: 100%;
    text-align: center;
    color: var(--color-main);
    font-size: 20px;
    font-weight: 600px;
    text-transform: capitalize;
}
.section_why_chose .box_why_chose p
{
    text-align: left;
}
#header .header-nav-main > .menu-item > a:hover {
    color: #413bba; /* màu khi hover */
    transition: color 0.3s ease;
}
.section_why_chose .header_title .title
{
    width: 100%;
    text-align: center;
    display: block;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 24px;
}
/* Blog */
.section-blog .header_title .title
{
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    display: block;
    color: var(--color-main);
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 24px;
}
.section-blog .post-title a
{
    text-align: left;
    margin-top: 16px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    margin-bottom: 16px;
    position: relative;
}
.section-blog .row-box-shadow-1
{
    box-shadow: unset !important;
}
.section-blog .is-divider
{
    background: #8C8C8C;
    width: 100%;
    margin-bottom: 1rem !important;
    height: 1px !important;
    max-width: unset;
}
.section-blog .from_the_blog_excerpt 
{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-align: left;
    -webkit-line-clamp: 3;
    position: relative;
    color: #222222;
}
/* Page Contact */
.page-contact .contact_list {
  list-style: none;  /* bỏ dấu chấm */
  margin: 0;
  padding: 0;
}
.page-contact .contact_list li {
  margin: 0;
  padding-left: 0;
  position: relative;
}
.section_map p
{
    margin-bottom: 0 !important;
}
.section_map iframe
{
    width: 100%;
}
.section_map .section-content .map_content *
{
    height: 100%;
}
.section_map .section-content .map_content
{
    width: 100%;
    position: relative;
    padding: 0;
    height: 500px;
    width: 100%;
    border: 1px solid var(--color-main);
    border-radius: 10px;
    overflow: hidden;
}
.page-contact .contact_list li
{
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    color: #212529;
}
.page-contact .wpcf7-form .col
{
    padding-bottom: 10px !important;
}
.page-contact .wpcf7-submit
{
    padding: 5px 25px;
    border: 2px solid transparent;
    color: #fff;
    margin: 0 !important;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    margin-right: 5px;
    background-color: #007bff;
    text-transform: capitalize;
    transition: transform 0.3s;
    box-shadow: 1px 1px 3px grey;
}
.page-contact input[type="text"],
.page-contact input[type="tel"],
.page-contact input[type="email"],
.page-contact textarea
{
    margin-bottom: 0;
    width: 100%;
    padding: 0px;
    outline: none;
    font-size: 16px;
    box-shadow: 0 0 7px 0 #e1e1e1;
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s 
    ease-in-out, box-shadow 0.15s 
    ease-in-out;
} 
.page-contact .contact_desc .title
{
    line-height: 28.8px;
    font-size: 26px;
    color: rgb(0, 0, 255);
    text-transform: uppercase;
}
.page-contact .header_title .title
{
    padding-bottom: 15px;
    text-transform: capitalize;
    color: var(--color-main);
    font-size: 28px;
    font-family: var(--font-title);
    text-transform: uppercase;
    font-weight: bold;
}
/* breadcrumb-container */
.breadcrumb-container .breadcrumbs li.active
{
    color: #5e58ba !important;
}
.blog_list .post_body
{
    padding: 10px 10px 0 10px;
}
.blog_list .post_meta
{
    border-top: 1px solid #d6d6d6;
    padding: 5px 0;
    margin-top: 10px;
    font-size: 13px;
    display: flex;
    justify-content: end;
    align-items: center;
}
.blog_list .post-excerpt
{
    line-height: 1.4;
    display: -webkit-box;        /* cần cho -webkit-line-clamp */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.blog_list .post_meta .time-news
{
    color: var(--color-gray);
    margin-bottom: 0.25rem;
    font-size: 13px;
    font-style: italic;
    text-align: right;
}
.blog_list .post-title a
{
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;        /* cần cho -webkit-line-clamp */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;       /* số dòng muốn giữ */
    overflow: hidden;
    text-overflow: ellipsis;
}
.title_page
{
    width: 100%;
    margin-bottom: 0;
    text-align: center;
    display: block;
    color: var(--color-main);
    font-weight: bold;
    font-size: 32px;
    text-transform: uppercase;
}
.post_card
{
    margin-bottom: 25px;
    height: fit-content;
    transition: all 0.3s;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 1px 1px 15px #e5e5e5;
}
.mb-3
{
    margin-bottom: 30px;
}
.page-content
{
    margin-top: 30px;
}
.breadcrumb-container .breadcrumbs
{
    font-weight: 500 !important;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    color: #333333 !important;
    background-color: transparent;
    border-radius: 0;
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 0;
}
.breadcumb_div > .col
{
    padding: 10px !important;
}
.breadcrumb-container ul
{
    margin: 0;
    display: flex;
    padding: 0;
    list-style: none;
}
.breadcrumb-container ul li:first-child
{
    margin-right: 5px;
}
.breadcrumb-container ul li a
{
    color: #333333 !important;
}
.breadcrumb-container ul li
{
    margin: 0;
    padding: 0;
}
/* Footer */
.absolute-footer
{
    display: none;
}
.section_footer
{
    font-size: 14px;
    background: var(--color-main);
    color: #000;
    background-size: cover;
    position: relative;
    z-index: 9;
    margin-top: 20px;
}
.section_footer .ux-menu a
{
    color: #fff;
    font-size: 15px;
}
.section_footer p
{
    color: #fff;
}
.section_footer .title
{
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 24px;
    position: relative;
    color: #fff;
    font-weight: bold;
}
.section_footer .ux-menu-link__link
{
    border: unset !important;
}
.single-post-container
{
    margin-top: 10px;
}
.single-post-container .post-content
{
    margin-top: 20px;
}
/* product detail */
.block-page {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px 10px;
}
.pro-detail-page {
    width: calc(100% - 250px) !important;
}

.pro-detail-page, .frame-news-page {
    width: 100%;
    float: left;
}
.right-pro-detail {
    width: 53%;
}
.attr-pro-detail {
    list-style: none;
    padding: 0px;
}
.list-btn-position
{
    list-style: none;
    margin: 0;
    padding: 0;
}
.attr-pro-detail li label {
    font-weight: bold !important;
}
.price-new-pro-detail {
    font-weight: 700 !important;
    font-size: 20px !important;
    color: var(--color-second) !important;
}
.wrap-frame-left h2 {
    line-height: 30px;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #000;
    text-shadow: 0.3px 0.3px 0 #000;
    padding: 7px 10px;
    border-radius: 5px 5px 0 0;
    padding-top: 15px;
}
.attr-pro-detail li {
    border-bottom: 1px dotted #dddddd;
    display: flex;
    list-style: none;
    align-items: center;
    padding: 5px 0;
}
.title-pro-detail {
    text-transform: capitalize;
    font-size: 24px;
    display: block;
    margin-bottom: 0;
    font-weight: 700;
}
.tabs-pro-detail .ul-tabs-pro-detail li.active {
    background: #333;
    color: #fafafa;
}
.tabs-pro-detail .ul-tabs-pro-detail li {
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #eee;
    padding: 5px 10px;
}
.tabs-pro-detail .ul-tabs-pro-detail li {
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #eee;
    padding: 5px 10px;
}
.tabs-pro-detail .ul-tabs-pro-detail {
    padding: 0px;
    list-style: none;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 15px;
}
.tabs-pro-detail
{
    width: 100%;
}
.list-btn-position li:hover>a,
.list-btn-position li>i:hover {
    color: var(--color-hover-text);
}
.list-btn-position li:last-child>a {
    border: none;
}
.left-pro-detail .MagicZoom {
    border-radius: 5px;
    width: 100%;
    box-shadow: 1px 1px 15px #d2d2d2;
    overflow: hidden;
}
.header_title .title
{
    padding-bottom: 15px;
    color: var(--color-main);
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
.content-tabs-pro-detail { display: none; }
.content-tabs-pro-detail.active { display: block; }
.ul-tabs-pro-detail li { cursor: pointer; }
.ul-tabs-pro-detail li.active { font-weight: bold; }
.list-btn-position li a:hover {
    transform: translateX(5px);
    transition: transform 0.3s;
}
.single-post-container
{
    line-height: 1.5;
    color: #212529;
}
.list-btn-position li a {
    color: #333;
    font-size: 15px;
    text-decoration: none;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    padding: 7px 25px 7px 0;
    border-bottom: 1px solid rgb(216, 216, 216);
    transition: transform 0.3s;
}
.attr-pro-detail li label {
    font-weight: bold;
    font-size: 16px;
}
.attr-label-pro-detail {
    margin: 0px 5px 0px 0px;
}
.wrap-frame-left {
    width: 250px;
    float: right;
    position: sticky;
    top: 90px;
    height: fit-content;
}
.frame-left {
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
}
.box-left-menu {
    padding-bottom: 1px;
    top: 70px;
    z-index: 9;
    padding: 0 10px 10px 15px;
    margin-bottom: 20px;
}
.wrap-frame-left h2 {
    line-height: 30px;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-family: var(--font-title-card);
    color: #000;
    text-shadow: 0.3px 0.3px 0 #000;
    padding: 7px 10px;
    border-radius: 5px 5px 0 0;
    padding-top: 15px;
}
.left-pro-detail {
    position: relative;
    width: 41%;
    text-align: center;
    padding-right: 5px;
    background: white;
}
.grid-pro-detail {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.post_card img
{
    width: 100%;
}
.wrap-frame-left {
    width: 250px;
    float: right;
    position: sticky;
    top: 90px;
    height: fit-content;
}
.attr-content-pro-detail {
    display: inline-block;
    margin-bottom: 0px;
}
.pro-detail-page-fix {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
}
#wp_statistics_widget-3 ul li
{
    border: unset !important;
    min-height: 2.5em;
    padding-bottom: .3em;
    padding-top: .3em;
}
#wp_statistics_widget-3 ul li,
#wp_statistics_widget-3 ul li label
{
    display: flex;
    font-weight: 500;
    align-items: center;
    color: #fff;
    font-size: 15px;
}
#wp_statistics_widget-3 .widget-title
{
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px !important;
    font-size: 24px;
    position: relative;
    color: #fff;
    font-weight: bold;
}
#wp_statistics_widget-3 .is-divider
{
    display: none;
}
.footer-wrapper
{
	color: #fff !important
}
.section_footer a
{
	color: #fff !important
}
.product-image {
    overflow: hidden; /* cắt phần ảnh vượt ra ngoài */
    border-radius: 16px; /* nếu muốn bo góc */
}

.product-image img {
    width: 100%; /* đảm bảo ảnh vừa khung */
    height: auto;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.1); /* zoom khi hover */
}
@media screen and (max-width: 568px) {
    .section-about .title,
    .title_page,
    .section_why_chose .header_title .title,
    .section-blog .header_title .title,
    .section_category .header_title .title,
    .section_product .header_title .title
    {
        font-size: 24px;
    }
}
@media screen and (max-width: 768px){
    .pro-detail-page, 
    .left-pro-detail,
    .wrap-frame-left,
    .right-pro-detail
    {
        width: 100% !important;
    }
    .right-pro-detail
    {
        margin: 30px 0;
    }
}
.footer-ul li a
{
	display: flex;
	align-items: start
}
.footer-ul,
.footer-ul li
{
	list-style: none
}