/*
Theme Name: Le Phuc Child Theme
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 767px) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .custome-blog .box-vertical {
        display: table;
        width: 100%;
    }

    .custome-blog .box-vertical .box-image {
        direction: ltr;
        display: table-cell;
        vertical-align: middle;
        width: 25% !important;
    }

    .custome-blog .col.post-item {
        margin: 0 10px;
    }

    .blog-km .custome-blog .box-text {
        padding-left: 15px;
    }

    .pdb0-mb {
        padding-bottom: 0 !important;
    }

}

@media screen and (max-width: 849px) {
    .blog-km .custome-blog {
        gap: 15px;
    }

    a.quick-view.quick-view-added {
        display: none;
    }
}

@media (min-width: 600px) and (max-width: 849px) {
    .blog-km .custome-blog {
        padding: 20px !important;
    }

    .blog-km .custome-blog .box-vertical .box-image {
        width: 15% !important;
    }
}

/*************** DEFAULTS  ***************/
:root {
    /* Color */
    --primary-color: #E96429;
    --secondary-color: #262e39;
    --success-color: #28519f;
    --alert-color: #eb7f49;
    /* 
    Use With Value
    var(--primary-color); 
    var(--secondary-color); 
    var(--success-color); 
    var(--alert-color); 
    */
}

.absolute-footer {
    display: none;
}

.back-to-top {
    border-color: var(--secondary-color) !important;
    background-color: var(--primary-color) !important;
    color: white !important;
}

.bgr-fixed .bg {
    background-attachment: fixed;
}

.mr-b0 p,
.mr-b0 h2,
.mr-b0 h3,
.mr-b0 h4,
.mr-b0.button {
    margin-bottom: 0;
}

.mr-t0 p,
.mr-t0 h2,
.mr-t0 h3,
.mr-t0 h4 {
    margin-top: 0;
}

.mr0 p,
.mr0 h2,
.mr0 h3,
.mr0 h4,
.mr0.button {
    margin: 0;
}

.line-height-h2 h2 {
    line-height: 1.3em !important;
}

footer ul li {
    list-style-type: none;
    margin-left: 0 !important;
}

.border-im .img-inner {
    border-radius: 10px;
}


/*************** ALL SCREEN  ***************/
.dvcp .row:nth-child(2) .col-inner,
.custome-shadow>.col-inner:nth-child(1) {
    -webkit-box-shadow: 0 15px 35px 0 rgba(0, 88, 255, .15);
    -moz-box-shadow: 0 15px 35px 0 rgba(0, 88, 255, .15);
    box-shadow: 0 15px 35px 0 rgba(0, 88, 255, .15);
    /* border-radius: 15px; */
}

.border-im-white .img-inner {
    border: 3px solid white;
    border-radius: 7px;
}

.ul-flex ul {
    display: flex;
    gap: 0 10px;
    margin: 0;
    flex-wrap: wrap;
}

.animation-phone {
    border-radius: 100%;
    box-shadow: 0 0 0 0 #c31d1d;
    transition: all .5s;
    animation: zoom 1.3s infinite;
}

.dvcp .row:nth-child(2) .box-image {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.section-title b {
    background-color: var(--secondary-color);
    opacity: 1;
}

.col-pd-b-0,
.cols-pd-b-0.row .col {
    padding-bottom: 0 !important;
}

div#wrapper,
#main {
    /* background-color: #f3f5f7; */
}

.header.show-on-scroll .hide-for-sticky,
.stuck .hide-for-sticky {
    display: block;
}

/* .off-canvas-left.mfp-ready .mfp-content {
    background: var(--success-color);
} */

.pswp__bg,
.mfp-bg.mfp-ready {
    background-color: rgba(0, 0, 0, 0.78) !important;
}

.nav-dropdown-simple .nav-column li>a:hover,
.nav-dropdown.nav-dropdown-simple>li>a:hover {
    color: var(--primary-color)
}

/* Custome title */
.custome-title {
    border-bottom: 2px #e1dfdf solid;
    margin-bottom: 0.5em;
    position: relative;
}

.custome-title h3,
.custome-title h2 {
    display: table-cell;
    background-color: var(--primary-color);
    padding: 10px 25px;
    position: relative;

}

.custome-title p a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custome-title p {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-bottom: 0;
}

.big-sale>.col-inner {
    border: 3px var(--secondary-color) solid;
    border-radius: 7px;
    background-color: #fff;
    /* padding: 10px 15px; */
}

.big-sale>.col-inner h2,
.big-sale>.col-inner h3 {
    background: var(--secondary-color);
    padding: 7px 60px;
    margin-bottom: 0;
    position: relative;
}

.big-sale>.col-inner .row {
    padding: 20px 15px 30px 15px;
}

.big-sale>.col-inner h2::before,
.big-sale>.col-inner h3::before {
    display: block;
    content: '';
    background-image: url(/wp-content/uploads/2023/05/sale.png);
    background-size: cover;
    width: 50px;
    height: 50px;
    position: absolute;
    top: -15px;
    left: 0;
}

.badge-container {
    left: unset;
    right: 10px;
    margin-top: 15px;
}

.product-images .badge-container {
    left: 0;
}

.product-images .badge-container .badge.badge-square span.onsale {
    margin-top: -10px;
}

.badge-container .badge.badge-square span.onsale {
    font-size: 16px;
    line-height: 0.65em;
    display: flex;
    padding-left: 8px;
}

