/* Product-detail quantity selector matching the WooCommerce cart control. */
.product_section_details .product_add_to_cart .quantity {
    display: inline-flex !important;
    align-items: center;
    width: auto;
    margin: 0 10px 10px 0;
    padding: 4px;
    border: 1px solid #d4d4d4;
    border-radius: 10px !important;
    background: #fff;
    float: none;
    vertical-align: middle;
}

.product_section_details .product_add_to_cart .quantity .bpa-quantity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    min-width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--green-dark);
    color: #fff;
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    appearance: none;
}

.product_section_details .product_add_to_cart .quantity .bpa-quantity-button:hover,
.product_section_details .product_add_to_cart .quantity .bpa-quantity-button:focus-visible {
    background: var(--green-dark);
    color: #fff;
    outline: 2px solid #f4ca4e;
    outline-offset: 2px;
}

.product_section_details .product_add_to_cart .quantity .bpa-quantity-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.product_section_details .product_add_to_cart .quantity input.qty {
    width: 42px;
    min-width: 42px;
    height: 25px;
    margin: 0;
    padding: 0 4px;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    color: #000;
    font: inherit;
    line-height: 25px;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.product_section_details .product_add_to_cart .quantity input.qty:focus {
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
}

.product_section_details .product_add_to_cart .quantity input.qty::-webkit-inner-spin-button,
.product_section_details .product_add_to_cart .quantity input.qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* Keep the native variable-product button functional, but match btn_contacts. */
.product_section_details .product_add_to_cart .variations_form .single_add_to_cart_button {
    display: inline-block;
    box-sizing: border-box;
    float: none;
    width: 50%;
    margin: 0 0 10px;
    padding: 8px 30px;
    border: 1px solid var(--gold) !important;
    border-radius: 10px;
    background: #f4ca4e !important;
    color: #000 !important;
    font-family: "Epilogue", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: opacity .5s ease, transform 2s cubic-bezier(0, 0, .44, 1.18);
}

.product_section_details .product_add_to_cart .variations_form .single_add_to_cart_button:hover:not(:disabled):not(.disabled),
.product_section_details .product_add_to_cart .variations_form .single_add_to_cart_button:focus-visible:not(:disabled):not(.disabled) {
    border-color: var(--green-dark) !important;
    background: var(--green-dark) !important;
    color: #fff !important;
}

.product_section_details .product_add_to_cart .variations_form .single_add_to_cart_button:focus-visible {
    outline: 2px solid #f4ca4e;
    outline-offset: 2px;
}

.product_section_details .product_add_to_cart .variations_form .single_add_to_cart_button:disabled,
.product_section_details .product_add_to_cart .variations_form .single_add_to_cart_button.disabled {
    background: #f4ca4e !important;
    color: #000 !important;
    cursor: not-allowed;
    opacity: .5 !important;
}
