/* El Barril — styles beyond theme.json. Budget ≤ 40 KB (checked in P2-T12). */

/* ---------- Base ---------- */
:root {
  --eb-gutter: clamp(20px, 4.5vw, 64px);
  --eb-line-dark: rgba(255, 240, 227, 0.14);
  --eb-muted-dark: rgba(255, 240, 227, 0.72);
  --eb-text-soft: #6B4A3F;
  --eb-display: var(--wp--preset--font-family--fraunces);
  --eb-sans: var(--wp--preset--font-family--dm-sans);
  --eb-actions-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, .eb-display {
  font-family: var(--eb-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
p { overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--wp--preset--color--terracotta); outline-offset: 3px; }
.eb-section--dark :focus-visible, .eb-hero :focus-visible, .eb-footer :focus-visible, .eb-mobile-nav :focus-visible, .eb-header :focus-visible { outline-color: var(--wp--preset--color--sand); }
.eb-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eb-main { display: block; }
.eb-main > .wp-block-post-title { margin: clamp(48px, 6vw, 80px) var(--eb-gutter) 0; }
.eb-main > .wp-block-post-content { padding: 0 var(--eb-gutter) clamp(48px, 6vw, 80px); }

.eb-eyebrow { margin: 0; font: 500 12px/1.3 var(--eb-sans); letter-spacing: 0.32em; text-transform: uppercase; }
.eb-section { padding: clamp(72px, 9vw, 112px) var(--eb-gutter); }
.eb-section__inner { max-width: 1312px; margin: 0 auto; }
.eb-section .eb-eyebrow { color: var(--wp--preset--color--terracotta); }
.eb-section--dark { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.eb-section--dark :is(h2, h3) { color: var(--wp--preset--color--cream); }
.eb-section--dark .eb-eyebrow { color: var(--wp--preset--color--sand); }
.eb-section--sand { background: var(--wp--preset--color--sand); }
.eb-section--sand .eb-eyebrow { color: var(--wp--preset--color--burgundy); }
.eb-section--terracotta { background: var(--wp--preset--color--terracotta); color: var(--wp--preset--color--cream); }
.eb-section--terracotta :is(h2, h3) { color: var(--wp--preset--color--cream); }
.eb-section--terracotta .eb-eyebrow { color: var(--wp--preset--color--cream); }
.eb-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.eb-section__head h2 { margin: 12px 0 0; }

/* ---------- Buttons ---------- */
.eb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 2px;
  font: 600 15px/1 var(--eb-sans); letter-spacing: 0.02em; text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.eb-btn--primary { background: var(--wp--preset--color--terracotta); color: var(--wp--preset--color--cream); }
.eb-btn--primary:hover { background: var(--wp--preset--color--red); }
.eb-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.eb-btn--ghost:hover { background: rgba(39, 21, 16, 0.06); }
.eb-btn--small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.eb-link { text-decoration: none; }
.eb-link:hover { text-decoration: underline; }
.eb-icon { flex: none; }
@media (max-width: 900px) { .eb-btn { min-height: 48px; padding: 0 20px; } }

/* ---------- Header ---------- */
.eb-header-part, .eb-footer-part { display: contents; }
.eb-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px var(--eb-gutter); color: var(--wp--preset--color--cream); }
.eb-header--solid { background: var(--wp--preset--color--ink); }
.eb-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.eb-brand__disc { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--wp--preset--color--cream); }
.eb-brand__disc img { width: 34px; height: auto; }
.eb-brand__text { display: grid; gap: 4px; }
.eb-brand__name { font: 400 24px/1 var(--eb-display); font-variation-settings: "SOFT" 0, "WONK" 0; }
.eb-brand__sub { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--wp--preset--color--sand); }
.eb-nav ul, .eb-lang ul, .eb-footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px 32px; margin: 0; padding: 0; list-style: none; }
.eb-nav a { font-size: 15px; font-weight: 500; text-decoration: none; opacity: 0.9; }
.eb-nav a:hover, .eb-nav a[aria-current] { opacity: 1; color: var(--wp--preset--color--sand); }
.eb-header__end { display: flex; align-items: center; gap: 20px; }
.eb-lang--compact ul { gap: 14px; }
.eb-lang a { font-size: 12px; letter-spacing: 0.12em; text-decoration: none; color: var(--eb-muted-dark); }
.eb-lang a[aria-current] { color: var(--wp--preset--color--cream); text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 900px) {
  .eb-header { padding: 16px var(--eb-gutter); }
  .eb-nav, .eb-header__cta { display: none !important; }
  .eb-brand__disc { width: 44px; height: 44px; }
  .eb-brand__disc img { width: 27px; }
  .eb-brand__name { font-size: 21px; }
  .eb-brand__sub { display: none; }
}
@media (max-width: 380px) { .eb-header__end .eb-lang { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.eb-page-hero { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); padding: clamp(48px, 7vw, 96px) var(--eb-gutter) clamp(40px, 5vw, 64px); }
.eb-page-hero__title, .eb-page-hero h1 { margin: 0; max-width: 18ch; color: var(--wp--preset--color--cream); font-size: var(--wp--preset--font-size--xx-large); }
/* Out-specifies `.eb-main > .wp-block-post-content`, which would drop the top padding under the hero. */
.eb-main > .eb-page__content { padding: clamp(48px, 6vw, 80px) var(--eb-gutter); max-width: 1312px; margin: 0 auto; }
.eb-404__links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.eb-footer { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); padding: clamp(56px, 7vw, 96px) var(--eb-gutter) 32px; }
.eb-footer__welcome { display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--eb-line-dark); text-align: center; }
.eb-footer__disc { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 24px; border-radius: 50%; background: var(--wp--preset--color--cream); }
.eb-footer__disc img { width: 54px; height: auto; }
.eb-footer__hello { margin: 0; font: italic 600 var(--wp--preset--font-size--xx-large)/1.05 var(--eb-display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--wp--preset--color--cream); }
.eb-footer__see-you { margin: 20px 0 0; color: var(--wp--preset--color--sand); }
.eb-footer__cta { margin-top: 24px; }
.eb-footer-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
.eb-footer-facts__heading { margin: 0 0 12px; font: 500 12px/1.3 var(--eb-sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--wp--preset--color--sand); }
.eb-footer-facts p { margin: 0 0 8px; font-size: 15px; line-height: 1.7; color: var(--eb-muted-dark); }
.eb-footer-facts a { text-decoration: none; color: var(--wp--preset--color--cream); }
.eb-footer-facts a:hover { text-decoration: underline; }
.eb-footer-facts__social { display: flex; gap: 12px; }
.eb-footer-facts__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--eb-line-dark); border-radius: 50%; }
.eb-footer-facts__oiva { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 14px; border: 1px solid var(--eb-line-dark); border-radius: 8px; font-size: 13px; line-height: 1.2; }
.eb-footer-facts a.eb-footer-facts__oiva { color: var(--eb-muted-dark); }
.eb-footer-facts a.eb-footer-facts__oiva:hover { text-decoration: none; border-color: var(--wp--preset--color--sand); color: var(--wp--preset--color--cream); }
.eb-footer-facts__oiva .eb-icon { width: 16px; height: 16px; color: var(--wp--preset--color--green-light); }
.eb-footer__nav { padding: 24px 0; border-top: 1px solid var(--eb-line-dark); }
.eb-footer__nav a { font-size: 15px; text-decoration: none; }
.eb-footer__nav a[aria-current] { color: var(--wp--preset--color--sand); }
.eb-footer__nav .eb-icon { display: none; }
.eb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--eb-line-dark); font-size: 13px; color: var(--eb-muted-dark); }
.eb-footer__copy,
.eb-footer__credit { margin: 0; }
.eb-footer__credit a { color: inherit; text-underline-offset: 3px; }
.eb-footer__credit a:hover { color: var(--wp--preset--color--cream); }
.eb-footer .eb-lang a { font-size: 13px; letter-spacing: 0; }
@media (max-width: 900px) { .eb-footer-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .eb-footer-facts { grid-template-columns: 1fr; } }

