/* Same button, native label and icons; the engine adds only a background layer. */
.lets-button-loading {
  cursor: wait !important;
  transition: none !important;
}

/* Every card branch reserves the same width, including the existing native placeholder. */
.js-product-item-private .product-item-quick-shop-container,
.js-product-item-private .product-item-quick-shop-container .js-product-form,
.js-product-item-private .product-item-quick-shop-container .item-submit-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.js-product-item-private .product-item-quick-shop-container input.js-addtocart,
.js-product-item-private .product-item-quick-shop-container .product-item-quick-shop-modal-trigger,
.js-product-item-private .product-item-quick-shop-container .js-addtocart-placeholder {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}
.js-product-item-private .product-item-quick-shop-container .js-addtocart-placeholder {
  min-height: 42px;
  padding: 12px;
  border: 1px solid #e3c255 !important;
  border-radius: 5px !important;
  background-color: #e3c255 !important;
  color: #111 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

/* Paint one button surface; native labels and their opacity transitions remain intact. */
.js-addtocart-placeholder {
  box-sizing: border-box;
  max-width: 100%;
  text-align: center !important;
}
.js-addtocart-placeholder > .d-inline-block {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.js-addtocart-placeholder .js-addtocart-text {
  width: 100%;
}
.js-addtocart-placeholder .transition-container {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: inherit;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .lets-button-loading {
    transition: none !important;
    animation: none !important;
  }
}
