/* ---------------- Global Reset ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------------- Body Styling ---------------- */
body {
  font-family: 'Dosis', sans-serif;
  background-color: #fafafa;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

a {
  text-decoration: none;
}

/* ---------------- Collection Banner ---------------- */
.collection-banner {
  position: relative;
  width: 100%;
  height: 45vh;   /* Desktop default */
  min-height: 260px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.collection-banner img {
  width: 100%;
  height: 40%;
  object-fit: cover;        /* covers entire area */
  object-position: center;  /* keeps middle in view */
  filter: brightness(0.75);
  transition: transform 0.6s ease;
}

.collection-banner:hover img {
  transform: scale(1.05);
}

/* .banner-text */

.banner-text {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #6e0369;
  z-index: 2;
  display: flex;
  flex-direction: column;   /* stack in rows */
  align-items: center;
  gap: 0.5rem;              /* space between rows */
  padding: 0 1rem;
}

.banner-text h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}






/* ---- Unified Responsive Banner Heights ---- */
@media (max-width: 1024px) {
  .collection-banner {
    height: 38vh;   /* Tablet */
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .collection-banner {
    height: 50%;   /* Small tablets / large phones */
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .collection-banner {
    height: 50%;   /* Mobile */
    min-height: 150px;
  }

}


/* ---------------- Product Grid ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4; /* keeps images consistent */
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card p {
  padding: 0.8rem 0.6rem 0.4rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
  color: #333;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------------- Price Block ---------------- */
.price-block {
  margin: 0.4rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.offer-price {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
  color: #8f0064;
  background: #fceaf7;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
}

.mrp-price {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #aaa;
  text-decoration: line-through;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .collection-banner {
    height: 40vh;
  }
}

@media (max-width: 768px) {
  .collection-banner {
    height: 35vh;
  }
  .product-grid {
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .collection-banner {
    height: 30vh;
    min-height: 220px;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
  .product-card {
    border-radius: 12px;
  }
}



.collection-description {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.collection-description h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #222;
}

.collection-description p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: #555;
}



/* Coming Soon Card */
.product-card.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px; /* match with your product card size */
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.coming-soon-overlay {
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: pulse 1.8s infinite;
}

/* Little glowing animation */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}
