/* Maison Tapas: an elegant, phone-first theme for tapas and wine bars.
 * Colours come from theme.json (and the colour styles in /styles), so every
 * rule below follows the style the owner picks. */

:root {
	--mt-base: var(--wp--preset--color--base);
	--mt-surface: var(--wp--preset--color--surface);
	--mt-tint: var(--wp--preset--color--tertiary);
	--mt-ink: var(--wp--preset--color--contrast);
	--mt-accent: var(--wp--preset--color--accent);
	--mt-accent-deep: var(--wp--preset--color--accent-deep);
	--mt-on-accent: var(--wp--preset--color--accent-contrast);
	--mt-pop: var(--wp--preset--color--secondary);
	--mt-on-pop: var(--wp--preset--color--secondary-contrast);
	--mt-muted: var(--wp--preset--color--muted);
	--mt-line: var(--wp--preset--color--line);
	--mt-radius: 2px;
	--mt-display: var(--wp--preset--font-family--display);
	--mt-body: var(--wp--preset--font-family--body);
	--mt-ease: cubic-bezier(.2, .7, .2, 1);
	--mt-bar-h: 0px;

	/* The ordering plugin reads these. */
	--wo-gold: var(--mt-accent);
	--wo-paper: var(--mt-surface);
	--wo-radius: var(--mt-radius);
	--wo-sticky-top: 78px;
	--wo-cats-bg: var(--mt-base);
	--wo-scroll-margin: 150px;
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
::selection { background: var(--mt-accent); color: var(--mt-on-accent); }
a:focus-visible, button:focus-visible, .wp-element-button:focus-visible { outline: 2px solid var(--mt-accent); outline-offset: 3px; }
img { height: auto; }
h1 em, h2 em { font-style: italic; color: var(--mt-accent); }

/* Demo bar */
.mt-demo-bar { background: var(--mt-accent); color: var(--mt-on-accent); text-align: center; font-size: .82rem; font-weight: 500; letter-spacing: .02em; padding: .5rem 1rem; position: relative; z-index: 50; }

/* Buttons: brass fill, or a thin outline */
.wp-element-button, .wp-block-button__link { transition: background-color .25s, color .25s, border-color .25s; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--mt-ink); border: 1px solid color-mix(in srgb, var(--mt-ink) 55%, transparent); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--mt-ink); color: var(--mt-base); border-color: var(--mt-ink); }
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .9rem 1.75rem; box-sizing: border-box; font-family: var(--mt-body); font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--mt-ink); border: 1px solid color-mix(in srgb, var(--mt-ink) 55%, transparent); transition: background-color .25s, color .25s; }
.mt-btn:hover { background: var(--mt-ink); color: var(--mt-base); }
.mt-btn--solid { background: var(--mt-accent); border-color: var(--mt-accent); color: var(--mt-on-accent); }
.mt-btn--solid:hover { background: var(--mt-ink); border-color: var(--mt-ink); }
.mt-btn--static { cursor: default; letter-spacing: .08em; }
.mt-btn--static:hover { background: none; color: var(--mt-ink); }

/* Kicker, headings */
.mt-kicker { display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 1rem; font-family: var(--mt-body); font-size: .74rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--mt-accent); }
.mt-kicker::before, .mt-head--center .mt-kicker::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .7; }
.has-text-align-center.mt-kicker, .mt-head--center .mt-kicker { display: flex; justify-content: center; }
.mt-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.mt-head h2 { margin: 0; }
.mt-head--center { text-align: center; }
.mt-head__sub { color: var(--mt-muted); margin: 1rem auto 0; max-width: 52ch; }
.mt-small { font-size: .875rem; color: var(--mt-muted); }

