/* După gust — calm, editorial recipe catalogue. Only affects the homepage catalogue. */
#retete .section-top{display:block}
#retete .section-top .eyebrow{display:none}
#retete .section-top h2{font:400 clamp(35px,4vw,45px)/1.12 Georgia,serif;letter-spacing:-1px;margin:0 0 9px}
#retete .dg-catalog-intro{font:400 15px/1.65 Arial,sans-serif;color:#727b70;margin:0 0 27px;max-width:620px}
#retete .dg-catalog-kicker{font:500 11px/1.5 Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#788372;margin:0 0 13px}
#retete .filters[aria-label="Categorii de rețete"]{margin:0 0 27px;border:0;padding:0;display:block}
#retete .dg-cat-main,#retete .dg-cat-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#retete .filters[aria-label="Categorii de rețete"] .dg-cat-main button,
#retete .filters[aria-label="Categorii de rețete"] .dg-cat-extra button{
 display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:52px;
 margin:0;padding:12px 9px;border:1px solid #dadfd5;border-radius:6px;
 background:#f1f2ec;color:#435142;font:400 14px/1.35 Arial,sans-serif;
 text-align:center;text-transform:none;letter-spacing:0;cursor:pointer;transition:background .15s,border-color .15s
}
#retete .filters[aria-label="Categorii de rețete"] button.active,
#retete .filters[aria-label="Categorii de rețete"] button[aria-pressed="true"]{
 background:#506147!important;border-color:#506147!important;color:#fff!important
}
#retete .filters[aria-label="Categorii de rețete"] button:hover:not(.active){background:#e9ece3;border-color:#a7b2a1}
#retete .filters[aria-label="Categorii de rețete"] button:focus-visible,
#retete .dg-cat-other summary:focus-visible{outline:2px solid #506147;outline-offset:3px}
#retete .dg-cat-other{margin:8px 0 0;padding:0;border:0}
#retete .dg-cat-other>summary{list-style:none;text-align:center;cursor:pointer;
 font:500 13px/1.5 Arial,sans-serif;color:#52654d;padding:14px 10px 11px}
#retete .dg-cat-other>summary::-webkit-details-marker{display:none}
#retete .dg-cat-other>summary::before{content:"+";font-size:16px;margin-right:7px}
#retete .dg-cat-other[open]>summary::before{content:"−"}
#retete .dg-cat-extra{padding:8px 0 3px}
#retete .recipe-group{margin:31px 0 0;padding:0}
#retete .category-heading{border-top:1px solid #daddd3;border-bottom:0;padding:21px 0 0;margin:0 0 21px;align-items:baseline}
#retete .category-heading h3{font:400 clamp(27px,3vw,34px)/1.2 Georgia,serif;letter-spacing:-.6px;margin:0}
#retete .category-heading span{font:400 12px/1.4 Arial,sans-serif;color:#848a80;white-space:nowrap}
#retete .recipe-group .grid{gap:30px 22px}
#retete .recipe-group .card{min-height:0;margin:0;padding:0;border:0;background:transparent;overflow:visible}
#retete .recipe-group .card:hover{background:transparent}
#retete .recipe-group .card .card-photo{margin:0 0 12px}
#retete .recipe-group .card .card-photo img{display:block;width:100%;height:auto;aspect-ratio:4/4.7;object-fit:cover;border-radius:5px;background:#e9ebe4}
#retete .recipe-group .card .card-photo figcaption{font:400 11px/1.4 Arial,sans-serif;color:#969c90;margin:8px 0 0}
#retete .recipe-group .card .category{font:400 10px/1.4 Arial,sans-serif;letter-spacing:1.45px;text-transform:uppercase;color:#788574;padding:0}
#retete .recipe-group .card h3{font:400 clamp(21px,2.1vw,26px)/1.25 Georgia,serif;letter-spacing:-.3px;margin:8px 0 12px;
 max-width:none;min-height:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#retete .recipe-group .card p{font:400 13px/1.55 Arial,sans-serif;color:#727b70;margin:0 0 8px;max-width:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#retete .recipe-group .card .meta{margin:6px 0 0;padding:0;color:#81897f;font-size:12px;border:0}
