/* استایل کانتینر اصلی اسلایدر */
.keyhan_theme_product_carousel_container{
    position: relative;
}

.keyhan_theme_product_carousel_container a{
    color: unset !important;
    text-decoration: none;
}
.keyhan_theme_product_carousel{
    width: 100%;
}
.swiper {
    
    /* height: 400px; */
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}
/* استایل هر اسلاید */
.keyhan_theme_product_carousel .product_slide {
    text-align: right;
    font-size: 20px;
    /* background: #fff; */
    /* color: #333; */
    /* برای وسط‌چین کردن محتوای داخل اسلاید */
    display: flex;
    flex-flow:column nowrap;
    justify-content: flex-start;
    align-items: center;

    -moz-font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
}
/* رنگ‌بندی متفاوت برای هر اسلاید جهت تمایز */
/* .swiper-slide:nth-child(1) { background-color: #ffcdd2; }
.swiper-slide:nth-child(2) { background-color: #c8e6c9; }
.swiper-slide:nth-child(3) { background-color: #bbdefb; }
.swiper-slide:nth-child(4) { background-color: #fff9c4; }
.swiper-slide:nth-child(5) { background-color: #d1c4e9; }
.swiper-slide:nth-child(6) { background-color: #ffecb3; }
.swiper-slide:nth-child(7) { background-color: #ffcdd2; }
.swiper-slide:nth-child(8) { background-color: #c8e6c9; }
.swiper-slide:nth-child(9) { background-color: #bbdefb; }
.swiper-slide:nth-child(10) { background-color: #fff9c4; }
.swiper-slide:nth-child(11) { background-color: #d1c4e9; }
.swiper-slide:nth-child(12) { background-color: #ffecb3; } */



.keyhan_theme_product_carousel .product_slide img{
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.keyhan_pr_carousel_product_title{
    font-size: 16px;
    line-height: 16px;
    font-weight: 800;
    color: #222;

}

.keyhan_pr_carousel_product_price{
    display: flex;
    flex-flow: column-reverse nowrap;
    align-items: flex-start;
    line-height: 14px;
    margin-top: 5px;
    font-size: 14px;
}

.keyhan_pr_carousel_product_price bdi{
    color: green;
    font-weight: 600;
}


.keyhan_pr_carousel_product_price del bdi{
    color: red;
}

.keyhan_pr_carousel_product_price del{
    color: red;
    margin-top: 3px;
}

.keyhan_pr_carousel_product_price ins{
    text-decoration: unset;
}


/* استایل دکمه‌های ناوبری */

.keyhan_theme_product_carousel_btn_next{
    width: 35px;
    height: 35px;
    background-color: var(--theme_base_color);
    position: absolute;
    top: -50px;

    left: 0;

   
    -webkit-mask-image: url(../icons/arrow_square.svg);
    mask-image: url(../icons/arrow_square.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    cursor: pointer;
    z-index: 1000;

}

.keyhan_theme_product_carousel_btn_prev{
    width: 35px;
    height: 35px;
    background-color: var(--theme_base_color);
    position: absolute;
    top: -50px;
    left: 40px;


    -webkit-mask-image: url(../icons/arrow_square.svg);
    mask-image: url(../icons/arrow_square.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    cursor: pointer;
    transform: rotate(180deg);
    z-index: 1000;

}

/* استایل نقطه‌های صفحه‌بندی */
.swiper-pagination-bullet-active {
    background-color: #007aff;
}