/* Share buttons and public incoming deal emphasis. */
#recipeOverlay .recipeTitle .recipeShareButton{
  position:static!important;inset:auto!important;z-index:auto!important;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:auto;max-width:100%;min-height:46px;margin-top:14px;padding:11px 18px;
  border:1px solid #993c4d;border-radius:999px;
  background:#ae4758;color:#fff;font-size:14px;line-height:1.2;font-weight:800;
  letter-spacing:.01em;box-shadow:0 7px 18px rgba(105,40,53,.2);
  text-decoration:none;cursor:pointer;transition:background .15s ease,box-shadow .15s ease,transform .15s ease;
}
#recipeOverlay .recipeTitle .recipeShareButton .recipeShareIcon{display:block;flex:none;width:19px;height:19px;stroke:#fff}
#recipeOverlay .recipeTitle .recipeShareButton:hover{background:#963849;box-shadow:0 9px 20px rgba(105,40,53,.25);transform:translateY(-1px)}
#recipeOverlay .recipeTitle .recipeShareButton:focus-visible{outline:3px solid #235943;outline-offset:3px}
#productGrid .dealShareButton{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:38px;margin-top:9px;padding:9px 12px;border:1px solid #d6e1d8;border-radius:999px;background:#f7fbf7;color:#315c42;font-size:13px;font-weight:750;cursor:pointer}
.recipeShareButton:focus-visible,.dealShareButton:focus-visible{outline:3px solid #376b49;outline-offset:2px}
.recipeShareButton:hover,.dealShareButton:hover{filter:brightness(.96)}
#productGrid article.shareDealSpotlight{outline:3px solid #c77b83;outline-offset:2px;scroll-margin-top:150px}
#sharedDealNotice{background:#fff8e9;border:1px solid #e4d6bb;border-radius:14px;padding:12px 15px;margin:10px 0;color:#33434b;font-size:14px}
@media(max-width:600px){
  #recipeOverlay .recipeTitle .recipeShareButton{min-height:44px;margin-top:11px;padding:10px 16px;font-size:13.5px}
}
@media(prefers-reduced-motion:reduce){
  #recipeOverlay .recipeTitle .recipeShareButton{transition:none!important}
  #recipeOverlay .recipeTitle .recipeShareButton:hover{transform:none!important}
}




:root{
  --paper:#fbf6ec;--paper2:#f4ede2;--card:#fffdf8;--ink:#25303a;--muted:#777b80;
  --line:#ddd4c7;--blue:#4f8fca;--blue2:#2f6fa7;--coral:#dc7880;--coral2:#b95560;
  --yellow:#f3d56e;--green:#87b88b;--green2:#4f8656;--lav:#d8b7f4;--white:#fff;
  --shadow:0 16px 42px rgba(54,54,50,.10);--r:24px;--safe:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.42 Outfit,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,textarea,select{font:inherit}
button{cursor:pointer;color:inherit}
img{display:block;max-width:100%}
.hidden{display:none!important}
.muted{color:var(--muted)}
.tiny{font-size:11px}
.small{font-size:13px}
.hLabel{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--muted)}
.paperNoise{position:fixed;inset:0;pointer-events:none;opacity:.085;mix-blend-mode:multiply;background-image:radial-gradient(#6e6558 .55px,transparent .55px);background-size:5px 5px;z-index:0}
.shell{width:min(1180px,calc(100% - 30px));margin:auto;position:relative;z-index:1}
.screen{display:none}.screen.active{display:block}
.marker{font-family:Caveat,cursive;font-weight:700}
.underline{position:relative;display:inline-block;z-index:0}.underline:after{content:"";position:absolute;left:-3px;right:-3px;bottom:2px;height:8px;background:var(--yellow);opacity:.72;z-index:-1;border-radius:40% 60% 30% 58%;transform:rotate(-1deg)}
.doodle{font:700 20px Caveat,cursive;display:inline-block;transform:rotate(-1.4deg)}
.doodle.coral{color:var(--coral2)}.doodle.blue{color:var(--blue2)}.doodle.green{color:var(--green2)}
.eyebrow{font:700 15px Caveat,cursive;color:var(--blue2);position:relative;display:inline-block;z-index:0}.eyebrow:after{content:"";position:absolute;left:-2px;right:-2px;bottom:-2px;height:7px;background:var(--yellow);opacity:.55;z-index:-1;transform:rotate(-1deg)}
h1,h2,h3,p{margin-top:0}h1{font-size:clamp(38px,6vw,68px);line-height:.98;letter-spacing:-.045em;margin:10px 0 14px;font-weight:900}h2{font-size:clamp(28px,3.3vw,40px);line-height:1.05;letter-spacing:-.035em;margin:0 0 8px;font-weight:900}h3{font-size:19px;line-height:1.15;margin:0 0 5px;font-weight:850;letter-spacing:-.02em}
.lead{font-size:18px;color:#545b61;max-width:700px;letter-spacing:-.01em}
.primary,.secondary,.ghost,.soft,.iconBtn,.chip,.pill{border:1.5px solid transparent;border-radius:15px;min-height:46px;padding:11px 15px;font-weight:900;background:none}
.primary{background:var(--blue);color:white;box-shadow:4px 5px 0 rgba(47,111,167,.18)}.primary.coral{background:var(--coral);box-shadow:4px 5px 0 rgba(185,85,96,.17)}.primary.green{background:var(--green2)}
.secondary{background:var(--coral);color:#fff}
.ghost{background:var(--card);border-color:var(--line)}.soft{background:var(--paper2);border-color:var(--line)}
.iconBtn{width:46px;padding:0;display:grid;place-items:center;background:var(--card);border-color:var(--line);font-size:20px}
.actions{display:flex;gap:10px;flex-wrap:wrap}.actions>*{flex:0 0 auto}
.chip,.pill{min-height:38px;padding:8px 12px;border-color:var(--line);background:var(--card);font-size:13px}.chip.on{background:var(--yellow);border-color:#d4ba54}.chip.blue.on{background:var(--blue);color:#fff;border-color:var(--blue)}.chip.coral.on{background:var(--coral);color:#fff;border-color:var(--coral)}
.card{background:var(--card);border:1.5px solid var(--line);border-radius:var(--r);box-shadow:0 10px 28px rgba(53,57,61,.05)}
.section{margin:34px 0}.sectionHead{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}.sectionHead p{margin:0}.seeAll{border:0;background:none;font-weight:900;text-decoration:underline}

/* ONBOARDING */
#onboarding{min-height:100vh;position:relative;z-index:2;background:var(--paper)}
.onboardingWrap{width:min(780px,100%);min-height:100vh;margin:auto;padding:18px 22px calc(110px + var(--safe));display:flex;flex-direction:column}
.progress{height:6px;background:#e9e2d8;border-radius:999px;overflow:hidden;margin:8px 0 14px}.progress span{display:block;height:100%;background:var(--coral);transition:.3s ease}
.onTop{display:flex;justify-content:space-between;align-items:center;min-height:48px}.skip{border:0;background:none;color:var(--coral2);font-weight:900}
.onStep{display:none;flex:1;animation:fade .22s ease}.onStep.active{display:flex;flex-direction:column}
@keyframes fade{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:none}}
.onHead{text-align:center;margin:18px auto 22px;max-width:650px}.onHead h1{font-size:clamp(34px,7vw,54px)}.onHead p{font-size:17px;color:var(--muted)}
.choiceGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.choiceCard{background:var(--card);border:2px solid var(--line);border-radius:22px;padding:18px;text-align:left;min-height:145px;transition:.15s;position:relative}.choiceCard:hover{transform:translateY(-2px)}.choiceCard.sel{border-color:var(--blue);background:#eef5fb}.choiceCard .emoji{font-size:30px;display:block;margin-bottom:20px}.choiceCard b{font-size:18px}.choiceCard small{display:block;color:var(--muted);margin-top:5px}.checkDot{position:absolute;top:13px;right:13px;width:24px;height:24px;border:2px solid var(--line);border-radius:50%;display:grid;place-items:center}.choiceCard.sel .checkDot{background:var(--blue);border-color:var(--blue);color:white}
.bigNumber{display:flex;justify-content:center;align-items:center;gap:18px;margin:40px 0}.bigNumber button{width:56px;height:56px;border-radius:18px;border:1.5px solid var(--line);background:var(--card);font-size:28px;font-weight:900}.bigNumber strong{font-size:72px;line-height:1;min-width:100px;text-align:center}
.budgetBox{max-width:560px;margin:30px auto;width:100%;text-align:center}.budgetValue{font-size:58px;font-weight:900;letter-spacing:-.04em}.budgetRange{width:100%;accent-color:var(--blue);margin:24px 0}
.logoGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.marketCard{min-height:92px;background:var(--card);border:2px solid var(--line);border-radius:20px;display:grid;place-items:center;text-align:center;padding:14px;font-weight:900}.marketCard.sel{border-color:var(--coral);background:#fff1f2}.marketCard:disabled{opacity:.55;cursor:not-allowed}.marketSoon span:last-child{display:grid;gap:2px}.marketSoon small{font-size:10px;color:var(--muted);font-weight:700}.marketDot{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:white;font-size:12px;margin-bottom:4px}
.lidl{background:#0752a4;color:#ffec3d}.maxi{background:#df2434}.idea{background:#ed362b}.univer{background:#d4a31b}.persu{background:#389067}.any{background:var(--blue)}
.tagCloud{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;max-width:650px;margin:auto}.tagChoice{border:1.5px solid var(--line);background:var(--card);border-radius:999px;padding:10px 13px;font-weight:800}.tagChoice.sel{background:var(--blue);color:white;border-color:var(--blue)}
.tasteGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tasteCard{height:210px;border-radius:22px;overflow:hidden;position:relative;border:3px solid transparent;background:#ddd}.tasteCard img{width:100%;height:100%;object-fit:cover}.tasteCard:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78));pointer-events:none}.tasteCard b{position:absolute;left:13px;right:13px;bottom:54px;color:white;z-index:2;text-align:left;font-size:17px}.tasteVoteActions{position:absolute;left:10px;right:10px;bottom:10px;z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:7px}.tasteVoteActions button{min-height:34px;border:0;border-radius:11px;background:rgba(255,255,255,.94);font-weight:850;color:#25303a}.tasteCard.sel{border-color:var(--coral)}.tasteCard.sel .tasteVoteActions button:first-child{outline:3px solid var(--coral)}.tasteCard.no{filter:saturate(.72)}.tasteCard.no .tasteVoteActions button:last-child{outline:3px solid #25303a}
.onBottom{position:fixed;bottom:0;left:0;right:0;padding:14px 22px calc(14px + var(--safe));background:linear-gradient(transparent,var(--paper) 25%);z-index:8}.onBottom .primary{display:block;width:min(736px,100%);margin:auto;min-height:58px;border-radius:20px;font-size:18px}
.building{align-items:center;justify-content:center;text-align:center}.buildVisual{width:260px;height:260px;border-radius:50% 43% 48% 52%;background:var(--yellow);display:grid;place-items:center;margin:30px auto;position:relative;animation:wobble 2.4s ease-in-out infinite}.buildVisual span{font-size:78px}.buildVisual:after,.buildVisual:before{content:"";position:absolute;width:40px;height:11px;border-radius:999px;background:var(--blue);top:36px;right:22px;transform:rotate(-35deg)}.buildVisual:after{background:var(--coral);top:18px;right:58px;transform:rotate(-65deg)}
@keyframes wobble{50%{transform:rotate(2deg) scale(1.02)}}
.buildChecks{display:grid;gap:8px;max-width:390px;margin:auto;text-align:left}.buildChecks span{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px 12px}

/* APP SHELL */
#mainApp{min-height:100vh;padding-bottom:96px;position:relative;z-index:1}
.appTop{position:sticky;top:0;z-index:45;background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid rgba(221,212,199,.65)}
.topInner{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{border:0;background:none;padding:0;text-align:left}.wordmark{font-size:28px;font-weight:900;letter-spacing:-2px}.wordmark .a{color:var(--blue)}.wordmark .b{color:var(--coral)}.wordmark .heroS{position:relative;display:inline-block}.wordmark .heroS:before,.wordmark .heroS:after{content:"";position:absolute;width:6px;height:10px;border-radius:9px;background:var(--yellow);top:-6px}.wordmark .heroS:before{left:4px;transform:rotate(-28deg)}.wordmark .heroS:after{left:15px;transform:rotate(24deg);background:var(--blue)}
.topActions{display:flex;gap:7px}
.desktopNav{display:flex;gap:3px}.desktopNav button{border:0;background:none;border-radius:13px;padding:9px 10px;font-weight:900}.desktopNav button.on{background:var(--card)}
.appView{display:none;padding:24px 0 28px}.appView.active{display:block}
.mobileNav{display:none}

/* HOME */
.homeTabs{display:flex;gap:8px;margin:4px 0 18px}.homeTabs button{border:0;background:none;font-size:22px;font-weight:900;padding:7px 0;margin-right:16px;position:relative;color:var(--muted)}.homeTabs button.on{color:var(--ink)}.homeTabs button.on:after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--coral);border-radius:999px;transform:rotate(-1deg)}
.homeHero{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:stretch}.savingHero{padding:24px;background:linear-gradient(145deg,#eef6fb,var(--card));position:relative;overflow:hidden}.savingHero:after{content:"";position:absolute;width:140px;height:45px;border-radius:50%;background:var(--yellow);opacity:.65;right:-25px;top:25px;transform:rotate(-18deg)}.savingBig{font-size:52px;font-weight:900;letter-spacing:-.045em;color:var(--green2);line-height:1}.heroStats{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.heroStat{background:rgba(255,255,255,.8);border:1px solid var(--line);padding:8px 10px;border-radius:13px;font-size:12px;font-weight:800}
.todayHero{padding:0;overflow:hidden;position:relative}.todayHero img{width:100%;height:100%;min-height:285px;object-fit:cover}.todayHero:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(16,20,24,.78))}.todayCopy{position:absolute;left:18px;right:18px;bottom:18px;color:white;z-index:2}.todayCopy b{font-size:22px;display:block}.todayCopy span{font-size:13px}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,28%);overflow:auto;gap:12px;padding:2px 2px 12px;scroll-snap-type:x mandatory}.mealCard{scroll-snap-align:start;overflow:hidden;position:relative}.mealCard img{width:100%;height:170px;object-fit:cover}.mealPad{padding:13px}.priceLine{font-size:12px;color:var(--green2);font-weight:900;margin:7px 0}.tags{display:flex;gap:5px;flex-wrap:wrap}.mini{font-size:10px;background:var(--paper2);border-radius:999px;padding:5px 7px;font-weight:900}.discountBurst{position:absolute;top:10px;left:10px;background:var(--yellow);padding:6px 8px;border-radius:45% 55% 40% 60%;font:700 16px Caveat,cursive;border:1px solid #d1b856;transform:rotate(-4deg)}
.ingredientScroller{display:flex;gap:8px;overflow:auto;padding:4px 2px 10px}.ingredientChip{border:1.5px solid var(--line);background:var(--card);border-radius:999px;padding:8px 12px;white-space:nowrap;font-weight:800}.ingredientChip.on{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.dealRail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);overflow:auto;gap:10px;padding-bottom:10px}.deal{padding:14px;position:relative}.storeBadge{display:inline-block;padding:5px 7px;border-radius:9px;color:white;font-size:10px;font-weight:900}.dealPrice{font-size:22px;font-weight:900;margin-top:8px}.old{text-decoration:line-through;color:#999;font-size:12px}.dealArrow{font:700 17px Caveat,cursive;color:var(--coral2);margin-top:8px}

/* COMMUNITY */
.communityHero{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.challenge{padding:20px;background:linear-gradient(135deg,#f8e9ed,#fff8e8);position:relative;overflow:hidden}.challenge .prize{font-size:42px}.challengeStat{font-size:13px;color:var(--muted)}.leaderMini{padding:18px}.rankRow{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px dashed var(--line)}.rankRow:last-child{border:0}.rankUser{display:flex;align-items:center;gap:9px}.avatar{width:34px;height:34px;border-radius:50%;background:var(--lav);display:grid;place-items:center;font-weight:900}
.feed{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.post{overflow:hidden}.postHead{display:flex;align-items:center;gap:9px;padding:13px}.postHead .who{flex:1}.postImg{width:100%;height:290px;object-fit:cover}.postBody{padding:13px}.postMetrics{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}.metric{background:var(--paper2);padding:6px 8px;border-radius:10px;font-size:11px;font-weight:850}.postActions{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}.postActions button{border:0;background:none;padding:10px 2px;font-size:12px;font-weight:800}

/* EXPLORE */
.searchBar{display:flex;gap:8px;background:var(--card);border:1.5px solid var(--line);border-radius:18px;padding:8px 10px;margin:12px 0 18px}.searchBar input{border:0;background:transparent;outline:0;flex:1;min-width:0}.exploreGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.categoryCard{height:180px;overflow:hidden;position:relative}.categoryCard img{width:100%;height:100%;object-fit:cover}.categoryCard:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72))}.categoryCard b{position:absolute;z-index:2;bottom:13px;left:13px;color:white;font-size:18px}

/* PLANNER */
.subTabs{display:flex;gap:7px;overflow:auto;padding:4px 0 16px}.subTabs button{white-space:nowrap}
.planStoreBar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;margin:8px 0 10px;border-style:dashed}.planStoreBar>div{display:grid;gap:3px}.planStoreBar small{font-size:10px;letter-spacing:.09em;font-weight:900;color:var(--muted)}.planStoreBar b{font-size:22px}.planStoreBar .ghost{flex:0 0 auto}
.planSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:10px 0 10px}.sum{padding:14px;text-align:left;min-height:92px}.sum small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.sum b{display:block;font-size:19px;margin:5px 0 4px}.sum>span{display:block;line-height:1.25}.sum.good{background:#edf6eb;border-color:#b7d2b5}.metricButton{font:inherit;color:inherit;cursor:pointer}.metricButton:hover{transform:translateY(-1px);box-shadow:3px 4px 0 rgba(37,48,58,.08)}
.planBudgetLine{margin:0 2px 15px}.planBudgetLine.overBudget{color:var(--coral2);font-weight:800}
.planToolbarActions{display:flex;gap:7px;flex-wrap:wrap}.planEditHint{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#eef6ff;border:1.5px dashed var(--blue);border-radius:16px;padding:12px 14px;margin:0 0 12px}.planEditHint .primary{padding:8px 12px;white-space:nowrap}
.week{display:grid;gap:10px}.day{padding:14px;display:grid;grid-template-columns:110px 1fr;gap:12px;transition:.16s ease}.dayHeader{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.dayName{font-size:20px;font-weight:900}.dayDragHandle{border:1px dashed var(--blue);background:#eef6ff;color:var(--ink);border-radius:11px;padding:7px 8px;font-size:11px;font-weight:900;cursor:grab;touch-action:none}.dayDragHandle:active{cursor:grabbing}.planDay.draggingDay{opacity:.58;transform:scale(.985)}.planDay.dropTarget{outline:3px dashed var(--coral);outline-offset:3px}.editDay{border-color:#b9cee0}
.slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.slot{background:var(--paper2);border:1px solid transparent;border-radius:16px;padding:10px;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:10px;align-items:center;transition:.15s ease;touch-action:pan-y}.slot:hover{border-color:var(--line)}.slot img{width:62px;height:62px;object-fit:cover;border-radius:13px}.slot small{display:block;color:var(--muted)}.slotCopy{min-width:0;display:grid;gap:2px}.slotCopy>b{font-size:16px;line-height:1.14}.slotMealLabel{font-size:12px}.slotReason{margin-top:3px;line-height:1.25}.contextBadge{width:max-content;margin-top:4px;background:#fff4c8;color:#705d0d}.slotActions{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:98px}.slotPrepare{border:0;background:var(--ink);color:white;border-radius:12px;padding:9px 10px;font-weight:900;white-space:nowrap}.slotPrepare.leftoverAction{background:#edf6eb;color:#34583a}.slotMore{border:1px solid var(--line);background:var(--card);border-radius:10px;padding:6px 9px;font-weight:900;letter-spacing:.08em}.slotStatus{display:inline-flex;align-items:center;justify-content:center;background:#dcebd7;color:#34583a;border-radius:12px;padding:9px 10px;font-weight:900;white-space:nowrap}.slotEditBar{display:flex;gap:6px;margin-top:7px}.slotEditBar button{border:1px dashed var(--blue);background:var(--card);border-radius:9px;padding:6px 8px;font-size:11px;font-weight:850}.editableSlot{box-shadow:inset 4px 0 0 rgba(79,143,202,.55)}.completedSlot{opacity:.76;background:#f3f1eb}.completedSlot img{filter:saturate(.78)}.emptySlot{min-height:82px}.leftoverSlot{background:#f0f5e9}
.queueGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.queueCard{overflow:hidden}.queueCard img{width:100%;height:150px;object-fit:cover}.queueCard .mealPad{min-height:105px}
.planFloat{display:none}

/* DEALS */
.dealFilters{display:flex;gap:7px;overflow:auto;padding:7px 0 14px;position:sticky;top:69px;z-index:25;background:color-mix(in srgb,var(--paper) 94%,transparent);backdrop-filter:blur(12px)}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.product{padding:14px}.product .top{display:flex;justify-content:space-between;gap:8px}.burst{background:var(--coral);color:white;padding:5px 7px;border-radius:45% 55% 40% 60%;font:700 16px Caveat,cursive;transform:rotate(3deg)}.product h3{margin-top:9px}.product button{width:100%;margin-top:10px}

/* LISTS */
.listTabs{display:flex;gap:8px;margin-bottom:15px}.listTabs button{font-size:15px}
.listLayout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;align-items:start}.listCard{padding:17px}.shopItem{display:grid;grid-template-columns:32px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px dashed var(--line)}.shopItem:last-child{border:0}.check{width:27px;height:27px;border:2px solid var(--line);border-radius:8px;display:grid;place-items:center}.shopItem.done .check{background:var(--green);border-color:var(--green);color:white}.shopItem.done .itemName{text-decoration:line-through;color:#999}.itemName{font-weight:900}.itemMeta{font-size:11px;color:var(--muted)}.listProgress{height:9px;background:var(--paper2);border-radius:999px;overflow:hidden;margin:12px 0}.listProgress span{display:block;height:100%;background:var(--blue)}.receipt{padding:18px;position:sticky;top:92px}.receiptRow{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:13px}.receiptSave{margin-top:12px;background:var(--yellow);padding:10px;text-align:center;font:700 19px Caveat,cursive;transform:rotate(-1deg)}
.pantryGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pantry{padding:14px}.pantry b{display:block}.pantry small{color:var(--muted)}.suggestion{padding:13px;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}

/* RECIPE SHEET */
.overlay{position:fixed;inset:0;background:rgba(36,43,48,.5);z-index:120;display:none;align-items:flex-end;justify-content:center;padding:12px}.overlay.open{display:flex}.sheet{width:min(880px,100%);max-height:94vh;overflow:auto;background:var(--paper);border-radius:30px 30px 18px 18px;box-shadow:0 30px 80px rgba(0,0,0,.28)}.recipeHero{position:relative}.recipeHero img{width:100%;height:350px;object-fit:cover}.recipeHero:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(16,20,24,.76))}.recipeTitle{position:absolute;z-index:2;left:20px;right:70px;bottom:18px;color:white}.recipeTitle h2{font-size:36px}.sheetClose{position:absolute;right:15px;top:15px;z-index:3}.recipeSummary{padding:16px 18px;background:var(--card);border-bottom:1px solid var(--line)}.recipeSummaryGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}.recipeStat{background:var(--paper2);border-radius:13px;padding:9px}.recipeStat small{display:block;color:var(--muted);font-size:10px}.recipeStat b{font-size:15px}.recipeTabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));position:sticky;top:0;background:var(--paper);z-index:4;border-bottom:1px solid var(--line)}.recipeTabs button{border:0;background:none;padding:13px 4px;font-weight:900;border-bottom:3px solid transparent}.recipeTabs button.on{color:var(--coral2);border-bottom-color:var(--coral)}.recipePane{display:none;padding:18px}.recipePane.active{display:block}.ingredientRow{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:start;padding:11px 0;border-bottom:1px dashed var(--line)}.ingredientIcon{width:34px;height:34px;border-radius:11px;background:var(--yellow);display:grid;place-items:center}.ingredientDeal{text-align:right;font-size:11px}.ingredientDeal b{display:block;color:var(--green2)}.step{display:grid;grid-template-columns:34px 1fr;gap:10px;margin:14px 0}.num{width:30px;height:30px;background:var(--blue);color:white;border-radius:50%;display:grid;place-items:center;font-weight:900}.priceCompare{display:grid;gap:8px}.priceRow{display:grid;grid-template-columns:1fr auto;gap:12px;background:var(--card);border:1.5px solid var(--line);border-radius:14px;padding:12px}.priceRow.best{border-color:var(--green);background:#eff7ed}.nutritionGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.nutri{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px}.ratingBox{margin-top:18px;background:var(--card);border:1.5px solid var(--line);border-radius:18px;padding:14px}.rateTags{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.note{border-top:1px dashed var(--line);padding:12px 0}.note:first-of-type{border-top:0}.sheetFooter{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:9px;background:linear-gradient(transparent,var(--paper) 20%);padding:18px}

/* BOTTOM SHEET */
.miniOverlay{position:fixed;inset:0;background:rgba(32,38,43,.45);display:none;align-items:flex-end;z-index:130}.miniOverlay.open{display:flex}.miniSheet{width:min(680px,100%);margin:auto;background:var(--card);border-radius:26px 26px 0 0;padding:14px 18px calc(18px + var(--safe))}.miniHandle{width:46px;height:5px;border-radius:999px;background:#cfc8be;margin:0 auto 14px}.miniOption{width:100%;border:0;background:none;text-align:left;padding:14px 6px;font-weight:900;font-size:17px;border-bottom:1px solid var(--line)}.miniOption:last-child{border:0}

/* DESKTOP */
@media(min-width:921px){
  .topLeft{display:flex;align-items:center;gap:22px}
  .mobileOnly{display:none!important}
}
@media(max-width:920px){
  .shell{width:min(100% - 22px,1180px)}
  .desktopNav{display:none}
  .topInner{height:62px}
  .appView{padding-top:17px}
  #mainApp{padding-bottom:92px}
  .mobileNav{display:grid;position:fixed;left:50%;bottom:max(9px,var(--safe));transform:translateX(-50%);width:min(560px,calc(100% - 18px));grid-template-columns:repeat(5,1fr);background:rgba(255,253,248,.93);backdrop-filter:blur(20px);border:1px solid rgba(221,212,199,.8);border-radius:23px;padding:6px;z-index:80;box-shadow:0 16px 42px rgba(0,0,0,.18)}
  .mobileNav button{border:0;background:none;border-radius:16px;padding:7px 2px;font-size:10px;font-weight:900;min-height:53px}.mobileNav button b{display:block;font-size:18px;margin-bottom:2px}.mobileNav button.on{background:var(--paper2)}
  .homeHero,.communityHero,.listLayout{grid-template-columns:1fr}
  .todayHero img{height:290px}
  .rail{grid-auto-columns:72%}
  .feed{grid-template-columns:1fr}
  .postImg{height:320px}
  .products{grid-template-columns:repeat(2,1fr)}
  .exploreGrid{grid-template-columns:repeat(2,1fr)}
  .planSummary{grid-template-columns:repeat(2,1fr)}
  .day{grid-template-columns:1fr}
  .queueGrid{grid-template-columns:repeat(2,1fr)}
  .receipt{position:static}
}
@media(max-width:600px){
  .onboardingWrap{padding-left:14px;padding-right:14px}
  .choiceGrid{grid-template-columns:1fr 1fr}.choiceCard{min-height:128px;padding:15px}
  .logoGrid{grid-template-columns:repeat(2,1fr)}
  .tasteGrid{grid-template-columns:1fr 1fr}.tasteCard{height:170px}
  h1{font-size:42px}.lead{font-size:16px}
  .savingBig{font-size:43px}
  .rail{grid-auto-columns:78%}
  .section{margin:28px 0}
  .sectionHead{align-items:flex-start;flex-direction:column;gap:4px}
  .recipeSummaryGrid{grid-template-columns:repeat(2,1fr)}
  .recipeTabs{overflow:auto;grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}
  .recipeHero img{height:300px}
  .recipeTitle h2{font-size:31px}
  .products{grid-template-columns:1fr 1fr}.product{padding:12px}.product h3{font-size:15px}
  .slots{grid-template-columns:1fr}
  .planStoreBar{align-items:flex-start}.planStoreBar b{font-size:20px}
  .planSummary{grid-template-columns:1fr 1fr}.sum{min-height:88px}.sum b{font-size:17px}
  .day{grid-template-columns:1fr;padding:13px}.dayHeader{flex-direction:row;justify-content:space-between;align-items:center}.dayDragHandle span{display:none}
  .slot{grid-template-columns:72px minmax(0,1fr);padding:11px;align-items:start}.slot img{width:72px;height:72px}.slotCopy>b{font-size:18px}.slotActions{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;min-width:0;align-items:stretch}.slotPrepare,.slotStatus{min-height:40px}.slotMore{min-width:48px}.slotEditBar{grid-column:1/-1}
  .queueGrid{grid-template-columns:1fr 1fr}
  .pantryGrid{grid-template-columns:repeat(2,1fr)}
}

.livePill{position:absolute;right:10px;top:10px;background:rgba(39,48,58,.92);color:#fff;border-radius:999px;padding:6px 8px;font-size:9px;font-weight:900;letter-spacing:.08em}
.liveMeal{outline:1px solid rgba(79,143,202,.16)}.liveMeal .priceLine{color:var(--blue)}
.dataNotice{grid-column:1/-1;padding:14px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);background:var(--paper2);font-size:12px}

.recipeImageCredit{
  position:absolute;right:14px;bottom:12px;z-index:3;
  max-width:62%;padding:5px 8px;border-radius:999px;
  background:rgba(20,20,20,.72);color:#fff;text-decoration:none;
  font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.recipeImageCredit:hover{text-decoration:underline}

/* RECIPE CATALOG */
.catalogSearch{margin-bottom:12px}
.catalogFilters{
  display:flex;gap:8px;overflow-x:auto;padding:3px 1px 10px;margin-bottom:8px;
  scrollbar-width:none
}
.catalogFilters::-webkit-scrollbar{display:none}
.catalogChip{white-space:nowrap;display:flex;align-items:center;gap:6px;flex:0 0 auto}
.catalogChip small{
  min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;
  background:var(--paper2);font-size:11px;color:var(--muted)
}
.catalogChip.on{background:var(--blue);color:white;border-color:var(--blue)}
.catalogChip.on small{background:rgba(255,255,255,.18);color:white}
.catalogCategorySection{margin-top:20px}
.catalogCategories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.catalogCategory{
  min-height:92px;padding:15px;border:1.5px solid var(--line);display:flex;align-items:center;gap:12px;
  text-align:left;transition:.15s ease;position:relative;overflow:hidden
}
.catalogCategory:hover{transform:translateY(-2px)}
.catalogCategory.active{border-color:var(--blue);box-shadow:4px 5px 0 rgba(47,111,167,.14)}
.catalogCategoryIcon{
  width:44px;height:44px;border-radius:15px;background:var(--yellow);display:grid;place-items:center;
  font:800 24px Caveat,cursive;transform:rotate(-2deg);flex:0 0 auto
}
.catalogCategory span:nth-child(2){display:grid;gap:4px}
.catalogCategory b{font-size:16px}
.catalogCategory small{font-size:12px;color:var(--muted)}
.catalogCategory i{margin-left:auto;font-style:normal;font-size:20px}
.catalogResultsHead{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}
.catalogSort{display:grid;gap:5px;min-width:205px}
.catalogSort span{font-size:12px;font-weight:900;color:var(--muted)}
.catalogSort select{
  min-height:42px;border:1.5px solid var(--line);border-radius:13px;background:var(--card);padding:8px 34px 8px 11px;
  font:inherit;font-size:13px;font-weight:800;color:var(--ink)
}
.catalogGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.catalogGrid .mealCard{min-width:0}
.catalogGrid .mealCard img{aspect-ratio:4/3;width:100%;object-fit:cover}
.catalogEmpty{padding:22px;margin-bottom:14px}
.catalogEmpty p{margin:6px 0 12px}
@media(max-width:900px){
  .catalogCategories{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalogGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .catalogCategorySection{margin-top:14px}
  .catalogCategories{grid-template-columns:1fr 1fr;gap:8px}
  .catalogCategory{min-height:82px;padding:11px;gap:9px}
  .catalogCategoryIcon{width:38px;height:38px;border-radius:12px;font-size:21px}
  .catalogCategory i{display:none}
  .catalogResultsHead{align-items:stretch;flex-direction:column}
  .catalogSort{min-width:0;width:100%}
  .catalogGrid{grid-template-columns:1fr}
}


.authField{display:grid;gap:6px;margin:13px 0}.authField span{font-size:12px;font-weight:900;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.authField input{width:100%;border:1.5px solid var(--line);background:var(--card);padding:13px 14px;border-radius:14px;outline:0}.authField input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(77,140,188,.12)}
.leftoverSlot{background:#f1f7ee;border-color:#b7d2b5}.leftoverSlot .mini{background:#dcebd7;color:#34583a}


.shopStoreGroup{margin:16px 0 4px}.shopStoreGroup:first-child{margin-top:8px}.shopStoreHead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0 8px;border-bottom:1px dashed var(--line)}.shopStoreHead small{color:var(--muted);font-weight:800}.shopStoreGroup .shopItem{padding-left:3px;padding-right:3px}
#shoppingInsights{display:grid;gap:8px}

.wasteWarning{border-color:#dfb85c;background:#fff8df}.wasteWarning b{color:#7d5d16}


.shoppingActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 4px}.shoppingActions button:disabled{opacity:.45;cursor:not-allowed}
.pantry{display:flex;align-items:center;justify-content:space-between;gap:10px}.pantry>div{display:grid;gap:4px}.pantryRemove{padding:4px 9px;min-width:34px}


.swapSheetPanel{max-width:620px}.swapOptions{display:grid;gap:9px;max-height:62vh;overflow:auto;padding:2px 2px 6px}
.swapOption{width:100%;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:9px;display:grid;grid-template-columns:64px 1fr auto;gap:10px;align-items:center;text-align:left}
.swapOption img{width:64px;height:64px;object-fit:cover;border-radius:12px}.swapOption span{display:grid;gap:3px}.swapOption small{display:block}.swapOption strong{font-size:12px;color:var(--blue)}
.swapOption:hover{border-color:var(--blue);transform:translateY(-1px)}

/* Planner v2 sheets */
.weekStoreOptions,.moveSlotOptions{display:grid;gap:9px;max-height:58vh;overflow:auto}
.weekStoreOption,.moveSlotOption{width:100%;border:1.5px solid var(--line);background:var(--card);border-radius:16px;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}
.weekStoreOption span,.moveSlotOption span{display:grid;gap:3px}.weekStoreOption small,.moveSlotOption small{color:var(--muted)}.weekStoreOption strong,.moveSlotOption strong{font-size:12px;color:var(--blue)}
.weekStoreOption.selected{border-color:var(--green);background:#eff7ed}.weekStoreOption:disabled,.moveSlotOption:disabled{opacity:.5}
.planActionSheet .miniOption{display:flex;justify-content:space-between;align-items:center}.dangerOption{color:var(--coral2)!important}
.savingsSheet{max-width:560px}.savingsMath{display:grid;gap:8px;margin:8px 0 14px}.savingsMath>div{display:flex;justify-content:space-between;gap:14px;padding:11px 12px;background:var(--paper2);border-radius:13px}.savingsMathResult{background:#edf6eb!important;border:1px solid #b7d2b5}.savingsMathResult b{color:#34583a}



/* Structured add flows */
.planToolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;flex-wrap:wrap}
.planNotes{display:grid;gap:8px;margin:0 0 12px}
.planNote{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--paper2);border:1px dashed var(--line);border-radius:14px;padding:10px 12px}
.planNote span{min-width:0;overflow-wrap:anywhere}
.formSheet{max-width:520px}
.formSheetHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:8px 0 14px}
.formSheetHead h3{margin:5px 0 3px}
.fieldLabel{display:grid;gap:6px;font-size:13px;font-weight:700;margin:10px 0}
.formInput{width:100%;box-sizing:border-box;border:1px solid var(--line);background:var(--card);border-radius:13px;padding:12px 13px;font:inherit;color:inherit}
.formInput:focus{outline:2px solid rgba(56,112,255,.18);border-color:var(--blue)}
.formTextarea{resize:vertical;min-height:90px}
.quantityFormRow{display:grid;grid-template-columns:1fr 150px;gap:10px}
.formSubmit{width:100%;margin-top:10px}
.mealPlanChoiceGrid{max-width:760px;margin-inline:auto}
.mealPlanChoice{min-height:150px}
@media(max-width:620px){
  .quantityFormRow{grid-template-columns:1fr 120px}
  .subTabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:7px}
  .subTabs button{white-space:normal;min-height:42px}
  .planToolbar{align-items:stretch}
  .planToolbarActions{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
  .planToolbarActions .ghost{width:100%}
  .planEditHint{align-items:flex-start;flex-direction:column}
  .planEditHint .primary{width:100%}
}

.onBottom .primary:disabled{opacity:.42;cursor:not-allowed;transform:none;filter:grayscale(.15)}

.slotUndo{border:1px dashed var(--coral);background:transparent;color:var(--ink);border-radius:10px;padding:7px 9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.slotUndo:hover{background:rgba(232,91,111,.08)}
.onboardingBack{min-height:40px;padding:7px 10px}.onboardingBack:disabled{opacity:.25;cursor:default}


/* Profile v2 + real community */
.communityMvpHero{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin:18px 0 26px}
.communityMeCard,.communityPublishCard{padding:20px}
.communityIdentity{display:flex;align-items:center;gap:14px}
.communityIdentity h2{margin:3px 0}
.communityAvatar{width:46px;height:46px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--paper2);border:2px solid var(--line);font-size:24px;flex:0 0 auto}
.communityAvatar.large{width:72px;height:72px;font-size:36px;border-width:3px}
.communityAvatar.small{width:38px;height:38px;font-size:20px}
.accountAvatar{width:58px;height:58px;font-size:30px}
.communityStats,.accountMiniStats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}
.communityStats>div,.accountMiniStats>span{background:var(--paper2);border:1px solid var(--line);border-radius:14px;padding:10px;text-align:center}
.communityStats b,.accountMiniStats b{display:block;font-size:18px}.communityStats small,.accountMiniStats small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.communityProfileActions{display:flex;gap:8px;flex-wrap:wrap}
.communityPublishCard{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.communityPublishCard h2{margin:7px 0}.communityPublishCard .primary{margin-top:8px}
.communityEmpty{padding:20px;text-align:center;margin-top:12px}
.realCommunityPost .postActions .liked{color:var(--coral);font-weight:800}
.accountV2Head{display:flex;align-items:center;gap:13px;padding:8px 4px 14px}.accountV2Head h3{margin:5px 0 2px}.accountV2Head p{margin:0 0 6px}
.accountMiniStats{margin:0 4px 10px}
.miniOptionMeta{float:none;margin-left:7px;color:var(--muted)}
.avatarChoices{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 14px}
.avatarChoice{width:52px;height:52px;border-radius:50%;border:2px solid var(--line);background:var(--paper2);font-size:25px;cursor:pointer}
.avatarChoice.sel{border-color:var(--blue);box-shadow:0 0 0 3px rgba(56,112,255,.12)}
.communityPublicToggle{display:flex;align-items:center;gap:9px;margin:12px 0;font-weight:700}
.communityPublicToggle input{width:18px;height:18px}
.photoSoon{display:grid;gap:4px;border:1px dashed var(--line);border-radius:14px;padding:12px;margin:12px 0;background:var(--paper2)}
.costInput{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px}.costInput span{font-weight:800}
.membershipSheet{max-width:820px}.membershipPlans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.membershipPlan{border:1px solid var(--line);border-radius:18px;padding:16px;background:var(--card)}
.membershipPlan.featured{border-width:2px;border-color:var(--blue);transform:translateY(-2px)}
.membershipPlan h3{font-size:25px;margin:10px 0 6px}.membershipPlan h3 small{font-size:12px;color:var(--muted)}.membershipPlan p{min-height:72px}
.slotShare{border:1px solid var(--blue);background:transparent;color:var(--blue);border-radius:10px;padding:7px 9px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.slotShare:disabled{opacity:.5;cursor:default}
@media(max-width:820px){
  .communityMvpHero,.membershipPlans{grid-template-columns:1fr}
  .membershipPlan p{min-height:0}
}


/* Community mobile polish + Iskrice */
.communityIdentityCopy{min-width:0;flex:1}
.communityEditIcon{
  width:42px;height:42px;border-radius:14px;border:1px solid var(--line);
  background:var(--paper2);font-size:18px;font-weight:900;flex:0 0 auto
}
.sparkBar{margin:14px 0 10px;padding:12px 13px;border:1px solid var(--line);border-radius:16px;background:var(--paper2)}
.sparkTop{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sparkTop b{font-size:14px}.sparkTop span{font-size:13px;font-weight:900}
.sparkTrack{height:8px;border-radius:999px;background:rgba(37,48,58,.10);overflow:hidden;margin:8px 0 6px}
.sparkTrack span{display:block;height:100%;width:100%;border-radius:inherit;background:linear-gradient(90deg,var(--yellow),var(--coral))}
.sparkBar small{display:block;color:var(--muted);font-size:11px;line-height:1.3}
.accountSpark{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 4px 10px;padding:10px 12px;border-radius:14px;background:var(--paper2);border:1px solid var(--line)}
.accountSpark>span{font-size:13px}.accountSpark small{font-size:10px;color:var(--muted);text-align:right;max-width:145px;line-height:1.2}
.textAction{border:0;background:none;padding:4px 0;color:var(--blue2);font-weight:900;text-align:left}
.communityStats.compact{margin:10px 0}
.accountV2Sheet .miniOption{display:flex;align-items:center;gap:8px}
.accountV2Sheet .miniOption>span:last-child{margin-left:auto}
.accountV2Sheet .miniOptionMeta{margin-left:auto!important;margin-right:5px;font-size:11px}
.communityPublishCard .primary{min-height:46px}
.communityPublishCard p:last-child{margin-bottom:0}

@media(max-width:600px){
  .homeTabs{margin:0 0 12px;gap:18px}
  .homeTabs button{font-size:18px;margin-right:0;padding:5px 0 8px}
  .communityMvpHero{display:block;margin:8px 0 18px}
  .communityMeCard,.communityPublishCard{padding:15px;border-radius:20px}
  .communityMeCard{margin-bottom:10px}
  .communityIdentity{gap:10px;align-items:center}
  .communityAvatar.large{width:48px;height:48px;font-size:24px;border-width:2px}
  .communityIdentity h2{font-size:22px;line-height:1.05;margin:1px 0 2px}
  .communityIdentity .eyebrow{font-size:10px}
  .communityIdentity p{font-size:12px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .communityEditIcon{width:38px;height:38px;border-radius:12px}
  .sparkBar{margin:12px 0 9px;padding:10px 11px}
  .communityStats.compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:9px 0}
  .communityStats.compact>div{padding:7px 4px;border-radius:11px}
  .communityStats.compact b{font-size:16px;line-height:1}
  .communityStats.compact small{font-size:9px;margin-top:4px}
  .communityPublishCard{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center}
  .communityPublishCard .eyebrow,.communityPublishCard h2,.communityPublishCard p{grid-column:1}
  .communityPublishCard h2{font-size:22px;line-height:1.08;margin:3px 0 4px}
  .communityPublishCard p.small{font-size:12px;line-height:1.35;margin:0}
  .communityPublishCard .primary{grid-column:2;grid-row:1/4;white-space:nowrap;padding:10px 12px;font-size:12px;align-self:center}
  .communityPublishCard p.tiny{display:none}
  #communityHome .section{margin-top:18px}
  #communityHome .sectionHead h2{font-size:24px}
  .accountV2Sheet{padding:10px 14px calc(14px + var(--safe));max-height:82vh;overflow:auto}
  .accountV2Head{padding:2px 2px 9px;gap:10px}
  .accountAvatar{width:44px;height:44px;font-size:23px}
  .accountV2Head h3{font-size:20px;line-height:1.05;margin:2px 0}
  .accountV2Head p{font-size:11px;margin:0 0 4px}
  .accountSpark{margin:0 2px 7px;padding:8px 10px}
  .accountSpark small{display:none}
  .accountMiniStats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 2px 7px}
  .accountMiniStats>span{padding:6px 3px;border-radius:10px}
  .accountMiniStats b{font-size:15px;line-height:1}
  .accountMiniStats small{font-size:9px}
  .accountV2Sheet .miniOption{min-height:48px;padding:11px 4px;font-size:15px}
  .accountV2Sheet .miniHandle{margin-bottom:8px}
  .communityProfileSheet,.membershipSheet{max-height:86vh;overflow:auto}
  .membershipPlans{gap:8px}
  .membershipPlan{padding:13px}
  .membershipPlan h3{font-size:21px}
}


/* Social auth + real profile photo upload */
.socialAuthButton{
  width:100%;min-height:48px;border:1px solid var(--line);border-radius:14px;
  background:var(--card);display:flex;align-items:center;justify-content:center;gap:10px;
  font:inherit;font-weight:850;color:var(--ink);cursor:pointer
}
.socialAuthButton:disabled{opacity:.55;cursor:wait}
.googleMark{
  width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid #ddd;font-weight:900;font-family:Arial,sans-serif
}
.authDivider{display:flex;align-items:center;gap:10px;margin:12px 0;color:var(--muted);font-size:12px}
.authDivider:before,.authDivider:after{content:"";height:1px;background:var(--line);flex:1}
.communityAvatar.hasPhoto,.communityAvatarImg{overflow:hidden}
.communityAvatarImg{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
#accountButton.hasPhoto{padding:0;overflow:hidden}
#accountButton.hasPhoto .communityAvatarImg{width:100%;height:100%;object-fit:cover}
.profilePhotoRow{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin:12px 0 0}
.photoUploadCard{
  width:100%;min-height:74px;border:1px dashed var(--line);border-radius:16px;background:var(--paper2);
  display:grid;grid-template-columns:52px 1fr auto;gap:11px;align-items:center;text-align:left;
  padding:10px 12px;cursor:pointer;color:var(--ink)
}
.photoUploadCard.busy{opacity:.72;cursor:wait}
.photoUploadPreview{
  width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--card);border:2px solid var(--line);font-size:23px;overflow:hidden
}
.photoUploadPreview.hasPhoto img{width:100%;height:100%;object-fit:cover}
.photoUploadCopy{display:grid;gap:4px}.photoUploadCopy b{font-size:14px}.photoUploadCopy small{color:var(--muted);line-height:1.25}
.photoUploadArrow{font-size:24px;font-weight:900}
.photoRemove{border:0;background:none;color:var(--coral);font-weight:850;padding:8px;cursor:pointer}
.photoPrivacy{margin:6px 2px 0}
@media(max-width:600px){
  .socialAuthButton{min-height:46px}
  .profilePhotoRow{grid-template-columns:1fr}
  .photoRemove{justify-self:end;margin-top:-4px}
}


.avatarChoice.photoChoice{padding:0;overflow:hidden}
.avatarChoice.photoChoice img{width:100%;height:100%;object-fit:cover;display:block}


/* FINAL MOBILE + DATA SEMANTICS POLISH */
#authGate{
  position:fixed;inset:0;z-index:190;background:var(--paper);overflow:auto;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch
}
#authGate.hidden{display:none!important}
#authGate .authWrap{
  min-height:100svh;justify-content:center;
  padding-top:max(20px,env(safe-area-inset-top));
  padding-bottom:max(28px,env(safe-area-inset-bottom))
}
#authGate .authWrap>.onTop{flex:0 0 auto}
#authGate .authWrap>.card{width:100%;margin-top:18px!important}

.dealModeFilters{
  display:inline-grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;
  margin:10px 0 8px;background:var(--paper2);border:1.5px solid var(--line);border-radius:16px
}
.dealModeFilters button{
  border:0;background:transparent;border-radius:11px;padding:10px 14px;
  font:inherit;font-weight:900;color:var(--muted);cursor:pointer
}
.dealModeFilters button.on{background:var(--ink);color:white}
.dealRecipeCount{margin:8px 0 0}
.dealCategory{display:block;margin-top:9px;text-transform:none}
.product h3{overflow-wrap:anywhere;hyphens:auto}
.product .dealVerified{margin-top:12px;line-height:1.35}
.product.browseDeal{box-shadow:none}
.savingBig.nonMoneyHero{font-size:clamp(34px,7vw,52px);letter-spacing:-.03em}

@media(max-width:920px){
  #mainApp{padding-bottom:calc(122px + var(--safe))}
  .appView{padding-bottom:28px}
}
@media(max-width:600px){
  #authGate .authWrap{padding-left:16px;padding-right:16px}
  #authGate .authWrap>.card{padding:20px!important}
  .dealModeFilters{display:grid;width:100%;margin:10px 0}
  .dealFilters{top:62px;padding-bottom:11px}
  .products{grid-template-columns:1fr!important;gap:12px}
  .product{padding:16px!important}
  .product h3{font-size:21px!important;line-height:1.13;margin:10px 0}
  .product .dealPrice{font-size:30px}
  .product .top{align-items:center}
  .product button{min-height:48px;font-size:16px}
  #deals{padding-bottom:132px}
  .mobileNav{bottom:max(10px,var(--safe))}
}

.dealIdeasSheet{max-height:78vh;overflow:auto}
.dealIdeaOptions{display:grid;gap:9px;margin-top:12px}
.dealIdeaOption{
  width:100%;border:1.5px solid var(--line);background:var(--paper);border-radius:16px;
  padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;
  text-align:left;color:var(--ink);cursor:pointer
}
.dealIdeaOption span{display:grid;gap:3px}.dealIdeaOption b{font-size:16px}.dealIdeaOption small{color:var(--muted)}
.dealIdeaOption strong{color:var(--blue);white-space:nowrap}


/* STABILIZATION: mobile Add CTA + shopping missing-product touch target */
.shoppingMissingCompact{
  min-height:44px;
  padding:9px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
@media(max-width:920px){
  #plan.appView.active .planFloat{
    display:grid;
    place-items:center;
    position:fixed;
    right:18px;
    bottom:calc(88px + var(--safe));
    width:56px;
    height:56px;
    border:0;
    border-radius:50%;
    background:var(--ink);
    color:white;
    font-size:30px;
    font-weight:900;
    line-height:1;
    z-index:79;
    box-shadow:0 14px 30px rgba(0,0,0,.22);
  }
}


/* STABILIZATION: keep Add sheet compatible with persistent mobile nav */
@media(max-width:920px){
  body > .mobileNav{
    z-index:200 !important;
  }
  #addSheet.miniOverlay.open{
    padding-bottom:calc(78px + var(--safe));
  }
}

/* JediŠtedi brand refresh
   Warm paper UI, clean product cards, coral + green food palette.
   Visual layer only; no food/pricing logic changes.
*/


:root{
  --js-paper:#F8F3EA;
  --js-paper-soft:#FAF5ED;
  --js-card:#FBFCFC;
  --js-ink:#26333D;
  --js-muted:#6E7779;
  --js-line:#D9D8D1;
  --js-coral:#CF7D82;
  --js-coral-strong:#B95560;
  --js-coral-soft:#E5B9B8;
  --js-green:#548362;
  --js-green-dark:#224815;
  --js-green-soft:#A7BCA8;
  --js-shadow:0 10px 30px rgba(45,56,32,.085);
  --js-radius:20px;
  --communityEnabled:0;
}

html{background:var(--js-paper)}
body{
  background:
    radial-gradient(circle at 14% 6%,rgba(229,185,184,.24),transparent 34%),
    radial-gradient(circle at 92% 18%,rgba(167,188,168,.22),transparent 32%),
    var(--js-paper)!important;
  color:var(--js-ink)!important;
  font-family:'DM Sans',Outfit,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.13;
  z-index:0;
  background-image:radial-gradient(rgba(38,51,61,.11) .45px,transparent .45px),radial-gradient(rgba(207,125,130,.07) .55px,transparent .55px);
  background-size:8px 8px,18px 18px;
  background-position:0 0,4px 5px;
}

h1,h2,h3,.wordmark,.desktopNav button,.primary,.secondary,.ghost,.chip,.pill,.marketCard,.choiceCard b,.card small,.sum small,.sectionHead b,.homeTabs button,.miniOption,.weekStoreOption b,.itemName{
  font-family:'Sora','DM Sans',Outfit,system-ui,sans-serif!important;
}
h1,h2,h3{letter-spacing:-.045em;color:var(--js-ink)}
.muted{color:var(--js-muted)!important}

.card,.sum,.metricButton,.choiceCard,.marketCard,.miniSheet,.sheet,.shopItem,.weekStoreOption,.savingHero,.todayHero,.mealCard,.recipeStat,.suggestion,.authField input,.formInput{
  background:var(--js-card)!important;
  border:1px solid var(--js-line)!important;
  border-radius:var(--js-radius)!important;
  box-shadow:var(--js-shadow)!important;
}

.appTop{background:rgba(250,246,239,.94)!important;border-bottom:1px solid var(--js-line)!important;backdrop-filter:blur(16px)}
.topInner{height:74px!important}
.wordmark{letter-spacing:-.055em!important;font-size:29px!important}
.wordmark .a{color:var(--js-green-dark)!important}
.wordmark .b{color:var(--js-coral)!important}
.wordmark .heroS:before,.wordmark .heroS:after{content:none!important;display:none!important}
.iconBtn{border:2px solid var(--js-ink)!important;background:#fff!important;color:var(--js-ink)!important;border-radius:999px!important}

/* Auth gate uses the same final brand asset before first paint. */
#authGate .authBrand{
  display:grid!important;
  justify-items:center!important;
  gap:8px!important;
}
#authGate .authBrandLogo{
  display:block!important;
  width:min(260px,72vw)!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
  background:transparent!important;
  box-shadow:none!important;
}
#authGate .authWrap>.card{
  border-color:var(--js-line)!important;
  background:rgba(251,252,252,.96)!important;
}
@media(max-width:600px){
  #authGate .authBrandLogo{width:min(230px,72vw)!important}
}

/* Header logo only: hide tagline in nav/header without touching landing copy. */
.appTop .brand > .tiny.muted,
.topInner .brand > .tiny.muted,
.appTop .brand > .tiny,
.topInner .brand > .tiny{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
  overflow:hidden!important;
}
.appTop .brand,
.topInner .brand{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:1!important;
}
.appTop .brand .wordmark,
.topInner .brand .wordmark{
  display:block!important;
  margin:0!important;
  line-height:1!important;
}

/* Brand notification button: warm circle, dark outline, pink bell only. */
.topActions .iconBtn:first-child{
  position:relative!important;
  width:54px!important;
  height:54px!important;
  display:grid!important;
  place-items:center!important;
  font-size:0!important;
  background:var(--js-paper-soft)!important;
  border:3px solid var(--js-ink)!important;
  box-shadow:0 4px 12px rgba(38,51,61,.08)!important;
  overflow:hidden!important;
}
.topActions .iconBtn:first-child:before{
  content:""!important;
  width:24px!important;
  height:26px!important;
  display:block!important;
  background:var(--js-coral)!important;
  border-radius:13px 13px 9px 9px!important;
  clip-path:polygon(27% 20%,38% 8%,62% 8%,73% 20%,80% 61%,91% 76%,68% 83%,63% 94%,37% 94%,32% 83%,9% 76%,20% 61%)!important;
}
.topActions .iconBtn:first-child:after{content:none!important;display:none!important}

.desktopNav button{color:var(--js-ink)!important;font-size:14px!important;font-weight:800!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;position:relative!important}
.desktopNav button.on,.homeTabs button.on{background:transparent!important;box-shadow:none!important;color:var(--js-ink)!important;position:relative!important}
.desktopNav button.on:after,.homeTabs button.on:after{
  content:""!important;
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:1px!important;
  height:7px!important;
  border-radius:999px!important;
  background:var(--js-coral)!important;
  opacity:.85!important;
  transform:rotate(-1deg)!important;
  z-index:-1!important;
}
.homeTabs{gap:0!important;margin:8px 0 22px!important;align-items:center!important}
.homeTabs button{font-size:24px!important;padding:8px 0 12px!important;margin-right:0!important;background:transparent!important}
.homeTabs button:not(.on){color:rgba(38,51,61,.56)!important}

/* Community is behind a disabled feature flag for now. */
.homeTabs button[data-home-tab="community"],
#communityHome,
[data-home-tab="community"]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.homeTabs button[data-home-tab="foryou"]{
  display:inline-flex!important;
  margin-right:0!important;
}

.primary,.secondary{background:var(--js-coral)!important;color:#fff!important;border-color:var(--js-coral)!important;border-radius:22px!important;box-shadow:0 8px 18px rgba(207,125,130,.20)!important}
.primary:hover,.secondary:hover,.ghost:hover,.weekStoreOption:hover,.mealCard:hover{transform:translateY(-1px);transition:.16s ease}
.ghost,.soft,.chip,.pill{background:#fff!important;border-color:var(--js-line)!important;border-radius:999px!important}
.chip.on,.pill.on,.tagChoice.sel{background:var(--js-green)!important;color:#fff!important;border-color:var(--js-green)!important}

.eyebrow{display:block!important;color:var(--js-coral)!important;font-family:'Sora','DM Sans',sans-serif!important;font-size:12px!important;font-weight:800!important;letter-spacing:.07em!important;text-transform:uppercase!important;line-height:1.15!important;margin:0 0 12px!important}.eyebrow:after{display:none!important}
.marker,.doodle{color:var(--js-coral)!important;font-family:'DM Sans',system-ui,sans-serif!important;font-weight:800!important;transform:none!important}
.underline:after{background:var(--js-coral-soft)!important;opacity:.55!important;height:9px!important}

/* Landing hero: stronger, shorter, clearer. */
.homeHero{gap:24px!important}
.savingHero{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#fff 0%,#fff 58%,rgba(229,185,184,.13) 100%)!important;
  padding:46px 52px 42px!important;
  min-height:390px!important;
  border:2px solid rgba(38,51,61,.09)!important;
  box-shadow:0 18px 46px rgba(45,56,32,.10)!important;
}
.savingHero:before{content:none!important;display:none!important}
.savingHero:after{
  background:rgba(207,125,130,.10)!important;
  width:240px!important;
  height:180px!important;
  border-radius:56% 44% 48% 52%!important;
  right:-74px!important;
  top:-36px!important;
}
.savingHero>*{position:relative!important;z-index:1!important}
/* The actual savings and prices must come from JS, never from CSS pseudo-text. */
.savingBig,#homeSaving{display:block!important}
#homeSavingTitle{
  font:900 clamp(34px,4.6vw,66px)/1.05 'Sora','DM Sans',sans-serif!important;
  letter-spacing:-.055em!important;
  margin:12px 0 12px!important;
  max-width:790px!important;
}
#homeSavingTitle:after{content:none!important;display:none!important}
#homeSaving{
  margin:0 0 17px!important;
  font:900 clamp(34px,5vw,58px)/1.05 'Sora','DM Sans',sans-serif!important;
  letter-spacing:-.05em!important;
  color:#2b754b!important;
}
#homeSaving.nonMoneyHero{display:none!important}
#homeSavingContext{
  margin:0 0 6px!important;
  font:800 clamp(13px,1.35vw,18px)/1.35 'DM Sans',system-ui,sans-serif!important;
  color:#718674!important;
}
#homeSavingExplain{
  font:600 15px/1.45 'DM Sans',system-ui,sans-serif!important;
  color:var(--js-muted)!important;
  margin:8px 0 0!important;
  max-width:780px!important;
}
#homeSavingExplain:after{content:none!important;display:none!important}
.homeMarketComparison{
  display:flex;
  gap:12px;
  width:100%;
  max-width:720px;
  margin:0 0 15px;
  flex-wrap:wrap;
  align-items:stretch;
}
.homeCompareHeading{
  flex:0 0 100%;
  margin:0 0 2px!important;
  font:800 13px/1.3 'DM Sans',system-ui,sans-serif;
  color:var(--js-muted);
}
.homeMarketComparison.hidden{display:none!important}
.homeCompareStore{
  flex:1 1 180px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
  border-radius:18px;
  border:1px solid var(--js-line);
  background:#fff;
  padding:12px 16px;
  min-height:0;
  box-sizing:border-box;
}
.homeCompareStore.best{background:#edf6ee;border-color:#c9dfcf}
.homeCompareStore small{font-size:14px;font-weight:800;color:var(--js-muted);overflow-wrap:anywhere}
.homeCompareStore b{font:900 clamp(21px,3vw,29px)/1.15 'Sora','DM Sans',sans-serif;letter-spacing:-.04em;color:var(--js-ink)}
.homeCompareStore.best b{color:#2b754b}
.homeCompareStore span{font-size:11px;font-weight:800;color:#2b754b}
#forYouHome .savingHero .actions{margin-top:22px!important;gap:18px!important;align-items:center!important}
#forYouHome .savingHero .actions .doodle{font-size:0!important;line-height:0!important;margin-left:4px!important}
#forYouHome .savingHero .actions .doodle:after{content:"";font:900 15px/1 'DM Sans',system-ui,sans-serif;color:var(--js-coral)}
#forYouHome .savingHero .primary{min-height:64px!important;padding:0 34px!important;font-size:20px!important;border-radius:24px!important}
.heroStats{margin-top:6px!important;margin-bottom:20px!important;gap:12px!important}
.heroStat,.mini,.tagChoice{background:#fff!important;border:1px solid var(--js-line)!important;color:var(--js-ink)!important;border-radius:999px!important;box-shadow:0 3px 8px rgba(45,56,32,.04)!important}
.todayHero{overflow:hidden!important;background:var(--js-card)!important}.todayHero:after{background:linear-gradient(transparent,rgba(84,131,98,.88))!important}.todayCopy b{font-family:'Sora','DM Sans',sans-serif!important}

/* Home hero visual priority: title, CTA, metadata chips, explanation. */
#forYouHome .savingHero{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:0!important;
}
#forYouHome .savingHero .eyebrow{order:1!important;margin-bottom:12px!important}
#forYouHome #homeSavingTitle{order:2!important;margin:0 0 12px!important}
#forYouHome #homeSavingContext{order:3!important}
#forYouHome #homeSaving{order:4!important}
#forYouHome .homeMarketComparison{order:5!important}
#forYouHome .savingHero .actions{
  order:6!important;
  margin:0 0 16px!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  flex-wrap:wrap!important;
}
#forYouHome .savingHero .heroStats{
  order:7!important;
  margin:0 0 12px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px 12px!important;
}
#forYouHome #homeSavingExplain{order:8!important;margin:0!important}
#forYouHome .savingHero .primary{font-weight:900!important}

/* Home section order: pantry first, today second, deals third, return last. */
#forYouHome{
  display:flex!important;
  flex-direction:column!important;
}
#forYouHome > .homeHero{order:0!important;width:100%!important}
#forYouHome > section{width:100%!important}
#forYouHome > section:nth-of-type(1){order:2!important}
#forYouHome > section:nth-of-type(2){order:1!important}
#forYouHome > section:nth-of-type(3){order:3!important}
#forYouHome > section:nth-of-type(4){order:4!important}

/* Section headings. */
.section{margin-top:58px!important;margin-bottom:42px!important}.sectionHead{display:block!important;margin-bottom:28px!important}.sectionHead>div{display:block!important}.sectionHead .eyebrow{margin-bottom:16px!important}.sectionHead h2{display:block!important;margin:0!important;line-height:1.03!important}.sectionHead p{margin-top:8px!important}.sectionHead .seeAll{float:right;margin-top:-38px!important}
#forYouHome .sectionHead h2{font-size:clamp(38px,5.15vw,68px)!important;line-height:1.03!important;letter-spacing:-.062em!important}
#forYouHome > section:nth-of-type(3) .sectionHead h2{white-space:nowrap!important;font-size:clamp(40px,4.65vw,64px)!important}
#forYouHome > section:nth-of-type(3) .sectionHead .eyebrow{font-size:0!important;line-height:0!important}
#forYouHome > section:nth-of-type(3) .sectionHead .eyebrow:before{
  content:"AKCIJE I OBROCI"!important;
  display:block!important;
  color:var(--js-coral)!important;
  font:800 12px/1.15 'Sora','DM Sans',sans-serif!important;
  letter-spacing:.07em!important;
}

/* Comparison card: no arrow in the short CTA line. */
#planSavingHint{font-size:0!important;line-height:0!important}
#planSavingHint:after{content:"Vidi potrošeno i ostatke";font:700 13px/1.35 'DM Sans',system-ui,sans-serif;color:var(--js-muted)}

.planStoreBar,.planSummary .card,.planSummaryV2 .card,.budgetBox,.recipeSummary,.accountSpark,.accountMiniStats{border-radius:20px!important}.metricButton{text-align:left!important;transition:.16s ease}.metricButton b,.sum b{color:var(--js-ink)!important;letter-spacing:-.03em!important}.metricButton.good,.sum.good{background:linear-gradient(135deg,#fff,var(--js-paper-soft))!important}.metricButton.good b{color:var(--js-green)!important}
.miniSheet,.sheet{background:var(--js-paper)!important;border-radius:28px 28px 0 0!important}.savingsMath{gap:10px!important}.savingsMath>div{background:#fff!important;border:1px solid var(--js-line)!important;border-radius:18px!important;box-shadow:0 5px 14px rgba(45,56,32,.045)!important}.savingsMath span{color:var(--js-muted)!important}.savingsMath b{color:var(--js-ink)!important}.savingsMathResult{background:linear-gradient(135deg,#fff,var(--js-paper-soft))!important}

.marketCard{position:relative!important;transition:.16s ease!important}.marketCard.sel,.marketCard.selected,.marketCard[aria-pressed="true"]{background:#fff4f4!important;border:3px solid var(--js-coral)!important;box-shadow:0 10px 28px rgba(207,125,130,.18)!important;transform:translateY(-1px)}.marketCard.sel:after,.marketCard.selected:after,.marketCard[aria-pressed="true"]:after{content:"✓";position:absolute;right:14px;top:12px;width:26px;height:26px;border-radius:999px;display:grid;place-items:center;background:var(--js-coral);color:#fff;font:900 16px/1 'Sora',sans-serif}.marketCard:disabled{opacity:.42!important;filter:saturate(.55)!important;cursor:not-allowed!important}.marketSoon:after{content:"uskoro";position:absolute;right:14px;top:12px;border-radius:999px;background:var(--js-paper-soft);border:1px solid var(--js-line);padding:4px 8px;font-size:10px;font-weight:900;color:var(--js-muted)}
.weekStoreOption{border-radius:18px!important;align-items:center!important}.weekStoreOption strong{border-radius:999px!important;background:var(--js-paper-soft)!important;color:var(--js-green)!important;padding:7px 10px!important}.weekStoreOption:disabled strong{color:var(--js-muted)!important}.storeBadge,.marketDot{border-radius:13px!important;font-family:'Sora','DM Sans',sans-serif!important;font-weight:800!important}

.tasteCard{transition:.16s ease!important}.tasteCard.sel{border-color:var(--js-coral)!important;box-shadow:0 0 0 4px rgba(207,125,130,.16),var(--js-shadow)!important}.tasteCard.no{border-color:var(--js-coral-strong)!important;filter:saturate(.75) brightness(.92)!important;box-shadow:0 0 0 4px rgba(185,85,96,.18),var(--js-shadow)!important}.tasteCard.no .tasteVoteActions button:last-child{background:var(--js-coral)!important;color:#fff!important;outline:none!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)!important}.tasteCard.sel:not(.no) .tasteVoteActions button:first-child{background:var(--js-green)!important;color:#fff!important;outline:none!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)!important}.tasteVoteActions button{border:1px solid rgba(38,51,61,.12)!important}

.mealCard,.recipeCard,.communityCard{overflow:hidden!important}.mealCard img,.recipeHero img{filter:saturate(.95) contrast(.98)}.priceLine{color:var(--js-coral)!important}.discountBurst{background:var(--js-coral)!important;color:#fff!important;border-radius:999px!important}.mealCard h3,.mealCard b,.recipeCard h3,.recipeCard b{line-height:1.14!important;letter-spacing:-.035em!important}.mealPad{padding:18px!important}.mealPad h3,.mealPad b{margin-bottom:10px!important}.mealPad .priceLine{margin:8px 0 14px!important}.tags{margin-top:12px!important}.mealCard img[src=""],.mealCard img:not([src]),.recipeHero img[src=""],.recipeHero img:not([src]){background:linear-gradient(135deg,var(--js-paper-soft),#fff 58%,rgba(167,188,168,.35))!important;min-height:180px}

/* Plan meal cards: keep prepare vs leftover actions separate. */
.slot .slotPrepare:not(.leftoverAction){font-size:0!important}
.slot .slotPrepare:not(.leftoverAction):after{content:"Pripremi";font:800 13px/1 'DM Sans',system-ui,sans-serif}
.slot.leftoverSlot .slotPrepare.leftoverAction{font-size:0!important;background:var(--js-green)!important;color:#fff!important;border-color:var(--js-green)!important}
.slot.leftoverSlot .slotPrepare.leftoverAction:after{content:"Pojedi ostatak";font:800 13px/1 'DM Sans',system-ui,sans-serif}
.slot.leftoverSlot .contextBadge{font-size:0!important;background:var(--js-paper-soft)!important;color:var(--js-green)!important;border-color:var(--js-green-soft)!important}
.slot.leftoverSlot .contextBadge:after{content:"Ostatak";font:800 11px/1 'Sora','DM Sans',sans-serif;text-transform:none!important;letter-spacing:.01em!important}
.slot:not(.leftoverSlot) .contextBadge{font-size:0!important}
.slot:not(.leftoverSlot) .contextBadge:after{content:"Praviš za sutra";font:800 11px/1 'Sora','DM Sans',sans-serif;text-transform:none!important;letter-spacing:.01em!important}
.slot.leftoverSlot .slotCopy > small:not(.slotMealLabel):not(.slotReason){display:none!important}
.slot.leftoverSlot .slotCopy > b:after{content:"Bez kuvanja · ostatak od ranije";display:block;margin-top:5px;font:700 12px/1.25 'DM Sans',system-ui,sans-serif;color:var(--js-muted);letter-spacing:0}
.slot.leftoverSlot{background:linear-gradient(135deg,#fff,rgba(167,188,168,.13))!important}
.slot.leftoverSlot .slotMealLabel:after{content:" · ostatak";color:var(--js-green);font-weight:800}

.shopItem{align-items:flex-start!important;border-radius:18px!important}.shopItem .check{border-color:var(--js-green)!important;color:var(--js-green)!important}.itemMeta{line-height:1.5!important;color:var(--js-muted)!important}.mobileNav{background:rgba(250,246,239,.94)!important;border-top:1px solid var(--js-line)!important;backdrop-filter:blur(16px)}.mobileNav button.on{color:var(--js-coral)!important}

/* Header actions: one shared button treatment for notification + profile. */
.header-actions,.topActions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important}
.header-icon-button,.topActions .iconBtn{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  padding:0!important;
  box-sizing:border-box!important;
  border:3px solid var(--js-ink)!important;
  border-radius:999px!important;
  background:var(--js-paper-soft)!important;
  color:var(--js-ink)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  box-shadow:0 4px 12px rgba(38,51,61,.08)!important;
  overflow:hidden!important;
  vertical-align:middle!important;
  transform:none!important;
}
.header-icon-button:hover,.header-icon-button:focus-visible,.topActions .iconBtn:hover,.topActions .iconBtn:focus-visible{
  background:#fff!important;
  box-shadow:0 7px 16px rgba(38,51,61,.12)!important;
  outline:none!important;
}
.header-icon-button svg,.header-icon-button img,.topActions .iconBtn svg,.topActions .iconBtn img,.topActions .iconBtn .avatar,.topActions .iconBtn picture{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  object-fit:contain!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 24px!important;
  border-radius:0!important;
}
.topActions .iconBtn:first-child{font-size:0!important;position:relative!important}
.topActions .iconBtn:first-child:before{
  content:""!important;
  width:14px!important;
  height:15px!important;
  min-width:14px!important;
  min-height:15px!important;
  display:block!important;
  background:var(--js-coral)!important;
  border-radius:13px 13px 9px 9px!important;
  clip-path:polygon(27% 20%,38% 8%,62% 8%,73% 20%,80% 61%,91% 76%,68% 83%,63% 94%,37% 94%,32% 83%,9% 76%,20% 61%)!important;
  margin:0!important;
}
.topActions .iconBtn:first-child:after{content:none!important;display:none!important}
.topActions .iconBtn:not(:first-child){font-size:24px!important;font-weight:900!important;text-align:center!important}
@media(max-width:760px){.header-icon-button,.topActions .iconBtn{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;border-width:3px!important}.header-actions,.topActions{gap:10px!important}.header-icon-button svg,.header-icon-button img,.topActions .iconBtn svg,.topActions .iconBtn img,.topActions .iconBtn .avatar{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;flex-basis:22px!important}.topActions .iconBtn:first-child:before{width:13px!important;height:14px!important;min-width:13px!important;min-height:14px!important}.topActions .iconBtn:not(:first-child){font-size:22px!important}}

@media(max-width:1000px){#forYouHome > section:nth-of-type(3) .sectionHead h2{white-space:normal!important}}
@media(max-width:760px){.shell{width:min(100% - 24px,1180px)!important}.homeHero{grid-template-columns:1fr!important}.savingHero{padding:26px!important;min-height:unset}.topInner{height:64px!important}.desktopNav{display:none!important}.card,.sum,.metricButton,.choiceCard,.marketCard,.miniSheet,.sheet,.shopItem,.weekStoreOption{border-radius:18px!important}#homeSavingTitle{font-size:clamp(32px,8.6vw,52px)!important}#homeSaving{font-size:clamp(31px,8.6vw,44px)!important}#forYouHome .sectionHead h2{font-size:clamp(34px,10vw,52px)!important}#forYouHome .savingHero .actions{margin-bottom:20px!important}#forYouHome .savingHero .heroStats{margin-bottom:16px!important}}

/* Final brand header + starter hero composition fix. */
.appTop .brand .wordmark,
.topInner .brand .wordmark{
  width:clamp(92px,8vw,116px)!important;
  height:42px!important;
  min-width:92px!important;
  font-size:0!important;
  line-height:0!important;
  letter-spacing:0!important;
  color:transparent!important;
  background-image:url('/assets/images/brand/jedistedi-logo-header.png')!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:contain!important;
}
.appTop .brand .wordmark span,
.topInner .brand .wordmark span{
  display:none!important;
  visibility:hidden!important;
}
.appTop .brand,
.topInner .brand{
  width:auto!important;
  min-width:clamp(92px,8vw,116px)!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}
.topLeft{align-items:center!important;gap:clamp(18px,2.4vw,34px)!important}
.desktopNav{align-items:center!important}

#forYouHome .homeHero{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)!important;
  gap:clamp(20px,3vw,36px)!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:1240px!important;
  margin:0 auto!important;
}
#forYouHome .savingHero{
  min-height:0!important;
  height:auto!important;
  padding:clamp(28px,4vw,48px)!important;
}
#todayHeroCard.todayHero,
#todayHeroCard.landingIntroHero{
  min-height:0!important;
  padding:clamp(20px,3vw,36px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.86)!important;
  border:1px solid rgba(37,48,58,.08)!important;
  border-radius:20px!important;
  box-shadow:0 14px 40px rgba(37,48,58,.08)!important;
  isolation:isolate!important;
}
#todayHeroCard.todayHero *,
#todayHeroCard.landingIntroHero *{
  display:none!important;
  visibility:hidden!important;
}
#todayHeroCard.todayHero:after,
#todayHeroCard.landingIntroHero:after{
  content:none!important;
  display:none!important;
}
#todayHeroCard.todayHero:before,
#todayHeroCard.landingIntroHero:before{
  content:""!important;
  display:block!important;
  width:min(100%,560px)!important;
  aspect-ratio:4/3!important;
  min-height:260px!important;
  background-image:url('/assets/images/brand/jedistedi-landing-illustration.webp')!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  border-radius:24px!important;
}
@media(max-width:820px){
  .appTop .brand .wordmark,
  .topInner .brand .wordmark{
    width:clamp(84px,28vw,100px)!important;
    min-width:84px!important;
    height:36px!important;
  }
  .appTop .brand,
  .topInner .brand{min-width:84px!important}
  #forYouHome .homeHero{grid-template-columns:1fr!important;gap:20px!important;max-width:100%!important}
  #todayHeroCard.todayHero,
  #todayHeroCard.landingIntroHero{min-height:220px!important;padding:20px!important}
  #todayHeroCard.todayHero:before,
  #todayHeroCard.landingIntroHero:before{width:min(100%,360px)!important;min-height:210px!important}
}

/* HARD FIX: brand/logo/hero sizing — 2026-09-24 */

/* Header logo: force real readable size */
.appTop .brand,
.appTop .brandLogoButton,
.appTop .siteLogo,
.appTop .app-logo,
.appTop .header-logo {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.appTop .brand img,
.appTop .brandLogoButton img,
.appTop .headerBrandLogo,
.appTop img[src*="jedistedi-logo"] {
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Remove old small wordmark/tagline if it still exists beside/under logo */
.appTop .brand .wordmark,
.appTop .brand .tiny,
.appTop .brand .muted {
  display: none !important;
}

/* Right hero card: make visual card bigger and image dominant */
.homeHero {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr) !important;
  align-items: stretch !important;
}

.todayHero.brandHeroVisual,
.brandHeroVisual,
.home-starter-visual {
  min-height: 430px !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: default !important;
  pointer-events: auto !important;
}

/* Kill old recommendation overlay/text */
.todayHero.brandHeroVisual::after,
.brandHeroVisual::after,
.todayHero .todayCopy,
.brandHeroVisual .todayCopy,
.todayHero small,
.todayHero b,
.todayHero span {
  display: none !important;
  content: none !important;
}

/* Make illustration fill the card much more */
.todayHero.brandHeroVisual img,
.brandHeroVisual img,
.home-starter-visual img,
img[src*="jedistedi-landing-illustration"] {
  width: 118% !important;
  max-width: none !important;
  height: 118% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.2) !important;
  transform-origin: center center !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* Safety: no pointer look on visual card */
.todayHero.brandHeroVisual,
.todayHero.brandHeroVisual *,
.brandHeroVisual,
.brandHeroVisual * {
  cursor: default !important;
}

@media (max-width: 820px) {
  .appTop .brand img,
  .appTop .brandLogoButton img,
  .appTop .headerBrandLogo,
  .appTop img[src*="jedistedi-logo"] {
    width: 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
  }

  .homeHero {
    grid-template-columns: 1fr !important;
  }

  .todayHero.brandHeroVisual,
  .brandHeroVisual,
  .home-starter-visual {
    min-height: 310px !important;
  }

  .todayHero.brandHeroVisual img,
  .brandHeroVisual img,
  .home-starter-visual img,
  img[src*="jedistedi-landing-illustration"] {
    width: 125% !important;
    height: 125% !important;
    transform: scale(1.18) !important;
  }
}

/* FIX: restore header logo, hide only tagline — 2026-09-24 */
.appTop .brand {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* If header uses image logo */
.appTop .brand img,
.appTop .brandLogoButton img,
.appTop .headerBrandLogo,
.appTop img[src*="jedistedi-logo"] {
  display: block !important;
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: contain !important;
}

/* If header still uses old CSS wordmark, keep it visible instead of disappearing */
.appTop .brand .wordmark {
  display: block !important;
  font-size: 34px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide only the tagline under/near logo */
.appTop .brand > .tiny,
.appTop .brand > .muted,
.appTop .brand .tiny.muted {
  display: none !important;
}

/* Keep nav vertically centered after tagline removal */
.appTop .topInner,
.appTop .topLeft {
  align-items: center !important;
}

@media (max-width: 820px) {
  .appTop .brand img,
  .appTop .brandLogoButton img,
  .appTop .headerBrandLogo,
  .appTop img[src*="jedistedi-logo"] {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
  }

  .appTop .brand .wordmark {
    font-size: 30px !important;
  }
}

/* BIGGER HEADER LOGO — 2026-09-24 */
.appTop .brand img,
.appTop .brandLogoButton img,
.appTop .headerBrandLogo,
.appTop img[src*="jedistedi-logo"] {
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.appTop .topInner {
  min-height: 84px !important;
  height: auto !important;
  align-items: center !important;
}

.appTop .topLeft {
  align-items: center !important;
}

@media (max-width: 820px) {
  .appTop .brand img,
  .appTop .brandLogoButton img,
  .appTop .headerBrandLogo,
  .appTop img[src*="jedistedi-logo"] {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
  }

  .appTop .topInner {
    min-height: 76px !important;
  }
}

/* FINAL HEADER LOGO IMAGE — transparent cropped WEBP */
.appTop .brand img,
.appTop .brandLogoButton img,
.appTop .headerBrandLogo,
.appTop img[src*="jedistedi-logo-header"] {
  display: block !important;
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.appTop .brand > .tiny,
.appTop .brand > .muted,
.appTop .brand .tiny.muted {
  display: none !important;
}

.appTop .topInner {
  min-height: 86px !important;
  height: auto !important;
  align-items: center !important;
}

.appTop .topLeft {
  align-items: center !important;
}

@media (max-width: 820px) {
  .appTop .brand img,
  .appTop .brandLogoButton img,
  .appTop .headerBrandLogo,
  .appTop img[src*="jedistedi-logo-header"] {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
  }

  .appTop .topInner {
    min-height: 78px !important;
  }
}

/* OFFICIAL HEADER LOGO — final override */
.appTop .brandLogoButton {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

.appTop .brandLogoButton .headerBrandLogo,
.appTop img.headerBrandLogo,
.appTop img[src*="jedistedi-logo-header"] {
  display: block !important;
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
}

.appTop .brandLogoButton .wordmark,
.appTop .brandLogoButton .tiny,
.appTop .brandLogoButton .muted {
  display: none !important;
}

.appTop .topInner {
  min-height: 88px !important;
  height: auto !important;
  align-items: center !important;
}

.appTop .topLeft {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

@media (max-width: 820px) {
  .appTop .brandLogoButton .headerBrandLogo,
  .appTop img.headerBrandLogo,
  .appTop img[src*="jedistedi-logo-header"] {
    width: 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
  }

  .appTop .topInner {
    min-height: 78px !important;
  }
}

/* HERO SIZE FIX — exact right card size */
.homeHero {
  grid-template-columns: minmax(0, 1fr) 543px !important;
  align-items: stretch !important;
  gap: 36px !important;
}

#todayHeroCard,
.todayHero,
.landingIntroHero {
  width: 543px !important;
  min-width: 543px !important;
  max-width: 543px !important;
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;

  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: default !important;
  position: relative !important;
}

/* kill old inner content if still present */
#todayHeroCard .todayCopy,
#todayHeroCard .eyebrow,
#todayHeroCard h3,
#todayHeroCard p,
#todayHeroCard small,
#todayHeroCard .cta,
#todayHeroCard [data-recipe-id] {
  display: none !important;
}

/* hero illustration fills the card much more */
#todayHeroCard img,
.todayHero img,
.landingIntroHero img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.22) !important;
  transform-origin: center center !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* if the green background/panel wrapper is visible, keep it clean */
#todayHeroCard::before,
#todayHeroCard::after {
  pointer-events: none !important;
}

@media (max-width: 1100px) {
  .homeHero {
    grid-template-columns: 1fr !important;
  }

  #todayHeroCard,
  .todayHero,
  .landingIntroHero {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
  }
}

@media (max-width: 820px) {
  #todayHeroCard,
  .todayHero,
  .landingIntroHero {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }

  #todayHeroCard img,
  .todayHero img,
  .landingIntroHero img {
    transform: scale(1.16) !important;
  }
}

/* DIRECT FIX: landing intro illustration */
#todayHeroCard,
.todayHero,
.landingIntroHero,
.landingIntroVisual,
.landingIntroCard {
  width: 543px !important;
  min-width: 543px !important;
  max-width: 543px !important;
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* This is the actual image class from devtools */
img.landingIntroIllustration,
.landingIntroIllustration,
img[src="/assets/images/brand/jedistedi-landing-illustration.webp"] {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.32) !important;
  transform-origin: center center !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* Remove old interaction feel */
#todayHeroCard,
#todayHeroCard *,
.landingIntroHero,
.landingIntroHero *,
.landingIntroVisual,
.landingIntroVisual * {
  cursor: default !important;
}

@media (max-width: 1100px) {
  #todayHeroCard,
  .todayHero,
  .landingIntroHero,
  .landingIntroVisual,
  .landingIntroCard {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
  }
}

@media (max-width: 820px) {
  #todayHeroCard,
  .todayHero,
  .landingIntroHero,
  .landingIntroVisual,
  .landingIntroCard {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }

  img.landingIntroIllustration,
  .landingIntroIllustration,
  img[src="/assets/images/brand/jedistedi-landing-illustration.webp"] {
    transform: scale(1.20) !important;
  }
}

/* EXACT HERO VISUAL FIX — target real DOM */
article#todayHeroCard.card.todayHero.landingIntroHero {
  width: 543px !important;
  min-width: 543px !important;
  max-width: 543px !important;
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  display: block !important;
  cursor: default !important;
}

/* Hide the intro text/logo/buttons inside the right hero */
article#todayHeroCard .landingIntroCopy {
  display: none !important;
}

/* Make the actual image wrapper fill the full hero card */
article#todayHeroCard .landingIntroVisual {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Make the actual illustration big */
article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.75) !important;
  transform-origin: center center !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* Remove click/old meal behavior feel */
article#todayHeroCard,
article#todayHeroCard * {
  cursor: default !important;
}

/* Keep two-column layout desktop */
.homeHero {
  grid-template-columns: minmax(0, 1fr) 543px !important;
  gap: 36px !important;
  align-items: stretch !important;
}

@media (max-width: 1100px) {
  .homeHero {
    grid-template-columns: 1fr !important;
  }

  article#todayHeroCard.card.todayHero.landingIntroHero {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
  }

  article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
    transform: scale(1.55) !important;
  }
}

@media (max-width: 820px) {
  article#todayHeroCard.card.todayHero.landingIntroHero {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }

  article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
    transform: scale(1.35) !important;
  }
}

/* HERO BOTTOM WHITESPACE FIX */
article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
  transform: translateY(34px) scale(1.85) !important;
  transform-origin: center center !important;
}

/* Optional: make the card background feel intentional, not empty white */
article#todayHeroCard.card.todayHero.landingIntroHero {
  background: #fffaf1 !important;
}

@media (max-width: 1100px) {
  article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
    transform: translateY(24px) scale(1.60) !important;
  }
}

@media (max-width: 820px) {
  article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
    transform: translateY(18px) scale(1.42) !important;
  }
}

/* FINAL HERO MICRO-ADJUST */
article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
  transform: translateY(48px) scale(1.95) !important;
  transform-origin: center center !important;
}