#retete .recipe-group .card .meta span:last-child{display:none}
#retete .recipe-group .card:focus-visible{outline:2px solid #506147;outline-offset:5px}
@media(max-width:760px){
 #retete{padding-top:28px}
 #retete .section-top h2{font-size:37px;letter-spacing:-.8px}
 #retete .dg-catalog-intro{font-size:14px;margin-bottom:25px}
 #retete .dg-cat-main,#retete .dg-cat-extra{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #retete .filters[aria-label="Categorii de rețete"] .dg-cat-main button,
 #retete .filters[aria-label="Categorii de rețete"] .dg-cat-extra button{font-size:13px;min-height:53px}
 #retete .recipe-group{margin-top:23px}
 #retete .category-heading{padding-top:20px;margin-bottom:19px}
 #retete .category-heading h3{font-size:28px}
 #retete .recipe-group .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 16px}
 #retete .recipe-group .card h3{font-size:19px;line-height:1.24;margin:8px 0 8px;-webkit-line-clamp:3}
 #retete .recipe-group .card p{display:none}
 #retete .recipe-group .card .card-photo figcaption{font-size:10px}
 #retete .recipe-group .card .meta{font-size:11px}
 /* The visitor chat remains available without covering the recipe cards. */
 .chat-launch{right:14px!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;
   display:flex!important;align-items:center;justify-content:center;
   width:48px!important;height:48px!important;min-width:48px;
   padding:0!important;border-radius:50%!important;border:1px solid #cad5c6!important;
   background:#334a36!important;color:#fff!important;font-size:0!important;
   box-shadow:0 3px 12px #1c302325!important}
 .chat-launch::before{content:"✉";display:block;font:400 24px/1 Arial,sans-serif}
}
@media(max-width:355px){
 #retete .recipe-group .grid{gap:24px 12px}
 #retete .recipe-group .card h3{font-size:18px}
}

/* Direct access to the unified 6 months–2 years baby/toddler recipes. */
#retete .dg-kids-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;
 margin:11px 0 4px;min-height:83px;padding:10px 12px 10px 21px;border:1px solid #e2dfd3;
 border-radius:7px;background:#f5f1e9;color:#33422f;text-decoration:none;overflow:hidden}
#retete .dg-kids-entry:hover{background:#efece2;border-color:#b9c1ac}
#retete .dg-kids-entry:focus-visible{outline:3px solid #506147;outline-offset:3px}
#retete .dg-kids-entry__copy{display:flex;flex-direction:column;gap:5px;min-width:0}
#retete .dg-kids-entry strong{font:400 clamp(20px,2.5vw,25px)/1.2 Georgia,serif;letter-spacing:-.35px}
#retete .dg-kids-entry small{font:400 12px/1.4 Arial,sans-serif;color:#65735f}
#retete .dg-kids-entry img{display:block;flex:none;width:66px;height:64px;object-fit:cover;object-position:center 27%;border-radius:5px}
@media(max-width:760px){#retete .dg-kids-entry{min-height:76px;padding:8px 10px 8px 15px}
 #retete .dg-kids-entry strong{font-size:20px}
 #retete .dg-kids-entry small{font-size:11px}
 #retete .dg-kids-entry img{width:61px;height:60px}}

/* A single recipe catalogue with immediate, predictable navigation. */
html:has(#retete){scroll-behavior:auto!important}
.intro .dg-intro-recipes{display:inline-flex;align-items:center;justify-content:center;
 min-height:44px;margin-top:16px;padding:11px 21px;border-radius:6px;
 border:1px solid #506147;background:#506147;color:white;
 font:500 14px/1.4 Arial,sans-serif;text-decoration:none;letter-spacing:.01em}
.intro .dg-intro-recipes:hover{background:#40553c;border-color:#40553c}
.intro .dg-intro-recipes:focus-visible{outline:3px solid #829674;outline-offset:4px}
#retete{scroll-margin-top:12px}


/* Oct 27: evenly balanced, illustrated recipe categories on every screen.
   All buttons remain real filters; they are not links to duplicate collections. */
#retete .dg-cat-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
#retete .filters[aria-label="Categorii de rețete"] .dg-cat-main button{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
 width:100%;height:138px;min-height:138px;max-width:none;margin:0;padding:12px 10px;
 border:1px solid #d9ded4;border-radius:8px;background:#f6f5f0;color:#334632;
 font:400 15px/1.22 Arial,sans-serif;text-align:center;
}
#retete .dg-cat-icon{display:block;flex:0 0 auto;width:78px;height:70px;max-width:100%;object-fit:contain;mix-blend-mode:multiply}
#retete .dg-cat-label{display:block;min-width:0;overflow-wrap:break-word;text-wrap:balance}
#retete .filters[aria-label="Categorii de rețete"] .dg-cat-main button[aria-pressed="true"],
#retete .filters[aria-label="Categorii de rețete"] .dg-cat-main button.active{
 background:#e7ece3!important;border-color:#6e8467!important;color:#253b2c!important;
 box-shadow:inset 0 0 0 1px #6e8467;
}
#retete .dg-cat-main button[aria-pressed="true"] .dg-cat-icon{mix-blend-mode:multiply}
#retete .dg-cat-main button:hover{transform:none}
#retete .dg-cat-main button:focus-visible{outline:3px solid #546a4c;outline-offset:3px}
#retete .dg-kids-entry{margin:14px 0 0}
#retete .dg-cat-other{margin:6px 0 2px}
#retete .dg-cat-other>summary{display:block;min-height:46px}
#retete .recipe-group .card{min-width:0}
#retete .recipe-group[data-group="Pachețelul pentru școală"] .card{
 padding:18px 18px 15px;border:1px solid #dce2d7;border-radius:8px;background:#fcfcf9;gap:7px;
}
#retete .recipe-group[data-group="Pachețelul pentru școală"] .card:hover{
 background:#f3f5ee;border-color:#b2c2ac;
}
#retete .recipe-group[data-group="Pachețelul pentru școală"] .card h3{
 margin:4px 0 8px;font-size:clamp(20px,2vw,25px);line-height:1.23;
}
#retete .recipe-group[data-group="Pachețelul pentru școală"] .card .meta{margin-top:auto;padding-top:10px;border-top:1px solid #dce2d7}
@media(max-width:960px){
 #retete .dg-cat-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:760px){
 #retete .dg-cat-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #retete .filters[aria-label="Categorii de rețete"] .dg-cat-main button{
   height:125px;min-height:125px;padding:12px 8px;gap:7px;font-size:14px;line-height:1.22
 }
 #retete .dg-cat-icon{width:66px;height:64px}
 #retete .dg-cat-label{font-size:13px}
 #retete .recipe-group[data-group="Pachețelul pentru școală"] .card{padding:14px 13px 12px}
 #retete .recipe-group[data-group="Pachețelul pentru școală"] .card h3{font-size:19px}
 #retete .recipe-group[data-group="Pachețelul pentru școală"] .card .meta{font-size:11px}
}
@media(max-width:359px){
 #retete .dg-cat-main{gap:8px}
 #retete .filters[aria-label="Categorii de rețete"] .dg-cat-main button{padding:8px 6px}
 #retete .dg-cat-label{font-size:12px}
}


