/* Eat Grub 2026 · global styles
   Tokens from the "Eat Grub redesign" canvas. */

:root {
  --navy: #0B2A4A;
  --teal: #1EB3B0;
  --teal-text: #0B7A78; /* teal for small text on white (AA contrast) */
  --orange: #F0582B;
  --orange-dark: #D9471C;
  --yellow: #F6B23D;
  --cream: #FFF4E5;
  --mint: #E4F6F5;
  --blush: #FDE4DC;
  --grey: #F6F8FA;
  --line: #E6EBF0;
  --muted: #4A6078;
  --muted-light: #C9D6E3;
  --white: #FFFFFF;

  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-xs: 12px;
  --pill: 999px;

  --gutter: clamp(16px, 3.5vw, 48px);
  --container: 1440px;
  --shadow-float: 0 8px 24px rgba(11, 42, 74, .12);
  --shadow-product: 0 24px 32px rgba(11, 42, 74, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.screen-reader-text, .eg-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eg-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--pill); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- Layout ---------- */
.eg-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.eg-main { padding-block: 24px 64px; }
.eg-main--home { padding-block: 0; }
.eg-section { padding-block: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.eg-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.eg-section-head__meta { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Type ---------- */
.eg-display { font-size: clamp(48px, 7vw, 84px); line-height: .95; }
.eg-h1 { font-size: clamp(38px, 5vw, 64px); line-height: .96; }
.eg-h1--light { color: #fff; }
.eg-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.eg-h3 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1; }
.eg-lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.eg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); }
.eg-eyebrow a { color: inherit; text-decoration: none; }
.eg-eyebrow.is-orange { color: var(--orange); }
.eg-eyebrow.is-teal { color: var(--teal-text); }
.eg-link-arrow { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.eg-link-arrow::after { content: " →"; }
.eg-link-arrow.is-light { color: #fff; }
.eg-link-arrow.is-light:hover { color: var(--yellow); }

/* ---------- Buttons & pills ---------- */
.eg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--pill); border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.eg-btn:active { transform: translateY(1px); }
.eg-btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.eg-btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.eg-btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.eg-btn--navy:hover { background: #10406f; border-color: #10406f; color: #fff; }
.eg-btn--ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.eg-btn--ghost:hover { background: var(--navy); color: #fff; }
.eg-btn--lg { height: 52px; padding: 0 28px; font-size: 17px; }
.eg-btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.eg-btn--block { width: 100%; }
.eg-btn[disabled], .eg-btn.disabled { opacity: .55; pointer-events: none; }
.eg-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.eg-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: var(--pill); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; width: fit-content; }
.eg-pill--navy { background: var(--navy); color: #fff; }
.eg-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; color: var(--navy); text-decoration: none; }
.eg-icon-btn:hover { background: var(--grey); color: var(--navy); }
.eg-icon { flex-shrink: 0; }

/* Chips */
.eg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.eg-chip { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: var(--pill); border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, color .15s; }
.eg-chip:hover, .eg-chip.is-active { background: var(--navy); color: #fff; }

/* Badges */
.eg-badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--pill); background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eg-badge--new { background: var(--teal); }
.eg-badge--sale { background: var(--orange); }
.eg-badge--soldout { background: #fff; color: var(--muted); border: 1px solid var(--muted-light); left: auto; right: 12px; }
.eg-badge--gallery { top: 20px; left: 20px; height: 30px; padding: 0 12px; }

/* Stars */
.eg-stars { display: inline-flex; gap: 1px; color: var(--yellow); vertical-align: middle; }
.eg-stars .is-off { color: var(--muted-light); }

/* ---------- Top bar + header ---------- */
.eg-topbar { background: var(--navy); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .03em; text-align: center; padding: 8px var(--gutter); }
.eg-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.eg-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding-block: 12px; }
.eg-logo img { height: 40px; width: auto; }
.eg-header .eg-logo img { height: clamp(32px, 3vw, 40px); }
.eg-nav { display: none; }
.eg-nav__list { display: flex; gap: 28px; list-style: none; }
.eg-nav__list > li { position: relative; }
.eg-nav__list a { text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .02em; padding: 10px 0; display: inline-block; }
.eg-nav__list > li.current-menu-item > a, .eg-nav__list > li.current-menu-ancestor > a, .eg-nav__list > li.current_page_parent > a { color: var(--orange); }
.eg-nav__list .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 220px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s var(--ease); }
.eg-nav__list > li:hover > .sub-menu, .eg-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.eg-nav__list .sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.eg-nav__list .sub-menu a:hover { background: var(--grey); }
.eg-header__actions { display: flex; align-items: center; gap: 4px; }
.eg-header__search, .eg-header__account { display: none; }
.eg-bag-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: var(--pill); background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; transition: background .15s; }
.eg-bag-btn:hover { background: var(--orange-dark); }
.eg-bag-btn__label, .eg-bag-sep { display: none; }
.eg-bag-btn .eg-bag-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--navy); font-size: 12px; }
.eg-bag-btn.is-bumping { animation: eg-bump .35s var(--ease); }
@keyframes eg-bump { 30% { transform: scale(1.08); } }

