/* 2.0 template family: CAFÉ, BREAKFAST & BRUNCH ('cafe'), drawn by public/tpl/cafe.js on the shared kit.
   Warm white and oat, sage for quiet details, the takeaway's colour as the terracotta accent, near-black ink.
   Instrument Serif (with one italic word) for display, Inter for words; lots of air. Square photos with 18px
   corners, bundles as wide cards, drinks as a calm list. Motion is minimal: one fade-up for the hero, a slow drift on
   its photo, sections easing in, a quiet lift on cards; none of it with reduced motion. Rules are scoped to this
   template and use #app so the older one-page café styles (shop-templates.css, .t-cafe) never show through. */

/* ---------- tokens */
body.site-body[data-template="cafe"] {
  --t-head: "Instrument Serif", Georgia, "Times New Roman", serif; --t-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-weight: 400; --fs-hw: 400; --t-case: none; --t-track: -.015em; --t-style: normal;
  --bg: #faf7f2; --card: #ffffff; --soft: #efe7da; --line: #e6dccb; --ink: #26231f; --muted: #675f56;
  --cf-oat: #efe7da; --cf-sage: #7c8b6f; --cf-sage-ink: #4e5d44; --cf-sage-soft: #e5eadd;
  --cf-accent: color-mix(in srgb, var(--brand-text) 86%, var(--ink));
  --cf-shadow: 0 24px 50px -28px rgba(60, 45, 30, .32);
  --cf-head: 64px;
  --fs-deep: #26231f;
  font-family: var(--t-body);
}
@media (min-width: 900px) { body.site-body[data-template="cafe"] { --cf-head: 76px; } }
body.site-body[data-template="cafe"][data-buttons="rounded"] { --t-btn-r: 999px; }
/* An espresso evening look for owners who choose the dark theme */
body.site-body[data-template="cafe"][data-theme="dark"] {
  --bg: #191714; --card: #221f1b; --soft: #2c2823; --line: #3a342d; --ink: #f3eee6; --muted: #bdb3a6;
  --cf-oat: #2c2823; --cf-sage-ink: #b0bfa1; --cf-sage-soft: #252a21; --cf-shadow: 0 24px 50px -28px rgba(0, 0, 0, .7); --fs-deep: #0f0e0c;
}

