/* Stabilize product card action layout after cart form injection. */
.product-foot {
  justify-content: flex-start;
  align-items: center;
}

.product-foot b {
  flex: 0 0 100%;
  line-height: 1.1;
}

.product-cart-form {
  display: contents;
  margin: 0;
}

.product-foot > .btn,
.product-cart-form > .btn {
  min-width: 112px;
}

.cart-add-status {
  flex: 0 0 100%;
  color: var(--muted);
  font-size: 14px;
}

.cart-add-status a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 620px) {
  .product-foot > .btn,
  .product-cart-form > .btn {
    width: auto;
    flex: 0 0 auto;
  }

  .cart-add-status {
    font-size: 13px;
  }
}
