.main-product-box{
    position: relative;
    padding: 8px;
    background: var(--white-color);
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .3s ease-in-out;
}

.main-product-box .product-cat{
    background: var(--black-color-10);
    color: var(--black-color);
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    position: absolute;
    top: 16px;
    right: 16px;
}
.main-product-box .product-img img{
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    object-position: top;
    text-align: center;
    display: block;
    border-radius: 16px;
    margin: 0 auto 19px;
    mix-blend-mode: multiply;
    filter: grayscale(1);
    transition: all .3s ease-in-out;
}
.main-product-box:hover .product-img img{
    filter: grayscale(0);
}
.main-product-box .product-name{
    margin-bottom: 0;
}
.main-product-box .product-name a{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    margin-bottom: 4px;
    padding: 0 10px;
}
.main-product-box .product-name .fa{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--black-color);
}
.main-product-box .product-name .en{
    font-family: satoshi;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--black-color-70);
    direction: ltr;
    text-align: right;
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*display: block;*/
}
.main-product-box .info{
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.main-product-box .info .price{
    width: max-content;
    max-width: calc(100% - 155px);
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
}

.main-product-box .info .btn{
    width: max-content;
    font-size: 16px;
    min-width: 155px;
    height: 48px;
    /*letter-spacing: -4px;*/
}
.main-product-box .off-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 40px;
    border-radius: 8px;
    background: var(--main-color);
    color: var(--white-color);
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 9;
}
.main-product-box .off-box b,
.main-product-box .off-box span{
    font-size: 14px;
    font-weight: bold;
    line-height: 14px;
    color: var(--white-color);
}



/****************************************************************************/ /* category */

 ul.products{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
     padding: 0;
}
 ul.products li.product{
    margin: 0;
    padding: 12px;
    float: unset;
}
 .order-box{
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
 }

.order-box .woocommerce-sort-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-box .woocommerce-sort-buttons svg {
    width: 24px;
}

.order-box .woocommerce-sort-buttons span {
    font-size: 16px;
    font-weight: 400;
    color: var(--black-color-60);
    line-height: 24px;
}

.order-box .order-items {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 48px;
}

.order-box .order-items a {
    font-size: 16px;
    font-weight: 300;
    color: var(--black-color-60);
    line-height: 24px;
}

.order-box .order-items a.active {
    font-weight: 400;
    color: var(--black-color);
}

.order-box .woocommerce-result-count span:first-child {
    font-size: 16px;
    font-weight: 300;
    color: var(--sec-color-80);
    line-height: 24px;
}

.order-box .woocommerce-result-count span:last-child {
    font-size: 16px;
    font-weight: 300;
    color: var(--black-color-60);
    line-height: 24px;
}


