/* Product Card Styles - Women Category */

/* Product Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 cards per row */
  gap: 20px;
  padding: 20px 0;
}

/* Mobile responsive: 2 cards per row */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Tablet responsive: 3 cards per row */
@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.product-image { position: relative; padding: 14px; }
.product-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
}

.product-info { 
  padding: 14px 16px 18px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.product-info h5 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.product-info .price {
  margin: 0 0 10px;
  font-weight: 700;
  color: #e63946; /* red accent for price */
}
.btn-view {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  background: #1e90ff;
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.btn-view:hover { background: #0d6efd; transform: translateY(-1px); }

/* Buy Now button style: black background, white text */
.btn-buy {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid #000;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.btn-buy:hover { background: #111; transform: translateY(-1px); color: #fff; }

/* Fancy single product card (tilt/badge) */
.section #product-cards .card,
#product-cards .card {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(0,0,0,.08);
}

#product-cards .badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: #ff4757;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: .3px;
}

#product-cards .tilt {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
#product-cards .img img {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}
#product-cards .tilt:hover .img img { transform: scale(1.03); }

#product-cards .info {
  padding: 18px 20px 22px;
}
#product-cards .cat {
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}
#product-cards .title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0 0 8px;
}
#product-cards .desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Utility: rating, price row, CTA */
.price-row { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.price-row .price { font-size: 18px; font-weight: 700; color: #e63946; }
.price-row .old-price { font-size: 14px; color: #999; text-decoration: line-through; }
.price-row .discount { font-size: 12px; color: #16a34a; font-weight: 700; }

.cta-row { display: flex; gap: 12px; margin-top: 12px; }
.btn-primary {
  background: #1e90ff; color: #fff; border: none; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.btn-primary:hover { background: #0d6efd; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #1e90ff; border: 1px solid #1e90ff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; cursor: pointer; transition: color .2s ease, border-color .2s ease;
}
.btn-outline:hover { color: #0d6efd; border-color: #0d6efd; }

/* Minor helpers */
.badge-green { background: #16a34a; }
.badge-orange { background: #f59e0b; }
.text-muted { color: #777; }