.woocommerce .product .bbd-preorder-note {
    margin-block: 0 .75em;
    color: #535760;
    font-size: .9em;
    line-height: 1.45;
}

.woocommerce .product form.cart:has(+ .bbd-preorder-note:not([hidden])) {
    margin-bottom: .4em;
}

.stickycartcontent.scstuck .bbd-preorder-note,
html[data-bbd-region]:not([data-bbd-region="us"]) .bbd-preorder-note {
    display: none;
}

@media (min-width: 768px) {
    .woocommerce .product .stickycartcontent:not(.scstuck) .bbd-preorder-note {
        margin: .25rem 0 0;
        font-size: .85em;
        text-align: right;
    }

    .woocommerce .product #div_block-388-529:has(+ .bbd-fulfillment-line > .bbd-preorder-note:not([hidden])) {
        margin-bottom: .4rem;
    }

    html[data-bbd-region="us"] .woocommerce .product #div_block-1772-529.bbd-fulfillment-line:has(> .bbd-preorder-note:not([hidden])) {
        display: block;
        color: #626262;
        font-size: .85em;
        font-style: italic;
        line-height: 1.45;
        text-align: right;
        overflow-wrap: anywhere;
    }

    html[data-bbd-region="us"] #div_block-1772-529.bbd-fulfillment-line:has(> .bbd-preorder-note:not([hidden]))
        > :is(.localnotice, .bbd-preorder-note) {
        display: inline;
        margin: 0;
        color: inherit;
        font: inherit;
    }

    html[data-bbd-region="us"] #div_block-1772-529.bbd-fulfillment-line:has(> .bbd-preorder-note:not([hidden]))
        > .bbd-preorder-note {
        margin-inline-start: .5em;
    }
}

@media (max-width: 767px) {
    .bbd-fulfillment-line > .bbd-preorder-note {
        display: none;
    }

    #scmobile:has(.bbd-preorder-note:not([hidden])) {
        max-width: 100dvw;
        bottom: max(0px, calc(100% - 100dvh));
    }

    html[data-bbd-region="us"] #scmobile:has(.bbd-preorder-note:not([hidden])) {
        max-width: calc(100dvw - 76px);
    }

    #scmobile .bbd-preorder-note:not([hidden]) {
        position: absolute;
        inset-inline: 0;
        inset-block-end: 100%;
        margin: 0;
        padding: .45rem .65rem;
        border-top: 1px solid #e4e6eb;
        background: #fff;
        color: #202128;
        font-size: 12px;
        text-align: center;
    }

    html[data-bbd-region="us"] #scmobile .bbd-preorder-selected .single_variation_wrap {
        flex-basis: 82px;
        width: 82px;
    }

    html[data-bbd-region="us"] #scmobile :is(.bbd-preorder-selected, form.cart:has(+ .bbd-preorder-note:not([hidden]))) .single_add_to_cart_button {
        width: 82px !important;
        font-size: 12px !important;
        letter-spacing: normal;
        line-height: 1;
        text-transform: none;
        text-indent: 0;
        white-space: nowrap;
    }

    html[data-bbd-region="us"] #scmobile form.cart:not(.variations_form):has(+ .bbd-preorder-note:not([hidden])) .single_add_to_cart_button {
        width: 104px !important;
    }

    html[data-bbd-region="us"] #scmobile :is(.bbd-preorder-selected, form.cart:has(+ .bbd-preorder-note:not([hidden]))) .single_add_to_cart_button::before {
        content: none;
    }
}
