.product-card {
    transition: transform 0.3s ease;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* Square aspect ratio */
    background-color: #f8f9fa;
}
.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}
.product-image img:hover {
    transform: scale(1.05);
}
.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.home-product-title-container {
    height: 90px; /* Fixed height */
    margin-bottom: 10px;
    overflow: hidden;
}
.home-product-title {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    max-height: 100%;
}
.home-product-title:hover {
    text-decoration: underline;
    color: var(--primary-color);
}
.price {
    font-size: 1.1rem;
    color: #dc3545;
    font-weight: bold;
    margin-top: auto;
}
.button-container {
    margin-top: auto;
}
.badge-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background-color: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
}
.ratings-container {
    margin: 10px 0;
}
.interest-tag {
    font-size: 0.8rem;
    color: #6c757d;
}
.section-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
}