button.pk-pickup {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-width: 0; min-height: 36px; padding: 6px 10px; gap: 7px;
  border: 1px solid var(--km-yellow, #ffd814); border-radius: 40px;
  background: var(--km-yellow, #ffd814); color: var(--km-ink, #0f1111); cursor: pointer;
  font: inherit; font-size: .885rem; font-weight: 550; line-height: 1.15; white-space: nowrap;
}
button.pk-pickup:hover { background: #f7ca00; border-color: #f0c100; }
button.pk-pickup:focus-visible { outline: 3px solid #06859e; outline-offset: 2px; }
button.pk-pickup:disabled {
  background: #eef0f3; border-color: #d5d9d9; color: #555e68; opacity: 1; cursor: default; white-space: normal;
}
button.pk-pickup .icon {
  width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.pk-purchase { display: grid; width: 100%; min-width: 0; }
.pk-purchase > [hidden] { display: none; }
.pk-purchase-counter {
  box-sizing: border-box; display: grid; align-items: stretch;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  min-width: 0; min-height: 36px; background: var(--km-yellow, #ffd814);
  border: 1px solid var(--km-yellow, #ffd814); border-radius: 40px;
  color: var(--km-ink, #0f1111); font: inherit;
}
.pk-purchase-counter button {
  display: grid; place-items: center; min-width: 0; margin: 0; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: pointer;
  font: inherit; font-size: 1.18rem; font-weight: 600; line-height: 1;
}
.pk-purchase-counter button:first-child { border-radius: 40px 0 0 40px; }
.pk-purchase-counter button:last-child { border-radius: 0 40px 40px 0; }
.pk-purchase-counter button:hover:not(:disabled) { background: #f7ca00; }
.pk-purchase-counter button:active:not(:disabled) { background: #f0c100; }
.pk-purchase-counter button:focus-visible { position: relative; outline: 3px solid #06859e; outline-offset: -3px; }
.pk-purchase-counter button:disabled { opacity: .45; cursor: default; }
.pk-purchase-counter output {
  align-self: center; min-width: 2ch; text-align: center; font-weight: 650;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
#market-stories .ks-product-card .pk-purchase-counter { margin-inline: clamp(7px, 2.4cqw, 10px); }
.ks-product-card[data-story-purchase] { display: contents; }
@media (scripting: enabled) {
  .ks-product-card[data-story-purchase] { display: grid; }
  .ks-product-card[data-story-purchase]::after { content: ""; min-height: 36px; }
  #market-stories .ks-control[data-story-control][hidden] { display: grid !important; visibility: hidden; }
}
@media (scripting: enabled) and (max-width: 899px) {
  .ks-product-card[data-story-purchase]::after { min-height: 44px; }
}
@media (scripting: none) {
  #market-stories:has([data-story-control]) .ks-track { scrollbar-width: thin; }
  #market-stories:has([data-story-control]) .ks-track::-webkit-scrollbar { display: block; }
}
.km-buy-box :where(.pk-purchase-counter) { min-height: 38px; margin-top: 13px; }
@media (max-width: 790px) {
  button.pk-pickup, .pk-purchase-counter { min-height: 44px; }
  .ks-product-card button.pk-pickup, .ks-product-card .pk-purchase-counter { min-height: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  button.pk-pickup { transition: background-color .15s ease, transform .12s ease; }
  button.pk-pickup:active:not(:disabled) { transform: scale(.97); }
}
