/* navigatin text ///////////////////////////////////////////////*/
.navigation_up_text_container{
    display: flex;
    flex-flow: row wrap;
    width: 90%;
    margin:1.5rem auto;
    color: rgb(116, 116, 116);
    font-size: 0.83rem;
    font-weight: 600;
}
.navigation_up_text_container>span{
    margin: 0rem 0.7rem;
    font-size: 0.8rem;
}

/* parts text ///////////////////////////////////////////////*/
.parts_text{
    margin: 2.4rem 4.1rem 1.7rem 0rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* subcategory parts swiper ///////////////////////////////////*/
.site_parts_swiper_new .swiper {
    width: 100%;
    height: 100%;
}


.site_parts_swiper_new .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: all 1s ;
}
.site_parts_swiper_new .swiper-slide:hover{
    border-radius:43% 57% 50% 50% / 61% 56% 44% 39% ;

}

/* subcategory parts ///////////////////////////////////*/
.site_parts_swiper_new .swiper-slide img {
    display: block;
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    padding: 0rem;
    box-shadow:rgba(0, 0, 0, 0.537) 0.5rem 0.5rem 0.4rem;
}
.subcategoryparts_container{
    width: 97%;
    margin: auto;
}
.subcategorypart_slide_container img{
    font-weight: 900;
    font-size:0.9rem;
    margin-bottom: 1rem;
    transition: all 0.5s;
    border-radius:20px;
}
.subcategorypart_slide_container img:hover{
    border-radius:43% 57% 50% 50% / 61% 56% 44% 39% ;
}
.smaller_font{
    font-size: 0.7rem;
    font-weight: 400;
}
.subcategoryparts_container .swiper-pagination{
    display: none;
}
/* filter part  //////////////////////////////////////////////////*/
.products_filter_container{
    margin: 1.2rem;
    margin-top: 2rem;
    display: flex;
    position: relative;
}
.filter_container{
    border: solid rgb(188, 188, 188) 1px;
    border-radius: 7px;
    padding: 1.8rem;
    width: fit-content;
    position: sticky;
    top: 0px;
    right: 0rem;
    box-shadow: rgb(175, 175, 175) 0px 0px 3px;
    height: fit-content;
}
.filter_header{
    font-weight: 600;
    font-size: 1.2rem;
}
.filter_options_container{
    margin-top: 1.4rem;
    font-weight: 600;
}
.filter_options_container *:last-child{
    border-bottom: none;
    padding-bottom: 0rem;
}
.filter_option{
    border-bottom: solid rgb(201, 201, 201) 1px;
    padding: 1.2rem 0rem;
    width: 15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter_option svg{
    color: rgb(136, 136, 136);
}

/* products_header ///////////////////////////////////// */
.products_header{
    padding: 1.2rem;
    width: 100%;
}
.header_container{
    display: flex;
    flex-flow: wrap row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-bottom: solid rgb(182, 182, 182) 1px;
    padding-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: rgb(123, 123, 123);
    transition: all 0.8s;
}
.header_container_right_side{
    display: flex;
    flex-flow: wrap row;
    align-items: center;
    justify-content: space-between;
    width: 62%;
}
.order_by_container{
    font-size:0.85rem;
    color: rgb(22, 22, 22);
    font-weight: 900;
}
.fa-list-ul{
    margin-left: 0.55rem;
}


/* products part //////////////////////////////////////*/
.products_container{
    display: grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.product_container{
    cursor: pointer;
    border-top: rgba(0, 0, 0, 0.086) solid 1px;
    padding: 0.8rem;
    transition: all 0.1s;
    border-left: rgba(0, 0, 0, 0.093) solid 1px;
    border-bottom: rgba(0, 0, 0, 0.093) solid 1px;
    align-items: end;
}
.product_container:hover{
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 6px 2px;
}
.product_header{
    font-weight: 900;
    color: #e21700;
}
.product_container img{
    width:15rem;
    height: 15rem;
}
.short_product_discription{
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(25, 25, 25);
    margin-top: 1.5rem;
    line-height: 1.1rem;
}
.product_footer{
    padding:2.5rem 0.5rem 1.5rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgb(64, 64, 64);
    font-weight: 600;
}
.product_brand{
    display: flex;
    align-items: center;
}
.product_brand span{
    font-weight: 900;
    color: rgba(0, 0, 0, 0.692);
    font-size: 0.85rem;
}
.fa-globe{
    color: rgb(0, 191, 255);
    margin-left:0.3rem;
}
.fa-star{
    color: rgb(255, 240, 36);
    margin-right: 0.3rem;
}
.product_price_and_off{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-bottom: 1rem;
}
.off_percent{
    padding: 5px 7px 4px 7px;
    background-color: #ff3300;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 900;
    color: white;
}
.buying_price{
    font-weight: 900;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.753);
}
.old_price{
    display: flex;
    flex-direction: row-reverse;
    font-weight: 600;
    font-size: 0.75rem;
    color: dimgray;
    text-decoration: line-through;
    margin-top: 1rem;
}
/* responsive nav styling  ////////////////////////////////////////*/
.small_screens {
    display: none;
}
.orderBy_item{
    padding: 1rem 0.5rem;
    cursor: pointer;
    font-weight: 300;
    font-size: 0.8rem;
    color: rgb(42, 42, 42);
    font-family:"iran yekan";
    background: none;
}
.orderBy_item:hover{
    background-color: rgb(30, 30, 30);
    color: white;
    border-radius:15rem;
    transition: all 0.2s;
}
.order_by_active{
    color: #ff3300;
    font-weight: 900;
}
.big_screens{
    display: flex;
    flex-flow: row;
    align-items: center;
}
.subcategorypart_slide_container h3 {
    font-weight: 600;
    font-size: 0.8rem;
}
.products_details_is_avaible{
    margin: 0.5rem;
    margin-bottom: 0rem;
    color: green;
    display: flex;
    align-items: center;
}
.products_details_is_avaible svg{
    margin-left: 0.3rem;
    font-size: 0.4rem;
}
.products_details_is_avaible span{
    font-weight: 500;
    font-size: 0.9rem;

}
.products_details_is_avaible_red{
    color: red;
}
.hide-scrollbar-x {
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: visible; /* Adjust vertical overflow as needed */
  scrollbar-width: none; /* Firefox */
}

.hide-scrollbar-x::-webkit-scrollbar {
  height: 0 !important; /* Hide horizontal scrollbar in WebKit browsers */
}

/* Optional: Prevent horizontal scrollbar track */
.hide-scrollbar-x::-webkit-scrollbar-track:horizontal {
  background: transparent;
}
@media only screen and (max-width: 720px){
    .filter_container{
        display: none;
    }
    .parts_text{
        font-size: 0.9rem;
        margin: 0rem;
        margin-right: 2rem;

    }
    .site_parts_swiper_new .swiper-slide{
        width: 5rem;
        height: 9rem;
    }
    .site_parts_swiper_new .swiper-slide img{
        width: 6rem;
        height: 6rem;
    }
    .subcategorypart_slide_container span{
        font-size: 0.7rem;
    }
    .big_screens{
        display: none;
    }
    .small_screens{
        display: flex;
        flex-flow: row;
    }
    .header_container{
        border-bottom: solid rgba(0, 0, 0, 0.108) 1px;
    }
    .products_header{
        padding:0rem;
    }
    .small_screens_items{
        display: flex;
        flex-flow: row;
        align-items: center;
        color: black;
        font-size: 0.7rem;
        font-weight: 600;
        border: rgba(112, 112, 112, 0.511) solid 1px;
        padding: 0.5rem;
        border-radius: 25px;
    }
    .small_screens_items:active {
        background-color: black;
        color: white;
    }
    .order_by_icon{
        margin-left: 0.3rem;
    }
    .product_container{
        position: relative;
        display: flex;
        flex-flow: row;
        align-items: center;
        padding-right: 0rem;
        border-left: none;
        padding-left: 0rem;
    }
    .product_container  img{
        width: 114px;
        height: 114px;
    }
    .products_details_container{
        width: 100%;
    }
    .short_product_discription{
        max-height: 3.5rem;
        margin: 1.5rem 0rem 0rem 0rem;
        padding:0.2rem 0.5rem;
        font-size: 0.6rem;
        color: rgba(0, 0, 0, 0.696);
        overflow: hidden;
    }
    .product_brand svg{
        font-size:0.85rem;
    }
    .product_brand span{
        font-size: 0.7rem;
    }
    .product_rating{
        font-size: 0.7rem;
    }
    .buying_price{
        font-weight: 600;
        font-size: 0.7rem;
    }
    .product_footer{
        padding-top: 0.5rem;
    }
    .product_price_and_off{
        align-items: center;
    }
    .product_header{
        position: absolute;
        top: 1rem;
        right: 0.7rem;
        font-size: 0.85rem;
    }
    .off_percent{
        font-size: 0.6rem;
        padding:4px 6px 3px 6px;
    }
    .navigation_up_text_container{
        display: flex;
        flex-flow: row nowrap;
        width: 90%;
        overflow-y: scroll;
        margin:1rem auto;
        color: rgba(20, 20, 20, 0.39);
        font-size: 0.8rem;
        line-height: 1.1rem;
        font-weight:400;
        overflow: scroll hidden;
        scrollbar-width: none;
    }
    .order_by_small_screens_container{
        width: 100vw;
        position: fixed;
        display: flex;
        flex-flow: column;
        align-items: center;
        bottom: 0rem;
        right: 0px;
        background-color: white;
        z-index: 1000;
        border-radius: 15px 15px 0px 0px;
        max-height: 0px;
        transition:all 0.5s;
        overflow-y: scroll;
    }
    .active_order_by_small_screens_container{
        padding-top: 1rem;
        max-height: 70%;
        box-shadow: 0 2px 5px 5px rgba(64, 60, 67, 0.503);
    }
    .products_filter_container{
        position: none;
    }
    .orderBy_item_small_screen{
        width: 90%;
        padding: 1.2rem 0rem;
        border-bottom: 1px solid rgba(119, 119, 119, 0.149);
        font-size: 0.6rem;
    }
    .order_by_small_screens_header_container{
        display: flex;
        justify-content: space-between;
        width: 85%;
        color: black;
        margin-bottom: 0.5rem;
    }
    .no_bottom_border{
        border-bottom: none;
    }
    .products_details_is_avaible{
        font-size: 0.8rem;
        margin:0rem 0.8rem 0.2rem 0rem;
    }
    .products_details_is_avaible span{
        font-weight: 600;
        font-size: 0.75rem;
    }
    .products_details_is_avaible svg{
        margin-left: 0.15rem;
        font-size: 0.3rem;
    }
}