:root {
    --tittle:#cba135;
    --tittle-shadow:#b39230;
    --paragraph:#6f6f6f;
    --paragraph-black:#5f5f5f;
    --borders:#d4af91;
    --gallery-back:#faf5ed;
    --btns:#3c7573;
    --btn-text:#ffffff;
    --btn-hovver:#e0c28f;
    --lines:#8e9775;
    --sidebar:#3c75733f;;
 
 
 }
 @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Cairo+Play:wght@200..1000&family=Harmattan:wght@400;500;600;700&family=Noto+Nastaliq+Urdu:wght@400..700&display=swap');
 
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  .container {
    
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
  }  




 body{
    margin: 0;
  background-color:#efe6d68f;
    color: #eee;
    font-family: Poppins;
    font-size: 12px;
}
hr{
    width: 100px;
    height: 3px;
    background-color: var(--tittle);
    border: none;
    margin: 5px auto;
    
  }
  .line{

width: 200px;
height: 1px;
background-color: #007B6E;
border: none;
margin: 20px auto;
justify-content: right;

  }
  
a{
    text-decoration: none;
}
header{
    width: 900px;
    max-width: 100%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
}
nav img{
    max-width: 120px;
    border-radius: 50%;
    margin: auto;
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav li{
    height: 50px;
}
nav a{
    font-size: 20px;
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--btns);
    font-weight: 900 bold;
    border-bottom: 1px solid #007B6E;

}
nav a:hover{
    border-bottom: 1px solid var(--borders);
    text-shadow: 1px 1px 1px var(--tittle-shadow);


}
.sidebar{

    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 1210;
    background-color: var(--sidebar);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
#menu{
    display: none;
}
.sidebar li , .sidebar a{
    width: 100%;
    color: #fff;

}


.cart-sidebar {
    position: fixed;
    right: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background-color: #3c75733f;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s;
  }
  
  .cart-sidebar.active {
    right: 0;
  }
  
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #d4af91;
  }
  
  .sidebar-footer {
    padding: 10px;
    border-top: 1px solid #d4af91;
    text-align: center;
  }
  .cart-icon {
    font-size: 30px;
    position: relative;
    cursor: pointer;
  }
  
  .cart-icon .material-icons {
    font-size: 32px;
    color: white;
  }
  
  #cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 50%;
  }  



.swiper {
    max-width: 1000px;
    max-height: 700px;
    margin-top: 35px;
   box-shadow: 15px 15px 15px rgba(0, 0, 0, 0.33);
   border: 2px solid #007B6E;
} 
  .swiper-slide {
  
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
  
  }
/* category start */

.containercategory {
    text-align: center;
  align-items: center;
  justify-content: center;
  padding: 1rem;
 
}

.title {
    font-weight: 800;
    font-size: 24px;
    color: #cba135;
    margin-top: 55px;
    align-items: center;

}
.mosth1{
    font-size:24px ;
    align-items: center;
    justify-content: center;
    padding-left: 29rem;
}

.maincontainercategory{
    display: flex;
    justify-content: center;
    align-items: center;
}

.containercategory{
    max-width: max-content;
}


.categories {
padding-top: 3rem;
    display: grid;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
    gap: 2px;
    grid-template-columns: repeat(3,1fr);
  column-gap: 1rem;
  row-gap: 2rem;
}

.logo{
    object-fit: fill;
    width: 50px;
    height:50px;
}

.category {
    display: flex;
    align-items: center;
    margin: auto;
    justify-content: space-between;
    background-color: darkcyan;
    border: 2px solid #a9c3b2;
    border-radius: 25px;
    padding: 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 60px;
    width: 150px;

}

.category:hover {
    transform: scale(1.05);
}

.icon {
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;  
    height: 100%;
    margin: auto;

}

.icon img{
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 50%;
}

.text {
    font-size: 18px;
    color: #333333;
    margin: auto;
}
.showmore{

margin: auto;
text-align: center;
justify-content: center;
padding-top: 1rem;
font-size: 15px;
padding-bottom: 1rem;
}
.showmore a{
 color: #007B6E;
 border-bottom: 1px solid #007B6E;
transition: .5s ease;
}
.showmore a:hover{

    transform:scale(1.05);
}
/* category end */


/*footer start*/
footer{
    background-color: #000;
}
#footer {
    font-size: 14px;
  
}

#footer a.scrollup:hover {
    color: #005f5f;
}

.container1 {
    padding: 20px;
}

h1 {

 font-weight: 800;
    font-size: 24px;
    color: #cba135;
    margin-top: 55px;
    align-items: center;
    justify-content: center;
}

/* Grid layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2 products per row */
    gap: 20px;
    margin: 0 auto;
    padding: 10px;
    max-width: 800px;
}

/* Product card */
.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 10px;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.product img {
    width: 100%;
    height: 200px; /* Fixed height for uniform images */
    object-fit: cover; /* Ensures images are scaled proportionally */
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px 6px 0 0;
}

.product p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.scrollup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    color: #fff;
    background-color: #007b6f65;
    padding: 5px 12px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .scrollup:hover {
    transform: scale(0.84);
  }



@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
    #show{
        display: none;
    }
    #menu{
        display: flex;
    }
    .thumbnail{
        display: none;
    }
    .categories {
        display: grid;
        flex-wrap: wrap;
        justify-content:center;
        align-items: center;
        gap: 2px;
        grid-template-columns: repeat(2,1fr);
        width: 100%;
        column-gap: 3rem;
        row-gap: 1rem;
        padding-right: 1rem;
        padding-left: 1rem;

    }


    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 products per row */
        gap: 20px;
        margin: 0 auto;
        padding: 10px;
        width: 100%;
    }
    
}
.swiper {
    max-width: 300px;
    max-height: 350px;
    margin-top: 35px;
   box-shadow: 15px 15px 15px rgba(0, 0, 0, 0.33);
   border: 2px solid #007B6E;
} 

/*tablet responsive*/
@media(max-width: 768px){
    #about .about-content {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }
  #footer {
        font-size: 12px;
        padding: 1.5rem 1rem;
    }
    .mosth1{
        font-size:24px ;
        align-items: center;
        justify-content: center;
        padding-left: 6.5rem;
    }
}

@media(max-width:528px){


    #home nav .mainbar{
        padding: 30px;
        padding-bottom: 10px;
    }

}