/* Păstrăm dimensiunile și stilul casetei și butoanelor originale Journal. */
input.co-quantity-multiple { cursor: pointer; caret-color: transparent; }
input.co-quantity-multiple:focus-visible { outline: 2px solid var(--co-quantity-accent, #0b8968); outline-offset: 2px; }
/* Mesaj informativ discret, fără fundal, inclusiv în celulele coșului. */
.co-quantity-note {
  display: block; margin: 0 0 3px; padding: 0; border: 0;
  background: transparent; color: var(--co-quantity-note-color, #31708f);
  font-size: 11px; line-height: 1.3; font-weight: normal;
  white-space: normal; overflow-wrap: anywhere;
}
.product-thumb .caption.co-has-quantity-note > .name { margin-bottom: 1px; }
.cart-content .co-quantity-note + br { display: none; }
/* Formularul admin întinde câmpurile pe tot rândul; cantitatea rămâne compactă. */
#tab-product #input-quantity { max-width: 90px; }
.co-quantity-menu {
  position: fixed; z-index: 2147483000; box-sizing: border-box;
  padding: 0; border: 1px solid #bbb; border-radius: 0;
  background: #fff; color: #444; box-shadow: 0 2px 5px #0001;
  font-family: inherit; font-size: 14px; line-height: 1.3; overflow-y: auto; overscroll-behavior: contain;
  touch-action: pan-y; max-height: calc(100dvh - 16px);
}
.co-quantity-menu button {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 32px; margin: 0; padding: 6px 1px; border: 0; border-radius: 0;
  background: #fff; color: inherit; font: inherit; cursor: pointer;
  touch-action: manipulation;
}
.co-quantity-menu button + button { border-top: 1px solid #edf0ee; }
.co-quantity-menu button[data-co-value] { padding-left: 0; padding-right: 0; }
.co-quantity-menu button:hover, .co-quantity-menu button:focus-visible { background: #edf6f2; outline: 2px solid var(--co-quantity-accent, #0b8968); outline-offset: -2px; }
.co-quantity-menu button[aria-selected="true"] { background: #eff7ff; color: #2879be; font-weight: 600; }
.co-quantity-menu button.co-quantity-nav { background: #fafafa; color: #888; font-size: 18px; }
.co-quantity-menu button:disabled { opacity: .35; cursor: default; }
@media (pointer: coarse), (max-width: 767px) {
  .co-quantity-menu button { min-height: 44px; }
}
