.nc-buybar[hidden], .nc-buybar [hidden] { display: none !important; }
.nc-buybar { position: fixed; inset: auto 0 0; z-index: 990; background: rgba(255,255,255,.98); border-top: 1px solid #e2e7ef; box-shadow: 0 -6px 26px #10243c12; padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px)); color: #10243c; font-family: "Inter", sans-serif; }
.nc-buybar * { box-sizing: border-box; }
.nc-buybar-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1200px; margin: 0 auto; }
.nc-buybar-product { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.nc-buybar-product > img { width: 48px; height: 48px; object-fit: contain; border: 1px solid #edf0f5; border-radius: 8px; background: #fff; }
.nc-buybar-product > div { min-width: 0; }
.nc-buybar .nc-buybar-title { margin: 0 0 3px; font-size: 13px; font-weight: 650; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 540px; }
.nc-buybar-price { font-size: 20px; line-height: 1.3; font-weight: 750; color: #2e59ef; }
.nc-buybar-price :is(.amount, .woocommerce-Price-currencySymbol) { font-size: inherit !important; }
.nc-buybar-price ins { background: none; text-decoration: none; }
.nc-buybar-price del { font-size: 12px; font-weight: 400; color: #8490a2; }
.nc-buybar-price .woocommerce-price-suffix { font-size: 10px !important; font-weight: 400; color: #758298; }
.nc-buybar-price > br, .nc-buybar-price .tiered-pricing-you-save { display: none; }
.nc-buybar-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nc-buybar-quantity { display: flex; align-items: stretch; height: 48px; overflow: hidden; border: 1px solid #cdd3dd; border-radius: 26px; background: #f6f8fb; }
.nc-buybar .nc-buybar-quantity button { width: 32px; min-width: 32px; padding: 0; margin: 0; border: 0; background: transparent; color: #10243c; font-size: 20px; line-height: 1; border-radius: 0; }
.nc-buybar .nc-buybar-quantity input { width: 50px; min-width: 0; height: 46px; padding: 0 3px; margin: 0; border: 0; border-left: 1px solid #dce1e8; border-right: 1px solid #dce1e8; border-radius: 0; background: #fff; font-size: 15px; font-weight: 700; color: #10243c; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.nc-buybar input::-webkit-inner-spin-button, .nc-buybar input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nc-buybar .nc-buybar-submit { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; min-width: 225px; padding: 12px 24px; border: 0; border-radius: 26px; background: #2e56d5; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.nc-buybar .nc-buybar-submit:hover:not(:disabled) { background: #2045b8; }
.nc-buybar-submit svg { flex: 0 0 19px; width: 19px; height: 19px; }
.nc-buybar button:disabled { opacity: .45; cursor: not-allowed; }
.nc-buybar :focus-visible { outline: 2px solid #2e59ef; outline-offset: -3px; }
body[class*="showing-popup-drawer"] .nc-buybar, body:has(dialog[open]) .nc-buybar { visibility: hidden; pointer-events: none; }
@media (max-width: 767px) {
    .nc-buybar { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
    .nc-buybar-inner { flex-wrap: wrap; gap: 8px; }
    .nc-buybar-product { flex-basis: 100%; }
    .nc-buybar-product > img, .nc-buybar .nc-buybar-title { display: none; }
    .nc-buybar-price { font-size: 18px; }
    .nc-buybar-actions { width: 100%; gap: 10px; }
    .nc-buybar .nc-buybar-submit { flex: 1; min-width: 0; padding: 12px 15px; font-size: 13px; }
}
/* Show a calculated line total without altering the plugin's source price nodes. */
body.single-product .summary .nc-unit-price-source { display: none !important; }
.nc-product-total[hidden] { display: none !important; }
.nc-product-total { margin: 18px 0 24px; color: #2e59ef; line-height: 1.2; }
.nc-product-total-label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 500; color: #718096; }
.nc-product-total-amount { font-size: clamp(30px, 3.6vw, 46px); font-weight: 750; letter-spacing: -.025em; }
.nc-product-total small { font-size: 12px; margin-left: 8px; color: #718096; font-weight: 400; }
.nc-product-total-unit { display: block; margin-top: 7px; font-size: 13px; font-weight: 400; color: #718096; }
.nc-buybar-price .nc-product-total-amount { font-size: 21px; letter-spacing: 0; }
.nc-buybar-price small { margin-left: 6px; font-size: 10px; color: #718096; font-weight: 400; }
.nc-buybar { opacity: 0; transform: translateY(110%); visibility: hidden; pointer-events: none; transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .24s ease, visibility 0s linear .3s; }
.nc-buybar.is-visible { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .nc-buybar { transition: none; } }