/* reduce visible empty bottom feeling by making visual layer taller */
article#todayHeroCard .landingIntroVisual {
  top: -24px !important;
  bottom: -42px !important;
  height: auto !important;
}

@media (max-width: 1100px) {
  article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
    transform: translateY(34px) scale(1.70) !important;
  }
}

@media (max-width: 820px) {
  article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
    transform: translateY(24px) scale(1.48) !important;
  }
}

/* FINAL: make hero image fill the whole card */
article#todayHeroCard .landingIntroVisual {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: block !important;
}

article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  display: block !important;
}

/* keep the card exact */
article#todayHeroCard.card.todayHero.landingIntroHero {
  width: 543px !important;
  min-width: 543px !important;
  max-width: 543px !important;
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 1100px) {
  article#todayHeroCard.card.todayHero.landingIntroHero {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
  }
}

@media (max-width: 820px) {
  article#todayHeroCard.card.todayHero.landingIntroHero {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }
}

/* PANTRY SECTION — aesthetic downscale / polish */
.pantryIdeaBlock{
  margin: 36px 0 18px !important;
  padding: 0 4px !important;
}

.pantryIdeaHead h2{
  margin: 0 0 18px !important;
  font-size: clamp(34px, 4.2vw, 56px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.05em !important;
}

.pantryIdeaHead h2 em{
  margin-left: 8px !important;
  font-size: 0.42em !important;
}

.pantryIngredientGrid{
  gap: 12px 10px !important;
  margin-bottom: 34px !important;
  max-width: 980px !important;
}

.pantryIngredientPill{
  min-height: 42px !important;
  padding: 6px 18px !important;
  font-size: clamp(16px, 1.5vw, 24px) !important;
  border-width: 1px !important;
}

.pantryIngredientPill .dot{
  width: 8px !important;
  height: 8px !important;
}

.pantrySuggestionLayout{
  grid-template-columns: 320px minmax(0,1fr) !important;
  gap: 34px !important;
  align-items: start !important;
}

.pantryPrompt span{
  margin: 0 0 10px 4px !important;
  font-size: clamp(28px, 2.8vw, 42px) !important;
}

.pantryPrompt h2{
  font-size: clamp(42px, 4.6vw, 62px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.055em !important;
}

.pantryPrompt p{
  margin-top: 12px !important;
  font-size: 13px !important;
  max-width: 250px !important;
}

.pantrySuggestionRail{
  grid-auto-columns: minmax(280px, 340px) !important;
  gap: 18px !important;
  padding: 2px 28px 10px 0 !important;
}

.pantrySuggestionCard{
  min-height: 170px !important;
  padding: 22px 22px 20px !important;
  border-radius: 18px !important;
}

.pantrySuggestionCard h3{
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 1.08 !important;
  margin-bottom: 4px !important;
}

.pantrySuggestionCard p{
  font-size: clamp(14px, 1.15vw, 18px) !important;
  line-height: 1.08 !important;
}

.pantryRecipeMeta{
  gap: 10px !important;
}

.pantryRecipeMeta span{
  min-height: 36px !important;
  padding: 7px 13px !important;
  font-size: 12px !important;
}

.pantryRecipeMeta i{
  width: 7px !important;
  height: 7px !important;
}

@media (max-width: 980px){
  .pantrySuggestionLayout{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .pantryPrompt h2{
    font-size: clamp(36px, 9vw, 52px) !important;
  }

  .pantrySuggestionRail{
    grid-auto-columns: minmax(260px, 78vw) !important;
  }
}

@media (max-width: 640px){
  .pantryIdeaHead h2{
    font-size: 32px !important;
  }

  .pantryIngredientPill{
    min-height: 38px !important;
    padding: 6px 14px !important;
    font-size: 16px !important;
  }

  .pantryPrompt span{
    font-size: 26px !important;
  }

  .pantryPrompt h2{
    font-size: 38px !important;
  }

  .pantrySuggestionCard{
    min-height: 155px !important;
    padding: 18px !important;
  }
}

/* PANTRY CHIPS — match hero stat pill scale */
.pantryIngredientGrid {
  gap: 8px 8px !important;
  margin-bottom: 32px !important;
  max-width: 860px !important;
}

.pantryIngredientPill {
  min-height: 36px !important;
  height: 36px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  border: 1px solid var(--line, #ddd4c7) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 2px 7px rgba(37,48,58,.05) !important;

  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink, #25303a) !important;

  gap: 7px !important;
}

.pantryIngredientPill .dot {
  width: 7px !important;
  height: 7px !important;
  background: var(--ink, #25303a) !important;
}

.pantryIngredientPill.isActive {
  background: #fffaf1 !important;
  border-color: rgba(209,120,128,.55) !important;
  box-shadow: 0 0 0 2px rgba(209,120,128,.12) !important;
}

.pantryIngredientPill.isActive .dot {
  background: var(--coral, #dc7880) !important;
}

/* keep title readable but less huge now that chips are smaller */
.pantryIdeaHead h2 {
  margin-bottom: 18px !important;
  font-size: clamp(36px, 4.3vw, 58px) !important;
}

/* tighten whole top area */
.pantryIdeaBlock {
  margin-top: 34px !important;
}

@media (max-width: 640px) {
  .pantryIngredientGrid {
    gap: 7px !important;
  }

  .pantryIngredientPill {
    min-height: 34px !important;
    height: 34px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }

  .pantryIngredientPill .dot {
    width: 6px !important;
    height: 6px !important;
  }
}

/* PANTRY CHIPS — match hero stat pill scale */
.pantryIngredientGrid {
  gap: 8px 8px !important;
  margin-bottom: 32px !important;
  max-width: 860px !important;
}

.pantryIngredientPill {
  min-height: 36px !important;
  height: 36px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  border: 1px solid var(--line, #ddd4c7) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 2px 7px rgba(37,48,58,.05) !important;

  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink, #25303a) !important;

  gap: 7px !important;
}

.pantryIngredientPill .dot {
  width: 7px !important;
  height: 7px !important;
  background: var(--ink, #25303a) !important;
}

.pantryIngredientPill.isActive {
  background: #fffaf1 !important;
  border-color: rgba(209,120,128,.55) !important;
  box-shadow: 0 0 0 2px rgba(209,120,128,.12) !important;
}

.pantryIngredientPill.isActive .dot {
  background: var(--coral, #dc7880) !important;
}

/* keep title readable but less huge now that chips are smaller */
.pantryIdeaHead h2 {
  margin-bottom: 18px !important;
  font-size: clamp(36px, 4.3vw, 58px) !important;
}

/* tighten whole top area */
.pantryIdeaBlock {
  margin-top: 34px !important;
}

@media (max-width: 640px) {
  .pantryIngredientGrid {
    gap: 7px !important;
  }

  .pantryIngredientPill {
    min-height: 34px !important;
    height: 34px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }

  .pantryIngredientPill .dot {
    width: 6px !important;
    height: 6px !important;
  }
}

/* PANTRY FINAL POLISH — calmer typography and card subtitles */

/* Same handwritten style for "kod kuće" and "a sad..." */
.pantryIdeaHead h2 em,
.pantryPrompt span {
  font-family: Caveat, cursive !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink, #25303a) !important;
  transform: rotate(-2deg) !important;
}

/* Main top title: strong but not huge */
.pantryIdeaHead h2 {
  font-size: clamp(38px, 4.1vw, 56px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.055em !important;
  margin-bottom: 18px !important;
}

/* Keep chips compact like hero stats */
.pantryIngredientGrid {
  gap: 8px !important;
  margin-bottom: 38px !important;
  max-width: 920px !important;
}

.pantryIngredientPill {
  height: 34px !important;
  min-height: 34px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  gap: 7px !important;
}

.pantryIngredientPill .dot {
  width: 6px !important;
  height: 6px !important;
}

/* Give the left question enough width so it does not become one word per line */
.pantrySuggestionLayout {
  grid-template-columns: 360px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
}

.pantryPrompt {
  min-width: 0 !important;
}

.pantryPrompt span {
  display: block !important;
  margin: 0 0 10px 4px !important;
}

/* Main question: still bold, but controlled */
.pantryPrompt h2 {
  max-width: 360px !important;
  font-size: clamp(42px, 4.2vw, 58px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.06em !important;
}

/* The selected ingredient list under the big question is clutter. Hide it. */
.pantryPrompt p {
  display: none !important;
}

/* Recipe cards: smaller, calmer */
.pantrySuggestionRail {
  grid-auto-columns: minmax(285px, 335px) !important;
  gap: 18px !important;
  padding: 2px 36px 12px 0 !important;
}

.pantrySuggestionCard {
  min-height: 166px !important;
  padding: 22px 22px 20px !important;
  border-radius: 18px !important;
}

/* Recipe title */
.pantrySuggestionCard h3 {
  font-size: 22px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 6px !important;
}

/* Subtitle: "Koristi..." / "ušteda..." should NOT scream */
.pantrySuggestionCard p {
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  color: #bf6873 !important;
  max-width: 260px !important;
}

/* Meta chips inside cards */
.pantryRecipeMeta {
  gap: 8px !important;
}

.pantryRecipeMeta span {
  min-height: 32px !important;
  padding: 6px 11px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.pantryRecipeMeta i {
  width: 6px !important;
  height: 6px !important;
}

/* Slightly tighten whole section */
.pantryIdeaBlock {
  margin-top: 36px !important;
  margin-bottom: 20px !important;
}

@media (max-width: 980px) {
  .pantrySuggestionLayout {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .pantryPrompt h2 {
    max-width: 520px !important;
    font-size: clamp(38px, 8vw, 54px) !important;
  }

  .pantrySuggestionRail {
    grid-auto-columns: minmax(270px, 80vw) !important;
  }
}

@media (max-width: 640px) {
  .pantryIdeaHead h2 {
    font-size: 34px !important;
  }

  .pantryIdeaHead h2 em,
  .pantryPrompt span {
    font-size: 26px !important;
  }

  .pantryIngredientPill {
    height: 32px !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    font-size: 12px !important;
  }

  .pantryPrompt h2 {
    font-size: 38px !important;
  }

  .pantrySuggestionCard {
    min-height: 154px !important;
    padding: 18px !important;
  }
}

/* Hero CTA cleanup */
.homeHero .ghost,
.homeHero button.ghost,
.homeHero a.ghost,
.homeHero [data-cta="how-it-works"] {
  display: none !important;
}


/* Notification button: the real bell is inline SVG in index.html.
   Do not hide child content and do not fall back to the retired PNG/pseudo bell. */
.topActions .notificationTrigger {
  background: var(--js-paper-soft) !important;
  color: var(--js-ink) !important;
  font-size: 0 !important;
}
.topActions .notificationTrigger::before,
.topActions .notificationTrigger::after {
  content: none !important;
  display: none !important;
  background: none !important;
  clip-path: none !important;
}
.topActions .notificationTrigger > .notificationBellSvg {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.topActions .notificationTrigger > .notificationDot {
  opacity: 1 !important;
  visibility: visible !important;
}
.topActions .notificationTrigger > .notificationDot.hidden {
  display: none !important;
}


/* Landing section spacing polish */
#forYouHome,
#home {
  --landing-section-gap: 86px;
}

/* More breathing room between hero / today / pantry sections */
#forYouHome > section,
#home > section,
#forYouHome .section,
#home .section {
  margin-top: var(--landing-section-gap) !important;
}

/* Hero should not start too low */
#forYouHome > section:first-child,
#home > section:first-child,
#forYouHome .section:first-child,
#home .section:first-child {
  margin-top: 0 !important;
}

/* Today block needs stronger separation from previous content */
#homeMeals,
#homeMealsWrapper {
  margin-top: 28px !important;
}

/* Pantry block should breathe like a real section */
.pantryIdeaBlock {
  margin-top: 96px !important;
  padding-top: 0 !important;
}

/* Space between "Šta već imaš?" chips and "a sad..." */
.pantrySuggestionLayout {
  margin-top: 54px !important;
}

/* Pantry suggestion layout — bring recipe cards closer to prompt */
.pantrySuggestionLayout {
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 20px !important;
  margin-top: 38px !important;
  align-items: start !important;
}

.pantryPrompt h2 {
  max-width: 300px !important;
  font-size: clamp(40px, 4vw, 54px) !important;
  line-height: 0.92 !important;
}

.pantrySuggestionRail {
  padding-left: 0 !important;
  margin-left: 0 !important;
  grid-auto-columns: minmax(270px, 320px) !important;
}

/* When there is only one strong suggestion, keep it visually close */
.pantrySuggestionCard {
  max-width: 320px !important;
}

/* Pantry prompt typography final fix — avoid lonely "da" line */
.pantrySuggestionLayout {
  grid-template-columns: 360px minmax(0, 1fr) !important;
  gap: 18px !important;
  margin-top: 34px !important;
}

.pantryPrompt h2 {
  max-width: 360px !important;
  font-size: clamp(34px, 3.4vw, 46px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.055em !important;
}

.pantryPrompt span {
  font-size: 26px !important;
  margin-bottom: 8px !important;
}

.pantrySuggestionRail {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Give the Explore hero a bit more room below filters */
.exploreFilterWrap + * {
  margin-top: 22px !important;
}

/* Target Explore filter chips by structure without stretching the whole row */
#explore .chipRow,
#explore .filterRow,
#explore .filters,
#explore [class*="filter"],
#explore [class*="chips"] {
  max-width: 980px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px !important;
  row-gap: 10px !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* Explore page — final visual order spacing */
.exploreOrderQuick {
  margin-top: 34px !important;
  margin-bottom: 26px !important;
}

.exploreOrderSearch {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.exploreOrderFilters {
  margin-top: 0 !important;
  margin-bottom: 58px !important;
}

/* Explore reordered layout spacing */
#explore .catalogCategorySection {
  margin-top: 46px !important;
  margin-bottom: 28px !important;
}

#explore .catalogSearch {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

#explore #exploreFilters {
  margin-top: 0 !important;
  margin-bottom: 58px !important;
}

#explore .catalogResultsSection {
  margin-top: 0 !important;
}

/* Explore hero — cleaner hierarchy */
#explore .exploreHeroTitle {
  margin-top: 22px !important;
  margin-bottom: 42px !important;
  max-width: 760px !important;
}

#explore .catalogCategorySection {
  margin-top: 0 !important;
}

#explore .catalogCategorySection .sectionHead {
  margin-bottom: 22px !important;
}

#explore .catalogCategorySection .sectionHead h2 {
  max-width: 620px !important;
}

/* Home HERO is informational, not interactive */
#todayHeroCard,
#todayHeroCard img,
#todayHeroCard .todayCopy {
  cursor: default !important;
}

/* Plan summary — each card now represents a different decision */
#plan .planSummaryV2 {
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 12px !important;
}

#plan .planSummaryV2 .sum {
  min-height: 108px !important;
}

#plan .planSummaryV2 .sum > small {
  letter-spacing: .07em !important;
  font-weight: 850 !important;
}

#plan .planSummaryV2 .sum > b {
  margin-top: 8px !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
}

#plan #planBudgetMetric.good > b {
  color: var(--js-green) !important;
}