/* ---------- Mobile nav ---------- */
.eb-menu-toggle { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 240, 227, 0.12); color: var(--wp--preset--color--cream); }
@media (max-width: 900px) { .eb-menu-toggle { display: grid; } }
.eb-mobile-nav { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px 20px max(32px, env(safe-area-inset-bottom)); border: 0; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.eb-mobile-nav[open] { display: flex; flex-direction: column; gap: 24px; }
.eb-mobile-nav::backdrop { background: rgba(39, 21, 16, 0.6); }
.eb-mobile-nav__head { display: flex; align-items: center; justify-content: space-between; }
.eb-mobile-nav__head .eb-brand__sub { display: none; }
.eb-mobile-nav__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 240, 227, 0.12); color: inherit; cursor: pointer; }
.eb-mobile-nav__links ul { margin: 0; padding: 16px 0 0; list-style: none; }
.eb-mobile-nav__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--eb-line-dark); text-decoration: none; font: 400 clamp(28px, 8vw, 34px)/1.15 var(--eb-display); font-variation-settings: "SOFT" 0, "WONK" 0; color: var(--wp--preset--color--sand); }
.eb-mobile-nav__links a[aria-current] { color: var(--wp--preset--color--cream); }
.eb-mobile-nav__spacer { flex: 1; }
.eb-mobile-nav .eb-lang ul { gap: 8px; }
.eb-mobile-nav .eb-lang a { display: inline-block; padding: 8px 14px; border: 1px solid var(--eb-line-dark); border-radius: 2px; font-size: 14px; letter-spacing: 0; color: var(--wp--preset--color--cream); text-decoration: none; }
.eb-mobile-nav .eb-lang a[aria-current] { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); }
.eb-mobile-nav__cta { width: 100%; }
.eb-status-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0; font-size: 14px; color: var(--eb-muted-dark); }
.eb-status-inline__word { font: italic 400 20px/1.2 var(--eb-display); color: var(--wp--preset--color--cream); }
.eb-status-inline__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 240, 227, 0.45); align-self: center; }
[data-state="open"] .eb-status-inline__dot { background: #6fcf8f; }
[data-state="closing"] .eb-status-inline__dot { background: var(--wp--preset--color--sand); }

/* ---------- Hero ---------- */
.eb-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: none; }
.eb-hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto auto; min-height: min(100svh, 960px); padding-top: 96px; overflow: hidden; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.eb-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.eb-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(39, 21, 16, 0.9) 0%, rgba(39, 21, 16, 0.62) 42%, rgba(39, 21, 16, 0.12) 100%),
    linear-gradient(180deg, rgba(39, 21, 16, 0.55) 0%, rgba(39, 21, 16, 0) 22%, rgba(39, 21, 16, 0) 62%, rgba(39, 21, 16, 0.92) 100%);
}
.eb-hero__body { align-self: end; max-width: 1100px; padding: 24px var(--eb-gutter) 40px; }
.eb-hero__eyebrow { color: var(--wp--preset--color--sand); }
.eb-hero__title { margin: 20px 0 0; font-size: clamp(44px, min(7vw, 9.5svh), 104px); line-height: 0.98; color: var(--wp--preset--color--cream); }
.eb-hero__lede { margin: 24px 0 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: rgba(255, 240, 227, 0.86); }
.eb-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.eb-hero .eb-btn--ghost { border-color: rgba(255, 240, 227, 0.5); color: var(--wp--preset--color--cream); }
.eb-hero .eb-btn--ghost:hover { border-color: var(--wp--preset--color--cream); background: transparent; }

