.wccsc-has-product-tile-label ul.products li.product .woocommerce-loop-product__link
{
	position: relative;
}

.wccsc-has-product-tile-label .wccsc-product-tile-label
{
	position: absolute;
	z-index: 5;
	top: 55%;
	left: 1rem;
	max-width: calc(100% - 2rem);
	pointer-events: none;
}

body.wccsc-hide-catalog-sorting .wccsc-product-tile-label
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 8px 8px 8px 16px;

    background: rgba(255, 255, 255, 0.94);
    color: #1c1c1c;

    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;

    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.13);

    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;

    cursor: pointer;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;

	opacity: 0.9;
}

body.wccsc-hide-catalog-sorting .wccsc-product-tile-label::after
{
	content: "";

	width: 28px;
	height: 28px;
	flex: 0 0 28px;

	background-color: #1c1c1c;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10h10M11 6.5l3.5 3.5-3.5 3.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 16px;

	border-radius: 50%;

	font-size: 0;
	line-height: 0;
}

@media (hover: hover) and (pointer: fine)
{

    body.wccsc-hide-catalog-sorting .product:hover .wccsc-product-tile-label
	{
        background: #fff;
        border-color: rgba(0, 0, 0, 0.28);

        box-shadow:
            0 4px 14px rgba(0, 0, 0, 0.14),
            0 1px 3px rgba(0, 0, 0, 0.08);

        transform: translateY(-1px);
    }

    body.wccsc-hide-catalog-sorting .product:hover .wccsc-product-tile-label::after
	{
        transform: translateX(3px);
    }
}

@media (max-width: 767px)
{

    body.wccsc-hide-catalog-sorting .wccsc-product-tile-label
	{
        font-size: 13px;
        padding: 7px 7px 7px 14px;
        gap: 10px;
    }

    body.wccsc-hide-catalog-sorting .wccsc-product-tile-label::after
	{
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 16px;
    }

	.wccsc-has-product-tile-label .wccsc-product-tile-label
	{
		top: 65%;
	}
}