#plan #planBudgetMetric.overBudget > b {
  color: var(--js-coral) !important;
}

#plan #planMealScope {
  margin-top: 18px !important;
  font-weight: 700 !important;
}

@media (max-width: 900px) {
  #plan .planSummaryV2 {
    grid-template-columns: repeat(2, minmax(0,1fr)) !importan  
  }
}

@media (max-width: 560px) {
  #plan .planSummaryV2 {
    grid-template-colu ns: 1fr !important;
  }
}

/* Plan summary cleanup — hide redundant market-total card */
#planSavingLabel,
#planSaving,
#planSavingHint {
  pointer-events: none !important;
}

/* Hide the whole card that contains planSaving */
#plan .planSummaryV2 .sum:has(#planSaving) {
  display: none !important;
}

/* Rebalance remaining useful metrics */
#plan .planSummaryV2 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

@media (max-width: 800px) {
  #plan .planSummaryV2 {
    grid-template-columns: 1fr !important;
  }
}

/* Plan summary final wording */
#plan .planSummaryV2 .sum:has(#planCookingCount) > small {
  font-size: inherit !important;
}

#plan .planSummaryV2 .sum:has(#planCookingCount) > small::before,
#plan .planSummaryV2 .sum:has(#planCookingCount) > small::after {
  content: none !important;
}

