/*
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.   ***************/

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

.stepback3d-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.stepback3d-card {
    position: relative;
    width: 330px;
    height: 440px;
    perspective: 1500px;
    cursor: pointer;
}

.stepback3d-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    transform-style: preserve-3d;
}

@media (min-width: 1200px) {
    .stepback3d-card:hover .stepback3d-wrapper {
        transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
        box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    }
}

.stepback3d-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.stepback3d-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

@media (min-width: 1200px) {
    .stepback3d-card:hover .stepback3d-hover-img {
        opacity: 1;
        transform: translate3d(0, -30%, 0);
    }
}

/* Thêm hiệu ứng hover cho thiết bị di động */
@media (max-width: 1199px) {
    .stepback3d-card:active .stepback3d-hover-img {
        opacity: 1;
        transform: translate3d(0, -10%, 0);
    }
}

img, iframe {
    max-width: 100%;
}

img {
    vertical-align: middle;
    border-style: none;
}


/* CSS cho container của mã giảm giá */
.woocommerce .product-coupons {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 1.5rem 0;
    padding: 25px 15px 15px 15px;
    border: 1px dashed #babdc1;
    border-radius: 5px;
    position: relative;
}

/* CSS cho phần tiêu đề "Mã giảm giá" */
.product-coupons__text {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #ff2312;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    top: -15px;
    display: inline-block;
}

/* CSS cho biểu tượng trong phần tiêu đề "Mã giảm giá" */
.product-coupons__text i {
    margin-right: 5px;
}

/* CSS cho danh sách mã giảm giá */
.product-coupons__tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* CSS cho từng mã giảm giá */
.product-coupons__tag {
    padding: 8px 15px;
    border: 1px solid #ff2312;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #333;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

/* CSS hover của mã giảm giá */
.product-coupons__tag:hover {
    background-color: #eaeaea;
}

/* CSS cho tooltip của mã giảm giá */
@media screen and (min-width: 768px) {
    .product-coupons__tag[data-toggle="tooltip"]:hover::after {
        content: attr(data-original-title);
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #333; 
        color: #fff;
        padding: 5px 10px;
        border-radius: 3px;
        white-space: nowrap;
        z-index: 1000;
        font-size: 10px;
    }
}

/* CSS cho phần thông tin chi tiết của mã giảm giá trong modal */
.woocommerce #coupon-modal .coupon-item {
    display: flex;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px dashed #e59a88;
    padding: 15px;
}

.coupon-item-left {
    flex: 1;
}

.coupon-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.coupon-item .code {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff2312;
    text-transform: uppercase;
}

.coupon-item .desc {
    font-size: 14px;
    color: #555;
}

.coupon-item .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.coupon-item .save {
    padding: 5px 10px;
    font-size: 14px;
    color: #fff;
    background-color: #ff2312;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.coupon-item .save:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* base */
.efn-none {
    display: none !important;
}

.efn-title h2.section-title {
    border-bottom-color: var(--primary-color);
}

.radius-10 .img .img-inner {
    border-radius: 10px;
}

* {
    letter-spacing: 0 !important;
}

.sp-box ul>li,
.sp-box div span,
.efn-question-box .accordion-inner,
.footer-main-inner p>a,
.sp-main-box .product_meta .posted_in {
    font-size: 14px;
    color: #555555;
}

.sp-box .badge-container div span.onsale {
    color: #fff;
}

/* Header */
header .header-vertical-menu .header-vertical-menu__opener {
    background-color: #ec032a;
}

header .efn-menu-sub>p {
    display: inline-block;
}

header .efn-menu-sub>p:not(:last-child) {
    padding-right: 20px;
}

header .header-bottom ul>li>a {
    font-size: 14px !important;
}

/* Header main */
header .header-main .header-nav-main {
    justify-content: center;
}

header .header-search-form .search-field {
    border: 1px solid var(--primary-color);
    border-right: none;
    height: 38px;
    border-radius: 4px 0 0 4px;
}

header .header-search-form button {
    width: 55px;
    height: 38px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color) !important;
}

/* Tăng margin dưới cho phần giá */
.product-info .price,
.nbw_single_price {
    margin-bottom: 10px;
}

