/* Pair explicit backgrounds with text colours so vendor panels cannot inherit pale-on-pale text. */
:is(.woocommerce-checkout, .woocommerce-cart) :is(#box_now_selected_locker_details_blocks, #box_now_selected_locker_details) .locker-info {
    background: #182218 !important;
    color: #f3f6ef !important;
    border: 2px solid #6cd04e !important;
    border-radius: 6px;
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}
:is(.woocommerce-checkout, .woocommerce-cart) .locker-info :is(p, b, strong, span) {
    color: #f3f6ef !important;
    opacity: 1;
}
:is(.woocommerce-checkout, .woocommerce-cart) .locker-info :is(.locker-title, .locker-title b) {
    color: #9de087 !important;
}
:is(.woocommerce-checkout, .woocommerce-cart) :is(#box_now_delivery_button_blocks, #box_now_delivery_button) {
    background: #6cd04e !important;
    color: #142310 !important;
    min-height: 48px;
    padding: 0.75rem 1rem !important;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    max-width: 100%;
    white-space: normal;
    cursor: pointer;
}
:is(.woocommerce-checkout, .woocommerce-cart) :is(.wc-block-components-text-input, .wc-block-components-combobox, .wc-block-components-textarea) :is(input, select, textarea),
:is(.woocommerce-checkout, .woocommerce-cart) .wc-block-components-textarea,
:is(.woocommerce-checkout, .woocommerce-cart) .wc-block-components-select .wc-block-components-select__select {
    background-color: #202020 !important;
    color: #f5f3ed !important;
    border-color: #8a867e !important;
    caret-color: #f5f3ed;
    color-scheme: dark;
}
:is(.woocommerce-checkout, .woocommerce-cart) :is(.wc-block-components-text-input, .wc-block-components-combobox, .wc-block-components-select) label {
    color: #cbc7bf !important;
}
:is(.woocommerce-checkout, .woocommerce-cart) :is(input, textarea)::placeholder {
    color: #bdb9b1 !important;
    opacity: 1;
}
:is(.woocommerce-checkout, .woocommerce-cart) .wc-block-components-select__expand {
    fill: #f5f3ed !important;
}
:is(.woocommerce-checkout, .woocommerce-cart) :is(button, a, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #f0c66b !important;
    outline-offset: 3px;
}
:is(.woocommerce-checkout, .woocommerce-cart) .wc-block-components-validation-error {
    color: #ffb4ab !important;
}

/* Keep wallet iframes unavailable until the shipping choice has been checked. */
html:not(.bgb-boxnow-express-ready) :is(.woocommerce-checkout, .woocommerce-cart) :is(
    .wc-block-components-express-payment,
    .wp-block-woocommerce-checkout-express-payment-block,
    #wc-stripe-express-checkout-element,
    .wc-stripe-express-checkout-element,
    #wc-stripe-payment-request-wrapper,
    .wc-stripe-payment-request-wrapper,
    .wc-stripe-payment-request-button,
    .wc-stripe-express-checkout-button,
    .woocommerce-paypal-payments-ppcp-button,
    .wc-ppcp-checkout-container,
    .wc-ppcp-paypal-buttons,
    .ppc-button-wrapper,
    #ppc-button,
    .paypal-button-container,
    .paypal-buttons
) {
    display: none !important;
}
.bgb-boxnow-express-notice {
    padding: 1rem;
    margin: 0 0 1.5rem;
    color: #f3f6ef;
    background: #182218;
    border: 1px solid #6cd04e;
    border-radius: 4px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.bgb-boxnow-express-notice[hidden] {
    display: none !important;
}
.bgb-boxnow-express-notice p {
    margin: 0 0 0.5rem;
    color: inherit;
}
.bgb-boxnow-express-notice button {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    background: #6cd04e;
    color: #142310;
    border: 2px solid transparent;
    border-radius: 4px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
