/* Products / collections / product cards */

.products {
  background-color: white;
  padding: 60px 20px;
}
.products-container {
  max-width: 1200px;
  margin: 0 auto;
}
.products-title {
  font-family: "BrownSugar", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
  color: #1a1a1a;
}
.products-intro {
  font-family: "Satoshi", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

/* Collections (reusable) */
.collection { margin: 60px 0; padding: 0 20px; }
.collection h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; }

/* Grid and cards */
.products-grid, .products-grid--collections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card, .product {
  background-color: #f7f5ed;
  border: 1px solid #e0dcd5;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover, .product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.product-image, .product img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}
.product-card h3, .product h3 {
  font-family: "BrownSugar", serif;
  font-size: 1.4rem;
  margin: 15px 0;
  color: #1a1a1a;
}
.product-description, .product p {
  font-family: "Satoshi", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
  min-height: 80px;
}
.product-price, .product .price {
  font-family: "BrownSugar", serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a1a1a;
  margin: 15px 0;
}
.add-to-cart, .add-to-cart-btn {
  background-color: #1a1a1a;
  color: white;
  border: none;
  padding: 12px 30px;
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}
.add-to-cart:hover, .add-to-cart-btn:hover {
  background-color: #d4af37;
  color: black;
}

/* Quantity controls (center quantity and style +/-) */
.product .quantity-controls {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 12px;
}

.product .quantity-controls .qty-value {
  display: inline-block !important;
  min-width: 36px !important;
  width: 36px !important;
  text-align: center !important;
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
}

.product .quantity-controls button.qty-minus,
.product .quantity-controls button.qty-plus {
  width: 40px !important;
  height: 40px !important;
  border: none;
  background: #1a1a1a;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Smaller buttons on very small screens */
@media (max-width: 420px) {
  .product .quantity-controls .qty-value { min-width: 30px; width: 30px; }
  .product .quantity-controls button.qty-minus,
  .product .quantity-controls button.qty-plus { width: 36px; height: 36px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid, .products-grid--collections { grid-template-columns: repeat(2,1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .products { padding: 40px 15px; }
  .products-title { font-size: 2rem; margin-bottom: 20px; }
  .products-intro { font-size: 1rem; margin-bottom: 30px; }
  .products-grid, .products-grid--collections { grid-template-columns: 1fr; gap: 20px; }
  .product-image, .product img { height: 200px; }
  .product-card h3, .product h3 { font-size: 1.2rem; }
}