.site-body[data-template="cafe"] #app {
  & .fs-kicker { color: var(--cf-sage-ink); font: 600 .74rem/1.3 var(--t-body); letter-spacing: .18em; }
  & :is(h1, h2, h3) em { font-style: italic; color: var(--cf-accent); letter-spacing: -.01em; }
  & :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  & .fs-cta { border-radius: var(--t-btn-r); font-weight: 600; letter-spacing: 0; }
  & .fs-more { font-weight: 500; color: var(--ink); }
  & .fs-more:hover { color: var(--cf-accent); }

  /* ---------- header: airy, wordmark left, a pill of links, the opening status as a chip */
  & .cf-head { position: sticky; top: 0; z-index: 70; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 transparent; transition: box-shadow .4s ease; }
  & .cf-head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
  & .cf-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; height: var(--cf-head); }
  & .cf-brand { color: var(--ink); }
  & .cf-brand .fs-word { font-size: clamp(1.45rem, 5.4vw, 1.9rem); letter-spacing: -.02em; }
  & .cf-brand .fs-logo { border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
  & .cf-nav { display: none; }
  & .cf-acts { display: flex; align-items: center; gap: 6px; }
  & .cf-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--cf-sage-soft); color: var(--cf-sage-ink); font-size: .84rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
  & .cf-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #3f8a52; box-shadow: 0 0 0 3px color-mix(in srgb, #3f8a52 22%, transparent); }
  & .cf-chip.bad { background: color-mix(in srgb, var(--cf-oat) 80%, var(--bg)); color: var(--muted); }
  & .cf-chip.bad .dot { background: #b4532f; box-shadow: none; }
  @media (max-width: 419px) { & .cf-chip { display: none; } }
  & .cf-acts .fs-hbtn { border-color: transparent; border-radius: 999px; color: var(--ink); font-weight: 500; }
  & .cf-acts .fs-hbtn:hover { background: var(--cf-oat); }
  & .cf-basket { border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; }
  & .cf-basket .fs-basket-count { background: var(--brand); color: var(--brand-ink); }
  & .fs-menu-btn { border-radius: 999px; color: var(--ink); }
  @media (min-width: 1024px) {
    & .cf-head-in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; }
    & .cf-nav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--cf-oat); }
    & .cf-acts { justify-content: flex-end; }
  }
  & .cf-nav-a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-size: .92rem; font-weight: 500; text-decoration: none; transition: background-color .25s ease, color .25s ease; }
  & .cf-nav-a:hover { color: var(--ink); }
  & .cf-nav-a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(60, 45, 30, .25); }

  /* ---------- hero: headline left, a large rounded photo right with today's hours floating on it */
  & .cf-hero { padding: 28px 0 56px; }
  & .cf-hero-grid { display: grid; gap: 36px; }
  & .cf-hero-copy { min-width: 0; }
  & .cf-kicker { margin-bottom: 18px; }
  & .cf-hero h1 { margin: 0; font-family: var(--t-head); font-weight: 400; font-size: clamp(3rem, 1.7rem + 5.4vw, 6.4rem); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
  & .cf-hero-name { margin: 12px 0 0; font-weight: 500; color: var(--muted); }
  & .cf-hero-tag { margin: 18px 0 0; max-width: 36ch; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--muted); }
  & .cf-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
  & .cf-hero .fs-toggle { background: var(--cf-oat); border-radius: 999px; }
  & .cf-hero .fs-toggle button { border-radius: 999px; font-weight: 500; }
  & .cf-go { min-width: 210px; }
  & .cf-facts { margin-top: 16px; }
  @media (max-width: 479px) { & .cf-hero-row > * { flex: 1 1 100%; } & .cf-hero-row .fs-toggle { display: flex; } & .cf-hero-row .fs-toggle button { flex: 1; } }
  & .cf-hero-media { position: relative; margin: 0 0 30px; }
  & .cf-hero-frame { position: relative; display: block; aspect-ratio: 1 / 1.05; overflow: hidden; border-radius: 28px; background: var(--cf-oat); }
  & .cf-hero-frame img { width: 100%; height: 100%; object-fit: cover; }
  & .cf-hero-frame .t-sample-tag { top: 14px; bottom: auto; }
  & .cf-today { position: absolute; left: 14px; bottom: -30px; display: grid; gap: 4px; max-width: calc(100% - 28px); padding: 16px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--cf-shadow), 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); }
  & .cf-hero-aside .cf-today { position: static; width: fit-content; max-width: 100%; box-shadow: none; background: var(--cf-oat); }
  & .cf-today p { margin: 0; }
  & .cf-today-label { display: flex; align-items: center; gap: 6px; font: 600 .7rem/1.2 var(--t-body); letter-spacing: .18em; text-transform: uppercase; color: var(--cf-sage-ink); }
  & .cf-today-label .fs-ico { width: 14px; height: 14px; }
  & .cf-today-hours { font-family: var(--t-head); font-size: 1.45rem; line-height: 1.15; }
  & .cf-today-status { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
  & .cf-today-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #3f8a52; }
  & .cf-today-status.bad .dot { background: #b4532f; }
  @media (min-width: 900px) {
    & .cf-hero { padding: 40px 0 96px; }
    & .cf-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 72px; }
    & .cf-hero.size-medium .cf-hero-frame { aspect-ratio: 4 / 3.4; }
    & .cf-hero-frame { aspect-ratio: 4 / 4.6; max-height: 80svh; width: 100%; border-radius: 36px; }
    & .cf-hero-media { margin: 0; }
    & .cf-today { left: -32px; bottom: 40px; padding: 18px 24px; }
    & .cf-hero.no-photo .cf-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  }

  /* ---------- offers: one quiet sage line */
  & .cf-offers-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
  & .cf-offers-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 12px 18px; border-radius: 16px; background: var(--cf-sage-soft); }
  & .cf-offers-list b { font-weight: 600; color: var(--cf-sage-ink); }
  & .cf-offers-list span { font-size: .9rem; color: var(--muted); }
  & .cf-offers-list .is-later { opacity: .75; }

  /* ---------- section heads */
  & .fs-sec-head h2, & .cf-story h2, & .cf-promo h2 { font-family: var(--t-head); font-weight: 400; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.02em; }
  & .fs-sec-head { margin-bottom: 36px; }

  /* ---------- the product grid: square photos, soft corners, name and price beneath */
  & .cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  & .cf-cell { display: flex; min-width: 0; }
  @media (min-width: 760px) { & .cf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
  @media (min-width: 1100px) { & .cf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; } }
  & :is(.items, .popular-track) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; margin-top: 0; padding: 0; background: none; border-radius: 0; }
  @media (max-width: 339px) { & :is(.items, .popular-track), & .cf-grid { grid-template-columns: minmax(0, 1fr); } }
  @media (min-width: 700px) { & :is(.items, .popular-track) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; } }
  @media (min-width: 1024px) and (max-width: 1199px) { & :is(.items, .popular-track) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  & .cf-card { display: flex; flex-direction: column; gap: 12px; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); box-shadow: none; overflow: visible; transition: transform .45s var(--fs-ease); }
  & .cf-card:not(.soldout):hover { transform: translateY(-3px); box-shadow: none; }
  & .cf-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 18px; }
  & .cf-media { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--cf-oat); }
  & .cf-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 1s var(--fs-ease), opacity .6s ease; }
  & .cf-card:not(.soldout):hover .cf-media img { transform: scale(1.035); }
  & .cf-card .mi-add { position: absolute; z-index: 2; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--card) 94%, transparent);
    color: var(--ink); font-size: 1.25rem; font-weight: 400; box-shadow: 0 6px 16px -6px rgba(40, 30, 20, .35); transition: transform .3s var(--fs-ease), background-color .2s ease; }
  & .cf-card .mi-add.has { background: var(--brand); color: var(--brand-ink); font-size: .92rem; font-weight: 600; }
  & .cf-card:not(.soldout):hover .mi-add { transform: scale(1.06); }
  & .cf-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 0 2px; text-align: left; }
  & .cf-top { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
  & .cf-card .mi-name { font-weight: 500; font-size: clamp(.95rem, .92rem + .2vw, 1.04rem); line-height: 1.3; }
  & .cf-card .mi-price { flex: none; margin: 0; padding: 0; background: none; color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
  & .cf-card .mi-desc { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  & .cf-card .mi-opts { font-size: .78rem; font-weight: 500; color: var(--cf-sage-ink); }
  & .cf-card .mi-allergens { font-size: .76rem; color: var(--muted); }
  & .cf-card .fs-mark { border-color: var(--line); }
  @media (max-width: 479px) { & .cf-card:not(.is-bundle) .cf-top { flex-direction: column; } & .cf-card:not(.is-bundle) .mi-desc { -webkit-line-clamp: 2; font-size: .82rem; } & .cf-card .mi-allergens { display: none; } }
  /* no photo: a quiet bordered tile, never an empty photo box */
  & .cf-card.noimg { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: start; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
  & .cf-card.noimg .mi-add { position: static; box-shadow: 0 0 0 1px var(--line); }
  & .cf-card.noimg .mi-add.has { box-shadow: none; }
  & .cf-card.soldout { cursor: default; }
  & .cf-card.soldout .cf-media img { filter: grayscale(1); opacity: .55; }
  & .cf-card.soldout .mi-add { display: none; }
  & .cf-card.soldout .mi-price { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

  /* ---------- breakfast bundles: wide horizontal cards */
  & .cf-card.is-bundle { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); transition: transform .45s var(--fs-ease), box-shadow .45s ease; }
  & .cf-card.is-bundle:not(.soldout):hover { box-shadow: var(--cf-shadow); }
  & .cf-card.is-bundle .cf-media { border-radius: 16px; }
  & .cf-card.is-bundle .mi-add { width: 36px; height: 36px; right: 6px; bottom: 6px; font-size: 1.1rem; }
  & .cf-card.is-bundle .mi-name { font-family: var(--t-head); font-weight: 400; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.1; }
  & .cf-card.is-bundle .mi-desc { -webkit-line-clamp: 3; }
  & .cf-card.is-bundle.noimg { grid-template-columns: minmax(0, 1fr) 40px; padding: 20px; }
  @media (min-width: 700px) { & .cf-card.is-bundle { grid-template-columns: 168px minmax(0, 1fr); gap: 22px; padding: 14px 22px 14px 14px; } }
  & .cf-bundles-home { margin-top: 56px; }
  & .cf-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
  & .cf-sub h3 { margin: 0; font-family: var(--t-head); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.1; }
  & .cf-bundle-list { display: grid; gap: 14px; }
  @media (min-width: 900px) { & .cf-bundle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
  & :is(.cat.cf-bundles, .cat:has(> .cf-cathead.is-bundle)) .items { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  @media (min-width: 1200px) { & :is(.cat.cf-bundles, .cat:has(> .cf-cathead.is-bundle)) .items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* ---------- the menu index on the home page: soft pills */
  & .cf-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
  & .cf-cat { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--cf-oat); color: var(--ink); text-decoration: none; transition: background-color .3s ease, transform .4s var(--fs-ease); }
  & .cf-cat:not(:has(.cf-cat-ph)) { padding-left: 20px; }
  & .cf-cat:hover { background: color-mix(in srgb, var(--cf-oat) 70%, var(--card)); transform: translateY(-2px); }
  & .cf-cat-ph { width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--card); }
  & .cf-cat-ph img { width: 100%; height: 100%; object-fit: cover; }
  & .cf-cat-name { font-weight: 500; }
  & .cf-cat-n { min-width: 24px; padding: 2px 8px; border-radius: 999px; background: var(--card); font-size: .76rem; color: var(--muted); text-align: center; }

  /* ---------- story, promo, gallery, info */
  & .cf-story { display: grid; gap: 36px; align-items: center; }
  & .cf-story-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; background: var(--cf-oat); }
  & .cf-story-media img { width: 100%; height: 100%; object-fit: cover; }
  & .cf-story h2 { margin: 0; }
  & .cf-story-text { margin: 22px 0 16px; max-width: 54ch; font-size: clamp(1.04rem, 1rem + .25vw, 1.18rem); line-height: 1.75; color: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
  & .cf-story:not(.has-photo) { max-width: 820px; text-align: center; justify-items: center; }
  & .cf-story:not(.has-photo) .cf-story-text { margin-inline: auto; }
  @media (min-width: 900px) { & .cf-story.has-photo { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 96px; } & .cf-story-media { max-height: 680px; } }
  & .cf-promo { display: grid; gap: 28px; align-items: center; padding: 28px; border-radius: 28px; background: var(--cf-oat); }
  & .cf-promo h2 { margin: 0; }
  & .cf-promo p { max-width: 44ch; margin: 14px 0 0; font-size: 1.06rem; line-height: 1.6; color: var(--muted); }
  & .cf-promo-go { margin-top: 24px; }
  & .cf-promo-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; }
  & .cf-promo-media img { width: 100%; height: 100%; object-fit: cover; }
  @media (min-width: 900px) { & .cf-promo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; padding: 28px 28px 28px 64px; } & .cf-promo:not(.has-photo) { grid-template-columns: minmax(0, 1fr); padding: 64px; } }
  & .cf-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
  & .cf-gal-li { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 18px; background: var(--cf-oat); }
  & .cf-gal-li img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--fs-ease); }
  & .cf-gal-li:hover img { transform: scale(1.03); }
  @media (min-width: 900px) { & .cf-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
  & .fs-info { gap: 12px; border: 0; }
  & .fs-info-cell, & .fs-info-cell + .fs-info-cell { padding: 28px; border: 0; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  & .fs-info-cell > .fs-ico { color: var(--cf-sage-ink); }
  & .fs-info-cell .fs-info-big { font-size: 1.6rem; }
  @media (min-width: 900px) { & .fs-info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border: 0; } }

  /* ---------- page heads and the other pages */
  & .fs-pagehead { border: 0; }
  & .fs-pagehead h1 { font-family: var(--t-head); font-weight: 400; letter-spacing: -.025em; }
  & .fs-pagehead.has-photo { margin-top: calc(var(--cf-head) * -1); padding-top: calc(var(--cf-head) + 48px); border-radius: 0 0 32px 32px; }
  & .cf-menuhead .fs-pagehead { padding-bottom: 20px; }
  & .cf-menuhead .fs-toggle { background: var(--cf-oat); border-radius: 999px; }
  & .cf-menuhead .fs-status { background: var(--cf-sage-soft); color: var(--cf-sage-ink); }
  & .fs-about-facts, & .fs-find-card { border: 0; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  & .fs-mosaic li { border-radius: 18px; }

  /* ---------- the menu page: soft pill links, the marker a pill of oat behind the one being read */
  & .menu-nav.cf-menunav { top: calc(var(--cf-head) - 1px); border-bottom: 1px solid var(--line); }
  & .cf-menunav .cat-tabs { gap: 2px; align-items: center; }
  & .cf-menunav .cat-tabs a { z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--muted); font-weight: 500; transition: color .3s ease; }
  & .cf-menunav .cat-tabs a.active { color: var(--ink); }
  & .cf-menunav .fs-ink { top: 0; bottom: auto; height: 44px; border-radius: 999px; background: var(--cf-oat); z-index: 0; }
  & .cf-menunav .cat-group { display: none; }
  & .cat { scroll-margin-top: calc(var(--cf-head) + 76px); padding-top: 56px; }
  & .cf-cathead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  & .cf-cathead h2 { margin: 0; display: block; background: none; font-family: var(--t-head); font-weight: 400; font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3rem); line-height: 1.02; }
  & .cf-cathead .fs-catcount { letter-spacing: .14em; }
  & .cf-drinks-note { flex-basis: 100%; margin: 0; font-size: .88rem; color: var(--muted); }
  & .basket-panel { border: 0; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), var(--cf-shadow); }
  & .allergy-note { border-radius: 20px; background: var(--cf-sage-soft); }

  /* ---------- drinks: a calmer list with the sizes hint (the engine marks these sections .drinks) */
  & .cat.drinks .items { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 6px 20px; border-radius: 24px; background: var(--cf-oat); }
  @media (min-width: 700px) { & .cat.drinks .items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; padding: 10px 28px; } }
  & .cat.drinks .cf-card { flex-direction: row; align-items: center; gap: 14px; padding: 14px 0; border: 0; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 0; background: none; box-shadow: none; transform: none; }
  & .cat.drinks .cf-card .cf-media { flex: none; width: 56px; height: 56px; overflow: visible; border-radius: 50%; background: none; }
  & .cat.drinks .cf-card .cf-media img { border-radius: 50%; }
  & .cat.drinks .cf-card .mi-add { right: -6px; bottom: -6px; width: 28px; height: 28px; font-size: .95rem; }
  & .cat.drinks .cf-body { flex: 1; }
  & .cat.drinks .cf-top { flex-direction: row; }
  & .cat.drinks .cf-card .mi-desc { -webkit-line-clamp: 1; }
  & .cat.drinks .cf-card.noimg { grid-template-columns: minmax(0, 1fr) 36px; align-items: center; }
  & .cat.drinks .cf-card.noimg .mi-add { width: 36px; height: 36px; background: var(--card); }
  & .cat.drinks .cf-card .mi-allergens { display: block; }

  /* ---------- footer: oat, airy, the name with an italic flourish */
  & .cf-foot { margin-top: 112px; padding: 72px 0 calc(128px + env(safe-area-inset-bottom)); background: var(--cf-oat); color: var(--ink); }
  @media (min-width: 1024px) { & .cf-foot { padding-bottom: 48px; } }
  & .cf-foot-grid { display: grid; gap: 40px; padding-bottom: 48px; }
  @media (min-width: 760px) { & .cf-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } & .cf-foot-brand { grid-column: 1 / -1; } }
  @media (min-width: 1100px) { & .cf-foot-grid { grid-template-columns: 1.5fr 1fr 1.1fr .8fr; gap: 56px; } & .cf-foot-brand { grid-column: auto; } }
  & .cf-foot-brand { display: grid; justify-items: start; gap: 14px; align-content: start; }
  & .cf-foot-name { margin: 0; font-family: var(--t-head); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); line-height: 1; letter-spacing: -.025em; overflow-wrap: anywhere; }
  & .cf-foot-name em { font-style: italic; color: var(--cf-accent); }
  & .cf-foot-tag { margin: 0; color: var(--muted); max-width: 36ch; }
  & .cf-foot-grid h2 { margin: 0 0 14px; font: 600 .72rem/1.3 var(--t-body); letter-spacing: .18em; text-transform: uppercase; color: var(--cf-sage-ink); }
  & .cf-foot-grid p { margin: 0 0 6px; }
  & .cf-foot-grid a:not(.btn) { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
  & .cf-foot-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
  & .cf-foot .fs-hours :is(th, td) { padding: 6px 0; font-size: .9rem; border-bottom-color: color-mix(in srgb, var(--ink) 10%, transparent); }
  & .cf-foot .fs-socials a { border-radius: 999px; border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
  & .cf-foot-base { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); font-size: .85rem; color: var(--muted); }
  & .cf-foot-base p { margin: 0; }
  & .cf-foot-base b { color: var(--ink); font-weight: 600; }
}

