
/********************** Product Item Horizontal Story *************************/
.product-item-story{
    width: 260px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    color: black!important;
    text-decoration: none!important;
}
.product-item-story > img{
    width: 60px!important;
    height: 60px!important;
    border-radius: 10px!important;
    margin-left: 10px;
    flex-shrink: 0;
}
.product-item-h-content{
    display: flex;
    flex-direction: column;
    width: calc(100% - 75px);
}
.product-item-story .product-title{
    color: black;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    font-size: 12px;
    margin-bottom: 5px;
}
.product-item-h-content-price{
    font-size: 13px;
}

/********************** Product Price *************************/

.product-price-container{
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.product-price-container .price-discount-percent{
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--colorText);
    border: 1px solid var(--colorText);
    background: rgba(var(--colorSecondaryRGB),.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 19px;
    font-weight: bold;
    padding-top: 2px;
    flex-shrink: 0;
}
.product-price-container{
    display: flex;
    align-items: center;
}

.price-discount-percent{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--colorSecondary);
    background: rgba(var(--colorSecondaryRGB),.2);
    font-size: 20px;
    font-weight: bold;
    margin-left: 15px;
}
.product-price{
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.product-price .current-price{
    font-weight: bold;
    font-size: 20px;
    line-height: normal;
    color: var(--colorPrimary);
}
.product-price .old-price{
    font-weight: normal;
    line-height: normal;
    font-size: 15px;
    color: var(--colorSecondary);
    text-decoration: line-through;
}
.tooman{
    text-decoration: none!important;
    font-weight: normal;
}


/********************** Product Card 1 *************************/
.product-card{
    background: #fff;
    border-radius: var(--productCardBorderRadius);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 10px;
    border: 1px solid transparent;
    transition: 400ms;
}
.product-card-unavailable{
    -webkit-filter: grayscale(1);
}
.product-card:hover{
    border-color: var(--colorPrimary);
    box-shadow: 0 0 30px rgba(var(--colorPrimaryRGB),0.3);
}
.product-card-1{
    overflow: hidden;
}
.product-card-image{
    position: relative;
    padding: 10px;
    overflow: hidden;
}
.product-card-image img{
    width: 100%;
    height: auto;
    border-radius: var(--productCardBorderRadius) !important;
    transition: 800ms;
}
.product-card-content{
    padding: 10px 12px;
}
.product-card-content .title{
    font-weight: bold;
    font-size: 15px;
    display: block;
    color: var(--colorText);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 3em;
}
.product-card-1 .product-card-content{
    text-align: center;
}

.card-content-right{
    text-align: right!important;
    justify-content: start!important;
}
.card-content-center{
    text-align: center!important;
    justify-content: center!important;
}
.card-content-center .product-price-container{
    justify-content: center!important;
}
.card-content-left{
    text-align: left!important;
    justify-content: end!important;
}

.card-content-left .star-rating{
    margin-right: auto!important;
    margin-left: 0!important;
}
.card-content-right .star-rating{
    margin-left: auto!important;
    margin-right: 0!important;
}

.product-card-1 .product-price-container{
    justify-content: center;
}

.card-content-right .product-price-container{
    justify-content: start!important;
}
.card-content-left .product-price-container{
    justify-content: end!important;
}

.product-card-image-overly{
    position: absolute;
    width: 100%;
    height: 100%;
    top: -100%;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-card-overly-btn{
    display: flex!important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    cursor: pointer;
    background: #fff;
    color: var(--colorPrimary);
    font-size: 18px;
    transform: translate(0,-10px);
    transition: 200ms;
    opacity: 0;
}
.product-card-overly-btn .circle-loader,
.ajax-add-to-cart .circle-loader
{
    width: 24px;
    height: 24px;
}
.product-card-image-overly .product-card-overly-btn:nth-child(2){
    transition: 400ms;
}
.product-card-image-overly .product-card-overly-btn:nth-child(3){
    transition: 600ms;
}
.product-card-overly-btn:hover{
    background: var(--colorPrimary);
    color: #fff;
    box-shadow: 0 0 12px rgba(var(--colorPrimaryRGB),0.6);
}
.product-card-overly-btn:hover .circle-loader{
    border-top-color:rgba(255,255,255,0.2);
    border-right-color: rgba(255,255,255,0.2);
    border-bottom-color: rgba(255,255,255,0.2);
    border-left-color: #fff;
}
.product-card-2-cart .circle-loader,
.product-card-3-cart .circle-loader,
.product-card-4-cart .circle-loader
{
    border-bottom-color: #fff;
}
.product-card:hover .product-card-image-overly
{
    top: 0;
}
.product-card:hover .product-card-overly-btn{
    opacity: 1;
    transform: translate(0,0);
}
.product-card-1:hover .product-card-image img,
.product-card-2:hover .product-card-image img
{
    opacity: 0.3;
}

.products-swiper .swiper-wrapper
{
    padding: 30px 0 30px!important;
}
.product-card p.stars a{
    color: #d68e04;
}
.product-card .star-rating span::before{
    color: #d68e04;
}
.star-rating{
    float: none!important;
}
.product-card:not(.product-card-2) .star-rating{
    margin: 0 auto 5px auto;
}


/********************** Product Card 2 *************************/
.product-card-2{
    padding-bottom: 0;
    margin-bottom: 40px;
}
.product-card-2-cart{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--colorPrimary);
    box-shadow: 0 0 20px rgba(var(--colorPrimaryRGB),0.8);
    display: flex!important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    position: absolute;
    bottom: -20px;
    left: 20px;
    transition: 300ms;
    cursor: pointer;
}
.product-card-2 .product-card-content{
    position: relative;
    padding-bottom: 0;
}
.product-card-2 .product-price-container{
    padding-bottom: 15px;
}
.product-card-2:hover .product-card-2-cart{
    box-shadow: 0 0 20px rgba(var(--colorPrimaryRGB),0.8);
}

/********************** Product Card 3 *************************/
.product-card-3{
    overflow: hidden;
}
.product-card-3-buttons{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.product-card-3-cart,
.product-card-3-view{
    height: 50px;
    width: 100%;
    background: rgba(var(--colorPrimaryRGB),0.1);
    color: var(--colorPrimary);
    border-radius: 12px;
    display: flex!important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 300ms;
    cursor: pointer;
    flex-shrink: 0;
}
.product-card-3-cart{
    width: 50px;
    position: relative;
    justify-content: start;
    transition: 200ms;
    overflow: hidden;
    background: var(--colorPrimary);
    color: #fff;
    box-shadow: 0 0 20px rgba(var(--colorPrimaryRGB),0.8);

}
.product-card-3-cart-icon{
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-3-cart .card-3-btn-title{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    width: calc(100% - 50px);
    color: #fff;

}
.product-card-3-cart .card-3-btn-title:after{
    content: "\e9c0";
    font-family: 'icomoon' !important;
    margin-right: auto;
    margin-left: 15px;
    font-size: 19px;
    transition: 300ms;
}

.product-card-3-cart:hover{
    width: 100%;
}

.product-card-3-view{
    width: calc(100% - 52px);
}
.card-3-btn-title{
    color: var(--colorText);
    font-size: 13px;
    transition: 300ms;
    font-weight:600;
    margin-right: 4px;
}
.product-card-3-cart:hover,
.product-card-3-view:hover
{
    background: var(--colorPrimary);
    box-shadow: 0 0 20px rgba(var(--colorPrimaryRGB),0.8);

    color: #fff;
}

.product-card-3-cart:hover .card-3-btn-title,
.product-card-3-cart:hover .card-3-btn-title:after,
.product-card-3-view:hover .card-3-btn-title
{
    color: #fff;
}


/********************** Product Card 4 *************************/

.product-card-4{
    display: flex;
    flex-direction: row;
    padding: 0;
}
.product-card-4 .product-card-image{
    width: 140px;
    height: 140px;
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
}
.product-card-4 .price-discount-percent{
    border-radius: 12px;
    width: 40px;
    height: 40px;
    font-size: 16px;
}
.product-card-4 .product-price-container{
    margin-top: 8px;
}
.product-card-4 .product-card-content .title{
    font-size: 14px;
}
.product-card-4 .product-card-content{
    padding: 15px;
    width: calc(100% - 150px);
}
.product-card-4 .product-price .current-price{
    font-size: 16px;
}
.product-card-4 .product-price .old-price,
.product-card-4 .product-price{
    font-size: 13px;
}
.product-card-4-cart,
.product-card-4-view
{
    background: var(--colorPrimary);
    border-radius: 0 0 8px 8px;
    position: absolute;
    right: 0;
    left: 0;
    top: -54px;
    height: 60px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin: auto;
    cursor: pointer;
    transition: 300ms;
}


.product-card-4-view{
    border-radius: 8px 8px 0 0;
    top: auto;
    bottom: -54px;
}
.product-card-4:hover .product-card-4-cart{
    top: -10px;
}
.product-card-4:hover .product-card-4-view{
    bottom: -10px;
}
.product-card-4:hover .product-card-image img{
    opacity: 0.3;
}

.product-card-4-cart:hover{
    top: 0!important;

}
.product-card-4-view:hover{
    bottom: 0!important;
}


/******************************************** TABS ***************************/


/********************* tabs *********************/
.bcp-tabs{
    display: block;
    width: 100%;
}
.bcp-tabs-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.bcp-tabs-head-title {
    font-size: 18px;
    font-weight: 400;
    color: #111;
    border-bottom: 3px solid var(--colorPrimary);
}
.bcp-tabs-nav{
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}
.bcp-tabs-nav-item{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #666;
    cursor: pointer;
    text-decoration: none!important;
    margin-left: 10px;
    padding: 3px 0;
    line-height: 30px;
    position: relative;
    transition: 300ms;
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;
    z-index: 1;
}

.bcp-tabs-nav .bcp-tabs-nav-item:last-of-type{
    margin-left: 0!important;
}
.bcp-tabs-nav-item:before{
    content: '';
    display: inline-block;
    width: 10px;
    height: 2px;
    background: transparent;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    transition: 300ms;
    z-index: -1;
    border-radius: 6px;
}
.bcp-tabs-nav-item.active:before{
    width: 100%!important;
    background: var(--colorPrimary);
}
.bcp-tabs-nav-item i{
    font-size: 28px;
    color: #bbb;
}
.bcp-tabs-nav-item i,
.bcp-tabs-nav-item svg,
.bcp-tabs-nav-item path
{
    transition: 300ms;
}
.bcp-tabs-nav-item svg{
    width: 36px;
    height: 36px;
}
.bcp-tabs-nav-item.active i,
.bcp-tabs-nav-item.active svg
{
    color: var(--colorPrimary);
    stroke: var(--colorPrimary);
}

.bcp-tabs-nav-item:hover:before{
    background: var(--colorPrimary);
}
.bcp-tabs-nav-item:hover{
    color: var(--colorPrimary);
}
.bcp-tabs-nav-item.active{
    color: var(--colorPrimary);
}
.bcp-tabs-content{
    position: relative;
}
.bcp-tab-content{
    width: 100%;
}
.bcp-tab-content:not(.active){
    display: none;
}












.autoplay-progress {
    position: absolute;
    right: 16px;
    top: 40px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    background-color: var(--colorPrimary);
    padding: 30px;
    border-radius: 50%;
    box-shadow: -10px 5px 30px rgba(var(--colorPrimaryRGB),0.6);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 10;
    width: 80%;
    height: 80%;
    stroke-width: 3px;
    stroke: #fff;
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}


.out-of-stock-text{
    color: #ca3748;
    font-size: 14px;
    display: block;
}



@media (max-width: 992px) {
    .product-card .product-card-image-overly{
        height: 50px!important;
        top: 20px!important;
    }
    .product-card .product-card-overly-btn{
        opacity: 1;
        transform: translate(0,0);
    }
}