/* Dedicated category results screen (website /retete/).
   A category choice must replace the discovery grid on screen rather
   than silently filtering recipe cards several screens below. */
body.dg-recipe-enhanced:not(.dg-recipe-screen) #retete #grid,
body.dg-recipe-enhanced:not(.dg-recipe-screen) #retete #empty{
  display:none!important;
}
body.dg-recipe-screen .dg-recipes-index-head,
body.dg-recipe-screen main.dg-recipe-main > .home-search,
body.dg-recipe-screen #retete > .section-top,
body.dg-recipe-screen #retete > .filters,
body.dg-recipe-screen .dg-recipes-index-special{
  display:none!important;
}
body.dg-recipe-screen #retete{
  padding-top:24px!important;
  margin-top:0!important;
}
#retete .dg-category-screen-head[hidden]{display:none!important}
#retete .dg-category-screen-head{
  max-width:1180px;
  margin:0 auto;
  padding:7px 0 20px;
  border-bottom:1px solid #dce1d7;
}
#retete .dg-category-screen-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0 0 28px;
  padding:8px 0;
  border:0;
  border-radius:0;
  color:#4d6248;
  background:transparent;
  font:500 14px/1.4 Arial,Helvetica,sans-serif;
  cursor:pointer;
}
#retete .dg-category-screen-back:hover{text-decoration:underline;text-underline-offset:4px}
#retete .dg-category-screen-back:focus-visible{outline:3px solid #687f60;outline-offset:4px}
#retete .dg-category-screen-eyebrow{
  font:500 11px/1.5 Arial,Helvetica,sans-serif;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#798673;
  margin:0 0 9px;
}
#retete .dg-category-screen-head h2{
  font:400 clamp(32px,4vw,46px)/1.15 Georgia,"Times New Roman",serif;
  letter-spacing:-1px;
  margin:0 0 10px;
  color:#263829;
}
#retete .dg-category-screen-count{
  font:400 13px/1.5 Arial,Helvetica,sans-serif;
  color:#6b7669;
  margin:0;
}
body.dg-recipe-screen #retete .recipe-groups{
  display:block!important;
  padding-top:4px;
}
body.dg-recipe-screen #retete .recipe-group{
  margin-top:24px;
}
body.dg-recipe-screen #retete .recipe-group .category-heading{
  display:none!important;
}
body.dg-recipe-screen.dg-all-recipes-screen #retete .recipe-group .category-heading{
  display:flex!important;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:18px;
}
body.dg-recipe-screen #retete .recipe-group .grid{
  margin-top:0;
}
body.dg-recipe-screen #retete #empty:not([hidden]){
  display:block!important;
  max-width:680px;
  margin:20px auto;
}
@media(max-width:760px){
 body.dg-recipe-screen #retete{
  padding-top:15px!important;
  padding-bottom:45px!important;
 }
 #retete .dg-category-screen-head{padding:0 0 16px}
 #retete .dg-category-screen-back{margin:0 0 20px;min-height:44px}
 #retete .dg-category-screen-head h2{
  font-size:clamp(29px,8vw,38px);
  line-height:1.17;
  margin:0 0 10px;
 }
 body.dg-recipe-screen #retete .recipe-group{margin-top:20px}
 body.dg-recipe-screen #retete .recipe-group .grid{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;
 }
}