/* Outside the page column: the phone menu and the sheets in the same soft, airy shapes */
.site-body[data-template="cafe"] {
  & .fs-drawer-nav a { font-family: var(--t-head); font-weight: 400; letter-spacing: -.02em; }
  & .fs-drawer-nav a[aria-current="page"] { font-style: italic; color: var(--cf-accent); }
  & .fs-drawer-close { background: var(--cf-oat); }
  & .sheet-panel { border-radius: 24px 24px 0 0; }
  & .sheet-panel :is(.sheet-head h2), & .item-body h2, & :is(.basket-panel, .basket-sheet) .basket-head h2 { font-family: var(--t-head); font-weight: 400; letter-spacing: -.02em; }
  & .item-photo { border-radius: 18px; margin: 10px 10px 0; }
  & .opt-group.is-one.is-size label.opt { background: var(--cf-oat); box-shadow: inset 0 0 0 4px var(--cf-oat); }
  & #view-basket, & .fs-bar-go, & .fs-bar-call { border-radius: 999px; }
  & .checkout-sheet .co-card { border-radius: 22px; }
  @media (min-width: 700px) { & .sheet-panel { border-radius: 24px; } }
}

/* ---------- motion: one fade-up for the hero, a slow drift on its photo */
@media (prefers-reduced-motion: no-preference) {
  .site-body[data-template="cafe"]:not(.fs-painted) #app {
    & .cf-hero-copy > * { animation: cf-up 1s var(--fs-ease) both; }
    & .cf-hero-copy > :nth-child(2) { animation-delay: .08s; } & .cf-hero-copy > :nth-child(3) { animation-delay: .16s; }
    & .cf-hero-copy > :nth-child(4) { animation-delay: .24s; } & .cf-hero-copy > :nth-child(5) { animation-delay: .32s; } & .cf-hero-copy > :nth-child(6) { animation-delay: .4s; }
    & .cf-hero-media { animation: cf-fade 1.4s ease both .1s; }
    & .cf-today { animation: cf-up 1s var(--fs-ease) both .55s; }
  }
  .site-body[data-template="cafe"] #app .cf-drift { animation: cf-drift 30s ease-in-out infinite alternate; transform-origin: 50% 40%; }
  .site-body[data-template="cafe"] .fs-rv { transform: translateY(10px); transition: opacity .9s ease, transform 1s var(--fs-ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .site-body[data-template="cafe"] .fs-rv.is-in { transform: none; }
}
@keyframes cf-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cf-fade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes cf-drift { from { transform: scale(1.01); } to { transform: scale(1.07) translate3d(-1%, -.6%, 0); } }