/* Định dạng cho phần giá sale */
.product-info .price ins bdi,
.product-info .price bdi,
.nbw_single_price bdi {
    font-size: 30px; /* Kích thước chữ */
    color: #E5322D; /* Màu chữ */
    text-shadow: 1px 1px 0 #fff, 
                 -1px -1px 0 #fff, 
                  1px -1px 0 #fff, 
                 -1px 1px 0 #fff, 
                  3px 3px 5px #333; /* Hiệu ứng đổ bóng */
}

/* Định dạng cho phần giá gốc */
.nbw_single_price .gia-chinh-hang,
.nbw_single_price .gia-chinh-hang bdi {
    font-size: 14px; /* Kích thước chữ */
    color: #565656; /* Màu chữ */
    text-shadow: none; /* Bỏ hiệu ứng đổ bóng */
}

/* Hiển thị giá sale */
del span.amount {
    opacity: 1; /* Hiển thị giá gốc */
}

/* Định dạng cho nhãn khuyến mãi */
.gia-chinh-hang .label-km {
    background: #da0000; /* Màu nền */
    padding: 3px 7px; /* Kích thước nền */
    color: white; /* Màu chữ */
    border-radius: 3px; /* Bo tròn viền */
}

/* Dịch chuyển phần tiết kiệm */
.nbw_single_price .tiet-kiem-box {
    margin-top: 5px; /* Khoảng cách với phần giá */
}

/* contact - 2 */
.header-contact-phone-wrapper {
    display: flex;
    align-items: center;
}

.header-contact-phone-wrapper .icon-phone {
    background-color: var(--primary-color);
    width: 35px;
    border-radius: 100%;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
    padding-right: 1px;
}

.header-contact-phone-wrapper .icon-phone::before {
    content: url(../flatsome-child/images/phone-icon.webp);
    transform: scale(0.8);
}

.header-contact-phone-wrapper>div {
    margin-left: 6px;
    height: 35px;
}

.header-contact-phone-wrapper>div .header-contact-title {
    color: rgb(17, 17, 17);
    font-weight: 500;
    line-height: 1.3;
}

.header-contact-phone-wrapper>div>a {
    color: var(--primary-color);
    font-weight: bold;
}

header .header-nav-main .cart-item a.header-cart-link {
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    padding: 10px 8px 8px;
    display: flex;
    flex-direction: row-reverse;
}

header .header-nav-main .cart-item a.header-cart-link span {
    color: #111;
    font-weight: 500;
    text-transform: none;
    padding-left: 8px;
}

header .header-nav-main .cart-item a.header-cart-link i {
    margin-left: 0;
}

/* Header bottom */
@media (max-width: 849px) {
    header .header-bottom {
        display: none;
    }
}

header .header-bottom .flex-row .flex-col:not(.flex-center) {
    flex: inherit;
    -webkit-box-flex: inherit;
    -ms-flex: inherit;
}

header .header-bottom .flex-row .flex-col.flex-center {
    flex: 1;
}

header .header-bottom .flex-row .flex-col.flex-center .nav {
    -webkit-box-pack: start;
    -ms-flex-pack: unset;
    justify-content: flex-start;
    padding-left: 20px;
}

/* More */
.home-efn-more .col .col-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    padding: 20px 10px;
    border: 1px solid #ebebeb;
    border-radius: 3px;
}

@media (max-width: 849px) {
    .home-efn-more .col .col-inner {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 20px;
    }
}

@media (max-width: 549px) {
    .home-efn-more .col .col-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 15px;
    }

    .home-efn-more .box .box-image {
        width: 50px !important;
        padding-bottom: 4px;
    }

    .home-efn-more .box .box-text {
        text-align: center;
    }

    .home-efn-more .col .col-inner>.efn-more-item:not(:last-child)::after {
        content: "";
        height: 1px;
        width: 90%;
        background-color: #ededed;
    }
}
@media only screen and (max-width: 767px){
    .blog-single .row-divided .post-sidebar {
        order: 2 !important;
    }
    .copyright-img .img {
        width: 100% !important;
    }
}
.home-efn-more .col .col-inner .efn-more-item {
    padding: 0 20px;
}

.home-efn-more .col .col-inner>.efn-more-item:not(:last-child) {
    border-right: 1px solid #ededed;
}

