/* Fix card hover - only on card body, not edges */
.product-card-link {
  pointer-events: none !important;
}

.product-card {
  pointer-events: auto !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  transform: translateY(-4px) !important;
}

/* Cart button - Teal border */
.product-card .btn-outline-dark {
  border-width: 2px !important;
  border-color: #1baaae !important;
  color: #1baaae !important;
  background: white !important;
  font-weight: 600 !important;
}

.product-card .btn-outline-dark:hover {
  background: #1baaae !important;
  border-color: #1baaae !important;
  color: white !important;
}

/* Fix mobile text cutting */
.product-card .product-desc {
  height: auto !important;
  min-height: 3.6em;
  max-height: 3.6em;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.2em !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 576px) {
  .product-card .card-title {
    height: auto !important;
    min-height: 2.4em;
    max-height: 2.8em;
    line-height: 1.2em !important;
  }
  
  .product-card .product-desc {
    height: auto !important;
    min-height: 2.4em !important;
    max-height: 2.4em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 0.8rem !important;
    line-height: 1.2em !important;
    text-overflow: ellipsis !important;
    word-wrap: break-word !important;
  }
}
