/* section design */
h1,h2,h3,h4,h5,h6,span,p{
    direction: rtl;
}
input{
    text-align: center;
}
.cate-s{
    border-radius: 15px;
    margin-top: 15px;
    box-shadow: 1px 1px 12px 1px  rgba(0, 0, 0, 0.438);
    direction: rtl;
    z-index: 1;
    transition-duration: 1s;
    margin-right: 5%;
    margin-left: 5%;
}
.cate-s:hover{
    box-shadow: 1px 1px 12px 1px  rgba(0, 0, 0, 0.068);
}
.cate-option{
    border: 1px solid black;
    border-radius: 15px;
    margin: 10px;
}
.product_section_esna{
    border-radius: 15px;
    box-shadow: 1px 1px 12px 1px  rgba(0, 0, 0, 0.438);
    padding: 20px;
    margin: 5px;
    margin-top: 15px;
    transition-duration: 1s;
}
.product_section_esna:hover{
    box-shadow: 1px 1px 12px 1px  rgba(0, 0, 0, 0.068);
}
/* buttons */
.btn_cate{
    font-size: 15px;
    font-weight: 700;
    padding: 9px;
    margin: 1px;
    border: none;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    border: 3px solid #217EF8;

    }
    .btn_cate.active{
        background-color: rgb(33, 126, 248);
        color: rgb(255, 255, 255);
    }
    .btn_cate:hover{
        background-color: rgb(216, 229, 255);
        color: rgb(0, 0, 0);
        box-shadow: 0px 0px 20px;
        text-shadow:0px 0px 1px #217EF8 ;

    }
    .btn_cate.active:hover{
        background-color: rgb(97, 166, 255);
        color: white;

    }
    .btn_cate:hover img{
        background-color: rgb(216, 229, 255);
        border: 3px solid #217EF8;
        box-shadow: 0px 0px 5px;


    }

/* category design */

.cate ,.product_section_esna {
padding: 1%;
animation-name: showsection;
animation-duration: 0.2s;
animation-timing-function: linear;
animation-direction: alternate;
border: 10px solid #217EF8;
border-radius: 14px;
padding: 10px;
}




/* newsletter RTL fix */
#newsletter-form .input-group .btn {
    border-top-right-radius: var(--bs-border-radius-sm) !important;
    border-bottom-right-radius: var(--bs-border-radius-sm) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
#newsletter-form .input-group .form-control {
    border-top-left-radius: var(--bs-border-radius-sm) !important;
    border-bottom-left-radius: var(--bs-border-radius-sm) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* footer */
.footer_cate{
background-color: rgb(33, 126, 248);
position: fixed;
padding: 5px;
bottom: 0;
right: 0;
left: 0;
z-index: 3;
}
.footer-catt{
    padding-top:100px;
}
.footer_cate .col {
margin-left: 10px;
margin-right: 10px;
    padding-bottom: 25px;
}
.footer_cate .sub h4{
padding-top: 5px;
font-weight: 900;
color: white;
font-size: 20px;

}
.footer_cate .sub .form-control{
    background-color: white;

}
.submit-btn{
    background-color: #02c408!important;
   width: 100%;
   height: 100%;
   font-weight: 900;
   font-size: 25px;
    color: white;

}


.sub-btn{
    margin-top: 10px;
}
.submit-btn:hover{
    border: white 2px solid;
    color: white;
}


@keyframes showsection {
  0%   {opacity: 0.0 ; }
  50%  {opacity: 0.5; }
  100% {opacity: 1;}
}

.card-img-top{
    border-radius: 10px;
    object-fit: cover;
    min-height: 145px;
    margin-bottom: 10px;
}
.cate  h2{
    padding-bottom: 20px;

}

#custom_products .cate-show {
    margin-top: 8px;
}

#custom_products h2 {
    padding-bottom: 12px;
    font-weight: 900;
}

.details-grid .cate {
    text-align: right;
}

#custom_products {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid rgba(33, 126, 248, 0.35);
    text-align: center;
}

#custom_products:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

#custom_product_detail_inner:empty {
    display: none;
}

.cate .cate-show {
    align-content: start;
    width: 100%;
}

.cate .cate-show .btn_cate {
    width: 100%;
    box-sizing: border-box;
}