.home-efn-more .col .col-inner .efn-more-item .box-text {
    padding: 0;
    padding-left: 4px;
}

.home-efn-more .col .col-inner .efn-more-item .box-text h4 {
    font-size: 13px;
}

.home-efn-more .col .col-inner .efn-more-item .box-text p {
    font-size: 12px;
}

/* Banner */
.banner-efn.row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 0 15px;
}

.banner-efn.row .col {
    min-width: 100%;
}

.banner-efn.row .col:nth-child(1) {
    grid-column: 1 / span 3;
    grid-row: 1 / span 3;
}

@media (min-width: 850px) {
    .banner-efn.row .col:nth-child(1) {
        grid-column: 1 / span 2;
        grid-row: 1 / span 3;
    }
}

.banner-efn.row .col:nth-child(1) .col-inner,
.banner-efn.row .col:nth-child(1) .col-inner>div {
    height: 100%;
}

.banner-efn.row .col {
    padding: 0 !important;
}

/* Product */
.woocommerce-page .row.category-page-row,
.home-product .tab-panels .row .row,
.home-product .col .col-inner>.row {
    padding-right: 10px;
    padding-left: 10px;
}

.home-product .efn-banner-prd>div,
.home-product .efn-banner-prd>div>div,
.home-product .efn-banner-prd>div>div>div,
.home-product .efn-banner-prd>div>div>div>img {
    height: 100%;
}

.home-product .star-rating {
    margin-top: 0.05em;
}

.home-product .price-wrapper>.price ins {
    margin-bottom: 0.4em;
}

.home-product .tab-panels>.panel>.row>.col>.col-inner>.row>.col,
.home-product>.col>.col-inner>.row>.col {
    padding-bottom: 0;
}

.home-product .price-wrapper>.price {
    display: flex;
    flex-direction: column-reverse;
}

.home-product .price-wrapper>.price>span>bdi,
.home-product .price-wrapper>.price ins>span>bdi {
    color: var(--primary-color);
}

/* Category */
.home-prd-category .product-category .box-category .box-image {
    width: 80px;
    height: 80px;
}

.home-prd-category .product-category .box-category .box-text {
    padding: 0;
}

.home-prd-category .product-category .box-category h5 {
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.shop-container .products.row>div.product-small,
.home-product .row>div.product-small {
    border: 1px solid #eee;
}

/* not tab */

/* has tab */
.prd-tab h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 7.5px;
}

.prd-tab .nav {
    padding-bottom: 16px;
}

@media (min-width: 850px) {
    .prd-tab .tabbed-content .nav {
        justify-content: flex-end;
    }
}

@media (max-width: 849px) {
    .prd-tab .nav {
        overflow-x: scroll;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .prd-tab .nav::-webkit-scrollbar {
        display: none;
    }
}

.prd-tab .nav>.tab {
    margin: 0 7px;
    width: 150px;
    min-width: 150px;
    border-radius: 99px;
    display: flex;
    justify-content: center;
}

.prd-tab .nav>.tab.active {
    background-color: var(--primary-color);
}

.prd-tab .nav>.tab:first-child {
    margin-left: 0;
}

.prd-tab .nav>.tab:last-child {
    margin-right: 0;
}

.prd-tab .nav>.tab>a {
    padding: 3px 0;
}

.prd-tab .nav>.tab:not(.active) {
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 20%);
}

.prd-tab .tabbed-content .tab-panels {
    padding-top: 0;
}

/* Thương hiệu */
.home-thuong-hieu.row .col .row .col {
    padding-bottom: 0;
}

.home-thuong-hieu .img .img-inner {
    border: 1px solid #ededed;
    border-radius: 6px;
}


/* Video */
.home-video .slider-wrapper section {
    padding: 0 !important;
}

/* Tin tức */
.home-tin-tuc .tin-tuc-wrapper {
    flex-direction: column;
}

