.custom-product-card {
    background: #fff;
    padding: 0;
    border: none;
    margin-bottom: 0;
    box-shadow: none !important;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

.custom-product-card:hover {
    box-shadow: none !important;
}

.custom-product-card .product-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
}

.custom-product-card .product-info {
    padding: 15px;
    box-sizing: border-box;
}

.custom-product-card .product-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.custom-product-card .product-title {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

.custom-product-card .product-price {
    font-weight: 400;
    font-size: 14px;
    color: #333;
}

.custom-product-card .product-actions {
    text-align: right;
    margin-top: 5px;
}

.custom-product-card .product-actions a.button {
    background: transparent;
    color: #999;
    padding: 0;
    text-transform: none;
    font-size: 12px;
    text-decoration: underline;
    border-radius: 0;
    display: inline-block;
    font-weight: 500;
}

.custom-product-card .product-actions a.button:hover {
    background: transparent;
    color: #666;
}

/* Grid Layout */
.custom-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .custom-products-grid {
        grid-template-columns: repeat(2, 50%);
    }
}

/* Wishlist button */
.custom-product-card .product-image {
    position: relative !important;
}

.custom-product-card .wishlist-btn-wrapper {
    position: absolute !important;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.wishlist-btn-wrapper a.wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    text-decoration: none;
    padding: 0;
}

/* Cuore pieno quando in wishlist */
.wishlist-btn-wrapper a.wishlist-btn.added svg path {
    fill: #EE770F;
    stroke: #EE770F;
}
