body {
  font-family: Arial;
  margin: 0;
  background: #f5f5f5;
}

header {
 display: flex;
  align-items: center;
  gap: 10px;
  background: #e677b8;
  color: rgb(7, 0, 0);
  padding: 10px;
}
.banner-img img {
  width: 100%;
  height: 50px;
  object-fit: cover;
}
.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 👈 4 products ek row me */
  gap: 10px;
  padding: 10px;
}
@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: white;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
  font-size: 14px;
}

.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  border-radius: 4px;
}
.card h4 {
  margin: 8px 0 4px;
  font-size: 16px;
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;   /* 👈 MAGIC LINE (square box) */
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  max-height: 180px;
  height: 150px;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* 👈 Amazon style */
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.slide.active {
  opacity: 1;
}

.price {
  color: #008000;
  font-weight: bold;
  margin-bottom: 5px;
}
select, input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
}

button {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  background: green;
  color: white;
  border: none;
  border-radius: 6px;
}
.footer {
  background: linear-gradient(135deg, #1a1a1a, #000);
  color: white;
  padding: 30px 15px;
  margin-top: 30px;
  font-family: Arial;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.brand {
  font-size: 22px;
  color: #ff4da6;
  margin-bottom: 5px;
}

.tagline {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  text-align: left;
}

.footer-grid h4 {
  margin-bottom: 8px;
  color: #ff4da6;
}

.footer-grid a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin: 4px 0;
  transition: 0.3s;
}

.footer-grid a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-grid p {
  font-size: 13px;
  color: #ccc;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 10px;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.copy {
  margin-top: 10px;
  font-size: 12px;
  color: #aaa;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10; /* IMPORTANT */
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
.menu {
  margin-left: auto;
  position: relative;
  font-size: 22px;
  cursor: pointer;
}

.dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 30px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-radius: 6px;
  overflow: hidden;
}

.dropdown a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: black;
}

.dropdown a:hover {
  background: #f2f2f2;
}