.badge-container .badge.badge-square {
    position: relative;
}

.badge-container .badge.badge-square .badge-inner,
.article-inner .badge.badge-square .badge-inner {
    background-color: transparent;
}

.badge-container .badge.badge-square .badge-inner::after,
.article-inner .post-date .badge-inner::after {
    display: block;
    content: '';
    background-image: url(/wp-content/uploads/2023/05/sale-prod.png);
    background-size: cover;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    z-index: -1;
}

.article-inner .post-date .badge-inner::after {
    background-image: url(/wp-content/uploads/2023/05/calendar-icon.png) !important;
    height: 60px !important;
}

.article-inner .post-date .badge-inner {
    color: var(--primary-color);
    padding-top: 21px;
}

.article-inner .post-date .badge-inner span {
    margin-left: 5px;
}

.name.product-title {
    font-weight: 600;
}

.button-center {
    display: table;
    margin: 0 auto;
}

.bgr-fff {
    background-color: #fff;
}

.box-blog-post .is-divider {
    display: none;
}

.custome-blog .col.post-item .col-inner {
    border-bottom: 1px #cccccc solid;
    padding-bottom: 10px;
    padding-top: 10px;
}

.custome-blog .col.post-item:first-child .col-inner {
    padding-top: 0;
}

.custome-blog .col.post-item:last-child .col-inner {
    border-bottom: none;
}

.blog-km .custome-blog {
    border: 3px var(--primary-color) solid;
    padding: 5px;
}

.blog-km h3 {
    background: var(--primary-color);
    margin-bottom: 0;
    padding: 4px 15px 4px 15px;
}

.blog-km .custome-blog .post-title {
    font-weight: normal;
}

.blog-km .custome-blog .col.post-item .col-inner {
    border: none;
    padding: 0;
}

.box-blog-post .box-text:hover .post-title {
    transition: all 0.3s cubic-bezier(0, 0, 0.77, 0.8);
    color: var(--primary-color);
}

a.quick-view.quick-view-added {
    background: unset;
    width: 40px;
    margin-left: 5px;
}

a.quick-view.quick-view-added svg {
    height: 40px;
}

a.quick-view.quick-view-added svg g {
    fill: var(--primary-color);
}

.product-small a.quick-view.quick-view-added .icon-inner:hover {
    background-color: var(--primary-color);
}

a.quick-view.quick-view-added .icon-inner:hover svg g {
    fill: #fff;
}

.product-small .image-tools.top.right.show-on-hover {
    right: unset;
    top: 32%;
}

.image-tools .cart-icon {
    left: unset;
    left: unset;
    border: 2px solid var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.image-tools .cart-icon strong {
    width: 1.8em;
    height: 1.8em;
    margin-top: 10px;
}

button.wishlist-button.button.is-outline.circle.icon {
    margin: 5px;
    min-width: 40px;
    min-height: 40px;
}

.image-tools .cart-icon:hover {
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0, 0, 0.77, 0.8);
}

.image-tools .cart-icon:hover strong {
    transition: all 0.3s cubic-bezier(0, 0, 0.77, 0.8);
    background-color: #fff;
    color: var(--primary-color);
}

.cart-icon:hover strong:after {
    border-color: #fff;
}

.wishlist-icon .wishlist-popup {
    position: absolute;
    right: -100px;
    transform: translate3d(5px, -70px, 0);
}

.image-tools .wishlist-button {
    /* background: var(--primary-color);
    border-color: var(--primary-color); */
}

.wishlist-button.is-outline {
    color: var(--primary-color);
}

.wishlist-button.is-outline:hover {
    color: #fff;
}

.flex-right .is-small,
.is-small.button .flex-right {
    color: #fff
}

.flex-right .button.icon.is-small {
    border-color: #fff;
}

.flex-right .button.icon.is-small:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* .header-search-form-wrapper .icon-search{
    color: #000000;
} */
.header-search-form-wrapper #woocommerce-product-search-field-0 {
    background-color: #fff !important;
    color: var(--primary-color) !important;

}

.header-search-form-wrapper #woocommerce-product-search-field-0::placeholder,
.header-search-form-wrapper #woocommerce-product-search-field-0 :-ms-input-placeholder,
.header-search-form-wrapper #woocommerce-product-search-field-0 ::-ms-input-placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000000 !important;
}

.header-search-form-wrapper #woocommerce-product-search-field-0::placeholder,
.header-search-form-wrapper .icon-search {
    color: var(--primary-color);
}

.nav li.has-icon-left>a:hover>svg g {
    fill: var(--primary-color) !important;
}

a.quick-view.quick-view-added .has-icon-bg::before {
    content: attr(aria-label);
    position: absolute;
    display: none;
    background-color: black;
    color: #fff;
    padding: 2px 10px;
    border-radius: 5px;
    top: -25px;
    text-transform: capitalize;
    font-weight: normal;
}

a.quick-view.quick-view-added .has-icon-bg:hover::before {
    display: block;
}

.nav>li>a,
.links>li>a {
    text-transform: uppercase !important;
    font-weight: bold !important;
}

.row-dich-vu .col-inner:hover h4 a span {
    color: var(--secondary-color) !important;
}

.row-dich-vu .col-inner:hover h4 a {
    display: block;
}

.nav li.has-icon-left>a>svg {
    width: 25px;
    height: 25px;
}

.image-tools.grid-tools.text-center.hide-for-small.bottom.hover-slide-in.show-on-hover {
    width: 50px;
}