/* Inline visual feedback. Stickerhuis controls the real form/button state.
   Pseudo-text is intentional: the mobile configurator rewrites textContent. */
.shc-ajax-button-state {
  position: relative !important;
}
.shc-ajax-button-state::after {
  content: attr(data-shc-ajax-label);
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 4px 12px;
  border-radius: inherit;
  background: #ff4b22;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.shc-ajax-button-state[data-shc-ajax-status="loading"]::after {
  content: attr(data-shc-ajax-label);
  background: #1d1d1d;
}
.shc-ajax-button-state[data-shc-ajax-status="success"]::after {
  background: #ff4b22;
}
.shc-ajax-button-state[data-shc-ajax-status="error"]::after {
  background: #b62525;
}
.shc-ajax-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Detailed AJAX failures remain visible; no pop-up on successful add. */
.shc-ajax-cart-toast {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999999;
  max-width: min(440px, calc(100vw - 32px));
  padding: 15px 19px;
  border-radius: 12px;
  border-left: 4px solid #c52b2b;
  background: #fff;
  color: #1d1d1d;
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .shc-ajax-cart-toast { right: 16px; left: 16px; bottom: 100px; max-width: none; }
}
