.offer-banner {
  background: var(--primary-color);
  padding: 5px 20px;
  margin-bottom: var(--space-md);
  text-align: center;
}
.offer-banner span {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
}

.product-card {
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 270px; 
  object-fit: cover; 
  padding: var(--space-xxs);
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.6s ease;
  border-radius: var(--radius-sm);
}

.product-card img:hover {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: var(--font-size-sm);
  margin: var(--space-xs) 0;
  flex-grow: 1;
  color: var(--text-primary);
  padding: 0 var(--space-sm);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card p {
  margin: var(--space-xxs) 0;
}

.product-card p span:first-child {
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

.product-card .original-price {
  color: var(--text-primary);
  text-decoration: line-through;
  margin-left: var(--space-xxs);
  font-size: var(--font-size-sm);
}

.product-card .add_to_cart {
  margin-top: auto;
  padding: var(--space-xs) var(--space-md);
  background: transparent;
  color: var(--success-color);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  font-weight: var(--font-weight-medium);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: var(--accent-color);

}



@media (max-width: 768px) {
  .product-card img {
    height: 180px;
  }
  .product-card h3 {
    font-size: 0.8rem;
  }
  .product-card .add_to_cart {
    font-size: 0.75rem;
    padding: var(--space-xxs) var(--space-sm);
  }


  .offer-banner {padding: var(--space-md) var(--space-md);}
  .offer-banner span {font-size: 16px;text-transform: uppercase;}

}



