/* Scoped to favorites components. Product grids and checkout are untouched. */
.nnv-fav-product,.nnv-favorites{--nnvf-yellow:#ffd23f;--nnvf-dark:#191c21;--nnvf-line:#e0e4e9;color:#20252b;font-family:inherit;line-height:1.5;max-width:100%;box-sizing:border-box}
.nnv-fav-product *,.nnv-favorites *{box-sizing:border-box}
.nnv-fav-product{clear:both;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 20px}
.nnv-fav-product button.nnv-fav-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;background:#fff;color:#191c21;border:1px solid #bfc6cf;border-radius:8px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;text-transform:none;letter-spacing:normal;box-shadow:none;cursor:pointer;margin:0}
.nnv-fav-product button.nnv-fav-toggle[aria-pressed="true"]{background:#fff7d5;border-color:#c9a020}
.nnv-fav-toggle svg,.nnv-fav-empty svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.nnv-fav-toggle[aria-pressed="true"] svg{fill:#191c21}
.nnv-fav-product .nnv-fav-list-link{font-size:13px;color:#333;text-decoration:underline}
.nnv-fav-product-status{flex-basis:100%;margin:0!important;font-size:12px;color:#515a66}
.nnv-fav-product-status:empty,.nnv-fav-status:empty{display:none}
.nnv-fav-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;background:#fff8db;border:1px solid #ebd995;border-radius:10px;margin:0 0 16px}
.nnv-fav-count{font-size:15px;font-weight:700}
.nnv-fav-cart-link{color:#20252b;text-decoration:underline;font-size:14px;font-weight:700}
.nnv-fav-status{font-size:13px;margin:8px 0 14px;color:#5b4611}
.nnv-fav-items{display:flex;flex-direction:column;gap:12px}
.nnv-favorites .nnv-fav-item{display:grid;grid-template-columns:100px minmax(0,1fr) 180px;gap:18px;align-items:center;border:1px solid #e0e4e9;border-radius:12px;padding:16px;background:#fff;box-shadow:0 2px 8px #00000006;margin:0}
.nnv-fav-image{display:block;width:100px;height:100px;border:1px solid #eceff2;border-radius:8px;overflow:hidden;background:#fff}
.nnv-fav-image img{display:block;width:100%!important;height:100%!important;object-fit:contain;margin:0!important;border:0}
.nnv-fav-info{min-width:0;overflow-wrap:anywhere}
.nnv-favorites .nnv-fav-name{display:block;color:#191c21;font-weight:700;font-size:15px;text-decoration:none;line-height:1.5;margin-bottom:8px}
.nnv-fav-price{font-size:16px;font-weight:700;color:#282d34;margin-bottom:5px}
.nnv-fav-price p{margin:0}
.nnv-fav-price small{font-size:11px;font-weight:400}
.nnv-fav-stock{display:inline-block;font-size:12px;font-weight:600}
.nnv-fav-stock.is-stock{color:#216a43}.nnv-fav-stock.no-stock{color:#9e3434}
.nnv-fav-actions{display:flex;flex-direction:column;gap:9px;align-items:stretch;min-width:0}
.nnv-fav-add-cart{margin:0!important;padding:0!important;border:0!important}
.nnv-favorites .nnv-fav-action,.nnv-favorites .nnv-fav-secondary{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:10px 12px;border:1px solid #c9a020;border-radius:8px;background:#ffd23f;color:#17191c;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;text-transform:none;letter-spacing:normal;cursor:pointer;margin:0;box-shadow:none}
.nnv-favorites .nnv-fav-secondary{background:#f4f5f7;border-color:#d8dde4;color:#3b424c}
.nnv-favorites button.nnv-fav-remove{padding:7px 4px;min-height:36px;background:transparent;border:0;border-radius:4px;color:#686f79;font-family:inherit;font-size:12px;line-height:1.5;text-decoration:underline;text-transform:none;letter-spacing:normal;cursor:pointer;box-shadow:none;margin:0}
.nnv-favorites button:disabled,.nnv-fav-product button:disabled{opacity:.55;cursor:wait}
.nnv-fav-empty{display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;padding:40px 20px;background:#fafbfc;border:1px dashed #d6dce4;border-radius:12px}
.nnv-fav-empty svg{width:44px;height:44px;color:#7b8491}
.nnv-fav-empty p{margin:0!important;color:#515b68;font-size:16px}
.nnv-fav-empty .nnv-fav-action{width:auto;min-width:180px}
.nnv-fav-storage-note{font-size:12px;color:#727b87;margin:16px 0 0}
.nnv-favorites [hidden]{display:none!important}
.nnv-fav-missing{grid-column:1 / 3;font-size:14px;color:#737b86}
.nnv-favorites button:focus-visible,.nnv-favorites a:focus-visible,.nnv-fav-product button:focus-visible,.nnv-fav-product a:focus-visible{outline:3px solid #386ca6;outline-offset:3px}
@media(max-width:600px){
.nnv-favorites .nnv-fav-item{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px}
.nnv-fav-image{width:76px;height:76px}
.nnv-favorites .nnv-fav-name{font-size:13px;line-height:1.5;margin-bottom:6px}
.nnv-fav-price{font-size:15px}
.nnv-fav-actions{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center}
.nnv-fav-missing{grid-column:1 / -1}
.nnv-favorites button.nnv-fav-remove{min-height:44px}
.nnv-fav-toolbar{padding:12px}
.nnv-fav-product{gap:10px}
}
/* Keep component colors consistent when a theme has stronger button selectors. */
.nnv-fav-product button.nnv-fav-toggle{background:#fff!important;color:#191c21!important;box-shadow:none!important}
.nnv-fav-product button.nnv-fav-toggle[aria-pressed="true"]{background:#fff7d5!important}
.nnv-favorites .nnv-fav-action{background:#ffd23f!important;color:#17191c!important;box-shadow:none!important}
.nnv-favorites .nnv-fav-secondary{background:#f4f5f7!important;color:#3b424c!important}
.nnv-favorites button.nnv-fav-remove{background:transparent!important;color:#686f79!important;box-shadow:none!important;border:0!important}

/* Product button: retain its existing layout and position. */
.nnv-fav-product button.nnv-fav-toggle{background:#d92d3a!important;color:#fff!important;border-color:#d92d3a;transition:background-color .18s ease,box-shadow .18s ease}
.nnv-fav-product button.nnv-fav-toggle[aria-pressed="true"]{background:#a91d2a!important;border-color:#a91d2a}
.nnv-fav-toggle[aria-pressed="true"] svg{fill:currentColor}
@media(hover:hover){.nnv-fav-product button.nnv-fav-toggle:hover:not(:disabled){background:#b51e2b!important;border-color:#b51e2b;box-shadow:0 4px 12px #b51e2b30!important}}
.nnv-favorites .nnv-fav-action.loading{opacity:.6;pointer-events:none}
.nnv-favorites .added_to_cart{font-size:12px;text-align:center;color:#215b37;text-decoration:underline}
@media(prefers-reduced-motion:reduce){.nnv-fav-product button.nnv-fav-toggle{transition:none}}
