body{
  background-color:whitesmoke;
  margin:0;
  padding:0;
  margin:0;
   overflow-x: hidden;     /*  for element */
}

/* General Reset for Mobile Responsiveness */
html, body {
  max-width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Responsive Adjustments for Tablets and Smaller Devices */
@media (max-width: 768px) {
  /* Stack items in .main_nav */
  .main_nav {
      flex-direction: column;
      align-items: flex-start;
  }

  /* Adjust the search bar width */
  .nav-search {
      width: 100%;
      max-width: 600px; /* Cap the maximum width */
  }
}

/* Responsive Adjustments for Phones */
@media (max-width: 480px) {
  /* Stack navigation items vertically */
  .main_nav {
      flex-direction: column;
      align-items: flex-start;
      padding: 0; /* Remove unnecessary padding */
  }

  /* Resize logo */
  .logo {
      height: 40px;
      width: auto; /* Keep proportional scaling */
  }

  /* Adjust font sizes and spacing for links */
  .nav2 a {
      font-size: 14px;
      margin: 10px 0;
  }

  /* Adjust search bar elements */
  .search-input {
      width: 90%;
      font-size: 1rem;
      margin: 0 auto; /* Center-align input box */
  }

  /* Hide unnecessary items or adjust layout further if needed */
  .nav-account, .nav-return, .nav-logo {
      display: none; /* Remove items that don't fit on small screens */
  }

  /* Make container fully scrollable */
  .container {
      overflow: auto;
      max-width: 100%;
  }

  /* Adjust product display */
  .product {
      width: 100%; /* Make products adapt to screen width */
      margin: 10px 0; /* Add spacing between items */
  }
}

/* Adjustments for Extra Small Devices */
@media (max-width: 360px) {
  .nav2-bar, .item-2, .item-3, .item-4 {
      padding: 5px;
      font-size: 12px; /* Further reduce font size */
  }

  .search-input {
      width: 100%;
      font-size: 0.9rem; /* Smaller font size for small screens */
  }
}


  
.main_nav{
    height:120px;
    width: auto;
    background-color:#0F1111;
    display:flex;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content:space-evenly;
    border: 2px solid transparent;/* Define a consistent border width */
    transition: border-color 0.3s ease; /* Smooth transition */
    outline: none; /* No outline by default */
    padding-top: 0px;
}

                                                /** Box-1 **/
.logo{
    height:90px;
    width:auto;
    margin-right:0.1px;

}
.logo:hover{
  background-color:#0F1111;
  
}
                                                /** Border Effect **/
 
.border{
    border: 1.5px solid transparent;
    padding: 10px; /* Adjust padding as needed */
    box-sizing: border-box;
}
  
.border:hover{
  border-color: white; /* Only change the color, not the size */
  
}


                                                /** Box-2 **/
                                                
.second-box{
    display:flex;
    align-items:center;
    margin-left:5px;
    margin-right:60px;
    

}

.adress-first{
    color:#cccccc;
    margin-bottom:0;
    
}
.icon-first{
    color:white;
    
    
}
.fa-location-dot{
    color:rgb(254, 250, 250);
}

.nav-icon {
    display: flex;
    align-items: center;
    margin-right:5px;
  }
  .nav-search{
    align-items:center;
    margin-bottom:0;

  }

                                                /* Box-3 */
 
 .nav-search{
    display:flex;
    background-color:rgb(196, 196, 196);
    border-radius: 4px;
    border:none;                                 /** default jo border rhta oo ni rhega **/
 }               
 
 .search-option{
    background-color:rgb(196, 196, 196);
    width:40px;
   text-align: center;
  
    border:none;
 }

 .search-input{
   font-size: larger;
   width: 600px;
   height:40px;
  border:none;
 }

 .search-button{
    display:flex;
    justify-content:center;
    font-size:1.2rem;
    border:none;
    background-color:rgb(196, 196, 196);
 }


                                                 /** Box-3 **/
 
#nav-hello{
    font-size:0.9rem;
    color:rgb(234, 229, 229);
    padding:0;
    margin-top:10px;
   
}
#nav-account{
  font-size:1.1rem;
    color:rgb(254, 243, 243);
    margin:0;
    padding:0;
    margin-bottom: 10px;
    font-weight: 700;
}

                                                   /**  Box-4 **/
  
 #nr-1{
    font-size:0.9rem;
    color:rgb(234, 229, 229);
    padding:0;
    margin:0;
 }                                   
 
 #nr-2{
    
   color:rgb(245, 242, 242);
   font-size:1.1rem;  
   margin:0;
   padding:0;
   margin-bottom: 10px;
   font-weight: 700;
   
}

                                                /** Box-5 **/

.nav-logo i{
    font-size:40px;
  color:white;
 
}    

.nav-logo{
    font-size:20px;
    color:white;
    font-weight:700px;
}

/************************** Nav2 *****************************/

.nav2{
    height:70px; 
    width:auto;
    background-color:#232f3e;
    display:flex;
    align-items: center;
    font-size:40px;
    color:white;
    
   
}

a{
    text-decoration:none;
}

