/*  */
.ux-swatch--label.disabled {
    background: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
    /* border: 1px solid #9cae88; */
}
.variations_form .ux-swatch.selected {
    background: #9cae88;
    color: #000;
}
.ux-swatches.ux-swatches-attribute-ux_label .ux-swatch--label {
    font-size: 16px;
    padding: 0 10px;
}
.product-info.summary .variations_form table.variations .label {
    padding-right: 30px;
}
.ux-swatch.tooltipstered[data-value="salon"] {
    pointer-events: auto !important;
}
.ux-swatch--label.tooltipstered.disabled {
    pointer-events: auto !important;
}

.custom-product-labels {
    position: absolute;
    z-index: 9;
}

.woocommerce-product-gallery__wrapper.product-gallery-slider img {
    /* max-height: 500px; */
    object-fit: contain;
}
.product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
    border-color: #AEAEAE !important;
}
.product-thumbnails img {
    opacity: 1 !important;
}
.product-gallery .product-images .badge-container {
    right: 0;
    left: unset;
    display: none;
}
.custom-product-labels {
    display: flex;
    gap: 10px;
    align-items: center;
}
.custom-product-labels .label {
    background: rgb(0 0 0 / 50%);
    color: #fff;
    padding: 2px 8px 3px 6px;
    border-radius: 0 6px 6px 0;
    text-transform: uppercase;
    font-size: 14px;
}
.home-custom-row .products.row {
    margin-top: 30px;
}
.row.homepage-slider .col-inner {
    padding: 0 !important;
}
.row.homepage-slider .product-small.col::before {
    border: none;
}
.page-numbers.nav-pagination .page-numbers {
    background-color: #9cae88;
    color: #000;
    line-height: 0;
    padding: 5px 11px;
    text-align: center;
    transition: all .3s;
    vertical-align: top;
}
.page-numbers.nav-pagination .page-numbers.current {
    font-weight: bold;
}
.row.agency-list-items .page-numbers.nav-pagination {
    display: none;
}
.row.agency-list-items .custom-post-listCourse .custom-post-item {
    margin-bottom: 30px;
}

div#shop-sidebar .widget .is-divider {
    display: none;
}
div#shop-sidebar .widget span.widget-title.shop-sidebar {
    text-transform: none;
    color: #000;
    margin-bottom: 10px;
    display: block;
}