/* =========================================================
   LISTA — compact supermarket mode
   ========================================================= */

#shopItems .shopItem {
  align-items: flex-start;
  padding-top: 13px;
  padding-bottom: 13px;
}

.shoppingCompactBody {
  min-width: 0;
  flex: 1;
}

.shoppingCompactMain {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.shoppingCompactPrice {
  font-weight: 700;
}

.shoppingMissingCompact {
  min-height: 44px !important;
  padding: 9px 12px !important;
  margin-top: 4px !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
}

#shoppingPane .receipt {
  align-self: start;
}

#shoppingPane .receipt .receiptRow {
  padding-top: 8px;
  padding-bottom: 8px;
}

#shoppingPane .receiptSave:empty {
  display: none;
}



/* PLAYWRIGHT HOME HERO POINTER SAFETY */
/* Home hero is informational only and must never sit above mobile navigation. */
#todayHeroCard,
#todayHeroCard * {
  pointer-events: none !important;
}


/* HOME HERO MOBILE POINTER LAYER FIX */
.homeHero {
  pointer-events: none !important;
}

.homeHero .savingHero,
.homeHero .savingHero * {
  pointer-events: auto !important;
}

.homeHero #todayHeroCard,
.homeHero #todayHeroCard * {
  pointer-events: none !important;
}


/* MOBILE NAV FINAL STACKING SAFETY */
#mainApp .mobileNav {
  position: fixed !important;
  z-index: 100000 !important;
  pointer-events: auto !important;
  isolation: isolate;
}

#mainApp .mobileNav,
#mainApp .mobileNav * {
  pointer-events: auto !important;
}

#forYouHome,
#home {
  z-index: auto !important;
}


/* BODY MOBILE NAV STACKING */
@media (max-width: 900px) {
  body > .mobileNav {
    position: fixed !important;
    z-index: 80 !important;
    pointer-events: auto !important;
  }

  body > .mobileNav * {
    pointer-events: auto !important;
  }

  #mainApp.hidden ~ .mobileNav {
    display: none !important;
  }
}

/* FINAL MOBILE NAV HIT LAYER */
@media (max-width: 900px) {
  body > .mobileNav {
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    isolation: isolate !important;
  }

  body > .mobileNav,
  body > .mobileNav * {
    pointer-events: auto !important;
  }

  #home,
  #forYouHome {
    pointer-events: none !important;
  }

  #home button,
  #home a,
  #home input,
  #home select,
  #home textarea,
  #home [onclick],
  #home [role="button"],
  #home .mealCard,
  #home .dealCard,
  #home .pantrySuggestionCard,
  #home [data-pantry-recipe-id] {
    pointer-events: auto !important;
  }
}

/* =========================================================
   MOBILE PRODUCTION POLISH — 2026-09-27
   Real-device fixes after first public Vercel release.
   ========================================================= */

@media (max-width: 700px) {

  /* -------------------------------------------------------
     1. NEVER let desktop composition widen the mobile page
     ------------------------------------------------------- */
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #mainApp,
  main.shell,
  .appView,
  #home,
  #forYouHome,
  #pantrySuggestionUx {
    min-width: 0 !important;
    max-width: 100% !important;
  }


  /* -------------------------------------------------------
     2. MOBILE HEADER — smaller, calmer
     ------------------------------------------------------- */
  .appTop .topInner {
    min-height: 64px !important;
    height: 64px !important;
  }

  .appT  .aprandLogoButton .headerBrandLogo,
  .appTop img.headerBrandLogo,
  .appTop img[src*="jedistedi-logo-header"] {
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
  }

  .appTop .topActions {
    gap: 7px !important;
  }

  .appTop .topActions .iconBtn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-width: 2px !important;
  }


  /* -------------------------------------------------------
     3. PANTRY SECTION — real mobile stack
     Desktop 360px + rail rule MUST NOT survive here.
     ------------------------------------------------------- */
  .pantryIdeaBlock {
    width: 100% !important;
    max-width: 100% !important;
    margin: 54px 0 30px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .pantryIdeaHead {
    width: 100% !important;
    min-width: 0 !important;
  }

  .pantryIdeaHead h2 {
    margin-bottom: 22px !important;
    font-size: 38px !important;
    line-height: .96 !important;
  }

  .pantryIdeaHead h2 em {
    font-size: 27px !important;
    margin-left: 7px !important;
  }

  .pantryIngredientGrid {
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px 8px !important;
    margin-bottom: 34px !important;
  }

  .pantryIngredientPill {
    min-height: 38px !important;
    height: auto !important;
    padding: 8px 13px !important;
    font-size: 15px !important;
    gap: 8px !important;
  }

  .pantrySuggestionLayout {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
  }

  .pantryPrompt {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
  }

  .pantryPrompt span {
    margin: 0 0 6px 3px !important;
    font-size: 27px !important;
  }

  .pantryPrompt h2 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 43px !important;
    line-height: .91 !important;
  }

  .pantryPrompt p {
    margin-top: 12px !important;
  }

  .pantrySuggestionRail {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;

    margin: 0 !important;
    padding: 4px 20px 12px 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pantrySuggestionRail::-webkit-scrollbar {
    display: none;
  }

  .pantrySuggestionCard {
    flex: 0 0 calc(100vw - 58px) !important;
    width: calc(100vw - 58px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 58px) !important;

    min-height: 170px !important;
    padding: 18px !important;

    scroll-snap-align: start !important;
  }


  /* -------------------------------------------------------
     4. PAGE HEADINGS — still bold, less billboard-sized
     ------------------------------------------------------- */
  #plan > h1,
  #explore > h1,
  #deals > h1,
  #lists > h1 {
    font-size: clamp(39px, 11vw, 46px) !important;
    line-height: .95 !important;
    letter-spacing: -.055em !important;
  }


  /* -------------------------------------------------------
     5. BOTTOM NAV
     Now that nav is physically outside #mainApp it does NOT
     need nuclear z-index anymore.
     ------------------------------------------------------- */
  body > .mobileNav {
    z-index: 90 !important;
    pointer-events: auto !important;
  }

  #home,
  #forYouHome {
    pointer-events: auto !important;
  }


  /* -------------------------------------------------------
     6. MODALS MUST sit above navigation
     ------------------------------------------------------- */
  #recipeOverlay.overlay {
    z-index: 5000 !important;
  }

  .miniOverlay {
    z-index: 5100 !important;
  }

  #jediBetaFeedback {
    z-index: 5200 !important;
  }

  #recipeOverlay.open {
    padding: 5px !important;
  }

  #recipeOverlay.open > .sheet {
    width: calc(100vw - 10px) !important;
    max-width: calc(100vw - 10px) !important;
    height: calc(100dvh - 10px) !important;
    max-height: calc(100dvh - 10px) !important;
    border-radius: 18px !important;
  }


  /* -------------------------------------------------------
     7. Leave enough real content space behind fixed nav
     ------------------------------------------------------- */
  #mainApp {
    padding-bottom: 118px !important;
  }

  .appView {
    padding-bottom: 34px !important;
  }
}


/* FINAL MOBILE HOME CLEANUP */
@media (max-width: 700px) {

  /* The secondary landing visual wastes ~320px on real phones. */
  #todayHeroCard,
  article#todayHeroCard.card.todayHero,
  article#todayHeroCard.card.todayHero.landingIntroHero {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #forYouHome .homeHero {
    display: block !important;
  }

  /* Bring real content directly after the weekly-plan hero. */
  #forYouHome > .section:first-of-type {
    margin-top: 36px !important;
  }
}


/* STABILIZATION FINAL: Add menu must not block persistent mobile navigation */
@media (max-width: 900px) {
  #addSheet.miniOverlay.open {
    inset: 0 0 calc(82px + var(--safe)) 0 !important;
  }
}

/* FINAL LOGO: onboarding/questionnaire header */
#onboarding .onTop {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  width: 100% !important;
}

#onboarding .onboardingBack {
  justify-self: start !important;
}

#onboarding #onSkip {
  justify-self: end !important;
}

#onboarding .onboardingBrand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 184px !important;
  height: 58px !important;
  min-width: 184px !important;
  overflow: visible !important;
}

#onboarding .onboardingBrandLogo {
  display: block !important;
  width: 300px !important;
  min-width: 300px !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  background: transparent !important;
}

@media (max-width: 600px) {
  #onboarding .onboardingBrand {
    width: 148px !important;
    min-width: 148px !important;
    height: 50px !important;
  }

  #onboarding .onboardingBrandLogo {
    width: 246px !important;
    min-width: 246px !important;
    max-width: none !important;
  }
}

/* FINAL NAV ICON SYSTEM — generated icon set, shared by desktop + mobile */
.navGlyph {
  display: block !important;
  flex: 0 0 auto !important;
  background-color: currentColor !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-repeat: no-repeat !important;
  mask-position: center !important;
  mask-size: contain !important;
}

.navGlyphHome {
  -webkit-mask-image: url("/assets/images/nav/nav-home.png?v=20260927-final-nav2") !important;
  mask-image: url("/assets/images/nav/nav-home.png?v=20260927-final-nav2") !important;
}
.navGlyphPlan {
  -webkit-mask-image: url("/assets/images/nav/nav-plan.png?v=20260927-final-nav2") !important;
  mask-image: url("/assets/images/nav/nav-plan.png?v=20260927-final-nav2") !important;
}
.navGlyphList {
  -webkit-mask-image: url("/assets/images/nav/nav-list.png?v=20260927-final-nav2") !important;
  mask-image: url("/assets/images/nav/nav-list.png?v=20260927-final-nav2") !important;
}
.navGlyphExplore {
  -webkit-mask-image: url("/assets/images/nav/nav-explore.png?v=20260927-final-nav2") !important;
  mask-image: url("/assets/images/nav/nav-explore.png?v=20260927-final-nav2") !important;
}
.navGlyphDeals {
  -webkit-mask-image: url("/assets/images/nav/nav-deals.png?v=20260927-final-nav2") !important;
  mask-image: url("/assets/images/nav/nav-deals.png?v=20260927-final-nav2") !important;
}

/* Desktop: same visual language as the reference, compact enough for the header. */
@media (min-width: 921px) {
  .desktopNav {
    display: flex !important;
    align-items: stretch !important;
    gap: 3px !important;
    padding: 4px !important;
    background: rgba(255,253,249,.80) !important;
    border: 1px solid rgba(217,216,209,.78) !important;
    border-radius: 22px !important;
    box-shadow: 0 8px 24px rgba(38,51,61,.055) !important;
  }

  .desktopNav button {
    min-width: 70px !important;
    min-height: 58px !important;
    padding: 6px 9px 5px !important;
    border: 0 !important;
    border-radius: 17px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #4B5662 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 1 !important;
    transition: background .16s ease, color .16s ease, transform .16s ease !important;
  }

  .desktopNav button:hover {
    background: rgba(207,125,130,.075) !important;
    transform: translateY(-1px) !important;
  }

  .desktopNav button.on {
    color: var(--js-coral-strong) !important;
    background:
      radial-gradient(circle at 50% 35%,rgba(229,185,184,.34),transparent 72%),
      rgba(207,125,130,.11) !important;
  }

  .desktopNav button.on:after {
    content: none !important;
    display: none !important;
  }

  .desktopNav .navGlyph {
    width: 22px !important;
    height: 22px !important;
  }

  .desktopNav .navText {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    white-space: nowrap !important;
  }
}

/* Mobile: rounded floating five-tab pill like the supplied reference. */
@media (max-width: 920px) {
  body > .mobileNav {
    display: grid !important;
    grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    gap: 3px !important;
    left: 50% !important;
    bottom: max(9px,var(--safe)) !important;
    transform: translateX(-50%) !important;
    width: min(560px,calc(100% - 16px)) !important;
    padding: 7px !important;
    background: rgba(255,253,249,.965) !important;
    border: 1px solid rgba(217,216,209,.72) !important;
    border-radius: 29px !important;
    box-shadow:
      0 16px 38px rgba(38,51,61,.13),
      0 2px 8px rgba(38,51,61,.055) !important;
    backdrop-filter: blur(22px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.08) !important;
  }

  body > .mobileNav button {
    min-width: 0 !important;
    min-height: 64px !important;
    padding: 7px 2px 6px !important;
    border: 0 !important;
    border-radius: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    color: #4B5662 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: 'DM Sans',Outfit,system-ui,sans-serif !important;
    line-height: 1 !important;
    transition: background .16s ease, color .16s ease, transform .16s ease !important;
  }

  body > .mobileNav button:active {
    transform: scale(.97) !important;
  }

  body > .mobileNav button.on {
    color: #E4676D !important;
    background:
      radial-gradient(circle at 50% 32%,rgba(239,116,116,.13),transparent 76%),
      rgba(229,185,184,.18) !important;
  }

  body > .mobileNav .navGlyph {
    width: 27px !important;
    height: 27px !important;
  }

  body > .mobileNav .navText {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: -.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }
}

@media (max-width: 370px) {
  body > .mobileNav {
    gap: 1px !important;
    padding: 6px !important;
  }

  body > .mobileNav button {
    min-height: 60px !important;
    border-radius: 19px !important;
    gap: 4px !important;
  }

  body > .mobileNav .navGlyph {
    width: 24px !important;
    height: 24px !important;
  }

  body > .mobileNav .navText {
    font-size: 10.5px !important;
  }
}

/* NAV HOTFIX 2026-09-27
   Desktop returns to the original text navigation.
   Mobile keeps the five-icon floating navigation.
   Akcije uses a clean vector mask to avoid PNG alpha artefacts. */

/* Clean price-tag glyph: vector mask, no raster artefacts. */
.navGlyphDeals {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M34 9h17a5 5 0 0 1 5 5v17L31 56a5.5 5.5 0 0 1-7.8 0L8 40.8a5.5 5.5 0 0 1 0-7.8L34 9Z' fill='none' stroke='black' stroke-width='5' stroke-linejoin='round'/%3E%3Ccircle cx='46' cy='19' r='3.8' fill='black'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M34 9h17a5 5 0 0 1 5 5v17L31 56a5.5 5.5 0 0 1-7.8 0L8 40.8a5.5 5.5 0 0 1 0-7.8L34 9Z' fill='none' stroke='black' stroke-width='5' stroke-linejoin='round'/%3E%3Ccircle cx='46' cy='19' r='3.8' fill='black'/%3E%3C/svg%3E") !important;
}

/* Desktop: restore the original compact text-only header nav. */
@media (min-width: 921px) {
  .desktopNav {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .desktopNav button {
    min-width: auto !important;
    min-height: auto !important;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 13px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    color: var(--js-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    line-height: 1.2 !important;
    position: relative !important;
    z-index: 0 !important;
  }

  .desktopNav button:hover {
    background: transparent !important;
    transform: none !important;
  }

  .desktopNav .navGlyph {
    display: none !important;
  }

  .desktopNav .navText {
    display: inline !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .desktopNav button.on {
    color: var(--js-ink) !important;
    background: transparent !important;
  }

  .desktopNav button.on:after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 1px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: var(--js-coral) !important;
    opacity: .85 !important;
    transform: rotate(-1deg) !important;
    z-index: -1 !important;
  }
}

/* Mobile: make sure the repaired Akcije icon matches the other glyphs exactly. */
@media (max-width: 920px) {
  body > .mobileNav .navGlyphDeals {
    width: 27px !important;
    height: 27px !important;
  }
}

@media (max-width: 370px) {
  body > .mobileNav .navGlyphDeals {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Legacy circular notification artwork removed: notificationTrigger owns the inline SVG. */

/* BEGIN 3/7: equal plan action buttons */
.slot .slotPrepare {
  width: 128px !important;
  min-width: 128px !important;
  max-width: 128px !important;
  height: 40px !important;
  min-height: 40px !important;

  padding: 0 12px !important;
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 12px !important;
  line-height: 1 !important;
}

/* Keep leftover action visually different, dimensions identical */
.slot.leftoverSlot .slotPrepare.leftoverAction {
  width: 128px !important;
  min-width: 128px !important;
  max-width: 128px !important;
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 12px !important;
}

/* On mobile both actions fill the same available column */
@media (max-width:760px) {
  .slot .slotPrepare,
  .slot.leftoverSlot .slotPrepare.leftoverAction {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 12px !important;
  }
}
/* END 3/7: equal plan action buttons */\n\n\n

/* BEGIN 6/7: compact cards + spacing between cards */

/* Do not use flex gap for the whole group */
#shopItems .shopStoreGroup {
  display: block !important;
}

/* Compact padding inside each ingredient card */
#shopItems .shopItem {
  padding: 12px 14px !important;
  margin: 0 !important;

  column-gap: 11px !important;
  row-gap: 0 !important;

  border: 1px solid var(--js-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
}

/* THIS is the actual space between ingredient cards */
#shopItems .shopItem + .shopItem {
  margin-top: 14px !important;
}

/* Keep checkbox comfortably inside the card */
#shopItems .shopItem .check {
  margin-top: 1px !important;
}

/* Restore compact normal content flow */
#shopItems .shoppingCompactBody {
  display: block !important;
}

#shopItems .shoppingCompactMain {
  margin-top: 2px !important;
  gap: 7px !important;
}

#shopItems .itemMeta {
  margin-top: 2px !important;
}

/* Keep "Nema u radnji" compact instead of stretched */
#shopItems .shoppingMissingCompact {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;

  min-height: 36px !important;
  padding: 6px 10px !important;

  margin-top: 6px !important;
  margin-bottom: 0 !important;

  align-items: center !important;
  justify-content: center !important;
}

/* Keep barcode row compact and close */
#shopItems .barcodeShopActions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;

  margin-top: 6px !important;
}

#shopItems .barcodeShopActions .barcodeActionButton {
  min-height: 36px !important;
  padding: 6px 10px !important;
}

@media (max-width:760px) {
  #shopItems .shopItem {
    padding: 11px 12px !important;
  }

  #shopItems .shopItem + .shopItem {
    margin-top: 12px !important;
  }
}

/* END 6/7: compact cards + spacing between cards */

/* BEGIN: shopping two-action row */

#shopItems .shoppingProductActions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;

  width: min(100%, 340px) !important;
  margin-top: 7px !important;
}

/* Both buttons use exactly the same geometry */
#shopItems .shoppingProductActions .shoppingMissingCompact,
#shopItems .shoppingProductActions .shoppingBarcodeButton {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  height: 40px !important;
  min-height: 40px !important;

  margin: 0 !important;
  padding: 0 12px !important;

  box-sizing: border-box !important;
  border-radius: 12px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

/* Old shopping label is no longer needed */
#shopItems .exactSkuBadge {
  display: none !important;
}

/* END: shopping two-action row */

/* Make "Nema u radnji" match the barcode button */
#shopItems .shoppingProductActions .shoppingMissingCompact {
  border: 1px solid var(--js-line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

/* BEGIN 7/7: Pametno box inner padding */

#shoppingInsights .suggest,
#shoppingInsights .suggestion {
  padding: 18px 20px !important;
  box-sizing: border-box !important;
}

@media (max-width:760px) {
  #shoppingInsights .suggest,
  #shoppingInsights .suggestion {
    padding: 16px !important;
  }
}

/* END 7/7: Pametno box inner padding */

/* BEGIN: contextual shopping selection bar */

.shoppingSelectionBar[hidden] {
  display: none !important;
}

.shoppingSelectionBar {
  position: fixed !important;
  left: 50% !important;
  bottom: 22px !important;
  transform: translateX(-50%) !important;

  z-index: 110 !important;

  width: min(560px, calc(100% - 32px)) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;

  padding: 10px 12px !important;

  background: rgba(255,253,248,.97) !important;
  border: 1px solid var(--js-line) !important;
  border-radius: 18px !important;

  box-shadow: 0 12px 34px rgba(38,51,61,.18) !important;
  backdrop-filter: blur(16px) !important;
}

#shoppingSelectionCount {
  font-weight: 800 !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

.shoppingSelectionActions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.shoppingSelectionActions button {
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

.shoppingSelectionActive #shopItems {
  padding-bottom: 92px !important;
}

@media (max-width:760px) {
  .shoppingSelectionBar {
    bottom: calc(88px + var(--safe)) !important;
    width: calc(100% - 24px) !important;

    padding: 9px 10px !important;
    gap: 8px !important;
  }

  #shoppingSelectionCount {
    font-size: 12px !important;
  }

  .shoppingSelectionActions {
    gap: 6px !important;
  }

  .shoppingSelectionActions button {
    min-height: 38px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  .shoppingSelectionActive #shopItems {
    padding-bottom: 105px !important;
  }
}

/* END: contextual shopping selection bar */


/* HOTFIX 2026-09-29: restore the actual Home hero illustration.
   Older blanket rules hide every descendant with visibility:hidden!important.
   Keep the obsolete copy hidden, but make the visual wrapper + image visible. */
article#todayHeroCard.card.todayHero.landingIntroHero::before{
  content:none!important;
  display:none!important;
}
article#todayHeroCard.card.todayHero.landingIntroHero .landingIntroCopy{
  display:none!important;
  visibility:hidden!important;
}
article#todayHeroCard.card.todayHero.landingIntroHero .landingIntroVisual,
article#todayHeroCard.card.todayHero.landingIntroHero .landingIntroVisual *{
  visibility:visible!important;
  opacity:1!important;
}
article#todayHeroCard.card.todayHero.landingIntroHero .landingIntroVisual{
  display:block!important;
}
article#todayHeroCard.card.todayHero.landingIntroHero{
  background:#fffaf1!important;
}
article#todayHeroCard.card.todayHero.landingIntroHero .landingIntroVisual{
  background:#fffaf1!important;
}
article#todayHeroCard.card.todayHero.landingIntroHero .landingIntroVisual img.landingIntroIllustration{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}

/* Recipe footer actions use one shape; hierarchy comes from color, not geometry. */
#recipeOverlay .sheetFooter #recipeSecondaryAction,
#recipeOverlay .sheetFooter #recipePrimaryAction{
  border-radius:22px!important;
}

/* Onboarding mobile: keep Back + logo + Skip visible together */
@media (max-width: 600px) {
  #onboarding .onTop {
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 8px !important;
  }

  #onboarding .onboardingBrand {
    width: auto !important;
    min-width: 0 !important;
  }

  #onboarding .onboardingBrandLogo {
    width: min(230px, 55vw) !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #onboarding #onSkip {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 8px 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }
}

/* Onboarding secondary exit action */
#onboarding .onBottom #onSkip{
  display:block !important;
  width:max-content !important;
  margin:0 auto 10px !important;
  padding:8px 18px !important;
  border:0 !important;
  background:transparent !important;
  color:var(--coral2) !important;
  font-weight:900 !important;
  text-align:center !important;
  white-space:nowrap !important;
}

/* Short recipe cards: one checkout estimate, details in recipe sheet. */
.mealCard .mealPad .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px!important}
.mealCard .mealPad .priceLine{margin:14px 0 4px!important;display:flex;flex-direction:column;gap:4px;color:var(--js-ink)!important}
.mealCard .mealPriceLabel{font:650 12px/1.3 'DM Sans',system-ui,sans-serif;color:var(--js-muted)}
.mealCard .mealPriceAmount{font:900 28px/1.12 'Sora','DM Sans',sans-serif;letter-spacing:-.045em;color:var(--js-ink);margin:0!important}
.mealCard .mealPriceUnavailable{font-size:13px;font-weight:700;color:var(--js-muted)}
@media(max-width:700px){
  .homeMarketComparison{gap:8px}
  .homeCompareStore{flex-basis:140px;padding:10px 12px}
  .homeCompareStore small{font-size:12px}
  .homeCompareStore b{font-size:20px}
}

/* JediŠtedi public beta pilot */
#jediBetaPilot{
  margin:10px auto 14px;
  width:min(1180px,calc(100% - 24px));
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(37,48,58,.12);
  border-radius:15px;
  background:rgba(248,243,234,.94);
  box-shadow:0 8px 24px rgba(38,51,61,.06);
  color:#25303a;
}
#jediBetaPilot .betaPilotCopy{
  min-width:0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 9px;
}
#jediBetaPilot .betaPilotBadge{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  background:#25303a;
  color:#fff;
}
#jediBetaPilot .betaPilotStatus{
  font-size:12px;
  line-height:1.3;
  font-weight:750;
}
#jediBetaPilot .betaPilotFreshness{
  font-size:11px;
  line-height:1.3;
  opacity:.72;
}
#jediBetaPilot .betaPilotActions{
  display:flex;
  gap:7px;
  flex:0 0 auto;
}
#jediBetaPilot button{
  min-height:34px;
  padding:7px 10px;
  border-radius:11px;
  border:1px solid rgba(37,48,58,.14);
  background:#fff;
  color:#25303a;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
#jediBetaPilot .betaPilotInfoToggle{
  min-height:24px;
  min-width:24px;
  padding:0 4px;
  border:0;
  background:transparent;
  border-radius:999px;
  font-size:17px;
  line-height:1;
  color:#54626a;
}
#jediBetaPilot .betaPilotInfoText{
  flex-basis:100%;
  color:#5c686c;
  font-size:11px;
  line-height:1.4;
  font-weight:500;
}
#jediBetaPilot .betaPilotInfoText[hidden]{display:none!important}
#jediBetaPilot button:hover{transform:translateY(-1px)}
#jediInstallButton[hidden]{display:none!important}

#jediBetaFeedback{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:flex-end;
  justify-content:center;
  padding:16px;
  background:rgba(20,26,31,.46);
}
#jediBetaFeedback.open{display:flex}
#jediBetaFeedback .betaFeedbackSheet{
  width:min(560px,100%);
  max-height:min(82dvh,760px);
  overflow:auto;
  box-sizing:border-box;
  padding:20px;
  border-radius:22px;
  background:#fffdf8;
  color:#25303a;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}
#jediBetaFeedback .betaFeedbackHead{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
#jediBetaFeedback h3{margin:4px 0 5px;font-size:24px}
#jediBetaFeedback p{margin:0}
#jediBetaFeedback .betaFeedbackClose{
  border:0;
  background:transparent;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
#jediBetaFeedback .betaFeedbackField{
  display:block;
  margin-top:16px;
  font-size:12px;
  font-weight:850;
}
#jediBetaFeedback textarea,
#jediBetaFeedback select{
  width:100%;
  box-sizing:border-box;
  margin-top:7px;
  padding:11px 12px;
  border:1px solid rgba(37,48,58,.16);
  border-radius:12px;
  background:#fff;
  color:#25303a;
  font:inherit;
}
#jediBetaFeedback textarea{min-height:110px;resize:vertical}
#jediBetaFeedback .betaRating{
  display:flex;
  gap:7px;
  margin-top:8px;
}
#jediBetaFeedback .betaRating button{
  flex:1;
  min-height:40px;
  border:1px solid rgba(37,48,58,.14);
  border-radius:11px;
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
#jediBetaFeedback .betaRating button.on{
  background:#25303a;
  color:#fff;
}
#jediBetaFeedback .betaFeedbackSend{
  width:100%;
  margin-top:18px;
  min-height:46px;
  border:0;
  border-radius:13px;
  background:#cf7d82;
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
#jediBetaFeedback .betaFeedbackHint{
  margin-top:9px;
  font-size:11px;
  line-height:1.4;
  opacity:.7;
}

@media (max-width:700px){
  #jediBetaPilot{
    align-items:flex-start;
    flex-direction:column;
  }
  #jediBetaPilot .betaPilotActions{
    width:100%;
  }
  #jediBetaPilot .betaPilotActions button{
    flex:1;
  }
}

/* =========================================================
   MOBILE BETA BAR — compact real-device version
   ========================================================= */

@media (max-width: 700px) {
  #jediBetaPilot {
    width: calc(100% - 16px);
    margin: 6px auto 8px;
    padding: 8px 10px;

    gap: 7px;
    border-radius: 12px;

    flex-direction: column;
    align-items: stretch;
  }

  #jediBetaPilot .betaPilotCopy {
    gap: 4px 7px;
  }

  #jediBetaPilot .betaPilotBadge {
    min-height: 21px;
    padding: 0 7px;
    font-size: 9px;
  }

  #jediBetaPilot .betaPilotStatus {
    font-size: 11px;
    line-height: 1.2;
  }

  #jediBetaPilot .betaPilotFreshness {
    width: 100%;
    font-size: 10px;
  }

  #jediBetaPilot .betaPilotActions {
    width: 100%;
    gap: 6px;
  }

  #jediBetaPilot .betaPilotActions button {
    min-height: 31px;
    padding: 5px 8px;
    font-size: 10px;
    border-radius: 9px;
  }
}