/* Header: sits on the hero photo at the top of the home page, solid once you scroll. */
/* The header block sits inside the template-part wrapper, so the wrapper is what stays at the top. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 40; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
body.home .wp-site-blocks > header.wp-block-template-part { position: static; }
.mt-header { position: relative; z-index: 40; background: color-mix(in srgb, var(--mt-base) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--mt-line); transition: background-color .35s, border-color .35s; }
body.home .mt-header, .admin-bar.home .mt-header { position: fixed; left: 0; right: 0; top: var(--mt-top, 0px); }
body.home .mt-header:not(.is-scrolled) { background: linear-gradient(rgba(0, 0, 0, .55), transparent); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
body.home .mt-header:not(.is-scrolled) .mt-brand__name a, body.home .mt-header:not(.is-scrolled) .mt-nav .wp-block-navigation-item__content, body.home .mt-header:not(.is-scrolled) .mt-mark { color: #fff; }
.mt-header__row { min-height: 78px; gap: 1.5rem; }
.mt-brand { gap: .8rem; align-items: center; }
.mt-mark { display: block; width: 42px; height: 42px; color: var(--mt-accent); flex: none; }
.mt-mark svg { display: block; width: 100%; height: 100%; }
.mt-brand__name { margin: 0; font-family: var(--mt-display); font-weight: 500; font-size: 1.35rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }
.mt-brand__name a { color: var(--mt-ink); text-decoration: none; }
.mt-nav { margin-left: auto; font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.mt-nav .wp-block-navigation-item__content { color: var(--mt-ink); text-decoration: none; padding: .4rem 0; background-image: linear-gradient(var(--mt-accent), var(--mt-accent)); background-size: 0 1px; background-repeat: no-repeat; background-position: 50% 100%; transition: background-size .3s var(--mt-ease); }
.mt-nav .wp-block-navigation-item__content:hover { background-size: 100% 1px; }
.mt-lang { font-size: .74rem; font-weight: 500; letter-spacing: .14em; display: flex; gap: .1rem; }
.mt-lang > * { padding: .3rem .45rem; text-decoration: none; color: var(--mt-muted); }
.mt-lang [aria-current] { color: var(--mt-accent); border-bottom: 1px solid var(--mt-accent); }
body.home .mt-header:not(.is-scrolled) .mt-lang a { color: rgba(255, 255, 255, .75); }
.mt-header__cta .wp-block-button__link { padding: .7rem 1.3rem; font-size: .74rem; white-space: nowrap; }
body.home .mt-header:not(.is-scrolled) .mt-header__cta .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); }
.mt-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--mt-base); color: var(--mt-ink); padding: 2rem 1.75rem; }
.mt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; gap: 1.6rem; padding-top: 3rem; }
.mt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--mt-display); font-size: 2.1rem; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--mt-ink) !important; }
.mt-nav .wp-block-navigation__responsive-container-open svg, .mt-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
@media (max-width: 781px) {
	.mt-header__row { min-height: 64px; gap: .75rem; }
	.mt-brand__name { font-size: 1.05rem; letter-spacing: .16em; }
	.mt-mark { width: 34px; height: 34px; }
	.mt-header__cta { display: none !important; }
	.mt-nav { order: 3; margin-left: 0; }
	.mt-lang { margin-left: auto; }
	:root { --wo-sticky-top: 64px; }
}

/* Hero: full-screen photo, centred title */
.mt-hero.wp-block-cover { padding-top: 7rem; padding-bottom: 5rem; overflow: hidden; }
.mt-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 9, 7, .55) 0%, rgba(10, 9, 7, .72) 55%, rgba(10, 9, 7, .9) 100%); pointer-events: none; z-index: 0; }
.mt-hero .wp-block-cover__image-background { animation: mt-slowzoom 22s ease-out both; }
@keyframes mt-slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.mt-hero .wp-block-cover__inner-container { z-index: 1; color: #F4EEE2; }
.mt-hero__kicker { color: var(--mt-accent) !important; }
.mt-hero__title { font-size: var(--wp--preset--font-size--hero); line-height: .98; letter-spacing: -.005em; margin: .4rem auto 1.4rem; color: #F4EEE2; max-width: 14ch; }
.mt-hero__lead { font-size: 1.15rem; color: rgba(244, 238, 226, .85); max-width: 44ch; margin: 0 auto 1.6rem; }
.mt-hero .mt-status { margin: 0 auto 2rem; display: flex; width: fit-content; }
.mt-hero__buttons { gap: .9rem; }
.mt-hero__buttons .wp-block-button__link { min-width: 15rem; }
.mt-hero .is-style-outline .wp-block-button__link { color: #F4EEE2; border-color: rgba(244, 238, 226, .65); }
.mt-hero .is-style-outline .wp-block-button__link:hover { background: #F4EEE2; color: #14130F; }
@media (max-width: 781px) {
	.mt-hero.wp-block-cover { min-height: calc(100svh - var(--mt-bar-h) - var(--mt-demo-h, 0px)) !important; padding: 5.5rem 1.25rem 2.25rem; align-items: flex-end; }
	.mt-hero__title { font-size: 2.9rem; margin-bottom: 1rem; }
	.mt-hero__lead { font-size: 1rem; margin-bottom: 1.25rem; }
	.mt-hero .mt-status { margin-bottom: 1.5rem; }
	.mt-hero__buttons { flex-wrap: nowrap !important; gap: .6rem; }
	.mt-hero__buttons { align-items: stretch !important; }
	.mt-hero__buttons .wp-block-button { flex: 1 1 0; display: flex; }
	.mt-hero__buttons .wp-block-button__link { display: flex; align-items: center; justify-content: center; }
	.mt-hero__buttons .wp-block-button__link { width: 100%; min-width: 0; box-sizing: border-box; padding: 1rem .5rem; font-size: .72rem; letter-spacing: .12em; }
}

/* Live status badge */
.mt-status { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .45rem 1rem; font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.mt-status[hidden] { display: none; }
.mt-status__dot { width: .5rem; height: .5rem; border-radius: 50%; background: #8d8676; }
.mt-status.is-open .mt-status__dot { background: #7FC08B; box-shadow: 0 0 0 0 rgba(127, 192, 139, .5); animation: mt-pulse 2.4s infinite; }
@keyframes mt-pulse { 70% { box-shadow: 0 0 0 8px rgba(127, 192, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 192, 139, 0); } }

/* Sections */
.mt-section { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.mt-section--tint { background: var(--mt-tint); }
.mt-center-btn { margin-top: clamp(2rem, 4vw, 3rem) !important; }

/* La carte tiles */
.mt-tiles { gap: 1px !important; grid-template-columns: repeat(3, 1fr) !important; background: var(--mt-line); border: 1px solid var(--mt-line); }
@media (max-width: 700px) { .mt-tiles { grid-template-columns: repeat(2, 1fr) !important; } .mt-tile.wp-block-cover { min-height: 200px !important; } }
.mt-tile.wp-block-cover { overflow: hidden; padding: 0; position: relative; isolation: isolate; aspect-ratio: 4 / 3; }
.mt-tile .wp-block-cover__image-background { transition: transform 1.1s var(--mt-ease), filter .6s; filter: brightness(.82) saturate(.95); }
.mt-tile:hover .wp-block-cover__image-background, .mt-tile:focus-within .wp-block-cover__image-background { transform: scale(1.06); filter: brightness(.95); }
.mt-tile::before { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(8, 7, 5, .82)); z-index: 1; pointer-events: none; }
.mt-tile > .wp-block-cover__inner-container { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 1.25rem 1.4rem; }
.mt-tile__name { margin: 0; width: 100%; }
.mt-tile__name a { display: flex; justify-content: space-between; align-items: baseline; color: #F4EEE2; text-decoration: none; font-family: var(--mt-display); font-weight: 500; font-size: 1.65rem; line-height: 1.1; }
.mt-tile__name a::before { content: "→"; order: 2; font-family: var(--mt-body); font-size: 1rem; color: var(--mt-accent); transition: transform .3s var(--mt-ease); }
.mt-tile:hover .mt-tile__name a::before { transform: translateX(4px); }
.mt-tile__name a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 700px) { .mt-tile__name a { font-size: 1.25rem; } .mt-tile > .wp-block-cover__inner-container { padding: .9rem 1rem; } }

/* Awards band */
.mt-awards-band { padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--mt-line); }
.mt-awards-band:not(:has(.mt-award)) { display: none; }
.mt-awards { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mt-awards__track { display: flex; width: max-content; animation: mt-marquee calc(var(--mt-awards-copies) * 9s) linear infinite; }
.mt-awards:hover .mt-awards__track, .mt-awards:focus-within .mt-awards__track, .mt-awards:active .mt-awards__track { animation-play-state: paused; }
.mt-awards__set { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: none; }
.mt-awards__set > .mt-award { padding: 0 clamp(1.5rem, 4vw, 3rem); }
@keyframes mt-marquee { to { transform: translateX(calc(-100% / var(--mt-awards-copies))); } }
@media (prefers-reduced-motion: reduce) {
	.mt-awards { -webkit-mask-image: none; mask-image: none; }
	.mt-awards__track { animation: none; width: auto; justify-content: center; }
	.mt-awards__set { flex-wrap: wrap; justify-content: center; row-gap: 1.25rem; }
	.mt-awards__set[aria-hidden] { display: none; }
}
.mt-award { text-align: center; }
.mt-award a { color: inherit; text-decoration: none; display: block; }
.mt-award:not(.mt-award--img) a, .mt-award:not(.mt-award--img) { display: flex; flex-direction: column; align-items: center; max-width: 12rem; }
.mt-award__laurel { width: 64px; height: 40px; fill: none; stroke: var(--mt-accent); stroke-width: 1.2; stroke-linecap: round; margin-bottom: .4rem; }
.mt-award__name { font-family: var(--mt-display); font-size: 1.15rem; line-height: 1.2; color: var(--mt-ink); }
.mt-award__year { margin-top: .35rem; font-size: .72rem; letter-spacing: .28em; color: var(--mt-accent); }
.mt-award__img { display: block; width: auto; height: auto; max-height: 150px; max-width: 150px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.mt-awards-band .mt-awards__demo { display: table; margin: 1.5rem auto 0; }
@media (max-width: 600px) { .mt-awards__set > .mt-award { padding: 0 1.1rem; } .mt-award__img { max-height: 112px; max-width: 112px; } .mt-award__name { font-size: 1rem; } }

/* No dish marked Popular yet: hide the section rather than show an empty band. */
.mt-popular:not(:has(.wo-dish)) { display: none; }

/* The bar */
.mt-bar.wp-block-cover { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.mt-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 9, 7, .9) 0%, rgba(10, 9, 7, .62) 45%, rgba(10, 9, 7, .1) 80%); pointer-events: none; }
.mt-bar .wp-block-cover__inner-container { z-index: 1; }
.mt-bar__text { max-width: 30rem; color: #F4EEE2; }
.mt-bar__text h2 { color: #F4EEE2; font-size: var(--wp--preset--font-size--xx-large); }
.mt-bar__text p { color: rgba(244, 238, 226, .85); }
@media (max-width: 781px) {
	.mt-bar.wp-block-cover { min-height: 0 !important; display: block; padding: 0 0 var(--wp--preset--spacing--60); background: var(--mt-base); }
	.mt-bar .wp-block-cover__image-background { position: relative; height: 70vw; }
	.mt-bar::after { display: none; }
	.mt-bar .wp-block-cover__inner-container { position: relative; margin-top: 2rem; padding: 0 1.4rem; }
	.mt-bar__text, .mt-bar__text h2 { color: var(--mt-ink); }
	.mt-bar__text p { color: var(--mt-muted); }
}

/* Dash lists */
.mt-dashes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .65rem; }
.mt-dashes li { position: relative; padding-left: 2rem; }
.mt-dashes li::before { content: ""; position: absolute; left: 0; top: .8em; width: 1.2rem; height: 1px; background: var(--mt-accent); }

/* Story and events */
.mt-story { gap: clamp(2rem, 7vw, 6rem) !important; }
.mt-photo { margin: 0; position: relative; }
.mt-photo img { width: 100%; object-fit: cover; display: block; }
.mt-story .mt-photo img { aspect-ratio: 4 / 5; }
.mt-story .mt-photo::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--mt-accent); opacity: .45; z-index: -1; }
.mt-story .mt-photo { isolation: isolate; }
.mt-story--flip .mt-photo::after { inset: 1rem 1rem -1rem -1rem; }
.mt-signature { font-family: var(--mt-display); font-style: italic; font-size: 1.5rem; color: var(--mt-accent); margin-top: 1.5rem; }
@media (max-width: 781px) {
	.mt-story .mt-photo img { aspect-ratio: 4 / 3; }
	.mt-story .mt-photo::after { display: none; }
	.mt-story--flip { flex-direction: column-reverse; }
}

/* Reserve, hours, find us */
.mt-reserve__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2rem; }
.mt-visit .mt-setup-hint { max-width: 40rem; margin: 1.25rem auto 0; }
.mt-info { gap: 1px !important; background: var(--mt-line); border: 1px solid var(--mt-line); }
.mt-info__card { background: var(--mt-base); padding: clamp(1.6rem, 4vw, 2.75rem) !important; }
.mt-info__card h3 { font-size: 2rem; margin: 0 0 1.25rem; scroll-margin-top: 110px; }
.mt-info__card .mt-status { margin-bottom: 1.25rem; color: var(--mt-ink); }
.mt-hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.mt-hours th, .mt-hours td { padding: .7rem 0; border-bottom: 1px solid var(--mt-line); text-align: left; font-weight: 400; vertical-align: top; }
.mt-hours th { padding-right: 1rem; letter-spacing: .02em; }
.mt-hours td { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.55; }
.mt-hours tr.is-closed td { color: var(--mt-muted); }
.mt-hours tr.is-today th, .mt-hours tr.is-today td { color: var(--mt-accent); }
.mt-hours tr.is-today th::after { content: " ·"; }
.mt-photo--small { margin: 0 0 1.25rem; }
.mt-photo--small img { aspect-ratio: 16 / 9; }
.mt-contact__addr { margin: 0 0 .3rem; font-size: 1.05rem; }
.mt-contact__phone { font-family: var(--mt-display); font-weight: 500; font-size: 1.9rem; margin: .6rem 0 0; }
.mt-contact__phone a { text-decoration: none; color: var(--mt-ink); }
.mt-link-arrow { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }

/* Demo labels */
.mt-demo-tag { display: inline-block; margin: .9rem 0 0; padding: .3rem .75rem; font-size: .74rem; letter-spacing: .06em; border: 1px dashed color-mix(in srgb, currentColor 45%, transparent); color: var(--mt-muted); }
.mt-footer__fine--demo strong { display: block; margin-bottom: .3rem; font-weight: 500; color: var(--mt-ink); }

/* Setup hint, shown to administrators only */
.mt-setup-hint { margin: 0; padding: .8rem 1rem; border: 1px dashed currentColor; font-size: .9rem; opacity: .85; }

/* Footer */
.mt-footer { background: var(--mt-surface); color: var(--mt-ink); border-top: 1px solid var(--mt-line); padding-top: var(--wp--preset--spacing--60); padding-bottom: calc(var(--wp--preset--spacing--40) + var(--mt-bar-h)); }
.mt-footer a { color: inherit; }
.mt-footer__name { font-size: 2.2rem; margin: 0 0 .6rem; letter-spacing: .12em; text-transform: uppercase; }
.mt-footer__h { font-family: var(--mt-body); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--mt-accent); font-weight: 500; margin: .4rem 0 1rem; }
.mt-footer p { color: var(--mt-muted); }
.mt-footer__links a { text-decoration: none; }
.mt-footer__links a:hover { color: var(--mt-accent); }
.mt-footer .mt-hours { font-size: .9rem; }
.mt-footer .mt-hours th, .mt-footer .mt-hours td { padding: .45rem 0; }
.mt-footer .mt-contact__phone { font-size: 1.5rem; }
.mt-footer__cols { gap: clamp(1.75rem, 5vw, 4.5rem) !important; }
.mt-footer__fine { margin-top: 3rem !important; padding-top: 1.25rem; border-top: 1px solid var(--mt-line); font-size: .8rem; }
.mt-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.mt-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--mt-line); color: var(--mt-ink); transition: border-color .25s, color .25s; }
.mt-social a:hover { border-color: var(--mt-accent); color: var(--mt-accent); }
.mt-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Home page on phones: hours and address are already in the Reservations section. */
@media (max-width: 781px) { body.home .mt-footer__cols > .wp-block-column:not(:first-child) { display: none; } }

/* Phone action bar: Call, Menu, Book, Directions, always one tap away */
.mt-actionbar { display: none; }
@media (max-width: 781px) {
	:root { --mt-bar-h: calc(64px + env(safe-area-inset-bottom)); }
	.mt-actionbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--mt-bar-h); padding-bottom: env(safe-area-inset-bottom); box-sizing: border-box; background: color-mix(in srgb, var(--mt-base) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--mt-line); }
	.mt-actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; color: var(--mt-ink); text-decoration: none; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
	.mt-actionbar a + a { border-left: 1px solid var(--mt-line); }
	.mt-actionbar a:first-child { color: var(--mt-accent); }
	.mt-actionbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
	/* Leave room for the bar under the page and under the plugin's cart button. */
	body { padding-bottom: var(--mt-bar-h); }
	.wo-cartbar { bottom: calc(var(--mt-bar-h) + 10px) !important; }
	.wo-toast { bottom: calc(var(--mt-bar-h) + 90px) !important; }
}

