form.cart.sticky-form .woocommerce-variation-price {
	display: none;
}

/* Hide unchecked variations and display only the selected one */
.product-type-variable form.cart.sticky-form .atop-variation {
  display: none;
}
.product-type-variable form.cart.sticky-form .atop-variation:has(.atop-variation-radio:checked) {
  display: flex;
}

form.cart.sticky-form .woocommerce-variation-add-to-cart {
	display: flex!important;
	align-items: center;
}

form.cart.sticky-form .atop-variations .atop-variation .atop-desc {
  display: none;
}



form.cart.sticky-form .atop-variations .atop-variation .atop-prices {
  margin-left:0!important;
}

@media (max-width: 1024px) {
.sticky-toolbar-on .scrollToTop {
  bottom: 160px!important;
}
}

@media only screen and (min-width: 768px) {
    form.cart.sticky-form {
        position: fixed;
        bottom: 0;
        border-radius: 9px;
        right: 0;
        background-color: #ffffff;
        background-color: rgba(255,255,255,0.8);
 		backdrop-filter: blur(12px);
        padding: 0 12px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000000;
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        align-items: center;
        justify-content: space-between;
        flex-direction: row !important;
        margin-bottom: 0px !important;
        transform: translateY(100%);
        opacity: 0;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        animation: slideUp 0.3s ease-in-out forwards;
        max-width: 40%;
    }
    form.cart.sticky-form > * {
	    /* flex: inherit!important; */
      flex: 1 1 auto;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    form.cart.sticky-form .single_add_to_cart_button {
        margin-left: 15px;
        max-width: 30%  !important;
        font-size: smaller !important;
    }
    
    .woocommerce.single .product .main_section .cart .atop-variations {
	    margin-bottom: 0;
    }
}

@media only screen and (max-width: 767px) {
    form.cart.sticky-form {
        position: fixed;
        bottom: 0;
        left: 0; /* PLAM */
        border-radius: 9px;
        right: 0;
        background-color: rgba(255,255,255,0.7);
		backdrop-filter: blur(12px);
        box-sizing: border-box; /* PLAM */
        padding: 0 12px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 100;
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        align-items: center;
        justify-content: space-between;
        flex-direction: row !important;
        margin-bottom: 0px !important;
    }
    form.cart.sticky-form > * {
	    /* flex: inherit!important; */
      flex: 1 1 auto;
    }
    
    form.cart.sticky-form .single_add_to_cart_button {
        margin-left: 15px;
        height: 50px;
        padding: 10px !important;
        max-width: 50px !important;
        width: 50px !important;
        margin-left: 15px !important;
        min-width: 10px !important;
        font-size: smaller !important;
        
        /* PLAM HIDE TEXT */
        font-size: 1px!important;
        position:relative;
	    text-indent:-9999px;
	    overflow:hidden;
	    white-space:nowrap;
    }
    
    .woocommerce.single .product .main_section .cart .atop-variations {
	    margin-bottom: 0;
    }
    
	/* PLAM DISPLAY CART ICON */
	.sticky-form .single_add_to_cart_button::after{
	    content:"";
	    display:block;
	    width:16px;
	    height:16px;
	    background:currentColor; 
	    mask: url('data:image/svg+xml;utf8,\
	        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">\
	          <path d="M552 64H126L121 44A24 24 0 0 0 98 32H24a24 24 0 0 0 0 48h54l70 208a48 48 0 0 0 46 33h266a48 48 0 0 0 46-33l68-208a24 24 0 0 0-22-32zM180 432a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm272 0a48 48 0 1 0 48 48 48 48 0 0 0-48-48z"/>\
	        </svg>') center / contain no-repeat;
	    -webkit-mask: url('data:image/svg+xml;utf8,\
	        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">\
	          <path d="M552 64H126L121 44A24 24 0 0 0 98 32H24a24 24 0 0 0 0 48h54l70 208a48 48 0 0 0 46 33h266a48 48 0 0 0 46-33l68-208a24 24 0 0 0-22-32zM180 432a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm272 0a48 48 0 1 0 48 48 48 48 0 0 0-48-48z"/>\
	        </svg>') center / contain no-repeat;
	    position:absolute;
	    top:50%; left:50%;
	    transform:translate(-50%,-50%);
	    pointer-events:none;
	}
}