/* HTML hidden must win over the generic feedback field display rule. */
#jediResearchReasonField[hidden],
#jediResearchContactField[hidden]{display:none!important}
#jediResearchContactField:not([hidden]){display:flex;align-items:flex-start;gap:8px;line-height:1.5}
#jediResearchContact{flex:0 0 auto;min-width:18px;min-height:18px;margin:0}

/* JediŠtedi product pass 2026-09-29 */
.planIntentBar{
  display:grid;
  grid-template-columns:minmax(130px,.9fr) minmax(260px,1.6fr) minmax(120px,.8fr) auto;
  gap:10px;
  align-items:end;
  margin:14px 0 18px;
  padding:14px;
}
.planIntentField{display:flex;flex-direction:column;gap:6px;min-width:0}
.planIntentField>span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.planIntentField select{
  width:100%;
  min-height:42px;
  border:1px solid var(--line,#ddd3c6);
  border-radius:12px;
  background:var(--paper,#fffaf1);
  padding:0 10px;
  font:inherit;
}
.planMealToggles{display:flex;gap:7px;flex-wrap:wrap}
.planMealToggles button{
  min-height:42px;
  border:1px solid var(--line,#ddd3c6);
  border-radius:999px;
  padding:0 13px;
  background:transparent;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.planMealToggles button.sel{background:#fff;border-color:currentColor;box-shadow:inset 0 0 0 1px currentColor}
.planIntentMore{min-height:42px;white-space:nowrap}
.planPreferencesSheet .preferenceGroup{margin-top:18px}
.planPreferencesSheet .preferenceGroup h4{margin:0 0 7px}
.planPreferenceChips{display:flex;gap:8px;flex-wrap:wrap}
.planPreferenceChips button{
  border:1px solid var(--line,#ddd3c6);
  background:transparent;
  border-radius:999px;
  padding:9px 12px;
  font:inherit;
  cursor:pointer;
}
.planPreferenceChips button.sel{background:#fff;border-color:currentColor;box-shadow:inset 0 0 0 1px currentColor}
.preferenceNote{margin-top:16px;padding:12px;border-radius:12px;background:rgba(255,255,255,.55)}
.manualShoppingExtras{margin-top:16px;border-top:1px dashed var(--line,#ddd3c6);padding-top:12px}
.manualShoppingHead{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:8px}
.manualShoppingHead span{font-size:11px;opacity:.65}
.manualShoppingRow{display:grid;grid-template-columns:28px 1fr 28px;gap:9px;align-items:center;padding:8px 0}
.manualShoppingRow.done span{text-decoration:line-through;opacity:.55}
.manualShoppingCheck,.manualShoppingRemove{width:28px;height:28px;border:1px solid var(--line,#ddd3c6);border-radius:9px;background:transparent;cursor:pointer}
.manualShoppingRemove{border:0;font-size:20px}
.manualShoppingAdd{margin-top:12px}
.betaFeedbackStatus{min-height:20px;margin:10px 0 0;font-size:13px}
.betaFeedbackStatus.success{font-weight:700}
.betaFeedbackShareSecondary{width:100%;margin-top:8px}
@media(max-width:900px){
  .planIntentBar{grid-template-columns:1fr 1fr}
  .planIntentMeals{grid-column:1/-1}
  .planIntentMore{width:100%}
}
@media(max-width:560px){
  .planIntentBar{grid-template-columns:1fr;gap:12px;padding:12px}
  .planIntentMeals{grid-column:auto}
  .planMealToggles{display:grid;grid-template-columns:repeat(3,1fr)}
  .planMealToggles button{padding:0 7px;font-size:13px}
  .manualShoppingHead{align-items:flex-start;flex-direction:column;gap:2px}
}
/* Keep advanced plan preferences usable on short/mobile viewports. */
.planPreferencesSheet{
  max-height:calc(100dvh - 16px);
  overflow-y:auto;
  overscroll-behavior:contain;
  box-sizing:border-box;
}

.planPreferencesSheet > .formSubmit{
  position:sticky;
  bottom:0;
  z-index:4;
}

.planPreferencesSheet .formSubmit:disabled,
.planPreferenceChips button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.planPreferenceChips button:disabled{
  box-shadow:none;
}


/* Lightweight household control for users who skipped onboarding. */
.quickPeopleSelect{
  appearance:auto;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:inherit;
  padding:0;
  margin:0;
  cursor:pointer;
  max-width:120px;
}

/* JediŠtedi UI icon system — 2026-09-29 */
.uiIcon{display:block;width:28px;height:28px;object-fit:contain;flex:0 0 auto}
.uiIcon.small{width:22px;height:22px}
.uiIcon.chevron{width:18px;height:18px}
.uiIcon.closeIcon{width:24px;height:24px}
.uiIconBadge{
  width:48px;height:48px;border-radius:16px;display:grid;place-items:center;
  background:rgba(255,255,255,.76);border:1px solid rgba(37,48,58,.08);
  flex:0 0 auto;
}
.uiIconBadge.coral{background:rgba(220,120,128,.10)}
.uiIconBadge.green{background:rgba(139,181,125,.14)}
.uiIconBadge img{width:30px;height:30px;object-fit:contain}

.topActions .iconBtn.uiAssetButton{
  font-size:0!important;
}
.topActions .iconBtn.uiAssetButton:before,
.topActions .iconBtn.uiAssetButton:after{
  content:none!important;display:none!important;
}
.topActions .iconBtn.uiAssetButton img{
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  max-width:24px!important;max-height:24px!important;
}

.accountV2Sheet{padding-bottom:20px}
.accountV2Sheet .accountSpark{
  display:flex;align-items:center;gap:12px;padding:14px 16px!important;
}
.accountSparkIcon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto}
.accountSparkIcon img{width:32px;height:32px}
.accountSparkCopy{display:grid;gap:2px;min-width:0}
.accountSparkCopy strong{font-size:16px;line-height:1.1}
.accountSparkCopy small{display:block!important;color:var(--muted);font-size:11px}
.accountMiniStats>span{
  display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;
  align-items:center;column-gap:7px;padding:10px 8px!important;
}
.accountMiniStats>span>img{grid-row:1/3;width:26px;height:26px}
.accountMiniStats>span>b{font-size:18px;line-height:1}
.accountMiniStats>span>small{font-size:10px!important}
.accountV2Sheet .miniOption.uiMenuRow:not(.hidden),
.planActionSheet .miniOption.uiMenuRow:not(.hidden){
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px;text-align:left;
}
.uiMenuMain{display:flex;align-items:center;gap:12px;min-width:0}
.uiMenuCopy{display:grid;gap:2px;min-width:0}
.uiMenuCopy b{font-size:15px;line-height:1.15;color:var(--ink)}
.uiMenuCopy small{font-size:11px;line-height:1.25;color:var(--muted);font-weight:700}
.accountV2Sheet .miniOption.uiMenuRow{padding:11px 4px!important}
.planActionSheet .miniOption.uiMenuRow{padding:14px 4px!important;min-height:68px}
.planActionSheet .miniOption.uiMenuRow.primaryAction{
  margin:6px 0;padding:12px!important;border:1px solid rgba(220,120,128,.18)!important;
  background:rgba(220,120,128,.06)!important;border-radius:18px!important;
}
.planActionSheet .miniOption.uiMenuRow.primaryAction + .miniOption{border-top:0}
.accountNotificationRow{
  margin:10px 0 6px!important;border:1px solid rgba(37,48,58,.08)!important;
  background:rgba(242,247,250,.65)!important;border-radius:17px!important;padding:12px!important;
}
.accountNotificationRow .uiMenuCopy small{max-width:360px}

.notificationsSheet{max-width:520px}
.notificationHero{
  display:flex;align-items:center;gap:14px;padding:14px 4px 18px;
}
.notificationHero .uiIconBadge{width:54px;height:54px;border-radius:18px;background:rgba(242,247,250,.9)}
.notificationHero .uiIconBadge img{width:34px;height:34px}
.notificationHero h3{margin:0 0 3px}
.notificationEmptyCard{
  padding:18px;border:1px solid rgba(37,48,58,.08);border-radius:18px;
  background:rgba(255,255,255,.68);display:grid;gap:7px;
}
.notificationEmptyCard b{font-size:16px}
.notificationFuture{
  display:grid;gap:8px;margin-top:12px;padding:14px 2px 0;
}
.notificationFuture span{
  display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;font-weight:800;
}
.notificationFuture img{width:20px;height:20px}

@media(max-width:600px){
  .uiIconBadge{width:44px;height:44px;border-radius:14px}
  .uiIconBadge img{width:28px;height:28px}
  .uiMenuCopy b{font-size:14px}
  .uiMenuCopy small{font-size:10px}
}

.uiFallbackProfile{object-fit:contain!important;padding:5px!important;box-sizing:border-box}
#accountButton .uiFallbackProfile{padding:2px!important}
.planSlotMeta{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
  margin:4px 0 12px;
}
.planSlotMeta>span{
  min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;
  padding:8px 9px;border-radius:14px;background:rgba(248,242,234,.88);
  border:1px solid rgba(37,48,58,.07);font-size:12px;font-weight:900;color:var(--ink);
}
.planSlotMeta img{width:23px;height:23px;object-fit:contain}
.planActionSheet .formSheetHead .iconBtn.uiAssetButton img{
  width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;
}
@media(max-width:460px){
  .planSlotMeta{gap:6px}
  .planSlotMeta>span{font-size:10px;padding:7px 5px}
  .planSlotMeta img{width:21px;height:21px}
}

.iconBtn.uiAssetButton > img{
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  max-width:24px!important;max-height:24px!important;object-fit:contain!important;display:block!important;
}


/* 2026-09-29 mobile account + notifications stabilization */
.uiMenuRow.hidden{
  display:none!important;
}
.notificationTrigger{
  position:relative!important;
  background-color:var(--js-paper-soft,#fffaf1)!important;
  background-image:none!important;
}
.notificationTrigger:before,
.notificationTrigger:after{
  content:none!important;
  display:none!important;
}
.notificationDot{
  position:absolute;
  top:7px;
  right:7px;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#E94D5B;
  border:2px solid #fffaf1;
  box-shadow:0 0 0 1px rgba(16,38,59,.08);
}
.notificationDot.hidden{display:none!important}

.accountV2Head{
  position:relative;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:start!important;
}
.accountIdentity{min-width:0}
.accountSheetClose{
  align-self:start;
  justify-self:end;
  margin-left:8px;
}
.accountSheetClose img{
  width:22px!important;
  height:22px!important;
}

.notificationSheetHead{
  align-items:flex-start!important;
}
.notificationFeed{
  display:grid;
  gap:10px;
}
.notificationItem{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:15px;
  border:1px solid rgba(37,48,58,.09);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  box-shadow:0 5px 16px rgba(37,48,58,.05);
}
.notificationItem.isUnread{
  border-color:rgba(233,77,91,.22);
  background:rgba(247,199,195,.14);
}
.notificationItemCopy{
  min-width:0;
  display:grid;
  gap:5px;
}
.notificationItemTop{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:space-between;
}
.notificationItemTop b{
  font-size:15px;
  line-height:1.2;
}
.notificationItemCopy p{
  margin:0;
  color:var(--ink);
  font-size:13px;
  line-height:1.4;
  font-weight:700;
}
.notificationItemCopy small{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}
.notificationNewBadge{
  flex:0 0 auto;
  padding:4px 7px;
  border-radius:999px;
  background:#E94D5B;
  color:white;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
}
.notificationNewBadge.hidden{display:none!important}

.addActionSheet .formSheetHead{
  margin-bottom:4px;
}
.addActionSheet .miniOption.uiMenuRow{
  min-height:72px;
  padding:12px 4px!important;
}
.addActionSheet .uiMenuCopy b{
  font-size:15px;
}

@media(max-width:600px){
  .accountV2Sheet{
    padding-top:8px!important;
  }
  .accountV2Head{
    grid-template-columns:52px minmax(0,1fr) 44px!important;
    gap:10px!important;
  }
  .accountSheetClose{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
  }
  .notificationTrigger{
    background-size:22px 22px!important;
  }
  .notificationItem{
    padding:13px;
  }
}

.notificationTrigger .notificationBellSvg{
  display:block!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  flex:0 0 24px!important;
  overflow:visible!important;
  pointer-events:none!important;
  opacity:1!important;
  visibility:visible!important;
}
@media(max-width:760px){
  .notificationTrigger .notificationBellSvg{
    width:22px!important;height:22px!important;
    min-width:22px!important;min-height:22px!important;
    max-width:22px!important;max-height:22px!important;
  }
}

/* Keep menu chevrons pinned right on narrow mobile sheets. */
.miniOption.uiMenuRow{
  width:100%!important;
}
.miniOption.uiMenuRow .uiMenuMain{
  flex:1 1 auto!important;
}
.miniOption.uiMenuRow > .uiIcon.chevron{
  margin-left:auto!important;
  flex:0 0 auto!important;
}

/* Brand-colored progress feedback. Does not obscure a usable app after boot. */
.jedi-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fbf6ec;
  color: #25303a;
  text-align: center;
  transition: opacity .35s ease, visibility .35s ease;
}
.jedi-loading-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: radial-gradient(#d4c7ad 1px, transparent 1px);
  background-size: 17px 17px;
  pointer-events: none;
}
.jedi-loading-screen[hidden], .jedi-plan-action-loader[hidden], .jedi-meal-action-loader[hidden] { display: none !important; }
.jedi-loading-screen.is-ready { opacity: 0; visibility: hidden; pointer-events: none; }
.jedi-loading-content { position: relative; width: min(100%, 420px); }
.jedi-loading-art { display: block; width: min(65vw, 230px); margin: 0 auto 8px; filter: drop-shadow(0 18px 14px #526b3b20); animation: jedi-bowl-bob 1.8s ease-in-out infinite; }
.jedi-loading-kicker { color: #496335; font-size: 13px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 11px; }
.jedi-loading-screen h2 { margin: 0 0 12px; font-size: clamp(25px, 5.5vw, 36px); font-weight: 900; line-height: 1.13; letter-spacing: -.035em; }
.jedi-loading-screen p:not(.jedi-loading-kicker) { margin: 0 auto; max-width: 330px; color: #69716e; font-weight: 600; line-height: 1.5; }
.jedi-loading-track { height: 7px; border-radius: 999px; background: #e5e6d9; overflow: hidden; margin: 25px auto 15px; width: min(70%, 245px); }
.jedi-loading-track::after { content: ""; display: block; width: 35%; height: 100%; border-radius: inherit; background: #d18189; animation: jedi-track 1.5s ease-in-out infinite; }
.jedi-loading-retry { margin-top: 16px; border: none; border-radius: 999px; background: #4b6234; color: white; font: inherit; font-weight: 800; padding: 11px 22px; cursor: pointer; }
.jedi-loading-retry[hidden] { display: none !important; }
.jedi-meal-action-loader { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: 2px; padding: 10px 13px; border: 1px solid #dbe7d4; border-radius: 14px; background: #f0f7ed; color: #2d503d; }
.jedi-meal-action-loader img { width: 54px; height: 46px; object-fit: contain; flex: 0 0 auto; animation: jedi-bowl-bob 1.8s ease-in-out infinite; }
.jedi-meal-action-loader strong, .jedi-meal-action-loader small { display: block; line-height: 1.35; }
.jedi-meal-action-loader strong { font-weight: 850; }
.jedi-meal-action-loader small { color: #607666; margin-top: 3px; }
#plan .planMealToggles button[aria-busy="true"] { position: relative; cursor: progress; }
#plan .planMealToggles button[aria-busy="true"]::after { content: ""; position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: jedi-spin .7s linear infinite; }
#plan .planMealToggles button:disabled { cursor: progress; }
.jedi-plan-action-loader { display: flex; align-items: center; gap: 13px; border: 1px solid #dde5ce; border-radius: 19px; background: #f5f9eb; padding: 10px 16px; margin: 12px 0; color: #293b2c; box-shadow: 0 6px 20px #536b3915; }
.jedi-plan-action-loader img { flex: 0 0 auto; width: 66px; height: 54px; object-fit: contain; animation: jedi-bowl-bob 1.8s ease-in-out infinite; }
.jedi-plan-action-loader strong, .jedi-plan-action-loader small { display: block; line-height: 1.35; }
.jedi-plan-action-loader strong { font-weight: 900; }
.jedi-plan-action-loader small { color: #647262; margin-top: 2px; }
#plan .planToolbarActions button[aria-busy="true"] { opacity: .7; cursor: progress; }
#authSubmit:disabled, #googleAuthButton:disabled, #authForgot:disabled { cursor: progress; opacity: .8; }
#authSubmit:disabled::after, #googleAuthButton:disabled::after, #authForgot:disabled::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 9px; vertical-align: -1px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: jedi-spin .7s linear infinite; }
.jedi-value-updated { animation: jedi-value-highlight .65s ease-out; }
#mainApp button:not(:disabled):active, #mainApp [role="button"]:active, #onboarding button:not(:disabled):active { transform: scale(.985); }
@keyframes jedi-bowl-bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes jedi-track { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
@keyframes jedi-spin { to { transform: rotate(360deg); } }
@keyframes jedi-value-highlight { 0% { background-color: #e5efcd; border-radius: 6px; } 100% { background-color: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .jedi-loading-art, .jedi-plan-action-loader img, .jedi-meal-action-loader img, #plan .planMealToggles button[aria-busy="true"]::after, .jedi-loading-track::after, #authSubmit:disabled::after, #googleAuthButton:disabled::after, #authForgot:disabled::after, .jedi-value-updated { animation: none !important; }
  .jedi-loading-screen { transition: none; }
}


#toast{position:fixed;right:14px;top:76px;z-index:5400;max-width:min(340px,calc(100vw - 28px));background:#25303a;color:#fff;padding:10px 13px;border-radius:13px;font-size:13px;line-height:1.35;font-weight:800;opacity:0;pointer-events:none;transform:translateY(-7px);transition:.2s;box-shadow:0 12px 30px rgba(0,0,0,.18)}
#toast.show{opacity:1;transform:none}
.topActions .notificationTrigger::before,.topActions .notificationTrigger::after{content:none!important;display:none!important}
.topActions .notificationTrigger .notificationBellSvg{display:block!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;overflow:visible!important}

/* =========================================================
   RECIPE MODAL — FINAL DESKTOP POSITION + STABLE SIZE
   ========================================================= */

/*
  Do NOT force display here — hidden/open state stays controlled
  by the application. Only control alignment.
*/
#recipeOverlay {
  align-items: center !important;
  justify-content: center !important;

  padding: 24px !important;
  box-sizing: border-box !important;
}

/* Main floating recipe window */
#recipeOverlay > * {
  box-sizing: border-box !important;

  width: min(760px, calc(100vw - 48px)) !important;
  max-width: 760px !important;

  height: min(82dvh, 820px) !important;
  min-height: min(680px, calc(100dvh - 48px)) !important;
  max-height: calc(100dvh - 48px) !important;

  margin: 0 auto !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  overscroll-behavior: contain !important;

  border-radius: 22px !important;

  /*
    Keep modal visually floating rather than attached
    to top or bottom of viewport.
  */
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

/* Same size regardless of active recipe tab */
#recipeOverlay.open > *,
#recipeOverlay:not(.hidden) > * {
  width: min(760px, calc(100vw - 48px)) !important;

  height: min(82dvh, 820px) !important;
  min-height: min(680px, calc(100dvh - 48px)) !important;
  max-height: calc(100dvh - 48px) !important;

  margin: auto !important;
}

/* Medium laptops */
@media (max-height: 850px) {
  #recipeOverlay {
    padding: 18px !important;
  }

  #recipeOverlay > *,
  #recipeOverlay.open > *,
  #recipeOverlay:not(.hidden) > * {
    height: calc(100dvh - 36px) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 36px) !important;
  }
}

/* Smaller desktop/tablet widths */
@media (max-width: 850px) {
  #recipeOverlay > *,
  #recipeOverlay.open > *,
  #recipeOverlay:not(.hidden) > * {
    width: min(720px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  #recipeOverlay {
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
  }

  #recipeOverlay > *,
  #recipeOverlay.open > *,
  #recipeOverlay:not(.hidden) > * {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;

    height: calc(100dvh - 16px) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 16px) !important;

    border-radius: 18px !important;
  }
}


/* RECIPE READABILITY FINAL */

/* ---------------------------------------------------------
   HERO IMAGE — title must stay readable on every photograph
   --------------------------------------------------------- */

#recipeOverlay .recipeHero {
  position: relative !important;
  overflow: hidden !important;
}

/* Dark scrim only behind the lower part of the photo */
#recipeOverlay .recipeHero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      to bottom,
      rgba(20, 28, 33, 0) 42%,
      rgba(20, 28, 33, 0.10) 56%,
      rgba(20, 28, 33, 0.58) 78%,
      rgba(20, 28, 33, 0.82) 100%
    ) !important;
}

#recipeOverlay .recipeHero img {
  position: relative !important;
  z-index: 0 !important;
}

/* Keep title and controls above gradient */
#recipeOverlay .recipeTitle {
  position: absolute !important;
  z-index: 2 !important;
}

#recipeOverlay .sheetClose {
  z-index: 4 !important;
}

#recipeOverlay .recipeImageCredit {
  z-index: 3 !important;
}

/* Main recipe name */
#recipeOverlay #recipeName {
  color: #fff !important;
  font-size: clamp(27px, 2.5vw, 34px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  font-weight: 900 !important;

  text-shadow:
    0 2px 4px rgba(0,0,0,.42),
    0 5px 18px rgba(0,0,0,.32) !important;
}

/* Portions / store / live calculation */
#recipeOverlay #recipeLiked {
  color: rgba(255,255,255,.96) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 7px rgba(0,0,0,.55) !important;
}


/* ---------------------------------------------------------
   SUMMARY — easier to scan
   --------------------------------------------------------- */

#recipeOverlay .recipeStat small {
  color: #68737a !important;
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
}

#recipeOverlay .recipeStat b {
  color: #26333d !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
}


/* ---------------------------------------------------------
   TABS
   --------------------------------------------------------- */

#recipeOverlay .recipeTabs button {
  font-size: 13px !important;
  font-weight: 800 !important;
}


/* ---------------------------------------------------------
   INGREDIENTS — primary readability improvement
   --------------------------------------------------------- */

#recipeOverlay .ingredientRow {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  column-gap: 12px !important;
}

/* Ingredient name */
#recipeOverlay .ingredientRow > div:nth-child(2) > b {
  color: #26333d !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}

/* Quantity */
#recipeOverlay .ingredientRow > div:nth-child(2) .small,
#recipeOverlay .ingredientRow > div:nth-child(2) .muted {
  color: #667279 !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  margin-top: 2px !important;
}

/* Exact product / price calculation on right */
#recipeOverlay .ingredientDeal {
  line-height: 1.35 !important;
}

#recipeOverlay .ingredientDeal b {
  color: #3d6f4b !important;
  font-size: 10.8px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
}

#recipeOverlay .ingredientDeal span {
  color: #59656b !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}


/* ---------------------------------------------------------
   PREPARATION / PRICE / NUTRITION
   --------------------------------------------------------- */

#recipeOverlay #recipeSteps .step {
  color: #303c44 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

#recipeOverlay .recipePane h3 {
  color: #26333d !important;
  line-height: 1.2 !important;
}

#recipeOverlay .recipePane p,
#recipeOverlay .recipePane .small {
  line-height: 1.48 !important;
}

#recipeOverlay .recipePane .muted {
  color: #637077 !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {
  #recipeOverlay #recipeName {
    font-size: 26px !important;
  }

  #recipeOverlay .ingredientDeal b {
    font-size: 10.5px !important;
  }

  #recipeOverlay .ingredientRow > div:nth-child(2) > b {
    font-size: 13.5px !important;
  }
}


/* RECIPE TYPOGRAPHY SCALE V2 */

/* Hero title */
#recipeOverlay #recipeName {
  font-size: clamp(34px, 3vw, 42px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.05em !important;
  font-weight: 900 !important;
}

#recipeOverlay #recipeLiked {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

/* Summary cards */
#recipeOverlay .recipeStat small {
  font-size: 11.5px !important;
}

#recipeOverlay .recipeStat b {
  font-size: 15.5px !important;
}

/* Tabs */
#recipeOverlay .recipeTabs button {
  font-size: 14px !important;
  font-weight: 850 !important;
}

/* Ingredient name */
#recipeOverlay .ingredientRow > div:nth-child(2) > b {
  font-size: 15.5px !important;
  line-height: 1.25 !important;
}

/* Ingredient quantity */
#recipeOverlay .ingredientRow > div:nth-child(2) .small,
#recipeOverlay .ingredientRow > div:nth-child(2) .muted {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  margin-top: 3px !important;
}

/* Price / product calculation */
#recipeOverlay .ingredientDeal b {
  font-size: 11.8px !important;
  line-height: 1.45 !important;
  font-weight: 850 !important;
}

#recipeOverlay .ingredientDeal span {
  font-size: 11.2px !important;
  line-height: 1.4 !important;
}

/* Preparation text */
#recipeOverlay #recipeSteps .step {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}

/* Price / nutrition paragraphs */
#recipeOverlay .recipePane p,
#recipeOverlay .recipePane .small {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

/* Give ingredient rows a bit more breathing room */
#recipeOverlay .ingredientRow {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
}

/* Mobile */
@media (max-width: 700px) {
  #recipeOverlay #recipeName {
    font-size: 32px !important;
  }

  #recipeOverlay .ingredientRow > div:nth-child(2) > b {
    font-size: 15px !important;
  }

  #recipeOverlay .ingredientDeal b {
    font-size: 11px !important;
  }
}


/* =========================================================
   RECIPE MODAL DESKTOP WIDTH + TYPOGRAPHY V3
   ========================================================= */

@media (min-width: 851px) {

  /* Wider floating recipe window */
  #recipeOverlay > *,
  #recipeOverlay.open > *,
  #recipeOverlay:not(.hidden) > * {
    width: min(900px, calc(100vw - 64px)) !important;
    max-width: 900px !important;

    height: min(84dvh, 850px) !important;
    max-height: calc(100dvh - 48px) !important;
  }

  /* Slightly larger hero title */
  #recipeOverlay #recipeName {
    font-size: clamp(38px, 3.2vw, 46px) !important;
    line-height: 0.94 !important;
  }

  #recipeOverlay #recipeLiked {
    font-size: 13.5px !important;
  }

  /* Summary */
  #recipeOverlay .recipeStat small {
    font-size: 12px !important;
  }

  #recipeOverlay .recipeStat b {
    font-size: 16px !important;
  }

  /* Tabs */
  #recipeOverlay .recipeTabs button {
    font-size: 14.5px !important;
  }

  /* Give ingredients real room */
  #recipeOverlay .ingredientRow {
    grid-template-columns:
      42px
      minmax(180px, 0.8fr)
      minmax(300px, 1.45fr) !important;

    gap: 14px !important;
    padding: 14px 0 !important;
    align-items: start !important;
  }

  #recipeOverlay .ingredientIcon {
    width: 38px !important;
    height: 38px !important;
  }

  /* Ingredient name */
  #recipeOverlay .ingredientRow > div:nth-child(2) > b {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  /* Quantity */
  #recipeOverlay .ingredientRow > div:nth-child(2) .small,
  #recipeOverlay .ingredientRow > div:nth-child(2) .muted {
    font-size: 13px !important;
  }

  /* Product / price explanation */
  #recipeOverlay .ingredientDeal {
    min-width: 0 !important;
    max-width: none !important;

    text-align: right !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  #recipeOverlay .ingredientDeal b {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }

  #recipeOverlay .ingredientDeal span {
    font-size: 11.8px !important;
    line-height: 1.4 !important;
  }

  /* Preparation text */
  #recipeOverlay #recipeSteps .step {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  /* General tab body */
  #recipeOverlay .recipePane p,
  #recipeOverlay .recipePane .small {
    font-size: 13px !important;
  }
}

/* =========================================================
   GLOBAL RECIPE POPUP
   Applies to EVERY meal opened in #recipeOverlay
   ========================================================= */

@media (min-width: 851px) {

  /* Entire floating recipe window */
  #recipeOverlay > .sheet {
    width: min(920px, calc(100vw - 64px)) !important;
    max-width: 920px !important;

    height: min(84dvh, 850px) !important;
    max-height: calc(100dvh - 48px) !important;

    margin: auto !important;
  }

  /* Hero */
  #recipeOverlay .recipeHero img {
    height: 355px !important;
  }

  #recipeOverlay #recipeName {
    font-size: clamp(38px, 3vw, 46px) !important;
    line-height: .95 !important;
    font-weight: 900 !important;
  }

  #recipeOverlay #recipeLiked {
    font-size: 13.5px !important;
  }

  /* Four summary boxes */
  #recipeOverlay .recipeStat small {
    font-size: 12px !important;
  }

  #recipeOverlay .recipeStat b {
    font-size: 16px !important;
  }

  /* Sastojci / Priprema / Cena / Ishrana */
  #recipeOverlay .recipeTabs button {
    font-size: 15px !important;
    font-weight: 850 !important;
  }

  /* All recipe tab content */
  #recipeOverlay .recipePane {
    font-size: 14px !important;
  }

  #recipeOverlay .recipePane p,
  #recipeOverlay .recipePane .small {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  #recipeOverlay .recipePane h3 {
    font-size: 20px !important;
  }

  /* Ingredients */
  #recipeOverlay .ingredientRow {
    grid-template-columns:
      42px
      minmax(190px, .8fr)
      minmax(340px, 1.5fr) !important;

    gap: 16px !important;
    padding: 14px 0 !important;
  }

  #recipeOverlay .ingredientIcon {
    width: 38px !important;
    height: 38px !important;
  }

  #recipeOverlay .ingredientRow > div:nth-child(2) > b {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  #recipeOverlay .ingredientRow > div:nth-child(2) .small,
  #recipeOverlay .ingredientRow > div:nth-child(2) .muted {
    font-size: 13px !important;
  }

  #recipeOverlay .ingredientDeal {
    min-width: 0 !important;
    text-align: right !important;
    white-space: normal !important;
  }

  #recipeOverlay .ingredientDeal b {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  #recipeOverlay .ingredientDeal span {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  /* Preparation */
  #recipeOverlay .step {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  /* Price comparison */
  #recipeOverlay .priceRow {
    font-size: 14px !important;
    padding: 14px !important;
  }

  /* Nutrition */
  #recipeOverlay .nutri {
    font-size: 14px !important;
    padding: 14px !important;
  }

  /* Bottom actions */
  #recipeOverlay .sheetFooter button {
    font-size: 15px !important;
  }
}

/* Tablet */
@media (min-width: 701px) and (max-width: 850px) {
  #recipeOverlay > .sheet {
    width: calc(100vw - 32px) !important;
    max-width: 780px !important;
  }
}

/* Mobile stays responsive instead of forcing desktop width */
@media (max-width: 700px) {
  #recipeOverlay > .sheet {
    width: calc(100vw - 16px) !important;
    max-width: none !important;
  }

  #recipeOverlay #recipeName {
    font-size: 31px !important;
  }
}

/* INGREDIENT ICON CLARITY — global */
#recipeOverlay .ingredientIcon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;

  display: grid !important;
  place-items: center !important;

  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif !important;

  font-size: 22px !important;
  line-height: 1 !important;

  overflow: hidden !important;
}



/* =========================================================
   FINAL GLOBAL RECIPE POPUP
   Every recipe opened anywhere in JediŠtedi
   ========================================================= */

@media (min-width: 900px) {

  /* Actual floating window */
  #recipeOverlay.overlay.open > .sheet {
    width: min(1040px, calc(100vw - 64px)) !important;
    min-width: 860px !important;
    max-width: 1040px !important;

    height: min(84dvh, 860px) !important;
    min-height: min(700px, calc(100dvh - 48px)) !important;
    max-height: calc(100dvh - 48px) !important;

    margin: auto !important;
  }

  /* Bigger hero */
  #recipeOverlay.overlay.open .recipeHero img {
    height: 370px !important;
  }

  /* Meal title */
  #recipeOverlay.overlay.open #recipeName {
    font-size: 46px !important;
    line-height: .94 !important;
    letter-spacing: -.05em !important;
    font-weight: 900 !important;
  }

  #recipeOverlay.overlay.open #recipeLiked {
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  /* Top information boxes */
  #recipeOverlay.overlay.open .recipeStat small {
    font-size: 12px !important;
  }

  #recipeOverlay.overlay.open .recipeStat b {
    font-size: 17px !important;
  }

  /* Tabs */
  #recipeOverlay.overlay.open .recipeTabs button {
    font-size: 15.5px !important;
    padding: 15px 6px !important;
  }

  /* More horizontal room inside content */
  #recipeOverlay.overlay.open .recipePane {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Ingredient rows */
  #recipeOverlay.overlay.open .ingredientRow {
    grid-template-columns:
      44px
      minmax(190px, .8fr)
      minmax(400px, 1.55fr) !important;

    gap: 18px !important;
    padding: 15px 0 !important;
  }

  #recipeOverlay.overlay.open .ingredientIcon {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }

  /* Ingredient name */
  #recipeOverlay.overlay.open .ingredientRow > div:nth-child(2) > b {
    font-size: 17px !important;
    line-height: 1.25 !important;
  }

  /* Quantity */
  #recipeOverlay.overlay.open .ingredientRow > div:nth-child(2) .small,
  #recipeOverlay.overlay.open .ingredientRow > div:nth-child(2) .muted {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
  }

  /* Exact product / price explanation */
  #recipeOverlay.overlay.open .ingredientDeal {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;

    text-align: right !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  #recipeOverlay.overlay.open .ingredientDeal b {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  #recipeOverlay.overlay.open .ingredientDeal span {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }

  /* Preparation */
  #recipeOverlay.overlay.open .step {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }

  /* Cena */
  #recipeOverlay.overlay.open .priceRow {
    padding: 15px !important;
    font-size: 14.5px !important;
  }

  /* Ishrana */
  #recipeOverlay.overlay.open .nutri {
    padding: 15px !important;
    font-size: 14.5px !important;
  }

  #recipeOverlay.overlay.open .recipePane h3 {
    font-size: 21px !important;
  }

  #recipeOverlay.overlay.open .recipePane p,
  #recipeOverlay.overlay.open .recipePane .small {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  /* Bottom buttons */
  #recipeOverlay.overlay.open .sheetFooter button {
    font-size: 15.5px !important;
    min-height: 50px !important;
  }
}