.products-by-cat-item{
    padding: 16px;
    background: var(--white-color);
    border-radius: 24px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.products-by-cat-item .product-items{
    display: flex;
    flex-wrap: wrap;
    position: relative;

}
.products-by-cat-item .product-items .product-item{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.products-by-cat-item .product-items:has(.product-item:nth-child(3)):before{
    content:"";
    width: 1px;
    height: 100%;
    background: var(--black-color-10);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.products-by-cat-item .product-items:has(.product-item:nth-child(3)):after{
    content:"";
    height: 1px;
    width: 100%;
    background: var(--black-color-10);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.products-by-cat-item .product-items .product-item img{
    width: auto;
    height: 100px;
    object-fit: contain;

}
.products-by-cat-item .text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0 8px;
    position: relative;
}
.products-by-cat-item .text:before{
    content: "";
    border: 12px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s
    ease-in-out;
}
.products-by-cat-item .text:after{
    content: "";
    border: 12px solid var(--black-color-10);
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s
    ease-in-out;
}

.products-by-cat-item .text .title{
    font-size: 16px;
    line-height: 28px;
    font-weight: bold;
    display: block;
    color: var(--black-color);
}
.products-by-cat-item .text .btn{
    font-size: 14px;
    line-height: 21px;
    font-weight: 300;
    padding: 0;
    margin: 0;
    height: auto;
    gap: 8px;
    text-decoration: none;
    color: var(--sec-color);
}

.beauty-cats{
    margin-bottom: 56px;
    position: relative;
}
.beauty-cats:before {
    content: "";
    width: 93px;
    height: calc(100% - 48px);
    background: var(--black-color-5);
    border-radius: 24px;
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    z-index: -1;
}
.beauty-cats:has(.row .col-12:nth-child(4)):after {
    content: "";
    width: 93px;
    height: calc(100% - 48px);
    background: var(--black-color-5);
    border-radius: 24px;
    position: absolute;
    top: 50%;
    left: -16px;
    transform: translateY(-50%);
    z-index: -1;
}
.beauty-cats .col-12{
    padding-top: 12px;
    padding-bottom: 12px;
}
.beauty-cats .col-12:nth-child(2n+1) .products-by-cat-item:after{
    content:"";
    width: 100px;
    height: 32px;
    border-radius: 15px;
    background: var(--main-color);
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    z-index: -1;
}
.beauty-cats .col-12:nth-child(2n) .products-by-cat-item .text .btn{
    color: var(--sec-color);
}
.beauty-cats .col-12:nth-child(2n) .products-by-cat-item:after{
    content:"";
    width: 100px;
    height: 32px;
    border-radius: 15px;
    background: var(--sec-color);
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    z-index: -1;
}

.woocommerce-pagination {
    text-align: center;
    display: flex;
    justify-content: center;
}

.woocommerce-pagination ul {
    margin-top: 56px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.woocommerce-pagination li .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    border-radius: 12px;
    background: var(--white-color);
    color: var(--black-color-400);
    transition: all .3s ease-in-out;
    position: relative;
    z-index: 2;
}

.woocommerce-pagination li .page-numbers.next {
    background: var(--main-color-400);
    color: var(--white-color);
    margin-top: -34px;
    margin-right: -24px;
    z-index: 1;

}

.woocommerce-pagination li .page-numbers.prev {
    background: var(--main-color-400);
    color: var(--white-color);
    margin-top: -34px;
    margin-left: -24px;
    z-index: 1;
}

.woocommerce-pagination li .page-numbers:hover,
.woocommerce-pagination li .page-numbers.current {
    color: var(--black-color);
}

.woocommerce-pagination li .page-numbers.next:hover,
.woocommerce-pagination li .page-numbers.prev:hover {
    background: var(--main-color);
    color: var(--white-color);
}

/****************************************************************************/ /* filters in sidebar */
.shop-row .col-12.sidebar{
    padding-left: 24px;
}
.filter-box{
    background: var(--white-color);
    border-radius: 16px;
    padding: 8px 16px 16px;
    margin-bottom: 16px;
}
.filter-box .ws-widget-title-box{
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 24px;
}
.filter-box .ws-widget-title-box svg{
    width: 21px;
}
.filter-box .ws-widget-title-box .ws-title-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.filter-box .ws-widget-title-box .ws-title-box .title{
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--black-color);
}
.filter-box .ws-widget-title-box .ws-title-box .subtitle{
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: var(--black-color);
}
.filter-box .active-filter-count{
    background: var(--sec-color-10);
    color: var(--sec-color);
    border-radius: 8px;
    height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
    padding: 0 8px;
    margin-right: auto;
}
.widget-box{
    margin-bottom: 16px;
}
.widget-box-inner.accordion-item{
    background: var(--white-color);
    padding: 8px 16px;
    border: 1px solid var(--black-color-10);
    border-radius: 12px;
    --bs-accordion-btn-color: var(--black-color);
    --bs-accordion-active-color: var(--main-color);
    --bs-accordion-btn-bg: var(--white-color);
    --bs-accordion-active-bg: var(--white-color);
    --bs-accordion-btn-icon-width: 12px;
    --bs-accordion-btn-focus-box-shadow: none;
}
.widget-box-inner:has(.accordion-collapse.show){
    border-color: var(--main-color)
}
.widget-box-head .accordion-button{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding: 0;
    box-shadow: none;
    position: relative;
}
.widget-box-head .accordion-button:before{
    content: "";
    border: 5px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}
.widget-box-head .accordion-button::after{
    position: absolute;
    top: 11px;
    left: 0;
}

.widget-box-head .accordion-button:not(.collapsed)::after{
    background: var(--main-color);
    mask-image: var(--bs-accordion-btn-active-icon);
}

.widget-box-head .widget-box-title-warp{
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-box-head .widget-box-title-warp svg{
    width: 20px;
}
.beauty-instock-filter .form-check-label svg path,
.widget-box-head .accordion-button.collapsed .widget-box-title-warp svg path{
    fill: var(--main-color);
}
.widget-box-title{
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    padding-right: 8px;
    position: relative;
    color: var(--main-color);
}
.widget-box-head .accordion-button.collapsed .widget-box-title{
    color: var(--black-color);
}
.widget-box-title:before{
    content: "";
    width: 1px;
    height: 24px;
    background: var(--black-color-10);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.widget-box-tags{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.widget-box-tags a{
    background: var(--sec-color-10);
    color: var(--sec-color);
    border-radius: 8px;
    height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
    padding: 0 8px;
}
.widget-box-body.accordion-body{
    padding: 8px 0 0;
}
.widget-box .search-box-wrap{
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--sec-color-10);
    padding: 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.widget-box .search-box-wrap .widget-search{
    background: var(--white-color);
    border: 0;
    outline: none;
    width: calc(100% - 49px);
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
    padding: 0 4px;
    height: 28px;
}
.widget-box .search-box-wrap .widget-search::placeholder{
    color: var(--black-color-50);
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
}
.widget-box .search-box-wrap .widget-search-btn{
    width: 49px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sec-color-10);
    border-radius: 6px;
}
.widget-box .search-box-wrap .widget-search-btn i{
    height: 16px;
    font-size: 16px;
    color: var(--sec-color);
}
.widget-box-list{
    padding: 0;
    margin: 0;
    max-height: 304px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--black-color-50) var(--black-color-10);
}
.widget-box-list::-webkit-scrollbar {
    width: 4px
}
.widget-box-list::-webkit-scrollbar-track{
    background: var(--black-color-10);
    border-radius: 4px;
}
.widget-box-list::-webkit-scrollbar-thumb {
    background-color: var(--black-color-50);
    border-radius: 4px;
}

.widget-box-list li{
    height: 44px;
    width: 100%;
    padding: 8px 15px;
    position: relative;
    border-radius: 10px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
    linear-gradient(270deg, var(--black-color-10) 0%, transparent 100%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    margin-bottom: 8px;
}
.widget-box-list li:before{
    content: "";
    border: 5px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}


.widget-box-list .form-check{
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.widget-box-list .form-check-input{
    border: 2px solid var(--black-color-10);
}
.widget-box-list .form-check-input[type=checkbox] {
    border-radius: 5px 5px 5px 0;
}
.widget-box-list .form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--black-color-10);
}

.widget-box-list .form-check label{
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-box-list .form-check .name{
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: var(--black-color);
}
.widget-box-list .form-check .count{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 2px 4px;
    background: var(--black-color-10);
    border-radius: 4px;
    color: var(--black-color-70);
    font-size: 14px;
    line-height: 16px;
    font-weight: 300;
}

.beauty-instock-filter{
    background: var(--white-color);
    padding: 8px 16px;
    border: 1px solid var(--black-color-10);
    border-radius: 12px;
}
.beauty-instock-filter .form-switch.form-check{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    position: relative;
}
.beauty-instock-filter .form-switch.form-check:before{
    content: "";
    border: 5px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}
.beauty-instock-filter .form-switch.form-check .form-check-label{
    display: flex;
    align-items: center;
    gap: 8px;
}
.beauty-instock-filter .form-switch.form-check .form-check-label span{
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    padding-right: 8px;
}
.beauty-instock-filter .form-switch.form-check .form-check-label span:before{
    content: "";
    width: 1px;
    height: 24px;
    background: var(--black-color-10);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.beauty-instock-filter .form-switch.form-check .form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}








.beauty-range {
    position: relative;
    min-height: 42px;
}
.beauty-apply-price.btn{
    border-radius: 12px;
    margin-bottom: 8px;
}
.beauty-range input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 20px;
    height: 20px;
    background-color: var(--main-color);
    border-radius: 50%;
    border: 4px solid var(--main-color-200);
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.beauty-range input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 20px;
    height: 20px;
    background-color: var(--main-color);
    border-radius: 50%;
    border: 4px solid var(--main-color-200);
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.beauty-range input[type=range]::-webkit-slider-thumb:active,
.beauty-range input[type=range]::-webkit-slider-thumb:hover {
    border: 4px solid var(--white-color);
    box-shadow: 0 0 0 4px var(--main-color-200);
    -webkit-box-shadow: 0 0 0 4px var(--main-color-200);
}



.beauty-range input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    width: 100%;
    position: absolute;
    background-color: var(--main-color-200);
    pointer-events: none;
}

.beauty-range  #fromSlider {
    height: 0;
    z-index: 1;
}

.beauty-price-filter .widget-box-tags{
    width: 100%;
}
.beauty-price-filter .widget-box-tags a{
    width: 100%;
    height: 36px;
    justify-content: space-between;
    gap: 4px;
}
.beauty-price-filter .widget-box-tags a .beauty-price-tag{
    display: flex;
    align-items: center;
    gap: 4px;
}
.beauty-price-filter .widget-box-tags a span{
    background-color: var(--white-color);
    height: 28px;
    border-radius: 8px;
    padding: 0 5px;
    display: block;
    line-height: 28px;
    font-size: 12px;
}
.beauty-price-inputs{
    margin-bottom: 20px;
}
.beauty-price-inputs div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.beauty-price-inputs div span{
    color: var(--black-color-400);
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
}
.beauty-price-inputs input{
    width: calc(100% - 58px);
    height: 34px;
    padding: 4px;
    text-align: center;
    color: var(--main-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
    linear-gradient(270deg, var(--black-color-10) 0%, transparent 100%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 0;
    outline: none;
    border-radius: 8px;
}
.custom-tooltip {
    font-family: BeautyShopFont !important;
    width: max-content;
    height: 28px;
    border-radius: 8px;
    background: var(--main-color);
    color: var(--white-color);
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    padding: 0 8px;
    position: absolute;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
}
.custom-tooltip:before{
    content: "";
    border: 6px solid var(--main-color);
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    position: absolute;
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
}
.custom-tooltip.tooltipfrom{
    right: 0;
}
.custom-tooltip.tooltipto{
    left: 0;
}
.custom-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
}

.filter-box .ws-widget-title-box .btn.navbar-toggler{
    display: none;
    border: 1px solid var(--sec-color-10);
    border-radius: 12px !important;
    width: max-content;
    min-width: auto;
}

.filter-box .offcanvas .shop-sidebar{
    padding: 16px;
}
.filter-box .offcanvas{
    max-width: 90%;
}




/****************************************************************************/ /* Archive as Landing */
.slider{
    position: relative;
    margin-bottom: 32px;
}
.slider .swiper-pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    bottom: 18px;
}
.slider .swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    border-radius: 6px 0 6px 0;
    background: var(--white-color);
    transform: rotate(45deg);
}
.slider .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: var(--white-color);
}
.slide-box{
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
}
.slide-box a{
    width: 100%;
    display: block;
}
.slide-box a img{
    width: 100%;
    height: auto;
}
.head-box{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 16px;
    margin-bottom: 32px;
}