/* ---------- Info strip ---------- */
.eb-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 var(--eb-gutter); border-top: 1px solid var(--eb-line-dark); }
.eb-strip__cell { display: grid; gap: 10px; align-content: start; padding: 20px 28px 22px 0; min-width: 0; }
.eb-strip__cell + .eb-strip__cell { padding-left: 28px; border-left: 1px solid var(--eb-line-dark); }
.eb-strip__label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--wp--preset--color--sand); }
.eb-strip__value { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.eb-strip__value a { text-decoration: none; }
.eb-strip__value a:hover { text-decoration: underline; }
.eb-strip__value small { display: block; font-size: 14px; color: var(--eb-muted-dark); }
.eb-strip__status { font: italic 400 24px/1.1 var(--eb-display); font-variation-settings: "SOFT" 0, "WONK" 0; }
.eb-strip__status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 0 1px; border-radius: 50%; vertical-align: 0.22em; background: rgba(255, 240, 227, 0.45); }
[data-state="open"] .eb-strip__status::before { background: #6fcf8f; }
[data-state="closing"] .eb-strip__status::before { background: var(--wp--preset--color--sand); }

/* ---------- Ticker ---------- */
.eb-ticker { overflow: hidden; padding: 14px 0; background: var(--wp--preset--color--terracotta); color: var(--wp--preset--color--cream); }
.eb-ticker__track { display: flex; width: max-content; animation: eb-ticker 60s linear infinite; }
.eb-ticker:hover .eb-ticker__track { animation-play-state: paused; }
.eb-ticker__group { display: flex; align-items: center; }
.eb-ticker__item { font: italic 400 22px/1.2 var(--eb-display); font-variation-settings: "SOFT" 0, "WONK" 0; white-space: nowrap; }
.eb-ticker__sep { width: 6px; height: 6px; margin: 0 28px; background: currentColor; opacity: 0.6; transform: rotate(45deg); }
@keyframes eb-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .eb-ticker__track { animation: none; } }