/* Tablet */
@media (min-width: 701px) and (max-width: 899px) {
  #recipeOverlay.overlay.open > .sheet {
    width: calc(100vw - 32px) !important;
    max-width: 820px !important;
  }
}


/* Mobile */
@media (max-width: 700px) {
  #recipeOverlay.overlay.open > .sheet {
    width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #recipeOverlay.overlay.open #recipeName {
    font-size: 32px !important;
  }
}


/* PLAN — simplified economics */

.planDecisionSummaryV3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 16px 0 20px !important;
}

.planDecisionCard {
  min-width: 0 !important;
  min-height: 116px !important;
  padding: 18px 20px !important;

  border: 1px solid var(--js-line) !important;
  border-radius: 18px !important;

  background: rgba(255,255,255,.8) !important;
  box-shadow: 0 7px 20px rgba(38,51,61,.055) !important;

  color: var(--js-ink) !important;
  text-align: left !important;
}

button.planDecisionCard {
  cursor: pointer !important;
  font: inherit !important;
}

button.planDecisionCard:hover {
  background: #fff !important;
}

.planDecisionCard small {
  display: block !important;
  color: var(--js-muted) !important;

  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .07em !important;
}

.planDecisionCard b {
  display: block !important;

  margin-top: 8px !important;

  color: var(--js-ink) !important;

  font-size: clamp(24px, 2vw, 30px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -.035em !important;
}

.planDecisionCard span {
  display: block !important;

  margin-top: 8px !important;

  color: var(--js-muted) !important;

  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

.planDecisionCard.primaryMetric b,
.planDecisionCard.good b {
  color: var(--js-green) !important;
}

.planDecisionCard.over b {
  color: var(--js-coral) !important;
}

.planDecisionContext {
  grid-column: 1 / -1 !important;

  padding: 0 3px !important;

  color: var(--js-muted) !important;

  font-size: 12px !important;
  font-weight: 750 !important;
}


/* Market comparison */

#savingsSheet .savingsSheet {
  width: min(560px, calc(100vw - 24px)) !important;
  max-width: 560px !important;
}

.marketWinnerCard {
  margin-top: 8px !important;
  padding: 20px !important;

  border: 1px solid rgba(84,131,98,.34) !important;
  border-radius: 18px !important;

  background: rgba(167,188,168,.13) !important;
}

.marketWinnerCard small {
  display: block !important;

  color: var(--js-green) !important;

  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
}

.marketWinnerCard strong {
  display: block !important;

  margin-top: 7px !important;

  color: var(--js-ink) !important;

  font-size: 18px !important;
  font-weight: 900 !important;
}

.marketWinnerCard b {
  display: block !important;

  margin-top: 3px !important;

  color: var(--js-ink) !important;

  font-size: 30px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
}

.marketWinnerCard span {
  display: block !important;

  margin-top: 7px !important;

  color: var(--js-muted) !important;

  font-size: 12px !important;
}

.marketCompareRows {
  display: grid !important;
  gap: 8px !important;

  margin-top: 14px !important;
}

.marketCompareRow {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;

  padding: 13px 15px !important;

  border: 1px solid var(--js-line) !important;
  border-radius: 14px !important;

  background: #fff !important;
}

.marketCompareRow.selected {
  border-color: rgba(84,131,98,.5) !important;
}

.marketCompareRow > div:first-child b,
.marketComparePrice b {
  display: block !important;

  color: var(--js-ink) !important;

  font-size: 13px !important;
  font-weight: 850 !important;
}

.marketCompareRow small {
  display: block !important;

  margin-top: 3px !important;

  color: var(--js-muted) !important;

  font-size: 10.5px !important;
}

.marketComparePrice {
  flex: 0 0 auto !important;
  text-align: right !important;
}

.marketComparePrice b {
  font-size: 14px !important;
}

.marketCompareRow.cheapest .marketComparePrice b {
  color: var(--js-green) !important;
}

.marketCompareNote {
  margin-top: 14px !important;
  padding: 13px 15px !important;

  border-radius: 14px !important;

  background: rgba(248,243,234,.85) !important;
}

.marketCompareNote b,
.marketCompareNote span {
  display: block !important;
}

.marketCompareNote b {
  color: var(--js-ink) !important;

  font-size: 12px !important;
  font-weight: 850 !important;
}

.marketCompareNote span {
  margin-top: 4px !important;

  color: var(--js-muted) !important;

  font-size: 11px !important;
  line-height: 1.4 !important;
}

.marketCompareChange {
  width: 100% !important;
  margin-top: 14px !important;
}

.marketCompareEmpty {
  padding: 20px !important;

  border: 1px solid var(--js-line) !important;
  border-radius: 16px !important;

  background: #fff !important;
}

.marketCompareEmpty b,
.marketCompareEmpty span {
  display: block !important;
}

.marketCompareEmpty span {
  margin-top: 6px !important;

  color: var(--js-muted) !important;

  font-size: 12px !important;
  line-height: 1.4 !important;
}

@media (max-width: 760px) {
  .planDecisionSummaryV3 {
    grid-template-columns: 1fr !important;
  }

  .planDecisionCard {
    min-height: 0 !important;
  }

  .planDecisionContext {
    grid-column: 1 !important;
  }
}

/* Final Plan simplification */

#planDecisionSummaryV3 .primaryMetric {
  cursor: default !important;
}

#planDecisionSummaryV3 .primaryMetric:hover {
  transform: none !important;
}

/*
  Legacy savings popup is no longer part of the Plan flow.
  Market comparison + changing market happen in one sheet.
*/
#savingsSheet {
  display: none !important;
}

/* Never allow an old pseudo-label to replace preparation copy */
#planDecisionSummaryV3 > .planDecisionCard:nth-child(3) span::before,
#planDecisionSummaryV3 > .planDecisionCard:nth-child(3) span::after {
  content: none !important;
  display: none !important;
}

#planDecisionSummaryV3 .primaryMetric .planBestMarketHint {
  margin-top: 4px !important;
  color: var(--js-green) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}


/* First-use path: from the visible plan total directly to the shopping list. */
#planDecisionSummaryV3 .planToListCTA {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 46px !important;
  margin-top: 14px !important;
  padding: 11px 15px !important;
  border: 1px solid #277045 !important;
  border-radius: 12px !important;
  background: #277045 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  text-align: left !important;
  cursor: pointer !important;
}
#planDecisionSummaryV3 .planToListCTA span {
  color: inherit !important;
  margin: 0 !important;
  font-size: 19px !important;
}
#planDecisionSummaryV3 .planToListCTA:hover {
  background: #185b38 !important;
  border-color: #185b38 !important;
}
#planDecisionSummaryV3 .planToListCTA:focus-visible {
  outline: 3px solid #277045 !important;
  outline-offset: 3px !important;
}

/* Optional, non-blocking invitation to explain a drop-off after plan view. */
#planDecisionSummaryV3 .planFeedbackLink {
  display:block !important;
  width:100% !important;
  border:0 !important;
  padding:9px 0 0 !important;
  background:transparent !important;
  color:var(--js-muted) !important;
  font:inherit !important;
  font-size:12px !important;
  font-weight:650 !important;
  text-align:center !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
  cursor:pointer !important;
}
#planDecisionSummaryV3 .planFeedbackLink:focus-visible {
  outline:2px solid var(--js-green) !important;
  outline-offset:3px !important;
}

/* Plan visual polish — presentation only; calculations and actions unchanged. */
#plan {
  --plan-green: #3f7352;
  --plan-green-dark: #2e593e;
  --plan-ink: #26343a;
  --plan-muted: #697773;
  --plan-border: #e4e4db;
  --plan-shadow: 0 12px 34px rgba(42, 52, 41, .055);
}

#plan > .eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 7px 12px;
  border: 1px solid rgba(183, 93, 100, .13);
  border-radius: 999px;
  background: rgba(207, 125, 130, .10);
  color: #ae666d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

#plan > h1 {
  max-width: 1100px;
  margin: 15px 0 26px !important;
  color: var(--plan-ink) !important;
  font-size: clamp(36px, 4.1vw, 66px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
}

#plan > h1 .underline {
  text-decoration: none !important;
  background: linear-gradient(transparent 85%, rgba(207,125,130,.33) 85%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Meal choice first, followed by plan length, household and optional settings. */
#plan .planIntentBar {
  display: grid !important;
  grid-template-columns: minmax(315px, 1.7fr) minmax(145px, .82fr) minmax(120px, .66fr) auto !important;
  gap: 18px !important;
  align-items: end !important;
  margin: 0 0 16px !important;
  padding: 22px 24px !important;
  border: 1px solid var(--plan-border) !important;
  border-radius: 24px !important;
  background: #fffdfa !important;
  box-shadow: var(--plan-shadow) !important;
}

#plan .planIntentBar > :nth-child(1) { grid-column: 1; grid-row: 1; }
#plan .planIntentBar > :nth-child(2) { grid-column: 2; grid-row: 1; }
#plan .planIntentBar > :nth-child(3) { grid-column: 3; grid-row: 1; }
#plan .planIntentBar > :nth-child(4) { grid-column: 4; grid-row: 1; }

#plan .planIntentField { gap: 9px !important; }
#plan .planIntentField > span {
  color: #66736d !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .085em !important;
}

#plan .planIntentField select {
  min-height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid #deded3 !important;
  border-radius: 13px !important;
  background: #f9f7f1 !important;
  color: var(--plan-ink) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  cursor: pointer;
}

#plan .planMealToggles {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px !important;
}

#plan .planMealToggles button {
  min-height: 50px !important;
  padding: 9px 12px !important;
  border: 1px solid #dddcd2 !important;
  border-radius: 13px !important;
  background: #f8f7f2 !important;
  color: #51605b !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

#plan .planMealToggles button.sel,
#plan .planMealToggles button[aria-pressed="true"] {
  border-color: var(--plan-green-dark) !important;
  background: var(--plan-green-dark) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(46,89,62,.14) !important;
}

#plan .planIntentMore {
  min-height: 50px !important;
  padding: 0 17px !important;
  border: 1px solid #deded3 !important;
  border-radius: 13px !important;
  background: white !important;
  color: var(--plan-ink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

#plan .planIntentMore:hover,
#plan .planStoreBar button:hover {
  border-color: #8fb49a !important;
  background: #f5faf4 !important;
}

/* Chosen retailer is context, not another full-size dashboard card. */
#plan .planStoreBar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 14px !important;
  padding: 16px 20px !important;
  border: 1px solid #dce7d9 !important;
  border-left: 4px solid #75a47b !important;
  border-radius: 17px !important;
  background: #f2f7f0 !important;
  box-shadow: none !important;
}

#plan .planStoreBar > div { display: grid; gap: 3px; min-width: 0; }
#plan .planStoreBar small {
  color: #667d6c !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
}

#plan .planStoreBar b {
  color: #2e5139 !important;
  font-size: clamp(19px, 2vw, 23px) !important;
  line-height: 1.2 !important;
}

#plan .planStoreBar button {
  min-height: 42px !important;
  padding: 9px 16px !important;
  border: 1px solid #bdd1bb !important;
  border-radius: 12px !important;
  background: white !important;
  color: #315d40 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

/* Price is the main answer. Budget and preparation count are supporting data. */
#plan #planDecisionSummaryV3 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .68fr) !important;
  gap: 14px !important;
  margin: 0 0 22px !important;
}

#plan #planDecisionSummaryV3 > .planDecisionCard {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 146px !important;
  padding: 22px 24px !important;
  border: 1px solid var(--plan-border) !important;
  border-radius: 21px !important;
  background: #fffdfa !important;
  box-shadow: var(--plan-shadow) !important;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

#plan #planDecisionSummaryV3 > .primaryMetric {
  border-color: #cbdcc9 !important;
  background: linear-gradient(125deg, #e8f2e7 0%, #f7fbf4 100%) !important;
  box-shadow: 0 12px 34px rgba(67,110,77,.09) !important;
}

#plan #planDecisionSummaryV3 .planDecisionCard small {
  color: #66746c !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .09em !important;
  line-height: 1.35 !important;
}

#plan #planDecisionSummaryV3 .planDecisionCard b {
  margin-top: 10px !important;
  color: var(--plan-ink) !important;
  font-size: clamp(25px, 2.25vw, 35px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

#plan #planDecisionSummaryV3 .primaryMetric b {
  color: #377248 !important;
  font-size: clamp(30px, 2.9vw, 45px) !important;
}

#plan #planDecisionSummaryV3 .budgetMetric.good b { color: #377248 !important; }
#plan #planDecisionSummaryV3 .budgetMetric.over b { color: #ba6666 !important; }

#plan #planDecisionSummaryV3 .planDecisionCard span {
  margin-top: 9px !important;
  color: #72807a !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}

#plan #planDecisionSummaryV3 .planBudgetTrack {
  display: block !important;
  width: 100%;
  height: 7px;
  margin-top: 14px !important;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eae1;
}

#plan #planDecisionSummaryV3 .planBudgetTrack i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #77a783;
}

#plan #planDecisionSummaryV3 .budgetMetric.over .planBudgetTrack i {
  background: #bf7370;
}

#plan #planDecisionSummaryV3 button.planDecisionCard:hover {
  transform: translateY(-2px) !important;
  border-color: #a8c9a7 !important;
  box-shadow: 0 16px 36px rgba(43,70,50,.10) !important;
}

#plan #planDecisionSummaryV3 .primaryMetric:hover {
  transform: none !important;
}

/* Actions should look actionable rather than three identical white pills. */
#plan .planToolbar {
  margin: 4px 0 19px !important;
  align-items: center !important;
}

#plan .planToolbarActions { gap: 10px !important; }
#plan .planToolbarActions button {
  min-height: 49px !important;
  padding: 11px 19px !important;
  border: 1px solid #d7dfd4 !important;
  border-radius: 14px !important;
  background: #fffdfa !important;
  color: #405447 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  box-shadow: 0 4px 10px rgba(47,61,48,.035) !important;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

#plan .planToolbarActions button:hover { transform: translateY(-2px); }
#plan .planToolbarActions #jediRerollButton {
  border-color: var(--plan-green-dark) !important;
  background: var(--plan-green-dark) !important;
  color: white !important;
  box-shadow: 0 8px 18px rgba(46,89,62,.16) !important;
}

#plan .planToolbarActions #jediRerollButton:hover {
  background: #244d34 !important;
}

/* The days below the dashboard continue the same visual language. */
#plan #weekList { gap: 14px !important; }
#plan #weekList .day {
  border: 1px solid var(--plan-border) !important;
  border-radius: 22px !important;
  background: #fffdfa !important;
  box-shadow: var(--plan-shadow) !important;
  padding: 18px !important;
}

#plan #weekList .dayName { color: var(--plan-ink) !important; letter-spacing: -.025em; }
#plan #weekList .slot {
  border: 1px solid #ebece3 !important;
  border-radius: 16px !important;
  background: #f8f8f3 !important;
}

#plan #weekList .slot:hover { border-color: #bed1bd !important; }
#plan #weekList .slot img { border-radius: 12px !important; }

#plan .planIntentBar :is(button, select):focus-visible,
#plan .planStoreBar button:focus-visible,
#plan #planDecisionSummaryV3 button:focus-visible,
#plan .planToolbarActions button:focus-visible {
  outline: 3px solid #8cb69a !important;
  outline-offset: 3px !important;
}

@media (max-width: 1070px) {
  #plan .planIntentBar {
    grid-template-columns: minmax(250px, 1.8fr) minmax(125px, .75fr) minmax(115px, .6fr) !important;
  }
  #plan .planIntentBar > :nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }
  #plan .planIntentMore { min-height: 42px !important; }
}

@media (max-width: 760px) {
  #plan > h1 {
    margin: 12px 0 21px !important;
    font-size: clamp(32px, 7.2vw, 47px) !important;
    line-height: 1.11 !important;
  }
  #plan .planIntentBar {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 14px !important;
    padding: 18px !important;
    border-radius: 20px !important;
  }
  #plan .planIntentBar > :nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  #plan .planIntentBar > :nth-child(2) { grid-column: 1; grid-row: 2; }
  #plan .planIntentBar > :nth-child(3) { grid-column: 2; grid-row: 2; }
  #plan .planIntentBar > :nth-child(4) { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; }
  #plan .planIntentMore { width: 100%; }

  #plan #planDecisionSummaryV3 {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
  }
  #plan #planDecisionSummaryV3 > .primaryMetric { grid-column: 1 / -1; }
  #plan #planDecisionSummaryV3 > .planDecisionCard {
    min-height: 112px !important;
    padding: 17px 19px !important;
    border-radius: 18px !important;
  }
  #plan #planDecisionSummaryV3 .planDecisionCard b { font-size: clamp(20px, 3.4vw, 28px) !important; }
  #plan #planDecisionSummaryV3 .primaryMetric b { font-size: clamp(31px, 5.5vw, 40px) !important; }
}

@media (max-width: 520px) {
  #plan > .eyebrow { font-size: 10px; padding: 6px 10px; }
  #plan > h1 { font-size: clamp(31px, 8.6vw, 39px) !important; }
  #plan .planIntentBar {
    gap: 13px 10px !important;
    padding: 15px !important;
    margin-bottom: 12px !important;
  }
  #plan .planIntentField > span { font-size: 10px !important; }
  #plan .planIntentField select { min-height: 47px !important; font-size: 14px !important; }
  #plan .planMealToggles { gap: 6px !important; }
  #plan .planMealToggles button { min-height: 46px !important; padding: 7px 4px !important; font-size: 12.5px !important; }
  #plan .planIntentMore { min-height: 42px !important; }
  #plan .planStoreBar {
    gap: 10px !important;
    padding: 13px 14px !important;
    border-radius: 15px !important;
  }
  #plan .planStoreBar b { font-size: 19px !important; }
  #plan .planStoreBar button { min-height: 41px !important; padding: 8px 12px !important; }

  #plan #planDecisionSummaryV3 { grid-template-columns: 1fr !important; gap: 9px !important; margin-bottom: 17px !important; }
  #plan #planDecisionSummaryV3 > .planDecisionCard { min-height: 0 !important; padding: 17px 19px !important; }
  #plan #planDecisionSummaryV3 > .primaryMetric { min-height: 126px !important; }
  #plan #planDecisionSummaryV3 > .budgetMetric { min-height: 108px !important; }
  #plan #planDecisionSummaryV3 > article.planDecisionCard {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 1px 14px;
    align-items: center;
    min-height: 72px !important;
    padding: 13px 17px !important;
  }
  #plan #planDecisionSummaryV3 > article.planDecisionCard small { grid-column: 1; grid-row: 1; }
  #plan #planDecisionSummaryV3 > article.planDecisionCard b { grid-column: 2; grid-row: 1 / 3; margin: 0 !important; font-size: 27px !important; }
  #plan #planDecisionSummaryV3 > article.planDecisionCard span { grid-column: 1; grid-row: 2; margin: 1px 0 0 !important; font-size: 11px !important; }

  #plan .planToolbarActions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
  }
  #plan .planToolbarActions button { width: 100%; min-height: 46px !important; padding: 9px 11px !important; font-size: 13px !important; }
  #plan .planToolbarActions #jediRerollButton { grid-column: 1 / -1; }
  #plan #weekList .day { padding: 13px !important; border-radius: 18px !important; }
  #plan #weekList .slot { border-radius: 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #plan .planMealToggles button,
  #plan .planToolbarActions button,
  #plan #planDecisionSummaryV3 > .planDecisionCard { transition: none !important; }
  #plan .planToolbarActions button:hover,
  #plan #planDecisionSummaryV3 button:hover { transform: none !important; }
}


/* Compact, meal-first toolbar: keep the four choices side by side on desktop
   and medium viewports, including browser zoom. Flex placement also avoids
   legacy grid-row assignments when the DOM starts with the meal toggles. */
#plan .planIntentBar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 12px !important;
}
#plan .planIntentBar > .planIntentMeals {
  flex: 1.7 1 0 !important;
  min-width: 205px !important;
}
#plan .planIntentBar > :nth-child(2) {
  flex: .75 1 0 !important;
  min-width: 90px !important;
}
#plan .planIntentBar > :nth-child(3) {
  flex: .55 1 0 !important;
  min-width: 75px !important;
}
#plan .planIntentBar > .planIntentMore {
  flex: 0 0 155px !important;
  width: auto !important;
  min-width: 0 !important;
}
#plan .planIntentBar > .jedi-meal-action-loader {
  flex: 1 1 100% !important;
  min-width: 0 !important;
}
@media (max-width: 690px) {
  #plan .planIntentBar { gap: 9px !important; }
  #plan .planIntentBar > .planIntentMeals { flex: 1.7 1 0 !important; min-width: 180px !important; }
  #plan .planIntentBar > :nth-child(2) { flex: .65 1 0 !important; min-width: 75px !important; }
  #plan .planIntentBar > :nth-child(3) { flex: .45 1 0 !important; min-width: 60px !important; }
  #plan .planIntentBar > .planIntentMore {
    flex: 0 0 120px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
    white-space: normal !important;
  }
}
@media (max-width: 510px) {
  #plan .planIntentBar > .planIntentMeals { flex: 1 1 100% !important; min-width: 0 !important; }
  #plan .planIntentBar > :nth-child(2) { flex: 1 1 30% !important; min-width: 85px !important; }
  #plan .planIntentBar > :nth-child(3) { flex: .7 1 20% !important; min-width: 70px !important; }
  #plan .planIntentBar > .planIntentMore { flex: 1 1 32% !important; min-width: 110px !important; }
}

/* JediŠtedi motion layer: meaningful feedback, never a prerequisite to seeing content. */
:root {
  --jedi-motion-ease: cubic-bezier(.2, .8, .2, 1);
  --jedi-motion-lift: 0 15px 32px rgba(48, 59, 49, .13);
}

@keyframes jedi-enter {
  from { opacity: 0; transform: translate3d(0, 13px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes jedi-number-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.055); color: #397951; }
  100% { transform: scale(1); }
}
@keyframes jedi-choice-pop {
  0% { transform: scale(1); }
  48% { transform: scale(.955); }
  100% { transform: scale(1); }
}
@keyframes jedi-gentle-float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-7px) rotate(.6deg); }
}

/* Route changes: the new context feels intentional without delaying any action. */
.appView.active > .eyebrow,
.appView.active > h1,
.appView.active > .exploreHeroTitle,
.appView.active .homeTabs,
.appView.active .homeHero > *,
.appView.active > .planIntentBar,
.appView.active > .planStoreBar,
.appView.active > .planSummary,
.appView.active > .searchBar {
  animation: jedi-enter .43s var(--jedi-motion-ease) backwards;
}
.appView.active > h1,
.appView.active > .exploreHeroTitle,
.appView.active .homeHero > :nth-child(2) { animation-delay: .055s; }
.appView.active > .planIntentBar,
.appView.active > .planStoreBar,
.appView.active > .searchBar { animation-delay: .08s; }
.appView.active > .planSummary { animation-delay: .12s; }

/* The illustration adds personality without becoming a distracting loader. */
#home.appView.active #todayHeroCard img.landingIntroIllustration {
  animation: jedi-gentle-float 7s ease-in-out infinite;
  transform-origin: 50% 60%;
}

/* First visible choices reveal in sequence; large catalogs never all animate. */
.appView.active #homeMeals > :nth-child(-n+5),
.appView.active #exploreRecipes > :nth-child(-n+8),
.appView.active #productGrid > :nth-child(-n+8),
.appView.active #weekList > :nth-child(-n+7),
.appView.active #suggestionList > :nth-child(-n+6),
.appView.active #ingredientChips > :nth-child(-n+7) {
  animation: jedi-enter .44s var(--jedi-motion-ease) backwards;
  animation-delay: var(--jedi-item-delay, 0ms);
}
.appView.active #homeMeals > :nth-child(2),
.appView.active #exploreRecipes > :nth-child(2),
.appView.active #productGrid > :nth-child(2),
.appView.active #weekList > :nth-child(2) { --jedi-item-delay: 45ms; }
.appView.active #homeMeals > :nth-child(3),
.appView.active #exploreRecipes > :nth-child(3),
.appView.active #productGrid > :nth-child(3),
.appView.active #weekList > :nth-child(3) { --jedi-item-delay: 90ms; }
.appView.active #homeMeals > :nth-child(4),
.appView.active #exploreRecipes > :nth-child(4),
.appView.active #productGrid > :nth-child(4),
.appView.active #weekList > :nth-child(4) { --jedi-item-delay: 135ms; }
.appView.active #exploreRecipes > :nth-child(5),
.appView.active #productGrid > :nth-child(5),
.appView.active #weekList > :nth-child(5) { --jedi-item-delay: 180ms; }
.appView.active #exploreRecipes > :nth-child(6),
.appView.active #productGrid > :nth-child(6),
.appView.active #weekList > :nth-child(6) { --jedi-item-delay: 225ms; }
.appView.active #exploreRecipes > :nth-child(7),
.appView.active #productGrid > :nth-child(7),
.appView.active #weekList > :nth-child(7) { --jedi-item-delay: 270ms; }
.appView.active #exploreRecipes > :nth-child(8),
.appView.active #productGrid > :nth-child(8) { --jedi-item-delay: 315ms; }

/* Touchable controls communicate the press, including on phones. */
#mainApp button:not(:disabled), .mobileNav button:not(:disabled) {
  transition: transform .19s var(--jedi-motion-ease), box-shadow .19s ease,
    background-color .19s ease, border-color .19s ease, color .19s ease;
}
#mainApp button:not(:disabled):active,
.mobileNav button:not(:disabled):active { transform: scale(.975); }
#mainApp button:focus-visible,
.mobileNav button:focus-visible,
#mainApp input:focus-visible,
#mainApp select:focus-visible {
  outline: 3px solid rgba(67, 128, 87, .62);
  outline-offset: 3px;
}
#mainApp .jedi-choice-pop { animation: jedi-choice-pop .26s var(--jedi-motion-ease); }

/* Value changes are acknowledged only when underlying values actually change. */
#mainApp .jedi-value-pop { animation: jedi-number-pop .56s var(--jedi-motion-ease); }
#listProgress, #communitySparkFill, #planBudgetProgress span {
  transition: width .48s var(--jedi-motion-ease), background-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  #mainApp .mealCard,
  #mainApp .product,
  #mainApp .day,
  #mainApp .metricButton,
  #mainApp .todayHero {
    transition: transform .25s var(--jedi-motion-ease), box-shadow .25s ease,
      border-color .25s ease;
  }
  #mainApp .mealCard:hover,
  #mainApp .product:hover,
  #mainApp .metricButton:hover { transform: translateY(-4px); box-shadow: var(--jedi-motion-lift); }
  #mainApp .day:hover { box-shadow: 0 9px 26px rgba(48, 59, 49, .09); }
  #mainApp .mealCard img,
  #mainApp .product img { transition: transform .5s var(--jedi-motion-ease); }
  #mainApp .mealCard:hover img,
  #mainApp .product:hover img { transform: scale(1.045); }
  #mainApp .primary:not(:disabled):hover,
  #mainApp .secondary:not(:disabled):hover { transform: translateY(-2px); }
  #mainApp .brandLogoButton:hover img { transform: rotate(-2deg) scale(1.025); }
  #mainApp .brandLogoButton img { transition: transform .3s var(--jedi-motion-ease); }
}

@media (prefers-reduced-motion: reduce) {
  #mainApp .jedi-choice-pop, #mainApp .jedi-value-pop,
  .appView.active > .eyebrow, .appView.active > h1,
  .appView.active > .exploreHeroTitle, .appView.active .homeTabs,
  .appView.active .homeHero > *, .appView.active > .planIntentBar,
  .appView.active > .planStoreBar, .appView.active > .planSummary,
  .appView.active > .searchBar,
  #home.appView.active #todayHeroCard img.landingIntroIllustration,
  .appView.active #homeMeals > *, .appView.active #exploreRecipes > *,
  .appView.active #productGrid > *, .appView.active #weekList > *,
  .appView.active #suggestionList > *, .appView.active #ingredientChips > * {
    animation: none !important;
  }
  #mainApp button, .mobileNav button, #mainApp .mealCard, #mainApp .product,
  #mainApp .day, #mainApp .metricButton, #mainApp .todayHero,
  #mainApp .mealCard img, #mainApp .product img,
  #mainApp .brandLogoButton img, #listProgress, #communitySparkFill,
  #planBudgetProgress span { transition: none !important; }
}

/* One coherent purchasing decision instead of three disconnected cards. */
#plan .jediPlanPurchase {
  display: grid;
  gap: 17px;
  padding: clamp(18px, 2.5vw, 30px);
  margin: 0 0 18px;
  color: #263b30;
  background: linear-gradient(124deg, #eaf4e9 0%, #f4f9f1 100%);
  border: 1px solid #bdd8bf;
  border-radius: 23px;
  box-shadow: 0 12px 30px rgba(56, 93, 65, .065);
}

/* The canonical purchase card exists in HTML; legacy nodes only supply data. */
#plan .planStoreBar,
#plan #planDecisionSummaryV3,
#plan .planSummaryV2,
#plan #planBudgetLine,
#plan #planMealScope {
  display: none !important;
}

#plan .jediPurchaseHead,
#plan .jediPurchaseMain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

#plan .jediPurchaseEyebrow,
#plan .jediPurchaseStat small {
  color: #5f7965;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

#plan .jediPurchaseBadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  white-space: nowrap;
  border-radius: 999px;
  color: #2e6543;
  background: #d4e8d5;
  font-size: 12px;
  font-weight: 800;
}
#plan .jediPurchaseBadge::before { content: '✦'; font-size: 14px; }

#plan .jediPurchaseMain { align-items: flex-end; }
#plan .jediPurchaseStore,
#plan .jediPurchaseTotal { display: grid; gap: 5px; min-width: 0; }
#plan .jediPurchaseTotal { text-align: right; }
#plan .jediPurchaseStore small,
#plan .jediPurchaseTotal small {
  color: #667c6b;
  font-size: 13px;
  font-weight: 700;
}
#plan .jediPurchaseStore strong {
  color: #2f6141;
  font-size: clamp(24px, 2.6vw, 37px);
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
#plan .jediPurchaseTotal strong {
  color: #2d7445;
  font-size: clamp(25px, 2.7vw, 39px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#plan .jediPurchaseStore > span,
#plan .jediPurchaseTotal > span {
  color: #688071;
  font-size: 12px;
  font-weight: 650;
}

#plan .jediPurchaseMeta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding-top: 15px;
  border-top: 1px solid #cadfc9;
}
/* Keep the shopping-item card full width when budget is optional/unset. */
#plan .jediPurchaseMeta.budgetUnset {
  grid-template-columns: minmax(0, 1fr);
}
#plan #jediPurchaseBudget[hidden] {
  display: none !important;
}
#plan .jediPurchaseStat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 16px 18px;
  background: #fffefd;
  border: 1px solid #e1e8de;
  border-radius: 15px;
  text-align: left;
  box-shadow: none;
}
#plan .jediPurchaseStat strong {
  color: #327249;
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#plan .jediPurchaseStat span {
  color: #78857b;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
}
#plan #jediPurchaseBudget {
  width: 100%;
  cursor: pointer;
  font: inherit;
}
#plan #jediPurchaseBudget:hover { border-color: #a4cba7; background: #fff; }
#plan #jediPurchaseBudget.is-over strong { color: #b95862; }

#plan .jediPurchaseCompare {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid #c5d9c8;
  border-radius: 15px;
  background: #fff;
  color: #2f6444;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background .2s, border-color .2s;
}
#plan .jediPurchaseCompare:hover { background: #f7fbf6; border-color: #83b08b; }
#plan .jediPurchaseCompareIcon {
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: #e7f3e5;
  font-size: 23px;
  font-weight: 800;
}
#plan .jediPurchaseCompareCopy { display: grid; flex: 1; gap: 3px; min-width: 0; }
#plan .jediPurchaseCompareCopy strong { font-size: 15px; line-height: 1.25; }
#plan .jediPurchaseCompareCopy small { color: #7c8a7d; font-size: 12px; line-height: 1.4; }
#plan .jediPurchaseCompareArrow { font-size: 25px; font-weight: 550; }