.head-box .head-inner{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}
.head-box .head-inner .title{
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
    color: var(--black-color);
}
.head-box .head-inner .subtitle{
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--black-color-70);
}

.cats{
    padding-bottom: 58px;
    position: relative;
    overflow: hidden;
}
.cats .cat-items{
    gap: 24px;
    padding: 16px 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}
.cats .cat-item{
    background: var(--white-color);
    padding: 4px;
    border-radius: 16px;
    position: relative;
    width: calc(16.666666666% - 20px);
    min-width: 193px;
}
.cats .cat-item a:before{
    content: "";
    border: 12px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease-in-out;
}
.cats .cat-item a{
    background: var(--white-color);
    padding: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
    height: 100%;
}
.cats .cat-item a img{
    width: 94px;
    height: 89px;
    object-fit: cover;
    object-position: top;
    transform: translateY(-12px);
    filter: grayscale(1);
    transition: all .3s ease-in-out;
}
.cats .cat-item a span{
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 300;
    color: var(--black-color);
    padding: 0 8px;
    transition: all .3s ease-in-out;
}

.cats .cat-item a:hover{
    position: relative;
    background: var(--main-color);
}

.cats .cat-item a:hover img{
    filter: grayscale(0);
}
.cats .cat-item a:hover span{
    color: var(--white-color);
}
.cats .cat-item a:hover:before{
    opacity: 0;
}
.cats .cat-item:last-child,
.cats .cat-item:first-child{
    position: relative;
}
.cats .cat-item:first-child:before{
    content:"";
    width: 100px;
    background: var(--black-color);
    border-radius: 16px;
    opacity: 0.05;
    z-index: -1;
    height: calc(100% + 32px);
    position: absolute;
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
}
.cats .cat-item:last-child:before{
    content:"";
    width: 100px;
    background: var(--black-color);
    border-radius: 16px;
    opacity: 0.05;
    z-index: -1;
    height: calc(100% + 32px);
    position: absolute;
    right: -65px;
    top: 50%;
    transform: translateY(-50%);
}

