/* Products Grid & Card CSS */

.new-arrivals-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin: 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2E7D32;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.view-all-link:hover {
  opacity: 0.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.product-image-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  background: #f8f8f8;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.badge-discount {
  left: 10px;
  background-color: #E53935;
}

.badge-new {
  right: 10px;
  background-color: #2E7D32;
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  color: #333;
  line-height: 1.3;
}

.product-company {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 15px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

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

.price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2E7D32;
}

.price-original {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
}

.btn-add-cart {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #F0FDF4;
  color: #2E7D32;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-cart:hover {
  background-color: #2E7D32;
  color: white;
}
