/* Progressive cart quantity, using the existing SMARTHOFF theme tokens. */
body.sh-theme .sh26-card-actions > .sh26-qty-control,
body.sh-theme [data-sh26-purchase]:not([data-shq-native-selection]):not(:has([onclick*="addIntoCartComplex"])) .sh26-pd-purchaseRow,
body.sh-theme [data-sh26-sticky-quantity],
body.sh-theme .shq-native { display: none !important; }
body.sh-theme [data-shq-managed][hidden],
body.sh-theme .shq-purchase[hidden] { display: none !important; }
body.sh-theme .sh26-card-actions.shq-actions { display: block; width: 100%; }
body.sh-theme .shq-actions > [data-shq-managed] { width: 100%; }
body.sh-theme .shq-purchase { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; min-width: 0; }
body.sh-theme .shq-checkout { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto; min-width: 88px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--action); border-radius: 8px; color: var(--action); background: var(--surface-card); font: inherit; font-weight: 600; font-size: 14px; line-height: 1.25; text-decoration: none; }
body.sh-theme .shq-checkout:hover { background: var(--surface-interactive); color: var(--action-hover, var(--action)); }
body.sh-theme .shq-stepper { display: grid; grid-template-columns: 40px minmax(34px, 1fr) 40px; align-items: center; flex: 0 0 124px; min-width: 124px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-card); }
body.sh-theme .shq-stepper > button { display: grid; place-items: center; width: 40px; min-width: 0; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--action); font: inherit; font-size: 23px; line-height: 1; cursor: pointer; }
body.sh-theme .shq-stepper > button:hover { background: var(--surface-interactive); }
body.sh-theme .shq-stepper > input { box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 42px; margin: 0; padding: 0 2px; border: 0; border-radius: 0; background: transparent; color: var(--ink-900); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; text-align: center; box-shadow: none; }
body.sh-theme .shq-stepper > :is(button,input):focus-visible,
body.sh-theme .shq-checkout:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
body.sh-theme [data-shq-managed][aria-disabled="true"],
body.sh-theme .shq-stepper > :disabled { opacity: .6; cursor: wait; }
body.sh-theme .shq-purchase[aria-busy="true"] .shq-checkout { opacity: .6; cursor: wait; }
body.sh-theme [data-sh26-purchase] > .shq-purchase { min-height: 48px; }
body.sh-theme [data-sh26-purchase] > .shq-purchase .shq-checkout { min-height: 48px; }
body.sh-theme .shq-sticky > .shq-purchase { width: auto; flex: 0 1 260px; }
body.sh-theme .sh26-pd-stickyPurchase .shq-stepper > button { padding: 0; font-size: 23px; }
body.sh-theme .sh26-pd-stickyPurchase .shq-checkout { padding: 10px 12px; font-size: 14px; }
body.sh-theme .shq-status { position: fixed; z-index: 3500; right: 18px; bottom: 22px; max-width: min(420px, calc(100vw - 36px)); padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink-900); background: var(--surface-card); box-shadow: var(--shadow-card); font-size: 14px; line-height: 1.45; }
body.sh-theme .shq-status[hidden] { display: none; }
@media (pointer: coarse) {
  body.sh-theme .shq-stepper { grid-template-columns: 44px minmax(34px, 1fr) 44px; flex-basis: 132px; min-width: 132px; }
  body.sh-theme .shq-stepper > button { width: 44px; }
}
@media (max-width: 420px) {
  body.sh-theme .shq-purchase { gap: 8px; }
  body.sh-theme .shq-sticky > .shq-purchase { flex: 1 1 auto; }
}
@media (max-width: 700px) {
  body.sh-theme .sh26-pd-stickyPurchase > .shq-sticky { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  body.sh-theme .shq-sticky > span { min-width: 0; }
  body.sh-theme .shq-sticky > .shq-purchase,
  body.sh-theme .shq-sticky > [data-shq-managed] { grid-column: 1 / -1; width: 100%; }
}
