
.catpage {

    width: 100%;
    min-height: 100%;
    position: fixed;
    z-index: 0;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catpage .main {
    width: 98%;
    min-height: 95vh;
    color: black;
    border-radius: 20px;
    margin-top: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: flex-end;
    position: relative;

    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: color;
    background-size: 30%;
    padding-bottom: 10px;
     z-index:-4;
}

.catpage .main .catlist {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;

}

.catpage .main .catlist .cat {
    width: 8%;
    height: 150px;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    box-shadow: 0 0 2px 0px #5e575747;
    backdrop-filter: blur(2px);
    margin: 5px;
}

.catpage .main .catlist .cat img {
    width: 90%;
}

.catpage .main .catlist .cat h2 {
    font-size: 80%;
    color: rgb(12, 11, 11);
    font-weight: bolder;
}
.productmin{
    max-height:100vh;
}
.catpage .oper {
    position: absolute;
    top: 5px;
    width: 98%;
    padding: 5px;
    display: flex;

    justify-content: space-between;
    align-items: center;
    color: black;
}

.catpage .oper a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 900;

}

.catpage .oper span {
    font-size: 15px;
    display: flex;
    align-items: center;
    color: white;
    direction: rtl;
}

.catpage .oper span a {
    font-weight: 100;
    font-size: 15px;
}

/* products */
.catpage .main .catlist_p {
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-height: 75%;
    overflow-x: auto;

    padding: 8px;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    background-color: transparent;
    width: 0px;
}

.catpage .main .catlist_p .cat_p {
    width: 29%;
    height: 350px;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 2px 0px #5e575747;
    backdrop-filter: blur(2px);
    margin: 5px;
    display: block;
    justify-content: space-between;
}

.catpage .main .filter {
    position: absolute;
    top: 55px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    width: 98%;
    color: white;
    direction: rtl;
}

.catpage .main .filter span {
   width: 24%;
    background-color: #003566;
    padding: 2px;
    text-align: center;
    border-radius: 20px;
    height: 35px;
    display: flex
;
    justify-content: center;
    align-items: center;
}

.catpage .main .catlist_p .cat_p img {
    max-height: 150px;
}
.catpage .main .catlist_p .cat_p button {
    min-height: 42px;
    min-width: 100px;
    border: none;
    border-radius: 15px;
    background: #003566;
    color: white;
    margin-top: 15px;
}

.catpage .main .catlist_p .cat_p div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: .5;
}

.catpage .main .catlist_p .cat_p div span {
    direction: rtl;
    width: 100%;
    color: #ffc300;
    display: block;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    margin: 15px 0;
    font-size: 25px;
}
.catpage .main .catlist_p .cat_p div span i {margin: 0 15px;}

.catpage .main .catlist_p .cat_p h2 {
    font-size: 18px;
    font-weight: bolder;
}

/* صفحه مخاطب 
*/
.catpage .products {
    display: flex;
    width: 98%;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5px;
    direction: ltr;
     z-index:-3;

}

.catpage .p_discreption {
    padding: 5px;
    text-align: justify;
    direction: rtl;
    width: 97%;
    margin-top: 10px;
    border-top: 1px solid white;
}

.catpage .productmin {
    overflow-x: auto;
    max-height: 100vh;
    width: 98%;
    text-align: center;
    margin-top: 50px;
    direction: rtl;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff91;
}

.catpage .products .p_info .p_datalist {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    line-height: 1.5;
    direction: rtl;
}
.catpage .products{
    margin-top:40px;
}
.catpage .products  .numric{
   display: inline;
    justify-content: space-around;
    align-items: center;
    font-size: 14px;
    width: 94%;
    background-color: #f6f6f6;
    color: #000000;
    font-weight: bolder;
    padding: 5px;
    margin: 5.0001px;
    border-radius: 3px;
    
}
.catpage .products  .numric span:last-child {
   background-color: rgba(0, 128, 0, 0.466);
   padding: 10px;
    margin: 0;
    display: inline-block;
    height: 25px;
    width: 25px;
    text-align: center;
    border-radius: 9px;
}
.catpage .products  .numric span:first-child {
    background-color: rgba(255, 0, 0, 0.493);
    padding: 10px;
    margin: 0;
    display: inline-block;
    height: 25px;
    width: 25px;
    text-align: center;
    border-radius: 9px;
 }
.catpage .products .p_info{
    position: relative;
    min-height: 375px;
    text-align: right;
    background-color: #fff;
    width: 47%;
     padding: 10px;
        border-radius: 25px;
        min-height: 310px;
        line-height:1.5;
}
.catpage .products .p_info h1{
    font-size: 20px;
    text-align: center;
    margin-top: 10px;
    direction: rtl;
}
.catpage .products .p_info .seocal{
    position: absolute;
    bottom: 2px;
    display: flex
;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    font-size: 28px;
}
.catpage .products .image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 0;
    background-color: #003566;
    width: 47%;
     padding: 10px;
        border-radius: 25px;
        min-height: 310px;
        line-height:1.2;
}

.catpage .products .image img {
    max-width: 350px;
}

.catpage .products .image .star {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    font-size: 24px;
    font-weight: 900;
    color: yellow;
    margin-top: 0;
}

@media only screen and (max-width: 700px) {
    .catpage .products{
    margin-top:0px;
    z-index:-3;
}
.main{
    z-index:-4;
}
    .catpage .main .catlist .cat {
        width: 40%;
        height: 140px;
    }
    .catpage .main .catlist .cat img{
        width: 65%;
        
    }

    .catpage .main .catlist_p .cat_p {
        width: 98%;
        height: 350px;
    }

    .catpage .main {
        min-height: 85vh;
    }

    .catpage .oper {
        width: 94%;
    }

    .catpage .main .catlist {
        height: 36rem;
        margin-top: 50px;
        padding: 10px;
        overflow-x: auto;
    }

    .catpage .main .filter span {
        width: 42%;
        margin-bottom: 10px;
    }
    .catpage .productmin {
        max-height: 78vh;
    }
    .catpage .products .p_info{
        width: 95%;
        line-height:1;
                border-radius: 0px 0px 25px 25px;
                        margin-top: -20px;
                            z-index: -1; 
                            padding-top:25px;
    }
    .catpage .products .p_info h1{
        padding-top: 10px;
        border-top: 1px solid white;
    }
    
    .catpage .products .image .header_p h1{
        color: white;
    font-size: 20px;
    }
    .catpage .products .image{
                background-color: #003566;
        padding: 10px;
                border-radius: 0px 0px 25px 25px;
        min-height: 200px;
        line-height:1;
        width: 93%;
        margin: auto;
       
        
    }
    .catpage .products {
        width: 100%;
        display: block;
    }
    .catpage .products .image img {
        border-radius: 50%;
        background-color: white;
        width: 110px;
    }
    .catpage .products .image .star {
    display: inline;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    font-size: 24px;
    font-weight: 900;
    color: #ffc300;
    margin-top: 0;
}
.catpage .products .image .star i{
    margin:10px;
}
.catpage .products .p_info .seocal {
    position: relative;
    margin-top: 8px;
}
.catpage .products .p_info .p_datalist {
        line-height: 1.5;
        margin-top: 5px;
}
.catpage .productmin{
    max-height:90vh;
}
}