.products_tabs .product-layout {
    position: relative;
}
.products_tabs .owl-stage-outer {
    margin-top: 10px;
}

.products_tabs-title {
    background: #52817017;
    font-size: 18px;
    margin-top: 0;
    padding: 0;
    height: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.products_tab-open {
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    background: var(--main_background_color_hover);
    color: #fff;
}
.products_tab-open.active {
    background: var(--main_background_color);
    color: #ffffff;
    padding: 11px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
}
.products_tab-open.active:before {
    content: "";
    border-color: rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #528170;
    border-style: solid;
    border-width: 11px 0 0 15px;
    height: 0;
    right: -15px;
    position: absolute;
    top: 0;
    width: 0;
}
.products_tab-open.active:after {
    content: "";
    border-color: #528170 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);
    border-style: solid;
    border-width: 10px 15px 0 0;
    height: 0;
    right: -15px;
    position: absolute;
    bottom: 0px;
    width: 0;
}

.ptt_l {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.ptt_r {
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    gap: 5px;
    margin-right: 5px;
}
.ptt_r.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.ptt_r button {
    background: var(--main_background_color);
    padding: 3px 5px 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: -1px;
}

.products_tabs. .owl-stage-outer {
    margin-top: 10px;
}


@media (min-width: 370px) {
    .ptt_r.active {
        margin: 0;
    }
    .ptt_r button {
        font-size: 25px;
        padding: 5px;
    }
    .ptt_l .products_tab-open:not(.active):not(:first-child) {
        margin-left: 20px;
    }
}
@media (min-width: 600px) and (max-width: 750px) {
    .product-thumb .product_price {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    .product-thumb .price-old {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
    }
}
@media (max-width: 370px) {
    .ptt_l {
        text-align: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }
    .products_tab-open {
        padding: 5px;
        width: 100%;
        margin: 0;
    }
    .products_tab-open.active {
        padding: 5px;
        margin-top: 0;
    }
    .products_tab-open.active:before, .products_tab-open.active:after {
        display: none;
    }

    .products_tabs-title {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: auto;
    }

    .ptt_r {
        margin: 10px 0 5px;
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .ptt_r button {
        width: 50%;
    }
}