/* Market comparison is a decision list, not a dense spreadsheet. */
#weekStoreSheet .miniSheet {
  width: min(590px, calc(100vw - 22px));
  max-width: 590px;
  max-height: min(88dvh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#weekStoreSheet .formSheetHead h3 { line-height: 1.2; }
#weekStoreSheet .formSheetHead p { max-width: 480px; line-height: 1.5; }
#weekStoreSheet .jediCompareOptions {
  display: grid;
  gap: 10px;
  padding: 2px 0 10px;
  max-height: none;
  overflow: visible;
}
#weekStoreSheet .jediCompareScope {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0f3ec;
  color: #647365;
  font-size: 12px;
  font-weight: 800;
}
#weekStoreSheet .jediCompareFeedback {
  padding: 11px 14px;
  border-radius: 12px;
  color: #396749;
  background: #e6f2e4;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}
#weekStoreSheet .jediCompareRow {
  display: grid;
  gap: 10px;
  padding: 15px 17px;
  border: 1px solid #e3e6de;
  border-radius: 15px;
  background: #fff;
}
#weekStoreSheet .jediCompareRow.is-cheapest {
  border: 2px solid #8ab895;
  padding: 14px 16px;
  background: #eff8ed;
}
#weekStoreSheet .jediCompareRowTop,
#weekStoreSheet .jediCompareRowBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
#weekStoreSheet .jediCompareRowTop { align-items: flex-start; }
#weekStoreSheet .jediCompareStoreTitle { display: grid; gap: 7px; min-width: 0; }
#weekStoreSheet .jediCompareStoreTitle > strong {
  color: #263b30;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
#weekStoreSheet .jediCompareWinnerBadge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #d9ecd8;
  color: #2c7446;
  font-size: 11px;
  font-weight: 850;
}
#weekStoreSheet .jediComparePrice {
  color: #2a4b35;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.2;
  letter-spacing: -.025em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#weekStoreSheet .jediCompareRowBottom { min-height: 33px; }
#weekStoreSheet .jediCompareLowest,
#weekStoreSheet .jediCompareDelta {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}
#weekStoreSheet .jediCompareLowest { color: #37784b; }
#weekStoreSheet .jediCompareDelta { color: #af6260; }
#weekStoreSheet .jediCompareSelected {
  color: #367349;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
#weekStoreSheet .jediCompareChoose,
#weekStoreSheet .jediCompareExpand {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #c6d5c6;
  border-radius: 11px;
  background: #f4f8f1;
  color: #2e5d40;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
#weekStoreSheet .jediCompareChoose:hover,
#weekStoreSheet .jediCompareExpand:hover { background: #e4f1e0; }
#weekStoreSheet .jediCompareChoose:disabled { opacity: .55; cursor: not-allowed; }
#weekStoreSheet .jediCompareNote {
  margin: 4px 3px 0;
  color: #66786b;
  font-size: 12px;
  line-height: 1.45;
}
#weekStoreSheet .jediCompareNote.is-secondary { margin-top: -3px; color: #8b958e; }
#weekStoreSheet .jediCompareEmpty,
#weekStoreSheet .jediCompareUnverified,
#weekStoreSheet .jediCompareSolo {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid #e5e3d9;
  border-radius: 13px;
  color: #394a3d;
  background: #fffdf8;
}
#weekStoreSheet .jediCompareEmpty p,
#weekStoreSheet .jediCompareUnverified span,
#weekStoreSheet .jediCompareSolo span { margin: 0; font-size: 13px; line-height: 1.5; color: #728176; }
#weekStoreSheet .jediCompareExpand { width: 100%; }

#plan .jediPlanPurchase button:focus-visible,
#weekStoreSheet .jediCompareChoose:focus-visible,
#weekStoreSheet .jediCompareExpand:focus-visible {
  outline: 3px solid #84b799;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  #plan .jediPlanPurchase { gap: 14px; padding: 16px; border-radius: 19px; }
  #plan .jediPurchaseMain { flex-direction: column; align-items: stretch; gap: 15px; }
  #plan .jediPurchaseTotal { text-align: left; }
  #plan .jediPurchaseStore strong { font-size: 26px; }
  #plan .jediPurchaseTotal strong { font-size: 32px; }
  #plan .jediPurchaseStat { padding: 13px 12px; min-height: 105px; }
  #plan .jediPurchaseStat strong { font-size: clamp(18px, 5vw, 25px); }
  #plan .jediPurchaseStat span { font-size: 11px; }
  #plan .jediPurchaseMeta { gap: 8px; padding-top: 13px; }
  #plan .jediPurchaseCompare { padding: 11px; min-height: 64px; }
  #plan .jediPurchaseCompareCopy strong { font-size: 14px; }
  #weekStoreSheet .miniSheet { max-height: 90dvh; }
  #weekStoreSheet .jediCompareRow { padding: 13px; }
  #weekStoreSheet .jediCompareRow.is-cheapest { padding: 12px; }
  #weekStoreSheet .jediCompareStoreTitle > strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  #plan .jediPurchaseCompare { transition: none; }
}


/* Show voluntary plan research under the actual, canonical purchase CTA. */
#plan .jediPlanPurchase .jediPurchaseFeedback {
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  margin: -10px auto 0;
  padding: 5px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #587462;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#plan .jediPlanPurchase .jediPurchaseFeedback:hover { color: #2f6141; }
#plan .jediPlanPurchase .jediPurchaseFeedback:focus-visible {
  outline: 2px solid #2f6141;
  outline-offset: 3px;
}
/* Do not ask about list usage before a plan has enabled the shopping CTA. */
#plan .jediPlanPurchase:has(#jediPurchaseListLink:disabled) .jediPurchaseFeedback {
  display: none !important;
}

/* JediŠtedi • cohesive UX pass. Loaded after legacy theme rules. */
body.jedi-site-unified {
  --jedi-dark: #263d32;
  --jedi-green: #2f7049;
  --jedi-line: #dce4d9;
  --jedi-pale: #f1f7ee;
}
body.jedi-site-unified .appView > h1 {
  font-size: clamp(29px, 3.1vw, 44px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.04em !important;
  margin-bottom: 18px !important;
}
body.jedi-site-unified #home .homeTabs { display: none !important; }
body.jedi-site-unified :is(button, select, summary, .shopItem):focus-visible {
  outline: 3px solid #338656 !important;
  outline-offset: 3px;
}

/* Home: one clear recommendation and two immediately understood actions. */
body.jedi-site-unified #forYouHome > .homeHero {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr) !important;
  align-items: stretch !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
  pointer-events: auto !important;
}
body.jedi-site-unified #forYouHome .savingHero {
  padding: clamp(22px, 3.1vw, 34px) !important;
  min-height: 305px !important;
  height: auto !important;
  border-radius: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
body.jedi-site-unified #forYouHome #homeSavingTitle {
  font-size: clamp(25px, 3.5vw, 39px) !important;
  line-height: 1.14 !important;
  letter-spacing: -.045em !important;
  max-width: 690px !important;
  margin: 8px 0 12px !important;
}
body.jedi-site-unified #forYouHome #homeSavingTitle::after { content: none !important; display: none !important; }
body.jedi-site-unified #forYouHome #homeSavingExplain::after { content: none !important; display: none !important; }
body.jedi-site-unified #forYouHome #homeSavingContext { order: 3 !important; }
body.jedi-site-unified #forYouHome #homeSaving.jediSavingsVisible { display: block !important; order: 4 !important; font-size: clamp(27px, 3vw, 36px) !important; margin: 0 0 6px !important; color: #2c744a !important; line-height: 1.12 !important; }
body.jedi-site-unified #forYouHome .homeMarketComparison { order: 5 !important; }
body.jedi-site-unified #forYouHome .savingHero .actions { order: 6 !important; }
body.jedi-site-unified #forYouHome .savingHero .heroStats { order: 7 !important; }
body.jedi-site-unified #forYouHome #homeSavingExplain { order: 8 !important; }
/* Hero actions share the pink CTA's shape; their separate color schemes stay intact. */
body.jedi-site-unified #forYouHome .savingHero .actions :is(.primary, #homeCustomizePlan) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 17px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}
body.jedi-site-unified #forYouHome #homeSaving {
  font-size: clamp(30px, 3vw, 42px) !important;
  margin: 0 0 6px !important;
}
body.jedi-site-unified #forYouHome #homeSavingExplain {
  font-size: 13px !important;
  line-height: 1.45 !important;
  max-width: 650px !important;
  margin: 4px 0 14px !important;
}
body.jedi-site-unified #forYouHome .savingHero .heroStats {
  gap: 7px !important;
  margin: 8px 0 13px !important;
}
body.jedi-site-unified #forYouHome .savingHero .actions {
  margin: 4px 0 0 !important;
  gap: 10px !important;
  align-items: center !important;
}
body.jedi-site-unified #forYouHome .savingHero .actions .doodle { display: none !important; }
body.jedi-site-unified #forYouHome #homeCustomizePlan {
  display: inline-flex !important;
  background: transparent !important;
  border: 1px solid #c9dccc !important;
  color: var(--jedi-green) !important;
}
body.jedi-site-unified #forYouHome #todayHeroCard,
body.jedi-site-unified #forYouHome article#todayHeroCard.card.todayHero.landingIntroHero {
  display: flex !important;
  height: auto !important;
  min-height: 305px !important;
  max-height: none !important;
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 22px !important;
}
body.jedi-site-unified #forYouHome article#todayHeroCard .landingIntroVisual img.landingIntroIllustration {
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.jediHomeChoices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  order: 0 !important;
  width: 100%;
}
.jediHomeChoice {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  border-radius: 18px;
  border: 1px solid #d9e5d8;
  background: #fff;
  color: var(--jedi-dark);
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 5px 16px rgba(37, 70, 46, .04);
}
.jediHomeChoice:hover { background: #f5faf3; border-color: #9bc4a4; }
.jediChoiceIcon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; background: #eff5e9; display: grid; place-items: center; font-size: 23px; }
.jediChoiceIcon img { display: block; width: 40px; height: 40px; object-fit: contain; }
.jediHomeChoice > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.jediHomeChoice strong { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.2; }
.jediHomeChoice small { font-size: 12px; line-height: 1.4; color: #748576; }
.jediChoiceArrow { margin-left: auto; color: #43805b; font-size: 22px; }
body.jedi-site-unified #forYouHome > section { margin-top: 30px !important; margin-bottom: 24px !important; }
body.jedi-site-unified #forYouHome .sectionHead { margin-bottom: 16px !important; }
body.jedi-site-unified #forYouHome .sectionHead h2 { font-size: clamp(27px, 3.5vw, 42px) !important; line-height: 1.1 !important; }
body.jedi-site-unified #forYouHome .sectionHead .eyebrow { margin-bottom: 6px !important; }
body.jedi-site-unified #forYouHome .jediPantryGuidance {
  display: grid;
  gap: 5px;
  margin-top: 12px !important;
  padding: 13px 15px !important;
  border: 1px solid #e1e8d8;
  border-radius: 14px;
  background: #f6faf3;
}
body.jedi-site-unified #forYouHome .jediPantryGuidance p { margin: 0 !important; }

/* Plan: a usable list handoff, denser day layout, no duplicate meal count. */
#plan .jediPurchaseListLink {
  padding: 5px 0 0;
  border: 0;
  background: transparent;
  color: #287448;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
body.jedi-site-unified #plan .planToolbar { margin-top: 10px !important; }
body.jedi-site-unified #plan .week { gap: 8px !important; }
body.jedi-site-unified #plan .day { border-color: #e3e9df !important; box-shadow: none !important; }
body.jedi-site-unified #plan .slot { border-radius: 13px !important; }
body.jedi-site-unified #plan .jediPurchaseMeta { align-items: stretch; }
/* Keep the seven-day plan scannable: one short reason and a clearly named edit action. */
body.jedi-site-unified #plan #weekList .slotCopy { min-width: 0 !important; gap: 4px !important; }
body.jedi-site-unified #plan #weekList .slotCopy b {
  color: #293d32 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
}
body.jedi-site-unified #plan #weekList .slotCopy > small:not(.slotReason):not(.slotMealLabel) {
  color: #607365 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}
body.jedi-site-unified #plan #weekList .slotReason.jediReasonBadge {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100%;
  margin-top: 3px !important;
  padding: 5px 8px !important;
  border-radius: 8px !important;
  background: #e8f3e8 !important;
  color: #39734c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: normal;
}
body.jedi-site-unified #plan #weekList .slotMore.jediSlotEdit {
  width: 100% !important;
  min-height: 36px !important;
  padding: 7px 8px !important;
  border: 1px solid #d4e0d2 !important;
  border-radius: 10px !important;
  background: #f4f9f2 !important;
  color: #356747 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}
body.jedi-site-unified #plan #weekList .slotMore.jediSlotEdit:hover { background: #e7f2e5 !important; }

/* Explore: filters and search are the entry point, not oversized categories. */
body.jedi-site-unified #explore .exploreHeroTitle {
  font-size: clamp(31px, 3.9vw, 50px) !important;
  margin: 8px 0 18px !important;
  max-width: none !important;
}
body.jedi-site-unified #explore .catalogSearch {
  max-width: 900px !important;
  margin-bottom: 12px !important;
}
body.jedi-site-unified #explore .catalogCategorySection { display: none !important; }
body.jedi-site-unified #explore #exploreFilters {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  overflow: visible !important;
}
body.jedi-site-unified #explore #exploreFilters > .catalogChip { padding: 10px 12px !important; }
.jediMoreFilters { position: relative; min-width: 0; }
.jediMoreFilters > summary {
  list-style: none;
  border-radius: 999px;
  border: 1px solid #d9e2d7;
  background: #fff;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  color: #376146;
}
.jediMoreFilters > summary::-webkit-details-marker { display: none; }
.jediMoreFilters > summary::after { content: ' ⌄'; }
.jediMoreFilters[open] > summary::after { content: ' ⌃'; }
/* Expanded filters occupy their own full-width row, with no overlay or sideways clipping. */
body.jedi-site-unified #explore #exploreFilters > .jediExtraFilterList {
  position: static;
  order: 100;
  flex: 0 0 100%;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 13px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  border: 1px solid #e1e6dc;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 56, 39, .10);
}
body.jedi-site-unified #explore #exploreFilters > .jediExtraFilterList[hidden] {
  display: none !important;
}
body.jedi-site-unified #explore .jediExtraFilterList > .catalogChip {
  max-width: 100%;
}
body.jedi-site-unified #explore .catalogResultsHead { margin-top: 0 !important; }
body.jedi-site-unified #explore .catalogResultsSection { margin-top: 0 !important; }
body.jedi-site-unified #explore .catalogGrid { gap: 14px !important; }
body.jedi-site-unified #explore .mealCard { box-shadow: 0 6px 18px rgba(20, 58, 37, .045) !important; border-color: #e3e9df !important; }
body.jedi-site-unified #explore .mealCard .priceLine { font-size: 12px !important; line-height: 1.45 !important; }
body.jedi-site-unified #explore .catalogSearch > .jediSearchIcon {
  position: relative;
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  font-size: 0 !important;
  line-height: 0 !important;
}
body.jedi-site-unified #explore .catalogSearch > .jediSearchIcon::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid #68816f;
  border-radius: 50%;
}
body.jedi-site-unified #explore .catalogSearch > .jediSearchIcon::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 13px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #68816f;
  transform: rotate(45deg);
  transform-origin: left center;
}
body.jedi-site-unified #explore .mealCard .priceLine.jediExplorePriceSummary {
  display: grid !important;
  gap: 3px !important;
  padding-top: 10px !important;
  margin-top: 10px !important;
  border-top: 1px solid #e8ede5;
  color: #526c58 !important;
  line-height: 1.4 !important;
}
body.jedi-site-unified #explore .jediExploreRecipeCost {
  color: #2c7048 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}
body.jedi-site-unified #explore .jediExplorePackInfo {
  color: #708073 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}

