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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --font-icon: 'Font Awesome 6 Pro';
}
/* header */
#top-bar ul>li {
    font-size: 14px;
}
.header-main .flex-left.hide-for-medium .nav {
    justify-content: center;
}
.header-main .flex-right.hide-for-medium {
    flex: unset;
    flex-wrap: nowrap;
}
.header-main .flex-right.hide-for-medium .header-nav-main {
    flex-wrap: nowrap;
}
.header-block {
    display: inline-block;
    width: fit-content;
}
.nav-dark .header-hotline a {
    color: #fff;
}
.header-hotline {
    align-items: center;
}
.header-hotline .icon svg {
    line-height: inherit;
}

.icon-search:before {
    content: "\f002";
    font-weight: 400;
    font-family: var(--font-icon);
}
.icon-user:before {
    content: "\f007";
    font-weight: 400;
    font-family: var(--font-icon);
}
.icon-shopping-bag:before {
    content: "\f290";
    font-weight: 400;
    font-family: var(--font-icon);
}

/* end header */

/* home page */
.slider-nav-dots-dashes .flickity-page-dots .dot {
    width: 22px;
    height: 4px;
    border-radius: 2px;
    margin: 0 2px;
    border: none;
    background-color: #fff;
}
.slider-nav-dots-dashes .flickity-page-dots .dot.is-selected {
    background-color: var(--primary-color);
}
.home-product-tabs .nav>li {
    margin: 0 20px;
}
.last-reset p:last-of-type {
    margin-bottom: unset;
}

/* end home page */

/* widget style  */
.widget_product_categories ul li>a::before {
    content: "\f0c8";
    font-family: "Font Awesome 6 Pro";
    display: inline-block;
    margin-right: 5px;
}
.widget_product_categories ul li.current-cat>a::before {
    content: "\f14a";
}
.widget_mbws_brand_filter ul li>a {
    width: 100%;
}
.widget_mbws_brand_filter ul li.active>a {
    font-weight: bold;
}
.widget_mbws_brand_filter .count {
    float: right;
}

/* Custom all */
input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
textarea,
select,
.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection {
    border: 1px solid #127e80;
}

.wishlist-button {
    color: #127e80;
    border: 1px solid #127e80;
}

.image-tools.is-small {
    position: absolute;
    left: 20%;
    bottom: 0;
    top: 83%;
}

.form-flat input:not([type="submit"]),
.form-flat textarea,
.form-flat select {
    border-radius: 5px;
}

.is-divider {
    background-color: #0e7e80;
}

.prdctfltr_wc.prdctfltr_checkbox .prdctfltr_filter label.prdctfltr_active>span:after {
    left: -2px;
    color: #0e7e80;
    font-size: 20px;
    font-weight: 800;
}

.prdctfltr_count {
    height: 15px;
    line-height: 12px;
    font-size: 10px;
    min-width: 19px;
}

.prdctfltr_filter label {
    font-weight: 400;
}

.prdctfltr-widget .prdctfltr_terms_customized_select .prdctfltr_add_scroll,
.prdctfltr-widget .pf_default_select .prdctfltr_add_scroll {
    display: block !important;
}

.prdctfltr_buttons {
    display: none;
}

.prdctfltr_ft_none,
.prdctfltr_ft_none {
    display: none;
}

.header-bottom-nav.nav-line-bottom>li>a:before,
.header-bottom-nav.nav-line-grow>li>a:before,
.header-bottom-nav.nav-line>li>a:before,
.header-bottom-nav.nav-box>li>a:hover,
.header-bottom-nav.nav-box>li.active>a,
.header-bottom-nav.nav-pills>li>a:hover,
.header-bottom-nav.nav-pills>li.active>a {
    background-color: #0e7e80;
}

.woocommerce th,
.woocommerce td {
    border-bottom: 1px solid #127e80;
}

a.remove,
a.icon-remove {
    color: #127e80;
}

