
@font-face {
    font-family: Cairo;
    src: url(https://hometech.brain-solutions.agency/fonts/Cairo.ttf);
  }

html{
    padding: 0;

    font-family:  "Cairo", sans-serif;
    direction: rtl;
    overflow-x: hidden;
    overflow-y: scroll;
    }

    body{
        direction: rtl;
        font-family:  "Cairo", sans-serif;
        position: relative;
        overflow-x: hidden;
        text-align: right;

    }
    .container-fluid,.container{
        padding: 0;
    }
    a{
        text-decoration: none !important;
        cursor: pointer;
    }


/* raduis */
.radius-5{
    border-radius: 5px !important;
}
.radius-10{
    border-radius: 10px !important;
}
.radius-20{
    border-radius: 50px;
}
.radius-30{
    border-radius: 30px;
}
.radius-40{
    border-radius: 40px;
}
.radius-50{
    border-radius: 50px;
}

.bg-pri{
    background: #4c173c;
    transition:all ease-in-out .2s
}
.bg-sec{
    background: #daa10a;
    transition:all ease-in-out .2s
}
.btn.bg-pri{
    transition:all ease-in-out .2s
}
.btn.bg-pri:hover{
    background-color:white;
    color:#4c173c ;
    border:thin solid rgb(112, 123, 189)
}
.bg-grey{
    background: grey;
}
.text-pri{
    color: #4c173c;
}
.text-sec{
    color: #daa10a;
}
.text-grey{
    color: grey;
}
.container-fluid{
    margin: 0;
    padding: 0
}


.f-light{
    font-weight: 100;
}

.f-bold{
    font-weight: bold;
}
.f-bolder{
    font-weight: bolder;
}
.f-xsmall{
    font-size: x-small;
}
.f-small{
    font-size: small;
}
.f-medium{
    font-size: medium;
}
.f-large{
    font-size: large;
}
.f-xlarge{
    font-size: xx-large;
}
.me-auto{
    margin-inline-start: auto;
}


.top-nav{
    font-weight: 100;
background: #4c173c ;
padding: 0;
line-height: 30px;

}
.top-nav ul{

    margin-block-end: 0 !important;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    ;
}
.top-nav ul li{

    font-size: 14px;

}
.top-nav ul li a{
    color: white;
}
.main-nav{
    width: 100%;
    font-weight: 300;
background: #4c173c ;
padding: 0;
line-height: 30px;
color: white;
/* font-family: 'Poppins' !important; */
z-index: 3;
}

.main-nav ul{
    width: 100%;;
    margin-block-end: 0 !important;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    ;

}


.main-nav ul li a img{
    height: 70px;
    width: auto;
}

.shopping-icon{
    position: relative;
    color: white;
    display: inline;
}


#wish-icon{
    position: relative;
}

.bdg{
    padding: 5px;;
    background: #daa10a;
    color: white;
    border-radius:50%;
    position: absolute;
    top: -10px;
    left: 0;
    line-height: 5px;
    font-size: 10px;
}

.second-nav{
padding-inline: 5px;
padding-block: 3px;
width: 100%;
position: relative;
background: whitesmoke;

}
.nav-content{
    background: white;
display:flex;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    width: calc(100% - 20px);
    height: 400px;
    border-radius: 15px;;
    transition: display ease-in 1s;
    transition: top ease-in 2s;
    transition: opacity ease-in .5s;
    top: 0;
    left:20px;
    margin-left:auto;
    margin-right: auto;
    z-index: 5;
    transform: translateY(300px); /* Slightly below its final position */
    transition: opacity 0.3s ease-in, transform 0.3s ease-out; /* Smooth transitions */

}

.bg-overlay{
z-index: 2;
position: absolute;
top:0;
left:0;
transform: translateY(120px);
visibility: hidden;
opacity: 0;
width: 100vh;
background: rgba(0, 0, 0, 0.096);
transition: opacity 0.3s ease-in, transform 0.3s ease-out; /* Smooth transitions */
}
.bg-overlay.active{
    opacity: 1;
visibility: visible;
}


.nav-content.active{

    visibility: visible;
    left:0;
    opacity: 1;
    transform: translateY(150px);
}
.nav-content .cat-marketimg-image{
    height: 100%;
    width: auto;
    max-width: 30%;
}
.second-nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
}
.second-nav ul li{
    margin-inline: 5px;
}
.second-nav ul li span:last-child{
color: #4c173c;
font-weight: bolder;
font-size: large;
}

.second-nav ul li:hover svg{
    transform: rotate(180deg);
}
.second-nav ul li:hover span:last-child{
    transform: rotate(180deg);
}

