/* Quantity controls stay with their accessory and remain separate from its label. */
.buy-addon-config { display: grid; min-width: 0; gap: 9px; }
.buy-addon-row .buy-addon-config .buy-option:has(input:checked) { min-height: 0; }
.buy-addon-count { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.buy-addon-count[hidden] { display: none !important; }
.buy-addon-count > label { margin: 0; color: var(--muted, #5f5d60); font-size: 13px; line-height: 1.5; }
.buy-addon-stepper { display: grid; grid-template-columns: 34px 46px 34px; flex: 0 0 auto; border: 1px solid var(--line, #dcd8d0); background: var(--panel, #fbfaf7); }
.buy-addon-stepper > button { display: grid; place-items: center; width: 34px; min-width: 0; min-height: 34px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink, #171719); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.buy-addon-stepper > button:hover:enabled { background: var(--paper, #f3f1ec); }
.buy-addon-stepper > button:disabled { color: var(--muted, #5f5d60); opacity: .45; cursor: not-allowed; }
.buy-addon-stepper > input { width: 46px; min-width: 0; min-height: 34px; margin: 0; padding: 0; border: 0; border-inline: 1px solid var(--line, #dcd8d0); border-radius: 0; background: transparent; color: var(--ink, #171719); font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.buy-addon-stepper > input::-webkit-inner-spin-button, .buy-addon-stepper > input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.buy-addon-stepper > :focus-visible { position: relative; z-index: 1; outline: 2px solid var(--accent, #c51e2f); outline-offset: 2px; }
@media (max-width: 440px) {
  .buy-addon-config { gap: 8px; }
  .buy-addon-count { gap: 8px; }
  .buy-addon-stepper { grid-template-columns: 36px 44px 36px; }
  .buy-addon-stepper > button { width: 36px; min-height: 36px; }
  .buy-addon-stepper > input { width: 44px; min-height: 36px; }
}