.section-title-normal {
    border-bottom: 1px solid #ececec;
}

.section-title-normal span {
    border-bottom: 1px solid #0e7e80;
    margin-bottom: 1px;
}

.slider-brand img {
    background: #ffffff;
    border: 16px solid #ececee;
}

.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
    padding-left: 10px;
    padding-right: 20px;
    margin: 0 10px;
    border-bottom: 1px solid #ffffff;
    color: #424242;
}

.slider-nav-reveal .flickity-prev-next-button:hover,
.slider-nav-reveal .flickity-prev-next-button {
    background-color: transparent;
}

.chili-tile-center .section-title a {
    position: absolute;
    right: 0;
    font-weight: 300;
    font-size: 16px;
    color: #737373;
}

.chili-tile-center .section-title b {
    color: transparent;
}

.chili-tile-center .section-title {
    padding-bottom: 5px;
    border-bottom: 1px solid #b5b5b5;
}

.chili-tile-center .section-title-main {
    position: relative;
}

.chili-tile-center .section-title-main:before {
    content: "";
    width: 100%;
    border-bottom: 3px solid #127e80;
    position: absolute;
    bottom: -7px;
}

.icon-box-left .icon-box-text {
    vertical-align: middle;
    margin: auto;
}

/* custom header */
.nav-dropdown-default {
    padding: 10px;
}

.wide-nav .flex-row {
    position: relative;
}

.nav-dropdown.nav-dropdown-default>li>a:hover {
    color: #127e80;
}

.nav-line-bottom>li:hover>a:before,
.nav-line-grow>li:hover>a:before,
.nav-line-bottom>li.active>a:before,
.nav-line-grow>li.active>a:before,
.nav-line>li.active>a:before,
.nav-line>li:hover>a:before {
    z-index: 2;
}

.sub-menu-cs .nav-dropdown-default {
    padding: 10px;
}

.sub-menu-cs .nav-dropdown.nav-dropdown-default>li>a {
    padding-right: 10px;
    margin: 0 0px;
}

.sub-menu-cs .nav-dropdown>li>a {
    padding: 7px 10px;
}

.header-language-dropdown .nav-dropdown.nav-dropdown-default {
    min-width: 120px;
    padding: 0;
}

.nav-dropdown-has-border .nav-dropdown {
    border: 1px solid #127e80;
}

.header-language-dropdown .nav-dropdown.nav-dropdown-default a {
    padding: 5px 0;
}

.has-dropdown>.sub-menu.nav-dropdown .menu-item.submenu-chil>a {
    border-bottom: 1px solid #127e80 !important;
}

.phone-header {
    font-size: 1.2em;
    font-weight: 800;
}

.phone-header i {
    color: #ffffff;
    background: #0e7e80;
    padding: 7px;
    border-radius: 20px;
}

#cart-popup span.amount {
    color: #cb0000;
}

#cart-popup ul.product_list_widget li .quantity {
    opacity: 1;
}

/* custom archive product */
.badge-container {
    margin: 0;
}
.mbws-single-info-product {
    margin-bottom: 15px;
}
.mbws-single-info-product p {
    margin-bottom: 0;
    font-size: 0.9em;
}
.product-small .box-text {
    padding: 15px;
}
.product-small .box-text .product-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.product-small .box-text .product-title>a {
    font-weight: 400;
}
.cart-popup-inner.inner-padding {
    padding: 10px;
}

.product-small .box-text .price {
    font-size: 1rem;
}

.mbws-single-info-product .col {
    padding: 0;
    border-right: 1px solid rgb(216 215 215);
    vertical-align: middle;
    margin: auto;
}

.mbws-single-info-product .col:last-child {
    border-right: none;
}

.mbws-single-info-product .col h5 {
    margin-bottom: 0;
}

.mbws-single-info-product {
    margin-top: 20px;
    vertical-align: middle;
}