/* List: sticky progress + human shopping aisles. */
body.jedi-site-unified #lists .listLayout { grid-template-columns: minmax(0, 1fr) 280px !important; gap: 18px !important; }
body.jedi-site-unified #lists .listCard { padding: clamp(15px, 2vw, 24px) !important; }
body.jedi-site-unified #lists .receiptRow[hidden] { display: none !important; }
body.jedi-site-unified #lists #listProgressText { font-variant-numeric: tabular-nums; }
/* Savings belong to the same calm system as the basket summary, not a sticky note. */
body.jedi-site-unified #lists .receipt #listSaving {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 14px !important;
  padding: 12px 13px !important;
  border: 1px solid #d4e7d4 !important;
  border-radius: 12px !important;
  background: #eaf5e8 !important;
  box-shadow: none !important;
  color: #2d7048 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  text-align: left !important;
  transform: none !important;
}
body.jedi-site-unified #lists .receipt #listSaving::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #d1e8d0;
  color: #2c7548;
  font: 900 13px/1 system-ui, sans-serif;
}
#jediListStatus {
  position: sticky;
  top: 82px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 22px;
  padding: 14px 18px;
  border-radius: 15px;
  border: 1px solid #b8d5b9;
  background: #edf7ec;
  box-shadow: 0 9px 23px rgba(37, 70, 46, .075);
}
.jediListStatusCopy { display: grid; gap: 4px; }
.jediListStatusCopy strong { font-size: clamp(16px, 2vw, 21px); color: #286a42; }
.jediListStatusCopy span { color: #647b68; font-size: 12px; }
.jediListStatusPrice { display: grid; gap: 4px; text-align: right; }
.jediListStatusPrice small { font-size: 11px; color: #677e6c; }
.jediListStatusPrice strong { white-space: nowrap; color: #245e3a; font-size: clamp(15px, 2vw, 19px); font-variant-numeric: tabular-nums; }
.jediShopStoreGroup { display: grid; gap: 19px; }
.jediStoreHeading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #365a40; border-bottom: 2px solid #dce8d8; font-size: 17px; font-weight: 900; padding-bottom: 10px; }
.jediStoreHeading span { color: #849389; font-size: 12px; white-space: nowrap; }
.jediAisleGroup { display: grid; gap: 3px; }
.jediAisleHeading { display: flex; justify-content: space-between; gap: 14px; padding: 8px 3px; margin-bottom: 2px; color: #334a3b; }
.jediAisleHeading strong { font-size: 14px; }
.jediAisleHeading span { font-size: 12px; font-weight: 750; color: #879787; }
body.jedi-site-unified #shopItems .jediAisleItem {
  display: grid !important;
  grid-template-columns: 31px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
  margin: 0 0 5px !important;
  padding: 13px 14px !important;
  border: 1px solid #e4eae3 !important;
  border-radius: 12px !important;
  background: #fff;
  cursor: pointer;
}
body.jedi-site-unified #shopItems .jediAisleItem.done { background: #f2f8f0 !important; opacity: .7; }
body.jedi-site-unified #shopItems .jediAisleItem .check { width: 30px; height: 30px; margin: 2px 0 0 !important; border-color: #b7cbb8; }
body.jedi-site-unified #shopItems .shoppingCompactBody { min-width: 0; display: grid !important; gap: 6px; }
body.jedi-site-unified #shopItems .jediAisleItem .itemName { font-size: 15px !important; line-height: 1.28 !important; }
body.jedi-site-unified #shopItems .shoppingCompactMain { display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: baseline !important; margin: 0 !important; gap: 6px 14px !important; }
body.jedi-site-unified #shopItems .shoppingCompactPrice { color: #2d6942 !important; font-size: 14px !important; font-weight: 900 !important; }
.jediItemBadges { display: flex; gap: 5px; flex-wrap: wrap; }
.jediItemBadges span { background: #e8f4e5; color: #34734c; border-radius: 7px; font-size: 10px; font-weight: 850; padding: 4px 7px; }
.jediItemMore > summary { list-style: none; color: #708174; font-size: 11px; font-weight: 750; cursor: pointer; width: fit-content; padding: 5px 0 0; }
.jediItemMore > summary::-webkit-details-marker { display: none; }
.jediItemMore > summary::after { content: ' ⌄'; }
.jediItemMore[open] > summary::after { content: ' ⌃'; }
.jediItemDetailBody { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 0 2px; }
.jediItemDetailBody > small { width: 100%; color: #829184; }
body.jedi-site-unified #shopItems .shoppingMissingCompact,
body.jedi-site-unified #shopItems .shoppingBarcodeButton { min-height: 32px !important; padding: 6px 10px !important; font-size: 11px !important; margin: 0 !important; }

/* Deals: readable names, price hierarchy, prominent actual RSD savings. */
body.jedi-site-unified #deals .products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 15px !important; }
body.jedi-site-unified #deals .product { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 20px !important; border-radius: 19px !important; border-color: #e1e8dd !important; background: #fff !important; }
body.jedi-site-unified #deals .product h3 { font-size: clamp(16px, 1.7vw, 19px) !important; line-height: 1.3 !important; min-height: 50px; overflow-wrap: anywhere; margin: 3px 0 0 !important; }
body.jedi-site-unified #deals .product .dealPrice { font-size: clamp(25px, 2.8vw, 32px) !important; line-height: 1.1 !important; color: #285e3e !important; }
body.jedi-site-unified #deals .product .old { color: #909b91 !important; font-size: 13px !important; }
body.jedi-site-unified #deals .product .dealValidity { font-size: 11px !important; line-height: 1.35 !important; color: #88958a !important; }
body.jedi-site-unified #deals .product .burst { transform: none !important; border-radius: 9px !important; font-family: inherit !important; font-size: 14px !important; padding: 6px 10px !important; }
body.jedi-site-unified #deals .product .jediDealVisual {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 80px;
  height: 80px;
  margin: 1px 0 3px;
  border: 1px solid #e7eadf;
  border-radius: 13px;
  background: radial-gradient(circle at 22% 25%, #fff 0, #fff9 35%), linear-gradient(120deg, #f5f8ef, #f4eee6);
  overflow: hidden;
}
body.jedi-site-unified #deals .product .jediDealVisual[data-kind="riba"],
body.jedi-site-unified #deals .product .jediDealVisual[data-kind="napici"] { background: linear-gradient(125deg, #ecf6f4, #f8f8ed); }
body.jedi-site-unified #deals .product .jediDealVisual[data-kind="voce"],
body.jedi-site-unified #deals .product .jediDealVisual[data-kind="povrce"] { background: linear-gradient(125deg, #edf5e8, #f8f4e7); }
body.jedi-site-unified #deals .product .jediDealSymbol { font-size: 39px; line-height: 1; filter: saturate(.78); }
body.jedi-site-unified #deals .product .jediDealVisual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fafaf6; }
body.jedi-site-unified #deals .product .jediDealVisual.hasPhoto .jediDealSymbol { visibility: hidden; }
body.jedi-site-unified #deals .product .dealCategory { color: #718376 !important; font-size: 12px !important; font-weight: 750; }
body.jedi-site-unified #deals .product.browseDeal .dealVerified { margin-top: auto !important; }
body.jedi-site-unified #deals .product .barcodeDealActions { margin-top: 0 !important; }
body.jedi-site-unified #deals .product .dealIdeaButton { margin-top: auto !important; min-height: 45px; }
.jediDealSaving { color: #398056; background: #edf7eb; border-radius: 9px; font-size: 12px; font-weight: 850; padding: 8px 10px; }
body.jedi-site-unified #deals #dealFeedNote { color: #657569; font-size: 12px !important; max-width: 940px; margin-top: 19px !important; line-height: 1.5; }
#dealIdeasSheet .jediDealDisclosure { padding: 14px; margin: 0 0 12px; background: #fff7e7; border: 1px solid #ecd9a3; border-radius: 13px; color: #735b30; }
#dealIdeasSheet .jediDealDisclosure strong { font-size: 13px; }
#dealIdeasSheet .jediDealDisclosure p { font-size: 13px; line-height: 1.48; margin: 5px 0 0; }
#dealIdeasSheet .jediDealIdeaOption { display: grid; gap: 6px; width: 100%; text-align: left; background: #fff; border: 1px solid #d9e5d9; border-radius: 13px; padding: 16px; margin-top: 9px; cursor: pointer; color: #2b4a35; font: inherit; }
#dealIdeasSheet .jediDealIdeaOption:hover { background: #f3f9f1; border-color: #96be9d; }
#dealIdeasSheet .jediDealIdeaOption small { color: #547561; font-size: 12px; }
.jediRecipeContext, .jediRecipeVerification { margin: 14px 18px; padding: 13px 16px; border: 1px solid #d8e4d4; background: #f0f7ed; border-radius: 13px; color: #47664e; }
.jediRecipeContext p, .jediRecipeVerification p { margin: 5px 0 0; font-size: 12px; line-height: 1.48; }
.jediRecipeContext strong, .jediRecipeVerification strong { font-size: 13px; }
.jediRecipeVerification { background: #fff9ea; border-color: #f0dfb5; color: #785f3a; }
.sheetFooter .jediRecipeVerification { grid-column: 1 / -1; margin: 0; padding: 10px 13px; }
.sheetFooter .jediRecipeVerification strong { font-size: 13px; }
.sheetFooter .jediRecipeVerification p { font-size: 12px; margin-top: 3px; }
.jediRecipeContext[hidden], .jediRecipeVerification[hidden] { display: none !important; }

/* A simple preference sheet for routine changes. */
.jediSettingsSheet { width: min(600px, calc(100% - 24px)); max-height: min(88dvh, 820px); overflow-y: auto; padding: 25px; background: #fff !important; }
.jediSettingsHead { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
.jediSettingsHead h3 { font-size: 27px; letter-spacing: -.035em; margin: 6px 0 5px; }
.jediSettingsHead p { color: #758576; font-size: 13px; line-height: 1.45; margin: 0; }
.jediSettingsHead > button { flex: 0 0 38px; font-size: 24px; }
.jediSettingsFields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jediSettingsFields label { display: grid; gap: 8px; font-weight: 800; color: #365442; font-size: 13px; }
.jediSettingsFields select { width: 100%; border-radius: 11px; border: 1px solid #ccdccc; background: #f7faf5; padding: 12px; font: inherit; color: #345443; }
.jediSettingsGroup { margin: 23px 0; display: grid; gap: 10px; color: #365442; }
.jediSettingsToggles { display: flex; flex-wrap: wrap; gap: 8px; }
.jediSettingsToggles button { border: 1px solid #cedbcf; background: #fff; color: #526e59; border-radius: 11px; padding: 11px 13px; cursor: pointer; font-weight: 800; }
.jediSettingsToggles button.selected { color: #2c7046; border-color: #91bd9b; background: #eaf6e9; }
.jediSettingsToggles button.is-pending { position: relative; padding-right: 32px; cursor: progress; }
.jediSettingsToggles button.is-pending::after {
  content: ""; position: absolute; right: 10px; top: 50%; margin-top: -7px;
  width: 14px; height: 14px; border: 2px solid #c5dbcc; border-top-color: #34774c;
  border-radius: 50%; animation: jedi-settings-spin .75s linear infinite;
}
.jediSettingsToggles button:disabled { opacity: .85; cursor: progress; }
.jediSettingsBusyStatus[hidden] { display: none !important; }
.jediSettingsBusyStatus {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; margin: 2px 0 0;
  border: 1px solid #cfe0ce; background: #edf6e9; color: #315b3f;
  border-radius: 12px; font-size: 13px; line-height: 1.35; font-weight: 750;
}
.jediSettingsBusyStatus.is-success { background: #edf6e9; }
.jediSettingsBusyStatus.is-error { background: #fff4ec; border-color: #e9d8c7; color: #8b533f; }
.jediSettingsSpinner {
  display: inline-block; flex: 0 0 17px; width: 17px; height: 17px;
  border: 2px solid #bdd4c1; border-top-color: #357851;
  border-radius: 50%; animation: jedi-settings-spin .75s linear infinite;
}
.jediSettingsBusyStatus.is-success .jediSettingsSpinner,
.jediSettingsBusyStatus.is-error .jediSettingsSpinner { display: none; }
@keyframes jedi-settings-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .jediSettingsSpinner, .jediSettingsToggles button.is-pending::after { animation: none !important; }
}
.jediSettingsLinks { border-top: 1px solid #e6ece3; border-bottom: 1px solid #e6ece3; padding: 7px 0; }
.jediSettingsLinks button { width: 100%; display: flex; align-items: center; justify-content: space-between; background: transparent; border: none; border-bottom: 1px solid #eef1eb; color: #354d3c; padding: 15px 2px; text-align: left; font-size: 14px; font-weight: 800; cursor: pointer; }
.jediSettingsLinks button:last-child { border-bottom: 0; }
.jediSettingsLinks button span { color: #3c8a5b; font-size: 19px; }
.jediSettingsFoot { display: grid; gap: 6px; margin-top: 17px; }
.jediSettingsFoot p { margin: 0; color: #748376; font-size: 12px; line-height: 1.45; }
.jediSettingsFoot button { justify-self: start; background: transparent; color: #3b7650; border: 0; padding: 9px 0; cursor: pointer; font-size: 12px; font-weight: 800; text-decoration: underline; }

@media (max-width: 1080px) {
  body.jedi-site-unified #forYouHome > .homeHero { grid-template-columns: minmax(0, 1fr) minmax(235px, .65fr) !important; }
  body.jedi-site-unified #deals .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  body.jedi-site-unified #forYouHome > .homeHero { display: block !important; }
  body.jedi-site-unified #forYouHome .savingHero { min-height: 0 !important; }
  body.jedi-site-unified #forYouHome #todayHeroCard,
  body.jedi-site-unified #forYouHome article#todayHeroCard.card.todayHero.landingIntroHero { display: none !important; }
  .jediHomeChoices { grid-template-columns: 1fr; }
  .jediHomeChoice { min-height: 76px; padding: 13px 15px; }
  body.jedi-site-unified #forYouHome > section { margin-top: 25px !important; }
  body.jedi-site-unified #lists .listLayout { display: flex !important; flex-direction: column !important; gap: 12px !important; }
  body.jedi-site-unified #lists .listCard { width: 100% !important; }
  body.jedi-site-unified #lists .receipt { width: 100% !important; position: static !important; }
  #jediListStatus { top: 68px; margin-bottom: 15px; }
  body.jedi-site-unified #deals .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
  body.jedi-site-unified #deals .product { padding: 13px !important; }
  body.jedi-site-unified #deals .product .jediDealVisual { height: 68px; flex-basis: 68px; }
  body.jedi-site-unified #deals .product .jediDealSymbol { font-size: 32px; }
  body.jedi-site-unified #deals .product h3 { font-size: 14px !important; min-height: 56px; }
  body.jedi-site-unified #deals .product .dealPrice { font-size: 23px !important; }
  body.jedi-site-unified #explore .catalogResultsHead { flex-wrap: wrap; }
  .jediSettingsSheet { width: 100%; max-height: 90dvh; margin: auto 0 0; border-radius: 22px 22px 0 0 !important; padding: 19px 17px calc(25px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  /* A product name, current price and barcode action need one readable column. */
  body.jedi-site-unified #deals .products { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 450px) {
  body.jedi-site-unified #deals .products { grid-template-columns: 1fr !important; }
  body.jedi-site-unified #deals .product h3 { min-height: 0; }
  body.jedi-site-unified #explore .catalogSearch input { min-width: 0 !important; }
  body.jedi-site-unified #explore .catalogSearch > button { padding-inline: 12px !important; }
  body.jedi-site-unified #plan #weekList .slotMore.jediSlotEdit { padding: 6px !important; font-size: 11px !important; }
  .jediHomeChoice strong { font-size: 15px; }
  #jediListStatus { padding: 11px; }
  .jediListStatusPrice strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  body.jedi-site-unified button { scroll-behavior: auto; transition: none !important; }
}

/* Home landing: keep the JediŠtedi palette and illustration, lead with the planner CTA. */
body.jedi-site-unified #forYouHome .savingHero { align-items: flex-start !important; }
body.jedi-site-unified #forYouHome #homeSavingTitle {
  order: 2 !important;
  font-size: clamp(30px, 3.5vw, 43px) !important;
  line-height: 1.1 !important;
  margin: 0 0 14px !important;
}
body.jedi-site-unified #forYouHome .homeHeroLead {
  order: 3 !important;
  max-width: 590px;
  margin: 0 0 20px !important;
  font: 650 clamp(14px, 1.45vw, 17px)/1.5 'DM Sans',system-ui,sans-serif;
  color: var(--js-muted);
}
body.jedi-site-unified #forYouHome .savingHero .actions {
  order: 4 !important;
  margin: 0 0 18px !important;
}
body.jedi-site-unified #forYouHome .homeHeroSettings {
  order: 5 !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 16px;
  width: 100%;
}
body.jedi-site-unified #forYouHome .homeHeroSettings .heroStats {
  order: 0 !important;
  margin: 0 !important;
}
body.jedi-site-unified #forYouHome #homeCustomizePlan {
  order: 1 !important;
  display: inline-flex !important;
  min-height: 36px !important;
  padding: 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--jedi-green) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.jedi-site-unified #forYouHome #homeProofCard {
  order: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: clamp(18px, 2.7vw, 28px);
  border-radius: 22px !important;
}
body.jedi-site-unified #forYouHome .homeProofIntro .eyebrow { margin: 0 0 6px !important; }
body.jedi-site-unified #forYouHome .homeProofIntro h3 {
  margin: 0 0 14px !important;
  font: 900 clamp(20px, 2.2vw, 26px)/1.2 'Sora','DM Sans',sans-serif;
  color: var(--js-ink);
}
body.jedi-site-unified #forYouHome #homeProofCard #homeSavingContext { margin: 0 0 5px !important; }
body.jedi-site-unified #forYouHome #homeProofCard #homeSaving { margin: 0 0 8px !important; }
body.jedi-site-unified #forYouHome #homeProofCard .homeMarketComparison { max-width: 720px; }
body.jedi-site-unified #forYouHome #homeProofCard .homeProofStats { margin: 8px 0 !important; gap: 8px !important; }
body.jedi-site-unified #forYouHome #homeProofCard #homeSavingExplain {
  margin: 8px 0 0 !important;
  max-width: 730px !important;
}
@media (max-width: 760px) {
  body.jedi-site-unified #forYouHome .savingHero .actions { width: 100%; }
  body.jedi-site-unified #forYouHome .savingHero .actions > .primary { width: 100%; justify-content: center; }
  body.jedi-site-unified #forYouHome #homeProofCard { margin-bottom: 12px; }
  body.jedi-site-unified #forYouHome .homeHeroLead { font-size: 15px; }
}


#planPreferencesSheet .planApplyBusyMessage[hidden]{display:none}
#planPreferencesSheet .planApplyBusyMessage{display:flex;align-items:center;gap:11px;margin:12px 0 10px;padding:12px 14px;border-radius:14px;background:#faeae6;color:#773e46;font-size:14px;font-weight:650;line-height:1.45}
#planPreferencesSheet .planApplySpinner,#planPreferencesApply.is-applying::before{content:"";display:inline-block;flex:none;width:18px;height:18px;border:3px solid rgba(255,255,255,.36);border-top-color:#fff;border-radius:50%;animation:planApplySpinnerTurn .75s linear infinite}
#planPreferencesSheet .planApplySpinner{border-color:rgba(171,86,97,.19);border-top-color:#b65b68}
#planPreferencesApply.is-applying{cursor:progress;opacity:.95}
#planPreferencesApply.is-applying::before{vertical-align:-4px;margin-right:11px}
.equipmentMatchBadge{display:inline-flex;align-items:center;max-width:max-content;padding:3px 8px;margin:4px 6px 3px 0;border-radius:999px;border:1px solid #b9d8b5;background:#edf7e9;color:#285c36;font-size:11px;font-weight:750;letter-spacing:.01em}
@keyframes planApplySpinnerTurn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#planPreferencesSheet .planApplySpinner,#planPreferencesApply.is-applying::before{animation:none;border-top-color:#773e46}}


.jsSiteFooter{position:relative;isolation:isolate;overflow:hidden;margin-top:32px;border-radius:28px 28px 0 0;background:#193e33;color:#f6f3e9}
.jsSiteFooter:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 5% 0%,rgba(164,192,151,.14),transparent 40%),radial-gradient(circle at 100% 100%,rgba(227,166,143,.1),transparent 38%)}
.jsSiteFooter .jsSiteFooterInner{padding-top:clamp(34px,5vw,56px);padding-bottom:22px}
.jsSiteFooterGrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(130px,.75fr) minmax(210px,1fr);gap:clamp(24px,4vw,66px);padding-bottom:38px}
.jsSiteFooterLogo{position:relative;display:inline-block;vertical-align:top;width:218px;max-width:100%;height:76px;padding:0;overflow:hidden;border-radius:18px;background:#f8f3ea;box-shadow:0 10px 25px rgba(0,0,0,.1)}
/* The source PNG has transparent margins; frame its visible wordmark without changing the shared asset. */
.jsSiteFooterLogo img{position:absolute;top:50%;left:50%;display:block;width:calc(100% - 40px);max-width:none;height:auto;max-height:none;object-fit:initial;transform:translate(-50%,-44.3%)}
.jsSiteFooterTagline{margin:18px 0 7px;color:#fff9ed;font-family:'Sora','DM Sans',system-ui,sans-serif;font-size:clamp(19px,2vw,24px);font-weight:800;line-height:1.3;letter-spacing:-.035em}
.jsSiteFooterCopy,.jsSiteFooterContact p{max-width:360px;margin:0;color:#d6e3da;font-size:14px;line-height:1.7}
.jsSiteFooter h2{margin:0 0 16px;color:#fff9ed!important;font-size:15px;font-weight:800;line-height:1.4;letter-spacing:-.015em}
.jsSiteFooterLinks{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.jsSiteFooterLinks h2{margin-bottom:4px}
.jsSiteFooterLinks button{appearance:none;min-height:24px;padding:0;border:0;background:transparent;color:#d6e3da;font:inherit;font-size:14px;line-height:1.5;text-align:left;cursor:pointer;transition:color .18s,transform .18s}
.jsSiteFooterLinks button:hover{color:#fff;transform:translateX(3px)}
.jsSiteFooterLinks a{color:#d6e3da;text-decoration:none;font-size:14px;line-height:1.5}
.jsSiteFooterLinks a:hover{color:#fff;text-decoration:underline}
.jsSiteFooter a:focus-visible,.jsSiteFooter button:focus-visible{outline:3px solid #f3cda0;outline-offset:4px;border-radius:3px}
.jsSiteFooterContact p{margin-bottom:17px}
.jsSiteFooterEmail{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:11px 14px;border:1px solid rgba(246,243,233,.27);border-radius:12px;color:#fff9ed!important;font-size:14px;font-weight:800;text-decoration:none;overflow-wrap:anywhere;transition:background .18s,border-color .18s}
.jsSiteFooterEmail:hover{background:rgba(255,255,255,.11);border-color:rgba(246,243,233,.6)}
.jsSiteFooterBottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 26px;padding-top:18px;border-top:1px solid rgba(246,243,233,.18);color:#c2d5ca;font-size:12px;line-height:1.5}
@media(max-width:760px){.jsSiteFooter{margin-top:22px;border-radius:24px 24px 0 0}.jsSiteFooterGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 18px}.jsSiteFooterAbout{grid-column:1/-1}.jsSiteFooter .jsSiteFooterInner{padding-top:35px;padding-bottom:25px}}
@media(max-width:440px){.jsSiteFooterGrid{grid-template-columns:1fr;gap:29px}.jsSiteFooterAbout{grid-column:auto}.jsSiteFooterLogo{width:208px;height:74px}.jsSiteFooterLinks{gap:10px}.jsSiteFooterBottom{align-items:flex-start;flex-direction:column;gap:8px}}
.jsSiteFooterSocials{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.jsSiteFooterSocial{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 13px;border:1px solid rgba(246,243,233,.27);border-radius:12px;color:#fff9ed!important;text-decoration:none;font-size:13px;font-weight:750;transition:background .18s,border-color .18s,transform .18s}
.jsSiteFooterSocial svg{display:block;width:19px;height:19px;flex:none}
.jsSiteFooterSocial:hover{background:rgba(255,255,255,.11);border-color:rgba(246,243,233,.6);transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.jsSiteFooterSocial{transition:none}.jsSiteFooterSocial:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.jsSiteFooterLinks button,.jsSiteFooterEmail{transition:none}.jsSiteFooterLinks button:hover{transform:none}}


.seoHomeGuideGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.seoHomeGuideGrid a.seoHomeGuide{display:flex;flex-direction:column;gap:9px;padding:19px;min-height:125px;color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s}
.seoHomeGuide strong{font-size:17px;line-height:1.3}
.seoHomeGuide span{font-size:13px;line-height:1.5;color:#5c685c}
.seoHomeGuideGrid a:hover{transform:translateY(-2px);box-shadow:0 8px 24px #203e3020}
.seoHomeGuideGrid a:focus-visible{outline:3px solid #e17d60;outline-offset:3px}
@media(max-width:700px){.seoHomeGuideGrid{grid-template-columns:1fr}.seoHomeGuideGrid a.seoHomeGuide{min-height:auto}}
@media(prefers-reduced-motion:reduce){.seoHomeGuideGrid a.seoHomeGuide{transition:none}}

/* Reminder preferences are available only on demand in Notifications. */
#notificationsSheet .reminderSettings{margin:9px 14px 13px}
#notificationsSheet .reminderSettingsTitle{cursor:pointer;list-style-position:inside;line-height:1.5}
#notificationsSheet .reminderSettingsTitle:focus-visible{outline:2px solid #2f7b58;outline-offset:3px;border-radius:6px}
#notificationsSheet .reminderSettings[open] .reminderSettingsTitle{margin-bottom:10px}

.reminderSettings{padding:14px 16px 12px;margin:4px 14px 10px;background:#fffaf7;border:1px solid #eaded3;border-radius:18px}
.reminderSettingsTitle{font-size:14px;font-weight:800;margin:0 0 10px;color:#49342c}
.reminderSetting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;cursor:pointer}
.reminderSetting+ .reminderSetting{border-top:1px solid #eee0d9}
.reminderSetting span{display:grid;gap:4px;min-width:0}
.reminderSetting b{font-size:14px;color:#2e2824}
.reminderSetting small{font-size:12px;line-height:1.4;color:#746a65}
.reminderSetting input[type=checkbox]{flex:0 0 auto;width:40px;height:23px;appearance:none;background:#c9c5c2;border-radius:99px;position:relative;cursor:pointer;transition:background .2s;border:0}
.reminderSetting input[type=checkbox]::after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px #0002}
.reminderSetting input[type=checkbox]:checked{background:#2f7b58}
.reminderSetting input[type=checkbox]:checked::after{transform:translateX(17px)}
.reminderSetting input[type=checkbox]:disabled{opacity:.55;cursor:not-allowed}
.reminderSetting input[type=checkbox]:focus-visible{outline:2px solid #2f7b58;outline-offset:3px}
.reminderConsentNote{font-size:11px;line-height:1.5;color:#837670;margin:8px 0 0}
.reminderOpenPlan{margin-top:12px;border:1px solid #2f7b58;background:#f5fff8;color:#185b38;border-radius:12px;padding:9px 14px;font-size:13px;font-weight:700;cursor:pointer}

.reminderPushTest{margin-top:12px;padding:10px 14px;background:#f0faf2;border:1px solid #acd4b5;border-radius:11px;color:#226a3f;font-size:12px;font-weight:800;cursor:pointer}

/* Clear phone setup instructions for browsers that cannot enable push directly. */
.reminderPushGuide{margin:12px 0 4px;padding:12px 13px;border:1px solid #d6e6d8;background:#f2f8f1;border-radius:12px;color:#354d3c;font-size:12px;line-height:1.55}
.reminderPushGuide strong{display:block;font-size:13px;margin-bottom:7px;color:#215c38}
.reminderPushGuide ol{margin:5px 0 10px 17px;padding:0}
.reminderPushGuide li{margin:0 0 6px}
.reminderPushGuide p{margin:8px 0 0;color:#667268}
.reminderPushGuide.hidden{display:none!important}

/* Real user plan activity inside the existing notification sheet. */
.planHistorySection{width:100%;border:1px solid #e6e7df;background:#f9faf7;border-radius:17px;padding:13px}
.planHistoryHead{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;margin-bottom:11px}
.planHistoryHead h4{margin:0;color:#283d32;font-size:16px;line-height:1.25;font-weight:850}
.planHistoryHead p{margin:4px 0 0;font-size:12px;line-height:1.45;color:#717a72}
.planHistoryRefresh{flex:0 0 auto;border:1px solid #c9dacd;background:#fff;color:#24643e;border-radius:10px;padding:7px 11px;font-size:12px;font-weight:750;cursor:pointer}
.planHistoryRefresh:focus-visible,.planHistoryMore:focus-visible{outline:2px solid #2f7b58;outline-offset:3px}
.planHistoryList{display:grid;gap:9px;max-height:min(46vh,430px);overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
.planHistoryList .planHistoryItem{margin:0;padding:13px 12px;border:1px solid #e7e9e2;border-radius:13px;background:#fff;box-shadow:none;gap:11px;align-items:flex-start}
.planHistoryItem .planHistoryIcon{flex:0 0 38px;width:38px;height:38px}
.planHistoryItem .notificationItemCopy{min-width:0;flex:1}
.planHistoryItem .notificationItemTop{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.planHistoryItem .notificationItemTop b{font-size:14px;line-height:1.4;color:#273a30}
.planHistoryItem .planHistoryDescription{font-size:13px;line-height:1.45;margin:5px 0;color:#4f6256}
.planHistoryItem .planHistoryTimestamp{font-size:11px;color:#7a847c;display:block}
.planHistoryItem.isUnread{border-color:#b7d4bc;background:#f4fbf5}
.planHistoryItem .reminderOpenPlan{padding:7px 11px;margin-top:9px;font-size:12px}
.planHistoryEmpty{font-size:13px;line-height:1.55;color:#68776d;padding:10px 4px;margin:0}
.planHistoryMore{margin-top:11px;width:100%;padding:11px;background:#fff;border:1px solid #bdcfc1;border-radius:11px;font-size:13px;font-weight:750;color:#286840;cursor:pointer}
.planHistoryMore.hidden{display:none!important}
@media(max-width:600px){
  .planHistorySection{padding:11px;border-radius:14px}
  .planHistoryList{max-height:45vh}
  .planHistoryHead h4{font-size:15px}
  .planHistoryList .planHistoryItem{padding:11px 10px}
}

/* Registration consent is an explicit choice; no prechecked email opt-in. */
.authReminderConsent{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;margin:12px 0 15px;border:1px solid #c8dfce;background:#f2f8f1;border-radius:13px;cursor:pointer}
.authReminderConsent input{flex:0 0 auto;width:20px;height:20px;margin:2px 0 0;accent-color:#2f7b58;cursor:pointer}
.authReminderConsent span{display:grid;gap:4px;min-width:0}
.authReminderConsent b{font-size:14px;color:#254c32;line-height:1.4}
.authReminderConsent small{font-size:12px;color:#5f6a61;line-height:1.5}
.authReminderConsent:focus-within{outline:2px solid #2f7b58;outline-offset:2px}

.previousShoppingList{margin-top:20px;padding:13px 15px;background:#f6f8f4;border:1px solid #d5e2d6;border-radius:13px}
.previousShoppingList summary{cursor:pointer;color:#275139;font-size:14px;font-weight:800}
.previousShoppingList ul{padding:0;margin:14px 0 0;list-style:none;display:grid;gap:7px}
.previousShoppingItem{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-top:1px solid #e0e9df}
.previousShoppingItem>span{color:#378052;font-size:16px}
.previousShoppingItem>div{display:grid;gap:2px}
.previousShoppingItem b{font-size:13px;color:#283b2c}
.previousShoppingItem small{font-size:11px;color:#69796a}

/* Clean recipe detail layout. Overrides the older recipe-modal-stability rules. */
#recipeOverlay .sheet{background:#fbf7ef!important}
#recipeOverlay .recipeHero{background:#fbf7ef!important;overflow:hidden!important}
#recipeOverlay .recipeHero::after{display:none!important;content:none!important}
#recipeOverlay .recipeHero>img{display:block!important;height:clamp(180px,24vw,235px)!important;min-height:0!important;width:100%!important;object-fit:cover!important}
#recipeOverlay .recipeTitle{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;bottom:auto!important;color:#26333d!important;padding:17px 20px 13px!important;z-index:2!important}
#recipeOverlay #recipeName{font-size:clamp(23px,2.55vw,31px)!important;line-height:1.16!important;letter-spacing:-.02em!important;margin:6px 0 0!important;overflow-wrap:anywhere}
#recipeOverlay #recipeLiked{font-size:12px!important;line-height:1.3!important;color:#65776c!important;font-weight:750!important;letter-spacing:0!important}
#recipeOverlay .recipeImageCredit:not(.hidden){position:static!important;display:inline-block!important;margin:0 20px 10px!important;color:#68757a!important;font-size:11px!important}
#recipeOverlay .recipeSummary{padding:0 18px 15px!important;background:#fbf7ef!important;border-bottom:1px solid #e3ded2!important}
#recipeOverlay .recipeSummaryGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#recipeOverlay .recipeSummaryGrid>.recipeStat{padding:12px 14px!important;background:white!important;box-shadow:none!important;min-width:0!important;border:1px solid #e6e3db!important;border-radius:14px!important}
#recipeOverlay .recipeSummaryGrid>.recipeStat small{font-size:11px!important;color:#6c7677!important}
#recipeOverlay .recipeSummaryGrid>.recipeStat b{font-size:18px!important;line-height:1.2!important}
#recipeOverlay .recipeTabs{background:#fbf7ef!important}
#recipeOverlay .recipeTabs button{font-weight:800!important;min-height:48px!important}
#recipeOverlay .recipePane{padding:12px 20px 22px!important}
#recipeOverlay #ingredientsList{display:grid;gap:0}
#recipeOverlay .recipeCompactIngredient{display:block;min-width:0;border-bottom:1px solid #e6e1d7;padding:0;margin:0;background:transparent}
#recipeOverlay .recipeCompactIngredient>summary,
#recipeOverlay .recipeCompactIngredient.recipeCompactStatic{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:72px;padding:11px 2px;list-style:none}
#recipeOverlay .recipeCompactIngredient>summary{cursor:pointer}
#recipeOverlay .recipeCompactIngredient>summary::-webkit-details-marker{display:none}
#recipeOverlay .recipeCompactIngredient>summary::marker{content:""}
#recipeOverlay .recipeCompactIngredient>summary:focus-visible{outline:3px solid #457958;outline-offset:1px;border-radius:10px}
#recipeOverlay .recipeCompactIngredient .ingredientIcon{width:39px;height:39px;border-radius:12px;background:#ffe59a;font-size:21px;display:grid;place-items:center}
#recipeOverlay .recipeIngredientInfo{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left}
#recipeOverlay .recipeIngredientInfo>strong{font-size:15px;font-weight:850;line-height:1.24;color:#26333d;overflow-wrap:anywhere}
#recipeOverlay .recipeIngredientMeta{display:block;font-size:12px!important;line-height:1.35!important;color:#6b7575!important;overflow-wrap:anywhere}
#recipeOverlay .recipeIngredientValue{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:74px;max-width:135px}
#recipeOverlay .recipeIngredientValue>strong{white-space:nowrap;font-size:15px;font-weight:850;color:#28583e;font-variant-numeric:tabular-nums}
#recipeOverlay .recipeIngredientMore{display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;color:#8a7072;white-space:nowrap}
#recipeOverlay .recipeCompactIngredient[open] .recipeIngredientMore span{transform:rotate(180deg)}
#recipeOverlay .recipeIngredientDetails{margin:0 0 13px 52px;padding:12px 14px;background:#fff!important;border:1px solid #e3e1d9;border-radius:13px;display:grid;gap:10px;min-width:0}
#recipeOverlay .recipeIngredientDetails>div{display:grid;gap:3px;overflow-wrap:anywhere;font-size:12px;line-height:1.5;color:#505e61}
#recipeOverlay .recipeIngredientDetails b{font-size:11px;color:#687877;font-weight:850}
#recipeOverlay .recipeIngredientDetails span{user-select:text}
#recipeOverlay .recipeIngredientsTotal:not(.hidden){display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 4px;padding:15px 16px;border-radius:14px;background:#eaf3e9;color:#2d5d42}
#recipeOverlay .recipeIngredientsTotal span{font-size:13px;font-weight:700}
#recipeOverlay .recipeIngredientsTotal strong{font-size:17px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}
#recipeOverlay .recipeStepsTitle{font-size:18px!important;margin:10px 0 17px!important}
#recipeOverlay #recipeSteps .step{display:grid;grid-template-columns:36px minmax(0,1fr);gap:13px;margin:0 0 10px;padding:16px;background:#fff;border:1px solid #e6e1d7;border-radius:15px;align-items:start}
#recipeOverlay #recipeSteps .step .num{width:32px;height:32px;border-radius:10px;background:#e6f0e8;color:#2e6045;font-size:15px}
#recipeOverlay #recipeSteps .step>div{font-size:15px!important;line-height:1.58!important;color:#344149!important;overflow-wrap:anywhere}
#recipeOverlay .recipePriceExplanation{margin:10px 0 15px;font-size:13px;line-height:1.5;color:#677579}
#recipeOverlay .recipePriceInsights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
#recipeOverlay .recipePriceInsights .recipeStat{min-width:0;padding:12px 14px;box-shadow:none!important;border:1px solid #e5e1d6!important;background:white!important}
#recipeOverlay .recipePriceInsights .recipeStat small{font-size:11px!important}
#recipeOverlay .recipePriceInsights .recipeStat b{font-size:14px!important;overflow-wrap:anywhere}
#recipeOverlay .priceCompare .priceRow{box-shadow:none!important}
#recipeOverlay .sheetFooter{gap:10px;padding:14px 20px 18px!important}
@media(max-width:600px){
  #recipeOverlay .recipeHero>img{height:175px!important}
  #recipeOverlay .recipeTitle{padding:13px 15px 12px!important}
  #recipeOverlay #recipeName{font-size:25px!important;line-height:1.15!important}
  #recipeOverlay .recipeSummary{padding:0 12px 11px!important}
  #recipeOverlay .recipeSummaryGrid{gap:7px!important}
  #recipeOverlay .recipeSummaryGrid>.recipeStat{padding:10px!important}
  #recipeOverlay .recipeSummaryGrid>.recipeStat b{font-size:15px!important}
  #recipeOverlay .recipePane{padding:9px 13px 18px!important}
  #recipeOverlay .recipeCompactIngredient>summary,
  #recipeOverlay .recipeCompactIngredient.recipeCompactStatic{grid-template-columns:37px minmax(0,1fr) auto;gap:9px;min-height:65px}
  #recipeOverlay .recipeCompactIngredient .ingredientIcon{width:35px;height:35px;font-size:18px}
  #recipeOverlay .recipeIngredientInfo>strong{font-size:14px!important}
  #recipeOverlay .recipeIngredientMeta{font-size:11px!important}
  #recipeOverlay .recipeIngredientValue{min-width:65px;max-width:104px}
  #recipeOverlay .recipeIngredientValue>strong{font-size:13px}
  #recipeOverlay .recipeIngredientDetails{margin-left:42px;padding:10px}
  #recipeOverlay .recipeIngredientsTotal:not(.hidden){padding:12px}
  #recipeOverlay .recipeIngredientsTotal span{font-size:12px}
  #recipeOverlay .recipeIngredientsTotal strong{font-size:14px}
  #recipeOverlay .recipePriceInsights{grid-template-columns:1fr}
  #recipeOverlay #recipeSteps .step{padding:13px;gap:10px}
}

/* First useful result before optional personalization. Scoped to welcome and plan. */
#onboarding.instantFirstUse .onboardingWrap {
  padding-bottom: calc(175px + var(--safe, 0px));
}
#onboarding.instantFirstUse .onHead {
  max-width: 680px;
  margin: clamp(32px, 7vh, 76px) auto 22px;
}
#onboarding.instantFirstUse .onHead h1 {
  font-size: clamp(33px, 6vw, 51px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
#onboarding.instantFirstUse .onHead p {
  max-width: 570px;
  margin: 16px auto 0;
  line-height: 1.55;
}
.firstUseBenefits {display: none;}
#onboarding.instantFirstUse .firstUseBenefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 22px;
}
#onboarding.instantFirstUse .firstUseBenefit {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 19px 16px;
  background: #fffefa;
  border: 1px solid #deddd2;
  border-radius: 19px;
  text-align: left;
}
#onboarding.instantFirstUse .firstUseBenefit span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #e4f1e5;
  color: #2a6541;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
}
#onboarding.instantFirstUse .firstUseBenefit strong {font-size: 15px; line-height: 1.25;}
#onboarding.instantFirstUse .firstUseBenefit small {color: #6e776d; line-height: 1.45; font-size: 12px;}
.firstUseGoalDetails {margin: 8px 0 24px;}
.firstUseGoalDetails summary {
  cursor: pointer;
  color: #365f49;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  list-style-position: inside;
}
.firstUseGoalDetails .choiceGrid {margin-top: 16px;}
#onboarding.instantFirstUse .onBottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding-bottom: calc(16px + var(--safe, 0px));
}
#onboarding.instantFirstUse .onBottom .firstUsePrimary {
  display: block;
  width: min(736px, 100%);
  min-height: 59px;
  margin: 0;
  border: none;
  border-radius: 18px;
  background: #2f7249;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(31, 93, 54, .18);
}
#onboarding.instantFirstUse .onBottom .firstUsePrimary:hover {background: #235a39;}
#onboarding.instantFirstUse .onBottom .firstUseCustomize {
  display: block;
  width: min(736px, 100%);
  min-height: 45px;
  margin: 0;
  border: 1px solid #b9c5b8;
  border-radius: 16px;
  background: #fffefa;
  color: #2b6442;
  font-size: 15px;
  font-weight: 750;
}
#onboarding.instantFirstUse .onBottom .firstUseCustomize:hover {background: #edf5e9;}
#onboarding.instantFirstUse .onBottom button:focus-visible,
#plan #jediPurchaseListLink:focus-visible {outline: 3px solid #376dc0; outline-offset: 3px;}
#plan #jediPurchaseListLink.firstUseListCta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 57px;
  margin: 1px 0 2px;
  padding: 13px 20px;
  border: 1px solid #245b37;
  border-radius: 15px;
  background: #2f7249;
  color: white;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
#plan #jediPurchaseListLink.firstUseListCta:not(:disabled):hover {
  background: #235b38;
  transform: translateY(-1px);
}
#plan #jediPurchaseListLink.firstUseListCta:disabled {
  background: #e1e8df;
  color: #687c6d;
  border-color: #c8d5c9;
  cursor: not-allowed;
  box-shadow: none;
}
@media (max-width: 600px) {
  #onboarding.instantFirstUse .firstUseBenefits {grid-template-columns: 1fr; gap: 8px; margin-top: 3px;}
  #onboarding.instantFirstUse .firstUseBenefit {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 12px;
    padding: 11px 13px;
    align-items: center;
    border-radius: 13px;
  }
  #onboarding.instantFirstUse .firstUseBenefit span {grid-row: span 2;}
  #onboarding.instantFirstUse .firstUseBenefit strong {font-size: 14px;}
  #onboarding.instantFirstUse .firstUseBenefit small {font-size: 12px;}
  #onboarding.instantFirstUse .onHead {margin: 20px auto 20px;}
  #onboarding.instantFirstUse .onHead h1 {font-size: clamp(31px, 8vw, 40px);}
  #onboarding.instantFirstUse .onHead p {font-size: 15px;}
  #onboarding.instantFirstUse .onboardingWrap {padding-bottom: calc(165px + var(--safe, 0px));}
  #onboarding.instantFirstUse .onBottom {gap: 7px;}
}

/* Compact, accessible signup / sign-in / password reset. Auth only. */
#authGate .authWrap{
  width:min(510px,100%)!important;
  max-width:510px!important;
  min-height:100svh;
  justify-content:flex-start;
  padding:12px 16px max(16px,env(safe-area-inset-bottom))!important;
}
/* Auto margins center short forms without cutting off tall forms at top. */
#authGate .authWrap>.onTop{min-height:0;margin-top:auto;flex:0 0 auto;}
#authGate .authWrap>.card{
  width:100%;
  flex:0 0 auto;
  margin:9px 0 auto!important;
  padding:17px 21px 15px!important;
}
#authGate .authBrand{gap:2px!important;}
#authGate .authBrandLogo{
  width:min(178px,48vw)!important;
  max-width:100%;
  height:auto!important;
}
#authGate .authBrand .tiny{font-size:11px;line-height:1.25;}
#authGate .authWrap>.card>.eyebrow{
  font-size:12px;
  line-height:1.2;
}
#authGate #authTitle{
  font-size:clamp(30px,4.5vw,39px);
  line-height:1.06;
  letter-spacing:-.04em;
  margin:5px 0 7px!important;
}
#authGate #authLead{
  font-size:14px;
  line-height:1.42;
  margin:0 0 9px;
}
#authGate #guestAuthButton{
  min-height:42px;
  padding:9px 13px;
  margin:3px 0 8px!important;
  border-radius:14px;
}
#authGate .authDivider{margin:8px 0;font-size:11px;}
#authGate .socialAuthButton{min-height:42px;border-radius:12px;}
#authGate .authField{margin:8px 0;gap:4px;}
#authGate .authField>span,
#authGate .authField>label{
  display:block;
  font-size:11px;
  font-weight:850;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.06em;
}
#authGate .authField input{
  width:100%;
  min-height:42px;
  padding:9px 12px;
  font-size:15px;
  line-height:1.25;
  border-radius:12px;
}
#authGate .authPasswordControl{position:relative;min-width:0;}
#authGate .authPasswordControl input{padding-right:94px;}
#authGate #authPasswordVisibility{
  position:absolute;
  top:50%;
  right:5px;
  transform:translateY(-50%);
  min-width:78px;
  min-height:34px;
  padding:5px 9px;
  border:0;
  border-radius:9px;
  color:#2e6543;
  background:#eaf3e9;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  cursor:pointer;
  touch-action:manipulation;
}
#authGate #authPasswordVisibility:hover{background:#d9ecda;}
#authGate #authPasswordVisibility:focus-visible{
  outline:2px solid #2e6543;
  outline-offset:2px;
}
#authGate .authReminderConsent{
  padding:9px 11px;
  margin:9px 0;
  gap:9px;
  border-radius:11px;
}
#authGate .authReminderConsent b{font-size:13px;line-height:1.3;}
#authGate .authReminderConsent small{font-size:11px;line-height:1.35;}
#authGate .authReminderConsent input{width:19px;height:19px;}
#authGate #authError{
  min-height:0!important;
  margin:4px 0 6px!important;
  line-height:1.35;
}
#authGate #authError:empty{display:none;}
#authGate #authSubmit{
  min-height:43px;
  padding:10px 15px;
  border-radius:13px;
}
#authGate #authForgot{margin-top:6px!important;}
#authGate #authSwitch{min-height:34px;padding:6px 11px;font-size:14px;}
#authGate .authWrap>.card>div[style*="text-align:center"]{margin-top:5px!important;}
#authGate .authWrap>.card>p.tiny{
  font-size:11px;
  line-height:1.3;
  margin:7px 0 0!important;
}
@media(max-width:600px){
  #authGate .authWrap{
    padding:10px 13px max(14px,env(safe-area-inset-bottom))!important;
  }
  #authGate .authWrap>.card{padding:14px 16px!important;margin-top:8px!important;}
  #authGate .authBrandLogo{width:min(150px,48vw)!important;}
  #authGate #authTitle{font-size:clamp(30px,8vw,36px);}
  #authGate #authLead{font-size:13px;}
  #authGate .authField input{font-size:16px;}
  #authGate #authPasswordVisibility{min-height:36px;}
}
@media(max-height:700px){
  #authGate .authWrap{padding-top:8px!important;padding-bottom:10px!important;}
  #authGate .authBrandLogo{width:min(135px,42vw)!important;}
  #authGate .authBrand .tiny{display:none;}
  #authGate .authWrap>.card{margin-top:6px!important;}
}

/* One consistent, touch-friendly close control for every JediStedi dialog.
   Only the button owns the circle; the SVG asset contains the red X only. */
button.jediModalClose,
button.jediModalClose.iconBtn,
button.jediModalClose.productBarcodeClose {
  box-sizing: border-box!important;
  width: 44px!important;
  height: 44px!important;
  min-width: 44px!important;
  min-height: 44px!important;
  max-width: 44px!important;
  max-height: 44px!important;
  flex: 0 0 44px!important;
  padding: 0!important;
  margin: 0;
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  border: 2.5px solid #243241!important;
  border-radius: 50%!important;
  background: #fff!important;
  background-image: none!important;
  box-shadow: none!important;
  color: #E94D5B!important;
  font-size: 0!important;
  line-height: 0!important;
  text-decoration: none!important;
  cursor: pointer!important;
  overflow: hidden!important;
  touch-action: manipulation;
}
button.jediModalClose::before,
button.jediModalClose::after {
  content: none!important;
  display: none!important;
}
button.jediModalClose > img {
  display: block!important;
  box-sizing: border-box!important;
  width: 30px!important;
  height: 30px!important;
  min-width: 30px!important;
  min-height: 30px!important;
  max-width: 30px!important;
  max-height: 30px!important;
  margin: 0!important;
  padding: 0!important;
  border: 0!important;
  border-radius: 0!important;
  outline: 0!important;
  box-shadow: none!important;
  background: transparent!important;
  object-fit: contain!important;
  pointer-events: none!important;
}
button.jediModalClose:hover { background: #fff6f5!important; }
button.jediModalClose:focus-visible {
  outline: 3px solid #E94D5B!important;
  outline-offset: 3px!important;
}
@media (prefers-reduced-motion: reduce) {
  button.jediModalClose { transition: none!important; }
}
