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

:root {
    --vertical-menu-width: 240px;
}
.br-8 {
    border-radius: 8px;
    overflow: hidden;
}

/*Active category menu*/
.header-top ul>li.current-menu-item>a {
    color: #fff;
}

.header-top ul>li>a {
    font-size: 11px;
    color: #fff;
    padding-left: 10px;
    text-transform: uppercase;
    padding-bottom: 0 !important;
}

/*nâng logo và html lê*/
.header-main ul.header-nav.header-nav-main.nav.nav-left.nav-uppercase {
    /* margin-top: -10px; */
    /* margin-left: 30px; */
}
.header-main img.header-logo-dark {
    /* margin-top: -10px; */
    /* margin-left: 50px; */
}

/*style custom mona html*/
.mona_html a {
    font-size: 13px;
    color: #fff;
}

.mona_html a:hover {
    color: #f1f1f1;
}

.mona_html span {
    font-size: 11px;
    font-weight: normal;
    color: #f1f1f1;
    opacity: .9;
}

/*style search*/
.header-main input.search-field.mb-0 {
    width: 250px;
    height: 40px;
}

.header-main button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    height: 40px;
    width: 77px;
    border-radius: 0px 2px 2px 0px;
    color: #fff;
    background-color: #000;

}

select.search_categories.resize-select.mb-0 {
    height: 40px;
    width: auto !important;
    border-radius: 2px 0px 0px 2px;
    padding-right: 1.9em;
}

/*---style mobile search---*/
.mobile-sidebar input.search-field.mb-0 {
    width: 100%;
    height: 40px;
}

.mobile-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    height: 40px;
    width: unset;
    border-radius: 0px 2px 2px 0px;
    color: #6b5d5d;
    background-color: #ffe300;
}

.mobile-sidebar select.search_categories.resize-select.mb-0 {
    width: 100% !important;
}

/*---end style mobile search---*/

/*style vertical menu*/
#mega-menu-wrap {
    background: #000;
    position: relative;
}

#mega-menu-title {
    padding: 6px 0 6px 15px;
}

/*Chỉnh icon menu vertical*/
#mega_menu>li>a>img {
    max-width: 30px;
    margin-left: -5px;
}

#mega_menu li a {
    padding: 7.2px 15px;
    display: block;
    font-size: 14px;
    color: #111;
}

/*style color vertical menu*/
ul#mega_menu {
    background-color: #555;
    border: 0px
}

.header-bottom ul.menu>li+li,
.header-bottom .widget>ul>li+li {
    border-top: 0px solid #ececec;
}

#mega_menu li {
    border-left: 4px solid transparent;
}

#mega_menu li:hover {
    border-left: 4px solid var(--fs-color-primary);
}

#mega_menu>li>a {
    color: #fff;
}

#mega_menu>li:hover>a {
    background: #000;
    color: #fff;
}

#mega_menu li.active {
    /* background-color: #000; */
    border-left: 4px solid #fff;
}


/*style header bottom*/
.header-bottom .nav>li>a {
    padding: 5px 0px;
}
.header-bottom .flex-col.hide-for-medium.flex-left {
    max-width: var(--vertical-menu-width) !important;
}
#wide-nav > .flex-row > .flex-left {
    min-width: initial;
}

/*style nav last child*/
.header-bottom .nav-right li:last-child {
    margin-right: 0 !important;
    background-color: #000;
    padding: 0px 35px;
}
.header-bottom .nav-right li:last-child:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 17.5px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 17.5px solid transparent;
    border-left: 15px solid #fff;
}
.header-bottom .nav-right li:last-child a {
    color: #fff !important;
}
.header-bottom .nav-right li:last-child img {
    filter: invert(1);
}

/*-----------end header-----------*/


/*-------------content-------------*/
/*căn đều chiều cao các sản phẩm đều nhau*/
.has-shadow>.col>.col-inner {
    background-color: #FFF;
    height: 100%;
    border-top: 1px solid #eee;
}

/*style vị trí nhãn Sale*/
.badge-container.absolute.left.top.z-1 {
    width: 100%;
    margin-top: 1em;
}

