/*------style addtocart-buynow btns-wrapper---------*/
.addcart-buynow-btns-wrapper{
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 1px;
}

/*------style custom buy now btn-------*/

.mt-buy-now-btn, .mt-custom-add-to-cart-btn{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #87CEEB;
    color: white;
    line-height: 1em;
    font-weight: bold;
    width: 50%;
    padding: 10px 5px;
    margin-inline: 1px;
    transition: all 350ms ease;
    font-size: clamp(0.3em, calc(0.3em + 1vw), 0.7em);
    text-transform: uppercase;
    border: none;
}

.mt-buy-now-btn:hover, .mt-custom-add-to-cart-btn:hover{
    background-color: #b8b8ff;
    color: white;
}

/*------remove wc default add to cart btn on archive and single---------------*/

.add_to_cart_button, .single_add_to_cart_button{
  display: none !important;
}

/*-----------styling notice span on btn after adding product--------*/
.bnb-success-adding-product{
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    background-color: #b8b8ff;
    color: white;
}

.bnb-success-adding-product.show{
    animation: showAlert 1000ms forwards;
}

@keyframes showAlert{
    0%{
        opacity: 0;
        visibility: hidden;
    }
    20%{
        opacity: 1;
        visibility: visible;
        transform: translate(0, -110%);
    }
    60%{
        opacity: 1;
        visibility: visible;
        transform: translate(0, -110%);
    }
    80%{
        opacity: 1;
        visibility: visible;
        transform: translate(0, -110%);
    }
    90%{
        opacity: 0;
        visibility: hidden;
        transform: translate(0, -50%);
    }
    100%{
        opacity: 0;
        visibility: hidden;
        transform: translate(0, 0%);
    }
}