.home-tin-tuc .tin-tuc-wrapper .post-item {
    padding-bottom: 20px;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box {
    display: flex;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box .box-image {
    flex: 1;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box .box-text {
    flex: 2;
    padding: 0;
    padding-left: 10px;
}

body.blog .box-blog-post .box-text p.from_the_blog_excerpt,
.home-tin-tuc .tin-tuc-wrapper .post-item .box-text p {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box-text h5 {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}


/* Footer */
.absolute-footer {
    display: none;
}

/* Footer top */
.efn-footer-form {
    text-align: center;
}

.efn-footer-form .footer-form-label {
    color: #fff;
}

.efn-footer-form p {
    display: flex;
}

.efn-footer-form p>span {
    flex: 1;
}

.efn-footer-form .input-item {
    height: 40px;
    border-radius: 5px 0 0 5px;
}

.efn-footer-form .submit-btn {
    background-color: #2d2d2d !important;
    border-radius: 0 5px 5px 0;
    width: 100px;
    height: 40px;
    margin: 0;
}

.efn-footer-form span.wpcf7-spinner {
    display: none;
}

.footer-top form,
.efn-footer-form .input-item {
    margin-bottom: 0;
}

.footer-top .col {
    padding-bottom: 0;
}

/* Footer main */
.footer-main .footer-main-inner>.col {
    padding-bottom: 0;
}

.footer-main .efn-footer-title {
    margin-bottom: 0;
}

.footer-main .efn-footer-title h3 {
    margin-bottom: 16px;
    border: none;
}

.footer-main .efn-footer-title h3 span {
    border: none;
}

.footer-main .efn-footer-title h3 span::after {
    content: "";
    width: 50%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -2px;
}

.footer-main .footer-main-inner .col-inner>p>a {
    display: block;
}

.footer-main .efn-footer-info p {
    margin-bottom: 0;
}

.footer-main .social-icon-efn .col {
    padding-bottom: 0;
}

.footer-main .social-icon-efn .col .col-inner {
    display: flex;
}

.footer-main .social-icon-efn .img {
    width: 32px;
    max-width: 32px;
    margin-right: 5px;
}

.footer-main .social-icon-efn .img .img-inner {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    cursor: pointer;
}

/* Footer bottom */
.footer-bottom p {
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}

.footer-bottom .no-pb {
    padding-bottom: 0;
}

.footer-bottom .copyright-img {
    display: flex;
    align-items: center;
}


/* Trang shop */
/* lọc giá */
.yith-wcan-filters .yith-wcan-filter h4.filter-title,
.widget_price_filter .widget-title {
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 0;
    font-size: 20px;
}

.price_slider_wrapper .price_slider>div,
.price_slider_wrapper .price_slider>span {
    background-color: var(--primary-color) !important;
}

.widget_price_filter .price_slider_wrapper>div>button.button {
    background-color: var(--primary-color);
}

.widget_price_filter .price_slider_wrapper>div .price_label>span {
    color: var(--primary-color);
}

/* more */
.efn-shop-title {
    margin-bottom: 0;
}

.efn-shop-title h3,
.efn-shop-title h3 span {
    border: none;
}

.efn-shop-title.ques-title {
    padding-left: 55px;
}

.efn-shop-title.ques-title::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 10px;
    width: 35px;
    height: 35px;
    background-image: url(../flatsome-child/images/ques.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

.efn-shop-title.promotion-title {
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 15px;
}

h3.efn-shop-title.promotion-title span {
    display: flex;
    align-items: center;
    padding-left: 25px;
    color: #fff;
    font-size: 18px;
}

h3.efn-shop-title.promotion-title span::before {
    content: '';
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
    background-image: url(../flatsome-child/images/gift.png);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-bottom: 2px;
}

ul.promotion-box {
    background-color: #fff;
    padding: 10px;
    border-radius: 0 0 4px 4px;
}

ul.promotion-box>li>a,
ul.promotion-box>li {
    font-size: 14px;
    line-height: 1.4;
    /* margin-bottom: 0; */
}

/* question */
.efn-question-box .accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #f4f4f4;
}

.efn-question-box .accordion-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 3px 25px;
}

.efn-question-box .accordion-item>a>button {
    position: unset;
    order: 2;
    padding-top: 2px;
}

.efn-question-box .accordion-item>a>span {
    font-weight: 700;
}

/* Trang sp */
.single-product.single .shop-container {
    background-color: #fff;
}

.sp-box-wrapper .col-inner {
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
}

.sp-box,
.sp-main-box,
.sp-box-wrapper-1 {
    background: #fff;
    border-radius: 4px;
}

.sp-box.p-15 {
    padding: 15px;
}

.single-product.single .woocommerce-tabs>ul>li>a {
    font-size: 20px;
    padding: 0;
}

.single-product.single .woocommerce-tabs>ul>li>a::before {
    display: none;
}

.sp-pr-8 {
    margin-right: 8px;
}

.sp-box.right-box>.mr-2 {
    display: flex;
}

.sp-box.right-box>.mr-2:not(:last-child) {
    border-bottom: 1px dashed #f1f1f1;
    padding-bottom: 10px;
}

.sp-box.right-box>.mr-2:not(:first-child) {
    padding-top: 10px;
}

.sp-box.right-box>.mr-2>img {
    width: 24px;
    height: 24px;
}

/* giá sp */
.single-product .price-wrapper .price bdi {
    font-size: 22px;
    color: #d70018;
}

.single-product .price-wrapper .price del bdi {
    font-size: 16px;
    color: #111;
}

/* đánh giá sản phẩm */
.sp-hidden-more-sp .related-products-wrapper {
    display: none;
}

.sp-hidden-more-sp .woocommerce-Tabs-panel--reviews>div.row>div.col {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

.sp-box-wrapper-1.sp-hidden-more-sp {
    padding: 20px 15px 0;
}

.sp-hidden-des.show-related-prd .woocommerce-tabs.wc-tabs-wrapper {
    display: none;
}

/* Show more product detail */

.single-product div#tab-description,
.field_product {
    overflow: hidden;
    position: relative;
    padding-bottom: 50px;
    margin-bottom: 0;
}

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

.single-product .tab-panels div#tab-description.panel:not(.active) {
    height: 0 !important;
}

.b360_readmore_detail_product {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #F9F9FB;
}

.b360_readmore_detail_product:before {
    height: 55px;
    margin-top: -55px;
    content: "";
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #F9F9FB 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #F9F9FB 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #F9F9FB 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff00', endColorstr='#ffffff', GradientType=0);
    display: block;
}

.b360_readmore_detail_product a {
    color: #F9F9FB !important;
    max-width: 300px;
    margin: auto;
    background: #d70018 !important;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 30px;
}

.b360_readmore_detail_product a:after {
    content: '';
    width: 0;
    right: 0;
    border-top: 6px solid #ffffff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}

.b360_readmore_detail_product_less a:after,
.b360_readmore_detail_product_less_sub a::after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
}

.b360_readmore_detail_product_less:before,
.b360_readmore_detail_product_less_sub::before {
    display: none;
}

.related-products-wrapper.product-section {
    margin-top: 50px;
}


}

.single-sp-main .cart button {
    border-radius: 4px;
}


/* filter product reset btn */
button.button.woof_reset_search_form {
    border-radius: 60px;
    width: 120px;
}

div.scrollmenu {
    background-color: #fff;
    overflow: auto;
    white-space: nowrap;
    box-shadow: 0px 0px 4px #ccc;
    display: flex;
}

.home .scrollmenu>a:nth-child(1),
.woocommerce-cart.woocommerce-page .scrollmenu>a:nth-child(3) {
    color: var(--primary-color);
}

div.scrollmenu a {
    color: #333;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    flex: 1;
}

div.scrollmenu>a>i {
    font-size: 22px;
}

div.scrollmenu a:hover {
    color: var(--primary-color);
}

@media only screen and (max-width: 1024px) {
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }

    .header-inner #logo {
        display: flex;
        width: 100% !important;
        margin-right: 50px;
    }

    .header-inner #logo a {
        max-width: 160px;
    }

    .header-inner .show-for-medium.flex-right {
        flex: 0 0 100%;
    }

    .header-inner .show-for-medium.flex-right .mobile-nav {
        position: static;
    }

    .header-inner .show-for-medium.flex-right .mobile-nav .cart-item {
        position: absolute;
        top: 0;
        transform: translateY(15px);
    }

    .header-inner .show-for-medium.flex-right .mobile-nav .header-search-form {
        margin-left: 0 !important;
    }

    .scrollmenu a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .scrollmenu a span {
        margin-top: 6px;
    }

    #button-contact-vr {
        bottom: 10% !important;
    }
    #button-contact-vr #gom-all-in-one{
        display: block;
    }

    #button-contact-vr.active #gom-all-in-one{
        display: none;
    }
}
@media screen and (max-width: 849px) {
    .header-inner .nav {
        -ms-flex-wrap:nowrap;
        flex-wrap: nowrap
    }

    .medium-logo-left .flex-left {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        -webkit-box-flex: 0;
        -ms-flex: 0;
        flex: 0
    }

    .medium-logo-left .logo {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1
    }

    .medium-logo-center .flex-left {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
        flex: 1 1 0
    }

    .medium-logo-center .logo {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        text-align: center;
        margin: 0 15px
    }

    .medium-logo-center .logo img {
        margin: 0 auto
    }

    .medium-logo-center .flex-right {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
        flex: 1 1 0;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3
    }
}

