.nf-purchase-sheet [hidden], .nf-quick-purchase {display:none!important}
.nf-purchase-sheet > .nf-flag-dialog-header {align-items:center;padding-block:10px}
.nf-purchase-sheet .nf-purchase-tabs {display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin:10px 16px 0;border-radius:8px;background:#eef2ef}
.nf-purchase-sheet .nf-purchase-tabs button, .nf-quick-purchase button, .nf-purchase-actions button {
    min-height:44px;padding:8px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:#233c33;font:inherit;font-weight:650;line-height:1.25;cursor:pointer;
}
.nf-purchase-sheet .nf-purchase-tabs button[aria-pressed="true"] {background:#fff;border-color:#d6e2d9;box-shadow:0 1px 2px #20382d15}
.nf-purchase-sheet .nf-purchase-tabs button, .nf-quick-purchase button {letter-spacing:.02em;text-transform:none;font-size:.94rem}
.nf-purchase-sheet .nf-flag-dialog-search {padding-block:10px 0;border:0;gap:4px}
.nf-purchase-sheet input[type="search"] {width:100%;min-height:42px;border:1px solid #bfcec4;border-radius:6px;padding:8px 10px;background:#fff;color:inherit;font-size:16px}
.nf-purchase-sheet .nf-flag-dialog-results {min-height:0;scrollbar-width:thin}
.nf-purchase-sheet .nf-flag-dialog-results .noofno-swatch-title {display:block;visibility:visible;opacity:1;color:#233c33;position:static;line-height:1.3}
.nf-purchase-sheet .nf-flag-dialog-footer {flex:none;padding-block:5px}
.nf-purchase-actions {padding:8px 16px max(9px,env(safe-area-inset-bottom));border-top:1px solid #dce6df}
.nf-purchase-actions p, .nf-quick-purchase p {margin:0;color:#284136;font-size:.78rem;line-height:1.3}
.nf-purchase-actions button {width:100%;margin-top:6px}
.nf-purchase-actions button, .nf-quick-purchase [data-nf-quick-add] {background:#233d33;color:white}
.nf-purchase-actions p[role="status"]:empty, .nf-quick-purchase p[role="status"]:empty {display:none}
.nf-purchase-actions p[role="status"]:not(:empty) {margin-top:5px}
.nf-purchase-bag {min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.nf-purchase-bag > a {display:inline-block;margin:9px 16px 0;font-weight:650;text-decoration:underline;color:#233d33}
.nf-purchase-sheet .nf-embedded-cart,
.nf-purchase-sheet .nf-embedded-cart .noofno-visual-cart-drawer__panel {position:static!important;inset:auto!important;transform:none!important;width:100%;height:auto;max-width:none;max-height:none;margin:0;box-shadow:none;overflow:visible}
.nf-purchase-sheet .nf-embedded-cart {display:block;z-index:auto;background:transparent;pointer-events:auto}
.nf-purchase-sheet .nf-embedded-cart .noofno-visual-cart-drawer__head,
.nf-purchase-sheet .nf-embedded-cart .noofno-visual-cart-drawer__backdrop {display:none}
.nf-purchase-sheet .nf-embedded-cart [data-noofno-visual-cart-body] {overflow:visible}
@media(max-width:767px){
    body.nf-purchase-sheet-enabled {padding-bottom:calc(92px + env(safe-area-inset-bottom))}
    body.nf-purchase-sheet-enabled .ast-sticky-add-to-cart {display:none!important}
    .nf-quick-purchase:not([hidden]) {display:grid!important;position:fixed;inset:auto 0 0;z-index:999;padding:7px 12px max(8px,env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;gap:5px 8px;background:white;border-top:1px solid #cfdbd2;box-shadow:0 -4px 20px #24383215}
    .nf-quick-purchase p {grid-column:1 / -1}
    .nf-quick-purchase [data-nf-quick-choose] {border-color:#aebfb4}
    .nf-quick-purchase button:disabled {opacity:.45}
    .nf-purchase-sheet {position:fixed;inset:auto 0 0;margin:0;width:100%;max-height:min(86dvh,720px);border-radius:14px 14px 0 0}
}
