.custom-product-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.custom-product-item:hover {
    transform: translateY(-5px);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--beige);
    padding: 5px;
}

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

.custom-product-item picture {
    display: grid;
}

.custom-product-item:hover .product-image img {
    transform: scale(1.1);
}

#product_home .product-image {
    background: #ebe8e2;
}

.product-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 10;
    height: 0%;
}

.custom-product-item:hover .product-overlay {
    opacity: 1;
    transition: 0.3s ease;
    height: 100%;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin: 15px 0 10px;
    color: #333;
}

.product-price {
    color: #504a3c;
}

.product-price * {
    font-weight: 400;
}

.product-badge.promo-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    background-color: var(--marron);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 100;
    text-transform: uppercase;
    transform: translateX(-50%);
}

#wishlit_custom span.yith-wcwl-add-to-wishlist-button__label {
    display: none;
}

#wishlit_custom {
    position: absolute;
    z-index: 15;
    right: 20px;
    top: 10px;
}

#wishlit_custom svg {
    stroke: white;
    filter: contrast(0.5);
}   

#wishlit_custom .yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--themed-button).yith-wcwl-add-to-wishlist-button--added svg.yith-wcwl-add-to-wishlist-button-icon {
    fill: white;
}

article.custom-product-item.fl_wd img {
    object-fit: cover !important;
    border-radius: 20px;
}


@media screen and (max-width:768px) {
    .product-title {
        font-size: 14px;
    }
    .product-image img {
        height: 240px;
    }
    .product-badge.promo-badge {
        font-size: 8px;
    }
    .product-image {
        padding: 5px;
    }
}