.machine-product-action:has(> .fixed-stock-alternative) {
  height: auto;
  flex: 0 0 auto;
  align-items: stretch;
}
.fixed-stock-alternative {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #dce8ff;
  border-radius: 10px;
  background: #f4f8ff;
  color: var(--text, #203c65);
}
.fixed-stock-alternative p { margin: 4px 0 12px; font-size: 13px; }
.fixed-stock-alternative-actions { display: flex; gap: 8px; }
.fixed-stock-alternative-actions .btn { width: auto; min-height: 44px; }
.fixed-stock-alternative-actions .fixed-stock-elastic-cta {
  flex: 1 1 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.fixed-stock-elastic-arrow { transition: transform 160ms ease; }
.fixed-stock-elastic-cta:focus-visible { outline: 2px solid #245dea; outline-offset: 3px; }
@media (hover: hover) {
  .fixed-stock-elastic-cta:hover { box-shadow: 0 4px 12px #1851d333; }
  .fixed-stock-elastic-cta:hover .fixed-stock-elastic-arrow { transform: translateX(3px); }
}
.fixed-stock-elastic-cta:active { transform: translateY(1px); }
@media (max-width: 480px) {
  .fixed-stock-alternative-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .fixed-stock-alternative-actions .fixed-stock-elastic-cta,
  .fixed-stock-elastic-arrow { transition: none; transform: none; }
  .fixed-stock-elastic-cta:hover .fixed-stock-elastic-arrow,
  .fixed-stock-elastic-cta:active { transform: none; }
}

@keyframes fq-elastic-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  55% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: no-preference) {
  .fixed-stock-elastic-arrow {
    flex: 0 0 auto;
    animation: fq-elastic-arrow-nudge 1.55s ease-in-out infinite;
  }
  .fixed-stock-elastic-cta:is(:hover, :focus-visible) .fixed-stock-elastic-arrow {
    animation-duration: 1s;
  }
}
