/* =========================================================
   GIFTNETAPP PREMIUM PRODUCT CARD REDESIGN (Matches Target Image 1)
   Compact Height & Modern Aesthetics
   ========================================================= */

.gn-product-card-wrap {
  padding: 6px 4px;
  width: 260px;
  height: 100%;
  box-sizing: border-box;
}

.gn-product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #edf2ef;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
  padding: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.25s ease;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

.gn-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  border-color: #cde6d8;
}

/* Reduced height image container */
.gn-product-card-thumb {
  position: relative;
  width: 100%;
  height: 145px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f8f7;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.gn-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

/* Badge (Top Left) */
.gn-product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #fef5d9;
  color: #8f640a;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  z-index: 3;
  letter-spacing: 0.1px;
}

/* Wishlist Button (Top Right) */
.gn-product-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
  color: #dc2626;
  padding: 0;
}

.gn-product-wishlist-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

/* Content */
.gn-product-content {
  padding: 9px 2px 2px 2px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Ratings */
.gn-product-rating-row {
  display: flex;
  align-items: center;
  gap: 2.5px;
  margin-bottom: 4px;
}

.gn-product-star {
  color: #33483b;
  font-size: 12px;
}

.gn-product-rating-num {
  color: #33483b;
  font-size: 11.5px;
  font-weight: 600;
  margin-left: 3px;
}

/* Title */
.gn-product-title {
  font-size: 16px;
  font-weight: 700;
  color: #17251d;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.gn-product-title a {
  color: #17251d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gn-product-title a:hover {
  color: #064e3b;
}

/* Seller / Brand */
.gn-product-seller {
  font-size: 12px;
  color: #33483b;
  font-weight: 500;
  margin-bottom: 3px;
}

/* Short Description */
.gn-product-desc {
  font-size: 11px;
  color: #405348;
  line-height: 1.35;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price & Add to Cart Row */
.gn-product-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 2px;
}

.gn-product-price-block {
  display: flex;
  flex-direction: column;
}

.gn-product-original-price {
  text-decoration: line-through;
  color: #64756a;
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: -2px;
}

.gn-product-sale-price {
  color: #064e3b;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1.1;
}

.gn-product-qty-unit {
  color: #405348;
  font-size: 11.5px;
  font-weight: 500;
}

/* Add to Cart button */
.gn-product-cart-btn {
  background: #064e3b;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gn-product-cart-btn:hover {
  background: #04382a;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(6, 78, 59, 0.32);
}

.gn-product-cart-btn.added {
  background: #16a34a;
}

.gn-product-cart-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
