@charset "UTF-8";

:root {
  color-scheme: light;
  --cream: #fff8ec;
  --canvas: #fbf4e8;
  --surface: #fffdf8;
  --red: #b52219;
  --red-dark: #911b15;
  --green: #345c35;
  --green-dark: #27482a;
  --gold: #c59644;
  --ink: #34291f;
  --muted: #746858;
  --line: #e7dbc8;
  --soft-green: #edf2e6;
  --soft-red: #fcece4;
  --radius: 22px;
  --header-height: 82px;
  --page-width: 1180px;
  --shadow: 0 12px 36px rgb(67 45 23 / 7%);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; padding-top: env(safe-area-inset-top, 0px); }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { appearance: none; }
button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: .48; box-shadow: none; transform: none; }
a { color: var(--red); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; margin-bottom: 16px; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); line-height: 1.16; margin-bottom: 14px; }
h3 { font-size: 1rem; line-height: 1.3; letter-spacing: -.015em; }
p { margin-bottom: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
#app:focus { outline: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.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; top: -100px; left: 16px; z-index: 1000; padding: 12px 18px; border-radius: 12px; background: var(--green); color: white; font-weight: 700; }
.skip-link:focus { top: 12px; }

.preview-notice { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 18px; background: #f0e3c9; color: #634a2c; text-align: center; font-size: .72rem; font-weight: 650; line-height: 1.4; }
.preview-notice .icon { width: 16px; height: 16px; }
.app-header { position: sticky; top: 0; z-index: 50; background: rgb(255 248 236 / 96%); border-bottom: 1px solid rgb(215 198 170 / 60%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.app-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(100%, var(--page-width)); min-height: var(--header-height); margin-inline: auto; padding: 10px 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; text-decoration: none; }
.brand-logo { flex: 0 0 auto; width: 52px; height: 59px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.brand-copy > span { margin-top: 6px; color: var(--muted); font-size: .69rem; font-weight: 600; letter-spacing: .025em; white-space: nowrap; }
.install-button { flex: 0 0 auto; min-height: 42px !important; padding: 10px 12px !important; border-color: var(--line) !important; background: var(--surface) !important; color: var(--green) !important; font-size: .78rem !important; box-shadow: none !important; }
.install-button .icon { width: 17px; height: 17px; }

#app { width: min(100%, var(--page-width)); min-height: 65vh; margin-inline: auto; padding: 22px 18px calc(148px + env(safe-area-inset-bottom, 0px)); }
#app > * + * { margin-top: 28px; }
.view > * + *, .stack > * + * { margin-top: 24px; }
.eyebrow, .hero-kicker { display: block; margin-bottom: 9px; color: #896126; font-size: .69rem; font-weight: 800; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.flex { display: flex; }
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.wrap { flex-wrap: wrap; }
.spacer { margin-top: 24px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 18px; border: 1px solid transparent; border-radius: 14px; background: var(--surface); color: var(--ink); font-size: .88rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button-primary { background: var(--red); color: white; box-shadow: 0 6px 16px rgb(181 34 25 / 16%); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { border-color: #cfbda2; background: rgb(255 253 248 / 70%); color: #59402d; }
.button-secondary:hover { border-color: var(--gold); background: white; }
.button-green { background: var(--green); color: white; }
.button-green:hover { background: var(--green-dark); }
.button-block { width: 100%; }
.button-text { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--red); box-shadow: none; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }

.hero { display: grid; overflow: hidden; border: 1px solid #e5d5ba; border-radius: 28px; background: #f4e8d2; box-shadow: var(--shadow); }
.hero-content { padding: 22px 22px 24px; }
.hero-content h1 { max-width: 15ch; margin-bottom: 12px; color: #492f20; }
.hero-content > p:not(.hero-kicker):not(.eyebrow) { max-width: 44ch; margin-bottom: 0; color: #6b5845; font-size: .9rem; line-height: 1.55; }
.hero-image { order: -1; width: 100%; height: 228px; min-width: 0; object-fit: cover; object-position: 50% 55%; background: #b17d40; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-actions .button { flex: 1 1 138px; }

.mode-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; padding: 5px; border: 1px solid var(--line); border-radius: 17px; background: #efe6d8; }
.mode-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #74634f; font-size: .9rem; font-weight: 750; line-height: 1.25; }
.mode-button.active, .mode-button.is-active, .mode-button[aria-pressed="true"], .mode-button[aria-selected="true"] { border-color: #e3d7c4; background: var(--surface); color: var(--green); box-shadow: 0 3px 10px rgb(80 58 32 / 7%); }
.notice-card { display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px; border: 1px solid #d7e0c8; border-radius: 18px; background: var(--soft-green); color: #3f5a3e; font-size: .85rem; line-height: 1.55; }
.notice-card p { margin-bottom: 0; }
.notice-card strong { font-weight: 750; }
.notice-card .icon { margin-top: 1px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.section-heading h1, .section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading > a, .section-heading > button { flex: 0 0 auto; font-size: .8rem; }

.featured-grid, .menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dish-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e9decd; border-radius: 20px; background: var(--surface); box-shadow: 0 5px 18px rgb(71 47 21 / 4%); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.dish-card:focus-within { border-color: var(--gold); }
.dish-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: 0; border: 0; background: #eee1cb; overflow: hidden; }
.dish-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.dish-image:empty { display: grid; place-items: center; color: #a78960; }
.dish-image .icon { width: 36px; height: 36px; }
.dish-meta { padding: 14px 13px 16px; }
.dish-meta h3 { margin-bottom: 6px; font-size: .91rem; line-height: 1.3; overflow-wrap: anywhere; }
.dish-meta p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 2.8em; margin-bottom: 10px; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.dish-price { display: block; margin-top: 12px; padding-right: 45px; color: var(--red); font-size: 1.06rem; font-weight: 800; line-height: 1.4; font-variant-numeric: tabular-nums; }
.dish-add { position: absolute; right: 11px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 13px; background: var(--green); color: white; box-shadow: 0 4px 9px rgb(52 92 53 / 12%); }
.dish-add:hover { background: var(--green-dark); }
.dish-add .icon { width: 20px; height: 20px; }
.dish-tag { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 7px; background: var(--soft-green); color: var(--green); font-size: .65rem; font-weight: 700; }
.story-card { display: grid; gap: 22px; padding: 20px; border: 1px solid #d9dfcb; border-radius: 24px; background: #edf1e5; }
.story-card img { width: 100%; max-height: 300px; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; border-radius: 15px; }
.story-card h2 { color: var(--green-dark); }
.story-card p { color: #59634f; font-size: .91rem; line-height: 1.7; }
.story-card p:last-child { margin-bottom: 0; }

.menu-heading { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.menu-heading h1 { margin-bottom: 8px; }
.menu-heading p { margin-bottom: 0; }
.menu-heading > .search-field { margin-top: 10px; }
.menu-heading > .mode-selector { margin-top: 5px; }
.search-field { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid #ddcfb9; border-radius: 15px; background: var(--surface); color: #8a7b65; box-shadow: 0 3px 12px rgb(80 57 29 / 3%); }
.search-field:focus-within { border-color: var(--green); outline: 2px solid rgb(52 92 53 / 12%); }
.search-field input { width: 100%; min-width: 0; padding: 15px 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 1rem; }
.search-field input::placeholder { color: #938572; }
.category-tabs { position: sticky; top: var(--header-height); z-index: 25; display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 12px 0 16px; margin: 0 0 4px; background: var(--canvas); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; min-height: 42px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: #76644d; font-size: .8rem; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.category-tab.active, .category-tab.is-active, .category-tab[aria-selected="true"], .category-tab[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: white; box-shadow: 0 4px 12px rgb(181 34 25 / 12%); }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 300px; padding: 40px 24px; border: 1px dashed #d9c8ac; border-radius: 24px; background: #fffaf1; text-align: center; }
.empty-state > .icon { width: 48px; height: 48px; margin-bottom: 8px; color: #b49a73; stroke-width: 1.4; }
.empty-state h2 { margin-bottom: 0; }
.empty-state p { max-width: 34ch; margin-bottom: 10px; color: var(--muted); }

.cart-layout { display: grid; gap: 22px; align-items: start; }
.cart-items { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; min-width: 0; padding: 18px 14px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item > img, .cart-item-image { width: 64px; height: 74px; object-fit: cover; border-radius: 13px; background: #eee1cb; }
.cart-item h3 { margin-bottom: 5px; font-size: .94rem; }
.cart-item p { margin-bottom: 10px; color: var(--muted); font-size: .79rem; }
.cart-item .dish-price, .cart-item-price { margin: 0; padding: 0; color: var(--ink); font-size: .94rem; font-weight: 800; }
.qty-control { display: inline-flex; align-items: center; justify-content: space-between; gap: 5px; min-width: 114px; min-height: 42px; padding: 3px; border: 1px solid #dfd2bf; border-radius: 12px; background: #faf4e9; }
.qty-control button { display: grid; place-items: center; width: 34px; height: 34px; padding: 7px; border: 0; border-radius: 8px; background: transparent; color: var(--green); }
.qty-control button:hover { background: #e9e8d9; }
.qty-control .icon { width: 16px; height: 16px; }
.qty-control span, .qty-control output, .qty-control strong { min-width: 24px; text-align: center; font-size: .87rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.summary-card { padding: 23px 21px; border: 1px solid #dfd0b8; border-radius: 22px; background: #fffaf0; box-shadow: var(--shadow); }
.summary-card h2 { margin-bottom: 20px; font-size: 1.6rem; }
.summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 11px 0; color: var(--muted); font-size: .87rem; }
.summary-line > :last-child { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-top: 17px; margin: 18px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.summary-card .button { width: 100%; margin-top: 8px; }
.summary-card > .muted, .summary-card > small { display: block; margin-top: 13px; font-size: .75rem; line-height: 1.6; }

.checkout-form { display: grid; gap: 17px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #5a4835; font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea, .checkout-form > input, .checkout-form > select, .checkout-form > textarea { width: 100%; min-width: 0; min-height: 49px; padding: 12px 13px; border: 1px solid #d9cbb7; border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 1rem; font-weight: 400; line-height: 1.35; }
.field input::placeholder, .field textarea::placeholder { color: #9a8b76; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 2px solid rgb(52 92 53 / 12%); outline-offset: 1px; }
.field textarea { min-height: 100px; resize: vertical; }
.field input[type="checkbox"], .field input[type="radio"] { width: 19px; min-height: 19px; margin: 0; padding: 0; accent-color: var(--green); }
.field-row { display: grid; gap: 16px; }
.field-help { color: var(--muted); font-size: .74rem; font-weight: 400; line-height: 1.5; }
.checkbox-field { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.5; }
.checkbox-field input { margin-top: 2px !important; flex: 0 0 auto; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: #f0e7d8; }
.segmented-control button, .segmented-control label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #75624c; font-size: .86rem; font-weight: 700; cursor: pointer; }
.segmented-control .active, .segmented-control .is-active, .segmented-control [aria-pressed="true"], .segmented-control label:has(input:checked) { border-color: #d7dec9; background: var(--surface); color: var(--green); box-shadow: 0 2px 7px rgb(70 56 30 / 6%); }
.segmented-control input { width: 17px; height: 17px; accent-color: var(--green); }
.delivery-fields { display: grid; gap: 16px; padding-top: 4px; }
.form-message { padding: 13px 15px; border: 1px solid #e8c7b6; border-radius: 12px; background: #fcf0e7; color: #8b3c28; font-size: .83rem; line-height: 1.55; }

.info-grid { display: grid; gap: 16px; }
.info-card { min-width: 0; padding: 24px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.info-card > .icon { width: 28px; height: 28px; margin-bottom: 18px; color: var(--green); }
.info-card h2 { margin-bottom: 11px; font-size: 1.5rem; }
.info-card h3 { margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.info-card p:last-child { margin-bottom: 0; }
.info-card a { overflow-wrap: anywhere; }
.install-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 25px 22px; border: 1px solid #d5deca; border-radius: 22px; background: var(--soft-green); }
.install-card > .icon { width: 35px; height: 35px; color: var(--green); }
.install-card > div { flex: 1 1 200px; }
.install-card h2, .install-card h3 { margin-bottom: 6px; color: var(--green-dark); }
.install-card p { margin-bottom: 0; color: #617158; font-size: .86rem; }
.install-card .button { flex: 0 0 auto; }

.bottom-nav { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: 12px; z-index: 80; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; max-width: 510px; min-height: 72px; margin-inline: auto; padding: 7px 9px; border: 1px solid #e3d7c3; border-radius: 22px; background: rgb(255 253 248 / 97%); box-shadow: 0 6px 32px rgb(57 37 17 / 13%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 56px; padding: 5px 2px; border: 0; border-radius: 15px; background: transparent; color: #8b7b65; font-size: .64rem; font-weight: 650; line-height: 1.3; }
.nav-icon { position: relative; display: grid; place-items: center; width: 37px; height: 28px; }
.nav-icon .icon { width: 23px; height: 23px; stroke-width: 1.7; }
.nav-item.active, .nav-item.is-active, .nav-item[aria-current="page"] { background: #faeee2; color: var(--red); font-weight: 800; }
.cart-badge { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid var(--surface); border-radius: 20px; background: var(--red); color: white; font-size: .56rem; font-weight: 800; line-height: 1; }
.floating-cart { position: fixed; right: 18px; bottom: calc(99px + env(safe-area-inset-bottom, 0px)); left: 18px; z-index: 70; display: flex; align-items: center; gap: 12px; width: calc(100% - 36px); max-width: 500px; min-height: 63px; margin-inline: auto; padding: 11px 16px 11px 12px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 18px; background: var(--green); color: white; box-shadow: 0 7px 22px rgb(35 72 40 / 24%); text-align: left; }
.floating-cart-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid rgb(255 255 255 / 20%); border-radius: 12px; background: rgb(255 255 255 / 7%); }
.floating-cart-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.floating-cart-copy small { margin-bottom: 2px; color: #d8e4d4; font-size: .63rem; font-weight: 550; }
#floatingCartSummary { font-size: .86rem; font-weight: 750; line-height: 1.3; }
.floating-cart-action { display: flex; align-items: center; gap: 7px; font-size: .73rem; font-weight: 750; }
.floating-cart-action .icon { width: 17px; height: 17px; }

.app-dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); margin: 0; padding: 0; overflow: hidden; border: 1px solid #e6d9c3; border-bottom: 0; border-radius: 26px 26px 0 0; background: var(--surface); color: var(--ink); box-shadow: 0 -12px 50px rgb(30 21 12 / 18%); }
.app-dialog:not([open]) { display: none; }
.app-dialog::backdrop { background: rgb(31 24 16 / 50%); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dialog-body { overflow-y: auto; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); overscroll-behavior: contain; }
.dialog-close { position: absolute; top: 13px; right: 13px; z-index: 5; width: 40px; height: 40px; border-color: rgb(222 210 191 / 85%); background: rgb(255 253 248 / 96%); box-shadow: 0 3px 11px rgb(37 23 10 / 12%); }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-image { display: block; width: 100%; height: 250px; object-fit: cover; background: #ead9bd; }
.dialog-image img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: 26px 23px 23px; }
.dialog-content > h1, .dialog-content > h2 { padding-right: 28px; margin-bottom: 12px; }
.dialog-content > p { color: var(--muted); font-size: .92rem; line-height: 1.7; }
.dialog-content .dish-price { padding-right: 0; font-size: 1.5rem; }
.dialog-footer { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 23px calc(19px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgb(255 253 248 / 98%); }
.dialog-footer .button { flex: 1; }
.dialog-footer > strong { flex: 0 0 auto; color: var(--red); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
#checkoutDialog .dialog-content { padding-top: 30px; }
#checkoutDialog .notice-card { margin-block: 18px; }
.toast { position: fixed; bottom: calc(104px + env(safe-area-inset-bottom, 0px)); left: 50%; z-index: 200; width: max-content; max-width: calc(100% - 40px); padding: 13px 18px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 14px; background: #342b21; color: #fffaf0; box-shadow: 0 6px 20px rgb(28 20 12 / 20%); font-size: .84rem; font-weight: 600; line-height: 1.45; text-align: center; pointer-events: none; opacity: 0; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease; }
.toast.show, .toast.visible, .toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 320px; color: var(--muted); font-size: .9rem; }
.loading-mark { width: 36px; height: 36px; border: 3px solid #e6d5b9; border-top-color: var(--red); border-radius: 50%; animation: loading-turn 1s linear infinite; }
.noscript-message { margin: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.full-width { width: 100%; }
.section-block { min-width: 0; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 0; border: 0; background: transparent; color: var(--red); font-size: .8rem; font-weight: 750; line-height: 1.4; text-decoration: none; }
.text-button:hover { color: var(--red-dark); }
.text-button .icon { width: 17px; height: 17px; }
.text-button.muted { color: var(--muted); }
.home-order-card { padding: 23px 21px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.home-order-card h2 { margin-bottom: 0; font-size: 1.5rem; }
.home-order-card .mode-selector { max-width: none; margin-top: 17px; }
.mode-description { margin: 12px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.mode-button.is-selected { border-color: #e3d7c4; background: var(--surface); color: var(--green); box-shadow: 0 3px 10px rgb(80 58 32 / 7%); }
.notice-card > div { flex: 1; min-width: 0; }
.notice-card > .icon-button { flex: 0 0 auto; width: 37px; height: 37px; margin: -1px -2px 0 0; padding: 8px; border-color: #d4ddc5; background: rgb(255 255 255 / 30%); color: var(--green); }
.notice-card > .icon-button .icon { width: 18px; height: 18px; margin: 0; }
.dish-open { display: flex; flex: 1; flex-direction: column; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.dish-open:focus-visible { outline-offset: -4px; }
.dish-open .dish-meta { width: 100%; padding-bottom: 8px; }
.dish-meta .eyebrow { margin-bottom: 6px; color: #8b7150; font-size: .57rem; letter-spacing: .08em; }
.dish-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 13px 14px; }
.dish-card-bottom .dish-price { margin: 0; padding: 0; }
.dish-card-bottom .dish-add { position: static; flex: 0 0 auto; margin: 0; }
.category-tab.is-selected { border-color: var(--red); background: var(--red); color: white; box-shadow: 0 4px 12px rgb(181 34 25 / 12%); }
.menu-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 6px 0 17px; }
.menu-results-heading h2 { margin: 0; font-size: 1.45rem; }
.menu-results-heading > span { flex: 0 0 auto; font-size: .77rem; }
#app > .category-tabs { margin-top: 7px; margin-bottom: 0; }
#app > .menu-results-heading { margin-top: 5px; margin-bottom: 17px; }
#app > #menuResults { margin-top: 0; }
.menu-grid > .empty-state { grid-column: 1 / -1; }
.cart-item-main { min-width: 0; }
.cart-item-main h2 { margin-bottom: 5px; font-family: inherit; font-size: .94rem; font-weight: 750; line-height: 1.3; letter-spacing: -.015em; overflow-wrap: anywhere; }
.cart-item-main p { margin-bottom: 9px; }
.cart-item-main .qty-control { margin-top: 4px; }
.cart-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 45px; text-align: right; }
.cart-item-end > strong { font-size: .87rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-item-end .text-button { min-height: 32px; font-size: .7rem; font-weight: 550; }
.cart-note { display: block; padding-left: 9px; margin: 8px 0; border-left: 2px solid #d8bd91; color: var(--muted); font-size: .72rem; line-height: 1.5; overflow-wrap: anywhere; }
.cart-items > .text-button { width: 100%; min-height: 56px; padding-inline: 16px; background: #fcf7ed; }
.checkout-status { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 15px 0 0; color: var(--muted); font-size: .71rem; }
.checkout-status .icon { width: 16px; height: 16px; color: #9a753c; }
.ingredient-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 23px; }
.ingredient-chips span { padding: 6px 10px; border: 1px solid #e7d9bf; border-radius: 9px; background: #f7efdf; color: #786044; font-size: .72rem; line-height: 1.4; }
.notice-card.compact { padding: 13px 14px; font-size: .79rem; }
.notice-card.compact p { font-size: .78rem; line-height: 1.55; }
.review-mode { display: flex; align-items: center; gap: 11px; padding: 15px; margin: 19px 0; border: 1px solid #d8e0cc; border-radius: 15px; background: var(--soft-green); color: var(--green); font-size: .9rem; }
.review-lines { padding-top: 13px; margin: 18px 0; border-top: 1px solid var(--line); }
.review-lines .summary-line { font-size: .83rem; }
.checkout-summary { padding: 13px 17px; border: 1px solid #e5d7bf; border-radius: 15px; background: #fcf5e7; }
.checkout-summary .summary-total { margin-bottom: 0; }
.preview-checkout-notice { padding: 12px 14px; margin: 15px 0; border: 1px dashed #d2b37e; border-radius: 12px; background: #fcf0da; color: #806034; font-size: .75rem; line-height: 1.6; }
.checkout-form .preview-checkout-notice { margin: 0; }
.dialog-content > .full-width + .full-width { margin-top: 11px; }
.info-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 18px; border-radius: 14px; background: var(--soft-green); color: var(--green); }
.info-icon .icon { width: 25px; height: 25px; }
.app-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 0 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.app-footer a { display: flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.app-footer .icon { width: 15px; height: 15px; }
.image-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(ellipse at center, #fffaf0 0%, #eee2cb 100%); text-align: center; }
.image-fallback > span { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.image-fallback > small { color: #927653; font-size: .56rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dialog-image.image-fallback > span { font-size: 3.5rem; }
.dialog-image.image-fallback > small { font-size: .72rem; }
.cart-item-image.image-fallback { gap: 4px; }
.cart-item-image.image-fallback > span { font-size: 1rem; }
.cart-item-image.image-fallback > small { max-width: 48px; font-size: .4rem; line-height: 1.3; letter-spacing: .02em; }
@keyframes loading-turn { to { transform: rotate(360deg); } }

@media (min-width: 600px) {
  :root { --header-height: 90px; }
  .app-header-inner { padding-inline: 28px; }
  .brand-logo { width: 57px; height: 65px; }
  .brand-copy strong { font-size: 1.85rem; }
  .brand-copy > span { font-size: .73rem; }
  #app { padding: 28px 28px 150px; }
  .preview-notice { font-size: .75rem; }
  .hero-image { height: 300px; }
  .hero-content { padding: 32px; }
  .hero-content h1 { max-width: 16ch; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .button { flex: 0 1 auto; min-width: 150px; }
  .featured-grid, .menu-grid { gap: 20px; }
  .dish-meta { padding: 17px 17px 19px; }
  .dish-meta h3 { font-size: 1rem; }
  .dish-meta p { font-size: .8rem; }
  .dish-add { right: 15px; bottom: 16px; width: 43px; height: 43px; }
  .dish-price { font-size: 1.17rem; }
  .dish-card-bottom { padding: 0 17px 17px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bottom-nav { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .nav-item { font-size: .7rem; }
  .floating-cart { bottom: calc(107px + env(safe-area-inset-bottom, 0px)); }
  .app-dialog { inset: 0; width: calc(100% - 48px); max-width: 620px; max-height: 90vh; max-height: 90dvh; margin: auto; border: 1px solid #e6d9c3; border-radius: 27px; }
  .dialog-body { max-height: 90vh; max-height: 90dvh; }
  .dialog-image { height: 300px; }
  .dialog-content { padding: 30px; }
  .dialog-footer { padding: 20px 30px; }
  #checkoutDialog { max-width: 680px; }
}

@media (min-width: 800px) {
  #app { padding-top: 32px; }
  #app > * + * { margin-top: 36px; }
  .hero { grid-template-columns: 1.02fr 1fr; min-height: 420px; }
  .hero-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px 35px; }
  .hero-image { order: 2; height: 100%; min-height: 420px; object-position: 50% 50%; }
  .hero-content { order: 1; }
  .hero-content h1 { font-size: clamp(2.4rem, 4.3vw, 3.5rem); max-width: 12ch; }
  .hero-content > p:not(.hero-kicker):not(.eyebrow) { font-size: .95rem; }
  .hero-actions { width: 100%; margin-top: 15px; }
  .hero-actions .button { flex: 1 1 130px; min-width: 0; }
  .home-order-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 7px 28px; padding: 26px 28px; }
  .home-order-card > div:first-child { grid-column: 1; grid-row: 1; }
  .home-order-card > .mode-selector { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
  .home-order-card > .mode-description { grid-column: 1; grid-row: 2; margin: 0; }
  .mode-selector { max-width: 420px; }
  .featured-grid, .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-card { grid-template-columns: .9fr 1fr; align-items: center; padding: 25px; gap: 30px; }
  .story-card img { height: 100%; min-height: 230px; }
  .menu-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 350px); align-items: end; gap: 8px 24px; }
  .menu-heading > .eyebrow, .menu-heading > h1, .menu-heading > p { grid-column: 1 / -1; }
  .menu-heading > .search-field { grid-column: 1; margin-top: 14px; }
  .menu-heading > .mode-selector { grid-column: 2; max-width: none; margin-top: 14px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .summary-card { position: sticky; top: calc(var(--header-height) + 20px); }
  .cart-item { grid-template-columns: 85px minmax(0, 1fr) auto; padding: 21px; }
  .cart-item > img, .cart-item-image { width: 85px; height: 90px; }
}

@media (min-width: 1080px) {
  .app-header-inner { padding-inline: 32px; }
  #app { padding-inline: 32px; }
  .hero { min-height: 452px; }
  .hero-content { padding: 45px 42px; }
  .hero-image { min-height: 452px; }
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .featured-grid { gap: 24px; }
  .dish-meta { padding: 19px 18px 20px; }
  .dish-meta h3 { font-size: 1.03rem; }
  .dish-meta p { font-size: .82rem; }
  .dish-card-bottom { padding: 0 18px 18px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; }
  .info-grid { gap: 22px; }
}

@media (max-width: 360px) {
  .app-header-inner { gap: 8px; padding-inline: 14px; }
  .brand { gap: 8px; }
  .brand-copy strong { font-size: 1.5rem; }
  .brand-copy > span { font-size: .62rem; }
  .install-button span { display: none; }
  .install-button { width: 42px; padding: 10px !important; }
  #app { padding-inline: 14px; }
  .hero-content { padding-inline: 20px; }
  .hero-image { height: 205px; }
  .featured-grid, .menu-grid { gap: 10px; }
  .dish-meta { padding: 12px 10px 15px; }
  .dish-meta h3 { font-size: .84rem; }
  .dish-meta p { font-size: .7rem; }
  .dish-price { font-size: 1rem; padding-right: 38px; }
  .dish-add { right: 8px; width: 35px; height: 37px; border-radius: 11px; }
  .dish-card-bottom { padding: 0 10px 12px; }
  .cart-item { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 9px; padding-inline: 11px; }
  .cart-item > img, .cart-item-image { width: 54px; height: 65px; }
  .qty-control { min-width: 106px; }
  .qty-control button { width: 30px; }
  .floating-cart { right: 14px; left: 14px; width: calc(100% - 28px); gap: 9px; padding-right: 12px; }
  .floating-cart-action { font-size: .65rem; }
}

@media (hover: hover) and (pointer: fine) {
  .dish-card:hover { transform: translateY(-3px); border-color: #d5bd97; box-shadow: 0 10px 26px rgb(71 47 21 / 9%); }
  .dish-card:hover .dish-image img { transform: scale(1.035); }
  .button:not(:disabled):active { transform: translateY(1px); }
  .nav-item:not(.active):hover { background: #f5eddf; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.connection-notice { padding: 10px 18px; background: #fff0d1; color: #664510; text-align: center; font-size: .8rem; line-height: 1.4; }
.line-instructions { display: block; margin-top: 5px; font-weight: 400; color: #6d6455; }
.payment-details { margin: 22px 0; }
.payment-details dt { margin-top: 16px; font-size: .78rem; color: #6d6455; }
.payment-details dd { margin: 3px 0 0; font-size: 1.04rem; font-weight: 700; overflow-wrap: anywhere; }
.receipt-reference, .receipt-card .small { overflow-wrap: anywhere; }
.zelle-card { background: #fff9e7; }
.order-resume { margin: 18px 4px; }
.summary-card > .button + .text-button { margin-top: 16px; }
.mode-button:disabled { opacity: .6; cursor: default; }

/* Juani's introduction and native navigation dialog. */
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.header-menu-toggle.button { display: inline-flex !important; flex: 0 0 44px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #dacbb5; border-radius: 13px; background: var(--surface); color: var(--red); box-shadow: 0 2px 7px rgb(71 47 21 / 4%); }
.header-menu-toggle.button:hover, .header-menu-toggle.button[aria-expanded="true"] { border-color: #d3a99b; background: var(--soft-red); }
.header-menu-toggle > .icon, .header-menu-toggle > svg { width: 22px; height: 22px; }
.header-menu-lines, .hamburger-lines { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.header-menu-lines > span, .header-menu-lines > i, .hamburger-lines > span, .hamburger-lines > i, .header-menu-toggle > span:empty { display: block; width: 20px; height: 2px; flex: 0 0 2px; border-radius: 3px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.header-menu-toggle[aria-expanded="true"] :is(.header-menu-lines, .hamburger-lines) > :nth-child(1), .header-menu-toggle[aria-expanded="true"] > span:empty:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header-menu-toggle[aria-expanded="true"] :is(.header-menu-lines, .hamburger-lines) > :nth-child(2), .header-menu-toggle[aria-expanded="true"] > span:empty:nth-child(2) { opacity: 0; }
.header-menu-toggle[aria-expanded="true"] :is(.header-menu-lines, .hamburger-lines) > :nth-child(3), .header-menu-toggle[aria-expanded="true"] > span:empty:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.navigation-open { overflow: hidden; }

#navigationDialog.app-navigation-dialog { position: fixed; inset: calc(12px + env(safe-area-inset-top, 0px)) 12px auto; width: calc(100% - 24px); max-width: 500px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); margin: 0 auto; padding: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #dbc8a9; border-radius: 24px; background: var(--cream); color: var(--ink); box-shadow: 0 22px 75px rgb(36 24 13 / 26%); }
#navigationDialog:not([open]) { display: none; }
#navigationDialog::backdrop { background: rgb(38 27 17 / 48%); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.app-navigation-panel { padding: 23px 21px 24px; }
.app-navigation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.app-navigation-heading h2, #navigationDialogTitle { margin: 0; color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
.app-navigation-heading .eyebrow, .app-navigation-heading small { display: block; margin-bottom: 6px; color: #8e6b38; font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.app-navigation-heading .icon-button, .app-navigation-heading [data-action="close-dialog"] { flex: 0 0 42px; width: 42px; height: 42px; margin-top: -3px; color: var(--green); }
.app-navigation-links { display: grid; gap: 8px; margin-top: 18px; }
.app-navigation-links button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 54px; padding: 14px 15px; border: 1px solid #e3d5bf; border-radius: 14px; background: #fffcf6; color: #604932; font-size: .88rem; font-weight: 750; line-height: 1.3; text-align: left; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.app-navigation-links button .icon { flex: 0 0 auto; width: 19px; height: 19px; color: var(--green); }
.app-navigation-links button:hover, .app-navigation-links button.is-current, .app-navigation-links button[aria-current="page"] { border-color: #becfb0; background: var(--soft-green); color: var(--green-dark); }
.app-navigation-links button.is-current { box-shadow: inset 3px 0 var(--green); }
.app-navigation-links button small { display: block; margin-top: 3px; color: var(--muted); font-size: .71rem; font-weight: 450; }

.intro-screen { width: min(100%, 780px); margin-inline: auto; padding: 24px 21px 23px; border: 1px solid #e1ccaa; border-radius: 27px; background: linear-gradient(180deg, #fffdf7 0%, #fff3df 100%); box-shadow: 0 9px 30px rgb(75 47 21 / 6%); }
.intro-heading { max-width: 560px; margin: 0 auto 20px; text-align: center; }
.intro-kicker { display: block; margin: 0 0 8px; color: #8c642b; font-size: .62rem; font-weight: 800; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }
.intro-heading h1 { max-width: 17ch; margin: 0 auto 9px; color: var(--red); font-size: clamp(1.85rem, 7.1vw, 2.45rem); line-height: 1.09; letter-spacing: -.04em; }
.intro-ornament { display: block; width: 104px; height: 24px; margin: 11px auto; color: var(--gold); stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.intro-ornament svg { display: block; width: 100%; height: 100%; }
.intro-heading > p { max-width: 36ch; margin: 0 auto; color: #7d664c; font-size: .85rem; line-height: 1.5; }
.intro-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.intro-option { display: grid; grid-template-columns: minmax(0, 1fr) 21px; align-content: center; align-items: center; gap: 2px 13px; width: 100%; min-height: 59px; padding: 11px 17px; border: 1px solid #cbb48c; border-radius: 15px; background: #fffaf1; color: #74512b; text-align: left; box-shadow: 0 3px 8px rgb(83 49 18 / 4%); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.intro-option > span { grid-column: 1; grid-row: 1; min-width: 0; font-size: .91rem; font-weight: 800; line-height: 1.3; letter-spacing: .055em; text-transform: uppercase; }
.intro-option > small { grid-column: 1; grid-row: 2; font-size: .64rem; font-weight: 500; line-height: 1.35; letter-spacing: .015em; opacity: .86; }
.intro-option > .icon, .intro-option > svg { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: 20px; height: 20px; opacity: .9; }
.intro-option[data-destination="tradicionales"] { border-color: var(--green); background: var(--green); color: white; }
.intro-option[data-destination="eventos"] { border-color: #ca8f7b; background: #fff8ec; color: var(--red); }
.intro-option[data-destination="contratistas"] { border-color: #9eb08b; background: #f4f4e5; color: var(--green-dark); }
.intro-option:hover { transform: translateY(-1px); box-shadow: 0 5px 13px rgb(75 47 21 / 10%); }
.intro-option:active { transform: translateY(0); }
.intro-note { max-width: 46ch; margin: 17px auto 0; color: #8a7152; font-size: .7rem; line-height: 1.55; text-align: center; }
.intro-screen + .notice-card { max-width: 780px; margin-inline: auto; }

.occasion-screen { width: min(100%, 1040px); margin-inline: auto; }
.occasion-card { display: grid; min-width: 0; overflow: hidden; border: 1px solid #dfcfb6; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.occasion-image { display: block; width: 100%; height: 235px; object-fit: cover; object-position: center; background: #eadcc5; }
.occasion-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.occasion-body { min-width: 0; padding: 27px 23px 29px; }
.occasion-body h1 { max-width: 19ch; color: #4d3423; font-size: clamp(1.9rem, 5.7vw, 2.75rem); line-height: 1.1; }
.occasion-body > p { color: var(--muted); font-size: .91rem; line-height: 1.7; }
.occasion-body > p:last-child { margin-bottom: 0; }
.occasion-body ul { padding-left: 20px; margin: 17px 0; color: #6c5b47; font-size: .89rem; line-height: 1.7; }
.occasion-body li + li { margin-top: 5px; }
.occasion-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.occasion-actions .button { flex: 1 1 170px; }
.occasion-screen > .info-grid { margin-top: 23px; }
.occasion-body .info-grid { gap: 12px; margin-top: 20px; }
.occasion-body .info-card { padding: 18px; border-radius: 16px; box-shadow: none; }

@media (min-width: 600px) {
  .intro-screen { padding: 32px 30px 28px; }
  .intro-heading { margin-bottom: 26px; }
  .intro-heading h1 { font-size: 2.65rem; }
  .intro-kicker { font-size: .67rem; }
  .intro-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .intro-option { min-height: 78px; padding: 15px 19px; }
  .intro-option > span { font-size: .95rem; }
  .intro-option:last-child { grid-column: 1 / -1; }
  .intro-note { margin-top: 22px; font-size: .75rem; }
  .occasion-image { height: 310px; }
  .occasion-body { padding: 32px; }
}

@media (min-width: 800px) {
  #navigationDialog.app-navigation-dialog { inset: calc(var(--header-height) + 12px) max(24px, calc((100vw - var(--page-width)) / 2 + 24px)) auto auto; width: 440px; max-height: calc(100dvh - var(--header-height) - 36px); margin: 0; }
  .app-navigation-panel { padding: 25px; }
  .intro-screen { max-width: 900px; padding: 37px 35px 31px; }
  .intro-options { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; }
  .intro-option { grid-column: span 2; min-height: 91px; padding: 16px 19px; }
  .intro-option:last-child { grid-column: span 2; }
  .intro-screen + .notice-card { max-width: 900px; }
  .occasion-card { grid-template-columns: .95fr 1fr; align-items: stretch; }
  .occasion-image { height: 100%; min-height: 455px; }
  .occasion-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 32px; }
  .occasion-actions { width: 100%; }
}

@media (max-width: 380px) {
  .header-actions { gap: 6px; }
  .header-actions .install-button { width: 42px; padding: 10px !important; }
  .header-actions .install-button > span { display: none; }
  .intro-screen { padding: 21px 17px; }
  .intro-heading { margin-bottom: 17px; }
  .intro-heading h1 { font-size: 1.8rem; }
  .intro-kicker { font-size: .58rem; letter-spacing: .12em; }
  .intro-options { gap: 9px; }
  .intro-option { min-height: 56px; padding: 10px 14px; }
  .intro-option > span { font-size: .83rem; letter-spacing: .04em; }
  .intro-option > small { font-size: .59rem; }
}

@media (max-height: 740px) and (max-width: 599px) {
  .intro-screen { padding-top: 17px; padding-bottom: 18px; }
  .intro-heading { margin-bottom: 15px; }
  .intro-heading h1 { font-size: 1.8rem; }
  .intro-ornament { height: 19px; margin-block: 8px; }
  .intro-options { gap: 8px; }
  .intro-option { min-height: 52px; padding-block: 8px; }
  .intro-note { margin-top: 13px; font-size: .65rem; }
}
