.products-section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  background: #1a1a1a;
  overflow: hidden;
}

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

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}

.product-badge {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.product-badge.discount {
  background: var(--accent);
  color: white;
}

.product-badge.shipping {
  background: var(--btn-buy);
  color: white;
}

.product-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 1;
  transition: color var(--transition), background var(--transition);
}

.product-fav:hover {
  color: var(--danger);
  background: rgba(255, 68, 68, 0.15);
}

.product-fav.active {
  color: var(--danger);
}

.product-fav svg {
  width: 18px;
  height: 18px;
}

.product-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.5rem;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--promo);
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.rating-count {
  font-size: 12px;
  color: var(--text-muted);
}

.product-price {
  margin-bottom: 1rem;
  margin-top: auto;
}

.price-current {
  font-size: 18px;
  font-weight: 700;
}

.price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.price-installment {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.btn-buy {
  width: 100%;
  height: 40px;
  background: var(--btn-buy);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition);
}

.btn-buy:hover {
  background: var(--btn-buy-hover);
}

.btn-buy svg {
  width: 16px;
  height: 16px;
}
