/* Barrhaven price and language controls. Existing dish photography/layout stays shared. */
@font-face { font-family: 'Yemen Gate Arabic'; src: url('/assets/fonts/cairo-arabic-variable.woff2') format('woff2'); font-style: normal; font-weight: 400 700; font-display: swap; }
.gallery-page[data-menu-location="barrhaven"] .site-header > nav { gap: clamp(.4rem, 1.5vw, 1.25rem); }
.menu-language-picker { position: relative; }
.menu-language-picker summary { display: flex; align-items: center; gap: .2rem; min-height: 44px; cursor: pointer; list-style: none; color: #fcf2e8; font: 500 .75rem/1.2 var(--sans); white-space: nowrap; }
.menu-language-picker summary::-webkit-details-marker { display: none; }
.menu-language-picker summary:focus-visible { outline: 2px solid #f2af5e; outline-offset: 4px; border-radius: .35rem; }
.menu-language-picker > nav { position: absolute; z-index: 10; inset-block-start: calc(100% + .5rem); inset-inline-end: 0; display: flex; flex-direction: column; gap: .2rem; min-width: 10rem; max-width: calc(100vw - 2rem); padding: .5rem; border: 1px solid #f2af5e55; border-radius: .9rem; background: #38150f; box-shadow: 0 .7rem 2rem #0006; }
.menu-language-picker:not([open]) > nav { display: none; }
.menu-language-picker > nav a { display: flex; min-height: 44px; padding: .65rem .9rem; color: #fcf2e8; border-radius: .55rem; font-size: .85rem; text-decoration: none; }
.menu-language-picker > nav [aria-current="true"], .menu-language-picker > nav a:hover { color: #f2af5e; background: #f2af5e12; }
.gallery-page .gallery-card-copy .dish-price, .gallery-page .menu-text-list .dish-price { color: #f2af5e; font-weight: 600; font-size: clamp(.95rem, 1.5vw, 1.2rem); font-variant-numeric: tabular-nums; }
.gallery-page .dish-price-options { max-width: 18rem; margin: .65rem auto; text-align: start; font-size: .85rem; }
.dish-price-options > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .6rem; margin-block: .55rem; align-items: start; scroll-margin-top: calc(var(--header-height) + 1rem); }
.dish-price-options dt { color: #fcf2e8; font-weight: 500; }
.dish-price-options dt > span { display: block; margin-top: .15rem; font-size: .7rem; color: #fcf2e8b3; font-weight: 400; }
.dish-price-options dd { margin: 0; color: #f2af5e; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-text-list .dish-price-options { margin-inline: 0; }
.dish-price-options [data-gallery-variant]:focus { outline: 1px solid #f2af5e; outline-offset: 4px; }
.gallery-page .gallery-card-copy .dish-image-note { margin: .35rem auto; font-size: .67rem; color: #fcf2e8a0; }
.catalog-item-price { display: block; margin-top: .25rem; font-size: .75rem; color: #f2af5e; font-weight: 400; }
html[lang="ar"] .gallery-page { --serif: 'Yemen Gate Arabic', Tahoma, sans-serif; --sans: 'Yemen Gate Arabic', Tahoma, Arial, sans-serif; }
html[lang="ar"] .menu-introduction h1, html[lang="ar"] .menu-category-heading h2, html[lang="ar"] .gallery-card-copy h3, html[lang="ar"] .menu-text-list h3 { letter-spacing: 0; line-height: 1.45; font-weight: 700; }
html[lang="ar"] .menu-introduction h1 em { font-style: normal; }
@media(max-width:640px) {
  .gallery-page[data-menu-location="barrhaven"] .site-header > nav { gap: .5rem; }
  .gallery-page[data-menu-location="barrhaven"] .site-header > nav > a { font-size: .75rem; }
  .gallery-page[data-menu-location="barrhaven"] .site-header .nav-order { padding-inline: .7rem; }
  .menu-language-picker summary { font-size: .68rem; }
  .gallery-page .dish-price-options { font-size: .75rem; }
  .dish-price-options > div { column-gap: .3rem; }
  .dish-price-options dt > span { font-size: .65rem; }
}

/* A table menu: compact identity, food first, a raised category tray that stays nearby. */
.gallery-page[data-menu-location="barrhaven"] {
  --header-height: 5.2rem;
  --menu-dock-height: 4.4rem;
  --menu-sticky-offset: calc(var(--header-height) + var(--menu-dock-height));
}
.gallery-page[data-menu-location="barrhaven"] .site-header { box-shadow: none; }
.gallery-page[data-menu-location="barrhaven"] .menu-language-picker summary { font-size: .875rem; }
.gallery-page[data-menu-location="barrhaven"] .site-header > nav > a { font-size: .875rem; }
.gallery-page[data-menu-location="barrhaven"] .menu-introduction { padding-block: .75rem .9rem; }
.gallery-page[data-menu-location="barrhaven"] .menu-introduction h1 { margin: .2rem 0 .65rem; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.gallery-page[data-menu-location="barrhaven"] .gallery-browse-hint { margin-block: .4rem 0; font-size: .875rem; }
.menu-category-dock { position: sticky; top: var(--header-height); z-index: 4; padding: .35rem max(.75rem, env(safe-area-inset-left)) .65rem; background: #22100c; }
.menu-category-tray { width: min(100%, 89rem); margin-inline: auto; border: 1px solid #d59b5e66; border-radius: 1.1rem; background: linear-gradient(180deg, #412017, #30140e); box-shadow: 0 4px 0 #140805, 0 9px 20px #0004, inset 0 1px 0 #ffe0ab26; }
.gallery-page .menu-category-dock .gallery-menu-nav { gap: .3rem; margin: 0; padding: .3rem; scroll-padding-inline: .3rem; }
.gallery-page .menu-category-dock .gallery-menu-nav a { min-height: 44px; padding: .6rem .95rem; border-radius: .75rem; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.gallery-page .menu-category-dock .gallery-menu-nav a[aria-current="location"] { background: #f2af5e; color: #22100c; font-weight: 700; }
.gallery-page .menu-category-dock .gallery-menu-nav a:focus-visible { outline: 2px solid #fcf2e8; outline-offset: -3px; }
.gallery-page[data-menu-location="barrhaven"] :is(.menu-category, .gallery-card, .menu-text-list li, .gallery-more, .table-menu-contact) { scroll-margin-top: calc(var(--menu-sticky-offset) + .75rem); }
.gallery-page[data-menu-location="barrhaven"] .menu-category { padding-block: 1.25rem 1.5rem; }
.gallery-page[data-menu-location="barrhaven"] .gallery-card-copy h3 { min-block-size: var(--menu-title-height, 0px); }
.gallery-page[data-menu-location="barrhaven"] #drinks .gallery-card-copy { margin-top: 0; }
.gallery-page[data-menu-location="barrhaven"] .gallery-card-copy p { font-size: .9375rem; line-height: 1.5; }
.gallery-page[data-menu-location="barrhaven"] .gallery-card-copy .dish-portion { font-size: .875rem; }
.gallery-page[data-menu-location="barrhaven"] .gallery-card-copy .dish-image-note { font-size: .75rem; }
.gallery-page[data-menu-location="barrhaven"] .gallery-card-copy .dish-price { font-size: 1.05rem; }
.gallery-page[data-menu-location="barrhaven"] .catalog-category a { display: flex; justify-content: space-between; gap: .6rem; }
.gallery-page[data-menu-location="barrhaven"] .catalog-item-price { flex: 0 0 auto; margin: 0; font-size: .875rem; }
.gallery-page[data-menu-location="barrhaven"] .catalog-content { text-align: start; }
.gallery-page[data-menu-location="barrhaven"] .footer-inner { align-items: start; gap: 1.5rem 2.5rem; padding-block: 2rem; }
.table-menu-contact { font-size: .875rem; line-height: 1.65; }
.table-menu-contact p { margin-block: .35rem; }
.table-menu-contact a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .25em; }
.table-menu-locations { display: grid; gap: .1rem; font-size: .875rem; }
.table-menu-locations > span { color: #f2af5e; margin-bottom: .3rem; }
.table-menu-locations a { display: flex; align-items: center; min-height: 44px; text-underline-offset: .25em; }
.table-menu-locations [aria-current] { text-decoration: none; }
.gallery-page[data-menu-location="barrhaven"] .menu-list-photo-frame { grid-column: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 5rem; height: 5rem; }
.gallery-page[data-menu-location="barrhaven"] .menu-list-photo-frame img { display: block; width: 100%; height: auto; }
@media(max-width:640px) {
  .gallery-page[data-menu-location="barrhaven"] { --header-height: 4.5rem; }
  .gallery-page[data-menu-location="barrhaven"] .menu-introduction { padding-block: .6rem .65rem; }
  .gallery-page[data-menu-location="barrhaven"] .menu-introduction h1 { font-size: clamp(2.4rem, 10vw, 3.25rem); }
  .gallery-page[data-menu-location="barrhaven"] .gallery-browse-hint { font-size: .8125rem; }
  .gallery-page[data-menu-location="barrhaven"] .menu-category-heading h2 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .gallery-page[data-menu-location="barrhaven"] .menu-category { padding-block: 1rem 1.25rem; }
  .gallery-page .menu-category-dock .gallery-menu-nav a { padding-inline: .8rem; }
}
@media(max-width:360px) {
  .gallery-page[data-menu-location="barrhaven"] { --header-height: 4.1rem; }
}

.gallery-page[data-menu-location="barrhaven"] [data-gallery-clone] { display: none; }
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] [data-gallery-clone] { display: list-item; }

/* Three complete silhouettes: the centered plate has more presence, while the
   neighboring names/prices remain readable. Each source photograph stays intact. */
.gallery-page[data-menu-location="barrhaven"] [data-gallery-track] { width: min(100%, 89rem); }
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] .dish-gallery[data-center-ready] {
  --center-width: calc(100cqi / 3);
  gap: 0;
  padding-block: 1.25rem .6rem;
  scroll-snap-type: x mandatory;
  align-items: flex-start;
}
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] .dish-gallery[data-center-ready]::before,
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] .dish-gallery[data-center-ready]::after {
  content: '';
  flex: 0 0 calc((100cqi - var(--center-width)) / 2);
  pointer-events: none;
}
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] [data-center-ready] > .gallery-entry { position: relative; flex: 0 0 var(--center-width); scroll-snap-align: center; }
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] [data-center-ready] .gallery-card-photo { width: min(100%, 28rem); transform: scale(var(--plate-scale, .8)); transform-origin: center; }
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] [data-center-ready] .gallery-card-copy {
  margin-top: .15rem !important;
  padding-inline: .65rem;
  opacity: var(--preview-opacity, 1);
}
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] [data-center-ready] .gallery-card-copy h3 {
  font-size: clamp(.875rem, 2vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  transform: scale(calc(1 + .12 * var(--plate-focus, 0)));
}
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] [data-center-ready] .gallery-card-copy .dish-price {
  margin-top: .55rem;
  font-size: clamp(.875rem, 1.7vw, 1.25rem);
  transform: scale(calc(1 + .15 * var(--plate-focus, 0)));
}
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] [data-center-ready][data-static-caption] .gallery-card-copy > :not(h3):not(.dish-price) { display: none; }
.gallery-page[data-menu-location="barrhaven"] .gallery-current-caption { position: relative; width: min(100% - 2rem, 32rem); min-height: 5rem; margin: .65rem auto 0; text-align: center; }
.gallery-page[data-menu-location="barrhaven"] .gallery-current-caption h3,
.gallery-page[data-menu-location="barrhaven"] .gallery-current-caption .dish-price { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
.gallery-page[data-menu-location="barrhaven"] .gallery-current-caption p { font-size: .9375rem; line-height: 1.5; color: var(--tea); }
.gallery-page[data-menu-location="barrhaven"] .gallery-current-caption .dish-portion { margin-bottom: .4rem; font-size: .875rem; color: #f2af5e; }
.gallery-page[data-menu-location="barrhaven"] .gallery-current-caption .dish-image-note { margin-top: .4rem; font-size: .75rem; }
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] .dish-gallery[data-center-ready][data-item-count="1"] { --center-width: min(60cqi, 28rem); justify-content: flex-start; }
.gallery-page[data-menu-location="barrhaven"] .menu-category-tray { border-radius: 2rem; border-color: #d59b5e44; background: linear-gradient(180deg, #3a1c14, #2d140e); box-shadow: 0 3px 12px #0004, inset 0 1px 0 #ffe0ab18; }
.gallery-page[data-menu-location="barrhaven"] .menu-category-dock .gallery-menu-nav { gap: .1rem; padding: .3rem; mask-image: linear-gradient(to right, transparent, #000 9px, #000 calc(100% - 9px), transparent); }
.gallery-page[data-menu-location="barrhaven"] .menu-category-dock .gallery-menu-nav a { border-radius: 2rem; padding-inline: .9rem; font-weight: 500; }
.gallery-page[data-menu-location="barrhaven"] .menu-category-dock .gallery-menu-nav a[aria-current="location"] { background: #f2af5e1a; color: #f7bd78; box-shadow: inset 0 -2px 0 #f2af5e; font-weight: 700; }
.gallery-page[data-menu-location="barrhaven"] .menu-category:focus { outline: none; }
.gallery-page[data-menu-location="barrhaven"] .menu-category:focus-visible .menu-category-heading h2 { text-decoration: underline; text-decoration-color: #f2af5e; text-underline-offset: .2em; }
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] .dish-gallery[data-center-ready]:focus-visible { outline: none; }
html[data-menu-prepared] .gallery-page[data-menu-location="barrhaven"] .dish-gallery[data-center-ready]:focus-visible [data-current-dish] h3 { text-decoration: underline; text-decoration-color: #f2af5e; text-underline-offset: .2em; }
.gallery-page[data-menu-location="barrhaven"] [data-gallery-track]:has([data-item-count="1"]) .gallery-current-caption { min-height: 0; margin-top: 0; }
.gallery-page[data-menu-location="barrhaven"] .gallery-current-caption .dish-weight { margin-bottom: .5rem; color: #f2af5e; font-size: 1rem; font-weight: 600; }
.gallery-page[data-menu-location="barrhaven"] .catalog-item-weight { display: block; margin-top: .25rem; color: var(--tea); font-size: .8125rem; font-weight: 400; }
/* These two authentic board extracts have only 220–230 source pixels. Keep
   their desktop presentation honest until full-resolution originals exist. */
@media(min-width:851px) {
  .gallery-page[data-menu-location="barrhaven"] #special-meals .gallery-card-photo { width: min(100%, 14rem); }
}

