@font-face { font-family: 'Playfair Display'; src: url('assets/fonts/PlayfairDisplay.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('assets/fonts/DMSans.woff2') format('woff2'); font-display: swap; }
:root {
  color-scheme: dark;
  --ink: #0b0b0d;
  --panel: #18191d;
  --cream: #f5f3ef;
  --gold: #e6bd76;
  --muted: #c4c3cb;
  --line: #35363d;
  --glass: rgba(22, 23, 28, .83);
  --glass-edge: rgba(236, 239, 255, .16);
  --glass-sheen: inset 0 1px 0 rgba(255, 255, 255, .09);
  --nav-height: 68px;
  --nav-top: 12px;
  --menu-top: calc(var(--nav-height) + var(--nav-top) + 10px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 6vw, 96px);
  --display: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 16px/1.55 'DM Sans', system-ui, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; top: -100px; left: 12px; z-index: 20; padding: 12px; background: var(--ink); }
.skip:focus { top: 12px; }
.topbar { position: sticky; top: var(--nav-top); z-index: 9; height: var(--nav-height); margin: var(--nav-top) var(--gutter) 0; padding: 7px clamp(13px, 2.2vw, 30px); display: flex; align-items: center; gap: 26px; border: 1px solid var(--glass-edge); border-radius: 999px; background: var(--glass); box-shadow: var(--glass-sheen), 0 12px 34px #0005; overflow: clip; }
.logo { width: clamp(104px, 11.2vw, 144px); height: auto; }
.topbar nav { display: flex; margin-left: auto; gap: 24px; font-size: 14px; }
.search-shortcut { display: none; }
.topbar a:hover, .footer a:hover { color: var(--gold); }
.order-button, .mobile-cart button { border: 0; background: var(--panel); color: var(--cream); padding: 10px 14px; min-height: 46px; }
.order-button { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: 999px; background: #ffffff0c; border: 1px solid var(--glass-edge); box-shadow: var(--glass-sheen); padding-inline: 17px; }
.order-button svg { width: 20px; height: 20px; }
[data-count] { margin-left: 6px; color: var(--gold); }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(530px, 78svh, 780px); overflow: clip; }
.hero-content { z-index: 1; padding: 54px var(--gutter) 82px; }
.hero-media { position: absolute; inset: 0 0 0 23%; margin: 0; z-index: -1; overflow: hidden; mask-image: radial-gradient(ellipse 75% 75% at 77% 48%, #000 49%, transparent 94%), linear-gradient(transparent, #000 11% 77%, transparent); mask-composite: intersect; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 53%; animation: plate-in 1.3s cubic-bezier(.22,.65,.32,1) both; }
@keyframes plate-in { from { transform: scale(1.06); } to { transform: scale(1); } }
h1, h2, h3, .features strong { font-family: var(--display); font-weight: normal; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(46px, 6.6vw, 108px); letter-spacing: -.058em; }
h1 em { color: var(--gold); font-weight: inherit; }
h2 { font-size: clamp(38px, 5.5vw, 82px); letter-spacing: -.045em; }
.hero-content > p { font-size: clamp(17px, 1.45vw, 20px); margin: 23px 0; max-width: 31ch; }
.hero-content .hero-label { color: var(--gold); font-size: 14px; margin: 0 0 20px; }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .18em; margin: 0 0 14px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; padding: 11px 24px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 720; }
.button:hover { background: #f0d29a; }
.button span { transition: transform .28s var(--ease-out); }
.hero .button:hover span { transform: translateY(3px); }
.button:disabled { opacity: .45; cursor: default; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, .6fr); align-items: center; gap: 22px; padding: clamp(20px, 3vw, 42px) var(--gutter); max-width: 1100px; margin-inline: auto; }
.intro p { max-width: 45ch; }
.intro p:not(.eyebrow), .menu-lead > p, .contact p:not(.eyebrow), .small { color: var(--muted); }
.mascot { width: clamp(108px, 25vw, 308px); height: auto; justify-self: center; }
.features { display: grid; grid-template-columns: .95fr 1.2fr .85fr; gap: clamp(12px, 2.5vw, 36px); align-items: center; padding: 20px var(--gutter) 8px; }
.features a { position: relative; min-width: 0; min-height: clamp(210px, 26vw, 420px); display: grid; align-items: end; overflow: hidden; border-radius: 50% 50% 0 0 / 42% 42% 0 0; }
.features a:nth-child(2) { min-height: clamp(245px, 31vw, 488px); }
.features a:last-child { margin-top: clamp(20px, 5vw, 80px); }
.features img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 31% center; mask-image: linear-gradient(#000 52%, transparent 98%); transition: transform .45s ease; }
.features a:hover img { transform: scale(1.04); }
.features div { z-index: 1; position: relative; padding: 14px clamp(8px, 1.7vw, 24px) 8px; display: grid; gap: 8px; }
.features strong { font-size: clamp(30px, 3vw, 53px); }
.features span { font-size: 14px; color: var(--cream); }
.menu { padding: clamp(52px, 8vw, 110px) var(--gutter) 60px; scroll-margin-top: calc(var(--menu-top) + 8px); }
.menu-lead { display: flex; align-items: end; gap: clamp(18px, 4vw, 60px); margin-bottom: 24px; }
.menu-lead > p { max-width: 320px; }
.menu-tools { position: sticky; top: var(--menu-top); z-index: 5; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 26px; padding: 12px 18px 3px; box-shadow: var(--glass-sheen), 0 12px 30px #0005; }
.filters { display: grid; grid-template-columns: 1fr minmax(132px, .4fr); gap: 12px; }
.filters label { min-width: 0; display: grid; gap: 5px; font-size: 14px; }
.filters input, .filters select { min-width: 0; width: 100%; min-height: 46px; padding: 9px 16px; background: #0b0b0d70; color: var(--cream); border: 1px solid var(--glass-edge); border-radius: 999px; }
.filters input::placeholder { color: var(--muted); }
.categories { display: flex; overflow-x: auto; gap: 20px; scrollbar-width: thin; }
.menu-results { color: var(--muted); min-height: 1.55em; margin: 10px 0 0; font-size: 14px; }
.categories a { flex: 0 0 auto; padding: 14px 3px; font-size: 14px; }
.categories a:hover, .categories a[aria-current] { color: var(--gold); }
.category { scroll-margin-top: calc(var(--menu-top) + 137px); padding-block: clamp(32px, 5vw, 72px); }
.category h3 { font-size: clamp(31px, 4.3vw, 64px); margin-bottom: 22px; }
.category-layout { display: grid; grid-template-columns: minmax(0, 35%) minmax(0, 1fr); align-items: start; gap: clamp(20px, 5vw, 72px); }
.category-layout > img { width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: var(--photo-focus, 55% 55%); mask-image: radial-gradient(ellipse 69% 70% at 53% 47%, #000 49%, transparent 97%); }
.category:nth-child(even) .category-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 35%); }
.category:nth-child(even) .category-layout > img { grid-column: 2; grid-row: 1; }
.category:nth-child(even) .category-layout > div { grid-column: 1; grid-row: 1; }
#pizza, #malteadas, #especiales, #postres { --photo-focus: 55% 63%; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px; }
.item + .item { border-top: 1px solid #26272c; }
.item-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.item h5 { font-size: 16px; margin: 0; }
.price { color: var(--gold); font-weight: 700; }
.item p, .group-note { margin: 5px 0 0; font-size: 16px; color: var(--muted); max-width: 64ch; }
.subhead { color: var(--gold); margin: 22px 0 0; font-size: 14px; }
.add, .close { border: 0; background: var(--panel); color: var(--gold); width: 44px; height: 44px; font-size: 24px; flex: none; border-radius: 50%; }
.add:hover, .close:hover { background: var(--gold); color: var(--ink); }
.drink-extras { padding: 16px 20px; border: 1px solid var(--glass-edge); border-radius: 22px; background: var(--panel); margin-top: 25px; }
.drink-extras p { margin: 4px 0 0; }
.small { font-size: 13px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); scroll-margin-top: var(--menu-top); }
.contact > img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; mask-image: radial-gradient(ellipse 74% 68%, #000 44%, transparent 97%); }
.contact > div { align-self: center; padding: clamp(32px, 6vw, 90px); }
.footer { padding: 28px var(--gutter) 88px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer p { margin: 3px 0 0; color: var(--muted); }
dialog { padding: 0; background: var(--glass); color: var(--cream); border: 1px solid var(--glass-edge); border-radius: 28px; width: min(510px, calc(100% - 20px)); max-height: calc(100dvh - 20px); box-shadow: var(--glass-sheen), 0 24px 80px #000a; }
dialog::backdrop { background: #0009; }
body:has(dialog[open]) { overflow: hidden; }
dialog[open], #product-form { display: flex; flex-direction: column; }
dialog[open] { animation: dialog-in .38s var(--ease-out) both; }
@keyframes dialog-in { from { opacity: .25; transform: translateY(17px) scale(.985); } }
.cart[open] { animation-name: cart-in; }
@keyframes cart-in { from { opacity: .3; transform: translateX(22px); } }
#product-form { min-height: 0; }
.cart { margin: 8px 8px 8px auto; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
.dialog-head, .dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: clamp(29px, 5vw, 42px); }
.dialog-head .eyebrow { margin-bottom: 6px; }
.dialog-body { min-height: 0; overflow: auto; padding: 14px 20px 22px; }
.cart .dialog-body { flex: 1; }
.dialog-foot { border-bottom: 0; border-top: 1px solid var(--line); }
dialog label { display: grid; gap: 4px; margin-top: 10px; color: var(--muted); }
dialog select, dialog textarea, dialog input { background: #0b0b0d80; color: var(--cream); border: 1px solid var(--glass-edge); border-radius: 13px; padding: 8px 11px; width: 100%; }
.stepper { display: inline-grid; grid-template-columns: 44px 64px 44px; min-height: 44px; margin-top: 4px; gap: 4px; }
.stepper input { text-align: center; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.stepper button { color: var(--gold); background: #ffffff0c; border: 1px solid var(--glass-edge); border-radius: 50%; font-size: 21px; }
.stepper button:hover { background: var(--gold); color: var(--ink); }
.stepper button:disabled { opacity: .4; cursor: default; }
#copy-fallback { padding: 0 20px 20px; }
.cart-line { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line p { margin: 4px 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.cart-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cart-actions button { background: #ffffff0c; border: 1px solid var(--glass-edge); border-radius: 999px; padding: 8px 12px; color: var(--cream); }
.mobile-cart { display: none; }
.toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 12; width: max-content; max-width: calc(100% - 24px); background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 999px; color: var(--cream); padding: 10px 18px; box-shadow: var(--glass-sheen), 0 12px 30px #0006; }
.toast:empty { display: none; }
@media (min-width: 900px) {
  .category-layout > img { position: sticky; top: calc(var(--menu-top) + 140px); }
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .topbar, .menu-tools, dialog, .mobile-cart, .toast {
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
  }
}
.button, .add, .order-button, .close { transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.button:active, .add:active, .order-button:active, .close:active { transform: scale(.96); }
.reveal-in { animation: enter .78s var(--ease-expo) both; animation-delay: var(--enter-delay, 0ms); }
@keyframes enter { from { opacity: .45; transform: translateY(22px); } }
.category-layout > img.reveal-in, .features a.reveal-in { animation-name: image-in; }
@keyframes image-in { from { opacity: .45; transform: translateY(15px) scale(.98); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline-name: --monchis-hero; view-timeline-axis: block; }
    .hero-image { animation: plate-drift linear both; animation-timeline: --monchis-hero; animation-range: exit 0% exit 90%; }
    @keyframes plate-drift { from { transform: scale(1.025); } to { transform: translateY(5%) scale(1.13); } }
    .topbar::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); transform-origin: left; animation: read-progress linear both; animation-timeline: scroll(root block); }
    @keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
@media (max-width: 680px) {
  :root { --nav-height: 61px; --nav-top: 8px; }
  .topbar { gap: 10px; margin-inline: 12px; }
  .topbar nav { display: none; }
  .search-shortcut { display: grid; place-items: center; flex: 0 0 44px; height: 44px; margin-left: auto; border-radius: 50%; color: var(--cream); }
  .search-shortcut svg { width: 21px; height: 21px; }
  .search-shortcut:focus-visible { outline-offset: -2px; }
  .order-button { padding-inline: 11px; gap: 6px; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-content { padding: 33px var(--gutter) 0; }
  .hero-content > p { margin-block: 16px; }
  .hero-content .hero-label { margin-top: 0; }
  .hero-media { position: relative; inset: auto; margin: -27px -18% -12px -12%; aspect-ratio: 1.4; mask-image: radial-gradient(ellipse 74% 71% at 65% 54%, #000 36%, transparent 90%), linear-gradient(transparent, #000 18% 74%, transparent); }
  .hero-image { object-position: 71% 55%; }
  .intro { gap: 9px; }
  .intro h2 { font-size: clamp(28px, 7vw, 42px); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features a:first-child { grid-column: 1 / -1; min-height: 230px; }
  .features a, .features a:nth-child(2) { min-height: 180px; }
  .features a:last-child { margin-top: 25px; }
  .features strong { font-size: clamp(22px, 5.5vw, 36px); }
  .menu-lead { display: block; }
  .menu-tools { position: static; padding-inline: 12px; border-radius: 20px; scroll-margin-top: var(--menu-top); }
  .category { scroll-margin-top: var(--menu-top); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters input, .filters select { padding-inline: 8px; }
  .category-layout, .category:nth-child(even) .category-layout, .contact { grid-template-columns: 1fr; }
  .category:nth-child(even) .category-layout > img, .category:nth-child(even) .category-layout > div { grid-area: auto; }
  .category-layout > img { aspect-ratio: 1.7; }
  .contact > img { min-height: 0; height: auto; aspect-ratio: 1.8; }
  .footer { align-items: start; flex-wrap: wrap; }
  .mobile-cart { display: block; position: fixed; z-index: 8; inset: auto 12px max(8px, env(safe-area-inset-bottom)) 12px; padding: 5px; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 999px; box-shadow: var(--glass-sheen), 0 12px 34px #0008; }
  .mobile-cart button { width: 100%; text-align: left; border-radius: inherit; background: transparent; }
  .mobile-cart strong { float: right; color: var(--gold); }
}
@media (max-width: 360px) {
  .topbar { gap: 4px; padding-inline: 9px; }
  .topbar .logo { width: 91px; }
  .order-button { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .features img, .button, .button span, .add, .order-button, .close { transition: none; }
  .hero-image, dialog[open], .reveal-in { animation: none; }
  .features a:hover img, .hero .button:hover span { transform: none; }
}
@media (max-height: 520px) {
  .menu-tools { position: relative; top: auto; }
  .category { scroll-margin-top: var(--menu-top); }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .menu-tools, dialog, .mobile-cart, .toast { background: var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
