.wd-hover-quick .single_add_to_cart_button {
    border-radius: 0
}

.wd-hover-quick .wd-add-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    transition: transform .3s ease, opacity .3s ease;
    transform: translateY(103%) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.wd-hover-quick .wd-add-btn>p {
    display: none
}

.wd-hover-quick .wd-add-btn>a {
    display: block;
    font-size: 13px;
    opacity: .8;
    color: #fff;
    background-color: var(--wd-primary-color)
}

.wd-hover-quick .wd-add-btn>a:hover {
    color: #fff;
    box-shadow: inset 0 0 200px rgba(0,0,0,0.1);
    box-shadow: none;
    opacity: 1
}

.wd-hover-quick .wd-add-btn>a span {
    padding: 10px
}

.wd-hover-quick div.quantity {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    height: 100%
}

.wd-hover-quick div.quantity input[type="button"],.wd-hover-quick div.quantity input[type="number"] {
    border: none;
    background-color: rgba(0,0,0,0.08);
    color: #fff;
    height: 100%
}

.wd-hover-quick div.quantity input[type="button"]:hover,.wd-hover-quick div.quantity input[type="number"]:hover {
    background-color: rgba(0,0,0,0.12)
}

.wd-hover-quick div.quantity input[type="number"] {
    transition: all .25s ease
}

.wd-hover-quick div.quantity input[type="button"] {
    min-width: 25px;
    border-radius: 0
}

.wd-hover-quick div.quantity input[type="button"].minus {
    border-inline-end:1px solid rgba(255,255,255,0.15)}

.wd-hover-quick div.quantity input[type="button"].plus {
    border-inline-start:1px solid rgba(255,255,255,0.15)}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple {
    padding-right: 80px
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:before {
    padding-right: 80px
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:after {
    margin-left: -51px
}

.wd-quantity-enabled .wd-hover-quick .quick-shop-wrapper div.quantity {
    display: inline-flex !important
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .single_add_to_cart_button {
    padding-right: 92px
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .single_add_to_cart_button:after {
    margin-left: -51px
}

.wd-hover-quick:hover .wd-add-btn {
    transform: translateY(0) translateZ(0)
}

.wd-hover-quick.quick-shop-shown .wd-add-btn,.wd-hover-quick.product-swatched .wd-add-btn,.wd-hover-quick[class*="wd-loading"] .wd-add-btn {
    transform: translateY(103%) translateZ(0)
}

.wd-hover-quick.product-swatched:not(.quick-shop-shown):not([class*="wd-loading"]) .product-element-top:hover .wd-add-btn {
    transform: translateY(0) translateZ(0)
}

@media (max-width: 1024px) {
    .wd-quantity-enabled .wd-hover-quick .single_add_to_cart_button {
        font-size:0;
        white-space: nowrap
    }

    .wd-quantity-enabled .wd-hover-quick .single_add_to_cart_button:before {
        margin-right: 0;
        margin-left: 0
    }

    .wd-hover-quick .wd-add-btn {
        transform: none
    }

    .wd-hover-quick .wd-add-btn .add-to-cart-loop {
        width: 40px;
        height: 40px;
        border-radius: 10px 0;
    }

    .wd-hover-quick .wd-add-btn .add-to-cart-loop span {
        display: none
    }

    .wd-hover-quick .wd-add-btn .add-to-cart-loop:before {
        transform: none
    }

    .wd-hover-quick .wd-add-btn div.quantity {
        right: 40px
    }

    .wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple {
        width: 120px;
        padding-right: 0;
        padding-left: 80px
    }

    .wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:before {
        padding-right: 0;
        padding-left: 80px
    }

    .wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:after {
        margin-left: 0;
        right: 11px
    }
}
