/* JediŠtedi brand refresh
   Warm paper UI, clean product cards, coral + green food palette.
   Visual layer only; no food/pricing logic changes.
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=Sora:wght@600;700;800&display=swap');

: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}
.savingBig,#homeSaving{display:none!important}
#homeSavingTitle{
  font-size:0!important;
  line-height:0!important;
  margin:12px 0 24px!important;
  max-width:620px!important;
}
#homeSavingTitle:after{
  content:"Plan za ovu nedelju.";
  display:block;
  font:900 clamp(44px,5.5vw,72px)/.98 'Sora','DM Sans',sans-serif;
  color:var(--js-ink);
  letter-spacing:-.065em;
}
#homeSavingExplain{font-size:0!important;line-height:0!important;margin:20px 0 0!important;max-width:760px!important}
#homeSavingExplain:after{
  content:"Pronađi šta je na akciji, šta možeš da spremiš od toga i koliko možeš da uštediš.";
  display:block!important;
  white-space:pre-line!important;
  font:700 18px/1.35 'DM Sans',system-ui,sans-serif;
  color:var(--js-muted);
  letter-spacing:-.015em;
}
#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 22px!important}
#forYouHome .savingHero .actions{
  order:3!important;
  margin:0 0 22px!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  flex-wrap:wrap!important;
}
#forYouHome .savingHero .heroStats{
  order:4!important;
  margin:0 0 18px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px 12px!important;
}
#forYouHome #homeSavingExplain{order:5!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:after{font-size:clamp(36px,10vw,52px)}#homeSavingExplain:after{font-size:16px;line-height:1.42}#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;
}