@media (max-width: 900px) {
  .eb-hero { padding-top: 80px; }
  .eb-hero__body { padding: 48px var(--eb-gutter) 56px; }
  .eb-hero__lede { font-size: 16px; }
  .eb-strip { grid-template-columns: 1fr 1fr; }
  .eb-strip__cell:nth-child(3) { padding-left: 0; border-left: 0; }
  .eb-strip__cell:nth-child(n + 3) { border-top: 1px solid var(--eb-line-dark); }
}
@media (max-width: 480px) {
  .eb-strip__cell, .eb-strip__cell + .eb-strip__cell { padding: 18px 10px 20px 0; }
  .eb-strip__cell:nth-child(even) { padding-left: 12px; }
  .eb-strip__status { font-size: 20px; }
}

/* ---------- Intro ---------- */
.eb-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.eb-intro h2 { margin: 16px 0 24px; }
.eb-intro__body { max-width: 560px; font-size: 18px; line-height: 1.7; color: var(--eb-text-soft); }
.eb-intro__facts { display: flex; flex-wrap: wrap; gap: 24px 48px; margin: 32px 0 8px; }
.eb-intro__fact { display: flex; flex-direction: column-reverse; gap: 4px; }
.eb-intro__fact dt { font-size: 14px; color: var(--eb-text-soft); }
.eb-intro__fact dd { margin: 0; font: 600 40px/1 var(--eb-display); color: var(--wp--preset--color--terracotta); white-space: nowrap; }
.eb-intro__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--wp--preset--color--terracotta); }
.eb-intro__photos { position: relative; min-height: 420px; }
.eb-intro__photo { display: block; border-radius: 16px; object-fit: cover; }
/* Arched top: a full semicircle over the 3:4 frame (half the width = 37.5% of the height). */
.eb-intro__photo--tall { width: 60%; aspect-ratio: 3 / 4; height: auto; border-radius: 50% 50% 16px 16px / 37.5% 37.5% 16px 16px; }
.eb-intro__photo--small { position: absolute; right: 0; bottom: -32px; width: 53%; aspect-ratio: 4 / 3; height: auto; outline: 10px solid var(--wp--preset--color--cream); }
.eb-intro__stamp { position: absolute; top: 60px; right: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 150px; height: 150px; border-radius: 50%; background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); text-align: center; white-space: nowrap; transform: rotate(8deg); }
.eb-intro__stamp span:first-child { font: italic 600 30px/1.1 var(--eb-display); }
.eb-intro__stamp span:last-child { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
@media (max-width: 600px) { .eb-intro__stamp { width: 112px; height: 112px; top: 24px; } .eb-intro__stamp span:first-child { font-size: 24px; } .eb-intro__stamp span:last-child { font-size: 9px; letter-spacing: 1px; } }
@media (max-width: 900px) { .eb-intro__grid { grid-template-columns: 1fr; } .eb-intro__photos { min-height: 0; margin-bottom: 32px; } }

/* ---------- Dishes ---------- */
.eb-dishes { margin: 0; padding: 0; list-style: none; }
.eb-dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(39, 21, 16, 0.14); }
.eb-dish__name-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; }
.eb-dish__name { font: 400 22px/1.2 var(--eb-display); font-variation-settings: "SOFT" 0, "WONK" 0; color: var(--wp--preset--color--ink); }
.eb-dish__tags { display: inline-flex; gap: 6px; }
.eb-tag { display: inline-block; min-width: 26px; padding: 2px 6px; border: 1px solid var(--wp--preset--color--green-deep); border-radius: 2px; font: 600 11px/1.4 var(--eb-sans); text-align: center; text-decoration: none; color: var(--wp--preset--color--green-deep); }
.eb-dish__desc { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--eb-text-soft); }
.eb-dish__price { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--wp--preset--color--ink); }
.eb-legend { margin: 24px 0 0; font-size: 13px; line-height: 1.6; color: var(--wp--preset--color--ink-2); }

