.product__buy__bnts:has(#product-cart-quantity) { flex-wrap: wrap; gap: 12px; }
#product-cart-quantity[hidden], #product-cart-error[hidden], .product__buy__bnts #button-cart[hidden] { display: none !important; }
.product-cart-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 1 200px;
    min-width: 190px;
    height: 50px;
    border: 1px solid #231f20;
    border-radius: 6px;
    background: #000;
    color: #fff;
    order: 0;
}
.product__buy__bnts .product-cart-quantity .product-cart-quantity__step {
    flex: 0 0 34px;
    width: 34px;
    height: 48px;
    min-height: 0;
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 24px;
    line-height: 1;
}
.product-cart-quantity__label { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; font-size: 14px; white-space: nowrap; }
.product-cart-quantity__label input {
    box-sizing: content-box;
    width: 2ch;
    min-width: 2ch;
    padding: 2px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.55);
    border-radius: 0;
    outline-offset: 2px;
    background: transparent;
    color: #fff;
    font: inherit;
    text-align: center;
}
.product-cart-quantity button:disabled { opacity: .4; cursor: default; }
.product-cart-quantity:focus-within { outline: 2px solid #c3a477; outline-offset: 2px; }
.product__buy__bnts #buyoneclick__btn { order: 1; }
.product-cart-error { flex: 0 0 100%; order: 2; color: #8f292f; font-size: 14px; }
@media (max-width: 575px) {
    #product-product .product-cart-quantity {
        box-sizing: border-box;
        height: 30px;
        align-self: flex-start;
    }
    #product-product .product__buy__bnts .product-cart-quantity .product-cart-quantity__step {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 30px;
        width: 30px;
        height: 28px;
        margin: 0;
        line-height: 1;
    }
    #product-product .product-cart-quantity__label input { padding: 0 2px; }
}
@media (max-width: 375px) {
    #product-product .product__buy__bnts:has(#product-cart-quantity) {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    #product-product .product__buy__bnts #button-cart,
    #product-product .product__buy__bnts #buyoneclick__btn,
    #product-product .product__buy__bnts .product-cart-quantity {
        box-sizing: border-box;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        margin: 0;
        align-self: stretch;
    }
}
