/* Portal privado NUTRAFIT. Este archivo no se carga en las tiendas públicas. */
html:root{--nf-ink:#202124;--nf-wash:#f5f5f7;--nf-line:#d9dce1;--muted:#5c6068;--nf-red:#c92532;--red:#c92532;--nf-green:#12663d;--portal-surface:#ffffff;--portal-raised:#f0f1f3;--portal-field:#ffffff;--portal-control:#7b818b;--portal-text:#202124;--portal-muted:#5c6068;--portal-link:#ad1e2a;--portal-active:#fff0f1;--portal-active-text:#a41e29;--portal-focus:#285da8;--portal-disabled:#e1e3e7;--portal-disabled-text:#575d67;color:var(--portal-text);background:var(--nf-wash);color-scheme:light}
html:root[data-theme=dark]{--nf-ink:#f3f4f6;--nf-wash:#131416;--nf-line:#42464e;--muted:#b9bec7;--nf-red:#c92532;--red:#c92532;--nf-green:#a2edbf;--portal-surface:#1e2024;--portal-raised:#2b2e34;--portal-field:#17191d;--portal-control:#858c98;--portal-text:#f3f4f6;--portal-muted:#b9bec7;--portal-link:#ffb6bd;--portal-active:#43232a;--portal-active-text:#ffb6bd;--portal-focus:#a8caff;--portal-disabled:#33363c;--portal-disabled-text:#b9bec7;color:var(--portal-text);background:var(--nf-wash);color-scheme:dark}
html:root body{background:var(--nf-wash);color:var(--portal-text)}
html:root .sidebar,html:root .topbar,html:root .mobile-nav,html:root .card,html:root .product,html:root dialog,html:root .nf-catalog-filters,html:root .empty,html:root .stat,html:root .nf-no-results,html:root .login,html:root .login-form{background:var(--portal-surface);color:var(--portal-text);border-color:var(--nf-line)}
html:root h1,html:root h2,html:root h3,html:root h4,html:root label,html:root legend{color:var(--portal-text)}
html:root .muted,html:root small,html:root .eyebrow,html:root .product .eyebrow,html:root .nf-results-bar p,html:root .nf-results-bar label,html:root .nf-no-results p,html:root .nf-card-price small,html:root .nf-before-price,html:root .login-foot{color:var(--portal-muted)}
html:root a{color:var(--portal-link)}
html:root button{background:var(--portal-raised);color:var(--portal-text);border-color:var(--portal-control)}
html:root input,html:root select,html:root textarea,html:root .nf-catalog-filters .search input{background:var(--portal-field);color:var(--portal-text);border-color:var(--portal-control)}
html:root input::placeholder,html:root textarea::placeholder{color:var(--portal-muted);opacity:1}
html:root input[type=checkbox],html:root input[type=radio]{accent-color:var(--nf-red)}
html:root input:disabled,html:root select:disabled{background:var(--portal-disabled);color:var(--portal-disabled-text);opacity:1}
html:root .primary,html:root .hero-link,html:root .nf-quick-add,html:root #store-select-all{background:var(--nf-red);color:#ffffff;border-color:var(--nf-red)}
html:root .primary:hover:not(:disabled),html:root .hero-link:hover,html:root .nf-quick-add:hover:not(:disabled),html:root #store-select-all:hover{background:#ad1e2a;color:#ffffff;border-color:#ad1e2a}
html:root .secondary,html:root .nf-reference,html:root .nf-cart-link,html:root .nf-pagination button,html:root .chip,html:root .nf-featured-admin li button,html:root .nf-store-shortcut{background:var(--portal-surface);color:var(--portal-text);border:1px solid var(--portal-control)}
html:root .nf-reference:hover:not(:disabled),html:root .secondary:hover:not(:disabled),html:root .nf-cart-link:hover{background:var(--portal-raised);color:var(--portal-text)}
html:root .text,html:root .nav-button{background:transparent;color:var(--portal-muted)}
html:root .sidebar .nav-button,html:root .mobile-nav .nav-button{color:var(--portal-muted)}
html:root .nav-button.active{background:var(--portal-active);color:var(--portal-active-text)}
html:root .nf-pagination [aria-current=page],html:root .chip.active{background:var(--portal-text);border-color:var(--portal-text);color:var(--portal-surface)}
html:root .product-info,html:root .nf-product-copy,html:root .nf-detail-resources,html:root .line,html:root .nf-cart-line,html:root .summary-row.total,html:root .side-end,html:root fieldset,html:root .nf-logo-row,html:root .nf-store-product,html:root .nf-store-variant,html:root .nf-featured-options,html:root .nf-featured-options label{border-color:var(--nf-line)}
html:root .product .price,html:root .nf-detail-price{color:var(--portal-text)}
html:root .nf-your-price{color:var(--portal-muted)}
html:root .nf-suggested-price{background:var(--portal-raised);border:1px solid var(--nf-line);color:var(--portal-text)!important}
html:root .nf-suggested-price strong{color:var(--portal-text)}
html:root .nf-resale,html:root .nf-store-auto-link,html:root .nf-auto-new-products{background:var(--portal-raised);color:var(--portal-text);border-color:var(--nf-line)}
html:root .nf-auto-new-products small{color:var(--portal-muted)}
html:root .nf-product-tags button,html:root .nf-product-tags span{background:var(--portal-surface);color:var(--portal-text);border-color:var(--portal-control)}
html:root #detail .nf-dialog-close,html:root .nf-help-close,html:root .nf-stepper button,html:root .nf-detail-stepper button{background:var(--portal-raised);color:var(--portal-text);border-color:var(--portal-control)}
html:root .nf-stepper input,html:root .nf-detail-stepper input{background:var(--portal-field);color:var(--portal-text)}
html:root .nf-stepper,html:root .nf-detail-stepper{border-color:var(--portal-control)}
html:root .resource-list a,html:root .resource-missing,html:root .nf-detail-resources .resource-list>div,html:root details,html:root .nf-faq details,html:root pre,html:root .status{background:var(--portal-raised);color:var(--portal-text);border-color:var(--nf-line)}
html:root .nf-detail-resources .resource-list a{color:var(--portal-link)}
html:root .nf-featured .section-head a{color:var(--portal-text)}
html:root .hero,html:root .login-art{background:#202124;color:#ffffff;border-color:#555a63}
html:root .hero h2,html:root .login-art h1{color:#ffffff}
html:root .hero p{color:#d4d7de}
html:root .hero .eyebrow,html:root .login-art .eyebrow{color:#ffb6bd}
html:root .user-badge{background:#30333a;color:#ffffff}
html:root .notice.neutral,html:root .nf-calculation-loading,html:root #recalculate[aria-busy=true]{background:var(--portal-raised);color:var(--portal-text);border-color:var(--portal-control)}
html:root .nf-stock{color:var(--portal-muted)}
html:root .nf-stock.is-available{color:var(--nf-green)}
html:root .nf-search-icon{color:var(--portal-muted)}
html:root .product-image,html:root .nf-detail-media{background:#ffffff;color:#303b34}
html:root .nf-image-empty{color:#526258}
html:root .nf-favorite{background:#ffffff;color:#a41e29;border-color:#b16c75}
html:root .nf-favorite[aria-pressed=true],html:root .nf-favorites-link{background:var(--portal-active);color:var(--portal-active-text);border-color:#b16c75}
html:root .nf-resale>a{color:var(--portal-link)}
html:root #toast{background:var(--portal-text);color:var(--portal-surface);border:1px solid var(--portal-control)}
html:root .danger{color:var(--portal-link)}
html:root button:disabled,html:root .primary:disabled,html:root .secondary:disabled,html:root .nf-quick-add:disabled,html:root .nf-pagination button:disabled{background:var(--portal-disabled);color:var(--portal-disabled-text);border-color:var(--portal-control);opacity:1;cursor:not-allowed}
html:root button:focus-visible,html:root a:focus-visible,html:root input:focus-visible,html:root select:focus-visible,html:root textarea:focus-visible{outline:3px solid var(--portal-focus);outline-offset:3px}
html:root #detail::backdrop,html:root #nf-help::backdrop{background:#10111499}
/* Estados positivos y WhatsApp conservan el verde semántico. */
html:root .nf-support,html:root .nf-advisor{background:#176b46;color:#ffffff;border-color:#176b46}
html:root .nf-support:hover,html:root .nf-advisor:hover{background:#115837;color:#ffffff}
html:root[data-theme=dark] .nf-support,html:root[data-theme=dark] .nf-advisor{background:#a7e7bc;color:#123820;border-color:#6fb78b}
@media(max-width:800px){html:root[data-theme=dark] .mobile-nav .nav-button[data-nav=cart] span:first-child{border-color:var(--portal-surface)}}
