product-float-buy-buttons {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
  background-color: rgba(var(--color-page-background));
  box-shadow: rgba(0, 0, 0, 0.12) 0px -3px 6px 0px;
  padding: 9px 0;
  transform: translateY(100%);
  transition: all 0.3s;
}
product-float-buy-buttons.show {
  transform: translateY(0);
}

product-float-buy-buttons .product-form__buttons .quantity {
    display: none;
}

product-float-buy-buttons>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

product-float-buy-buttons .product-form__buttons {
    display: flex;
    flex-direction: row;
    column-gap: 16px;
}

product-float-buy-buttons #product-form-main-product-info-float-submit,
product-float-buy-buttons .shopline-payment-button-wrapper,
product-float-buy-buttons .shopline-payment-button-wrapper .pay-button-common-item,
#product-form-main-product-info .product-form__buttons .payment-button-box .custom_payment_button {
    min-width: 166px;
    height: 36px !important;
    margin: 0 !important;
}

product-float-buy-buttons .price .price-position-save {
    display: none;
}

product-float-buy-buttons .price .price__container .price-position-sale .price-item--sale,
product-float-buy-buttons .price .price__container .price__regular .price-item--regular {
    font-size: 24px !important;
    margin-right: 10px !important;
}

product-float-buy-buttons .price-position-origin .price-item--regular {
    margin: 0 !important;
    padding: 0 !important;
}

@media(min-width: 960px) {
    product-float-buy-buttons .product-float-title {
        font-size: 24px;
        line-height: 1.2;
    }
}

@media(max-width: 959px) {
    product-float-buy-buttons {
        padding: 8px 0;
    }
    product-float-buy-buttons .product-float-title {
        display: none;
    }

    product-float-buy-buttons>div {
        flex-direction: column;
        gap: 6px;
    }

    product-float-buy-buttons .price .price__regular .price-item--regular {
        font-size: 20px;
    }

    product-float-buy-buttons .product-form__buttons {
        column-gap: 10px;
    }
    product-float-buy-buttons .product-form__buttons button {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}


/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