/* Inner pages */
.mt-pagehead { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--40); text-align: center; }
.mt-pagehead h1 { margin: 0; font-size: var(--wp--preset--font-size--xx-large); }
.mt-pagehead::after { content: ""; display: block; width: 3rem; height: 1px; margin: 1.5rem auto 0; background: var(--mt-accent); }
.mt-content { padding-bottom: var(--wp--preset--spacing--70); }
.mt-404 { text-align: center; }

/* Fade in */
.mt-js .mt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--mt-ease); }
.mt-js .mt-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.mt-js .mt-reveal { opacity: 1; transform: none; transition: none; }
	.mt-status.is-open .mt-status__dot, .mt-hero .wp-block-cover__image-background { animation: none; }
	.mt-tile .wp-block-cover__image-background, .wp-block-button__link { transition: none; }
}

/* ===== Ordering plugin (Weekend Orders): the menu as an elegant carte ===== */
.wo-menu { color: var(--mt-ink); }
.wo-cats { gap: .25rem; padding: .9rem 0; margin: 0 0 2rem; border-bottom: 1px solid var(--mt-line); scrollbar-width: none; }
.wo-cats::-webkit-scrollbar { display: none; }
.wo-cat { border: 1px solid transparent; border-radius: 0; background: none; color: var(--mt-muted); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: .6rem 1rem; }
.wo-cat:hover, .wo-cat:focus-visible { color: var(--mt-ink); }
.wo-cat.is-current { color: var(--mt-accent); border-color: var(--mt-accent); background: none; }
.wo-menu__card { background: none; border: 0; padding: 0; }
.wo-section { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.wo-section__head { margin-bottom: 1.5rem; text-align: center; }
.wo-section__title { font-family: var(--mt-display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .35rem; color: var(--mt-ink); }
.wo-section__title::after { content: ""; display: block; width: 2.5rem; height: 1px; margin: .9rem auto 0; background: var(--mt-accent); }
.wo-section__intro { color: var(--mt-muted); font-style: italic; }
.wo-dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--mt-line); border: 1px solid var(--mt-line); }
.wo-dish { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: .4rem 1rem; align-items: start; padding: 1.35rem 1.4rem; background: var(--mt-base); border: 0; border-radius: 0; }
.wo-dish__text { grid-column: 1; grid-row: 1 / 3; min-width: 0; }
@media (max-width: 600px) {
	.wo-dish, .wo-dish.has-img { grid-template-columns: 1fr auto; }
	.wo-dish .wo-dish__text { grid-column: 1; }
	.wo-dish .wo-dish__price { grid-column: 2; }
	.wo-dish.has-img .wo-dish__img { width: 100%; height: auto; grid-row: 1; grid-column: 1 / -1; }
	.wo-dish.has-img .wo-dish__text { grid-column: 1; grid-row: 2 / 4; }
}
.wo-dish__name { font-family: var(--mt-display); font-weight: 500; font-size: 1.45rem; line-height: 1.15; margin: 0; color: var(--mt-ink); }
.wo-dish__desc, .wo-dish__sizes { color: var(--mt-muted); font-size: .92rem; line-height: 1.5; margin-top: .35rem; }
.wo-dish__price { grid-column: 2; grid-row: 1; color: var(--mt-accent); font-family: var(--mt-display); font-weight: 600; font-size: 1.35rem; text-align: right; }
.wo-dish .wo-add, .wo-dish .wo-dish__off { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }
.wo-add { width: 44px; height: 44px; border: 1px solid var(--mt-accent); border-radius: 0; background: transparent; color: var(--mt-accent); font-size: 1.5rem; font-weight: 300; box-shadow: none; transition: background-color .25s, color .25s; }
.wo-add:hover { background: var(--mt-accent); color: var(--mt-on-accent); }
.wo-pop { background: none; color: var(--mt-accent); border: 1px solid var(--mt-accent); border-radius: 0; padding: 2px 8px; font-family: var(--mt-body); font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; margin-left: .5rem; }
.wo-hot svg path:last-child { fill: var(--mt-accent); }
/* Dishes with a photo: the photo on top, full width. */
.wo-dish.has-img { padding: 0; overflow: hidden; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; }
.wo-dish.has-img .wo-dish__img { grid-column: 1 / -1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 0; border-radius: 0; transition: transform 1s var(--mt-ease); }
.wo-dish.has-img:hover .wo-dish__img { transform: scale(1.04); }
.wo-dish.has-img .wo-dish__text { grid-row: 2 / 4; padding: 1.2rem 0 1.3rem 1.4rem; }
.wo-dish.has-img .wo-dish__price { grid-row: 2; padding: 1.2rem 1.4rem 0 0; }
.wo-dish.has-img .wo-add, .wo-dish.has-img .wo-dish__off { grid-row: 3; margin: 0 1.4rem 1.3rem 0; }
.wo-dish.has-img .wo-pop { position: absolute; top: .9rem; left: .9rem; margin: 0; background: rgba(10, 9, 7, .7); backdrop-filter: blur(6px); }
.wo-dish.is-off { opacity: .55; }
.wo-dish.is-extra { background: var(--mt-tint); }
@media (min-width: 900px) {
	.wo-menu .wo-dishes:has(> .wo-dish:nth-child(2):last-child),
	.wo-menu .wo-dishes:has(> .wo-dish:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
	.wo-menu .wo-dishes:has(> .wo-dish:nth-child(2):last-child) .wo-dish.has-img .wo-dish__img,
	.wo-menu .wo-dishes:has(> .wo-dish:nth-child(4):last-child) .wo-dish.has-img .wo-dish__img { aspect-ratio: 16 / 9; }
}
.wo-menu .wo-dishes { grid-auto-flow: row dense; }
@media (min-width: 640px) { .wo-menu .wo-dish.has-img { grid-row: span 2; } }
/* Signature dishes on the home page */
.wo-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mt-line); border: 1px solid var(--mt-line); }
.wo-featured .wo-dishes { display: block; border: 0; }
.wo-featured .wo-dish { height: 100%; box-sizing: border-box; background: var(--mt-tint); }
@media (max-width: 900px) { .wo-featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wo-featured { grid-template-columns: 1fr; } }
.wo-menu__notes { color: var(--mt-muted); text-align: center; font-size: .9rem; }

