/* ============================================
   MENU PAGE - AbiYarn
   ============================================ */

.menu-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(to bottom, var(--white), var(--rose-light));
}

/* Filter Buttons */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--rose-border);
  background: var(--white);
  color: var(--gray-text);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.1); }

/* Overlay */
.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay { opacity: 1; }


/* Product Footer (price + button row) */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 0.5rem;
}
 
/* No products message */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
  color: var(--gray-mid);
  font-size: 1rem;
}
 
.add-to-cart {
  width: 100%;
  background: var(--white);
  color: var(--rose);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
}
.add-to-cart:hover { background: var(--rose); color: var(--white); }

/* Product Info */
.product-info { padding: 1.25rem; }
.product-info h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--gray-text); }
.product-info p  { font-size: 0.875rem; color: var(--gray-mid); line-height: 1.5; }