* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Golden Carousel Bar */
.lakme-golden-bar {
  background: linear-gradient(to right, #c59d32, #fdf6d7, #c59d32);
  color: #000;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  position: relative;
  height: 40px;
  line-height: 40px;
  border-top: 1px solid #e0c374;
  border-bottom: 1px solid #e0c374;
}

.carousel-box {
  position: relative;
  height: 100%;
}

.carousel-message {
  position: absolute;
  width: 100%;
  left: 0;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  animation: slideInOut 12s infinite;
}

.carousel-message:nth-child(2) {
  animation-delay: 4s;
}

.carousel-message:nth-child(3) {
  animation-delay: 8s;
}

@keyframes slideInOut {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  5% {
    transform: translateX(0%);
    opacity: 1;
  }

  30% {
    transform: translateX(0%);
    opacity: 1;
  }

  35% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Title Bar */
.title {
  width: 100%;
  height: 60px;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Name {
  color: #EFEFEF;
  font-size: 28px;
  font-weight: bold;
}

.search-wrapper {
  position: absolute;
  right: 0px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Search button styling */
#search-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

/* Hidden input by default */
#search-input {
  width: 0;
  opacity: 0;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: all 0.4s ease;
}

.title .search-wrapper a i,
.title .search-wrapper button i {
  color: #EFEFEF;
  font-size: 20px;
  margin-right: 10px;
}

/* Optional: Change color on hover */
.title .search-wrapper a:hover i,
.title .search-wrapper button:hover i {
  color: purple;
  font-size: 20px;
}



/* When active, expand and show */
.search-wrapper.active #search-input {
  width: 350px;
  opacity: 1;
}


/* Navigation Bar */
.navbar {
  background: linear-gradient(to right, #e9e9e9, #ffffff, #e9e9e9);
  color: #000000;
  padding: 0 30px;
  display: flex;
  align-items: center;
  height: 40px;
  justify-content: center;
  position: relative;
  z-index: 999;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #000000;
  text-decoration: none;
  padding: 0px 10px;
  height: 40px;
  display: inline-block;
  font-weight: 500;
  font-size: larger;
}

/* Mega Menu */
.mega-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 400px;
  transform: translateX(-50%);
  background: white;
  color: black;
  width: 70rem;
  padding: 30px 0;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.mega-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}

.mega-column h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.mega-column a {
  color: #111;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: ease 0.3s;
}

.mega-column a:hover {
  background-color: #EFEFEF;
}

.dropdown:hover .mega-menu {
  display: block;
}

/* Small Menu for Orders */
.small-menu {
  left: 100px;
  width: auto;
  padding: 20px 30px;
}

.small-menu .mega-container {
  justify-content: flex-start;
  padding: 0;
}

.banner-img {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.banner-img a {
  width: 100%;
  /* Make anchor tag take full width */
  display: block;
  /* Block makes it stretch horizontally */
}

.banner-img img {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  /* Prevent inline gap under image */
}

.product-elements {
  position: relative;
  width: 100%;
  top: 0;
}

.product-category {
  display: inline-block;
  position: absolute;
  top: 0px;
  padding: 15px 20px;
  height: 20px;
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  text-transform: capitalize;
  z-index: 1;
  width: auto; /* <- FIXED */
  white-space: nowrap; /* optional: prevents any line breaks */
}


.product {
  display: flex;
  position: relative;
  width: 100%;
  top: 50px;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  overflow-y: hidden;
  padding: 20px;
}

.product-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  width: 100%;
  /* margin-left: 40px; */
  scroll-behavior: smooth;
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc(100% / 2 - 20px);
  /* 4 cards visible at a time with spacing */
  max-width: calc(100% / 4 - 20px);
  /* Same as flex-basis */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  height: 450px;
}

.product-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-tag {
  position: absolute;
  background: #fff;
  padding: 5px;
  border-radius: 5px;
  color: #bb8fce;
  right: 10px;
  top: 10px;
  text-transform: capitalize;
}

.card-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  width: 90%;
  text-transform: capitalize;
  border: none;
  outline: none;
  background: #ffffff;
  border-radius: 5px;
  transition: 0.5s;
  cursor: pointer;
  opacity: 0;
}

.product-card:hover .card-btn {
  opacity: 1;
}

.card-btn:hover {
  background: #009688;
  color: #ffffff;
}

.product-info {
  width: 100%;
  height: 40px;
  padding: 10px;
}

.product-brand {
  text-transform: uppercase;
}

.product-short-description {
  width: 100%;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  opacity: 0.5;
  text-transform: capitalize;
  margin: 5px 0;
}

.price {
  font-weight: 900;
  font-size: 20px;
}

.actual-price {
  margin-left: 20px;
  opacity: 0.5;
  text-decoration: line-through;
  font-size: 16px;
}

.pre-btn,
.next-btn {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* Center vertically */
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  border: none;
  cursor: pointer;
  z-index: 10;
  /* Ensure buttons appear above content */
}

.next-btn {
  position: absolute;
  right: 0;
}

.pre-btn {
  left: 0;
}

.pre-btn img,
next-btn img {
  opacity: 1;
}

.nxt,
.pre {
  height: 20px;
}


.brands {
  display: flex;
  flex-direction: column;
  position: relative;
  top:50px;
  background-color: #ffffff;
  width: 100%;
  height: 56.2rem;
  margin: 0;
  padding: 0px;
}

.product-container-1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.brands-heading {
  display: inline-block;
  padding: 0px 20px;
  height: 20px;
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  text-transform: capitalize;
}

.card-1 {
  display: grid;
  grid-template-columns: repeat(4, 8fr);
  position: relative;
  background-color: #ffffff;
  width: 15rem;
  height: 23.7rem;
  margin: 0 0 20px 20px;
  border-radius: 5px;
  box-sizing: border-box;
  overflow: hidden;
  transition: 0.4s ease;
}

.image img {
  transition: transform 1.5s ease;
  transform-origin: center;
  width: 100%;
}

/* .brand-img:hover {
    transform: rotateY(360deg);
} */

.product-1 {
  position: absolute;
}

.offers {
  position: absolute;
  background: #fff;
  padding: 3px;
  border-radius: 5px;
  color: rgb(85, 166, 85);
  right: 10px;
  top: 10px;
  text-transform: capitalize;
}

.brand-btn {
  position: absolute;
  height: 40px;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  width: 90%;
  text-transform: capitalize;
  border: none;
  outline: none;
  background: rgba(167, 165, 165, 0.3);
  border-radius: 5px;
  transition: 0.5s;
  cursor: pointer;
  color: #EFEFEF;
  /* opacity: 0; */
}

.card-1:hover .brand-btn {
  opacity: 1;
  color: #ffffff;
}

.card-1:hover {
  scale: 1.1;

}

.brand-btn:hover {
  opacity: 0.5;
  background-color: rgba(0, 0, 0, 0.1);
  color: #EFEFEF;
  text-transform: capitalize;
  font-size: 14px;
  font-weight: bolder;
  letter-spacing: 2px;
}

.details {
  position: relative;
  top: 320px;
}

.details h2 {
  position: absolute;
  margin: 5px 5px;
}

.details span {
  height: 20px;
  line-height: 90px;
  opacity: 0.5;
  text-transform: capitalize;
}