.page {
  --cafe-ink: oklch(16% 0.025 63);
  --cafe-paper: oklch(94% 0.034 78);
  --cafe-cream: oklch(97% 0.022 82);
  --cafe-orange: oklch(68% 0.16 52);
  --cafe-red: oklch(50% 0.18 32);
  --cafe-green: oklch(50% 0.11 145);
  min-height: 100vh;
  background: var(--cafe-paper);
  color: var(--cafe-ink);
}

.siteHeader {
  display: flex;
  width: min(1440px, 100%);
  min-height: 84px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 72px);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cafe-ink);
  font-family: var(--font-display), sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand > span {
  width: 18px;
  height: 18px;
  background: var(--cafe-orange);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

/* .brandLogo now lives in base.css so every page gets it. */

.siteHeader nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.siteHeader nav a {
  color: oklch(37% 0.025 63);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.siteHeader nav a:hover,
.siteHeader nav a[aria-current='page'] {
  color: var(--cafe-red);
}

.account {
  padding: 11px 18px;
  border: 1px solid oklch(78% 0.03 72);
  border-radius: 6px;
  background: var(--cafe-cream);
}

.hero {
  display: grid;
  width: min(1320px, calc(100% - 32px));
  min-height: 650px;
  margin: 18px auto 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  border: 1px solid oklch(86% 0.035 72);
  border-radius: 12px;
  background: var(--cafe-cream);
}

.heroCopy {
  display: flex;
  padding: clamp(48px, 7vw, 104px);
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--cafe-red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 24px;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(4.6rem, 8.2vw, 8.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.73;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--cafe-orange);
  font-style: normal;
}

.heroCopy > p:not(.eyebrow) {
  max-width: 44ch;
  margin: 0;
  color: oklch(40% 0.03 63);
  font-size: 1.03rem;
  line-height: 1.6;
}

.serviceNotes {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid oklch(84% 0.04 72);
}

.serviceNotes span {
  padding: 15px 12px 0 0;
  color: oklch(35% 0.03 63);
  font-size: 0.74rem;
  font-weight: 600;
}

.serviceNotes b {
  display: block;
  margin-bottom: 6px;
  color: var(--cafe-orange);
  font-size: 0.68rem;
}

.heroVisual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--cafe-orange);
}

.heroVisual::after {
  position: absolute;
  inset: auto -8% -15% 12%;
  height: 54%;
  border-radius: 50% 50% 0 0;
  background: var(--cafe-red);
  content: '';
}