/* ---------- Featured menu ---------- */
/* Sand eyebrow colour is set with the other section variants above. */
.eb-featured-section__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.eb-featured-section__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
/* No display on the list by default: it must not beat [hidden] when JS is off. */
.eb-featured.is-enhanced .eb-featured__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.eb-featured__tab { min-height: 44px; padding: 0 18px; border: 1px solid var(--wp--preset--color--ink); border-radius: 2px; background: transparent; font: 500 14px/1 var(--eb-sans); color: var(--wp--preset--color--ink); cursor: pointer; }
.eb-featured__tab[aria-selected="true"] { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.eb-featured__heading { margin: 24px 0 4px; font-size: var(--wp--preset--font-size--x-large); color: var(--wp--preset--color--burgundy); }
.eb-featured.is-enhanced .eb-featured__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eb-featured__panel[hidden] { display: none; }
.eb-featured__panel:focus-visible { outline-offset: 8px; }
/* "…and N more" row: quieter than a dish, no price or tags. */
.eb-dish--more { display: block; padding: 14px 0; }
.eb-dish__more { font-size: 15px; font-style: italic; color: var(--eb-text-soft); text-decoration: underline; text-underline-offset: 3px; }
.eb-dish__more:hover, .eb-dish__more:focus-visible { color: var(--wp--preset--color--burgundy); }
.eb-featured-section__more { margin: 32px 0 0; }
@media (max-width: 900px) { .eb-featured-section__body { grid-template-columns: 1fr; } .eb-featured-section__photo { aspect-ratio: 16 / 9; } }

/* ---------- Booking ---------- */
.eb-booking-hours__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.eb-booking { padding: clamp(28px, 4vw, 48px); border-radius: 4px; background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); }
.eb-booking h2 { margin: 12px 0 16px; color: var(--wp--preset--color--terracotta); }
.eb-booking .eb-eyebrow { color: var(--wp--preset--color--burgundy); }
.eb-booking__intro { margin: 0 0 24px; max-width: 60ch; color: var(--eb-text-soft); }
.eb-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.eb-channel { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; border: 1px solid rgba(39, 21, 16, 0.18); border-radius: 4px; background: var(--wp--preset--color--white); text-decoration: none; }
.eb-channel:hover { border-color: var(--wp--preset--color--terracotta); }
.eb-channel__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--wp--preset--color--terracotta); color: var(--wp--preset--color--cream); }
.eb-channel--whatsapp .eb-channel__icon { background: var(--wp--preset--color--green); }
.eb-channel__text { display: grid; min-width: 0; }
.eb-channel__label { font-weight: 600; }
.eb-channel__value { font-size: 14px; overflow-wrap: anywhere; color: var(--eb-text-soft); }
.eb-booking__divider { display: flex; align-items: center; gap: 16px; margin: 28px 0; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ink-2); }
.eb-booking__divider::before, .eb-booking__divider::after { content: ""; flex: 1; height: 1px; background: rgba(39, 21, 16, 0.18); }
.eb-booking-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.eb-booking--page { padding: 0; background: none; }
@media (max-width: 900px) { .eb-booking-hours__grid, .eb-booking-page { grid-template-columns: 1fr; } .eb-channels { grid-template-columns: 1fr; } }

/* ---------- Hours card ---------- */
.eb-hours { padding: 40px 40px 32px; border-radius: 4px; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.eb-hours__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.eb-hours__title { margin: 0; font-size: 34px; line-height: 1; color: var(--wp--preset--color--cream); }
.eb-hours__state { font-size: 13px; color: var(--eb-muted-dark); }
.eb-hours__list { margin: 0; padding: 0; list-style: none; }
.eb-hours__row { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--eb-line-dark); font-size: 16px; }
.eb-hours__time { font-variant-numeric: tabular-nums; }
.eb-hours__row--closed { color: var(--eb-muted-dark); }
.eb-hours__row--today { margin: 0 -14px; padding: 15px 14px; border-radius: 8px; border-bottom-color: transparent; background: rgba(255, 240, 227, 0.08); font-weight: 600; }
.eb-hours__row--before-today, .eb-hours__row:has(+ .eb-hours__row--today) { border-bottom-color: transparent; }
.eb-hours__today-tag { margin-left: 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wp--preset--color--sand); }
.eb-hours__note, .eb-hours__exception { margin: 22px 0 0; font-size: 14px; color: var(--eb-muted-dark); }
@media (max-width: 900px) { .eb-hours { padding: 32px 24px 24px; } }

