/* list-view.css - List view styling for products */

/* ============== LIST VIEW ============== */
.products-grid.list-view {
  display: block;
  width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.list-view .product-card {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 20px;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 10px;
  width: 1200px;
}

.list-view .product-image-container {
  width: 60px;
  height: 60px;
}

.list-view .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.list-view .product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

.list-view .product-title {
  font-size: 1.1em;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.list-view .product-description {
  font-size: 0.85em;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.list-view .product-category {
  font-size: 0.75em;
  background: var(--primary-color);
  color: #000;
  border-radius: 3px;
  padding: 2px 6px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 5px;
  display: inline-block;
}

.list-view .product-price {
  font-size: 1.2em;
  color: var(--primary-color);
  font-weight: bold;
  text-align: right;
  padding: 0 20px;
}

.list-view .buy-now-btn {
  background: var(--primary-color);
  color: #000;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-view .buy-now-btn:hover {
  background: #000;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}