/* Scroll menu */
@media only screen and (min-width: 660px) {
    .scrollmenu {
        display: none !important;
    }
}

.scrollmenu {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 99;
}

.star-rating span{
color: #FFD700;
}

.qr_code strong{
    display: block;
}

.qr_code strong img{
    max-width: 250px;
    margin: 15px 0;
    width: 100%;
}

/* custome price */
.prd-sale-wrapper .box-text-products .price,
.home-product .box-text-products .price {
    display: flex;
    flex-direction: column-reverse;
}

.product-title>a {
    color: #222;
}

/* Star */
.stars a.active,
.star-rating:before,
.woocommerce-page .star-rating:before,
.star-rating span:before,
.color-secondary {
    color: var(--star-color) !important;
}
.footer-wrapper {
    margin-bottom: 80px;
}

@media (max-width: 849px) {
    .prd-tab .nav {
        overflow-x: scroll;
        flex-wrap: nowrap;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .prd-tab .nav::-webkit-scrollbar {
        display: none;
    }
    /* Header */
    header .flex-col.show-for-medium.flex-left {
        display: none;
    }
    .header-wrapper.stuck .header-main, .header-wrapper .header-main {
        height: 121px !important;
    }
    .contact-phone ul li{
        margin-left: 0 !important;
    }
}

.form-row.terms label {
    display: block;
}

.form-row.terms .input-checkbox {
    margin-top: 10px;
}


.ser-icon{
	max-width: 100%;
	overflow: hidden;
	border-radius: 100%;
	color: var(--primary-color);
	transition: .2s all;
}

.ser-icon .process{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: -webkit-max-content!important;
	width: -moz-max-content!important;
	width: max-content!important;
	overflow: visible!important;
	-webkit-transition: .2s all;
	transition: .2s all;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: auto!important;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
    top: 24%;
    left: 24%;
    position: absolute;
}
.unsee{
	opacity: 0;
	transform: scale(0);
}
.bg_fade.unsee {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.5;
	z-index: 101;
	transform: inherit;
}
.process{
	display: inline-flex;
	transform: translateX(0px);
	transition: 0.3s linear transform;
	line-height: 0;
}
.ser-icon .item {
	margin-right: 40px;
    background-color: #e60808;
    border-radius: 100%;
}
.ser-icon i:nth-child(2n) {
	color: #000;
}

.header-category{
    margin-top: 30px;
}


.contact-phone ul {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    margin-top: 50px
}

.contact-phone ul li {
    width: 100%;
    background-color: #288AD6;
    color: #fff;
    padding: 5px;
    text-align: center;
    border-radius: 3px;
    display: inline-block
}

.contact-phone ul li a {
    color: #fff;
    display: block;
    width: 100%;
    text-decoration: none
}

.contact-phone ul li p:first-of-type {
    font-weight: 700;
    font-size: 16px;
    margin: 0
}

.contact-phone ul li:last-of-type {
    background: rgba(58,85,159,1)
}

.contact-phone ul li:last-of-type {
    margin-right: 0
}

.contact-phone ul li p:last-of-type {
    font-size: 12px;
    margin: 0
}

.contact-phone {
    width: 100%;
    margin: 10px 0;
    overflow: hidden
}

.header-category-customer{
    margin-top: 30px;
}
