/*
 * Luma assigns flex order:1 to .page-title-wrapper.product inside the
 * .product-info-main flex container. Without an explicit order here,
 * .tkr-na-notice defaults to order:0 and renders ABOVE the title even
 * though it sits after it in the DOM. Force it to order:1 so it sorts
 * immediately after the title (DOM order breaks the tie) and before
 * .extra-attributes (order:2).
 *
 * Shipped as a module asset (not theme LESS or CMS-block-embedded CSS)
 * because per-theme LESS is NOT inherited in this project, and the
 * AddNoticeCmsBlock data patch is idempotent and has already run in
 * production, so edits to its source never reach the live CMS block.
 */
.product-info-main .tkr-na-notice {
    order: 1;
}

/*
 * Block\Notice::appendFallbackNote() normally injects the "could not locate
 * this exact product" note INSIDE .tkr-na-notice, so it inherits the order
 * above. This standalone wrapper is only emitted when the admin's CMS block
 * has been re-authored without the expected container; it needs the same
 * order so it can never render above the product title.
 */
.product-info-main .tkr-na-notice--fallback {
    order: 1;
}

.tkr-na-notice .tkr-na-fallback-note {
    font-size: 1.3rem;
    opacity: 0.85;
}

/* The real NA price line, prefixed before the CTA — see Block\Notice::priceLine(). */
.tkr-na-price {
    display: block;
    margin: 0 0 0.8rem;
}