/* ---------- Forms (WPForms) ---------- */
.eb-booking-form .wpforms-container { margin: 0 !important; }
.eb-booking-form .wpforms-field { padding: 0 0 18px !important; }
.eb-booking-form .wpforms-field-label { display: block; margin: 0 0 6px !important; font: 600 14px/1.3 var(--eb-sans) !important; color: var(--wp--preset--color--ink) !important; }
.eb-booking-form .wpforms-required-label { color: var(--wp--preset--color--red) !important; }
.eb-booking-form :is(input[type="text"], input[type="email"], input[type="number"], input[type="tel"], textarea, select) {
  width: 100% !important; max-width: none !important; min-height: 48px; padding: 12px 14px !important;
  border: 1px solid rgba(39, 21, 16, 0.4) !important; border-radius: 2px !important; background: var(--wp--preset--color--white) !important;
  font: 16px/1.4 var(--eb-sans) !important; color: var(--wp--preset--color--ink) !important; box-shadow: none !important;
}
.eb-booking-form textarea { min-height: 120px; }
.eb-booking-form :is(input, textarea)::placeholder { color: color-mix(in srgb, var(--wp--preset--color--ink) 70%, transparent) !important; opacity: 1 !important; } /* ink at 70% on white fields, see tools/contrast.test.mjs */
.eb-booking-form :is(input, textarea, select):focus { outline: 3px solid var(--wp--preset--color--terracotta) !important; outline-offset: 1px; border-color: var(--wp--preset--color--terracotta) !important; }
.eb-booking-form :is(input, textarea).wpforms-error { border-color: var(--wp--preset--color--red) !important; }
.eb-booking-form :is(label, em).wpforms-error { display: block; margin-top: 6px !important; font: 400 14px/1.4 var(--eb-sans) !important; font-style: normal !important; color: var(--wp--preset--color--red) !important; }
.eb-booking-form .wpforms-submit-container { padding: 8px 0 0 !important; }
.eb-booking-form button[type="submit"] {
  min-height: 52px; padding: 0 26px !important; border: 0 !important; border-radius: 2px !important;
  background: var(--wp--preset--color--terracotta) !important; color: var(--wp--preset--color--cream) !important;
  font: 600 15px/1 var(--eb-sans) !important; cursor: pointer;
}
.eb-booking-form button[type="submit"]:hover { background: var(--wp--preset--color--red) !important; }
.eb-booking-form .wpforms-confirmation-container-full { margin: 0 !important; padding: 20px !important; border: 0 !important; border-left: 4px solid var(--wp--preset--color--green) !important; background: var(--wp--preset--color--white) !important; color: var(--wp--preset--color--ink) !important; }
.eb-booking-form__note { margin: 16px 0 0; max-width: 60ch; font-size: 14px; line-height: 1.5; color: var(--eb-text-soft); }
.eb-booking-form__fallback { padding: 20px; border-left: 4px solid var(--wp--preset--color--terracotta); background: var(--wp--preset--color--white); }
.eb-booking-form__fallback p { margin: 0 0 12px; }
.eb-booking-form__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.eb-booking-form__links a { color: var(--wp--preset--color--terracotta); }

