* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scrollbar-width: none;
}

/* 
body {
  border: 9px solid red;
} */

header {
  /* border: 2px solid red; */
  width: 100vw;
  height: 30vh;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  margin: 0;
}

#logoconatainer {
  /* border: 3px solid; */
  display: flex;
  background-color: white;
  justify-content: space-evenly;
  align-items: center;
}

#logobox {
  /* border: 3px solid darkgreen; */
  display: flex;
  width: 50%;
  height: 10vh;
  gap: 15px;
  align-items: center;
}

#flogo {
  /* border: 3px solid red; */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background-color: yellow;
  border-radius: 8px;
  padding: 10px 20px 10px 20px;
}

#flogo #fone {
  height: 24px;
  width: auto;
}

#flogo #ftwo {
  height: 20px;
  width: auto;
}

#tlogo {
  /* border: 3px solid red; */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: #f0f0f0;
  padding: 10px 20px 10px 20px;
  border-radius: 8px;
}

#tlogo #tone {
  height: 24px;
  width: auto;
}

#tlogo #ttwo {
  height: 20px;
  width: auto;
}

#searchcontainer {
  /* border: 3px solid darkmagenta; */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

#searchBox {
  /* border: 3px solid red; */
  width: 65%;
}

#Searchbar {
  border: 3px solid #03a9f4;
  outline: none;
  width: 95%;
  height: 40px;
  padding: 20px;
  border-radius: 12px;
}

#proflieContainer {
  /* border: 3px solid; */
  font-size: 18px;
  padding: 12px;
  display: flex;
  gap: 5px;
}

#navigationciontainer {
  /* border: 4px solid darkblue; */
  border-top: 1px solid;
  border-bottom: 1px solid;
  display: flex;
  justify-content: space-evenly;
  margin-top: 2px;
  padding: 10px;
  background-color: #fff;
  font-weight: 400;
}

#navigationciontainer .nav:hover {
  border-bottom: 3px solid #2874f0;

}

#sliderA {
  /* border: 4px solid red; */
  padding: 20px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-container {
  /* border: 4px solid blue; */
  width: 100%;

  /* margin-left: 80px; */
  max-width: 1200px;
  height: 280px;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-box {
  /* border: 4px solid darkgreen; */
  display: flex;
  height: 100%;
  gap: 18px;
  transition: transform 0.6s ease-in-out;
}

.slide {
  /* border: 2px solid red; */
  height: 100%;
  flex: 0 0 calc(33.33% - 11px);
  border-radius: 12px;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#Ad {
  /* border: 3px solid red; */
  height: 280px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

}

#Adcontainer {
  /* border: 3px solid blue; */
  height: 250px;
  width: 100%;


}

.Adone {
  /* border: 3px solid seagreen; */
  flex: 1;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  height: 200px;
  width: 90%;

}

.Adone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transfrom 0.3s ease;
}

.Adone img:hover {
  transform: scale(1.05);
}

#Adbox {
  /* border: 4px solid; */
  display: flex;
  height: 240px;
  justify-content: space-between;
  gap: 15px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#topCard {
  /* border: 3px solid green; */
  display: flex;
  justify-content: center;
  align-items: center;
}

#topcontainer {
  /* border: 4px solid blueviolet; */
  width: 85%;
  display: flex;
  flex-direction: column;
  background: rgba(240, 167, 167, 0.26);
  padding: 20px;
  border-radius: 15px;
}

#topbox {
  /* border: 3px solid darkblue; */
  width: 100%;
  display: flex;
  padding: 4px;
  justify-content: space-between;
}

.topone img {
  border-radius: 12px;
}

#cover {
  /* border: 3px solid red; */
  width: 100%;

}

#coverbox {
  /* border: 3px solid darkblue; */
  /* height: 100%; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#coverbox img {
  /* border: 3px solid; */
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
}


#topCardTwo {
  /* border: 3px solid green; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#topcontainerTwo {
  /* border: 4px solid blueviolet; */
  width: 85%;
  display: flex;
  flex-direction: column;
  background: paleturquoise;
  padding: 20px;
  border-radius: 15px;
}

#topbox2 {
  /* border: 3px solid darkblue; */
  width: 100%;
  display: flex;
  padding: 4px;
  justify-content: space-between;
}

.toptwo img {
  border-radius: 12px;
  width: 90%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* #Brand {
  border: 3px solid red;
} */

#brandbox {
  /* border: 2px solid gold; */
  display: flex;
  justify-content: start;
  gap: 30px;
  align-items: center;
  padding-left: 120px;

}

.brand {
  padding: 4px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#bannerCarousel {
  width: 600px;
  height: 250px;
  margin: 0 auto;
  perspective: 1000px;
  position: relative;
  padding: 18px;
}

.bannercard {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  transition: transfrom 0.8s ease-in-out, opacity 0.8s ease-in-out;
  backface-visibility: hidden;
  opacity: 0;
  transform: rotateY(90deg);
}

.bannercard.active {
  opacity: 1;
  transform: rotateY(0deg);
}

.bannercard.exit {
  opacity: 0;
  transform: rotateY(-90deg);
}

.bannercard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#productsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 16px;
  background-color: #f1f2f6;
}


.product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}


.value-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #c0392b;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 10;
}

/* Image Wrapper & Image */
.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  mix-blend-mode: multiply;
}


.rating-container {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  margin-top: -30px;
  margin-bottom: 12px;
  align-self: flex-start;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.rating-box {
  background-color: #388e3c;
  color: white;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: bold;
}

.rating-count {
  color: #878787;
}


.brand {
  font-size: 12px;
  color: #878787;
  font-weight: 600;
  display: block;
}

.title {
  font-size: 13px;
  color: #212121;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 6px;
}

/* Price Section */
.price-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.original-price {
  text-decoration: line-through;
  color: #878787;
  font-size: 13px;
}

.offer-price {
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  background-color: #c0392b;
  padding: 2px 6px;
  border-radius: 4px;
}

.bank-offer {
  font-size: 11px;
  color: #388e3c;
  font-weight: 600;
  margin-top: 6px;
}

.bottomnav {
  display: none;
}