:root {
  --ink: #111513;
  --ink-soft: #4b5550;
  --paper: #f3f6f2;
  --white: #ffffff;
  --line: #dfe5df;
  --neon: #73f12f;
  --neon-deep: #38b919;
  --forest: #0d3b22;
  --danger: #e92e2e;
  --shadow: 0 12px 32px rgba(17, 21, 19, .10);
  --radius: 18px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 144px; }
body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 28px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: 12px; padding: 10px 14px; transform: translateY(-150%); background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid #237b0d; outline-offset: 3px; }

.site-header { background: #0e110f; color: white; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.brand { display: flex; align-items: center; min-width: 0; gap: 11px; color: white; text-decoration: none; }
.brand img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,255,255,.16); }
.brand-copy { display: grid; min-width: 0; }
.brand-copy strong { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(1.35rem, 5.4vw, 2rem); line-height: .95; letter-spacing: .045em; font-style: italic; }
.brand-copy small { margin-top: 5px; color: #cdd4cf; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-links { display: none; align-items: center; gap: 4px; }
.quick-links a { min-width: 62px; padding: 7px 8px; border-radius: 12px; color: #eef3ef; text-align: center; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.quick-links a:hover { background: #222a25; color: var(--neon); transform: translateY(-1px); }
.quick-links span { display: block; font-size: 1.2rem; line-height: 1; font-style: normal; font-weight: 800; }
.quick-links em { display: block; margin-top: 5px; font-size: .7rem; font-style: normal; }

.sticky-tools { position: sticky; z-index: 50; top: 0; background: #fff; border-bottom: 1px solid rgba(17,21,19,.1); }
.category-strip { overflow: hidden; }
.category-track { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.category-track::-webkit-scrollbar, .filter-row::-webkit-scrollbar { display: none; }
.category-link { flex: 0 0 auto; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; background: white; color: #3f4944; font-size: .82rem; font-weight: 750; text-decoration: none; white-space: nowrap; transition: .2s ease; }
.category-link:hover, .category-link.active { border-color: var(--ink); background: var(--ink); color: var(--neon); box-shadow: 0 2px 8px rgba(0,0,0,.10); }

.menu-tools { padding-top: 22px; }
.search-box { position: relative; display: flex; align-items: center; width: 100%; max-width: 620px; margin-inline: auto; }
.search-box input { width: 100%; min-height: 52px; padding: 0 48px 0 46px; border: 1px solid #ccd4ce; border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 5px 18px rgba(17,21,19,.06); font-size: 1rem; transition: border .2s, box-shadow .2s; }
.search-box input:focus { border-color: var(--neon-deep); box-shadow: 0 0 0 4px rgba(115,241,47,.18); outline: none; }
.search-icon { position: absolute; left: 18px; width: 15px; height: 15px; border: 2px solid #57615b; border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; transform: rotate(45deg); transform-origin: left center; background: #57615b; border-radius: 4px; }
.clear-search { position: absolute; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #edf1ed; color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 15px 0 5px; scrollbar-width: none; }
.filter-button { flex: 0 0 auto; border: 1px solid #ccd4ce; border-radius: 999px; padding: 8px 13px; background: transparent; color: #46514a; font-size: .82rem; font-weight: 700; cursor: pointer; transition: .2s ease; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: var(--forest); background: #dfffce; color: #0a401d; }
.result-status { min-height: 1.25em; margin: 7px 0 0; color: var(--ink-soft); font-size: .85rem; text-align: center; }

.menu-sections { padding-block: 8px 52px; }
.menu-section { scroll-margin-top: 145px; padding-top: 34px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 15px; border-bottom: 3px solid var(--ink); }
.section-title-wrap { position: relative; padding: 0 15px 8px 0; }
.section-title-wrap::after { content: ""; position: absolute; z-index: -1; right: -10px; bottom: 4px; width: 74px; height: 16px; transform: skew(-20deg); background: var(--neon); }
.section-title { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(1.75rem, 8vw, 2.75rem); line-height: .95; letter-spacing: .025em; text-transform: uppercase; font-style: italic; }
.section-subtitle { margin: 4px 0 0; color: #367b21; font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.product-card { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 144px; overflow: hidden; contain: layout paint style; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 2px 9px rgba(17,21,19,.055); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.product-card:hover { border-color: #b9c5ba; box-shadow: 0 5px 16px rgba(17,21,19,.08); }
.product-card:active { transform: scale(.99); }
.product-card:focus-visible { outline: 3px solid #237b0d; outline-offset: 3px; }
.product-media { position: relative; min-height: 144px; overflow: hidden; background: #f7f9f6; }
.product-media picture { display: block; width: 100%; height: 100%; }
.product-media img { width: 100%; height: 100%; padding: 5px; object-fit: contain; object-position: center; }
.product-card:has(.product-media img) { grid-template-columns: minmax(0, 1fr); grid-template-rows: 164px auto; min-height: 290px; }
.product-card:has(.product-media img) .product-media { min-height: 164px; border-bottom: 1px solid #edf0ed; }
.product-placeholder { display: grid; place-items: center; height: 100%; min-height: 144px; overflow: hidden; background: linear-gradient(145deg, #151a17, #26302a); color: var(--neon); }
.product-placeholder::before { content: "X"; font-family: Impact, sans-serif; font-size: 5.5rem; line-height: 1; font-style: italic; transform: rotate(-6deg); opacity: .9; }
.product-placeholder::after { content: "XTREME CAFÉ"; position: absolute; left: 12px; bottom: 10px; color: white; font-size: .61rem; font-weight: 900; letter-spacing: .08em; }
.product-card-body { display: flex; flex-direction: column; min-width: 0; padding: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 4px; min-height: 18px; margin-bottom: 5px; }
.product-tag { border-radius: 999px; padding: 3px 7px; background: #e5ffd7; color: #205d10; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.product-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.17; }
.product-description { display: -webkit-box; overflow: hidden; margin: 6px 0 0; color: var(--ink-soft); font-size: .79rem; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 9px; }
.product-price { color: var(--danger); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 1.35rem; line-height: 1; letter-spacing: .02em; }
.product-price small { color: #68736d; font-family: inherit; font-size: .7rem; font-weight: 700; }
.detail-link { color: #245916; font-size: .75rem; font-weight: 850; white-space: nowrap; }
.macro-preview { display: none; margin-top: 8px; color: #59635d; font-size: .72rem; }
.menu-section.featured { margin-top: 34px; padding: 30px 14px 22px; border-radius: 26px; background: #101512; box-shadow: 0 8px 24px rgba(11,17,13,.16); color: white; }
.menu-section.featured .section-heading { border-color: var(--neon); }
.menu-section.featured .section-title-wrap::after { height: 20px; }
.menu-section.featured .section-subtitle { color: #bdfba0; }
.menu-section.featured .product-card { border-color: #334038; background: #18201b; color: white; }
.menu-section.featured .product-card:hover { border-color: var(--neon); }
.menu-section.featured .product-description, .menu-section.featured .macro-preview { color: #bbc6be; }
.menu-section.featured .detail-link { color: var(--neon); }
.menu-section.featured .product-placeholder { background: linear-gradient(145deg, #203625, #0e1510); }
.nutrition-note { margin-bottom: 52px; padding: 14px 16px; border-left: 4px solid var(--neon-deep); background: white; color: #505b54; font-size: .84rem; }
.empty-state { grid-column: 1 / -1; padding: 36px 20px; border: 1px dashed #bfc8c0; border-radius: var(--radius); text-align: center; color: var(--ink-soft); }
.empty-state strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 1.15rem; }

.visit-section { padding: 56px 0; background: linear-gradient(135deg, #efffe6, #d7f9c6); border-block: 1px solid #b4e89d; }
.visit-grid { display: grid; gap: 16px; }
.info-card { padding: 25px; border: 1px solid rgba(17,21,19,.12); border-radius: 22px; background: rgba(255,255,255,.85); box-shadow: 0 10px 26px rgba(33,92,17,.08); }
.eyebrow { color: #286914; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.info-card h2 { margin: 7px 0 8px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(1.8rem, 8vw, 2.5rem); line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.info-card p { margin: 0; color: var(--ink-soft); }
.primary-button { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 17px; border-radius: 12px; background: var(--ink); color: white; font-weight: 800; text-decoration: none; box-shadow: 0 8px 20px rgba(17,21,19,.18); transition: .2s ease; }
.primary-button:hover { background: var(--forest); color: var(--neon); transform: translateY(-2px); }
.hours-blocks { display: grid; gap: 10px; margin-top: 16px; }
.hours-blocks p { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 13px; background: #f0f5ef; }
.hours-blocks span { color: #5b675f; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.hours-blocks strong { color: var(--ink); font-size: 1.02rem; }

.site-footer { padding: 36px 0 calc(30px + env(safe-area-inset-bottom)); background: #0d110e; color: white; }
.footer-inner { display: grid; gap: 22px; }
.footer-inner > div { display: grid; }
.footer-inner strong { color: var(--neon); font-family: Impact, sans-serif; font-size: 1.45rem; letter-spacing: .05em; }
.footer-inner span { color: #c5cec8; font-size: .86rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-inner nav a { color: #e5ebe7; font-size: .85rem; text-decoration: none; }
.footer-inner nav a:hover { color: var(--neon); text-decoration: underline; }
.footer-inner small { color: #829087; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; align-items: end; background: rgba(4,8,5,.66); opacity: 1; transition: opacity .2s ease; }
.modal-backdrop[hidden] { display: none; }
.product-sheet { position: relative; width: 100%; max-height: min(91dvh, 850px); overflow-y: auto; overscroll-behavior: contain; border-radius: 24px 24px 0 0; background: white; box-shadow: 0 -20px 60px rgba(0,0,0,.28); animation: sheetUp .24s ease both; }
.sheet-handle { position: sticky; z-index: 3; top: 0; width: 46px; height: 5px; margin: 9px auto 3px; border-radius: 999px; background: #c8cfca; }
.modal-close { position: sticky; z-index: 4; top: 12px; float: right; width: 42px; height: 42px; margin: 3px 12px -45px 0; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.14); font-size: 1.65rem; line-height: 1; cursor: pointer; }
.modal-hero { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f6f2; }
.modal-hero picture { display: block; width: 100%; height: 100%; }
.modal-hero img { width: 100%; height: 100%; padding: 10px; object-fit: contain; object-position: center; }
.modal-hero .product-placeholder { min-height: 100%; }
.modal-body { padding: 22px 18px calc(30px + env(safe-area-inset-bottom)); }
.modal-kicker { margin: 0 0 5px; color: #297312; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.modal-heading h2 { margin: 0; font-size: clamp(1.6rem, 7vw, 2.3rem); line-height: 1.05; }
.modal-price { flex: 0 0 auto; color: var(--danger); font-family: Impact, sans-serif; font-size: 1.8rem; line-height: 1; }
.modal-image-note { margin: 10px 0 0; color: #647067; font-size: .75rem; font-style: italic; }
.modal-description { margin: 10px 0 0; color: var(--ink-soft); }
.modal-section { margin-top: 24px; }
.modal-section h3 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.ingredient-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ingredient-list li { padding: 7px 10px; border-radius: 999px; background: #edf2ed; color: #344039; font-size: .82rem; }
.not-specified { margin: 0; color: #667168; font-size: .9rem; font-style: italic; }
.macro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.macro-item { min-width: 0; padding: 11px 7px; border: 1px solid #d9e1da; border-radius: 12px; background: #f8faf8; text-align: center; }
.macro-item strong { display: block; color: #204614; font-size: .98rem; }
.macro-item span { display: block; overflow: hidden; color: #68736c; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.variant-list { display: grid; gap: 8px; }
.variant-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid #d3dbd4; border-radius: 13px; background: white; color: var(--ink); text-align: left; cursor: pointer; transition: .18s ease; }
.variant-button:hover, .variant-button[aria-pressed="true"] { border-color: #459f28; background: #e5ffd7; box-shadow: 0 0 0 2px rgba(115,241,47,.2); }
.variant-button strong { color: var(--danger); }
.option-block + .option-block { margin-top: 14px; }
.option-block h4 { margin: 0 0 7px; font-size: .9rem; }
.option-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.option-chip { padding: 6px 9px; border-radius: 9px; background: #eff3ef; color: #354039; font-size: .78rem; }
.builder-panel { padding: 16px; border: 1px solid #bde0ae; border-radius: 16px; background: #f3ffed; }
.builder-panel > h3 { color: #1f6510; font-size: 1.15rem; letter-spacing: .04em; }
.modal-footnote { margin: 24px 0 0; color: #68736c; font-size: .74rem; line-height: 1.4; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: .7; } to { transform: translateY(0); opacity: 1; } }

@media (min-width: 560px) {
  .shell { width: min(1180px, calc(100% - 40px)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { grid-template-columns: 132px minmax(0, 1fr); }
  .visit-grid { grid-template-columns: 1.2fr .8fr; }
}

@media (min-width: 760px) {
  :root { --header-height: 86px; }
  .brand img { width: 66px; height: 66px; }
  .quick-links { display: flex; }
  .menu-tools { padding-top: 30px; }
  .menu-section { padding-top: 46px; }
  .product-grid { gap: 18px; }
  .product-card { grid-template-columns: 42% minmax(0, 1fr); min-height: 214px; }
  .product-media, .product-placeholder { min-height: 214px; }
  .product-card-body { padding: 18px; }
  .product-card h3 { font-size: 1.25rem; }
  .product-description { font-size: .87rem; }
  .macro-preview { display: block; }
  .menu-section.featured { padding: 36px 24px 30px; }
  .product-sheet { align-self: center; width: min(760px, calc(100% - 36px)); max-height: 88dvh; margin-inline: auto; border-radius: 24px; }
  .modal-backdrop { align-items: center; padding: 20px; }
  .modal-body { padding: 28px 30px 34px; }
  .footer-inner { grid-template-columns: 1fr 1.5fr auto; align-items: center; }
}

@media (min-width: 1060px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card { grid-template-columns: 1fr; grid-template-rows: 190px 1fr; min-height: 390px; }
  .product-card:has(.product-media img) { grid-template-columns: 1fr; grid-template-rows: 190px 1fr; min-height: 390px; }
  .product-card:has(.product-media img) .product-media { min-height: 190px; }
  .product-media, .product-placeholder { min-height: 190px; }
  .menu-section.featured .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 22px); }
  .brand img { width: 52px; height: 52px; }
  .brand-copy strong { font-size: 1.35rem; }
  .brand-copy small { max-width: 220px; font-size: .66rem; }
  .product-card { grid-template-columns: 104px minmax(0, 1fr); }
  .product-card-body { padding: 12px; }
  .product-card h3 { font-size: .98rem; }
  .product-price { font-size: 1.2rem; }
  .detail-link { font-size: .7rem; }
  .macro-grid { gap: 4px; }
  .macro-item { padding-inline: 3px; }
}

@media (hover: none), (pointer: coarse) {
  .product-card:hover { border-color: var(--line); box-shadow: 0 2px 9px rgba(17,21,19,.055); }
  .product-card:active { transform: none; background: #fbfdfb; }
}
