/* SECTION */
.products-section {
  padding: 10px 20px;
  margin: 20px auto;
}

/* HEADER */
.products-header {
  text-align: center;
  margin-bottom: 30px;
}

.products-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.products-header p {
  font-size: 15px;
  color: var(--color-text-light);
  max-width: 600px;
  margin: auto;
}

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* PRODUCT CARD */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* IMAGE WRAPPER (LESS HEIGHT) */
.product-image {
  height: 180px;
  padding: 10px;

  display: flex;
  align-items: center;   /* ✅ vertical center */
  justify-content: center; /* ✅ horizontal center */

  background: var(--color-light-bg);
}

/* IMAGE */
.product-image img {
  display: block; /* ✅ removes inline gap */

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  margin: auto; /* ✅ extra safety centering */
}
/* CONTENT (LESS SPACE) */
.product-info {
  padding: 14px; /* 🔥 reduced from 18 */
  gap: 6px; /* 🔥 tighter */
}

/* TITLE */
.product-info h3 {
  font-size: 14px; /* 🔥 slightly smaller */
  margin: 0;
}

/* TAGLINE */
.product-info .tagline {
  font-size: 12px;
  margin: 0;
}

/* PRICE */
.product-price {
  font-size: 16px; /* 🔥 slightly compact */
  margin-top: 2px;
}

/* SUBTEXT */
.product-price span {
  font-size: 11px;
}

/* CTA */
.product-view {
  font-size: 12px;
  margin-top: auto;
}

.product-card:hover .product-view {
  transform: translateX(6px);
}

/* Floating leaves (unchanged) */
.leaf{
  position:absolute;
  width:60px;
  height:60px;
  background:url('/assets/images/leaf.png') no-repeat center/contain;
  opacity:.45;
  animation:floatLeaf 7s ease-in-out infinite;
  z-index:1;
}

/* LEFT SIDE LEAVES */
.furniture-leaf-left-1{
  top:30%;
  left:5%;
  animation-delay:0s;
}

.furniture-leaf-left-2{
  top:45%;
  left:82%;
  animation-delay:2s;
}


@keyframes floatLeaf{
  0%{
    transform:translateY(0) rotate(0deg);
  }

  50%{
    transform:translateY(-20px) rotate(12deg);
  }

  100%{
    transform:translateY(0) rotate(0deg);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}