.nav-content ul
{
    list-style: none;
    margin-inline-start: 10px;
    padding-inline-start: 10px;
}
.nav-content ul li
{
margin-block: 5px;
}


.product-card {
    border-radius: 10px;
    padding:10px;
    overflow: hidden;
}
.product-card img.pr-image{
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(90%);
    border-radius: 10px;
    transition: all cubic-bezier(0.075, 0.82, 0.165, 1) .3s;
}
.product-card.product-card-list img.pr-image-seach{
    height: 100px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(90%);
    border-radius: 10px;
    transition: all cubic-bezier(0.075, 0.82, 0.165, 1) .3s;
}

.product-card.product-card-list img.pr-image{
    height: 150px;
    width: 150px;
    object-fit: cover;
    object-position: center;
    filter: brightness(90%);
    border-radius: 10px;
    transition: all cubic-bezier(0.075, 0.82, 0.165, 1) .3s;
}
.product-card img.pr-image:hover{
    scale: 1.2;
}
.product-card img:hover{
    filter: brightness(100%);
}
.product-card .card-body{
    height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
    padding: .5rem;
}
.product-card.product-card-list .card-body{
    height: 150px;
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
    padding: .5rem;
}
.product-card h5{
    font-size: small;
    max-lines: 2;
    text-overflow: ellipsis;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to two lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    min-height: 20px;
}
.product-card p{
    font-size: x-small;
    max-lines: 2;
    text-overflow: ellipsis;
    white-space: nowrap; /* Prevent line breaks */
  overflow: hidden;
    min-height: 20px;
}

.product-card .offer_percent{
    padding: 2px;
    background: #daa10a;
    color: white;
    padding-inline: 5px;
    border-radius: 4px;
    display: inline;
}
.product-card .price{
    font-weight: bold;
    font-size: medium;
    padding: 0;
    margin: 0;
}
.product-card .old-price{

    font-size: small;
    text-decoration: line-through;
    color: rgb(180, 54, 54);
    padding: 0;
    margin: 0;
}
.product-card .offer{
    font-weight: bold;
    font-size: medium;
    padding: 0;
    margin: 0;

}
.product-card .offer .currency{
    text-decoration: none !important;
}
.product-card .currency{
font-size: x-small;
font-weight: 300;
margin-inline-end: 5px;
}


.product-card .footer{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* margin-top: auto; */
    align-self: flex-end;
}
.product-card .footer img{
    width: 80px;
    height: auto;

}
.product-card .footer .add-to-cart{
    border: thin solid grey;
    color: #daa10a;
    border-radius: 5px;
    padding: 5px;
    padding-inline: 8px;
    background: white;
    transition: all ease-in-out .2s;
}
.product-card .footer .add-to-cart:hover{
    background: #4c173c;
    color:white ;
}
.product-card-list{
    display: flex;
    flex-direction: row;
}
.home-cat-marketimg-image{
    width: 33%;
    height: 450px;
    object-fit: cover;
    object-position: center;

}
footer ul{
    list-style: none;
}
@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
}
.social-links{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
}
.social-links a{
    margin-inline: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    color:white;
    border: thin solid white;
}

.bottom-nav{
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 9999999;
    background: whitesmoke;
    padding-block: 5px;
    box-shadow: grey 5px 0px 2px;
}
.bottom-nav a{
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.bottom-nav a img{
    width:auto;
    height: 20px;
    margin-block: 5px;
}
.bottom-nav a span{
    font-size: x-small;
    color: grey;
}
@media only screen and (max-width: 640px) {
    .home-cat-marketimg-image{
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;

    }
    .bottom-nav{display: flex;}

}
.product-swiper {
    width: 100%;
    height: 400px
  }



  .search-section{
    width: 100%;
    height: 100%;
    background: white;
    position: absolute;
    top: 0;
    right:0;
    transform: translateX(-100%);
    transition: all ease-in-out .3s;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-x: hidden;
}
.search-section.active{
    transform: translateX(0);
    position: fixed;
}


.product-card .img-cont{
    position: relative;
}

.product-card .img-cont .top-left{
    position: absolute;
    top: 5px;;
    left: 5px;
    height: 25px;
    width: auto;
    z-index: 2;
}
.product-card .img-cont .top-right{
    position: absolute;
    top: 5px;;
    right: 5px;
    height: 25px;
    width: auto;
    z-index: 2;
}

.product-card .img-cont .bottom-right{
    position: absolute;
    bottom: 5px;;
    right: 5px;
    height: 25px;
    width: auto;
    z-index: 2;
}



.product-card .img-cont .bottom-left{
    position: absolute;
    bottom: 5px;;
    left: 5px;
    height: 25px;
    width: auto;
    z-index: 2;
}




.cat-item{
    font-size: small;
}