/* Heart icon */
.heart {
  /* position: absolute; */
  bottom: 10px;
  left: 10px;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.8;
  padding: 10px;
}

.heart:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* Heart active state (clicked) */
.heart.active {
  color: #000000;
}

/* Message that appears when clicked */
.heart-msg {
  position: absolute;
  bottom: 10px;
  left: 45px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}


.heart-msg.show {
  opacity: 1;
}

.img-box {
  position: relative;
}

/*////// */


.sticker-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 10px;
  font-size: 0.85rem;
  border-radius: 6px;
  z-index: 10;
}



.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}
.product-card h3 {
  padding: 10px 0;
}

.product-card {
  background: #fff;
  border-radius: 0px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform .2s;
}

.product-card:hover {
  transform: translateY(-5px);
}


.img-box {
  width: 100%;
  height: 260px; 
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
}

.buy-btn {
  background: #000000;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.buy-btn:hover {
  background: #0011ff;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
