.bspm-pass-listing .single-product-header,
.bspm-pass-listing .woocommerce-breadcrumb,
.bspm-pass-listing .product_meta .sku_wrapper,
.bspm-pass-listing .product_meta .posted_in { display:none !important; }

form.checkout .bspm-pass-context[hidden],
form.checkout .bspm-omit-address { display:none !important; }
form.checkout .bspm-billing-country[hidden] { display:none !important; }
form.checkout .bspm-billing-country { margin:.5em 0 1em; font-size:.9em; }
form.checkout .bspm-billing-country button { margin:0 0 0 .4em; padding:0; background:transparent; border:0; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; }

form:is(.bspm-pass-checkout,:has(.bspm-pass-context)) #payment ul.payment_methods,
form:is(.bspm-pass-checkout,:has(.bspm-pass-context)) #payment ul.payment_methods > li { list-style:none !important; }
form:is(.bspm-pass-checkout,:has(.bspm-pass-context)) #payment ul.payment_methods > li::marker { content:""; }
form:is(.bspm-pass-checkout,:has(.bspm-pass-context)) #payment ul.payment_methods > li::before { content:none !important; }

/* Landing-page pass shortcode. */
form.bspm-purchase {
    display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:.75rem;
}

form.bspm-purchase .bspm-quantity { display:inline-flex; align-items:center; }
form.bspm-purchase .bspm-quantity[hidden],
form.bspm-purchase .bspm-step[hidden] { display:none !important; }

form.bspm-purchase .bspm-stepper {
    box-sizing:border-box; color:#12381f; background:#fff; border:1px solid #c4d1c7; border-radius:6px;
}
form.bspm-purchase .bspm-quantity .quantity { float:none; margin:0; padding:0; width:auto; }
form.bspm-purchase .bspm-quantity input[name="quantity"]:not([type="hidden"]) {
    box-sizing:border-box; width:3.5em; height:46px; margin:0; padding:0 .2em;
    font:inherit; font-weight:600; text-align:center; color:#12381f; background:#fff;
}
form.bspm-purchase .bspm-stepper input[name="quantity"] {
    border:0; border-inline:1px solid #d4dfd7; border-radius:0; appearance:textfield; -moz-appearance:textfield;
}
form.bspm-purchase .bspm-stepper input::-webkit-inner-spin-button,
form.bspm-purchase .bspm-stepper input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }

form.bspm-purchase button.bspm-step {
    box-sizing:border-box; display:inline-grid; place-items:center; width:44px; height:46px;
    margin:0; padding:0; border:0; border-radius:5px; background:#fff; color:#12381f;
    font:inherit; font-size:1.3em; line-height:1; cursor:pointer;
}
form.bspm-purchase button.bspm-step:hover:enabled { background:#eef5e7; }
form.bspm-purchase button.bspm-step:disabled { color:#708177; cursor:default; opacity:1; }

form.bspm-purchase button.button.bspm-buy {
    box-sizing:border-box; min-height:48px; margin:0; padding:.65em 1.25em;
    border:0; border-radius:6px; background:#76bf08; color:#12381f;
    font:inherit; font-weight:700; line-height:1.2; cursor:pointer;
}
form.bspm-purchase button.button.bspm-buy:hover { background:#87ce1c; color:#12381f; }
form.bspm-purchase :is(button,input):focus-visible {
    position:relative; z-index:1; outline:2px solid #12381f; outline-offset:1px; box-shadow:0 0 0 5px #fff;
}

.bspm-coupon { margin:1rem 0; font-size:.95em; }
.bspm-coupon summary { cursor:pointer; color:#165c35; width:fit-content; text-decoration:underline; text-underline-offset:.18em; }
.bspm-coupon-row { display:flex; align-items:center; gap:.5rem; max-width:24rem; margin:.65rem 0; }
.bspm-coupon-row input { flex:1; min-width:0; }
.bspm-coupon-feedback:empty { display:none; }

.bspm-pass-payment-page .woocommerce-form-login-toggle,
.bspm-pass-payment-page .woocommerce-info:has(a.showlogin) {
    display:none !important;
}

@media (min-width: 992px) {
    /* Center the gateway wrapper itself. The iframe fills that wrapper. */
    .bspm-pass-payment-page :is(#wc-stripe-express-checkout-element,
        #wcpay-express-checkout-element, #wc-stripe-payment-request-button,
        #wcpay-payment-request-button, #wc-stripe-express-checkout-button,
        #wcpay-express-checkout-button, #wc-stripe-express-checkout-element-wrapper,
        #wcpay-express-checkout-wrapper, #wcpay-express-checkout-element-wrapper,
        #wc-stripe-payment-request-wrapper, #wcpay-payment-request-wrapper) {
        box-sizing:border-box;
        float:none !important;
        width:100% !important;
        max-width:46rem !important;
        margin-left:auto !important;
        margin-right:auto !important;
        align-self:center;
        justify-self:center;
    }
}