.products{
    margin-bottom: 68px;
}
.products-wrapper .col-12{
    padding-bottom: 12px;
    padding-top: 12px;
}
.products-wrapper{
    position: relative;
}
.products-wrapper:before{
    content:"";
    width: 217px;
    height: 364px;
    background: var(--main-color);
    z-index: -1;
    border-radius: 40px;
    position: absolute;
    left: -12px;
    top: -12px;
}
.products-wrapper:after{
    content:"";
    width: 217px;
    height: 364px;
    background: var(--main-color);
    z-index: -1;
    border-radius: 40px;
    position: absolute;
    right: -12px;
    bottom: -12px;
}
.famous-brands{
    padding-bottom: 84px;
    overflow: hidden;
}
.body-famous-brands .brand-items{
    position: relative;
    gap: 24px;
    padding: 16px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}
.body-famous-brands .brand-item{
    width: calc(16.6666666% - 20px);
    min-width: 193px;
    min-height: 137px;
    background: var(--white-color);
    padding: 4px;
    border-radius: 16px;
    position: relative;
    transition: all .3s ease-in-out;
}
.body-famous-brands .brand-item .inner{
    background: var(--white-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 10px;
    transition: all .3s ease-in-out;
    padding: 20px 12px;
}
.body-famous-brands .brand-item .inner:before{
    content: "";
    border: 12px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease-in-out;
}
.body-famous-brands .brand-item img{
    width: auto;
    height: 42px;
    object-fit: contain;
    transition: all .3s ease-in-out;
}
.body-famous-brands .brand-item .brand-item-inner{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.body-famous-brands .brand-item .brand-item-inner svg path{
    fill: var(--main-color);
    transition: all .3s ease-in-out;
}
.body-famous-brands .brand-item .brand-item-inner .title{
    display: block;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: var(--black-color-70);
    transition: all .3s ease-in-out;
}
.body-famous-brands .brand-item .btn{
    text-decoration: none;
    color: var(--main-color);
    margin-top: 9px;
    padding: 0;
    font-size: 14px;
    gap: 6px;
    width: max-content;
    height: auto;
}
.famous-brands .brand-item .inner:hover{
    background: var(--main-color);
}
.famous-brands .brand-item .inner:hover img{
    filter: brightness(0) invert(1);
}
.famous-brands .brand-item .inner:hover .btn,
.famous-brands .brand-item .inner:hover .title{
    color: var(--white-color);
}
.famous-brands .brand-item .inner:hover .brand-item-inner svg path{
    fill: var(--white-color);
}
.famous-brands .brand-item .inner:hover:before{
    opacity: 0;
}


.body-famous-brands .brand-item:last-child,
.body-famous-brands .brand-item:first-child{
    position: relative;
}
.body-famous-brands .brand-item:first-child:before{
    content:"";
    width: 100px;
    background: var(--black-color);
    border-radius: 16px;
    opacity: 0.05;
    z-index: -1;
    height: calc(100% + 32px);
    position: absolute;
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
}
.body-famous-brands .brand-item:last-child:before{
    content:"";
    width: 100px;
    background: var(--black-color);
    border-radius: 16px;
    opacity: 0.05;
    z-index: -1;
    height: calc(100% + 32px);
    position: absolute;
    right: -65px;
    top: 50%;
    transform: translateY(-50%);
}


.weblog{
    margin-top: 55px;
    display: flex;
    position: relative;
}
.weblog:before{
    content: "";
    width: 93px;
    height: calc(100% - 74px);
    border-radius: 24px;
    background: var(--black-color-5);
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    z-index: -1;
}
.weblog:after{
    content: "";
    width: 93px;
    height: calc(100% - 74px);
    border-radius: 24px;
    background: var(--black-color-5);
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    z-index: -1;
}
.weblog .box{
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
}
.weblog .head-weblog{
    width: 32%;
    padding-left: 6% ;
    z-index: -1;
}
.weblog .head-weblog .inner{
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
    linear-gradient(270deg, var(--black-color-10) 0%, transparent 30%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    position: relative;
}
.weblog .head-weblog .inner img{
    margin: 20px auto;
    display: block;
}
.weblog .head-weblog .inner:before{
    content: "";
    width: calc(100% - 36px);
    aspect-ratio: 1 / 1;
    background: linear-gradient(to top, #303030 0%, rgba(48, 48, 48, .3) 11%, transparent 20%);
    border-radius: 100%;
    position: absolute;
    top: -99px;
    right: 0;
    opacity: 0.1;
    mix-blend-mode: multiply;
}
.weblog .head-weblog .inner .text{
    width: 100%;
    text-align: center;
    padding: 20px 30px 30px;
    position: relative;
}
.weblog .head-weblog .inner .text:before{
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--black-color-10);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}
.weblog .head-weblog .inner .text:after{
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--black-color-10);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}
.weblog .head-weblog .inner .text .title{
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
    color: var(--black-color);
    display: block;
    margin: 0;
}
.weblog .head-weblog .inner .text .subtitle{
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--black-color-70);
    display: block;
    margin: 0;
}
.weblog .head-weblog .inner .text em{
    font-style: normal;
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
    color: var(--black-color);
    display: block;
    margin: 0;
}
.weblog .first-article{
    width: 34%;
    margin-right: -6%;
    margin-top: -55px;
    padding-bottom: 31px;
    padding-left: 24px;
    position: relative;
    z-index: 1;
}
.weblog .first-article:after{
    content:"";
    width: 85px;
    height: 226px;
    background: var(--black-color-20);
    border-radius: 16px;
    filter: blur(50px);
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
}
.weblog .first-article .post-box{
    z-index: 2;
    position: relative;
    height: 100%;
}
.post-box{
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.post-box img{
    width: 100%;
    height: 188px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 19px;
}
.post-box .post-cat{
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    padding: 10px 20px;
    color: var(--black-color);
    background: var(--black-color-100);
    border-radius: 12px;
    position: absolute;
    right: 16px;
    top: 16px;
}
.post-box .title{
    font-size: 16px;
    font-weight: bold;;
    line-height: 24px;
    margin-bottom: 5px;
    padding: 0 9px;
}
.post-box .summary{
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: var(--black-color-70);
    padding: 0 9px;
    margin-bottom: 8px;
    text-align: justify;
}
.post-box .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-box .info .time{
    padding-right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-box .info .time svg{
    width: 14px;
    fill: var(--main-color);
}
.post-box .info .time svg path{
    fill: var(--main-color);
}
.post-box .info .time span{
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
}
.post-box .info .btn{
    height: 48px;
    min-width: 107px;
    width: max-content;
    text-decoration: none;
}

.weblog .body-weblog{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.weblog .body-weblog .btns{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.weblog .body-weblog .btns .btn-box{
    height: 98px;
    width: calc(33.333333% - 10.666666px);
    background: var(--white-color);
    border-radius: 24px;
    padding: 4px;
}
.weblog .body-weblog .btns .btn-box .inner{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    background: var(--white-color);
    border-radius: 24px;
    transition: all .3s ease-in-out;
}
.weblog .body-weblog .btns .btn-box .inner:before{
    content: "";
    border: 10px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease-in-out;
}
.weblog .body-weblog .btns .btn-box svg{
    width: 16px;
}
.weblog .body-weblog .btns .btn-box svg path{
    fill: var(--main-color);
    transition: all .3s ease-in-out;
}
.weblog .body-weblog .btns .btn-box span{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    padding-right: 8px;
    border-right: 1px solid var(--black-color-10);
    transition: all .3s ease-in-out;
}
.weblog .body-weblog .btns .btn-box:hover .inner{
    background: var(--main-color);
}
.weblog .body-weblog .btns .btn-box:hover .inner:before{
    opacity: 0;
}
.weblog .body-weblog .btns .btn-box:hover svg path{
    fill: var(--white-color);
}
.weblog .body-weblog .btns .btn-box:hover i,
.weblog .body-weblog .btns .btn-box:hover span{
    color: var(--white-color);
    border-color: var(--white-color-10);
}


.post-box-horiz{
    display: flex;
    gap: 8px;
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
}
.post-box-horiz img{
    height: 82px;
    width: 138px;
    object-fit: cover;
    border-radius: 16px;
    transition: all .3s ease-in-out;
    filter: grayscale(1);
}
.post-box-horiz a:hover img{
    filter: grayscale(0);
}
.post-box-horiz .info{
    width: calc(100% - 146px);
    border-radius: 16px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
    linear-gradient(270deg, var(--black-color-10) 0%, transparent 30%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-box-horiz .info .title-box{
    padding: 4px 16px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}
.post-box-horiz .info .title{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--black-color);
    margin-bottom: 4px;
}
.post-box-horiz .time{
    display: flex;
    gap: 8px;
}
.post-box-horiz .time svg{
    width: 14px;
    fill: var(--main-color);
}
.post-box-horiz .time svg path{
    fill: var(--main-color);
}
.post-box-horiz .time span{
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
}

.post-box-horiz .info .btn{
    font-size: 16px;
    font-weight: 400;
    color: var(--black-color-70);
    padding: 0 0 0 16px;
    height: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.post-box-horiz .info .btn i{
    font-size: 10px;
    height: 10px;
    display: flex;
    align-items: center;
}


.weblog .first-article:before {
    content: "";
    width: 21px;
    height: 21px;
    background: var(--black-color-10);
    border-radius: 10px 0;
    position: absolute;
    top: calc(50% + 8px);
    left: 12px;
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}
.weblog .body-weblog{
    position: relative;
}
.weblog .body-weblog:before {
    content: "";
    width: 21px;
    height: 21px;
    background: var(--black-color-10);
    border-radius: 10px 0;
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}










/****************************************************************************/ /* responsive */
@media (max-width: 1399px) {
    .weblog .head-weblog .inner:before{
        top: -29px;
    }
}
@media (max-width: 1199px) {
    .weblog .head-weblog .inner:before{
        top: -70%;
        right: 20px;
    }
    .weblog .head-weblog .inner{
        padding-left: 0;
    }
    .weblog{
        flex-wrap: wrap;
        margin-top: 8px;
    }
    .weblog .head-weblog {
        width: calc(50% - 8px);
        padding-left: 0;
    }
    .weblog .first-article {
        width: calc(50% - 8px);
        margin-right: 16px;
        margin-top: 0;
        padding-bottom: 0;
        padding-left: 0;
    }
    .weblog .body-weblog {
        width: 100%;
        margin-top: 16px;
    }
    .weblog .first-article:after,
    .weblog .first-article:before,
    .weblog .body-weblog:before{
        display: none;
    }
}
@media (max-width: 991px) {
    .shop-row.flex-row-reverse{
        flex-direction: column-reverse !important;
    }
    .shop-row .col-12.sidebar{
        padding-left: 0;
    }
    .filter-box{
        padding: 16px;
    }
    .filter-box .ws-widget-title-box{
        margin-bottom: 0;
        justify-content: space-between;
    }
    .filter-box .ws-widget-title-box .ws-title-box{
        margin-left: auto;
    }
    .filter-box .ws-widget-title-box .btn.navbar-toggler{
        display: block;
    }
    .filter-box .shop-sidebar{
        visibility: hidden;
        height: 0;
    }
    .filter-box .show .shop-sidebar{
        visibility: visible;
        height: auto;
    }
    .weblog .head-weblog .inner:before {
        top: -30%;
    }
}
@media (max-width: 767px) {
    .main-product-box .product-img img{
        max-height: max-content;
    }
    .order-box {
        gap: 16px 0;
        margin-bottom: 16px;
    }

    .order-box .order-items {
        gap: 8px;
        padding-right: 8px;
    }

    .products-by-cat-item .product-items .product-item{
        width: 25%;
        padding: 8px;
    }
    .products-by-cat-item .product-items:after,
    .products-by-cat-item .product-items:before{
        display: none;
    }
    .products-by-cat-item .product-items{
        border-bottom: 1px solid var(--black-color-10);
    }
    .products-by-cat-item .text {
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
    }
    .products-by-cat-item .text:before,
    .products-by-cat-item .text:after{
        display: none;
    }
    .products-by-cat-item .text .title{
        font-size: 14px;
    }
    .weblog .head-weblog .inner .text:before,
    .weblog:before,
    .weblog .head-weblog .inner:before {
        display: none;
    }
    .weblog .head-weblog{
        width: 100%;
        margin-bottom: 8px;
        z-index: 1;
    }
    .weblog .first-article{
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }
    .weblog .body-weblog{
        margin: 0;
        gap: 8px;
    }
    .weblog .head-weblog .inner{
        flex-direction: row;
        border: 0;
    }
    .weblog .head-weblog .inner img{
        width: 73px;
        margin: -33px 9px 6px 0;
    }
    .weblog .head-weblog .inner .text{
        text-align: right;
        padding: 13px 24px;
    }
    .weblog .head-weblog .inner .text:after{
        left: 8px;
    }
    .weblog .head-weblog .inner .text .title{
        font-size: 16px;
    }

    .post-box img{
        height: auto;
    }
    .post-box .post-cat{
        right: unset;
        left: 16px;
    }
    .post-box-horiz img{
        width: 75px;
    }
    .post-box-horiz .info{
        border: 0;
        width: calc(100% - 83px);
        align-items: end;
    }
    .post-box-horiz .info .title-box{
        padding: 4px 8px;
        justify-content: space-between;
        height: 100%;
    }
    .weblog:after{
        width: 85px;
        height: 226px;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        filter: blur(25px);
        background: var(--black-color);
        opacity: 0.2;
    }
}

@media (max-width: 600px) {
    .beauty-cats:before,
    .beauty-cats:after{
        display: none;
    }
    .products-wrapper:before,
    .products-wrapper:after{
        left: 0;
        right: 0;
        width: 100%;
        height: 150px;
    }
}
@media (max-width: 567px){

    .weblog .body-weblog .btns .btn-box{
        width: calc(50% - 8px);
        height: 71px;
    }
    .weblog .body-weblog .btns .btn-box:last-of-type{
        display: none;
    }
    .weblog .body-weblog .btns .btn-box span{
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .order-box .order-items {
        padding-right: 0;
    }

    .order-box .woocommerce-sort-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .order-box {
        gap: 8px 0;
        justify-content: center;
    }

    .order-box .order-items {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .order-box .order-items a {
        font-size: 14px;
    }

    .order-box .order-items {
        gap: 16px;
    }
}