/* Purchase controls: inherit the existing Aslanovo palette and card proportions. */
body.pitch-theme ul.products li.product .pitch-loop-cart {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--pitch-line);
}
body.pitch-theme ul.products li.product .pitch-loop-cart .quantity {
  display: inline-flex; flex: 1 0 104px; justify-content: center; min-height: 44px; margin: 0;
}
body.pitch-theme ul.products li.product .pitch-loop-cart .qty {
  width: 40px; min-width: 0; padding: 0; font-size: 16px; color: var(--pitch-ink);
}
body.pitch-theme ul.products li.product .pitch-loop-cart .pitch-qty-button { width: 30px; padding: 0; flex-shrink: 0; }
body.pitch-theme ul.products li.product .pitch-loop-cart .button {
  flex: 1 0 100px; margin: 0; padding: 10px; gap: 6px;
}
.pitch-loop-cart .quantity:has(input[type="hidden"]) { display: none !important; }
.pitch-loop-cart .pitch-cart-feedback { flex-basis: 100%; font-size: 12px; line-height: 1.5; color: var(--pitch-green); }
.pitch-loop-cart .pitch-cart-feedback:empty { display: none; }
.pitch-loop-cart .pitch-cart-feedback a { display: inline; text-decoration: underline; font-weight: 700; }
.pitch-loop-cart > a.added_to_cart { display: none !important; }
.pitch-loop-cart .button:disabled { opacity: .65; cursor: wait; }
body.pitch-theme.single-product { padding-bottom: var(--pitch-cart-space, 0px); }
.pitch-sticky-cart[hidden] { display: none !important; }
.pitch-sticky-cart {
  position: fixed; z-index: 990; bottom: 0; left: 0; right: 0;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  background: #fffdfa; border-top: 1px solid var(--pitch-line);
  box-shadow: 0 -8px 32px rgba(31,25,13,.1);
}
.pitch-sticky-inner { max-width: 1432px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pitch-sticky-info { display: grid; gap: 4px; min-width: 0; }
.pitch-sticky-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.pitch-sticky-price { font-size: 18px; font-weight: 800; }
.pitch-sticky-price del { opacity: .55; font-size: .85em; }
.pitch-sticky-price ins { text-decoration: none; }
.pitch-sticky-controls { display: flex; align-items: stretch; gap: 10px; flex-shrink: 0; }
body.pitch-theme .pitch-sticky-cart .quantity { margin: 0; min-height: 48px; flex-shrink: 0; }
body.pitch-theme .pitch-sticky-cart .qty { min-width: 0; padding: 0; font-size: 16px; color: var(--pitch-ink); }
body.pitch-theme .pitch-sticky-cart .button { min-width: 160px; margin: 0; font-size: 14px; }
.pitch-loop-cart :focus-visible, .pitch-sticky-cart :focus-visible { outline: 2px solid var(--pitch-ink); outline-offset: 3px; }
@media (max-width: 600px) {
  .pitch-sticky-cart { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .pitch-sticky-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .pitch-sticky-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .pitch-sticky-info strong { font-size: 12px; flex: 1; }
  .pitch-sticky-price { font-size: 15px; flex-shrink: 0; }
  .pitch-sticky-controls { width: 100%; }
  body.pitch-theme .pitch-sticky-cart .button { flex: 1; min-width: 0; padding: 10px 12px; }
  body.pitch-theme .pitch-sticky-cart .qty { width: 42px; }
  .pitch-sticky-cart .pitch-qty-button { width: 34px; }
}
