/* Chef Niko Tests: чернова B на главната. Върви след style.css, home-a.css и cn-tools.css. */
body.home-b{--acc:#b4451f;--bg:#fbf8f3;--fg:#242424;--mut:#50565a;--line:#e7dfd3}
body.home-b ::selection{background:#f3d3c4;color:#201a14}
body.home-b a:focus-visible,body.home-b button:focus-visible,body.home-b input:focus-visible{outline:3px solid var(--acc);outline-offset:2px;border-radius:4px}
body.home-b main{max-width:1080px}

/* първият екран: думата и едно число */
body.home-b .hero.hero-cook{margin:10px 0 40px}
body.home-b .hero.hero-cook .hero-text h1{font-size:clamp(1.9rem,4.4vw,3.1rem);line-height:1.08;margin:0 0 12px;text-wrap:balance}
body.home-b .hero.hero-cook .lead{max-width:34em;font-size:1.1rem;line-height:1.5}
body.home-b .hero.hero-cook .hero-actions{margin-top:20px}
body.home-b .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:16px}

/* Коледа: единствената цветна лента на страницата */
body.home-b .xmas{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px 28px;align-items:center;background:var(--acc);color:#fff;border-radius:14px;padding:26px 30px;margin:0 0 72px}
body.home-b main section.xmas{margin-top:0}
body.home-b .xmas-num{font:700 clamp(3.6rem,8vw,5.4rem)/1 "CNT Serif",Georgia,serif;font-variant-numeric:tabular-nums}
body.home-b .xmas h2{margin:0;color:#fff;font-size:clamp(1.3rem,2.4vw,1.7rem);line-height:1.2}
body.home-b .xmas p{margin:4px 0 0;color:#fff}
body.home-b .xmas .btn{background:#fff;color:#201a14;white-space:nowrap}
body.home-b .xmas .btn:hover{background:#f4ebdd;opacity:1}

/* хладилник: един ред бутони, три резултата */
body.home-b main section.cn-fridge{margin:0 0 72px}
body.home-b .cn-chip{min-height:44px;padding:8px 16px;font-size:16px}
body.home-b .cn-fridge .cn-res{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.home-b .cn-chipgroup,body.home-b .cn-chipset{display:contents}
body.home-b .cn-chiphead{display:none}
body.home-b .cn-see{display:none}
@media (min-width:761px){body.home-b .cn-fridge .cn-card:nth-child(n+4){display:none}}
body.home-b .cn-fridge .cn-res{scroll-margin-top:16px}
body.home-b .cn-fridge .cn-card small{display:none}
body.home-b .cn-card span{font-size:1.1rem}
body.home-b main section.cn-savedbox{margin:0 0 72px}

body.home-b .cn-card .cn-heart{width:44px;height:44px}
body.home-b .thermo-panel input{min-height:44px;margin:0}

/* нови рецепти: едно число за всяка */
body.home-b .fresh,body.home-b .more{margin:0 0 72px}
body.home-b main section.fresh,body.home-b main section.more{margin-top:0}
body.home-b .fresh h2,body.home-b .more h2{font-size:clamp(1.6rem,3vw,2.2rem);margin:0 0 20px}
body.home-b .fresh-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
body.home-b .fresh-list a{display:grid;gap:8px;color:var(--fg);text-decoration:none}
body.home-b .fresh-list img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
body.home-b .fresh-list strong{font:700 1.25rem/1.2 "CNT Serif",Georgia,serif;text-wrap:balance}
body.home-b .fresh-list span{color:var(--mut);font-size:16px;line-height:1.4;font-variant-numeric:tabular-nums}
body.home-b .fresh-list a:hover strong{color:var(--acc)}

/* всичко останало: прост списък, без карти */
body.home-b .more-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
body.home-b .more-list li{border-bottom:1px solid var(--line);margin:0}
body.home-b .more-list a{display:grid;grid-template-columns:minmax(0,10em) minmax(0,1fr);gap:12px;align-items:baseline;min-height:56px;padding:14px 0;color:var(--fg);text-decoration:none}
body.home-b .more-list strong{font-weight:600}
body.home-b .more-list span{color:var(--mut);font-size:16px;line-height:1.4}
body.home-b .more-list a:hover strong{color:var(--acc)}

body.home-b .fine{max-width:44em;margin:0 0 40px}
body.home-b .fine p{color:var(--mut);font-size:14px;line-height:1.5;margin:0 0 8px}
body.home-b footer a{display:inline-block;padding:6px 0}

@media (max-width:760px){
  body.home-b header{flex-wrap:wrap;gap:0}
  body.home-b header nav{display:flex;flex-wrap:nowrap;gap:18px;width:calc(100% + 40px);margin:4px -20px 0;padding:0 20px;overflow-x:auto;scrollbar-width:none}
  body.home-b header nav::-webkit-scrollbar{display:none}
  body.home-b header nav a{display:inline-flex;align-items:center;min-height:44px;margin:0;font-size:16px;white-space:nowrap}
  body.home-b .hero.hero-cook{margin-bottom:28px}
  body.home-b .xmas{grid-template-columns:auto minmax(0,1fr);padding:20px;margin-bottom:56px}
  body.home-b .xmas .btn{grid-column:1/-1;margin-top:8px}
  body.home-b .cook-c{background-image:linear-gradient(rgba(60,25,5,.18),rgba(60,25,5,.18)),url("/img/w/cook-c-400.jpg")}
  body.home-b .cook-o{background-image:url("/img/w/cook-o-400.jpg")}
  body.home-b .cook-k{background-image:linear-gradient(rgba(60,25,5,.4),rgba(60,25,5,.4)),url("/img/w/cook-k-400.jpg")}
  body.home-b .cn-chips{display:grid;gap:16px}
  body.home-b .cn-chipgroup{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
  body.home-b .cn-chiphead{display:block;margin:0;font-weight:600;font-size:16px;line-height:1.3;color:#201a14}
  body.home-b .cn-chipset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  body.home-b .cn-chip{width:100%;padding:6px 2px;border-radius:10px;text-align:center}
  body.home-b .cn-see{display:block;position:sticky;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:5;width:100%;min-height:48px;margin-top:16px;border:0;border-radius:10px;background:#201a14;color:#fff;font-weight:600;font-size:16px;line-height:1.2;font-family:inherit;box-shadow:0 6px 18px rgba(32,26,20,.25);cursor:pointer}
  body.home-b .cn-see[hidden]{display:none}
  body.home-b .cn-see:focus-visible{outline:3px solid #b4451f;outline-offset:2px}
  body.home-b .cn-fridge .cn-res{grid-template-columns:minmax(0,1fr);gap:12px}
  body.home-b .cn-fridge .cn-card{grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;padding-right:52px;min-height:72px}
  body.home-b .cn-fridge .cn-card .cn-heart{top:50%;right:0;margin-top:-22px;box-shadow:none;border:1px solid var(--line)}
  body.home-b main section.cn-fridge,body.home-b .fresh,body.home-b .more{margin-bottom:56px}
  body.home-b .fresh-list{grid-template-columns:minmax(0,1fr);gap:16px}
  body.home-b .fresh-list a{grid-template-columns:112px minmax(0,1fr);column-gap:14px;align-items:center}
  body.home-b .fresh-list img{grid-row:1 / span 2}
  body.home-b .fresh-list strong{align-self:end;font-size:1.1rem}
  body.home-b .fresh-list span{align-self:start}
  body.home-b .more-list{grid-template-columns:minmax(0,1fr)}
  body.home-b .more-list a{grid-template-columns:minmax(0,1fr);gap:2px}
}
@media (max-width:340px){body.home-b .cn-chipset{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vnew{margin:10px auto 14px;max-width:720px;padding:0 16px}
.vnew a{display:flex;align-items:center;gap:12px;padding:8px 14px 8px 8px;background:#fffaf2;border:1px solid #e3d8c8;border-radius:14px;color:#201a14;text-decoration:none}
.vnew img{width:72px;height:54px;object-fit:cover;border-radius:9px;flex:none}
.vnew span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.vnew small{font-size:.8rem;color:#b4451f;font-weight:600}
.vnew strong{font-size:1rem;line-height:1.25}
.vnew b{color:#b4451f;font-size:1.2rem}