.single-brand .col {
    padding-bottom: 0;
    text-align: center;
    border-left: 2px solid #e7e7e7;
}

.single-brand .col h4 {
    margin-bottom: 0 !important
}

.single-brand {
    border-top: 2px solid #e7e7e7;
    border-bottom: 2px solid #e7e7e7;
    margin-bottom: 20px;
}

.product-small.box {
    border: 1px solid #dedede;
}

.product-small.box .woocommerce-loop-product__title {
    font-weight: 600;
}


/* custom single product */
.single-phone .wpcf7-not-valid-tip {
    margin-top: 0;
    position: absolute;
    opacity: 1;
    top: 50px;
}

.product-info .social-icons:before {
    content: "Share: ";
    color: #000;
}

.product-info form.cart {
    margin-bottom: 0;
}

.product-info .quantity,
.single-product .woocommerce-product-gallery .on-sale {
    display: none !important;
}

.price-regular-all-item {
    font-size: 1.3em;
    font-weight: 600;
}

.price-sale-all,
.price-regular-all {
    background: #f3f3f3;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px !important;
    border-radius: 10px;
    position: relative;
}

.title-regular-item {
    margin-bottom: 5px;
    color: #525252;
    font-size: 0.9em;
}

.price-regular-item {
    text-decoration: line-through;
}

.price-regular-item,
.price-sale-item {
    font-size: 1.3em;
    font-weight: 600;
}

.price-sale {
    text-align: right;
}

.price-sale-item {
    color: #ea0505;
}

.badge_style_sale {
    position: absolute;
    height: 100%;
    width: fit-content !important;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ffec08;
    text-align: center;
    padding: 15px;
}

.title-sale-badge {
    font-size: 21px;
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

.single-sale-badge {
    font-size: 21px;
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.badge_style_sale:before {
    content: "";
    width: 0;
    position: absolute;
    height: 0;
    right: 0;
    bottom: 0;
    border-bottom: 20px solid #f3f3f3;
    border-left: 39px solid transparent;
}

.badge_style_sale:after {
    content: "";
    width: 0;
    position: absolute;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom: 20px solid #f3f3f3;
    border-right: 39px solid transparent;
}

.product-info .is-divider {
    display: none;
}

.post-sale img {
    width: 100px;
}

ul.post-sale {
    list-style: none;
}

.post-sale li {
    margin-left: 0;
}

.infor-sale-post {
    border: 1px dotted #cacaca;
    border-radius: 10px;
    margin: 40px 0 20px;
}

.infor-sale-post h4 {
    background: #ea0506;
    width: fit-content;
    padding: 5px 10px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-left: 10px;
    font-weight: 200;
    font-size: 0.9em;
    margin-top: -20px;
    color: #fff;
}

.product-short-description {
    margin: 10px 0 0;
}

.single_add_to_cart_button {
    width: 100%;
    background: #0288fb !important;
}

.post-salem span {
    color: #0388fb;
    margin-left: 10px;
}

.single_add_to_cart_button:after {
    content: "Giao hàng miễn phí - Thanh toán tại nhà";
    margin-top: -16px;
    display: block;
    font-size: 1em;
    font-weight: 400;
    text-transform: initial;
}
.wpcf7-form {
    margin-bottom: unset;
}
.form-single-pro .wpcf7-form-control-wrap {
    width: 75%;
    display: inline-block;
}

.form-single-pro .wpcf7-form-control-wrap input {
    margin-bottom: 10px;
}

.form-single-pro .wpcf7-submit {
    margin: 0 0 10px;
}
.wpcf7-spinner {
    display: none;
}
.woocommerce-tabs .tabs li {
    width: 32%;
    text-align: center;
    border-bottom: 2px solid #d8d7d7
}

.woocommerce-tabs .tabs li a {
    font-size: 1.1em;
}

.product-footer .woocommerce-tabs>.nav-line-grow,
.product-footer .woocommerce-tabs>.nav-line:not(.nav-vertical) {
    margin-top: unset;
    margin-bottom: 32px;
}

.nav-line-bottom>li>a:before,
.nav-line-grow>li>a:before,
.nav-line>li>a:before {
    bottom: -2px;
    top: unset;
}

.product-footer .woocommerce-tabs {
    padding: 0px;
    border-top: none;
}

.form-single-pro input {
    border: 1px solid #0a0a0a;
}

.form-single-pro input.wpcf7-submit {
    background: #000 !important;
    width: 23%;
}

.social-icons i {
    color: #000 !important;
}

.product-small .box-image:hover::before,
.post-item .box-image:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s
}

@-webkit-keyframes shine {
    100% {
        left: 125%
    }
}

@keyframes shine {
    100% {
        left: 125%
    }
}

.product-small .box-image::before,
.post-item .box-image::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg)
}

