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

product-float-buy-buttons .product-form__submit{
  border-radius: var(--btn-border-radius);
}

@media screen and (max-width: 959px) {
  product-float-buy-buttons {
    box-sizing: border-box;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  product-float-buy-buttons .product-form__buttons > * {
    margin-bottom: 8px;
  }

  product-float-buy-buttons .product-form__buttons > *:last-child {
    margin-bottom: 0;
  }
}

/* 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 */