.heroVisual > img {
  position: absolute;
  z-index: 2;
  inset: 7% auto auto 7%;
  width: 86%;
  height: 82%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
  box-shadow: 0 30px 70px oklch(22% 0.09 38 / 0.24);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero:hover .heroVisual > img {
  transform: rotate(2deg) scale(1.025);
}

.heroWord {
  position: absolute;
  z-index: 1;
  inset: 2% auto auto -1%;
  color: oklch(93% 0.07 76 / 0.48);
  font-family: var(--font-display), sans-serif;
  font-size: clamp(10rem, 19vw, 20rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.openBadge {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 7%;
  display: flex;
  width: 128px;
  height: 128px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  background: var(--cafe-green);
  color: var(--cafe-cream);
  transform: rotate(6deg);
}

.openBadge span,
.openBadge small {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.openBadge strong {
  font-family: var(--font-display), sans-serif;
  font-size: 1.65rem;
  text-transform: uppercase;
}

.heroFallback {
  position: absolute;
  z-index: 2;
  inset: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px solid var(--cafe-cream);
  border-radius: 50%;
  color: var(--cafe-cream);
}

.heroFallback strong { font-family: var(--font-display), sans-serif; font-size: 6rem; }

.menuSection {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 160px) 0;
}

.menuHeading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.menuHeading h2,
.cafeFooter h2 {
  margin: 8px 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: uppercase;
}

.search {
  width: min(350px, 100%);
  color: oklch(43% 0.025 63);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search input {
  width: 100%;
  margin-top: 8px;
  padding: 13px 2px;
  border: 0;
  border-bottom: 1px solid oklch(65% 0.04 65);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--cafe-ink);
  font-size: 1rem;
}

.search input:focus {
  border-color: var(--cafe-red);
  box-shadow: 0 2px 0 var(--cafe-red);
}

.categoryBar {
  display: flex;
  margin: 44px 0 34px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.categoryBar button {
  display: flex;
  min-height: 42px;
  padding: 0 15px;
  align-items: center;
  gap: 12px;
  border: 1px solid oklch(80% 0.035 72);
  border-radius: 6px;
  background: transparent;
  color: oklch(35% 0.03 63);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

.categoryBar button span {
  color: oklch(55% 0.04 63);
  font-size: 0.7rem;
}

.categoryBar button:hover,
.categoryBar .activeCategory {
  border-color: var(--cafe-ink);
  background: var(--cafe-ink);
  color: var(--cafe-cream);
}

.foodGrid,
.loadingGrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.foodItem {
  display: grid;
  grid-column: span 4;
  min-height: 465px;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  border: 1px solid oklch(84% 0.035 72);
  border-radius: 10px;
  background: var(--cafe-cream);
}

.foodItem:nth-child(5n + 1) {
  grid-column: span 8;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr;
}

.foodImage {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: oklch(88% 0.06 72);
}

.foodImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.foodItem:hover .foodImage img { transform: scale(1.045); }

.itemNumber {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--cafe-cream);
  color: var(--cafe-ink);
  font-size: 0.7rem;
  font-weight: 700;
}

.imageFallback {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--cafe-orange);
  color: var(--cafe-ink);
}

.imageFallback span { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.imageFallback strong { font-family: var(--font-display), sans-serif; font-size: 7rem; line-height: 0.8; }

.foodContent {
  display: flex;
  padding: 24px;
  flex-direction: column;
}

.foodCategory {
  color: var(--cafe-red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.foodContent h3 {
  margin: 7px 0 8px;
  font-family: var(--font-display), sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.foodContent p {
  max-width: 42ch;
  margin: 0;
  color: oklch(44% 0.025 63);
  font-size: 0.83rem;
  line-height: 1.5;
}

.foodAction {
  display: flex;
  margin-top: auto;
  padding-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.foodAction > strong {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.addButton,
.inlineQuantity button,
.cartLine button {
  border: 0;
  cursor: pointer;
}

.addButton {
  display: inline-flex;
  min-height: 39px;
  padding: 0 13px;
  align-items: center;
  gap: 12px;
  border-radius: 5px;
  background: var(--cafe-ink);
  color: var(--cafe-cream);
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease;
}

.addButton:hover { background: var(--cafe-red); transform: translateY(-2px); }

.inlineQuantity {
  display: flex;
  min-height: 39px;
  align-items: center;
  border: 1px solid oklch(73% 0.04 65);
  border-radius: 5px;
}

.inlineQuantity button,
.inlineQuantity span {
  display: grid;
  width: 34px;
  height: 37px;
  place-items: center;
  background: transparent;
  color: var(--cafe-ink);
}

.error,
.noResults {
  display: flex;
  min-height: 150px;
  margin-bottom: 24px;
  padding: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid oklch(65% 0.12 32);
  border-radius: 8px;
  background: oklch(92% 0.045 42);
}

.error p,
.noResults p { margin: 5px 0 0; color: oklch(42% 0.04 45); }
.error button,
.noResults button { padding: 10px 15px; border: 1px solid var(--cafe-red); border-radius: 5px; background: transparent; color: var(--cafe-red); cursor: pointer; font-weight: 700; }

.loadingGrid > div {
  grid-column: span 4;
  height: 465px;
  border-radius: 10px;
  background: linear-gradient(100deg, oklch(90% 0.025 75) 25%, oklch(95% 0.025 75) 45%, oklch(90% 0.025 75) 65%);
  background-size: 220% 100%;
  animation: loading 1.3s ease-in-out infinite;
}

@keyframes loading { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.cafeFooter {
  display: grid;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) clamp(30px, 7vw, 96px);
  grid-template-columns: 1.2fr 0.7fr auto;
  align-items: end;
  gap: 48px;
  border-radius: 12px 12px 0 0;
  background: var(--cafe-ink);
  color: var(--cafe-cream);
}

.cafeFooter p:not(.eyebrow) { max-width: 38ch; margin: 0; color: oklch(78% 0.025 73); line-height: 1.6; }
.cafeFooter a { padding-bottom: 6px; border-bottom: 1px solid var(--cafe-orange); color: var(--cafe-orange); font-weight: 700; text-decoration: none; white-space: nowrap; }

.cart {
  position: fixed;
  z-index: 20;
  right: clamp(16px, 3vw, 42px);
  bottom: 20px;
  width: min(470px, calc(100% - 32px));
  overflow: hidden;
  border: 1px solid oklch(38% 0.035 63);
  border-radius: 9px;
  background: var(--cafe-ink);
  color: var(--cafe-cream);
  box-shadow: 0 18px 50px oklch(12% 0.02 63 / 0.28);
}

.cartSummary {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 12px 16px;
  grid-template-columns: 38px 1fr auto 20px;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.cartCount { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--cafe-orange); color: var(--cafe-ink); font-weight: 800; }
.cartSummary > span:nth-child(2) { display: flex; flex-direction: column; }
.cartSummary small { margin-top: 2px; color: oklch(72% 0.025 73); }
.cartSummary > b { color: var(--cafe-orange); font-variant-numeric: tabular-nums; }
.cartSummary i { color: oklch(72% 0.025 73); font-style: normal; }

.cartDetails {
  display: none;
  max-height: min(430px, 62vh);
  padding: 0 16px 16px;
  overflow-y: auto;
  border-top: 1px solid oklch(31% 0.035 63);
}

.cartOpen .cartDetails { display: block; }

.cartLine {
  display: grid;
  min-height: 54px;
  grid-template-columns: 1fr auto 90px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid oklch(28% 0.03 63);
  font-size: 0.82rem;
}

.cartLine > div { display: flex; align-items: center; gap: 6px; }
.cartLine button { width: 26px; height: 26px; border-radius: 4px; background: oklch(26% 0.03 63); color: var(--cafe-cream); }
.cartLine > strong { text-align: right; font-variant-numeric: tabular-nums; }

.checkout {
  display: flex;
  padding-top: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout > span { display: flex; flex-direction: column; }
.checkout small { color: oklch(72% 0.025 73); }
.checkout strong { margin-top: 2px; font-size: 1.15rem; }
.checkout > button { min-height: 45px; padding: 0 17px; border: 0; border-radius: 5px; background: var(--cafe-orange); color: var(--cafe-ink); cursor: pointer; font-weight: 800; }
.checkout > button:disabled { cursor: wait; opacity: 0.65; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .heroVisual { min-height: 520px; }
  .foodItem, .foodItem:nth-child(5n + 1) { grid-column: span 6; grid-template-columns: 1fr; grid-template-rows: 240px 1fr; }
  .cafeFooter { grid-template-columns: 1fr 1fr; }
  .cafeFooter a { grid-column: 2; }
  .loadingGrid > div { grid-column: span 6; }
}

@media (max-width: 680px) {
  .siteHeader { min-height: 68px; padding: 12px 16px; }
  .brand { font-size: 1.15rem; }
  .siteHeader nav { gap: 14px; }
  .siteHeader nav a:nth-child(3) { display: none; }
  .account { padding: 9px 11px; }
  .hero { width: calc(100% - 20px); margin-top: 8px; }
  .heroCopy { padding: 48px 26px 42px; }
  .hero h1 { font-size: clamp(4rem, 21vw, 6.5rem); }
  .serviceNotes { margin-top: 36px; }
  .serviceNotes span { font-size: 0.65rem; }
  .heroVisual { min-height: 390px; }
  .openBadge { width: 94px; height: 94px; }
  .openBadge strong { font-size: 1.2rem; }
  .menuSection { width: calc(100% - 28px); padding: 88px 0; }
  .menuHeading { align-items: stretch; flex-direction: column; }
  .menuHeading h2 { font-size: 4rem; }
  .search { width: 100%; }
  .categoryBar { margin-top: 28px; }
  .foodItem, .foodItem:nth-child(5n + 1), .loadingGrid > div { grid-column: span 12; }
  .foodItem, .foodItem:nth-child(5n + 1) { min-height: 430px; grid-template-rows: 230px 1fr; }
  .foodContent { padding: 20px; }
  .cafeFooter { width: calc(100% - 20px); padding: 64px 26px 110px; grid-template-columns: 1fr; gap: 30px; }
  .cafeFooter a { grid-column: auto; width: fit-content; }
  .cart { right: 10px; bottom: 10px; width: calc(100% - 20px); }
  .cartSummary { grid-template-columns: 36px 1fr auto 14px; padding-inline: 12px; }
  .cartSummary > b { font-size: 0.86rem; }
  .cartLine { grid-template-columns: 1fr auto; padding: 10px 0; }
  .cartLine > strong { grid-column: 2; }
  .checkout { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .heroVisual > img,
  .foodImage img,
  .addButton { transition: none; }
}