.nav2 a#item-2,
a#item-3,a#item-4{
    
    font-size:35px;
    margin-left:30px;
    margin-right:20px;
    color:white;

}
/*************  nav3 *********************/

.nav3{
    height:1500px; 
    width:auto;
    background-color:whitesmoke;
    color:red;
    position:relative;
}
.nav3-arrow {
    height:150px;
    width:50px;
    background-color:blue;
    color:yellow;
   display:flex;

   flex-direction:column; /*arrange item virecally */
   align-items:center;
   justify-content:center;
    font-size:40px;
    z-index:2;
    position: absolute;
}
.nav3-container{
    position:absolute;
    margin-left:50px;
    height:150px;
    width:auto;
    background-color: whitesmoke;
    color:red;
    z-index:1;
    justify-content:center;
}


.nav-4 {
    height: 10px;
    width: 13px;
    color: red;
    background-color: red;
}

/* nav 3*/

img{
  border:2px solid aqua;
  margin:15px;
  height:200px;
  width:250px;
  overflow-clip-margin: content-box;
    overflow: clip;
    overflow-x:hidden;
    overflow-y:hidden;
    flex-wrap: wrap
   
    
  
    
}


img:hover {
  transform: scale(1.2); /* Adjust the scale factor as needed */
  transition: transform 0.3s ease-in-out; /* Add a smooth transition */
  
}

img:hover{
  background-color: yellow;
  stroke: rgb(41, 57, 57);
  z-index: 1;
}
span:hover + div {
  display: block;
}
.border:hover {
  border: 1.2px solid white;
  transition: border 0.3s ease-in-out;
}

.product{
  display: inline-block; 
  margin-bottom: 0;
  position: relative;
  opacity: 0; /* Start hidden */
    transform: scale(0.5); /* Scale effect for appearance */
    animation: productAppear 2s ease-out forwards; /* Product animation */
    margin: 0; 
    padding: 0; 
}

/* Product entry animation */
@keyframes productAppear {
  0% {
      opacity: 0;
      transform: translateX(var(--start-direction)) scale(0.5);
  }
  100% {
      opacity: 1;
      transform: translateX(0) scale(1);
  }
}

.product-img {
  
  display: block;
  position: relative;
  
}

#md-text{
  padding-left:10px;
}

.text-container-2{
  padding-left:14px;
  display: flex;
  gap:50px;
  align-items: center;
 
}

.button {
  display:flex;
  flex-direction: column;
  background-color: whitesmoke; /* Amazon-like yellow */
  color: #111; /* Dark text */
  border: 1px solid #a88734; /* Slight border */
  border: none;
  outline: none;
  padding-left:20px;
  padding-right:20px;
  font-size: 14px; /* Smaller font size */
  font-weight: bold; /* Bold text */
  text-align: center;
  cursor: pointer;
  border-radius: 3px; /* Subtle rounded edges */
   transition: background-color 0.3s ease-in-out; /* Smooth hover*/
   
}

.button:hover {
  color: #ddb347; /* Darker shade on hover */
}

#buy-now {
  padding: left 10px;
  
}

.type{
  padding-left: 12px;
}

.price{
  padding-right: 5px;
}
/*                   flower*/
.classnamep {
  position: relative;
  overflow: hidden; /* Ensure the flowers stay inside the div */
  height: 300px; /* Adjust height */
  background-color: #f8f9fa; /* Optional background */
  
}

.flower {
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url('assets/flower.png'); /* Path to your flower image */
  background-size: cover;
  animation: fall 2s linear infinite; /* Continuous fall */
  animation-iteration-count: 4;
  z-index: index -1;
}


@keyframes fall {
  0% {
      top: -20px;
      left: calc(100% * var(--start)); /* Random start position */
      opacity: 1;
  }
  100% {
      top: 100%;
      left: calc(100% * var(--end)); /* Random end position */
      opacity: 0;
  }
}

.flower::before{
  background-image: url('assets/flower.png'); /* Add a flower petal image */
  background-size: 50px 50px;
  background-repeat: repeat;
}

@keyframes flowerFall {
  0% {
    background-position: 0 -600px;
  }
  100% {
    background-position: 0 600px;
  }
}

/* Left, Right, and Center Animations */
.classnamep .product.animate-left {
  animation: slideFromLeft 1.5s ease-out forwards;
}

.classnamep .product.animate-right {
  animation: slideFromRight 1.5s ease-out forwards;
}

.classnamep .product.animate-center {
  animation: slideFromCenter 1.5s ease-out forwards;
}

@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(200px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromCenter {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1{
  padding-left: 10px;
}

#liveselling{
  padding-left: 10px;
  /* padding-bottom: 200px; */
}
.live{
  background-color:aqua;
  padding-bottom: 10px;
}
/* Floating Button */
#chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  /* background-color: #007bff; */
  /* border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#chatbot-button img {
  width: 30px;
  height: 30px;
}

/* Chatbot Iframe Container */
#chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 400px;
  height: 500px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none; /* Initially hidden */
  z-index: 1001;
}

/* Chatbot Iframe */
#chatbot-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
