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;
    flex-direction: row!important;
}

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

/* WOW FIX */
form.cart.sticky-form .fancy_button {
  display: none!important;
}
form.cart.sticky-form .atop-variations {
  display:grid;
  gap:12px;
  margin:0;
}
form.cart.sticky-form .single_variation_wrap {
  padding: 12px 0!important;
}



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;
        z-index: 999;
        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: 70px;
        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 */
	form.cart.sticky-form .single_add_to_cart_button::after{
      content:"";
      display:block;
      width:16px;
      height:16px;
      background-color:currentColor;
      opacity: 1!important;
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.79166 2H1V4H4.2184L6.9872 16.6776H7V17H20V16.7519L22.1932 7.09095L22.5308 6H6.6552L6.08485 3.38852L5.79166 2ZM19.9869 8H7.092L8.62081 15H18.3978L19.9869 8Z' fill='black'/%3E%3Cpath d='M10 22C11.1046 22 12 21.1046 12 20C12 18.8954 11.1046 18 10 18C8.89543 18 8 18.8954 8 20C8 21.1046 8.89543 22 10 22Z' fill='black'/%3E%3Cpath d='M19 20C19 21.1046 18.1046 22 17 22C15.8954 22 15 21.1046 15 20C15 18.8954 15.8954 18 17 18C18.1046 18 19 18.8954 19 20Z' fill='black'/%3E%3C/svg%3E");
      -webkit-mask-repeat:no-repeat;
      -webkit-mask-position:center;
      -webkit-mask-size:contain;
  
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.79166 2H1V4H4.2184L6.9872 16.6776H7V17H20V16.7519L22.1932 7.09095L22.5308 6H6.6552L6.08485 3.38852L5.79166 2ZM19.9869 8H7.092L8.62081 15H18.3978L19.9869 8Z' fill='black'/%3E%3Cpath d='M10 22C11.1046 22 12 21.1046 12 20C12 18.8954 11.1046 18 10 18C8.89543 18 8 18.8954 8 20C8 21.1046 8.89543 22 10 22Z' fill='black'/%3E%3Cpath d='M19 20C19 21.1046 18.1046 22 17 22C15.8954 22 15 21.1046 15 20C15 18.8954 15.8954 18 17 18C18.1046 18 19 18.8954 19 20Z' fill='black'/%3E%3C/svg%3E");
      mask-repeat:no-repeat;
      mask-position:center;
      mask-size:contain;
  
      position:absolute;
      top:50%; left:50%;
      transform:translate(-50%,-50%);
      pointer-events:none;
  }
}
