.chang-order-note,
.chang-cart-note {
    border-left: 3px solid #2d5f5d;
    background: #eef5f2;
    color: #243b38;
    padding: 14px 18px;
    line-height: 1.55;
}

.chang-order-note {
    margin: 0 0 24px;
}

.chang-cart-note {
    margin: 18px 0 0;
}

.chang-total-note {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 5px;
}

.woocommerce ul.products li.product {
    position: relative;
}

.chang-preorder-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    max-width: calc(100% - 24px);
    border-radius: 999px;
    background: #fff1cc;
    color: #79520c;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    pointer-events: none;
}

.stock.available-on-backorder {
    color: #79520c;
    font-weight: 600;
}

/* Contact-only catalogue: hide retired storefront cart/account controls. */
body .bhfb-component-woo_icons,
body .site-header-cart,
body .wc-account-link,
body #chang-auth-modal,
body .woocommerce-mini-cart,
body .woocommerce-mini-cart__buttons { display: none !important; }

.chang-contact-order {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e4ece8;
    border-radius: 18px;
    background: #f4faf7;
}
.chang-contact-order__intro { margin: 0 0 14px; font-weight: 700; color: #203b3a; }
.chang-contact-order__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chang-contact-order__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border: 2px solid #1f6f6a;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
}
.chang-contact-order__zalo { background: #1f6f6a; color: #fff !important; }
.chang-contact-order__phone { background: #fff; color: #1f6f6a !important; }
.chang-contact-order__note { margin: 14px 0 8px; font-size: 14px; line-height: 1.6; }
.chang-contact-order__payment { margin: 0; font-size: 14px; line-height: 1.6; }
.chang-contact-order .stock { margin-top: 0; }
.page-id-61 .chang-contact-order { max-width: 760px; margin: 0 auto 32px; }

@media (max-width: 640px) {
    .chang-contact-order { padding: 16px; }
    .chang-contact-order__actions { flex-direction: column; }
    .chang-contact-order__actions a { width: 100%; box-sizing: border-box; }
}

body .chang-float-wrap {
    right: 12px !important;
    bottom: 16px !important;
}

body .chang-float-btn {
    border-radius: 50% !important;
}

body .chang-float-text {
    display: none !important;
}

.woocommerce-cart .chang-float-wrap,
.woocommerce-checkout .chang-float-wrap {
    display: none !important;
}

@media (max-width: 768px) {
    body .chang-float-wrap {
        bottom: 12px !important;
        right: 12px !important;
    }
}
