/**
 * Shop Page Styles - Simplified
 */

/* Reset WooCommerce default styles */
.woocommerce ul.products {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  list-style: none;
}

/* Product Card */
.product-card-inner {
  height: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card-inner:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Product Thumbnail */
.product-thumbnail {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 3 / 4;
}

.product-image-link {
  display: block;
  height: 100%;
}

.product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Product Badges */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
}

.sale-badge {
  background: #e74c3c;
  color: white;
}

.out-of-stock-badge {
  background: #95a5a6;
  color: white;
}

/* Product Info */
.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.product-title a {
  color: #333;
  text-decoration: none;
}

.product-title a:hover {
  color: #C65D3B;
}

/* Product Price */
.product-price {
  margin-top: auto;
}

.product-price .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}

.product-price .price del {
  font-size: 1rem;
  color: #999;
  margin-right: 0.5rem;
}

.product-price .price ins {
  text-decoration: none;
  color: #C65D3B;
}

/* Product Actions */
.product-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.product-actions .button,
.product-actions .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  background: #333;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-actions .button:hover,
.product-actions .added_to_cart:hover {
  background: #C65D3B;
}

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

/* Responsive */
@media (max-width: 767px) {
  .product-info {
    padding: 1.25rem;
  }

  .product-title {
    font-size: 1rem;
  }

  .product-price .price {
    font-size: 1.1rem;
  }
}
