:root{--teal:#005671;--magenta:#B62373;--green:#009858;--mint:#5AC09B;--darkgreen:#24654F;--aqua:#00A8C9;--orange:#FFA500;--purple:#7650A1;--cream:#FFF9F3;--ink:#17313B;--muted:#62727A;--line:#E6ECEE;--white:#fff;--shadow:0 14px 38px rgba(0,86,113,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Nunito,Arial,sans-serif;color:var(--ink);background:#fff}.skip-link{position:absolute;left:-999px}.skip-link:focus{left:1rem;top:1rem;z-index:999;background:#fff;padding:.7rem;border-radius:.5rem}.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.header-inner{max-width:1180px;margin:auto;height:76px;display:flex;align-items:center;gap:14px;padding:0 24px}.wic-logo{width:58px;height:58px;object-fit:contain}.header-title{display:flex;flex-direction:column;line-height:1.1}.header-title strong{color:var(--teal);font-size:1.05rem}.header-title span{font-size:.84rem;color:var(--muted)}.text-button{margin-left:auto;border:0;background:none;color:var(--teal);font:700 .92rem Nunito;cursor:pointer}.hero{min-height:650px;position:relative;overflow:hidden;display:grid;place-items:center;text-align:center;padding:90px 24px;background:radial-gradient(circle at 50% 0,#f1fbf8 0,white 48%)}.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;opacity:.11}.hero:before{width:400px;height:400px;background:var(--magenta);left:-240px;bottom:-180px}.hero:after{width:350px;height:350px;background:var(--aqua);right:-220px;top:80px}.hero-copy{max-width:760px;z-index:2}.eyebrow{font-weight:900;letter-spacing:.12em;color:var(--magenta);font-size:.78rem}.hero h1{font-size:clamp(3rem,7vw,5.5rem);line-height:.92;margin:18px 0 24px;color:var(--teal);letter-spacing:-.04em}.hero h1 em{font-style:normal;color:var(--magenta)}.hero p{font-size:1.17rem;line-height:1.65;color:var(--muted);max-width:650px;margin:0 auto}.hero-actions{display:flex;gap:12px;justify-content:center;margin:32px 0 16px;flex-wrap:wrap}.button{border:0;border-radius:999px;padding:14px 23px;font:800 1rem Nunito;cursor:pointer;transition:.2s transform,.2s box-shadow,.2s background}.button:hover{transform:translateY(-2px)}.button.primary{background:var(--magenta);color:#fff;box-shadow:0 8px 20px rgba(182,35,115,.24)}.button.secondary{background:#fff;color:var(--teal);border:2px solid var(--teal)}.button.ghost{background:#eef6f7;color:var(--teal)}.microcopy{font-size:.82rem!important}.hero-food{position:absolute;width:160px;height:160px;object-fit:contain;mix-blend-mode:multiply;opacity:.9}.hero-carrot{left:max(3vw,20px);top:140px;transform:rotate(-10deg)}.hero-apple{right:max(3vw,20px);bottom:80px;transform:rotate(9deg)}.builder{max-width:1180px;margin:0 auto;padding:54px 24px 80px}.hidden{display:none!important}.progress-wrap{max-width:780px;margin:0 auto 45px}.progress-meta{display:flex;justify-content:space-between;font-size:.84rem;font-weight:800;color:var(--teal);margin-bottom:8px}.progress-track{height:9px;border-radius:10px;background:#edf1f2;overflow:hidden}.progress-bar{height:100%;width:25%;background:linear-gradient(90deg,var(--magenta),#dd4d98);transition:width .3s}.step{display:none}.step.active{display:block;animation:fade .25s ease}@keyframes fade{from{opacity:0;transform:translateY(8px)}}.step-heading{display:flex;gap:18px;align-items:flex-start;max-width:760px;margin:0 auto 32px;text-align:center;justify-content:center}.step-heading h2,.results-heading h2,.how-it-works h2{font-size:clamp(2rem,4vw,3rem);color:var(--teal);margin:0 0 8px}.step-heading p{margin:0;color:var(--muted)}.step-icon{font-size:2.2rem}.step h3{max-width:900px;margin:32px auto 12px;color:var(--teal)}.choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.choice-card{border:2px solid var(--line);background:#fff;border-radius:20px;padding:22px 14px;text-align:center;cursor:pointer;min-height:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.2s;position:relative}.choice-card:hover{border-color:#b9d5db;transform:translateY(-2px);box-shadow:var(--shadow)}.choice-card.selected{border-color:var(--magenta);background:#fff7fb;box-shadow:0 8px 25px rgba(182,35,115,.12)}.choice-card.selected:after{content:"✓";position:absolute;top:10px;right:12px;background:var(--magenta);color:#fff;width:25px;height:25px;border-radius:50%;font-weight:900}.choice-icon{font-size:2rem;margin-bottom:7px}.choice-card strong{color:var(--teal)}.choice-card small{color:var(--muted);margin-top:3px}.pill-grid{max-width:900px;margin:auto;display:flex;flex-wrap:wrap;gap:10px}.pill{border:2px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:11px 16px;font:700 .95rem Nunito;cursor:pointer}.pill.selected{background:var(--teal);border-color:var(--teal);color:#fff}.pantry-label{max-width:900px;margin:34px auto 10px;display:flex;flex-direction:column;color:var(--teal)}.pantry-label span{font-size:.9rem;color:var(--muted);font-weight:400}textarea{display:block;width:100%;max-width:900px;margin:auto;border:2px solid var(--line);border-radius:16px;padding:15px;font:600 1rem Nunito;resize:vertical}textarea:focus{outline:3px solid rgba(0,168,201,.18);border-color:var(--aqua)}.step-actions{display:flex;justify-content:space-between;gap:12px;margin:42px auto 0;max-width:900px}.step-actions.center{justify-content:center}.results-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.results-heading p{color:var(--muted);margin:0}.results-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.filter-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;font:700 .85rem Nunito;color:var(--teal);cursor:pointer}.filter-chip.active{background:#e9f7f2;border-color:var(--mint)}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.recipe-card{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(0,86,113,.08);display:flex;flex-direction:column}.recipe-top{padding:24px;background:linear-gradient(135deg,#f2fbf8,#fff8fb);min-height:155px;position:relative}.recipe-emoji{font-size:3rem}.match-badge{position:absolute;right:16px;top:16px;background:var(--green);color:#fff;border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:900}.recipe-body{padding:20px;display:flex;flex-direction:column;flex:1}.recipe-body h3{margin:0 0 8px;font-size:1.35rem;color:var(--teal)}.recipe-desc{color:var(--muted);font-size:.92rem;line-height:1.5}.recipe-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:.78rem;font-weight:800;color:var(--muted);margin:8px 0 14px}.wic-used{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.wic-tag{background:#fff2f8;color:#9f155e;border-radius:999px;padding:5px 8px;font-size:.72rem;font-weight:800}.recipe-card .button{margin-top:auto;width:100%;padding:11px}.empty-state{text-align:center;padding:60px 20px;background:#f7fbfb;border-radius:24px}.empty-icon{font-size:3rem}.how-it-works{background:var(--cream);padding:80px 24px;text-align:center}.how-grid{max-width:1050px;margin:35px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.how-grid article{background:#fff;border-radius:22px;padding:28px;box-shadow:0 7px 25px rgba(0,0,0,.04)}.how-grid b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;margin:0 auto 12px;background:var(--magenta);color:#fff;font-size:1.2rem}.how-grid h3{color:var(--teal);margin:8px}.how-grid p{color:var(--muted)}footer{background:var(--teal);color:#fff;padding:45px 24px 26px}.footer-inner{max-width:1100px;margin:auto;display:flex;justify-content:space-between;gap:40px;align-items:center}.bys-logo{width:190px;background:#fff;border-radius:12px;padding:8px}.health-logo{width:330px;max-width:45%;background:#fff;padding:7px;border-radius:8px}.footer-inner p{max-width:620px;font-size:.85rem;opacity:.9}.footer-note{text-align:center;max-width:900px;margin:28px auto 0;font-size:.78rem;opacity:.75}.recipe-modal{border:0;border-radius:24px;width:min(760px,92vw);max-height:88vh;padding:0;box-shadow:0 20px 70px rgba(0,0,0,.25)}.recipe-modal::backdrop{background:rgba(4,35,45,.65);backdrop-filter:blur(4px)}.modal-inner{padding:34px}.modal-inner h2{color:var(--teal);font-size:2rem;margin:8px 0}.modal-close{position:absolute;right:16px;top:13px;border:0;background:#eef4f5;border-radius:50%;width:38px;height:38px;font-size:1.5rem;cursor:pointer}.ingredient-list,.direction-list{padding-left:1.3rem;line-height:1.65}.ingredient-list .wic-ingredient{font-weight:800;color:var(--magenta)}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}@media(max-width:850px){.choice-grid{grid-template-columns:repeat(2,1fr)}.recipe-grid,.how-grid{grid-template-columns:1fr 1fr}.hero-food{width:105px;height:105px;opacity:.35}.results-heading{align-items:flex-start;flex-direction:column}.footer-inner{flex-direction:column;align-items:flex-start}.health-logo{max-width:100%;width:300px}}@media(max-width:560px){.header-inner{height:66px;padding:0 14px}.wic-logo{width:48px;height:48px}.header-title strong{font-size:.92rem}.text-button{font-size:.78rem}.hero{min-height:610px;padding:75px 18px}.hero h1{font-size:3.35rem}.hero p{font-size:1rem}.button{width:100%}.hero-actions{display:grid}.builder{padding:38px 15px 60px}.choice-grid{grid-template-columns:1fr 1fr;gap:9px}.choice-card{min-height:125px;padding:15px 8px}.choice-card small{font-size:.72rem}.step-heading{flex-direction:column;align-items:center}.step-actions{flex-direction:column-reverse}.recipe-grid,.how-grid{grid-template-columns:1fr}.recipe-card{border-radius:20px}.footer-inner{gap:22px}.health-logo{width:100%}.bys-logo{width:170px}.results-toolbar{overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.filter-chip{white-space:nowrap}}
@media print{.site-header,.hero,.progress-wrap,.results-toolbar,.step-actions,.how-it-works,footer,.modal-close,.modal-actions{display:none!important}body{background:#fff}.builder{padding:0}.recipe-modal[open]{position:static;width:100%;max-height:none;box-shadow:none}.recipe-modal::backdrop{display:none}.modal-inner{padding:0}}

.shopping-reference{background:#f3f8f9;border:1px solid #d9e6e9;border-radius:16px;padding:18px;margin:22px 0}.shopping-reference ul{padding-left:20px;max-height:220px;overflow:auto}.shopping-reference li{margin-bottom:9px}.shopping-reference a{color:#00657f;font-weight:700}


/* WV WIC Recipe Finder — editorial redesign */
:root{--teal:#00657f;--magenta:#d0006f;--green:#006b4f;--mint:#00cfa6;--darkgreen:#006b4f;--aqua:#00a9ce;--orange:#ffae00;--cream:#f6f9f7;--ink:#17323d;--muted:#526a73;--line:#dce8e9;--shadow:0 20px 48px rgba(0,65,82,.09)}
body{background:#fbfcfb}
.site-header{box-shadow:0 4px 25px rgba(0,65,82,.045);border-bottom:1px solid #e5eeee}
.header-inner{height:102px;max-width:1250px;gap:20px}
.wic-logo{width:86px;height:86px}
.header-title strong{font-size:1.32rem;letter-spacing:-.02em}
.header-title span{font-size:1rem;color:#536c74;font-weight:700;margin-top:5px}
.text-button{font-size:.95rem;border:1px solid #dce7e9;border-radius:999px;padding:11px 18px}
.text-button:hover{background:#edf6f6}
.hero{min-height:600px;padding:70px 32px 80px;background:linear-gradient(115deg,#f6fbf9 0%,#fff 58%,#fef6f9 100%);text-align:left;display:block}
.hero:before{background:#00a9ce;opacity:.055}.hero:after{background:#d0006f;opacity:.055}
.hero-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:70px;position:relative;z-index:2}
.hero-copy{max-width:690px}
.eyebrow{font-size:.77rem;letter-spacing:.16em;color:#a81c64}
.hero h1{font-size:clamp(3.1rem,5.3vw,5.1rem);line-height:1.07;letter-spacing:-.045em;margin:25px 0 23px;font-weight:900}
.hero h1 em{color:var(--magenta)}
.hero p{margin:0;max-width:555px;font-size:1.15rem;line-height:1.75}
.hero-actions{justify-content:flex-start;margin:30px 0 18px}
.button{padding:15px 27px;font-weight:900}
.button.primary{background:var(--magenta);box-shadow:0 12px 26px rgba(208,0,111,.18)}
.button.secondary{border:1.5px solid #bdd5da;background:#fff}
.hero .microcopy{font-size:.85rem!important;color:#587079}
.hero-art{min-height:425px;border-radius:36px;background:linear-gradient(145deg,#00657f,#004c60);box-shadow:0 30px 65px rgba(0,72,89,.19);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:38px 30px;color:#fff}
.hero-art:before{content:"";position:absolute;width:390px;height:390px;border:1px solid rgba(255,255,255,.19);border-radius:50%;top:20px;right:-140px}
.hero-art:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:#00cfa6;opacity:.12;bottom:-120px;left:-70px}
.art-label{font-size:.74rem;font-weight:900;letter-spacing:.16em;opacity:.9;text-align:center}
.art-plate{margin:35px 0 30px;width:240px;height:240px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:3px;box-shadow:0 16px 32px rgba(0,0,0,.15);transform:rotate(-8deg)}
.art-plate img{width:48%;height:58%;object-fit:contain;mix-blend-mode:multiply}
.art-note{text-align:center;display:flex;flex-direction:column;gap:5px;font-size:1.08rem}
.art-note strong{font-size:1.32rem}
.art-note span{color:#d9f3f0}
.builder{max-width:1200px}
.step-heading h2,.results-heading h2,.how-it-works h2{letter-spacing:-.035em}
.choice-card{border:1px solid #dbe7e9;border-radius:17px;box-shadow:0 5px 20px rgba(0,65,82,.035);min-height:160px}
.choice-card.selected{background:#fff4fa;border:2px solid var(--magenta)}
.choice-icon{font-size:2.5rem}
.recipe-card{border:1px solid #e0e9e9;box-shadow:0 12px 36px rgba(0,65,82,.075)}
.recipe-top{background:linear-gradient(120deg,#e8f5f1,#f8fbf8);min-height:170px}
.recipe-emoji{font-size:3.5rem}
.match-badge{background:var(--green)}
.how-it-works{background:#eef7f5}
.how-grid article{border:1px solid #e0ebe9}
footer{background:#004d61}
@media(max-width:850px){.hero-inner{gap:25px;grid-template-columns:1fr 0.8fr}.hero-art{min-height:360px}.art-plate{width:180px;height:180px}}
@media(max-width:650px){.header-inner{height:78px}.wic-logo{width:62px;height:62px}.header-title strong{font-size:1.05rem}.header-title span{font-size:.8rem}.text-button{padding:8px 11px;font-size:.78rem}.hero{padding:50px 20px 55px;min-height:0}.hero-inner{grid-template-columns:1fr;gap:34px}.hero h1{font-size:clamp(2.7rem,10vw,4rem)}.hero p{font-size:1.04rem}.hero-actions{display:flex;flex-wrap:wrap}.hero .button{width:auto}.hero-art{min-height:250px;padding:25px}.art-plate{width:130px;height:130px;margin:16px 0}.art-note strong{font-size:1.05rem}.art-note span{font-size:.85rem}}
@media print{.hero-art{display:none!important}}

/* ===== LARGER WV WIC HEADER LOGO ===== */

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1350px;
  min-height: 140px;
  height: auto;
  padding: 15px 35px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Enlarge the actual logo */
.site-header .wic-logo {
  width: 220px !important;
  height: 115px !important;
  max-width: none !important;
  object-fit: contain;
  object-position: center;
}

/* Larger, balanced header text */
.site-header .header-title strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1.2;
}

.site-header .header-title span {
  display: block;
  font-size: 1.15rem;
  margin-top: 5px;
}

/* Mobile adjustments */
@media (max-width: 650px) {
  .site-header .header-inner {
    min-height: 95px;
    padding: 12px 15px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .site-header .wic-logo {
    width: 115px !important;
    height: 75px !important;
  }

  .site-header .header-title strong {
    font-size: 1rem;
  }

  .site-header .header-title span {
    font-size: 0.85rem;
  }
}

/* WV WIC Recipe Finder - Homepage Steps */

.recipe-preview {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 35px auto;
}

.preview-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  text-align: left;
}

.preview-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #00CFA6;
}

.preview-step strong {
  display: block;
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.preview-step small {
  display: block;
  color: #E0F2F3;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .recipe-preview {
    margin: 22px auto;
  }

  .preview-step {
    padding: 15px 18px;
  }
}

/* WV WIC Recipe Finder - Homepage Steps */

.recipe-preview {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 35px auto;
}

.preview-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  text-align: left;
}

.preview-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #00CFA6;
}

.preview-step strong {
  display: block;
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.preview-step small {
  display: block;
  color: #E0F2F3;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .recipe-preview {
    margin: 22px auto;
  }

  .preview-step {
    padding: 15px 18px;
  }
}

/* WIC Recipe Finder - Benefits Section */

.how-it-works {
  background: #F3F8F9;
  padding: 75px 25px;
  text-align: center;
}

.how-it-works h2 {
  color: #00657F;
  margin-bottom: 12px;
}

.section-intro {
  color: #60747C;
  max-width: 600px;
  margin: 0 auto 35px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.how-grid article {
  background: #FFFFFF;
  border: 1px solid #DFE9EB;
  border-radius: 18px;
  padding: 35px 25px;
  box-shadow: 0 8px 24px rgba(0,65,82,0.04);
}

.how-grid article .feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: #FCE8F2;
  color: #D0006F;
  font-size: 2rem;
  font-weight: 700;
}

/* Hide numbering from old layout */
.how-grid article b {
  display: none;
}


/* =========================================
   WV WIC RECIPE FINDER
   EDITORIAL DESIGN SYSTEM
   ========================================= */

:root {
  --wic-teal: #00657F;
  --wic-magenta: #D0006F;
  --wic-green: #006B4F;
  --wic-mint: #00CFA6;
  --wic-blue: #00A9CE;
  --wic-orange: #FFAE00;

  --wic-cream: #FAFAF7;
  --wic-paper: #FFFFFF;
  --wic-ink: #17323D;
  --wic-muted: #60747C;
  --wic-border: #E2E9E7;
}

/* GENERAL APPEARANCE */

body {
  background: var(--wic-cream);
  color: var(--wic-ink);
  font-family: "Nunito", Arial, sans-serif;
}

h1, h2, h3 {
  letter-spacing: -0.025em;
}

button {
  font-family: inherit;
}

/* BUILDER CONTAINER */

.builder {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 28px 80px;
}

/* PROGRESS INDICATOR */

.progress-wrap {
  background: #FFFFFF;
  border: 1px solid var(--wic-border);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 35px;
}

.progress-meta {
  color: var(--wic-teal);
  font-weight: 800;
}

.progress-track {
  background: #E5EFED;
  height: 8px;
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(
    90deg,
    var(--wic-teal),
    var(--wic-mint)
  );
  border-radius: 100px;
}

/* STEP HEADINGS */

.step-heading {
  margin-bottom: 32px;
}

.step-heading h2,
.results-heading h2 {
  color: var(--wic-teal);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.2;
}

.step-heading p,
.results-heading p {
  color: var(--wic-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.step-icon {
  display: none;
}

/* =========================================
   EDITORIAL FOOD SELECTION CARDS
   ========================================= */

.food-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.food-grid .editorial-food-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;

  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 8px;

  background: #FFFFFF;
  border: 2px solid var(--wic-border);
  border-radius: 17px;

  text-align: left;
  cursor: pointer;
  overflow: hidden;

  box-shadow: 0 6px 20px rgba(0,65,82,.035);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.food-grid .editorial-food-card:hover {
  transform: translateY(-3px);
  border-color: #9BBEC3;
  box-shadow: 0 14px 30px rgba(0,65,82,.09);
}

/* REAL FOOD PHOTOGRAPHY */

.food-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;

  overflow: hidden;
  border-radius: 11px;

  background: #F1F1EB;
}

.food-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FOOD NAMES */

.food-card-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 11px 17px;
}

.food-card-details strong {
  display: block;
  color: var(--wic-ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.3;
}

.food-card-details small {
  display: block;
  color: var(--wic-muted);
  font-size: .86rem;
  line-height: 1.5;
}

/* SELECTED FOOD INDICATOR */

.food-selected-check {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 32px;
  height: 32px;

  display: none;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--wic-magenta);
  color: #FFFFFF;

  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.food-grid .editorial-food-card.selected,
.food-grid .editorial-food-card[aria-pressed="true"] {
  border-color: var(--wic-magenta);
  background: #FFFFFF;
  box-shadow: 0 9px 25px rgba(208,0,111,.09);
}

.editorial-food-card.selected .food-selected-check,
.editorial-food-card[aria-pressed="true"]
.food-selected-check {
  display: flex;
}

.editorial-food-card:focus-visible {
  outline: 3px solid var(--wic-teal);
  outline-offset: 3px;
}

/* =========================================
   PREFERENCES AND KITCHEN OPTIONS
   ========================================= */

.step h3 {
  color: var(--wic-teal);
  font-weight: 900;
  margin-top: 28px;
}

.pill-grid {
  gap: 12px;
}

.pill {
  background: #FFFFFF;
  border: 1.5px solid var(--wic-border);
  border-radius: 12px;
  padding: 13px 19px;

  color: var(--wic-ink);
  font-weight: 800;

  transition: all .2s ease;
}

.pill:hover {
  border-color: var(--wic-teal);
  background: #F3F8F9;
}

.pill.selected,
.pill[aria-pressed="true"] {
  background: #FFF1F8;
  border-color: var(--wic-magenta);
  color: #A60059;
}

.pantry-label {
  color: var(--wic-ink);
}

#pantryInput {
  background: #FFFFFF;
  border: 1.5px solid var(--wic-border);
  border-radius: 14px;
  padding: 17px;
  font: inherit;
  color: var(--wic-ink);
}

#pantryInput:focus {
  outline: 2px solid var(--wic-teal);
  outline-offset: 2px;
}

/* =========================================
   BUTTONS
   ========================================= */

.button {
  border-radius: 12px;
  padding: 15px 25px;
  font-weight: 900;
  transition: all .2s ease;
}

.button.primary {
  background: var(--wic-magenta);
  color: #FFFFFF;
  border: 2px solid var(--wic-magenta);
  box-shadow: 0 7px 18px rgba(208,0,111,.12);
}

.button.primary:hover {
  background: #AD005C;
  border-color: #AD005C;
}

.button.secondary {
  background: #FFFFFF;
  color: var(--wic-teal);
  border: 1.5px solid #B9D0D5;
}

.button.secondary:hover {
  background: #F3F8F9;
}

.button.ghost {
  color: var(--wic-teal);
}

/* =========================================
   RECIPE RESULTS
   ========================================= */

.recipe-grid {
  gap: 24px;
}

.recipe-card {
  overflow: hidden;
  border: 1px solid var(--wic-border);
  border-radius: 20px;
  background: #FFFFFF;

  box-shadow: 0 8px 28px rgba(0,65,82,.055);
  transition: transform .2s ease;
}

.recipe-card:hover {
  transform: translateY(-3px);
}

.recipe-top {
  background: linear-gradient(
    135deg,
    #EAF5F2,
    #F9FAF6
  );
  min-height: 155px;
}

.recipe-body {
  padding: 23px;
}

.recipe-body h3 {
  color: var(--wic-teal);
  font-size: 1.25rem;
  font-weight: 900;
}

.recipe-desc {
  color: var(--wic-muted);
  line-height: 1.6;
}

.recipe-meta {
  color: var(--wic-muted);
}

.wic-tag {
  background: #EAF5F0;
  color: var(--wic-green);
  border-radius: 7px;
  font-size: .8rem;
  font-weight: 800;
}

.match-badge {
  background: var(--wic-green);
  color: #FFFFFF;
}

.filter-chip {
  background: #FFFFFF;
  border: 1px solid var(--wic-border);
  border-radius: 100px;
}

.filter-chip.active {
  background: var(--wic-teal);
  color: #FFFFFF;
}

/* =========================================
   RECIPE DETAILS
   ========================================= */

.recipe-modal {
  border: 1px solid var(--wic-border);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,40,50,.2);
}

.modal-inner h2 {
  color: var(--wic-teal);
  font-weight: 900;
}

.modal-inner h3 {
  color: var(--wic-teal);
}

.ingredient-list li,
.direction-list li {
  line-height: 1.75;
}

.shopping-reference {
  background: #F3F8F9;
  border: 1px solid #D9E6E9;
  border-radius: 14px;
  padding: 20px;
}

/* =========================================
   MOBILE AND TABLET
   ========================================= */

@media (max-width: 1000px) {
  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .builder {
    padding: 22px 15px 55px;
  }

  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .food-grid .editorial-food-card {
    padding: 6px;
    border-radius: 14px;
  }

  .food-card-details {
    padding: 11px 8px 13px;
  }

  .food-card-details strong {
    font-size: .98rem;
  }

  .food-card-details small {
    font-size: .78rem;
  }

  .food-selected-check {
    width: 27px;
    height: 27px;
    font-size: 16px;
  }

  .step-heading h2 {
    font-size: 1.65rem;
  }

  .progress-wrap {
    padding: 16px;
  }

  .recipe-body {
    padding: 18px;
  }
}

@media (max-width: 350px) {
  .food-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   OFFICIAL HEADER BRANDING
   WV WIC + WV DEPARTMENT OF HEALTH
   ========================================= */

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1350px;
  min-height: 125px;
  height: auto;
  padding: 12px 35px;
}

/* Left side: WIC identity */
.header-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.site-header .wic-logo {
  width: 190px !important;
  height: 100px !important;
  max-width: none !important;
  object-fit: contain;
}

.header-title {
  flex-shrink: 0;
}

.site-header .header-title strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.15;
}

.site-header .header-title span {
  display: block;
  font-size: 1.05rem;
  margin-top: 5px;
}

/* Right side: utility + agency branding */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-left: auto;
}

.header-right .text-button {
  margin-left: 0;
  white-space: nowrap;
}

.header-health-logo {
  display: block;
  width: 250px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

/* Tablet */
@media (max-width: 900px) {
  .site-header .header-inner {
    gap: 18px;
    padding: 10px 20px;
    min-height: 105px;
  }

  .site-header .wic-logo {
    width: 145px !important;
    height: 82px !important;
  }

  .site-header .header-title strong {
    font-size: 1.15rem;
  }

  .site-header .header-title span {
    font-size: .9rem;
  }

  .header-health-logo {
    width: 190px;
    height: 65px;
  }

  .header-right {
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .site-header .header-inner {
    min-height: 84px;
    padding: 8px 12px;
    gap: 8px;
  }

  .header-brand {
    gap: 7px;
  }

  .site-header .wic-logo {
    width: 85px !important;
    height: 62px !important;
  }

  .site-header .header-title strong {
    font-size: .82rem;
  }

  .site-header .header-title span {
    font-size: .68rem;
    margin-top: 2px;
  }

  .header-health-logo {
    width: 105px;
    height: 52px;
  }

  .header-right {
    gap: 5px;
  }

  .header-right .text-button {
    display: none;
  }
}