/* custom page check out */
.woocommerce-order-received .woocommerce-order-details td {
    padding-top: 1em;
    padding-bottom: 1em;
}

.message-container {
    color: #e90202;
}

/* custom footer */
.footer-secondary {
    padding: 0;
}

#footer .section-title-main {
    color: #0e7e80;
}

#footer .footer-sp ul li i {
    margin-left: -23px;
}

#footer .footer-sp ul {
    list-style: none;
}

.dark .payment-icons .payment-icon svg {
    fill: #ebebeb;
}

/* custom page */
.form-lien-he .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.form-lien-he .wpcf7-form-control-wrap {
    display: block;
    margin: 0 10px;
}

.form-lien-he label,
.form-lien-he .wpcf7-submit {
    margin: 0 10px;
    font-weight: 400;
    display: block;
}

.page-custom .entry-title {
    font-size: 1.5em;
    border-bottom: 1px solid #ececec;
    color: #0e7e80;
    margin-bottom: 5px !important;
    padding-bottom: 5px !important;
}

.page-custom .container>.row {
    margin-left: 0;
    margin-right: 0;
}

.page-custom .woocommerce-breadcrumb.breadcrumbs {
    line-height: 1.2;
    font-size: 13px;
    text-transform: unset;
}

.page-custom .entry-header {
    margin-bottom: 40px;
}

.hethong-cuahang {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hethong-cuahang .box-text {
    padding: 10px 20px;
    background: #f8f8f8;
}

.hethong-cuahang .box-text ul {
    list-style: none;
}

.hethong-cuahang .box-text ul li {
    margin-left: 0;
}


#footer .col {
    padding-bottom: 0px !important;
}

.social-icons span {
    color: #0a0a0a;
    font-weight: 400;
}

#comments {
    display: none;
}

.tab-hch .box-text-inner h4 {
    margin-bottom: 10px;
}

.tab-hch .col {
    padding-bottom: 0px;
}

/* Responsive tablet and mobile */

@media(max-width:768px) {
    .product-main {
        padding: 0px 0;
    }

    .chili-tile-center .section-title a {
        font-size: 13px;
        bottom: -20px;
    }

}

/* Responsive mobile */
@media(max-width:540px) {
    .product-small .price-wrapper .price ins {
        display: block;
        margin-top: 8px;
    }

    .shop_table.cart .product-quantity {
        width: 100px;
    }

    .row .col:last-child {
        padding-bottom: 0;
    }

    .product-info .product_title {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .product-info {
        padding-top: 30px;
    }

    .shop-page-title .page-title-inner {
        padding-top: 0;
    }

    .category-page-row {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .woocommerce-tabs .tabs li a {
        font-size: 0.7em;
    }

    .image-tools.is-small {
        display: none;
    }

    .price-regular-item,
    .price-sale-item {
        font-size: 1.1em;
        font-weight: 600;
    }

    #footer .section-title-main {
        font-size: 16px;
    }

    .product-info .single_add_to_cart_button {
        padding: 10px;
    }
}