/* ---------- Reviews ---------- */
.eb-reviews-section:not(:has(.eb-reviews)) { display: none; }
.eb-reviews-section__title { margin: 0 0 28px; }
/* With Google data the block's eyebrow and score lead the section; the h2 stays for the outline. */
.eb-reviews-section:has(.eb-reviews__summary) .eb-reviews-section__title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eb-reviews { display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 11fr); gap: clamp(32px, 4vw, 64px); align-items: stretch; }
.eb-reviews--link-only, .eb-reviews--summary-only { display: block; }
.eb-reviews__summary { display: flex; flex-direction: column; align-items: flex-start; }
.eb-reviews__score { margin: 18px 0 14px; font: 400 clamp(88px, 9vw, 128px)/0.8 var(--eb-display); font-variation-settings: "SOFT" 0, "WONK" 1; font-variant-numeric: lining-nums; letter-spacing: -0.035em; color: var(--wp--preset--color--ink); }
.eb-reviews__stars { margin: 0 0 14px; line-height: 0; color: var(--wp--preset--color--terracotta); }
.eb-stars { display: block; width: 116px; height: 23px; overflow: visible; }
.eb-stars--small { display: inline-block; width: 58px; height: 12px; }
.eb-reviews__count { margin: 0 0 24px; font-size: 15px; line-height: 1.5; color: var(--eb-text-soft); }
.eb-reviews__more { margin: 0; }
.eb-reviews__all { border-radius: 999px; }
.eb-reviews__all .eb-icon { transition: transform .2s; }
.eb-reviews__all:hover .eb-icon { transform: translate(2px, -2px); }
.eb-reviews__source { margin: auto 0 0; padding-top: 32px; font-size: 12px; letter-spacing: 0.04em; color: var(--eb-text-soft); }
.eb-reviews__google { font-weight: 700; letter-spacing: 0; color: var(--wp--preset--color--ink); }
.eb-reviews__list { display: grid; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); margin: 0; padding: 0; list-style: none; }
.eb-review-card { position: relative; display: flex; min-width: 0; } /* Contains the .eb-sr text, which would otherwise escape the phone scroller. */
.eb-review-card__figure {
  display: flex; flex-direction: column; width: 100%; min-height: 300px; margin: 0; padding: 30px 28px 26px;
  border: 1px solid rgba(39, 21, 16, 0.1); border-radius: 16px; background: var(--wp--preset--color--white);
  transition: transform .25s ease, box-shadow .25s ease;
}
.eb-review-card:hover .eb-review-card__figure { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(118, 42, 42, 0.45); }
.eb-review-card--featured .eb-review-card__figure { border-color: rgba(184, 69, 48, 0.16); background: var(--wp--preset--color--sand); }
.eb-review-card__mark { flex: none; width: 20px; height: auto; margin-bottom: 30px; color: var(--wp--preset--color--terracotta); }
.eb-review-card__quote { margin: 0 0 32px; }
.eb-review-card__quote p {
  display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7;
  font: 400 clamp(17px, 1.35vw, 19px)/1.5 var(--eb-display); font-variation-settings: "SOFT" 50, "WONK" 0;
  hyphens: auto; color: var(--wp--preset--color--ink);
}
.eb-review-card__meta { display: grid; gap: 6px; margin-top: auto; }
.eb-review-card__author { justify-self: start; font: 700 14px/1.3 var(--eb-sans); color: var(--wp--preset--color--ink); text-decoration: none; }
.eb-review-card__details { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; color: var(--eb-text-soft); }
.eb-review-card__details .eb-stars { color: var(--wp--preset--color--ink-2); }
.eb-review-card__date { color: inherit; text-decoration: none; }
:is(a.eb-review-card__author, a.eb-review-card__date):hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .eb-review-card__figure, .eb-reviews__all .eb-icon { transition: none; } .eb-review-card:hover .eb-review-card__figure { transform: none; } }
@media (max-width: 1100px) { .eb-reviews { grid-template-columns: minmax(0, 1fr); } .eb-reviews__source { margin-top: 0; padding-top: 20px; } }
/* Tablets: the score sits beside its details instead of above an empty half-row. */
@media (min-width: 701px) and (max-width: 1100px) {
  .eb-reviews__summary { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(32px, 5vw, 56px); align-items: center; justify-items: start; }
  .eb-reviews__summary .eb-eyebrow { grid-column: 1 / -1; }
  .eb-reviews__score { grid-row: 2 / span 4; margin: 16px 0 0; }
  .eb-reviews__summary > :not(.eb-eyebrow, .eb-reviews__score) { grid-column: 2; }
  .eb-reviews__count { margin-bottom: 16px; }
  .eb-reviews__source { padding-top: 12px; }
}
/* Phones: the cards become a swipeable row that peeks at the next card. */
@media (max-width: 700px) {
  .eb-reviews__list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 340px);
    margin: 0 calc(-1 * var(--eb-gutter)); padding: 4px var(--eb-gutter) 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--eb-gutter); scrollbar-width: thin;
  }
  .eb-review-card { scroll-snap-align: start; }
  .eb-review-card__figure { min-height: 280px; }
}

/* ---------- Location ---------- */
.eb-location-section__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eb-location-section__photo, .eb-contact-page__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.eb-location-section h2 { margin: 12px 0 24px; }
.eb-location__address { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; font-size: 18px; }
.eb-location__notes { margin: 0 0 24px; padding: 0; list-style: none; }
.eb-location__notes li { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; font-size: 18px; }
.eb-location__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.eb-section--dark .eb-btn--ghost { border-color: rgba(255, 240, 227, 0.5); color: var(--wp--preset--color--cream); }
.eb-contact-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.eb-contact-page h2 { margin: 0 0 16px; }
.eb-contact-page .eb-channels { margin-bottom: 32px; }
.eb-contact-page h2:not(:first-child) { margin-top: 40px; }
@media (max-width: 900px) { .eb-location-section__grid, .eb-contact-page { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.eb-actions-part { display: contents; }
.eb-actions { display: none; }
@media (max-width: 900px) {
  :root { --eb-actions-h: 64px; }
  body { padding-bottom: calc(var(--eb-actions-h) + env(safe-area-inset-bottom, 0px)); }
  .eb-actions {
    position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--wp--preset--color--ink); border-top: 1px solid var(--eb-line-dark);
  }
  .eb-actions__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: var(--eb-actions-h); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--wp--preset--color--cream); }
  .eb-actions__item + .eb-actions__item { border-left: 1px solid var(--eb-line-dark); }
  .eb-actions :focus-visible { outline-color: var(--wp--preset--color--sand); outline-offset: -4px; }
}