/* navbar Mobile */
    .productbasket{
        width: 50px;
        height: 50px;
        border-radius: 10px;
        border: solid 3px #217EF8;
        position: absolute;
        top: 27px;
        right: 30px;
        transition: all 300ms;
        background-color: white;
        overflow: hidden;
    }
    .productbasket span{
        font-size: 20px;
        font-weight: 800;

    }
    .productbasket svg{
        margin-bottom: 15px;
        margin-top: 8px;
    }

    .productbasket:hover{
        background-color: rgb(235, 235, 235);
        width: 150px;

    }

    .mainmenu{
        width: 50px;
        height: 50px;
        border-radius: 10px;
        border: solid 3px #217EF8;
        position: absolute;
        top: 27px;
        left: 30px;
        transition: all 300ms;
        background-color: white;
        overflow: hidden;
    }
    .mainmenu span{
        font-size: 20px;
        font-weight: 800;
    }
    .mainmenu svg{
        margin-bottom: 6px;
        margin-top: 4px;
        margin-right: -4px;
    }
    .mainmenu:hover svg{
        margin-bottom: 0px;
        margin-top: 0px;
        margin-right: 0px;
    }


    .mainmenu:hover{
        background-color: rgb(235, 235, 235);
        width: 150px;
        margin-bottom: 0px;
        margin-top: 0px;
    }
    .offcanvas-title{
        font-size: 30px;
        font-weight: 900;
        border-bottom: #217EF8 4px solid;
    }
    .offcanvas-body ul{
        margin-top: 15px;
        padding-top: 15px;
        font-size: 25px;
        line-height: 26px;
        border-top: #217EF8 2px solid;
    }
    .offcanvas-body ul li a{
        border-bottom: #217EF8 2px solid;
    }
/* Grid System */
    .cate .cate-show{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 4px;
    }
    .details-grid{
        display: grid;
        grid-template-columns: 30% 70%;
        margin-right: 5% ;
        margin-left: 5% ;
    }
/* end Grid System */



/* Meida Respond */
@media screen and (max-width: 1550px) {
.footer_cate .sub h4{
        font-size: 15px;

        }

}
@media screen and (max-width: 1400px) {

    .submit-btn{
        font-size: 20px;
    }
}
@media screen and (max-width: 1220px) {
    .footer_cate .sub h4{
        font-size: 13px;

        }

}
@media screen and (max-width: 1000px) {
    .cate-header{
        padding-bottom: 1%;
    }

}
@media screen and (max-width: 900px) {
    .dragi-side{
        position: sticky;
        top: 200px;
    }
    .footer_cate{
        position: relative;
    }
    .details-grid{
        display: grid;
        grid-template-columns:  100%;
    }
    .cate-s{
        position: absolute;
    }
    #showselective{
        position: absolute;
        z-index: 100000;
        background: white;
    }

}
@media screen and (max-width: 800px) {
    .cate-header{
        padding-bottom: 2%;
    }
    .cate .cate-show{
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
@media screen and (max-width: 600px) {
    .cate-header{
        padding-bottom: 3%;
    }
}




.right_side .title_of_product,
#custom_product_detail .title_of_product,
#calculateform .title_of_product {
    font-size: 30px;
    font-weight: 900;
    padding-bottom: 15px;
    text-align: center;
    direction: rtl;
}
.title_of_section{
    font-size: 20px;
    font-weight: 900;
    text-align: right;
    direction: rtl;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 102, 255, 0.404);
    border-top: 2px solid rgba(0, 102, 255, 0.404);
    padding-right: 10px;
}

.title_of_section i{
float: left;
padding-left: 10px;
line-height: 15px;
font-size: 30px;
color: #217EF8;
}

#calculateform h4 {
    font-size: 18px;
    font-weight: 900;
    text-align: right;
    direction: rtl;
    margin-bottom: 8px;
}

#calculateform .form-select,
#calculateform .form-control {
    direction: rtl;
    text-align: right;
}

#calculateform .form-select.text-center,
#calculateform #select_price {
    text-align: center;
}

#calculateform .form-select option {
    direction: rtl;
    text-align: right;
}

#calculateform .input-group-custom {
    direction: rtl;
    margin-top: 4px;
}

#calculateform .input-group-custom .form-control {
    text-align: center;
}

#calculateform .d-grid .btn-primary {
    width: 100%;
    font-weight: 900;
    font-size: 22px;
    padding: 12px 16px;
}
.product_section_esna .carousel{
    margin: 50px;
    border-radius: 50px;
}
.product_section_esna .carousel .carousel-inner{
    border-radius: 17px
}
.dir_rtl{
    direction: rtl;
    text-align: right;
}

.hero-slider img{
    min-height: auto;
}
.hero-slider .left-arrow{
    top: 80%;
}
.hero-slider .right-arrow{
    top: 80%;
}
#stand_size{
 direction: ltr;
}
