.products-page {
  padding: 24px 0;
}

.products-header {
  background: linear-gradient(135deg, #D50036 0%, #FF1744 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.products-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.products-subtitle {
  font-size: 16px;
  opacity: 0.9;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 14px;
  color: var(--gray-medium);
}

.filter-select {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  background: white;
}

.filter-options {
  display: flex;
  gap: 8px;
}

.filter-option {
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-option:hover,
.filter-option.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: var(--primary-red);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--gray-dark);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price-section {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
  gap: 4px;
}

.product-price-label {
  font-size: 14px;
  color: var(--gray-medium);
  white-space: nowrap;
  flex-shrink: 0;
}

.product-price {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-red);
  flex-shrink: 0;
}

.product-price-unit {
  font-size: 15px;
  color: #000;
  flex-shrink: 0;
  font-weight: bold;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  max-height: 32px;
  overflow: hidden;
}

.product-feature {
  padding: 4px 10px;
  background: #F5F5F5;
  color: var(--gray-medium);
  border-radius: 4px;
  font-size: 12px;
}

.product-specs {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.spec-label {
  color: var(--gray-light);
}

.spec-value {
  color: var(--gray-dark);
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-detail {
  flex: 1;
  padding: 12px;
  background: white;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.btn-detail:hover {
  background: var(--primary-red);
  color: white;
}

.btn-appointment {
  flex: 1;
  padding: 12px;
  background: var(--primary-red);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.btn-appointment:hover {
  background: var(--primary-red-dark);
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-page {
    padding: 16px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .product-image {
    aspect-ratio: 1 / 1;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .product-name {
    font-size: 14px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .product-price {
    font-size: 20px;
  }
  
  .product-price-unit {
    font-size: 12px;
  }
  
  .product-feature {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .product-features {
    flex-wrap: wrap;
    max-height: 28px;
    overflow: hidden;
    overflow-x: visible;
  }
  
  .spec-row {
    padding: 6px 0;
  }
  
  .spec-label,
  .spec-value {
    font-size: 12px;
  }
  
  .btn-detail,
  .btn-appointment {
    padding: 8px;
    font-size: 12px;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .products-header {
    padding: 20px;
  }
  
  .products-title {
    font-size: 20px