/* ---------- Menu page ---------- */
.eb-menu-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.eb-menu-hero__intro { max-width: 56ch; margin-top: 20px; color: var(--eb-muted-dark); }
.eb-menu-hero__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.eb-breadcrumb ol { display: flex; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 13px; color: var(--eb-muted-dark); }
.eb-breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.eb-breadcrumb a { color: var(--wp--preset--color--sand); }
.eb-menu__nav { position: sticky; top: 0; z-index: 4; overflow-x: auto; padding: 0 var(--eb-gutter); border-bottom: 1px solid rgba(39, 21, 16, 0.14); background: var(--wp--preset--color--cream); }
.eb-menu__nav ul { display: flex; gap: 8px; margin: 0; padding: 14px 0; list-style: none; white-space: nowrap; }
.eb-menu__nav a { display: inline-block; padding: 10px 14px; border-radius: 2px; font-size: 14px; font-weight: 500; text-decoration: none; }
.eb-menu__nav a:hover { background: var(--wp--preset--color--sand); }
.eb-menu__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); max-width: 1312px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--eb-gutter) 0; }
.eb-menu__section, .eb-menu__group[id] { scroll-margin-top: 16px; }
.eb-menu__section { padding-bottom: clamp(40px, 5vw, 64px); }
.eb-menu__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--wp--preset--color--terracotta); }
.eb-menu__title { margin: 0; font-size: var(--wp--preset--font-size--x-large); }
.eb-menu__sub { margin: 0; font-style: italic; color: var(--eb-text-soft); }
.eb-menu__note, .eb-menu__price-labels { margin: 12px 0 0; font-size: 14px; color: var(--eb-text-soft); }
.eb-menu__section--drinks { grid-column: 1 / -1; margin: 0 calc(-1 * var(--eb-gutter)); padding: clamp(48px, 6vw, 80px) var(--eb-gutter); background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.eb-menu__section--drinks .eb-menu__title, .eb-menu__section--drinks .eb-menu__group-title { color: var(--wp--preset--color--cream); }
.eb-menu__section--drinks :is(.eb-menu__sub, .eb-menu__note, .eb-menu__price-labels, .eb-dish__desc) { color: var(--eb-muted-dark); }
.eb-menu__section--drinks :is(.eb-dish__name, .eb-dish__price) { color: var(--wp--preset--color--cream); }
.eb-menu__section--drinks .eb-dish { border-bottom-color: var(--eb-line-dark); }
.eb-menu__section--drinks .eb-menu__head { border-bottom-color: var(--wp--preset--color--sand); }
.eb-menu__group { margin-top: 32px; }
.eb-menu__group-title { margin: 0 0 4px; font: 500 12px/1.3 var(--eb-sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--wp--preset--color--terracotta); }
.eb-menu__section--drinks .eb-tag { border-color: var(--wp--preset--color--green-light); color: var(--wp--preset--color--green-light); }
.eb-menu > .eb-legend { max-width: 1312px; margin: 0 auto; padding: 24px var(--eb-gutter) clamp(48px, 6vw, 80px); }
@media (min-width: 1100px) { .eb-menu__section--drinks > .eb-menu__group { display: inline-block; width: calc(33.333% - 32px); margin-right: 32px; vertical-align: top; } }
@media (max-width: 900px) { .eb-menu-hero, .eb-menu__body { grid-template-columns: 1fr; } }
/* Wine list: full width, no prices yet; grapes · origin · vintage as a quiet second line. */
.eb-menu__section--wine { grid-column: 1 / -1; padding-top: clamp(48px, 6vw, 80px); }
.eb-menu__section--wine > .eb-menu__group { margin-top: 0; padding-top: 32px; } /* margins collapse at column breaks */
.eb-menu__section--wine .eb-menu__group-title { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.eb-menu__section--wine .eb-menu__group-title::after { content: ""; flex: 1; border-top: 1px solid rgba(184, 69, 48, 0.3); }
.eb-dishes--wine .eb-dish { padding: 14px 0; border-bottom-color: rgba(39, 21, 16, 0.1); }
.eb-dishes--wine .eb-dish:last-child { border-bottom: 0; }
.eb-dishes--wine .eb-dish__name { font-size: 20px; line-height: 1.25; }
.eb-dishes--wine .eb-dish__desc { margin-top: 2px; font-size: 14px; letter-spacing: 0.01em; font-variant-numeric: lining-nums; }
@media (min-width: 901px) {
  .eb-menu__section--wine { column-count: 2; column-gap: clamp(32px, 5vw, 80px); }
  .eb-menu__section--wine > :not(.eb-menu__group) { column-span: all; }
  .eb-menu__section--wine > .eb-menu__group { break-inside: avoid; }
}
/* Keep focused and anchored targets clear of the sticky menu nav and the mobile action bar (WCAG 2.4.11). */
html { scroll-padding-top: 88px; scroll-padding-bottom: calc(var(--eb-actions-h) + 16px); }
