/*
Theme Name: Nutrion
Version: 0.11.5
Requires PHP: 7.4
Text Domain: nutrion
*/
:root{--green:#245c36;--ink:#26332b;--bg:#f4f7f2}*{box-sizing:border-box}body{margin:0;font:16px/1.65 system-ui,sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--green)}.wrap{max-width:1120px;margin:auto;padding:24px}header,footer{background:white}header .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.brand{font-size:30px;font-weight:800;text-decoration:none;letter-spacing:-1px}.brand span{color:#65776b}nav ul{display:flex;gap:20px;list-style:none;padding:0;flex-wrap:wrap}nav a{text-decoration:none}.hero{padding:64px 24px;text-align:center;background:#e6efe2;border-radius:20px;margin:20px 0 36px}h1{font-size:clamp(34px,6vw,60px);line-height:1.1;margin:0 0 18px}h2{line-height:1.25}input,button{font:inherit;padding:13px;border:1px solid #b8c5b7;border-radius:9px}button{background:var(--green);color:white;cursor:pointer}.n-search{display:flex;gap:8px;max-width:700px;margin:20px auto;flex-wrap:wrap}.n-search input[type=search]{flex:1;min-width:180px}.n-search label{width:100%;font-size:14px}.n-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.n-card,.n-detail{background:white;border:1px solid #dfe7dd;border-radius:14px;padding:20px}.n-card img{width:100%;height:160px;object-fit:contain}.n-card a{text-decoration:none;font-weight:700}.n-detail img{max-width:220px;max-height:300px;object-fit:contain}.n-detail table{width:100%;border-collapse:collapse}.n-detail th,.n-detail td{text-align:left;padding:9px;border-bottom:1px solid #ddd}.n-note,footer{font-size:14px;color:#526357}.n-page{min-height:60vh}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #78b843;outline-offset:3px}
:root{--green:#174b36;--ink:#172c24;--bg:#f6f8f5;--lime:#d9ef9c}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}header{border-bottom:1px solid #e1e8df}header .wrap{padding-top:18px;padding-bottom:18px}.wrap{max-width:1320px;padding:24px 32px}.brand{font-size:34px;color:var(--green);letter-spacing:-2px}.brand span{color:#7b9b64}nav ul{margin:0;gap:26px}nav a{font-size:14px;font-weight:650}nav a:hover{text-decoration:underline}.hero{background:radial-gradient(ellipse at 92% 10%,#487a48 0,transparent 42%),#174b36;color:white;text-align:left;padding:55px 7%;border-radius:24px;margin:12px 0 24px}.hero h1{font-size:clamp(38px,6vw,72px);letter-spacing:-.05em;max-width:800px}.hero p{color:#e0e9df;font-size:18px;max-width:620px}.n-eyebrow{display:block;color:var(--lime);font-size:12px;letter-spacing:2px;font-weight:800;margin-bottom:16px}.n-search{max-width:760px;margin:26px 0 12px;gap:8px}.n-search input{background:#fff;color:var(--ink);border:0;padding:17px 20px;min-width:0}.n-search button{background:var(--lime);color:#163c27;border:0;font-weight:800;padding:17px 24px}.n-popular{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#dce9d9}.n-popular a{color:white;border:1px solid #83a28a;border-radius:20px;padding:4px 12px;text-decoration:none}.n-page h2{font-size:26px;letter-spacing:-.7px;margin:32px 0 18px}.n-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.n-categories{grid-template-columns:repeat(6,minmax(0,1fr))}.n-categories .n-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;font-size:15px;text-decoration:none;font-weight:750;padding:18px}.n-cat-icon{font-size:29px;background:#edf3e6;border-radius:12px;width:52px;height:52px;display:grid;place-items:center}.n-card{padding:18px;border:1px solid #e1e7de;border-radius:16px;transition:box-shadow .18s,border-color .18s;overflow-wrap:anywhere}.n-card:hover{border-color:#9bbf88;box-shadow:0 6px 24px #173a2310}.n-card img,.n-noimage{height:190px;width:100%;object-fit:contain;background:#f8faf7;border-radius:10px}.n-noimage{display:grid;place-items:center;color:#71806e;font-size:13px}.n-card h3{font-size:17px;line-height:1.35;margin:16px 0 6px}.n-card p{font-size:14px;margin:8px 0;color:#526357}.n-card .n-note{border-top:1px solid #e5ebe2;padding-top:10px;font-size:12px}.n-detail{padding:32px;max-width:980px;margin:auto}.n-detail table tr:nth-child(odd){background:#f5f8f3}.n-detail td{font-variant-numeric:tabular-nums}.n-note{font-size:12px}footer{margin-top:42px;border-top:1px solid #e1e8df}footer .wrap{padding-top:32px;padding-bottom:32px}.n-page{min-height:75vh}@media(max-width:950px){.n-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.n-grid:not(.n-categories){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.wrap{padding:16px}.hero{padding:32px 20px;border-radius:16px}.hero p{font-size:15px}.n-grid:not(.n-categories),.n-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.n-card{padding:12px}.n-card img,.n-noimage{height:140px}.n-search button{width:100%}.n-search input{width:100%}.n-detail{padding:16px}nav ul{gap:14px;flex-wrap:wrap}.n-page h2{font-size:22px}}

/* Nutrion 0.3 */
body{background:#f5f7f5;color:#14251d}.hero{background:#174b36;border-radius:16px}.hero h1{letter-spacing:-.035em}.custom-logo{max-width:230px;max-height:72px;width:auto;height:auto;object-fit:contain}.n-product{display:flex;flex-direction:column;gap:8px;background:#fff;padding:18px;border-radius:12px}.n-image{background:#fff;display:flex;align-items:center;justify-content:center;min-height:200px;border-bottom:1px solid #eef0ed;padding:8px}.n-product .n-image img{background:#fff;border-radius:0;height:200px;width:100%;object-fit:contain;display:block}.n-image .n-noimage{background:#fff;color:#626e65}.n-product h3{margin:4px 0;font-size:19px}.n-product p{margin:0;color:#435148}.n-score{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;flex-wrap:wrap}.n-score small{font-weight:400;color:#58665c;font-size:11px}.n-grade{display:inline-grid;place-items:center;min-width:32px;height:32px;border-radius:6px;color:#fff;font-size:21px}.n-grade-a{background:#038141}.n-grade-b{background:#85bb2f;color:#14251d}.n-grade-c{background:#fecb02;color:#14251d}.n-grade-d{background:#ee8100;color:#14251d}.n-grade-e{background:#e63e11}.n-score-missing{font-size:12px;color:#58665c}.n-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:auto}.n-metrics div{background:#f2f5f1;border-radius:6px;padding:8px 3px;text-align:center}.n-metrics strong{display:block;font-size:18px;font-variant-numeric:tabular-nums}.n-metrics small{font-size:11px;display:block;color:#435148}.n-unit{color:#58665c;font-size:12px}.n-more{border-top:1px solid #e3e9e3;padding-top:9px;font-size:14px}.n-detail .n-image{justify-content:flex-start}.n-detail .n-score{margin:16px 0}.n-detail .n-grade{height:44px;width:44px;font-size:28px}@media(max-width:650px){.n-product{padding:10px}.n-image{min-height:130px}.n-product .n-image img{height:130px}.n-metrics strong{font-size:14px}.n-metrics small{font-size:10px}.n-product h3{font-size:16px}.n-score small{display:none}}

/* 0.4 editorial food directory */
body{background:#f8f9f6;color:#18251e} .wrap{max-width:1440px} header .wrap{min-height:80px} nav a{font-size:15px;color:#21392c} .hero{position:relative;overflow:hidden;background:#e8f1df;color:#163b28;padding:58px 6%;border-radius:26px;border:1px solid #dce8d4}.hero:after{content:"";position:absolute;right:-70px;top:-100px;width:340px;height:340px;border:65px solid #d8e8ce;border-radius:50%;pointer-events:none}.hero>*{position:relative;z-index:1}.hero p,.n-popular{color:#425b49}.n-eyebrow{color:#315d3d}.n-popular a{color:#315d3d;border-color:#a9bea5}.n-search input{border:1px solid #c6d6c1;box-shadow:0 6px 20px #25462b0a}.n-search button{background:#174b36;color:white}.n-page h2{font-size:30px;font-weight:800;letter-spacing:-.04em}.n-categories .n-card{align-items:center;text-align:center;padding:15px 8px;gap:12px;background:white;border-radius:20px;font-size:15px}.n-cat-icon{width:100%;height:auto;background:none;display:flex;justify-content:center}.n-cat-icon img{width:112px;height:112px;background:none;border-radius:20px}.n-product{border-radius:20px;gap:10px;padding:20px;box-shadow:0 3px 14px #18332606}.n-product .n-image{min-height:220px;border-bottom:0}.n-product .n-image img{height:220px}.n-score{min-height:70px;align-items:center;gap:8px}.n-card .n-score img,.n-detail .n-score img{width:124px;height:auto;background:white;border-radius:0;object-fit:contain}.n-score small{font-size:11px;color:#556359}.n-score-missing{min-height:70px;display:flex;align-items:center}.n-metrics div{background:#f4f6f1;border-radius:10px;padding:12px 3px}.n-more{color:#174b36;padding-top:12px;font-weight:750}.n-noimage:before{content:"";display:block;width:40px;height:50px;border:2px solid #aeb9af;border-radius:7px;margin:0 auto 6px;background:linear-gradient(#e9eee8 30%,white 30% 70%,#e9eee8 70%)}.n-noimage{display:flex;flex-direction:column;justify-content:center;align-items:center}.n-detail .n-score img{width:180px}.n-detail{border-radius:24px}.n-detail table th{font-weight:550}.n-detail table td{text-align:right}.n-card:hover{transform:translateY(-2px);transition:transform .18s,box-shadow .18s}.n-note{color:#536259;font-size:13px}@media(max-width:650px){.hero{padding:30px 20px}.hero:after{display:none}.n-cat-icon img{width:88px;height:88px}.n-product{padding:12px;gap:7px}.n-product .n-image{min-height:145px}.n-product .n-image img{height:145px}.n-card .n-score img{width:105px}.n-score{min-height:57px}.n-score-missing{min-height:57px}.n-page h2{font-size:24px}.n-metrics div{padding:8px 2px}}
/* 0.5 carrot and lettuce */
:root{--green:#466a25;--ink:#26352b;--bg:#f7f9f4;--lime:#8bc34a;--orange:#f58220}body{background:var(--bg);color:var(--ink)}.brand{color:#466a25}.brand span{color:#d65c09}nav a{color:var(--ink)}nav a:hover{color:#a84408}.hero{background:#edf5df;border:1px solid #d5e5bb;color:var(--ink)}.hero:after{border-color:#dbeabf}.n-eyebrow{color:#466a25}.hero p,.n-popular{color:#425238}.n-popular a{background:#fff;color:#3b5724;border-color:#c5d6b3}.n-search button,button,.n-public-score button{background:#f58220!important;color:#25251e!important;font-weight:750;border-color:#f58220!important}.n-search button:hover,button:hover{background:#e66c0b!important}.n-categories .n-card{background:#eff6e2;border-color:#d9e7c7;color:#314824}.n-categories .n-card:nth-child(even){background:#fff0df;border-color:#f2d5b8}.n-cat-icon img{width:128px;height:128px;max-width:100%}.n-product{position:relative;border-color:#e0e6d9;border-radius:18px}.n-product:hover{border-color:#8bc34a;box-shadow:0 10px 28px #354a1c12}.n-product h3 a{color:#26352b}.n-product .n-more{color:#a84408}.n-product .n-more::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}.n-product:focus-within{outline:3px solid #8bc34a;outline-offset:3px}.n-metrics div{background:#f1f6e8}.n-card .n-score img{width:150px;max-width:100%}.n-score small{font-size:11px}.n-product .n-image{background:white}.n-note{color:#52634a}@media(max-width:650px){.n-cat-icon img{width:88px;height:88px}.n-card .n-score img{width:120px}.n-product{padding:12px}}

/* 0.6 vivid Nutrion */
:root{--green:#316819;--lime:#7ed957;--orange:#ff7900;--bg:#fffdf8;--ink:#233126}body{background:var(--bg);color:var(--ink)}.hero{background:#7ed957;border-color:#65c33e;color:#233126}.hero:after{border-color:#a0e783}.hero p,.n-popular,.n-eyebrow{color:#263b21}.n-search button,button,.n-public-score button{background:#ff7900!important;border-color:#ff7900!important;color:#20251d!important}.n-search button:hover,button:hover{background:#e66c00!important}.brand{color:#316819}.brand span{color:#d65c00}.n-categories .n-card{background:#c9f3ad;border-color:#a8e68a}.n-categories .n-card:nth-child(even){background:#ffd9ad;border-color:#ffb76b}.n-product:hover{border-color:#7ed957}.n-metrics div{background:#eef9e7}.n-product .n-more{color:#a44300}.n-product .n-more::after{border-radius:18px}@media(max-width:650px){.n-grid:not(.n-categories){grid-template-columns:minmax(0,1fr);gap:16px}.n-product{padding:20px}.n-product .n-image,.n-product .n-image img{height:240px;min-height:240px}.n-card .n-score img{width:150px}.n-product h3{font-size:21px}.n-metrics strong{font-size:20px}.n-metrics small{font-size:12px}.n-score small{display:inline}.n-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:26px 18px}.n-product .n-more{padding:14px 0}.n-page h2{font-size:25px}}

/* Footer branding: original HotKraft Core logo */
.n-footer-signoff{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap}.n-footer-links{display:flex;flex-wrap:wrap;gap:12px}.n-footer-powered{display:inline-flex;align-items:center;flex:0 0 auto}.n-footer-powered img{display:block;width:120px;height:auto;max-width:100%}.n-legal-info{max-width:760px;margin:32px auto;line-height:1.6}.n-legal-info dt{font-weight:700}.n-legal-info dd{margin:0 0 16px}@media(max-width:600px){.n-footer-signoff{align-items:flex-start;flex-direction:column;gap:12px}.n-footer-powered{margin-top:4px}}

/* 0.7 mobile-first */
.n-mobile-nav{display:none}.n-scanner-host>.n-scan-open{display:none}.n-result-top{display:flex;justify-content:space-between;gap:12px;margin:6px 0 16px}.n-result-top a{padding:10px 0;font-weight:650}.n-detail .n-product-title{font-size:clamp(26px,4vw,40px);margin:0 0 6px;overflow-wrap:anywhere}.n-detail .n-product-brand{margin:0 0 12px;color:#526357}.n-detail .n-image{justify-content:center;min-height:180px}.n-detail .n-image img{max-width:100%;height:auto;max-height:260px}.n-photo-credit{font-size:12px}.n-categories .n-card{padding:0 0 12px;gap:10px;overflow:hidden;background:#e8f9dc;border-color:#a9df8b}.n-categories .n-card:nth-child(even){background:#fff0df}.n-cat-icon{width:100%;aspect-ratio:16/10;overflow:hidden}.n-cat-icon img{width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0}.hero{background:#a2e66c;border:0}.n-page h2{margin-top:24px}.n-detail{overflow-wrap:anywhere}.n-detail table{font-size:15px}.n-detail th,.n-detail td{padding:10px 7px}.n-product .n-image img{object-fit:contain}.n-detail summary{cursor:pointer}.n-detail .n-score{min-height:0}.n-scanner{position:fixed;inset:0;margin:auto;max-width:94vw}.n-scan-status{min-height:42px;font-weight:700}.n-scanner-host{display:contents}
@media(max-width:650px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}.wrap{padding:16px}.n-page{padding-top:12px}.hero{margin:0 0 16px;padding:24px 16px}.hero h1{font-size:38px}.hero p{margin:8px 0}.n-search{margin:14px 0}.n-search input{font-size:16px}.n-categories{gap:10px}.n-categories .n-card{font-size:15px;border-radius:15px;padding-bottom:10px}.n-cat-icon{aspect-ratio:16/9}.n-mobile-nav{position:fixed;z-index:999;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #dfe6d9;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));box-shadow:0 -4px 20px #0001}.n-mobile-nav a,.n-mobile-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:54px;margin:0;font:650 12px/1.2 system-ui;color:#233126;text-decoration:none;padding:5px;border:0;border-radius:12px}.n-mobile-nav a span{font-size:25px;line-height:26px}.n-mobile-nav button{background:#ff7900!important}.n-detail{padding:16px;border-radius:18px}.n-detail .n-image{padding:0;min-height:150px}.n-detail .n-image img{max-height:220px}.n-detail .n-score img{width:175px}.n-detail h3{margin-top:24px}.n-product .n-image,.n-product .n-image img{height:210px;min-height:210px}.n-product{padding:16px}.n-note{font-size:12px}.n-page h2{font-size:23px}.n-scanner input{font-size:16px}header .wrap{min-height:60px;padding:10px 16px;gap:6px}header nav{display:none}footer{margin-top:20px}}

/* 0.7.1 logo + mobile polish */
.brand-logo{display:inline-flex;align-items:center;line-height:0;text-decoration:none}.brand-logo img{display:block;width:220px;max-width:min(56vw,220px);height:auto}.custom-logo-link img{display:block;max-width:min(56vw,220px);height:auto}.n-footer-copy{font-weight:600}@media(max-width:650px){.brand-logo img,.custom-logo-link img{width:200px;max-width:52vw}header .wrap{justify-content:space-between;align-items:center}.n-footer-powered img{width:110px}}

/* 0.7.2 product first */
.n-detail-label{font-size:13px!important;font-weight:600;color:#526357;margin:0 0 8px!important}.n-product-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;background:#fff;border:1px solid #e6ebdf;border-radius:16px;padding:12px;margin:12px 0}.n-product-summary .n-image{min-height:120px}.n-product-summary .n-photo-credit{grid-column:1/-1;margin:0;order:3}.n-summary-score .n-score{flex-direction:column;align-items:flex-start;gap:6px}.n-summary-score img{max-width:100%;height:auto}.n-summary-caption{font-size:12px;color:#526357;margin:6px 0}.n-detail .n-metrics{margin-top:16px}.n-detail .n-metrics div{background:#eef9e7}.n-detail table tr:nth-child(even){background:#f7faf4}.n-detail table th,.n-detail table td{border-bottom:1px solid #e7ece2}.n-detail .n-product-title{letter-spacing:-.03em}.n-result-top a{min-height:44px}.brand-logo img,.custom-logo-link img{width:auto;max-height:96px;max-width:220px}.n-detail .n-image img{object-fit:contain}.n-detail .n-score-missing{min-height:0}.n-detail .n-unit{display:block;color:#526357;font-size:12px}@media(max-width:650px){.brand-logo img,.custom-logo-link img{width:auto;max-height:72px;max-width:52vw}.n-detail{padding:14px}.n-detail .n-product-title{font-size:26px}.n-product-summary{gap:8px;padding:10px}.n-product-summary .n-image{min-height:105px}.n-product-summary .n-image img{max-height:150px}.n-summary-score .n-score img{width:140px}.n-detail .n-metrics strong{font-size:19px}.n-detail .n-metrics small{font-size:11px}.n-result-top{margin:0 0 6px}.n-scan-result{margin:0 0 10px}.n-detail table{font-size:14px}}

/* 0.7.3 app-like mobile UI */
@media(max-width:650px){
  body{background:#f2f5ef;}
  header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:saturate(140%) blur(8px);box-shadow:0 4px 20px rgba(23,44,36,.06);}
  header .wrap{min-height:auto;padding:14px 16px 18px;justify-content:center!important;align-items:center;display:flex;flex-direction:column;gap:0;}
  .brand-logo,.custom-logo-link{display:flex;justify-content:center;align-items:center;width:100%;margin:0 auto;}
  .brand-logo img,.custom-logo-link img{max-width:min(76vw,320px)!important;max-height:none!important;width:min(76vw,320px)!important;height:auto;display:block;margin:0 auto;}
  .n-page{padding-top:8px;}
  .hero{background:linear-gradient(180deg,#b4eb7b 0%, #a5e86e 100%);border-radius:28px;padding:24px 18px 20px;box-shadow:0 12px 30px rgba(69,110,37,.10);}
  .hero h1{font-size:44px;line-height:1.02;letter-spacing:-.05em;margin-bottom:14px;}
  .hero p{font-size:16px;line-height:1.5;color:#243526;}
  .n-search{gap:12px;margin-top:18px;}
  .n-search input{border-radius:18px;border:1px solid #d8e1d1;box-shadow:0 8px 18px rgba(27,45,29,.06);padding:18px 18px;font-size:17px;background:#fff;}
  .n-search button,button,.n-public-score button{border-radius:18px!important;min-height:60px;font-size:17px;font-weight:800;box-shadow:0 10px 20px rgba(255,121,0,.18);}
  .n-popular{gap:10px 8px;font-size:14px;margin-top:8px;}
  .n-popular a{background:#fff;color:#466a25;border:1px solid #d6dfcf;padding:10px 16px;border-radius:999px;box-shadow:0 2px 10px rgba(27,45,29,.04);}
  .n-page h2{font-size:22px;margin:22px 0 14px;letter-spacing:-.04em;}
  .n-categories{gap:12px;}
  .n-categories .n-card{border-radius:22px;padding-bottom:12px;box-shadow:0 8px 22px rgba(35,49,38,.06);}
  .n-categories .n-card strong,.n-categories .n-card h3{font-size:15px;}
  .n-cat-icon{aspect-ratio:1/1.02;}
  .n-cat-icon img{border-radius:18px 18px 0 0;}
  .n-product,.n-detail{border-radius:24px;box-shadow:0 10px 26px rgba(35,49,38,.05);border-color:#e6ebe1;background:#fff;}
  .n-product{padding:18px;}
  .n-product .n-image,.n-product .n-image img{height:220px;min-height:220px;}
  .n-metrics{gap:8px;}
  .n-metrics div{border-radius:14px;padding:10px 6px;background:#f3f8ec;}
  .n-more{padding-top:14px;font-weight:800;}
  .n-mobile-nav{left:10px;right:10px;bottom:10px;width:auto;border:1px solid #dfe6d9;border-radius:24px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 10px 30px rgba(22,44,36,.12);background:rgba(255,255,255,.96);backdrop-filter:saturate(150%) blur(10px);}
  .n-mobile-nav a,.n-mobile-nav button{border-radius:18px;min-height:58px;font-size:12px;gap:4px;}
  .n-mobile-nav a span{font-size:24px;}
  .n-mobile-nav button{transform:translateY(-10px);min-height:68px;box-shadow:0 10px 20px rgba(255,121,0,.22);}
  footer{padding-bottom:96px;background:transparent;border-top:0;}
  footer .wrap{background:#fff;border:1px solid #e5ece0;border-radius:22px;padding:18px 16px;margin:10px 16px 0;box-shadow:0 8px 20px rgba(22,44,36,.04);}
}

/* 0.7.4 compact app layout */
@media(max-width:650px){
body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));background:#f7f9f4}
header{position:static;box-shadow:none;background:#fff;backdrop-filter:none}
header .wrap{padding:8px 16px;min-height:0}
.brand-logo img,.custom-logo-link img{width:auto!important;height:132px!important;max-height:132px!important;max-width:90vw!important;object-fit:contain}
.n-page{padding:10px 14px 16px}
.hero{padding:16px;border-radius:20px;box-shadow:none;margin:0 0 12px;background:#a5e86e}
.hero h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hero .n-eyebrow{font-size:11px;margin:0 0 5px;letter-spacing:1.2px}
.hero p{font-size:14px;line-height:1.4;margin:0 0 10px}
.n-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:10px 0}
.n-search input{min-width:0;width:100%;padding:10px 11px;font-size:16px;border-radius:12px;box-shadow:none}
.n-search button{width:auto;min-height:48px;padding:8px 12px;font-size:14px;border-radius:12px!important;box-shadow:none}
.hero .n-scan-open{width:100%;min-height:50px;margin:0 0 8px;padding:10px;border-radius:13px!important;box-shadow:none}
.n-popular{font-size:12px;gap:5px;margin:4px 0 0}.n-popular a{padding:4px 9px;box-shadow:none}
.n-page h2{margin:18px 0 10px}.n-cat-icon{aspect-ratio:16/9}.n-categories .n-card{border-radius:16px;box-shadow:none}
.n-mobile-nav{left:0;right:0;bottom:0;width:100%;border:0;border-top:1px solid #dfe6d9;border-radius:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));box-shadow:0 -3px 14px #0001;background:#fff;backdrop-filter:none}
.n-mobile-nav a,.n-mobile-nav button{min-height:54px;border-radius:12px!important;gap:3px;box-shadow:none;font-size:12px}.n-mobile-nav button{transform:none;min-height:54px;padding:5px}.n-mobile-nav svg{width:24px;height:24px;flex-shrink:0}
footer{padding-bottom:0}.n-footer-powered img{width:120px}
}

/* 0.7.5 compact mobile footer */
@media(max-width:650px){
body>footer{margin-top:12px;padding:0;background:#fff;border-top:1px solid #dfe6d9;font-size:12px;line-height:1.45}
body>footer .wrap.n-footer-signoff{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;width:100%;margin:0 auto;padding:14px 16px 16px;background:transparent;border:0;border-radius:0;box-shadow:none}
.n-footer-copy{grid-column:1/-1;font-size:12px;font-weight:500;color:#526357}
.n-footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:0}
.n-footer-links a{font-size:12px;font-weight:500;line-height:1.4;padding:8px 0;color:#435b39;text-decoration:underline;text-underline-offset:2px}
.n-footer-powered{justify-self:end;margin:0;padding:4px 0}
.n-footer-powered img{width:88px;height:auto;max-width:100%;display:block}
}

/* 0.7.6 centered mobile footer */
@media(max-width:650px){
body>footer .wrap.n-footer-signoff{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:12px 16px 16px}
body>footer .n-footer-copy{width:100%;text-align:center}
body>footer .n-footer-links{justify-content:center;align-items:center;gap:4px 12px;width:100%}
body>footer .n-footer-powered{align-self:center;justify-content:center;margin:0 auto;padding:3px 0}
body>footer .n-footer-powered img{width:120px;height:auto;max-width:100%;margin:0 auto}
}

/* 0.7.7 mobile footer: independent of parent markup */
@media (max-width: 650px) {
#nutrion-site-footer { margin: 12px 0 0 !important; padding: 0 !important; background: #fff !important; border-top: 1px solid #dfe6d9 !important; }
#nutrion-site-footer .n-footer-signoff { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: center !important; text-align: center !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; padding: 12px 16px 14px !important; gap: 5px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#nutrion-site-footer .n-footer-copy { width: 100%; text-align: center !important; font-size: 12px; font-weight: 500; }
#nutrion-site-footer .n-footer-links { display: flex !important; justify-content: center !important; align-items: center !important; width: 100%; margin: 0; gap: 8px; }
#nutrion-site-footer .n-footer-links a { font-size: 12px; font-weight: 500; padding: 6px 0; }
#nutrion-site-footer .n-footer-powered { display: flex !important; align-self: center !important; justify-content: center !important; margin: 0 auto !important; padding: 2px 0; }
#nutrion-site-footer .n-footer-powered img { display: block; width: 120px !important; height: auto !important; margin: 0 auto !important; }
}

/* 0.7.8 isolated footer layout, no generic wrap class */
#nutrion-footer-v078 .n-footer-layout-v078{max-width:1440px;margin:0 auto;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap}
@media(max-width:767px){
#nutrion-footer-v078{display:block!important;background:#fff!important;margin:12px 0 0!important;padding:0!important;border-top:1px solid #dfe6d9!important;border-radius:0!important;box-shadow:none!important;text-align:center!important}
#nutrion-footer-v078 .n-footer-layout-v078{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;align-items:center!important;gap:6px!important;padding:12px 16px 14px!important;margin:0!important;width:100%!important;max-width:none!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center!important}
#nutrion-footer-v078 .n-footer-copy{font-size:12px!important;font-weight:500!important;line-height:1.45;text-align:center!important;margin:0!important}
#nutrion-footer-v078 .n-footer-links{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap;margin:0!important;padding:0!important;gap:8px!important}
#nutrion-footer-v078 .n-footer-links a{font-size:12px!important;font-weight:500!important;padding:6px 0!important}
#nutrion-footer-v078 .n-footer-powered{display:flex!important;justify-content:center!important;justify-self:center!important;align-self:center!important;margin:0 auto!important;padding:0!important}
#nutrion-footer-v078 .n-footer-powered img{display:block!important;width:120px!important;height:auto!important;margin:0 auto!important}
}

@media(max-width:650px){.hero h1{position:static;width:auto;height:auto;padding:0;margin:0 0 8px;overflow:visible;clip-path:none;white-space:normal;font-size:23px;line-height:1.2;letter-spacing:-.03em}}

/* 0.8.0 – calm, accessible interface. Keep brand and score artwork intact. */
:root{--ink:#202420;--bg:#fff;--green:#36443a;--orange:#ff7900;--lime:#7ed957;--n-surface:#f5f6f5;--n-line:#d8ddd8;--n-muted:#626862;--n-radius:12px}
body{background:#fff;color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a,nav a{color:var(--ink)}nav a:hover{color:#39733b}
body>header{border-bottom:1px solid #e6e9e6;box-shadow:none;background:#fff}
body>header>.wrap{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding-top:8px;padding-bottom:8px;min-height:64px}
body>header .brand-logo,body>header .custom-logo-link{width:auto;margin:0;flex:0 0 auto;justify-content:flex-start}
body>header .brand-logo img,body>header .custom-logo-link img{width:auto!important;height:82px!important;max-height:82px!important;max-width:180px!important;object-fit:contain;margin:0}
body>header nav{margin-left:auto}
.hero{background:#f5f6f5;color:var(--ink);border:1px solid #e4e8e4;border-radius:var(--n-radius);padding:32px;box-shadow:none;margin:12px 0 16px;text-align:left}
.hero:after{display:none}.hero h1{font-size:clamp(25px,3.8vw,42px);line-height:1.16;letter-spacing:-.035em;margin:0 0 8px;max-width:850px}
.hero p{color:var(--n-muted);font-size:16px;line-height:1.5;margin:0 0 14px}.hero .n-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.2px;color:var(--n-muted);margin:0 0 8px}
body .n-page button,body .n-scanner button,body .n-action-dialog button{background:#fff!important;color:var(--ink)!important;border:1px solid #b9c1b9!important;border-radius:var(--n-radius)!important;box-shadow:none!important;font-weight:650;min-height:44px;font-size:15px}
body .n-page button:hover,body .n-scanner button:hover,body .n-action-dialog button:hover{background:#eef0ee!important;border-color:#909a90!important}
body .hero .n-scan-open,body .n-scanner .n-scan-start,body .n-action-dialog button[type=submit],body .n-detail .n-product-actions .n-action-primary,body .n-action-dialog button[data-n-action-close]{background:var(--ink)!important;border:1px solid var(--ink)!important;color:#fff!important;box-shadow:none!important}
body .hero .n-scan-open:hover,body .n-scanner .n-scan-start:hover,body .n-action-dialog button[type=submit]:hover,body .n-detail .n-product-actions .n-action-primary:hover,body .n-action-dialog button[data-n-action-close]:hover{background:#384038!important;border-color:#384038!important}
body .n-page button:disabled,body .n-scanner button:disabled,body .n-action-dialog button:disabled{opacity:.55;cursor:not-allowed}
.hero .n-search{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:0;max-width:680px;margin:16px 0 10px;background:#fff;border:1px solid #aeb8ae;border-radius:12px;overflow:visible}
.hero .n-search input[type=search]{border:0;background:transparent;box-shadow:none;padding:12px 14px;width:100%;min-width:0;font-size:16px;border-radius:12px 0 0 12px;min-height:48px}
body .hero .n-search button{display:grid;place-items:center;min-height:48px;width:48px;padding:0!important;font-size:0!important;border:0!important;border-left:1px solid #d8ddd8!important;border-radius:0 11px 11px 0!important;background:#fff!important;color:var(--ink)!important}
.hero .n-search button:before{content:"";width:22px;height:22px;background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202420' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E")}
body .hero .n-search button:hover{background:#eef0ee!important}
body .hero .n-scan-open{width:100%;max-width:680px;min-height:48px;margin:0 0 8px;padding:10px 16px;font-size:16px}
.n-popular{color:var(--n-muted);gap:4px 8px;font-size:12px;margin:4px 0 0}.n-popular a{background:transparent;color:var(--ink);border:0;box-shadow:none;border-radius:6px;padding:9px 6px;min-height:36px;text-decoration:underline;text-underline-offset:3px}
.n-page h2{font-size:24px;line-height:1.25;letter-spacing:-.025em;margin:26px 0 12px}
.n-card,.n-detail,.n-activity-card,.n-product-summary{border:1px solid #e0e4e0;border-radius:12px;background:#fff;box-shadow:none}
.n-card:hover,.n-activity-card:hover{border-color:#aab5aa;box-shadow:none;transform:none}
.n-categories .n-card,.n-categories .n-card:nth-child(even){background:#f5f6f5;border:1px solid #e0e4e0;color:var(--ink);border-radius:12px;box-shadow:none;padding:0 0 12px;gap:8px;font-size:14px}
.n-cat-icon{background:transparent;aspect-ratio:16/9}.n-cat-icon img{border-radius:0;object-fit:cover}
.n-product .n-image,.n-product .n-image img,.n-card .n-score img,.n-detail .n-score img{background:#fff}
.n-product .n-more{color:var(--ink);font-weight:650}.n-metrics div,.n-detail .n-metrics div{background:#f5f6f5;border-radius:8px}.n-metrics small,.n-note,.n-unit,.n-card p,.n-score small,.n-score-missing{color:var(--n-muted)}
.n-page>.n-metrics{display:flex!important;justify-content:center;align-items:center;gap:0;margin:12px 0!important}.n-page>.n-metrics>div{background:transparent;padding:4px 12px;border-radius:0;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;justify-content:center}.n-page>.n-metrics>div+div{border-left:1px solid #d8ddd8}.n-page>.n-metrics strong{font-size:16px}.n-page>.n-metrics small{font-size:12px}
body .n-pwa-install{margin:8px auto;text-align:center}body .n-pwa-button{background:transparent!important;color:var(--n-muted)!important;border:0!important;box-shadow:none!important;min-height:44px;padding:8px 12px;font-size:14px;border-radius:10px}
body .n-pwa-header{position:relative;margin:0;flex:0 0 auto}body .n-pwa-header .n-pwa-button{width:44px;height:44px;padding:10px;font-size:0;gap:0;display:grid;place-items:center}body .n-pwa-header .n-pwa-button:after{content:none}body .n-pwa-header .n-pwa-button:before{content:"";width:24px;height:24px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2'/%3E%3Cpath d='M9 10h6m-3-3v6m-1 6h2'/%3E%3C/svg%3E")}
body .n-pwa-header .n-pwa-help{position:absolute;z-index:100;right:0;top:100%;width:min(340px,calc(100vw - 32px));margin-top:4px;border:1px solid #d8ddd8;box-shadow:0 6px 24px #00000014;font-size:14px;text-align:left}
body .n-pwa-button:hover{background:#f5f6f5!important}body .n-pwa-install[hidden]{display:none!important}
body .n-detail table tr:nth-child(odd),body .n-detail table tr:nth-child(even){background:#fff}body .n-detail table tr:nth-child(even){background:#f5f6f5}
body .n-action-dialog .n-action-secondary,body .n-detail .n-product-actions .n-action-secondary,body .n-action-dialog [data-n-upload-close],body .n-action-dialog [data-n-data-close]{background:#fff!important;color:var(--ink)!important;border:1px solid #b9c1b9!important}
body .n-action-dialog,body .n-scanner{border-radius:16px}.n-upload-choice,.n-upload-choice:nth-child(2){background:#f5f6f5;border-color:#d8ddd8}
body .n-activity-heading button{background:transparent!important;border:0!important;color:var(--n-muted)!important;font-size:13px}
body button:focus-visible,body a:focus-visible,body input:focus-visible,body summary:focus-visible,body select:focus-visible,body textarea:focus-visible{outline:2px solid #39733b;outline-offset:3px}
@media(max-width:650px){
 body>header>.wrap{padding:4px 16px;min-height:64px;justify-content:space-between!important}
 body>header .brand-logo img,body>header .custom-logo-link img{height:72px!important;max-height:72px!important;max-width:150px!important}
 .n-page{padding:12px 14px 16px}.hero{padding:16px;margin:0 0 12px}.hero h1{font-size:24px;line-height:1.2}.hero p{font-size:15px}.hero .n-eyebrow{font-size:10px}.n-page h2{font-size:22px;margin:20px 0 12px}
 .n-grid:not(.n-categories){grid-template-columns:minmax(0,1fr);gap:12px}.n-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.n-product{padding:16px;gap:8px}.n-product .n-image,.n-product .n-image img{height:210px;min-height:210px}
 .n-mobile-nav{background:#fff;border-top:1px solid #e0e4e0;box-shadow:none;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px))}
 body .n-mobile-nav a,body .n-mobile-nav button{background:transparent!important;color:#626862!important;border:0!important;border-radius:10px!important;box-shadow:none!important;font:600 12px/1.2 system-ui,sans-serif;min-height:54px;transform:none}
 body .n-mobile-nav a[aria-current=page]{color:#39733b!important}body .n-mobile-nav button[data-n-scan]{color:var(--ink)!important}body .n-mobile-nav a:hover,body .n-mobile-nav button:hover{background:#f5f6f5!important}
}
@media(prefers-reduced-motion:reduce){.n-card{transition:none}}

/* 0.8.1: compact two-column mobile product listings only. */
@media (max-width:650px){
 .n-grid:not(.n-categories):has(> .n-product){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
 .n-grid > .n-product{min-width:0;padding:10px;gap:6px;border-radius:12px;overflow-wrap:anywhere}
 .n-grid > .n-product .n-image,.n-grid > .n-product .n-image img{height:clamp(100px,32vw,180px);min-height:0;width:100%;padding:0;object-fit:contain}
 .n-grid > .n-product .n-image{padding:4px}
 .n-grid > .n-product .n-score,.n-grid > .n-product .n-score-missing{min-height:42px;gap:3px;font-size:11px;line-height:1.3}
 .n-grid > .n-product .n-score img{width:100px;max-width:100%;height:auto}
 .n-grid > .n-product .n-score small{font-size:10px}
 .n-grid > .n-product h3{font-size:15px;line-height:1.3;margin:2px 0}
 .n-grid > .n-product p{font-size:12px;line-height:1.35}
 .n-grid > .n-product .n-metrics{gap:3px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:auto}
 .n-grid > .n-product .n-metrics div{min-width:0;padding:6px 1px;border-radius:6px}
 .n-grid > .n-product .n-metrics strong{font-size:13px;line-height:1.3}
 .n-grid > .n-product .n-metrics small{font-size:10px;line-height:1.25;overflow-wrap:normal;word-break:normal;hyphens:auto}
 .n-grid > .n-product .n-unit{font-size:10px;line-height:1.3}
 .n-grid > .n-product .n-more{font-size:12px;line-height:1.3;min-height:44px;padding:8px 0;display:flex;align-items:center}
}
@media(max-width:360px){
 .n-grid > .n-product .n-metrics{grid-template-columns:1fr;gap:2px}
 .n-grid > .n-product .n-metrics div{display:flex;align-items:baseline;justify-content:space-between;padding:4px;gap:3px}
}

/* 0.8.2: raised product tiles; existing accessible link covers entire card. */
.n-grid > .n-card.n-product{position:relative;cursor:pointer;background:#fff;border:1px solid #e1e4e1;box-shadow:0 2px 3px rgba(25,35,25,.07),0 5px 12px rgba(25,35,25,.09);padding-bottom:14px;}
.n-grid > .n-card.n-product > a.n-more{position:absolute;inset:0;z-index:2;display:block;min-height:0;margin:0;padding:0;border:0;border-radius:inherit;font-size:0;line-height:0;background:transparent;}
.n-grid > .n-card.n-product > a.n-more::after{content:none;}
.n-grid > .n-card.n-product > a.n-more:focus-visible{outline:2px solid #39733b;outline-offset:3px;}
.n-grid > .n-card.n-product:focus-within{outline:none;}
@media (hover:hover) and (pointer:fine){.n-grid > .n-card.n-product:hover{border-color:#c5ccc5;box-shadow:0 4px 8px rgba(25,35,25,.09),0 8px 18px rgba(25,35,25,.12);}}
@media(max-width:650px){.n-grid:not(.n-categories):has(> .n-product){gap:12px;}}

/* 0.8.3: consistent raised surfaces, with compact activity tiles. */
:root{--n-depth:0 2px 4px rgba(25,35,25,.07),0 6px 15px rgba(25,35,25,.09);--n-depth-hover:0 4px 8px rgba(25,35,25,.09),0 9px 20px rgba(25,35,25,.13)}
body .hero,body .n-card,body .n-categories .n-card,body .n-categories .n-card:nth-child(even),body .n-detail,body .n-product-summary,body .n-activity-card,body .n-upload-choice,body .n-scanner,body .n-action-dialog{box-shadow:var(--n-depth);border-radius:12px}
body .hero .n-search{box-shadow:0 2px 5px #20242012}
body .n-page button:not(.n-recent-clear):not(.n-search button):not(.n-pwa-button){box-shadow:0 2px 4px #2024201a!important}
body .n-mobile-nav{box-shadow:0 -3px 12px #2024200d}
body .n-activity-grid,body .n-recent-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;overflow:visible;max-width:none;scroll-snap-type:none;padding-bottom:8px;align-items:stretch}
body .n-activity-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;min-width:0;padding:14px;background:#fff;color:var(--ink);text-decoration:none;border:1px solid #e1e4e1;overflow-wrap:anywhere;transition:box-shadow .18s,border-color .18s}
body .n-activity-card>.n-activity-photo{width:100%;height:160px;min-height:0;display:grid;place-items:center;padding:4px}
body .n-activity-card>.n-activity-photo img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}
body .n-activity-card>.n-activity-info{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
body .n-activity-info>strong{font-size:17px;line-height:1.35;order:1}
body .n-activity-info>small{font-size:12px;line-height:1.35;order:2}
body .n-activity-info>.n-score,body .n-activity-info>.n-score-missing,body .n-activity-info>.n-recent-score{order:0;min-height:0;max-width:100%;margin:0 0 4px}
body .n-activity-info .n-score img,body .n-activity-info .n-recent-score{width:100px;height:auto;max-width:100%}
body .n-activity-card>span[aria-hidden=true]{display:none}
@media (hover:hover) and (pointer:fine){body .n-card:hover,body .n-categories .n-card:hover,body .n-activity-card:hover{box-shadow:var(--n-depth-hover);border-color:#c5ccc5}}
@media(max-width:950px){body .n-activity-grid,body .n-recent-content{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:650px){body .n-activity-grid,body .n-recent-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body .n-activity-card{padding:10px;gap:6px;flex:none}body .n-activity-card>.n-activity-photo{height:clamp(100px,32vw,180px)}body .n-activity-info>strong{font-size:15px;line-height:1.3}body .n-activity-info .n-score,body .n-activity-info .n-score-missing{font-size:11px;line-height:1.3}body .n-activity-info .n-score small{font-size:10px}}
@media(prefers-reduced-motion:reduce){body .n-activity-card{transition:none}}

/* 0.8.4: manual, accessible horizontal activity carousels; no autoplay. */
@media(max-width:650px){body .n-activity-grid,body .n-recent-content{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 12px)/2);gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:6px;padding:6px 6px 14px;margin:0 -6px;max-width:none;overscroll-behavior-inline:contain;scrollbar-width:thin}body .n-activity-grid .n-activity-card,body .n-recent-content .n-activity-card{scroll-snap-align:start;min-width:0;max-width:none;flex:none}}
.n-noimage::before,.n-activity-photo:has(>span)::before{content:"";display:block;width:42px;height:42px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23949e94' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M4 7l8-4 8 4v10l-8 4-8-4zM4 7l8 4 8-4M12 11v10M8 5l8 4'/%3E%3C/svg%3E");margin:8px auto}.n-noimage{display:flex;flex-direction:column;align-items:center;justify-content:center}.n-activity-photo:has(>span){align-content:center;justify-items:center;gap:0}.n-legal-info{max-width:900px;margin:0 auto;background:white;padding:clamp(18px,4vw,36px);border:1px solid #e1e4e1;border-radius:12px;box-shadow:var(--n-depth);font-size:15px;line-height:1.7}.n-legal-info h1{font-size:clamp(28px,5vw,42px)}.n-legal-info h2{font-size:22px;scroll-margin-top:24px}.n-legal-info ol{padding-left:22px}.n-legal-info a{overflow-wrap:anywhere}.n-legal-info dt{font-weight:650}.n-legal-info dd{margin-left:0;margin-bottom:8px}.n-legal-info .n-legal-toc{background:#f5f6f5;padding:16px 24px;border-radius:12px}.n-pwa-help .n-install-steps{list-style:none;padding:0;margin:12px 0}.n-pwa-help .n-install-steps li{display:flex;align-items:center;gap:10px;margin:10px 0}.n-pwa-help .n-install-steps svg{width:26px;height:26px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7}.n-pwa-help .n-install-done{width:100%;min-height:44px;background:#202420!important;color:#fff!important;border:0;border-radius:10px}


/* 0.8.5: scanner-first home hero; preserve SEO heading and scanner behavior. */
body #nutrion-search.hero{padding:clamp(16px,3vw,34px);background:#f3f5f3;text-align:center;border:1px solid #dfe4df;box-shadow:0 3px 6px #20242012,0 12px 30px #20242012;overflow:visible}
#nutrion-search.hero h1{font-size:clamp(22px,3vw,36px);max-width:760px;margin:0 auto 6px;line-height:1.2}
#nutrion-search.hero>p{max-width:620px;margin:0 auto 16px;font-size:15px;line-height:1.45}
#nutrion-search.hero .n-eyebrow{margin-bottom:6px}
body #nutrion-search .n-scan-open{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;max-width:680px;min-height:144px;margin:0 auto;padding:18px 12px;border-radius:16px!important;background:#202420!important;color:#fff!important;box-shadow:0 4px 0 #111611,0 8px 18px #20242030!important;font-size:clamp(19px,4vw,25px);line-height:1.25;font-weight:700;touch-action:manipulation}
body #nutrion-search .n-scan-open svg{width:48px;height:48px;flex:none;stroke-width:1.65}
body #nutrion-search .n-scan-open .n-hero-scan-hint{font-size:13px;font-weight:400;color:#e3e7e3;line-height:1.35}
body #nutrion-search .n-scan-open:active{transform:translateY(2px);box-shadow:0 2px 0 #111611,0 4px 9px #20242024!important}
#nutrion-search .n-hero-divider{display:flex;align-items:center;gap:12px;max-width:680px;margin:18px auto 10px;color:#626862;font-size:13px;line-height:1.4}
#nutrion-search .n-hero-divider:before,#nutrion-search .n-hero-divider:after{content:'';height:1px;background:#d3d9d3;flex:1}
body #nutrion-search .n-search{max-width:680px;margin:0 auto 8px;grid-template-columns:minmax(0,1fr) 56px;box-shadow:0 2px 4px #20242013,0 5px 12px #2024200d}
body #nutrion-search .n-search input[type=search]{min-height:56px;font-size:16px}
body #nutrion-search .n-search button{min-height:56px;width:56px}
#nutrion-search .n-popular{justify-content:center;margin:4px auto 0;gap:2px 6px}
#nutrion-search .n-popular a{min-height:44px;display:inline-flex;align-items:center;padding:6px}
body .n-page>.n-hero-catalog-link{text-align:center;margin:4px 0 12px}
@media(max-width:650px){body #nutrion-search .n-scan-open{min-height:136px}body .n-mobile-nav button[data-n-scan] svg{width:30px;height:30px}body #nutrion-search.hero>p{font-size:14px}}
@media(prefers-reduced-motion:reduce){body #nutrion-search .n-scan-open{transition:none}body #nutrion-search .n-scan-open:active{transform:none}}

/* 0.8.6: compact search-first hero, soft raised surface and neutral scanner. */
body #nutrion-search.hero{background:#fff;border:1px solid #dfe4df;border-top:3px solid #dc8a47;box-shadow:0 3px 7px #20242013,0 10px 24px #20242014;padding:clamp(16px,3vw,30px);}
body #nutrion-search.hero>p{margin-bottom:14px;}
body #nutrion-search .n-search{margin:0 auto 10px;grid-template-columns:minmax(0,1fr) 56px;border-color:#a9b2a9;}
body #nutrion-search .n-search input[type=search],body #nutrion-search .n-search button{min-height:56px;}
body #nutrion-search .n-scan-open{flex-direction:row;gap:12px;min-height:66px;padding:12px 16px;margin:0 auto;background:#f3f5f3!important;color:#202420!important;border:1px solid #cdd4cd!important;border-radius:12px!important;font-size:18px;box-shadow:0 2px 3px #20242016,0 5px 10px #20242012!important;}
body #nutrion-search .n-scan-open svg{width:32px;height:32px;}
body #nutrion-search .n-scan-open:active{transform:translateY(1px);box-shadow:0 1px 2px #20242018!important;}
#nutrion-search .n-popular{margin-top:5px;}
@media(max-width:650px){body #nutrion-search.hero{padding:16px;}body #nutrion-search.hero h1{font-size:22px;}body #nutrion-search .n-scan-open{min-height:66px;}body .n-mobile-nav button[data-n-scan] svg{width:26px;height:26px;}}
@media(prefers-reduced-motion:reduce){body #nutrion-search .n-scan-open:active{transform:none;}}


/* 0.8.7: more prominent hero, scanner first, and grayscale carrot placeholders. */
body #nutrion-search.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:linear-gradient(180deg,#f8f3ee 0%,#f3efea 100%);
  border:1px solid #e5d8cc;
  border-top:4px solid #dc8a47;
  box-shadow:0 6px 16px rgba(32,36,32,.08),0 18px 34px rgba(32,36,32,.09);
  padding:clamp(20px,4vw,38px);
}
body #nutrion-search.hero .n-eyebrow{
  color:#675d55;
  font-size:clamp(11px,1.2vw,13px);
  letter-spacing:2.2px;
  font-weight:800;
  margin:0 0 10px;
}
body #nutrion-search.hero h1{
  font-size:clamp(28px,4.4vw,46px);
  line-height:1.12;
  letter-spacing:-.04em;
  max-width:780px;
  margin:0 auto 10px;
}
body #nutrion-search.hero>p{
  font-size:clamp(16px,2vw,19px);
  line-height:1.5;
  color:#544f4a;
  max-width:720px;
  margin:0 auto 18px;
}
body #nutrion-search .n-scan-open{
  order:1;
  width:100%;
  max-width:760px;
  min-height:78px;
  justify-content:center;
  gap:14px;
  margin:0 auto 14px;
  padding:16px 18px;
  background:#ffffff!important;
  color:#202420!important;
  border:1px solid #d6c9be!important;
  border-radius:14px!important;
  box-shadow:0 3px 6px rgba(32,36,32,.08),0 10px 20px rgba(32,36,32,.08)!important;
  font-size:clamp(19px,3vw,24px);
  font-weight:750;
}
body #nutrion-search .n-scan-open svg{width:34px;height:34px;flex:none;stroke-width:1.8}
body #nutrion-search .n-scan-open:active{transform:translateY(1px);box-shadow:0 2px 4px rgba(32,36,32,.10),0 6px 12px rgba(32,36,32,.08)!important}
body #nutrion-search .n-search{
  order:2;
  width:100%;
  max-width:760px;
  margin:0 auto 10px;
  grid-template-columns:minmax(0,1fr) 60px;
  background:#fff;
  border:1px solid #c9bdb2;
  border-radius:14px;
  box-shadow:0 3px 6px rgba(32,36,32,.06),0 10px 20px rgba(32,36,32,.05);
}
body #nutrion-search .n-search input[type=search]{
  min-height:60px;
  padding:15px 18px;
  font-size:18px;
  border-radius:14px 0 0 14px;
}
body #nutrion-search .n-search button{
  width:60px;
  min-height:60px;
  border-left:1px solid #ddd2c8!important;
  border-radius:0 13px 13px 0!important;
}
body #nutrion-search .n-popular{
  order:3;
  justify-content:center;
  margin:4px auto 0;
  gap:4px 10px;
  font-size:13px;
  color:#675d55;
}
body #nutrion-search .n-popular a{padding:7px 6px;min-height:38px}

.n-noimage,
.n-activity-photo:has(>span){
  background:#f5f5f3;
  color:#7b807b;
}
.n-noimage::before,
.n-activity-photo:has(>span)::before{
  content:"";
  display:block;
  width:56px;
  height:56px;
  margin:0 auto 10px;
  background:center/contain no-repeat url("assets/nutrion-placeholder.webp?v=0103");
  opacity:.92;
}
.n-noimage,
.n-activity-photo:has(>span){
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  font-size:12px;
  line-height:1.35;
}
.n-activity-photo:has(>span) > span{display:block;text-align:center;padding:0 8px}

@media(max-width:650px){
  body #nutrion-search.hero{padding:18px;background:linear-gradient(180deg,#f7f1eb 0%,#f3efea 100%)}
  body #nutrion-search.hero h1{font-size:clamp(30px,8vw,36px);margin-bottom:12px}
  body #nutrion-search.hero>p{font-size:17px;margin-bottom:16px}
  body #nutrion-search .n-scan-open{min-height:74px;font-size:18px;margin-bottom:12px}
  body #nutrion-search .n-search input[type=search]{font-size:17px;min-height:58px}
  body #nutrion-search .n-search button{min-height:58px;width:58px}
  body #nutrion-search .n-popular{font-size:12px}
  .n-noimage::before,.n-activity-photo:has(>span)::before{width:48px;height:48px;margin-bottom:8px}
}
@media(prefers-reduced-motion:reduce){body #nutrion-search .n-scan-open:active{transform:none}}


/* 0.8.8: section stripes, actual carrot placeholder, and restored activity section treatment. */
:root{
  --n-stripe-recent:#dc8a47;
  --n-stripe-trending:#87b96a;
  --n-stripe-latest:#8ca8d8;
}

/* Use the real Nutrion carrot, slightly smaller and grayscale. */
.n-noimage::before,
.n-activity-photo:has(>span)::before{
  width:40px;
  height:40px;
  margin:0 auto 8px;
  background:center/contain no-repeat url("assets/nutrion-placeholder.webp?v=0103");
}

/* Shared section treatment for Recently viewed, Popular, and Latest products. */
body .n-trending,
body #n-recent:not([hidden]){
  position:relative;
  margin:28px 0;
  padding:22px;
  background:#fff;
  border:1px solid #e1e4e1;
  border-radius:16px;
  box-shadow:var(--n-depth);
  overflow:hidden;
}
body .n-trending::before,
body #n-recent:not([hidden])::before,
body h2#nutrion-results::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:5px;
}
body .n-trending::before{background:var(--n-stripe-trending)}
body #n-recent:not([hidden])::before{background:var(--n-stripe-recent)}

body .n-trending h2,
body #n-recent:not([hidden]) h2{
  margin-top:4px;
  margin-bottom:8px;
}
body .n-trending .n-note,
body #n-recent:not([hidden]) .n-note,
body #n-recent:not([hidden]) .n-activity-heading{
  margin-bottom:14px;
}
body #n-recent:not([hidden]) .n-activity-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body #n-recent:not([hidden]) .n-recent-clear{
  margin-left:auto;
}

/* Latest products: wrap heading and grid as one visual group with its own stripe. */
body h2#nutrion-results{
  position:relative;
  margin:28px 0 0;
  padding:22px 22px 10px;
  background:#fff;
  border:1px solid #e1e4e1;
  border-bottom:0;
  border-radius:16px 16px 0 0;
  box-shadow:var(--n-depth);
}
body h2#nutrion-results::before{background:var(--n-stripe-latest);border-radius:16px 16px 0 0}
body h2#nutrion-results + .n-grid{
  margin-top:0;
  padding:12px 22px 22px;
  background:#fff;
  border:1px solid #e1e4e1;
  border-top:0;
  border-radius:0 0 16px 16px;
  box-shadow:var(--n-depth);
}

/* Ensure product/recent/popular groups remain distinct but not heavy. */
body .n-trending .n-activity-grid,
body #n-recent:not([hidden]) .n-recent-content{
  margin-top:0;
}

@media(max-width:650px){
  .n-noimage::before,
  .n-activity-photo:has(>span)::before{
    width:34px;
    height:34px;
    margin-bottom:6px;
  }
  body .n-trending,
  body #n-recent:not([hidden]){
    padding:18px 14px 14px;
    margin:22px 0;
  }
  body h2#nutrion-results{
    padding:18px 14px 8px;
    margin-top:22px;
  }
  body h2#nutrion-results + .n-grid{
    padding:10px 14px 16px;
  }
}

/* 0.8.9: complete original carrot, no legacy outline. */
body .n-noimage::before,body .n-activity-photo:has(>span)::before{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0;background:transparent url("assets/nutrion-placeholder.webp?v=0103") center/contain no-repeat;flex-shrink:0;box-sizing:border-box;}

/* 0.8.10: lighter missing-photo treatment, original carrot retained. */
body .n-noimage::before,body .n-activity-photo:has(>span)::before{opacity:.48;}
body .n-image .n-noimage,body .n-noimage,body .n-activity-card>.n-activity-photo:has(>span){background:#fafbf9;color:#747b74;}

/* 0.8.11: preserve image proportions; stable photo containers. */
.n-product .n-image img,.n-detail .n-image img,.n-activity-card .n-activity-photo img{object-fit:contain;}
.n-cat-icon img{object-fit:cover;}

/* 0.8.13: green interface accents; preserve logo and nutritional scale. */
body #nutrion-search.hero{background:linear-gradient(180deg,#f4f8f2,#edf3eb);border-color:#d6e2d3}
body #nutrion-search .n-scan-open,body #nutrion-search .n-search{border-color:#c8d6c5!important}
body .n-quick-tools svg,body .n-filter-shortcut svg{color:#39733b}
body .n-mobile-nav a[aria-current=page]{color:#39733b!important}

/* 0.8.14: subpage product grids flow vertically, not as carousels. Keep two mobile columns. */
@media(max-width:650px){body .n-activity-grid:not(.n-trending .n-activity-grid):not(#n-recent .n-activity-grid):not(.n-best-home .n-activity-grid),body #n-discovery-list .n-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;scroll-snap-type:none;margin:0;padding:0;gap:12px}body .n-activity-grid:not(.n-trending .n-activity-grid):not(#n-recent .n-activity-grid):not(.n-best-home .n-activity-grid)>.n-activity-card{width:auto;min-width:0;scroll-snap-align:none}}

/* 0.9.0: compact method link, preserve existing product layouts. */
#nutrion-footer-v078 .n-footer-links{flex-wrap:wrap;justify-content:center}.n-index-badge{vertical-align:middle}

/* 0.9.1: home ranking carousel; other listings remain vertical. */
@media(max-width:650px){body .n-best-home .n-activity-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 12px)/2);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;gap:12px}body .n-best-home .n-activity-card{scroll-snap-align:start}}

/* 0.9.4: desktop-only compact portal, pastel section surfaces. */
@media (min-width:1024px){
  body .wrap{max-width:1560px;padding-inline:28px}
  body>header>.wrap{min-height:64px;padding-block:5px;gap:14px}
  body>header .brand-logo img,body>header .custom-logo-link img{height:64px!important;max-height:64px!important}
  body>header nav ul{gap:20px;align-items:center}
  body>header nav a{font-size:14px}
  body main.n-page{padding-top:16px;padding-bottom:20px}
  body .n-page h2{font-size:22px;line-height:1.25;margin:18px 0 10px}
  body #nutrion-search.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;padding:18px 24px;margin:0 0 12px;background:#edf5ee;border:1px solid #d5e5d7;border-top:3px solid #87b58b;box-shadow:0 3px 12px #2035220b;border-radius:14px}
  body #nutrion-search.hero>.n-eyebrow,body #nutrion-search.hero>h1,body #nutrion-search.hero>p,body #nutrion-search.hero>.n-popular{grid-column:1/-1;margin:0 auto}
  body #nutrion-search.hero>h1{font-size:30px;max-width:none}
  body #nutrion-search.hero>p{font-size:15px;max-width:none}
  body #nutrion-search .n-scan-open{min-height:46px;font-size:16px;padding:8px 14px;margin:0;max-width:none;box-shadow:0 2px 6px #20352210!important;justify-self:stretch}
  body #nutrion-search .n-scan-open svg{width:24px;height:24px}
  body #nutrion-search .n-search{margin:0;max-width:none;min-width:0;grid-template-columns:minmax(0,1fr) 48px;box-shadow:0 2px 6px #20352210}
  body #nutrion-search .n-search input[type=search]{min-height:46px;font-size:15px;padding:9px 12px}
  body #nutrion-search .n-search button{min-height:46px;width:48px}
  body #nutrion-search .n-popular a{min-height:28px;padding:4px 6px}
  body #nutrion-search .n-filter-shortcut{grid-column:1/-1;justify-self:center}
  body main.n-page:has(> #nutrion-search)>.n-metrics{margin:6px 0!important}
  body main.n-page:has(> #nutrion-search)>.n-quick-tools{max-width:760px;margin:8px auto;gap:8px}
  body main.n-page:has(> #nutrion-search)>.n-quick-tools a{min-height:42px;padding:6px 9px!important;flex-direction:row;gap:6px}
  body main.n-page:has(> #nutrion-search)>.n-discovery-links{margin:8px 0}
  body main.n-page:has(> #nutrion-search)>.n-hero-catalog-link{margin:6px 0}
  /* Section heading and grid pairs share a single pastel surface. */
  body .n-page #toidukategooriad{margin:16px 0 0;padding:12px 16px 6px;background:#f5f0e2;border:1px solid #e8dfc9;border-top:3px solid #d4bf83;border-bottom:0;border-radius:14px 14px 0 0}
  body .n-page #toidukategooriad + .n-categories{margin:0 0 16px;padding:8px 14px 14px;background:#f5f0e2;border:1px solid #e8dfc9;border-top:0;border-radius:0 0 14px 14px;gap:10px;grid-template-columns:repeat(6,minmax(0,1fr))}
  body .n-categories .n-card,body .n-categories .n-card:nth-child(even){background:#fff;gap:5px;padding:0 0 7px;box-shadow:0 2px 5px #2024200d;font-size:13px;overflow:hidden}
  body .n-categories .n-cat-icon{height:88px;aspect-ratio:auto;width:100%;margin:0}
  body .n-categories .n-cat-icon img{width:100%;height:100%;object-fit:cover}
  body .n-page .n-best-home,body .n-page .n-best-category,body .n-page .n-trending,body .n-page #n-recent:not([hidden]),body .n-detail .n-discovery-section{margin:16px 0;padding:12px 14px 14px;border:1px solid var(--n-panel-border);border-top:3px solid var(--n-panel-accent);background:var(--n-panel-bg);border-radius:14px;box-shadow:0 3px 10px #2024200b;overflow:visible}
  body .n-page .n-best-home,body .n-page .n-best-category{--n-panel-bg:#edf5e6;--n-panel-border:#dce8d2;--n-panel-accent:#a3c48d}
  body .n-page .n-trending{--n-panel-bg:#f3eef8;--n-panel-border:#e5dcee;--n-panel-accent:#b9a2d0}
  body .n-page #n-recent:not([hidden]){--n-panel-bg:#fcf1e8;--n-panel-border:#eddfd3;--n-panel-accent:#dfb28e}
  body .n-detail .n-discovery-section{--n-panel-bg:#eaf5f2;--n-panel-border:#d4e6df;--n-panel-accent:#91c0b3}
  body .n-page .n-trending::before,body .n-page #n-recent:not([hidden])::before{display:none}
  body .n-page :is(.n-best,.n-trending,#n-recent,.n-discovery-section) h2{margin:0 0 5px;font-size:21px}
  body .n-page :is(.n-best,.n-trending,#n-recent,.n-discovery-section) .n-note{margin:0 0 9px;font-size:12px}
  body .n-page :is(.n-best,.n-trending,#n-recent) .n-activity-heading{margin:0 0 5px;gap:8px}
  body main.n-page:has(> #nutrion-search) > h2#nutrion-results{margin:16px 0 0;padding:12px 16px 6px;background:#edf3fb;border:1px solid #d9e3f0;border-top:3px solid #9bb9e1;border-bottom:0;box-shadow:none;border-radius:14px 14px 0 0}
  body main.n-page:has(> #nutrion-search) > h2#nutrion-results::before{display:none}
  body main.n-page:has(> #nutrion-search) > h2#nutrion-results + .n-grid{margin:0;padding:8px 14px 14px;background:#edf3fb;border:1px solid #d9e3f0;border-top:0;border-radius:0 0 14px 14px;box-shadow:none}
  /* Keep catalog cards informative; shorten their image and score spacing. */
  body .n-page .n-grid:has(> .n-product),body .n-page .n-activity-grid,body .n-page .n-recent-content{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-bottom:0;align-items:stretch}
  body .n-page .n-grid>.n-card.n-product{padding:10px;gap:5px;box-shadow:0 2px 6px #20242012;border-radius:10px}
  body .n-page .n-grid>.n-product>.n-image,body .n-page .n-grid>.n-product>.n-image img,body .n-page .n-grid>.n-product>.n-image .n-noimage{height:132px;min-height:0;max-height:132px;object-fit:contain}
  body .n-page .n-grid>.n-product>.n-image{padding:2px;border-bottom:0}
  body .n-page .n-grid>.n-product>h3{font-size:15px;line-height:1.3;margin:2px 0;overflow-wrap:anywhere}
  body .n-page .n-grid>.n-product>p{font-size:12px;line-height:1.35;margin:0}
  body .n-page .n-grid>.n-product>.n-score img{width:100px;height:auto;max-width:100%}
  body .n-page .n-grid>.n-product>.n-score{min-height:0;gap:4px}
  body .n-page .n-grid>.n-product>.n-metrics div{padding:5px 2px}
  body .n-page .n-grid>.n-product>.n-metrics strong{font-size:15px}
  body .n-page .n-grid>.n-product>.n-metrics small{font-size:10px}
  body .n-page .n-activity-card{padding:10px;gap:5px;box-shadow:0 2px 6px #20242012;border-radius:10px;background:#fff}
  body .n-page .n-activity-card>.n-activity-photo{height:124px;padding:2px;min-height:0}
  body .n-page .n-activity-card>.n-activity-photo img{height:100%;width:100%;max-height:124px;object-fit:contain}
  body .n-page .n-activity-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-rows:58px 34px auto auto;gap:3px 4px;align-items:center;align-content:start;flex:1}
  body .n-page .n-activity-info>:is(.n-score,.n-score-missing,.n-recent-score){grid-column:1/-1;grid-row:1;margin:0;align-self:center;min-height:0}
  body .n-page .n-activity-info .n-score img,body .n-page .n-activity-info>.n-recent-score{width:100px;height:auto;max-width:100%}
  body .n-page .n-activity-info>.n-nova-badge{grid-column:1;grid-row:2;margin:0;align-self:center;justify-self:start}
  body .n-page .n-activity-info>.n-index-badge{grid-column:2;grid-row:2;margin:0;align-self:center;justify-self:start}
  body .n-page .n-activity-info>strong{grid-column:1/-1;grid-row:3;align-self:start;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
  body .n-page .n-activity-info>small:not(.n-best-label){grid-column:1/-1;grid-row:4;font-size:11px;align-self:start}
  body .n-page .n-activity-info>.n-best-label{grid-column:1/-1;grid-row:5}
  body .n-page :is(.n-activity-info,.n-grid>.n-product) .n-index-ring{width:28px;height:28px;flex-basis:28px}
  body .n-page :is(.n-activity-info,.n-grid>.n-product) .n-index-ring b{font-size:11px}
  body .n-page :is(.n-activity-info,.n-grid>.n-product) .n-index-badge{font-size:9px;gap:3px}
  body .n-page :is(.n-activity-info,.n-grid>.n-product) .n-nova-badge{font-size:10px;gap:3px}
  /* Home only: image, scores and name. The score's source label remains. */
  body main.n-page:has(> #nutrion-search) .n-grid>.n-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-rows:132px 58px 34px auto;gap:3px 4px;align-content:start;align-items:center}
  body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image{grid-column:1/-1;grid-row:1}
  body main.n-page:has(> #nutrion-search) .n-grid>.n-product>:is(.n-score,.n-score-missing){grid-column:1/-1;grid-row:2;margin:0}
  body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-nova-badge{grid-column:1;grid-row:3;margin:0;align-self:center;justify-self:start}
  body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-index-badge{grid-column:2;grid-row:3;margin:0;align-self:center;justify-self:start}
  body main.n-page:has(> #nutrion-search) .n-grid>.n-product>h3{grid-column:1/-1;grid-row:4;align-self:start}
  body main.n-page:has(> #nutrion-search) .n-grid>.n-product>:is(p,.n-metrics,.n-unit),body main.n-page:has(> #nutrion-search) .n-activity-info>small{display:none}
  body main.n-page:has(> #nutrion-search) .n-activity-info{grid-template-rows:58px 34px auto}
  body .n-page .n-detail{max-width:1240px;padding:22px}
  body .n-detail .n-discovery-section .n-activity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body .n-detail .n-discovery-section .n-activity-photo{height:115px}
  body #nutrion-footer-v078 .n-footer-layout-v078{padding:14px 28px}
}
@media (min-width:1200px){
  body .n-page .n-grid:has(> .n-product),body .n-page .n-activity-grid,body .n-page .n-recent-content{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (min-width:1280px){
  body .n-detail .n-discovery-section .n-activity-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
  body .n-detail .n-discovery-section .n-activity-card{padding:8px}
}

/* 0.9.5: desktop home previews, five columns and layered depth. */
@media (min-width:1024px){
  body main.n-page:has(> #nutrion-search) > :is(.n-best-home,.n-trending,#n-recent) :is(.n-activity-grid,.n-recent-content),
  body main.n-page:has(> #nutrion-search) > h2#nutrion-results + .n-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
  body main.n-page:has(> #nutrion-search) > :is(.n-best-home,.n-trending,#n-recent) :is(.n-activity-grid,.n-recent-content) > .n-activity-card:nth-child(n+11),
  body main.n-page:has(> #nutrion-search) > h2#nutrion-results + .n-grid > .n-product:nth-child(n+11){display:none!important;}
  body .n-page .n-grid > .n-card.n-product,
  body .n-page .n-activity-card,
  body .n-page .n-categories .n-card{box-shadow:0 2px 3px #25362914,0 6px 12px #25362916,0 11px 22px #2536290c,inset 0 1px 0 #fff;transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;}
  body .n-page :is(.n-best-home,.n-best-category,.n-trending,#n-recent:not([hidden]),.n-discovery-section),
  body #nutrion-search.hero{box-shadow:inset 0 1px 0 #ffffffc9,0 3px 6px #26332b12,0 10px 24px #26332b12;}
  body .n-page #toidukategooriad + .n-categories,
  body main.n-page:has(> #nutrion-search) > h2#nutrion-results + .n-grid{box-shadow:0 5px 8px -4px #26332b1a,0 14px 22px -12px #26332b26;}
}
@media (min-width:1024px) and (hover:hover) and (pointer:fine){
  body .n-page .n-grid > .n-card.n-product:hover,
  body .n-page .n-activity-card:hover,
  body .n-page .n-categories .n-card:hover{transform:translateY(-3px);border-color:#b8cdbb;box-shadow:0 4px 7px #25362918,0 12px 24px #25362924;}
}
@media (min-width:1024px) and (prefers-reduced-motion:reduce){
  body .n-page .n-grid > .n-card.n-product,
  body .n-page .n-activity-card,
  body .n-page .n-categories .n-card{transition:none!important;transform:none!important;}
}

/* 0.9.6: supplied Nutrion identity; restore centered desktop hero. */
:root{--green:#2e9841;--n-brand:#2e9841}
body>header .brand-logo img,body>header .custom-logo-link img{width:180px!important;height:auto!important;max-width:180px!important;max-height:72px!important}
body .n-quick-tools svg,body .n-filter-shortcut svg,body .n-mobile-nav a[aria-current=page]{color:#2e9841!important}
nav a:hover{color:#2e9841}
body #nutrion-search.hero{border-top:4px solid #2e9841;background:linear-gradient(180deg,#f5faf5,#eaf5ec)}
body #nutrion-search.hero .n-eyebrow{color:#345b3b}
body #nutrion-search .n-scan-open,body #nutrion-search .n-search{border-color:#b9d8bf!important}
body .n-noimage::before,body .n-activity-photo:has(>span)::before{background-image:url("assets/nutrion-placeholder.webp?v=0103");opacity:1}
@media(min-width:1024px){
 body #nutrion-search.hero{display:flex;flex-direction:column;align-items:center;gap:0;padding:24px 28px 20px;box-shadow:0 3px 7px #26332b16,0 12px 26px #26332b16}
 body #nutrion-search.hero>.n-eyebrow{margin:0 auto 8px}
 body #nutrion-search.hero>h1{font-size:clamp(28px,3vw,40px);max-width:900px;margin:0 auto 8px}
 body #nutrion-search.hero>p{font-size:17px;max-width:760px;margin:0 auto 14px}
 body #nutrion-search .n-scan-open{order:1;width:100%;max-width:680px;min-height:60px;margin:0 auto 10px;font-size:19px;box-shadow:0 3px 6px #26332b16,0 8px 16px #26332b12!important}
 body #nutrion-search .n-search{order:2;width:100%;max-width:680px;margin:0 auto 8px;grid-template-columns:minmax(0,1fr) 54px}
 body #nutrion-search .n-search input[type=search]{min-height:54px;font-size:17px}
 body #nutrion-search .n-search button{min-height:54px;width:54px}
 body #nutrion-search .n-filter-shortcut{order:3;margin:4px auto}
 body #nutrion-search .n-popular{order:4;margin:4px auto 0}
}

/* 0.9.8: compact mobile home previews; keep catalogue nutrition and carousel behaviour. */
@media (max-width:650px){
 body main.n-page:has(> #nutrion-search) > :is(.n-best-home,.n-trending,#n-recent:not([hidden])){padding:10px 10px 8px;margin:14px 0}
 body main.n-page:has(> #nutrion-search) > :is(.n-best-home,.n-trending,#n-recent) .n-activity-heading{gap:6px;align-items:center;margin-bottom:5px}
 body main.n-page:has(> #nutrion-search) > :is(.n-best-home,.n-trending,#n-recent) h2,body main.n-page:has(> #nutrion-search)>h2#nutrion-results{font-size:17px;line-height:1.25;margin-block:0;letter-spacing:-.025em}
 body main.n-page:has(> #nutrion-search)>h2#nutrion-results{margin-top:14px;padding:12px 10px 8px;gap:6px;flex-wrap:wrap}
 body main.n-page:has(> #nutrion-search)>h2#nutrion-results + .n-grid{padding:8px 10px 12px;gap:10px}
 body main.n-page:has(> #nutrion-search) .n-list-all{font-size:11px}
 body main.n-page:has(> #nutrion-search) > :is(.n-best-home,.n-trending,#n-recent) .n-note{font-size:11px;line-height:1.4;margin:0 0 6px}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-card.n-product,body main.n-page:has(> #nutrion-search) .n-activity-card,body .n-detail .n-discovery-section .n-activity-card{padding:8px;gap:5px;border-radius:10px;min-width:0}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:clamp(82px,26vw,115px) minmax(48px,auto) 30px auto;align-content:start;align-items:center;gap:4px 3px}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image{grid-column:1/-1;grid-row:1;padding:2px}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image,body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image :is(img,.n-noimage){height:clamp(82px,26vw,115px);min-height:0;max-height:115px;object-fit:contain}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image .n-noimage{font-size:10px}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>:is(p,.n-metrics,.n-unit),body main.n-page:has(> #nutrion-search) .n-activity-info>small{display:none}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>:is(.n-score,.n-score-missing){grid-column:1/-1;grid-row:2}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-nova-badge{grid-column:1;grid-row:3}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-index-badge{grid-column:2;grid-row:3}
 body main.n-page:has(> #nutrion-search) .n-grid>.n-product>h3{grid-column:1/-1;grid-row:4;font-size:13px;line-height:1.3;margin:0;align-self:start;overflow-wrap:anywhere}
 body main.n-page:has(> #nutrion-search) .n-activity-card>.n-activity-photo,body .n-detail .n-discovery-section .n-activity-card>.n-activity-photo{height:clamp(82px,26vw,115px);padding:2px;min-height:0}
 body main.n-page:has(> #nutrion-search) .n-activity-card>.n-activity-info,body .n-detail .n-discovery-section .n-activity-card>.n-activity-info{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(48px,auto) 30px auto;gap:4px 3px;align-content:start;align-items:center}
 body :is(main.n-page:has(> #nutrion-search),.n-detail .n-discovery-section) .n-activity-info>:is(.n-score,.n-score-missing,.n-recent-score){grid-column:1/-1;grid-row:1}
 body :is(main.n-page:has(> #nutrion-search),.n-detail .n-discovery-section) .n-activity-info>.n-nova-badge{grid-column:1;grid-row:2}
 body :is(main.n-page:has(> #nutrion-search),.n-detail .n-discovery-section) .n-activity-info>.n-index-badge{grid-column:2;grid-row:2}
 body :is(main.n-page:has(> #nutrion-search),.n-detail .n-discovery-section) .n-activity-info>strong{grid-column:1/-1;grid-row:3;font-size:13px;line-height:1.3;align-self:start}
 body .n-detail .n-discovery-section .n-activity-info>small{grid-column:1/-1;grid-row:auto;font-size:11px}
 body :is(main.n-page:has(> #nutrion-search) .n-grid>.n-product,main.n-page:has(> #nutrion-search) .n-activity-info,.n-detail .n-discovery-section .n-activity-info)>:is(.n-score,.n-score-missing,.n-recent-score){min-height:0;margin:0;font-size:10px;line-height:1.2;gap:2px}
 body :is(main.n-page:has(> #nutrion-search) .n-grid>.n-product,main.n-page:has(> #nutrion-search) .n-activity-info,.n-detail .n-discovery-section .n-activity-info) .n-score img{width:90px;max-width:100%;height:auto}
 body :is(main.n-page:has(> #nutrion-search) .n-grid>.n-product,main.n-page:has(> #nutrion-search) .n-activity-info,.n-detail .n-discovery-section .n-activity-info) .n-score small{display:block;font-size:9px;line-height:1.2}
 body :is(main.n-page:has(> #nutrion-search) .n-grid>.n-product,main.n-page:has(> #nutrion-search) .n-activity-info,.n-detail .n-discovery-section .n-activity-info)>:is(.n-nova-badge,.n-index-badge){margin:0;gap:3px;font-size:9px;min-width:0;max-width:100%;justify-self:start}
 body :is(main.n-page:has(> #nutrion-search),.n-detail .n-discovery-section) :is(.n-product,.n-activity-info) .n-index-ring{width:24px;height:24px;flex-basis:24px}
 body :is(main.n-page:has(> #nutrion-search),.n-detail .n-discovery-section) :is(.n-product,.n-activity-info) .n-index-ring b{font-size:10px}
 body :is(main.n-page:has(> #nutrion-search),.n-detail .n-discovery-section) :is(.n-product,.n-activity-info) .n-index-ring:before{inset:3px}
}

/* 0.10.0 – isolated language controls, existing cards untouched */
.n-language-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #d5e5d7;background:#f6faf6;border-radius:9px;white-space:nowrap;flex-shrink:0}.n-language-switch a{font-size:12px;line-height:1.4;padding:5px 8px;border-radius:5px;text-decoration:none;color:#28432e;font-weight:700}.n-language-switch a[aria-current=true]{background:#2e9841;color:white}.n-language-notice{margin:0 0 12px;padding:8px 12px;border:1px solid #d5e5d7;background:#f5faf5;border-radius:8px;font-size:12px;color:#294532}@media(max-width:767px){header .wrap .n-language-switch{position:static;align-self:center;margin-top:3px}.n-language-switch a{padding:4px 5px;font-size:10px}}

/* 0.10.1: simple header without primary menu; language control remains on the right. */
body>header>.wrap>.n-language-switch{margin-left:auto}

/* 0.11.0 — compact product cards, Nutrion Index first. */
body main.n-page .n-grid:has(> .n-product),body main.n-page .n-grid:has(> .n-activity-card),body main.n-page .n-activity-grid:not(.n-trending .n-activity-grid):not(.n-best-home .n-activity-grid){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:10px;overflow:visible;align-items:stretch}
body main.n-page .n-grid>.n-card.n-product,body main.n-page:has(> #nutrion-search) .n-grid>.n-product{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;padding:10px;min-width:0}
body main.n-page .n-grid>.n-product>.n-image,body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image,body main.n-page .n-activity-card>.n-activity-photo{order:0;height:120px;min-height:0;max-height:120px;padding:2px;box-sizing:border-box}
body main.n-page .n-grid>.n-product>.n-image :is(img,.n-noimage),body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image :is(img,.n-noimage),body main.n-page .n-activity-card>.n-activity-photo img{height:100%;max-height:116px;min-height:0;object-fit:contain}
body main.n-page .n-grid>.n-product>h3{order:1;font-size:14px;line-height:1.3;margin:3px 0;align-self:stretch;overflow-wrap:anywhere;min-height:2.6em}
body main.n-page .n-grid>.n-product>p,body main.n-page .n-grid>.n-product>:is(.n-metrics,.n-unit){display:none!important}
body main.n-page .n-grid>.n-product>.n-index-badge{order:2}
body main.n-page .n-grid>.n-product>:is(.n-score,.n-score-missing){order:3;min-height:0;margin:0;font-size:10px}
body main.n-page .n-grid>.n-product>.n-nova-badge{order:4;margin:0}
body main.n-page .n-activity-card>.n-activity-info,body main.n-page:has(> #nutrion-search) .n-activity-card>.n-activity-info,body .n-detail .n-discovery-section .n-activity-card>.n-activity-info{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0}
body main.n-page .n-activity-info>strong{order:0;min-height:2.6em;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
body main.n-page .n-activity-info>small:not(.n-best-label){display:none}
body main.n-page .n-activity-info>.n-index-badge{order:1}
body main.n-page .n-activity-info>:is(.n-score,.n-score-missing){order:2;min-height:0}
body main.n-page .n-activity-info>.n-nova-badge{order:3}
body main.n-page .n-activity-info>.n-best-label{order:4}
body main.n-page :is(.n-product,.n-activity-info,.n-summary-score)>.n-index-badge{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-height:56px;font-size:13px;font-weight:800;margin:3px 0;color:#26332b}
body main.n-page :is(.n-product,.n-activity-info,.n-summary-score) .n-index-ring{width:53px;height:53px;flex:0 0 53px}
body main.n-page :is(.n-product,.n-activity-info,.n-summary-score) .n-index-ring b{font-size:19px}
body main.n-page :is(.n-product,.n-activity-info,.n-summary-score) .n-index-ring:before{inset:5px}
body main.n-page :is(.n-product,.n-activity-info) .n-score img{width:82px;height:auto;max-width:100%}
body main.n-page :is(.n-product,.n-activity-info) .n-score small{font-size:9px;line-height:1.15;display:block}
body main.n-page .n-summary-score .n-index-ring{width:90px;height:90px;flex-basis:90px}
body main.n-page .n-summary-score .n-index-ring b{font-size:30px}
body main.n-page .n-summary-score>.n-index-badge{font-size:18px}
@media(max-width:767px){
 body main.n-page .n-grid:has(> .n-product),body main.n-page .n-grid:has(> .n-activity-card),body main.n-page .n-activity-grid:not(.n-trending .n-activity-grid):not(.n-best-home .n-activity-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body main.n-page .n-grid>.n-card.n-product,body main.n-page .n-activity-card{padding:8px}
 body main.n-page .n-grid>.n-product>.n-image,body main.n-page:has(> #nutrion-search) .n-grid>.n-product>.n-image,body main.n-page .n-activity-card>.n-activity-photo{height:100px;max-height:100px}
 body main.n-page :is(.n-product,.n-activity-info)>.n-index-badge{font-size:11px;gap:5px;min-height:47px}
 body main.n-page :is(.n-product,.n-activity-info) .n-index-ring{width:45px;height:45px;flex:0 0 45px}
 body main.n-page :is(.n-product,.n-activity-info) .n-index-ring b{font-size:16px}
}
/* Override older home-specific small badges without affecting detailed nutrient tables. */
body main.n-page:has(> #nutrion-search) :is(.n-product,.n-activity-info) .n-index-ring,body .n-detail .n-discovery-section .n-activity-info .n-index-ring{width:53px;height:53px;flex-basis:53px}
body main.n-page:has(> #nutrion-search) :is(.n-product,.n-activity-info) .n-index-ring b,body .n-detail .n-discovery-section .n-activity-info .n-index-ring b{font-size:19px}
body main.n-page:has(> #nutrion-search) :is(.n-product,.n-activity-info)>.n-index-badge{font-size:13px;gap:7px;min-height:56px}
body .n-activity-info>.n-recent-score{order:2;width:82px;height:auto;max-width:100%}
@media(max-width:767px){body main.n-page:has(> #nutrion-search) :is(.n-product,.n-activity-info) .n-index-ring,body .n-detail .n-discovery-section .n-activity-info .n-index-ring{width:45px;height:45px;flex-basis:45px}body main.n-page:has(> #nutrion-search) :is(.n-product,.n-activity-info) .n-index-ring b{font-size:16px}body main.n-page:has(> #nutrion-search) :is(.n-product,.n-activity-info)>.n-index-badge{font-size:11px;gap:5px;min-height:47px}}


/* 0.11.2: explicit paired secondary indicators, compact filled gauge. */
body main.n-page .n-grid>.n-product>.n-secondary-scores{order:3;grid-column:1/-1;align-self:stretch}
body main.n-page .n-activity-info>.n-secondary-scores{order:2;grid-column:1/-1;align-self:stretch}
body .n-page .n-secondary-scores{justify-self:stretch;min-width:0}
body main.n-page :is(.n-product,.n-activity-info)>.n-index-badge{justify-content:center;flex-wrap:wrap;gap:4px 5px;min-height:0;margin:3px 0;font-size:11px;grid-column:1/-1}
body main.n-page:has(> #nutrion-search) :is(.n-product,.n-activity-info)>.n-index-badge{min-height:0;gap:4px;font-size:11px}
body main.n-page .n-grid>.n-card.n-product,body main.n-page:has(> #nutrion-search) .n-grid>.n-product,body main.n-page .n-activity-card>.n-activity-info,body main.n-page:has(> #nutrion-search) .n-activity-card>.n-activity-info,body .n-detail .n-discovery-section .n-activity-card>.n-activity-info{display:flex;flex-direction:column;gap:4px}
body .n-page :is(.n-product,.n-activity-info) .n-secondary-scores>.n-score small{display:block;font-size:9px}
@media(max-width:767px){body main.n-page :is(.n-product,.n-activity-info)>.n-index-badge{font-size:10px}}
/* 0.11.3: source once per page; keep detailed source on product page. */
body .n-page :is(.n-product,.n-activity-info,.n-selection-grid .n-card) .n-secondary-scores>.n-score small{display:none}
#nutrion-footer-v078 .n-footer-source{font-size:11px;color:#68746a;text-decoration:underline}
