* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color:white;
}

.logo {
  display: flex;
  animation: fadeIn 1s ease-in-out;
  justify-content: flex-start;
  
}
.logo img{
  width: 90px;
  height: 90px;
  border-radius: 100px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color:white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 1001;
  right: 0;
}

#close-icon {
  display: none; 
}


.navigation {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  text-align: center;
  gap: 35px;
  height: 100%;
  color: #000;
}

.navigation.active {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background-color: white;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  padding: 20px;
  animation: slideIn 0.5s ease-in-out;
}

.nav-link{
  display: flex;
  align-items: center;
  gap: 30px;
  flex-grow: 1;
  display: flex;
}

nav ul li a {
text-decoration: none;
color: black;
font-weight: 500;
}

.nav-link li {
display: inline;
text-decoration: none;
color: black;
font-weight: bold;
}

.nav-link a {
text-decoration: none;
color: black;
font-size: 18px;
font-weight: bold;
transition: all 0.3s ease-in-out;
position: relative;
padding: 5px 0;
}

.nav-link a::after {
content: "";
width: 0;
height: 3px;
background: linear-gradient(90deg, #D63384, #ff85b6);
position: absolute;
left: 50%;
bottom: -5px;
transition: width 0.4s ease, left 0.4s ease;
border-radius: 2px;
}

.nav-link a:hover::after {
width: 100%;
left: 0;
}

.nav-link a:hover {
color: #D63384;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

@keyframes slideIn {
  from {
    right: -320px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}


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

  .menu-toggle {
      display: block; 
      left: 320px;
  }

  .navigation {
      position: fixed;
      top: 0;
      right: -320px; 
      width: 250px;
      height: 100vh;
      background-color: white;
      box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
      flex-direction: column;
      padding: 20px;
      transition: 0.3s ease-in-out;
      z-index: 999;
  }


  .navigation.active {
      right: 0;
  }

  

  .navigation ul {
      flex-direction: column;
      width: 100%;
  }

  .navigation ul li {
      padding: 15px 0;
      border-bottom: 1px solid #ddd;
  }

  .navigation ul li a {
      font-size: 18px;
  }

  .menu-toggle {
    display: flex;
    margin-left:50%;
  }


}


.breadcrumb {
  margin: 20px;
  font-size: 14px;
  color: white;
  display: flex;
  gap:10px;
}

.search-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fdf8e7;
  border-radius: 8px;
  background-image: url("../product_images/down.webp");
  object-fit: cover;
  background-position: center;
  background-size: cover;
  min-height: 350px;
  animation: fadeIn 6s  forwards;
}

.search-head{
  font-size: 48px;
  text-align: center;
  align-items: center;
  margin-top: 7%;
  margin-left: 9%;
  color:white;
  opacity: 0;
  animation: fadeInUp  forwards;
}

.search-bar {
  display: flex;
   opacity: 0;
  animation: fadeIn  forwards 0.5s;
  gap: 15px;
}
.search-bar input{
  width: 90px;
  height: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.search-bar button{
  width: 90px;
  height: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.image{
  border: 1px solid white;
  border-radius: 10px;
}

.image-sec{
  display: flex;
  gap: 15px;
  justify-content: space-evenly;
  margin-bottom: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.image-sec .ear{
  border-radius: 20px;
  width: 250px;
  height: 250px;
  object-fit: fill;
  margin-left: 30px;
}
.image-sec .hand{
  border-radius: 20px;
  width: 250px;
  height: 250px;
  object-fit: fill;
}

.image-sec .neck{
  border-radius: 20px;
  width: 250px;
  height: 250px;
  object-fit: fill;
  margin-right: 30px;
}


/* Fade In Animation */
@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(-20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.para{
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

.search-bar input {
  padding: 12px;
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 5px;
}

.search-bar button {
  padding: 8px 15px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.filter-sort {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  border-radius: 20px;
  margin-right: 20px;
}

.filter-btn {
  margin-left: 20px;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 20px;
  padding: 10px;
  font-weight: bold;
}

select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  border-radius: 20px;
}

.para-1{
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

.trendy{
  display: flex;
  gap: 35px;
  justify-content: center;
  margin-bottom:60px;
  margin-top: 20px;
}

.trendy-image{
  width: 100px;
  height: 100px;
  border-radius: 50px;
}

.products-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.products-wrapper button {
  color: black;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s ease;
  margin-left: 5px;
  margin-right: 5px;
}



.products-wrapper button i {
  font-size: 16px;
  font-weight: bold;
}

/* .products-container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  min-height: 200px;
  padding: 20px;

    display: flex;
    overflow-x: auto; 
    scroll-behavior: smooth;
    padding: 10px;
    gap: 15px;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: #fff;
    overflow-x: auto; 
    scroll-behavior: smooth;
    display: flex;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;

} */

/* .product img{
 width: 100px;
 height: 120px;
 object-fit: fill;
 cursor: pointer;
 border-radius: 10px;
} */

/* .product .old{
  position: absolute;
  text-decoration: line-through;
  color: gray;
  -webkit-animation: mover 1s infinite alternate;
  animation: mover 1s infinite alternate;
  font-size: 20px;
} */

/* .product .price {
  color: #d10a42;
  -webkit-animation: mover 1s infinite alternate;
  animation: mover 1s infinite alternate;
  font-size: 20px;
  font-weight: bold;
  margin-left: 15px;
} */
@-webkit-keyframes mover{
  0%{
    transform: translateX(0);
    transform: translateY(-120deg);
  }
  100%{
    transform: translateX(-10px);
    transform: translateY(-120deg);
  }
}


.product {
  /* background: #f077b3; */
  background:white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

.sales{
  position: absolute;
  top: 10px;
  right: 10px;
  background: gold;
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

.direction {
  display: flex;
  justify-content: center;  /* Centers buttons */
  align-items: center;
  margin-top: 20px;
  gap: 10px;  /* Spacing between buttons */
}

.direction button {
  background-color: #000; /* Black background */
  color: #fff; /* White text */
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s ease;
}

.direction button:hover {
  background-color: #444; /* Darker color on hover */
}

.direction button i {
  font-size: 20px;
}

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-out;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}


.load-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .logo img{
    width: 50px;
    height: 50px;
    border-radius: 50px;
  }
  .search-section {
      flex-direction: column;
  }
  .search-bar input {
      width: 100%;
  }
  .search-bar{
    margin-left: 20%;
    margin-bottom: 20px;
  }
  .search-head h1{
    font-size: 40px;
    color: white;
  }

  .trendy{
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-right: 15px;
  }

  .trendy-image{
    width: 50px;
    height: 50px;
    border-radius: 25px;
  }

  .image-sec .ear{
    display: flex;
    width: 90px;
    height: 90px;
  }
  .image-sec .hand{
    display: flex;
    width: 90px;
    height: 90px;
  }
  .image-sec .neck{
    display: flex;
    width: 90px;
    height: 90px;
  }
}


.product-container {

  margin-bottom: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  min-height: 200px;
  padding: 20px;
    display: flex;
    overflow-x: auto; 
    scroll-behavior: smooth;
    padding: 10px;
    gap: 15px;
    margin-bottom: 10px;
}


#products-container {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Smooth scrolling */
  white-space: nowrap; /* Prevent wrapping */
  gap: 10px; /* Adjust gap if needed */
}


.product-her
{
  margin-bottom: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  min-height: 200px;
  padding: 20px;
    display: flex;
    overflow-x: auto; 
    scroll-behavior: smooth;
    padding: 10px;
    gap: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    color: black;
}

.product-card {
  background: #fff8f3;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.product_images-product{
  width: 100px;
  object-fit: fill;
  cursor: pointer;
  border-radius: 15px;
}

h3 {
  margin: 5px 0;
  font-size: 18px;
}

p {
  color: #555;
  font-size: 14px;
}

.price {
  color: #e91e63;
  font-size: 20px;
  font-weight: bold;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  margin-left: 5px;
}


.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e91e63;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.new {
  background: #ff4081;
}