@media (min-width: 1024px) {
  .eg-header__burger { display: none; }
  .eg-nav { display: block; }
  .eg-header__search, .eg-header__account { display: inline-flex; }
  .eg-bag-btn__label, .eg-bag-sep { display: inline; }
  .eg-bag-btn .eg-bag-count { background: transparent; min-width: 0; padding: 0; font-size: 15px; height: auto; }
  .eg-header__actions { gap: 12px; }
}
@media (max-width: 1023px) {
  .eg-header__in { padding-block: 10px; min-height: 64px; }
  .eg-bag-btn { width: 44px; padding: 0; justify-content: center; position: relative; }
  .eg-bag-btn .eg-bag-count { position: absolute; top: -4px; right: -4px; }
  .eg-bag-btn .eg-bag-count[data-count="0"] { display: none; }
}

/* ---------- Drawers (menu left, bag right) ---------- */
.eg-drawer { position: fixed; inset: 0; z-index: 100; }
.eg-drawer[hidden] { display: none; }
.eg-drawer__backdrop { position: absolute; inset: 0; background: rgba(11,42,74,.45); opacity: 0; transition: opacity .25s var(--ease); }
.eg-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -16px 0 40px rgba(11,42,74,.2); transform: translateX(100%); transition: transform .3s var(--ease); }
.eg-drawer__panel--left { right: auto; left: 0; width: min(360px, 88%); transform: translateX(-100%); box-shadow: 16px 0 40px rgba(11,42,74,.2); }
.eg-drawer.is-open .eg-drawer__backdrop { opacity: 1; }
.eg-drawer.is-open .eg-drawer__panel { transform: none; }
.eg-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.eg-drawer__title { font-size: 28px; }
.eg-drawer__close { width: 44px; height: 44px; border: 0; background: var(--grey); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.eg-drawer__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body.eg-locked { overflow: hidden; }
.eg-mobile-nav { list-style: none; padding: 8px 12px; }
.eg-mobile-nav .sub-menu { list-style: none; padding-left: 16px; }
.eg-mobile-nav a { display: block; padding: 14px 12px; font-family: var(--font-head); font-size: 26px; font-weight: 800; text-transform: uppercase; text-decoration: none; border-radius: 12px; }
.eg-mobile-nav .sub-menu a { font-family: var(--font-body); font-size: 17px; font-weight: 600; text-transform: none; padding: 10px 12px; color: var(--muted); }
.eg-mobile-nav a:hover { background: var(--grey); }
.eg-mobile-nav__foot { display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 24px; border-top: 1px solid var(--line); margin-top: 8px; }
.eg-mobile-nav__foot a { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.eg-footer { background: var(--navy); color: var(--muted-light); margin-top: auto; }
.eg-footer a { color: var(--muted-light); text-decoration: none; }
.eg-footer a:hover { color: #fff; }
.eg-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 48px 24px; }
.eg-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.eg-footer__brand .eg-logo img { height: 64px; }
.eg-footer__address { font-size: 14px; line-height: 1.6; max-width: 320px; }
.eg-footer__social { display: flex; gap: 12px; }
.eg-footer__social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; }
.eg-footer__social a:hover { background: rgba(255,255,255,.1); }
.eg-footer__title { color: #fff; font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.eg-footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.eg-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 16px 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.eg-footer__legal { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; }
@media (min-width: 720px) { .eg-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- Page heads, breadcrumb ---------- */
.eg-page-head, .eg-shop-head { display: flex; flex-direction: column; gap: 16px; padding-block: 8px 24px; }
.eg-breadcrumb { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.eg-breadcrumb a { text-decoration: none; color: var(--muted); }
.eg-breadcrumb a:hover { color: var(--orange); }
.eg-crumb-sep { color: var(--muted-light); }

/* ---------- Cards for posts/recipes ---------- */
.eg-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.eg-pcard { display: flex; flex-direction: column; gap: 12px; }
.eg-pcard__media { display: block; border-radius: 16px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.eg-pcard__media.is-mint { background: var(--mint); } .eg-pcard__media.is-cream { background: var(--cream); } .eg-pcard__media.is-blush { background: var(--blush); }
.eg-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.eg-pcard:hover .eg-pcard__media img { transform: scale(1.03); }
.eg-pcard__title { font-family: var(--font-body); font-weight: 700; font-size: 18px; text-transform: none; line-height: 1.3; letter-spacing: 0; }
.eg-pcard__title a { text-decoration: none; }
.eg-pcard__meta { font-size: 14px; color: var(--muted); }
.eg-thumb-empty { display: block; width: 100%; height: 100%; }

/* ---------- Prose (page/article content, product description) ---------- */
.eg-prose { font-size: 17px; line-height: 1.65; }
.eg-prose--page, .eg-prose--article { max-width: 760px; }
.eg-prose h2, .eg-prose h3 { margin: 1.6em 0 .6em; }
.eg-prose h2 { font-size: clamp(28px, 3vw, 36px); }
.eg-prose h3 { font-size: 24px; }
.eg-prose p, .eg-prose ul, .eg-prose ol { margin: 0 0 1em; }
.eg-prose ul, .eg-prose ol { padding-left: 1.3em; }
.eg-prose li { margin-bottom: .35em; }
.eg-prose img { border-radius: 16px; }
.eg-prose iframe { max-width: 100%; border-radius: 16px; }
.eg-prose blockquote { margin: 1.5em 0; padding: 20px 24px; background: var(--grey); border-radius: 16px; font-size: 1.1em; font-weight: 500; }
.eg-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.eg-prose td, .eg-prose th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.eg-prose strong { font-weight: 700; }
.eg-article { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.eg-article__head { display: flex; flex-direction: column; gap: 14px; }
.eg-article__meta { font-size: 14px; color: var(--muted); font-weight: 600; }
.eg-article__hero { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey); }
.eg-article__hero img { width: 100%; }

/* Block content on pages */
.eg-main--blocks { padding-top: 0; }
.eg-blocks > * { margin-inline: auto; }
.eg-blocks > .alignfull { max-width: none; }
.eg-blocks > .alignwide { max-width: var(--container); padding-inline: var(--gutter); }
.eg-blocks > :not(.alignwide):not(.alignfull) { max-width: 760px; padding-inline: var(--gutter); }

/* ---------- Panels, stats, tiles ---------- */
.eg-panel { border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.eg-panel--navy { background: var(--navy); color: #fff; }
.eg-panel--navy .eg-link-arrow { color: #fff; }
.eg-panel--mint { background: var(--mint); }
.eg-panel--cream { background: var(--cream); }
.eg-panel p { margin: 0; line-height: 1.6; }
.eg-panel__note { font-size: 14px; color: var(--muted-light); line-height: 1.5; }
.eg-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eg-stats--cards { gap: 16px; }
.eg-stats--cards .eg-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); padding: 24px; }
.eg-stat { display: flex; flex-direction: column; gap: 6px; }
.eg-stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.eg-stat__num.is-yellow { color: var(--yellow); } .eg-stat__num.is-teal { color: var(--teal); } .eg-stat__num.is-orange { color: var(--orange); } .eg-stat__num.is-white { color: #fff; }
.eg-stat__label { font-size: 14px; color: var(--muted-light); }
@media (min-width: 720px) { .eg-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .eg-stats--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.eg-reassurance { background: var(--grey); margin-top: 48px; }
.eg-reassurance__grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
.eg-tile { display: flex; gap: 14px; align-items: flex-start; }
.eg-tile__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); }
.eg-tile__icon.is-mint { background: var(--mint); } .eg-tile__icon.is-cream { background: var(--cream); } .eg-tile__icon.is-blush { background: var(--blush); }
.eg-tile__title { font-weight: 700; font-size: 16px; }
.eg-tile__text { font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (min-width: 720px) { .eg-reassurance__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Newsletter ---------- */
.eg-newsletter { padding-block: 0 64px; }
.eg-newsletter__box { background: var(--yellow); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.eg-newsletter__box p { margin: 8px 0 0; font-size: 17px; }
.eg-nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.eg-nl-form input { flex: 1 1 220px; height: 52px; border-radius: var(--pill); border: 0; padding: 0 20px; font-size: 16px; background: #fff; }
.eg-nl-form .eg-btn { height: 52px; }
@media (min-width: 900px) { .eg-newsletter__box { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }

/* ---------- Home ---------- */
.eg-hero { background: var(--cream); overflow: hidden; }
.eg-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding-block: clamp(28px, 5vw, 64px); }
.eg-hero__copy { display: flex; flex-direction: column; gap: 20px; max-width: 580px; }
.eg-hero__text { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 480px; margin: 0; }
.eg-hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; }
.eg-hero__blob { position: absolute; width: min(460px, 80%); aspect-ratio: 1; border-radius: 50%; background: var(--teal); opacity: .9; }
.eg-hero__product { position: relative; display: block; }
.eg-hero__product img { height: clamp(300px, 36vw, 520px); width: auto; max-width: none; transform: rotate(-6deg); filter: drop-shadow(var(--shadow-product)); transition: transform .4s var(--ease); }
.eg-hero__product:hover img { transform: rotate(-3deg) translateY(-6px); }
.eg-float { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: 2px; max-width: 200px; }
.eg-float--tr { right: 0; top: 8%; }
.eg-float--bl { left: 0; bottom: 10%; }
.eg-float__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 2.5vw, 34px); line-height: 1; }
.eg-float__text { font-size: 13px; color: var(--muted); font-weight: 500; }
@media (min-width: 900px) { .eg-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } .eg-hero__visual { min-height: 520px; } .eg-float--tr { right: 24px; top: 48px; } .eg-float--bl { left: 24px; bottom: 56px; } }
@media (max-width: 899px) { .eg-hero__visual { order: -1; min-height: 300px; } .eg-float { display: none; } .eg-hero__copy .eg-btn-row .eg-btn { flex: 1 1 160px; } }

.eg-trust { border-bottom: 1px solid var(--line); }
.eg-trust__in { display: flex; gap: 12px 32px; flex-wrap: wrap; justify-content: center; padding-block: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.eg-trust__in span { display: inline-flex; align-items: center; gap: 8px; }
.eg-trust__in .eg-icon { color: var(--teal); stroke-width: 2.5; }

.eg-cats { display: grid; grid-template-columns: 1fr; gap: 16px; }
.eg-catcard { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 200px; padding: 28px; border-radius: var(--radius-md); text-decoration: none; color: var(--navy); transition: transform .2s var(--ease); }
.eg-catcard:hover { transform: translateY(-3px); color: var(--navy); }
.eg-catcard.is-cream { background: var(--cream); } .eg-catcard.is-mint { background: var(--mint); } .eg-catcard.is-blush { background: var(--blush); }
.eg-catcard__title { font-family: var(--font-head); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1; }
.eg-catcard__sub { font-size: 15px; color: var(--muted); margin-top: 6px; max-width: 60%; }
.eg-catcard__cta { font-weight: 700; font-size: 15px; }
.eg-catcard__img { position: absolute; right: -10px; bottom: -30px; height: 190px; width: auto; max-width: 45%; object-fit: contain; transform: rotate(8deg); transition: transform .3s var(--ease); }
.eg-catcard:hover .eg-catcard__img { transform: rotate(4deg) translateY(-6px); }
@media (min-width: 720px) { .eg-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 719px) { .eg-cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 8px; } .eg-catcard { flex: 0 0 260px; scroll-snap-align: start; min-height: 160px; padding: 20px; } .eg-catcard__title { font-size: 26px; } .eg-catcard__img { height: 140px; } }

.eg-why { background: var(--navy); color: #fff; }
.eg-why__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.eg-why__copy { display: flex; flex-direction: column; gap: 20px; }
.eg-why__copy p { color: var(--muted-light); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 520px; margin: 0; }
@media (min-width: 900px) { .eg-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

.eg-split { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.eg-split__media { border-radius: var(--radius-lg); min-height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; }
.eg-split__media.is-cream { background: var(--cream); }
.eg-split__media img { height: clamp(240px, 28vw, 380px); width: auto; object-fit: contain; }
.eg-split__copy { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) { .eg-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } .eg-split__media { min-height: 440px; } }

.eg-reviews-band { background: var(--grey); padding-block: clamp(40px, 5vw, 64px); }
.eg-reviews-band .eg-container { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Recipes ---------- */
.eg-recipe { display: flex; flex-direction: column; gap: 24px; }
.eg-recipe__head { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.eg-recipe__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.eg-recipe__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.eg-recipe__hero { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey); }
.eg-recipe__hero img { width: 100%; }
.eg-recipe__side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.eg-ingredients { list-style: none; display: flex; flex-direction: column; }
.eg-ingredients li { padding: 10px 0; border-bottom: 1px solid rgba(11,42,74,.1); font-size: 16px; }
.eg-ingredients li:last-child { border-bottom: 0; }
.eg-method p { padding: 12px 0; border-bottom: 1px solid var(--line); }
.eg-recipe__credits { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .eg-recipe__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; } }

/* ---------- Pagination, search, 404 ---------- */
.eg-pagination { margin-top: 32px; }
.eg-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.eg-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--pill); border: 2px solid var(--line); text-decoration: none; font-weight: 700; }
.eg-pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.eg-pagination a.page-numbers:hover { border-color: var(--navy); }
.eg-search { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.eg-search input { flex: 1 1 220px; height: 48px; border-radius: var(--pill); border: 2px solid var(--line); padding: 0 18px; font-size: 16px; }
.eg-search input:focus { border-color: var(--navy); outline: none; }
.eg-404 { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-block: 64px; }
.eg-404__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Generic grid for product lists outside Woo wrappers ---------- */
.eg-grid--products { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .eg-grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .eg-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Contact form (mu-plugin eatgrub-contact-form) ---------- */
.eg-contact { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 24px; }
.eg-contact__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eg-contact__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .eg-contact__grid { grid-template-columns: 1fr 1fr; } .eg-field--full { grid-column: 1 / -1; } }
.eg-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.eg-field input, .eg-field select, .eg-field textarea { font: inherit; font-weight: 500; font-size: 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; color: var(--navy); width: 100%; }
.eg-field textarea { resize: vertical; min-height: 140px; }
.eg-field input:focus, .eg-field select:focus, .eg-field textarea:focus { border-color: var(--navy); outline: none; }
.eg-contact__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.eg-contact__note { font-size: 14px; color: var(--muted); }
.eg-contact__msg { margin: 0; font-weight: 600; color: var(--teal); }
.eg-contact__msg:empty { display: none; }
.eg-contact__msg.is-error { color: var(--orange); }
.eg-contact.is-done .eg-contact__grid, .eg-contact.is-done .eg-contact__foot { display: none; }

/* ---------- Static page helpers ---------- */
.eg-prose .eg-page-lead { font-size: clamp(19px, 2vw, 22px); color: var(--muted); }
.eg-prose figure.eg-page-img { margin: 24px 0; }
.eg-prose figure.eg-page-img img { border-radius: var(--radius-md); width: 100%; height: auto; }
.eg-prose .eg-img-right { float: right; max-width: 42%; margin: 0 0 16px 24px; border-radius: var(--radius-md); }
.eg-prose .eg-img-right img { border-radius: var(--radius-md); }
@media (max-width: 719px) { .eg-prose .eg-img-right { float: none; max-width: 100%; margin: 16px 0; } }
.eg-prose .eg-faq { border-top: 1px solid var(--line); margin: 8px 0 32px; }
.eg-prose .eg-faq details { border-bottom: 1px solid var(--line); }
.eg-prose .eg-faq summary { list-style: none; cursor: pointer; padding: 14px 32px 14px 0; font-weight: 700; font-size: 17px; position: relative; }
.eg-prose .eg-faq summary::-webkit-details-marker { display: none; }
.eg-prose .eg-faq summary::after { content: ""; position: absolute; right: 4px; top: 20px; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.eg-prose .eg-faq details[open] summary::after { transform: rotate(225deg); top: 24px; }
.eg-prose .eg-faq details > div { padding: 0 0 16px; color: var(--muted); }
.eg-prose .eg-faq details > div p:last-child { margin-bottom: 0; }
.eg-prose .eg-people { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 28px; }
.eg-prose .eg-person { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 720px) { .eg-prose .eg-person { grid-template-columns: 200px 1fr; } }
.eg-prose .eg-person img { border-radius: var(--radius-md); width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.eg-prose .eg-person h3 { margin: 0 0 8px; }
.eg-prose .eg-person h3 small { display: block; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--teal); font-weight: 700; }
.eg-prose .eg-stores { columns: 2; column-gap: 32px; padding: 0; list-style: none; }
@media (min-width: 900px) { .eg-prose .eg-stores { columns: 3; } }
.eg-prose .eg-stores li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.eg-prose .eg-stores strong { display: block; }
.eg-prose .eg-stores span { color: var(--muted); }
.eg-prose .eg-store-group { margin: 24px 0 8px; }
.eg-prose .eg-callout { background: var(--mint); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; }
.eg-prose .eg-callout p:last-child { margin-bottom: 0; }
.eg-prose .eg-social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 8px 0 24px; }
.eg-prose .eg-social a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--pill); border: 2px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; }
.eg-prose .eg-quiz { counter-reset: q; }
.eg-prose .eg-quiz h3::before { counter-increment: q; content: counter(q) ". "; color: var(--orange); }
.eg-prose .eg-quiz .eg-quiz__options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0 0 12px; }
.eg-prose .eg-quiz .eg-quiz__options li { padding: 6px 14px; border-radius: var(--pill); background: var(--grey); font-size: 14px; font-weight: 600; }
.eg-prose .eg-quiz details summary { cursor: pointer; font-weight: 700; color: var(--teal); }

/* ---------- Cookie banner (CookieYes / Cookie Law Info): compact, on brand ---------- */
.cky-consent-container.cky-banner-bottom { bottom: 0; left: 0; right: 0; width: auto !important; max-width: none !important; }
.cky-consent-container .cky-consent-bar { background: #fff !important; border: 0 !important; border-top: 1px solid var(--line) !important; box-shadow: 0 -8px 30px rgba(11,42,74,.12); padding: 14px var(--gutter) !important; }
.cky-consent-container .cky-notice { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; max-width: var(--container); margin: 0 auto; }
.cky-consent-container .cky-title { font-family: var(--font-head) !important; text-transform: uppercase; font-size: 15px !important; letter-spacing: .02em; color: var(--navy) !important; margin: 0 !important; flex: 0 0 auto; }
.cky-consent-container .cky-notice-group { display: flex; align-items: center; gap: 12px 24px; flex: 1; flex-wrap: wrap; }
.cky-consent-container .cky-notice-des { flex: 1 1 320px; }
.cky-consent-container .cky-notice-des p { font-size: 13px !important; line-height: 1.45 !important; color: var(--muted) !important; margin: 0 !important; font-weight: 500 !important; }
.cky-consent-container .cky-notice-btn-wrapper { display: flex; gap: 8px; flex: 0 0 auto; margin: 0 !important; }
.cky-consent-container .cky-btn { height: 40px !important; padding: 0 18px !important; border-radius: var(--pill) !important; font: 700 14px/1 var(--font-body) !important; border-width: 2px !important; margin: 0 !important; min-width: 0 !important; }
.cky-consent-container .cky-btn-accept { background: var(--orange) !important; border-color: var(--orange) !important; color: #fff !important; }
.cky-consent-container .cky-btn-reject { background: #fff !important; border-color: var(--navy) !important; color: var(--navy) !important; }
.cky-consent-container .cky-btn-customize { background: transparent !important; border-color: transparent !important; color: var(--muted) !important; text-decoration: underline; padding: 0 8px !important; }
@media (max-width: 719px) {
  .cky-consent-container .cky-consent-bar { padding: 12px 16px !important; }
  .cky-consent-container .cky-title { display: none !important; }
  .cky-consent-container .cky-notice-des p { font-size: 12px !important; }
  .cky-consent-container .cky-notice-btn-wrapper { width: 100%; justify-content: flex-end; }
  .cky-consent-container .cky-btn { height: 38px !important; font-size: 13px !important; }
}
.cky-btn-revisit-wrapper { display: none !important; } /* no floating cookie icon; policy page links to settings */
.cky-modal .cky-preference-center { border-radius: var(--radius-md) !important; }
.cky-modal .cky-btn { border-radius: var(--pill) !important; font-weight: 700 !important; }
.cky-modal .cky-btn-accept { background: var(--orange) !important; border-color: var(--orange) !important; }
@media (max-width: 719px) {
  .cky-consent-container .cky-notice-des, .cky-consent-container .cky-notice-des * { font-size: 12px !important; line-height: 1.4 !important; font-weight: 500 !important; }
  .cky-consent-container .cky-notice-btn-wrapper { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 8px !important; }
  .cky-consent-container .cky-notice-btn-wrapper .cky-btn { width: auto !important; flex: 1 1 0; display: inline-flex !important; align-items: center; justify-content: center; margin: 0 !important; }
  .cky-consent-container .cky-notice-btn-wrapper .cky-btn-customize { flex: 0 0 auto; }
}