/* Product detail */
.single-product div#tab-description {
    overflow: hidden;
    position: relative;
    padding-bottom: 25px;
}
.single-product .tab-panels div#tab-description.panel:not(.active) {
    height: 0 !important;
}
.hoangweb_readmore_flatsome {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #fff;
}
.hoangweb_readmore_flatsome:before {
    height: 55px;
    margin-top: -45px;
    content: -webkit-gradient(linear,0% 100%,0% 0%,from(#fff),color-stop(.2,#fff),to(rgba(255,255,255,0)));
    display: block;
}
.hoangweb_readmore_flatsome a {
    color: #318A00;
    display: block;
}
.hoangweb_readmore_flatsome a:after {
    content: '';
    width: 0;
    right: 0;
    border-top: 6px solid #318A00;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}
.hoangweb_readmore_flatsome_less a:after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #318A00;
}
.hoangweb_readmore_flatsome_less:before {
    display: none;
}
.header-filter-productCate {
    margin-bottom: 20px;
}
.header-filter-productCate .col-custom-filter {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 15px;
}
.header-filter-productCate .filter-label strong {
    color: #000;
}

.product-main {
    position: relative;
}

button.single_add_to_cart_button.button.alt {
    position: relative;
}
button.single_add_to_cart_button.button.alt::before {
    content: '\e908';
    position: absolute;
    top: 2px;
    left: 20px;
    font-family: 'fl-icons';
    font-size: 18px;
}

/* Product detail */
.price-wrapper.detail-product {
    position: relative;
}
.price-wrapper.detail-product .price {
    display: flex;
    /* flex-direction: row-reverse;
    justify-content: flex-end; */
    gap: 15px;
    background: #F6F6F6;
    padding: 6px 10px;
}
.price-wrapper.detail-product .woocommerce-Price-currencySymbol {
    vertical-align: unset !important;
}
.price-wrapper.detail-product .percent-sale {
    position: absolute;
    top: 3px;
    right: 10px;
    background: rgb(250 0 0);
    width: max-content;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 5px;
    border-radius: 3px;
}
.woocommerce-variation-add-to-cart.variations_button {
    position: relative;
}
.woocommerce-variation-discount-percent {
    /* position: absolute;
    top: -75px;
    right: 0;
    background: rgb(250 0 0);
    width: max-content;
    color: #fff;
    font-size: 14px;
    padding: 0 5px 2px;
    border-radius: 3px; */
}
.price-wrapper.detail-product .percent-sale span.percent {
    background: #FA0000;
    color: #fff;
    padding: 3px 6px 5px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
}
.price-wrapper.detail-product del {
    color: #AEAEAE;
    display: flex;
    align-items: flex-end;
}
.price-wrapper.detail-product del span.amount {
    margin-right: 0;
    opacity: 1;
    color: #AEAEAE;
    /* font-size: 15px; */
} 
.price-wrapper.detail-product ins span.amount {
    color: #fa0000;
}
.custom-btn-submit {
    display: flex;
}
.custom-btn-submit .single-contact a {
    padding: 3px 30px !important;
}
.custom-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.custom-product-meta .share {
    display: flex;
    align-items: center;
    gap: 10px;
}
.custom-product-meta .share strong {
    color: #000;
    font-size: 14px;
}
.custom-product-meta .share ul {
    margin: 0;
    padding: 0;
}
.custom-product-meta .share ul li {
    list-style: none;
    display: inline-block;
    margin: 0 0 0 5px;
}
.custom-product-meta .share ul li img {
    width: 25px;
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs {
    justify-content: space-around;
    /* border: 1px solid; */
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs li {
    width: 33.333334%;
    border: 1px solid;
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs li:last-child {
    /* border: none !important; */
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs li a {
    width: 100%;
    justify-content: center;
    border-radius: 0;
    text-transform: none;
    font-size: 18px;
    font-weight: 600;
    color: #000;   
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs li:hover {
    background-color: #9cae88;
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs li.active a {
    color: #fff;
}
.sticky-add-to-cart--active button.single_add_to_cart_button.button.alt::before {
    display: none;
}
.sticky-add-to-cart--active .single-contact.btn-custom {
    margin-left: 15px;
}
.sticky-add-to-cart--active .custom-btn-submit .button.alt {
    padding: 0 10px;
}
.product-footer.custom-detail-description .container {
    padding: 0;
    max-width: 1100px;
}
.product-footer.custom-detail-description .container .tab-panels {
    padding: 30px 100px;
}

.related.related-products-wrapper.product-section {
    border: none;
    margin: 30px 0;
}
.related.related-products-wrapper.product-section .product-section-title-related {
    text-align: center;
    color: #9CAE88;
    font-size: 24px;
    opacity: 1;
    font-weight: bold;
}
.product-viewer {
    border-top: 1px dashed #9CAE88;
}
.product-viewer .recently-viewed-products {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}
.product-viewer .recently-viewed-products .item {
    width: 30%;
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.product-viewer .recently-viewed-products .item .thumb {
    width: 35%;
}
.product-viewer .recently-viewed-products .item .thumb img {
    width: 100%;
    object-fit: contain;
}
.product-viewer .recently-viewed-products .item .content {
    width: 65%;
}
.product-viewer .recently-viewed-products .item .content h4 {
    font-size: 18px;
    line-height: normal;
    font-weight: 500;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;    
}
.product-viewer .recently-viewed-products .item .content .price {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    justify-content: start;
}
.product-viewer .recently-viewed-products .item .content .category-name {
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
    font-size: 14px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-viewer .recently-viewed-products .item .content .category-name .yith-add-to-wishlist-button-block {
    margin: 0;
}
.product-viewer .recently-viewed-products .item .content .category-name .yith-wcwl-add-to-wishlist-button {
    padding: 0;
    margin: 0;
}

.woocommerce-Tabs-panel .section .row .col {
    padding: 15px !important;
}
.woocommerce-Tabs-panel .row .col .col-inner {
    box-shadow: unset;
    background: no-repeat;
}
.woocommerce-Tabs-panel .row.delivery-policy-item {
    background: #ddd;
    padding: 25px 15px;
}
.woocommerce-Tabs-panel .row.delivery-policy-item .col {
    padding-bottom: 0;
}
.row.delivery-policy-item .img-inner img {
    width: 100%;
    height: 125px;
    object-fit: contain;
}
.row.delivery-policy-content .col {
    padding: 0;
}
.row.delivery-policy-content .text h2 span,
.row.delivery-policy-content .text h3 span,
.row.delivery-policy-content .text h4 span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.row.delivery-policy-content .text h2 img,
.row.delivery-policy-content .text h3 img,
.row.delivery-policy-content .text h4 img {
    margin: 0;
}
.row.delivery-policy-content .text p {
    margin-bottom: 5px;
}
.row.delivery-policy-content .text ul {
    margin-top: 0;
    margin-bottom: 0;
}
.woocommerce-Tabs-panel--description img {
    display: block;
    margin: 0 auto;
}

/* Custom tab review */
#custom-review-form {

}

#custom-review-form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

#custom-review-form input, #custom-review-form select, #custom-review-form textarea {
    width: 100%;
    /* padding: 10px; */
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#custom-review-form input[type="file"] {
    border: none;
    border-radius: 0;
}
input#review_images {
    border: none;
    border-radius: 0;
}
#custom-review-form button {
    margin-top: 15px;
    background: #9CAE88;
    color: white;
    padding: 5px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-transform: none;
    font-weight: 600;
    font-size: 16px;
}

#custom-reviews {
    margin-top: 30px;
}
.statistical .review-summary {
    margin-top: 30px;
}
.statistical .review-summary .title {
    border-bottom: 2px solid;
    color: #9CAE88;
    margin-bottom: 20px;
    width: fit-content;
}
.statistical .review-summary ul {
    max-height: 500px;
    overflow-y: auto;
}
.statistical .review-summary ul li {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}
.review-summary ul li .review-content {
    width: -webkit-fill-available;
}
.review-summary ul li .review-content .user-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-summary ul li .review-content .user-rating .user {
    font-size: 16px;
}
.review-summary ul li .review-content .user-rating .rating {
    color: gold;
    font-size: 20px;
    font-weight: 600;
    width: 20%;
    text-align: right;
}
.review-summary ul li .review-content .user-rv {
    background: #f7f8f9;
    padding: 15px;
    margin-top: 5px;
    position: relative;
}
.review-summary ul li .review-content .user-rv .review-actions {
    position: absolute;
    bottom: 10px;
    right: 15px;
}
.review-summary ul li .review-content .user-rv .review-title {
    color: #000;
    font-size: 16px;
}
.review-summary ul li .review-content .user-rv .review-images {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}
.review-summary ul li .review-content .user-rv .review-images img {
    width: 100px;
    height: 80px;
    object-fit: cover;
}
span.star {
    color: gold;
    font-size: 20px;
    font-weight: 600;
}
.product-review-summary span.total-rating {
    font-weight: bold;
    color: #000;
    font-size: 18px;
}
.product-review-summary span.total-reviews {
    margin-left: 20px;
    color: #000;
}
.average-review {
    display: flex;
    gap: 50px;
    align-items: baseline;
}
.average-review .product-review-summary {
    width: 40%;
}
.average-review .enable-form-review {
    width: 60%;
}
.average-review .enable-form-review .form-review a {
    text-decoration: underline;
    font-weight: 600;
}
/* Review summary */
.rating-review {
    margin-top: 15px;
}
.rating-review .star-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.rating-review .star-item span.bar {
    width: 80%;
    height: 15px;
    background: #ddd;
    margin: 0 10px;
    position: relative;
}
.rating-review .star-item span.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    background: #9CAE88;
}
.rating-review .star-item.star_5 span.bar::after {
    width: 100%;
}
.rating-review .star-item.star_4 span.bar::after {
    width: 80%;
}
.rating-review .star-item.star_3 span.bar::after {
    width: 60%;
}
.rating-review .star-item.star_2 span.bar::after {
    width: 40%;
}
.rating-review .star-item.star_1 span.bar::after {
    width: 20%;
}
.rating-review .star-item .star-number {
    margin-top: -5px;
}

.product-lightbox.lightbox-content .custom-btn-submit {
    display: ruby;
}

.product-lightbox.lightbox-content .custom-product-meta {
    display: block;
    margin-bottom: 5px;
}


/* Contact */
.content-area.page-wrapper .wpcf7-form a {
    text-decoration: underline;
    margin-right: 5px;
}
.content-area.page-wrapper .wpcf7-form .submit {
    margin-top: 15px;
}

.footer-wrapper .bg.section-bg {
    background-position: right !important;
}

/* Description Product category */

.my-account-header.page-title.normal-title,
.button.social-button.large.google-plus.circle {
    display: none !important;
}

.custom-detail-description .woocommerce-tabs .wc-tabs {
    position: sticky;
    top: 50px;
    z-index: 99;
    background-color: white;
    padding: 20px 0;
}
html {
    scroll-behavior: smooth;
}

.woocommerce-variation-price {
    position: relative;
}
span.variation-discount {
    position: absolute;
    top: -40px;
    right: 0;
    background: #FA0000;
    color: #fff;
    padding: 2px 6px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
}
span.price-live {
    font-size: 18px;
}


.woocommerce-variation-price .amount bdi {
    color: rgb(250 0 0);
    font-size: 22px;
}

.live-search-results.text-left.z-top {
    color: #000;
    font-size: 15px;
    background: #ddd;
}
.live-search-results .autocomplete-suggestion {
    font-size: 15px;
    color: #000;
    background: #ddd;
}
.live-search-results .search-name,
.live-search-results .search-price {
    font-size: 15px !important;
    background: #ddd;
}
.autocomplete-suggestion {
    font-size: 15px;
    color: #000;
    background: #ddd;
}


/* Custom price */
.custom-price-box.product-variation {
    position: relative;
    background: #F6F6F6;
}
.custom-price-box.product-variation .woocommerce-variation-discount-percent {
    position: absolute;
    top: 0;
    right: 10px;
    background: rgb(250 0 0);
    width: max-content;
    color: #fff;
    font-size: 14px;
    text-align: center;
    height: 25px;
    border-radius: 3px;
}
.custom-variation-price {
    padding: 5px 10px;
}
.custom-variation-price del {
    font-size: 20px;
}

.related.related-products-wrapper .flickity-enabled.is-draggable {
    position: relative;
}
.related.related-products-wrapper .flickity-button {
    background-color: unset !important;
    box-shadow: unset !important;
    height: fit-content !important;
    top: 50% !important;
    width: 38px !important;
}
.related.related-products-wrapper .flickity-button .flickity-button-icon {
    border: 1px solid #C7C7C7;
    padding: 10px !important;
    border-radius: 50%;
    color: #9CAE88;
    background: #F8F8F8;
    display: block;
    width: 40px;
    line-height: 38px;
    box-shadow: 0px 2px 5px #ccc;
}
.related.related-products-wrapper .slider-nav-reveal .flickity-prev-next-button.next {
    right: 3px !important;
}
.related.related-products-wrapper .slider-nav-reveal .flickity-prev-next-button.previous {
    left: 3px !important;
}
.ux-swatches.ux-swatches-attribute-ux_label {
    margin-top: 10px;
}


@media (min-width: 800px) {
    div#shop-sidebar .widget {
        margin-bottom: 40px;
    }

    .sticky-add-to-cart--active {
        background-color: #fff !important;
    }
    .sticky-add-to-cart__product .sticky-add-to-cart-img {
        width: 60px !important;
        height: 60px !important;
    }
    .sticky-add-to-cart__product .product-title-small {
        max-width: 300px !important;
    }

    /* Contact */
    .content-area.page-wrapper .wpcf7-form {
        max-width: 50%;
        margin: 0 auto;
    }

}

@media (max-width: 1024px) {
    .product-main nav.woocommerce-breadcrumb.breadcrumbs {
        margin: 20px 0;
    }
    .custom-btn-submit {
        gap: 15px;
    }
    .product-footer.custom-detail-description .container .tab-panels {
        padding: 20px;
    }
    .related.related-products-wrapper.product-section .product-section-title-related {
        font-size: 22px;
    }
    .viewer-product h3.title-head {
        font-size: 20px;
    }
    .row.slider-nav-reveal .product-small.box {
        padding: 0 15px;
    }
    .product-viewer .recently-viewed-products {
        display: block;
        padding: 0 15px;
    }
    .product-viewer .recently-viewed-products .item {
        width: 100%;
        border-bottom: 1px dashed;
        padding-bottom: 10px;
    }
    .rating-review .star-item span.bar {
        width: 70%;
    }
    .statistical .review-summary ul li {
        gap: 10px;
    }
    .review-summary ul li .review-content .user-rating .rating {
        width: -webkit-fill-available;
    }
    .custom-detail-description .woocommerce-tabs .wc-tabs {
        top: 50px;
    }

}

/* --- Responsive --- */
@media (max-width: 767px) {
    .row.home-custom-row .homepage-Product .woocommerce {
        margin-top: 20px;
        padding: 0 7.5px;
    }
    .box.skin-care-box .box-text {
        padding-left: 15px;
        display: block;
    }
    .section-home-skin-type {
        margin: 0;
    }
    .box.skin-care-box .box-text {
        padding: 30px 15px;
    }
    .box.skin-care-box .box-text-inner .text h3 {
        font-size: 20px;
        line-height: 16px;
    }
    .row.skin-care-box-right .box-image {
        padding: 0 5px;
    }
    .section.section-brand-story {
        padding: 0 15px;
    }
    .agency-box-homepage .text h2 strong {
        gap: 5px;
        margin-bottom: 15px;
    }
    .agency-box-homepage .text h2 img {
        width: 30px;
    }
    .section h2, .section h3 {
        font-size: 20px !important;
    }
    .row.agency-list-items .custom-post-listCourse .custom-post-item h2 {
        font-size: 18px !important;
    }
    .custom-post-listCourse .custom-post-item button.agency-sign {
        font-size: 16px;
    }

    /*  */
    .custom-btn-submit {
        gap: 5px;
        justify-content: center;
    }
    .product-info.summary button.single_add_to_cart_button, .product-info.summary a.button.buy_now {
        padding: 2px 10px 2px 35px;
        font-size: 15px;
    }
    button.single_add_to_cart_button.button.alt::before {
        left: 10px;
        font-size: 15px;
    }
    .custom-btn-submit .single-contact.btn-custom {
        margin-left: 20px;
    }
    .product-info .price {
        font-size: 20px !important;
    }
    .price-wrapper.detail-product .percent-sale {
        right: 5px;
    }
    .homepage-slider .product-small.col {
        padding: 0 7px 15px !important;
    }
    .homepage-slider span.woocommerce-Price-currencySymbol {
        font-size: 12px !important;
    }
    .product-main nav.woocommerce-breadcrumb.breadcrumbs {
        font-size: 13px;
        margin: 20px 0 !important;
    }
    .custom-product-meta {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    .custom-product-meta .sku {
        width: 50%;
    }
    .custom-product-meta .wishlist-detail-product {
        width: 50%;
    }
    .woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs li {
        border-right: 0;
        border-bottom: 1px solid;
        width: 100%;
    }
    .woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content .tabs li a {
        font-size: 16px;
        text-align: center;
    }
    .product-footer.custom-detail-description .container .tab-panels {
        padding: 20px 15px;
    }
    .slider-nav-reveal .flickity-prev-next-button.previous {
        left: 20px !important;
    }
    .slider-nav-reveal .flickity-prev-next-button.next {
        right: 20px !important;
    }
    .product-small.col .badge-container {
        top: 30%;
    }
    .row.slider-nav-reveal .product-small.box {
        padding: 0 15px;
    }
    .product-viewer .recently-viewed-products {
        display: block;
        padding: 0 15px;
    }
    .product-viewer .recently-viewed-products .item {
        width: 100%;
        border-bottom: 1px dashed;
        padding-bottom: 10px;
    }
    .woocommerce-Tabs-panel .section.tooltipstered {
        padding: 0 !important;
    }
    .woocommerce-Tabs-panel .row.delivery-policy-item {
        padding: 25px 15px 10px;
    }
    .row.delivery-policy-item .img-inner img {
        height: auto;
        object-fit: unset;
        margin-bottom: 15px;
    }
    .row.delivery-policy-content {
        padding: 0 15px;
    }
    .row.delivery-policy-content .text p {
        padding-left: 30px !important;
    }
    .row.delivery-policy-content .text ul {
        margin-left: 0;
    }

    .average-review {
        display: block;
    }
    .average-review .product-review-summary, .average-review .enable-form-review {
        width: 100%;
    }
    .rating-review .star-item span.bar {
        width: 80%;
    }
    .custom-detail-description .woocommerce-tabs .wc-tabs {
        top: 0px;
        position: relative;
    }

    .woocommerce-Tabs-panel .section {
        padding: 0 !important;
    }

    /*  */
    .custom-btn-submit.button-fix {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        margin: 0 auto;
        width: max-content;
        z-index: 99999;
        box-shadow: 0px -1px 5px #ddd;
        padding: 10px 20px 60px;
        background: #fff;
    }


}