.woocommerce-products-grid {
    padding: 0;
    margin: 0;
    list-style: none;
}
.woocommerce-products-grid .product-item {
    position: relative;

}
.sale-badge {
    inset-inline-start: unset;
    min-height: unset;
    line-height: 1;
    border-radius: 4px;
    padding: .35rem .55rem;
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    text-transform: none;

    left: auto;
    margin: 0;
    position: absolute;
    right: 4px;
    top: 4px;
}
.product-image {
    overflow: hidden;
}
.product-image img {
    width: 100%;
 }
.product-image .sale-badge {

}

.product-title {
 margin: 0;
 font-size: 1.25rem;
 margin-bottom: 1px;
 margin-top: 0;
}

.product-category {
    color: var(--wp--preset--color--contrast);
}

.product-price {
    font-weight: 600;
}

.product-action {
    position: absolute;
    inset-inline-start: 50%;
    transform: translate(-50%, 0);
    top: 65%;
    left: 50%;
    transition: all cubic-bezier(0.66, 0.13, 0.38, 1) .35s;
    opacity: 0;

    align-items: center;
    border-style: none;
    display: inline-flex
;
    justify-content: center;
    line-height: inherit;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
}
.product-action a {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    padding: 15px 20px;
    border-radius: 10px;
 }
.woocommerce-products-grid .product-item:hover .product-action {
    opacity: 1;
    top: 50%;
}
/* .elementor-editor-active .is-layout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
} */