/* Cart bar, toast, options window, checkout */
.wo-cartbar__link { background: var(--mt-accent); color: var(--mt-on-accent); border: 0; border-radius: 0; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); padding: 10px 10px 10px 20px; letter-spacing: .04em; }
.wo-cartbar__count { background: var(--mt-on-accent); color: var(--mt-accent); }
.wo-cartbar__go { background: var(--mt-on-accent); color: var(--mt-accent); border-radius: 0; padding: 10px 16px; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.wo-toast { background: var(--mt-ink); color: var(--mt-base); border-radius: 0; }
.wo-modal { background: rgba(5, 5, 4, .7); backdrop-filter: blur(4px); }
.wo-modal__card { background: var(--mt-surface); color: var(--mt-ink); border: 1px solid var(--mt-line); border-radius: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.wo-modal__img { border-bottom: 0; height: 240px; }
.wo-modal__card h3, .wo-box h2 { font-family: var(--mt-display); font-weight: 500; color: var(--mt-ink); }
.wo-box { background: var(--mt-surface); color: var(--mt-ink); border-color: var(--mt-line); border-radius: 0; }
.wo-kicker { color: var(--mt-accent); }
.wo-field label, .wo-field legend { color: var(--mt-ink); }
.wo-field input:not([type=radio]):not([type=checkbox]), .wo-field select, .wo-field textarea, .wo-tip { background: var(--mt-base); color: var(--mt-ink); border: 1px solid var(--mt-line); border-radius: 0; }
.wo-field input:focus, .wo-field select:focus, .wo-field textarea:focus { border-color: var(--mt-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mt-accent) 22%, transparent); outline: 0; }
.wo-modal .wo-choice, .wo-choice { border: 1px solid var(--mt-line); border-radius: 0; background: var(--mt-base); color: var(--mt-ink); }
.wo-choice:has(input:checked) { border-color: var(--mt-accent); background: color-mix(in srgb, var(--mt-accent) 10%, var(--mt-base)); }
.wo-btn--main { background: var(--mt-accent); color: var(--mt-on-accent); border-radius: 0; box-shadow: none; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; }
.wo-btn--main:hover { background: var(--mt-ink); color: var(--mt-base); }
.wo-sum, .wo-sum td, .wo-sum th { color: var(--mt-ink); border-color: var(--mt-line); }
.wo-sum__discount td { color: var(--mt-accent); }
.wo-line.is-incomplete { background: color-mix(in srgb, var(--mt-accent) 12%, var(--mt-surface)); }
