/* ── Horizontal Product List Card (Cart & Wishlist) ──────────────────────── */

.product-list-card {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 25px;
  align-items: stretch;
}

.product-list-card:last-child {
  border-bottom: none;
}

.list-card-img-link {
  flex-shrink: 0;
}

.list-card-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  background-color: #f6f5f2;
}

.list-card-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list-card-info {
  display: flex;
  flex-direction: column;
}

.list-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.list-card-price {
  font-family: var(--font-cta);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 8px;
}

.list-card-price del {
  color: var(--text-light, #888);
  font-size: 0.8rem;
  font-weight: 400;
  margin-right: 6px;
}

.list-card-price ins {
  text-decoration: none;
  color: var(--text-color);
}

.list-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light, #666);
  line-height: 1.4;
  margin-top: 4px;
}

.list-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

/* Cart Context specific styles */
.list-card-qty-wrapper {
  display: flex;
  align-items: center;
}

.list-card-qty-wrapper .quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  height: 40px;
}

.list-card-qty-wrapper .quantity input.qty {
  width: 60px;
  height: 100%;
  text-align: center;
  border: none;
  font-family: var(--font-cta);
  font-size: 0.95rem;
  -moz-appearance: textfield;
}

.list-card-qty-wrapper .quantity input::-webkit-outer-spin-button,
.list-card-qty-wrapper .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.list-card-subtotal {
  font-family: var(--font-cta);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-color);
}

/* Buttons */
.list-card-add-btn {
  background-color: var(--text-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-cta);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.list-card-add-btn:hover {
  background-color: var(--btn-hover);
}

.list-card-remove {
  font-size: 0.8rem;
  color: #b73a3a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.list-card-remove:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .product-list-card {
    gap: 15px;
  }

  .list-card-img {
    width: 100px;
    height: 100px;
  }

  .list-card-name {
    font-size: 1rem;
  }

  .list-card-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .list-card-add-btn {
    padding: 8px 15px;
  }
}
