/* Authenticated purchase controls: a single box price and basket action. */
.box-purchase { min-width: 0; margin-top: auto; padding-top: 12px; }
.box-purchase__summary { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 8px; margin-bottom: 13px; }
.box-purchase__details { min-width: 0; text-align: left; transform: translateY(-3px); }
.box-pack { display: block; color: #647479; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.box-price { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; margin: 0; gap: 2px; text-align: right; }
.box-price__amount { color: #202426; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
.box-price__vat { color: #787e84; font-size: 10px; line-height: 1.4; }
.box-purchase__row { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 8px; }
.box-quantity { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; align-items: center; min-width: 0; overflow: hidden; border: 1px solid #e1e5e8; border-radius: 6px; background: #fff; }
.box-quantity__button { display: grid; place-items: center; width: 32px; height: 38px; padding: 0; border: 0; background: #fff; color: #27313a; font: inherit; font-size: 17px; cursor: pointer; }
.box-quantity__button:hover { background: #f1f5f6; }
.box-quantity__input { width: 100%; min-width: 0; height: 38px; margin: 0; padding: 0; border: 0; background: #fff; color: #202426; font: inherit; font-size: 13px; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.box-quantity__input::-webkit-inner-spin-button, .box-quantity__input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.box-purchase__action { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; padding: 0; }
.box-purchase__action.updateItemArea { display: none; }
.product-card .box-purchase .box-purchase__action[style*="display: block"] { display: block !important; }
.box-basket-button { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 9px; border: 1px solid #0097b2; border-radius: 6px; background: #0097b2; color: #fff; cursor: pointer; }
.box-basket-button svg { display: block; width: 21px; height: 21px; }
.box-basket-button:hover { background: #007b91; border-color: #007b91; }
.box-basket-button:focus-visible, .box-quantity__button:focus-visible, .box-quantity__input:focus-visible { outline: 2px solid #0097b2; outline-offset: 2px; }
.box-purchase__unavailable { display: block; color: #8a4242; font-size: 12px; }
@media (max-width: 575.98px) {
  .box-purchase__row { gap: 6px; }
  .box-quantity { grid-template-columns: 29px minmax(0, 1fr) 29px; }
  .box-quantity__button { width: 29px; }
}