.callout.badge.badge-circle {
    float: right;
    margin-right: 15px;
    height: 25px;
}

.badge-inner.secondary.on-sale {
    border-radius: 2px;
    background-color: #ffe300;
}

span.onsale {
    font-size: 14px;
    color: #000;
    padding: 0 5px;
    font-weight: 500;
}

/*style product price*/
.price-wrapper span {
    color: var(--fs-color-alert);
}

.price-wrapper del span {
    color: #666;
}

.price-wrapper ins span {
    color: var(--fs-color-alert);
}

/*style giá sản phẩm tại widget sidebar*/
.product_list_widget span.woocommerce-Price-amount.amount {
    font-size: 12px;
}

/*style button Xem thêm Hệ thống*/
.bt_system_store {
    margin: -5px 0px -4px 35px;
    font-weight: normal;
}
.bt_system_store:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid #4a90e2;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    display: inline-block;
    margin-left: 5px;
}

/*style menu product in homepage*/
.mona_menu ul {
    margin: 0;
}
.mona_menu ul li {
    display: inline;
    padding: 0px 10px;
}
.mona_menu ul.menu>li+li,
.mona_menu .widget>ul>li+li {
    border-top: 0px solid #ececec;
}

/*style button product in homepage*/
.bt_menu_product {
    background-image: url('/wp-content/uploads/2026/04/title-background.jpg') !important;
    background-size: cover;
    background-position: center;
    font-size: 32px;
    line-height: 1;
    padding: 8px 15px 4px !important;
    margin-right: 0;
    letter-spacing: 2px;
    -webkit-text-stroke: 4px var(--fs-color-primary);
    paint-order: stroke fill;
    min-height: unset;
}
.bt_menu_product span {
    color: #fff;
    line-height: 1.3;
}
@media only screen and (max-width: 849px) {
    .bt_menu_product {
        font-size: 20px;
        padding: 15px 15px 12px !important;
        letter-spacing: 0;
    }
}

/*style system store*/
.dvls_maps_row.dvls_maps_header {
    background-color: #fff;
    padding: 0;
}

.dvls_maps_wrap .dvls_near_you {
    margin: 10px 0 0;
    display: none !important;
}

/*---style border row section---*/
.row_section_border > .col > .col-inner {
    border-radius: 3px;
    border: 1px solid #ecf2f4;
}

/*-----------end content-----------*/


/*-------------footer-------------*/
.mona_sidebar ul {
    margin: 0;
}
.mona_sidebar ul li a {
    padding: 0;
    font-size: 14px;
}
.mona_sidebar ul.menu>li+li,
.mona_sidebar .widget>ul>li+li {
    border-top: 0px solid #ececec;
}

/*style sec contact*/
.sec_contact {
    font-size: 14px;
    line-height: 100%;
}
.row_sec_contact {
    border: 1px solid #eee;
    border-radius: 5px;
    height: 100%;
}

/*-----------end footer-----------*/

/* NEW CSS */
.text-uppercase {
    text-transform: uppercase;
}
.text-16 * {
    font-size: 16px;
}

/* SEO */
.seo-heading {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
}

/* HEADER */
@media only screen and (max-width: 1200px) {
    :root {
        --vertical-menu-width: 225px;
    }
    div#logo {
        width: 140px;
    }
    .header-main .nav-right > li.html,
    .header-main .nav-right > li.header-divider {
        display: none;
    }
    .header-main input.search-field.mb-0 {
        width: 100%;
        min-width: 180px;
    }
    .header-bottom .nav-center img,
    .header-bottom .nav-right img {
        display: none;
    }
    .header-bottom .nav-center .menu-image-title,
    .header-bottom .nav-right .menu-image-title {
        padding: 0;
    }
}

/* FOOTER - form */
.sec_contact .wpcf7-form {
    margin: 0;
}
.form-footer {
    display: flex;
}
.form-footer + .wpcf7-response-output {
    display: none;
}
.form-footer > span:first-child {
    flex: 1;
    margin-right: 1em;
}
.form-footer .second-submit {
    margin-right: 0;
}

