.pg-unit-price { white-space: nowrap; font-size: .78em; }
.pg-unit-help, .pg-unit-cart-label, .pg-unit-selected { font-size: .88rem; line-height: 1.45; }
.pg-unit-help { flex-basis: 100%; margin: 0 0 12px; }
body .pg-unit-chooser { display: inline-flex; flex-direction: column; gap: 7px; max-width: min(100%, 24rem); }
body .pg-unit-chooser label { display: block; margin: 0; font-size: .95rem; line-height: 1.4; }
body .pg-unit-controls { display: inline-flex; align-items: stretch; width: fit-content; max-width: 100%; }
body .pg-unit-controls input.pg-unit-amount {
    box-sizing: border-box; width: 104px; height: 44px; min-height: 44px; max-height: 44px;
    padding: 6px 10px; color: #f5eddf; background: #22231f; border: 1px solid #8f7957;
    border-radius: 0; font: inherit; font-size: 1rem; line-height: 1.4; text-align: center;
    appearance: textfield; -moz-appearance: textfield;
}
body .pg-unit-amount::-webkit-inner-spin-button, body .pg-unit-amount::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body .pg-unit-controls button.pg-unit-minus, body .pg-unit-controls button.pg-unit-plus {
    box-sizing: border-box; width: 44px; height: 44px; min-width: 44px; padding: 0;
    color: #f5eddf; background: #22231f; border: 1px solid #8f7957; font: inherit; font-size: 1.2rem;
    cursor: pointer; line-height: 1;
}
body .pg-unit-controls button.pg-unit-minus { border-radius: 6px 0 0 6px; border-right: 0; }
body .pg-unit-controls button.pg-unit-plus { border-radius: 0 6px 6px 0; border-left: 0; }
body .pg-unit-controls button:disabled { color: #9c968b; cursor: default; }
body .pg-unit-controls :focus-visible { outline: 2px solid var(--pg-gold, #b9965a); outline-offset: 3px; z-index: 1; }
.pg-unit-selected { display: block; }
.quantity:has(input.pg-sales-units):not(.pg-unit-native)::after { content: ' × 100 г'; display: block; font-size: .85rem; }
/* Override the theme's author-level display:inline-flex even though the native wrapper has [hidden]. */
body .quantity.pg-unit-native[hidden] { display: none !important; }
.pg-unit-block .wc-block-components-product-name { line-height: 1.5; }
