.products-grid {
  display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px;
    padding: 20px 0;
    width: 100%;
}
.products-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, 315px);
  justify-content: center;
  gap: 20px;
}
.product-card {
  position: relative;
  box-shadow: 0 0px 10px rgba(0,0,0,0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: white;

  width: 315px;
  height: 325px;
  margin: auto;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.7);
}
.discount-badge {
  position: absolute;
  top: 10px;
  left: 7px;
  background-color: #ef4444;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
}
.card-image img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 20px 0;
}
.card-info {
  padding: 15px;
  text-align: center;
}
.card-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}
.new-price {
  color: #ef4444;
  font-weight: 800;
  font-size: 18px;
}
.regular-price {
  font-weight: 700;
  font-size: 18px;
  color: #333;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 30px 0;
  gap: 20px;
  text-align: center;
}
.section-header .line {
  height: 1px;
  background-color: #e5e7eb;
  flex-grow: 1;
  max-width: 150px;
}
.section-header h2 {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}
.section-header p {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 5px;
  font-family: serif;
  font-style: italic;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.view-all-btn {
  display: block;
  width: fit-content;
  margin: 40px auto;
  padding: 10px 30px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: opacity 0.3s;
}
.view-all-btn:hover {
  opacity: 0.9;
}