.wpcf7 .wpcf7-spinner {
    display: none;
}
.wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 100%;
}

/* FOOTER - social */
.social-list > .col-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
}
.social-list .img {
    margin: 0 !important;
    width: 33px !important;
    transition: .3s;
}
.social-list .img:hover {
    transform: translateY(-5px);
}

/* FOOTER - menu */
.footer-menu ul {
    margin: 0;
}
.footer-menu ul li a {
    padding: 0;
    font-size: 14px;
}
.footer-menu ul.menu>li+li,
.footer-menu .widget>ul>li+li {
    border-top: 0px solid #ececec;
}

/* FOOTER - title */
.footer-title p {
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

/* FOOTER - float icon */
.social-float {
    position: fixed;
    bottom: 70px;
    right: 22px;
    z-index: 10;
    width: max-content;
}
.social-float .social-list > .col-inner {
    flex-direction: column;
}
.social-float .social-list .img {
    width: 38px !important;
    filter: drop-shadow(0 0 3px #ccc);
}

/* MEGA MENU */
#mega_menu .sub-menu li.has-child > .toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}
#mega_menu .sub-menu li.has-child > .toggle > i {
    font-size: initial;
}
#mega_menu .sub-menu li.has-child > .toggle > i::before {
    content: "\f107";
    font-family: FontAwesome;
}

/* SIDEBAR MOBILE */
.mobile-sidebar .searchform .flex-row {
    flex-wrap: wrap;
}
.mobile-sidebar .searchform .search-form-categories {
    flex-basis: 100%;
}

.mobile-sidebar .mona_html a, 
.mobile-sidebar .mona_html span {
    color: #000;
}
.mobile-sidebar .mona_html a:hover {
    color: var(--fs-color-primary);
}

/* HOME - Banner - Slider */
.banner-grid > .col:last-child {
    padding-bottom: 0;
}
.banner-grid .img img {
    border-radius: 8px;
}
.banner-grid .slider-nav-light .flickity-button {
    color: #fff;
}
.banner-grid .slider-nav-light .flickity-button svg {
    fill: #fff;
    background-color: var(--fs-color-primary);
    border-color: var(--fs-color-primary);
}
@media only screen and (min-width: 850px) {
    .banner-col-1 {
        flex-basis: calc(var(--vertical-menu-width) + 30px);
        max-width: calc(var(--vertical-menu-width) + 30px);
    }
    .banner-col-2 {
        flex: 1;
        max-width: initial;
    }
    .banner-col-2 > .col-inner {
        padding-right: 15px;
        padding-top: 15px;
    }
    .banner-grid {
        gap: 1em;
    }
    .banner-grid::after {
        content: none;
    }
    .banner-grid > .col {
        padding: 0;
    }
    .banner-grid > .col:first-child {
        flex-basis: calc(66.66% - 0.1em);
        max-width: calc(66.66% - 0.1em);
    }
    .banner-grid > .col:last-child {
        flex: 1;
        max-width: initial;
    }
}
@media only screen and (max-width: 849px) {
    .banner-grid > .col:last-child > .col-inner {
        display: flex;
        gap: 15px;
    }
    .banner-grid > .col:last-child .img {
        margin: 0;
    }
}

/* HOME - row brands */
.brand-row {
    gap: 16px 30px;
}
.brand-row::after {
    content: none;
}
.brand-row > .gallery-col {
    flex-basis: initial;
    max-width: initial;
    width: auto;
    padding-bottom: 0;
}
.brand-row .box-text {
    display: none;
}
.brand-row .box-image {
    padding: 0 !important;
}
.brand-row .box-image img {
    width: auto;
    height: 38.5px;
    position: static;
}
@media only screen and (max-width: 549px) {
    .row-divided>.col+.col:not(.large-12) {
        border-top: 1px solid #ececec;
    }
    .brand-row .box-image img {
        height: 25px;
    }
}

/* PRODUCT - SINGLE */
.product-summary button[name="add-to-cart"]:not(:hover) {
    background-color: var(--fs-color-primary);
}