.soldout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.8);
}

.soldout-image {
    display: block !important;
    object-fit: contain !important;
}

.soldout-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 40px
}

.soldout-list-image {
    display: block !important;
    object-fit: contain !important;
    width: 40px
}

.product-container {
    position: relative;
}

.product_list .product-container {
    position: relative;
}

.soldout-product-item {
    position: relative;
}

.soldout-product-item .ajax_add_to_cart_button,
.soldout-product-item .add-to-cart,
.soldout-product-item .btn-add-to-cart,
.soldout-product-item a.button.ajax_add_to_cart_button {
    display: none !important;
    pointer-events: none !important;
}

#add_to_cart button[disabled],
.btn-add-to-cart[disabled],
.add-to-cart[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.product-container.soldout-product-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1;
}


