product-float-buy-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 1.35fr);
  align-items: center;
  gap: 12px;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
  background-color: rgba(var(--color-page-background));
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: all 0.3s;
}

.product-float-buy-buttons__meta {
  min-width: 0;
}

.product-float-buy-buttons__price,
.product-float-buy-buttons__options {
  display: block;
}

.product-float-buy-buttons__price {
  font-size: 16px;
  line-height: 1.25;
}

.product-float-buy-buttons__options {
  margin-top: 2px;
  overflow: hidden;
  color: rgba(var(--color-text), 0.68);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

product-float-buy-buttons product-form,
product-float-buy-buttons .product-form,
product-float-buy-buttons [id$="__wrapper"] {
  min-width: 0;
  margin: 0;
}

product-float-buy-buttons .pay-button-buy-now {
  display: none;
}

product-float-buy-buttons.show {
  transform: translateY(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 */
