/* Additions on top of the original template stylesheet (style.css stays untouched). */
.lang-switch { display: flex; gap: .25rem; align-items: center; }
.lang-link {
  padding: .3rem .6rem; border-radius: 100px; font-size: .8rem; font-weight: 500;
  color: var(--text-secondary); text-decoration: none; border: 1px solid transparent;
}
.lang-link:hover { color: var(--text-primary); }
.lang-link.active { border-color: var(--border); color: var(--brand-primary); }
.lang-switch--mobile { margin-top: .75rem; }
.nav-actions .lang-switch { margin-right: .25rem; }
@media (max-width: 900px) { .nav-actions .lang-switch { display: none; } }

/* ============================================================
   Theme layer — modern white / navy, palettes, "3D" cards.
   Loaded after style.css; relies on its CSS variables (docs/theming.md).
   ============================================================ */

/* Text on brand-coloured surfaces follows the palette (dark navy text on light-blue in dark mode). */
.btn-primary, .nav-cta, .cat-tab.active, .dish-add, .filter-btn.active,
.cat-grid-card.active .cat-grid-name, .slider-dot.active { color: var(--on-brand); }
.cat-grid-card.active .cat-grid-count { color: var(--on-brand); opacity: .8; }
.btn-primary:hover { background: var(--brand-accent); color: var(--on-brand); }

/* Spicy stays red whatever the palette */
.dish-badge.spicy { background: #E5484D; }
.dish-badge { border-radius: 100px; letter-spacing: .01em; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* Pill controls, Wolt-like */
.btn { border-radius: 100px; font-weight: 600; }
.cat-tab { font-weight: 600; box-shadow: var(--shadow-sm); }
.cat-tab.active { box-shadow: 0 6px 16px rgba(var(--brand-rgb), .35); }

/* ── 3D cards: dishes + categories ───────────────────────── */
/* Off-screen slides are clipped left/right; shadows may overflow top/bottom */
.slider-wrap { overflow: hidden; overflow-x: clip; overflow-y: visible; /* clip sideways (no page scroll width), let shadows overflow vertically */ }
.slider-controls { margin-top: 2.5rem; }
.dishes-grid, .cat-grid { perspective: 1400px; padding-bottom: 1.5rem; }

.dish-card, .dish-card-menu, .cat-grid-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.dish-card:hover, .dish-card-menu:hover, .cat-grid-card:hover {
  transform: translateY(-10px) rotateX(3deg) scale(1.015);
  box-shadow: var(--shadow-3d-hover);
  border-color: rgba(var(--brand-rgb), .45);
}
.cat-grid-card.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 16px 32px rgba(var(--brand-rgb), .38), inset 0 1px 0 rgba(255,255,255,.35);
  transform: translateY(-6px);
}
.cat-grid-card.active .cat-grid-icon-wrap { background: rgba(255,255,255,.22); }

/* image well: inner shade gives depth, image lifts slightly toward the viewer */
.dish-img, .cat-grid-img { border-radius: calc(var(--radius-lg) - 4px); margin: 6px 6px 0; }
.dish-img::after, .cat-grid-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 -36px 40px -28px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
}
.cat-grid-img { position: relative; }
.dish-card:hover .dish-img img, .dish-card-menu:hover .dish-img img { transform: scale(1.07) translateZ(20px); }

.dish-body { padding: 1rem 1.15rem 1.2rem; }
.dish-name { font-size: 1.05rem; font-weight: 600; }
.dish-price { font-size: 1.15rem; font-weight: 700; }
.dish-footer { transform: translateZ(14px); }

/* raised round "+" button */
.dish-add {
  border-radius: 50%;
  box-shadow: 0 1px 1px rgba(0,0,0,.15), 0 6px 14px rgba(var(--brand-rgb), .45), inset 0 1px 0 rgba(255,255,255,.35);
}
.dish-add:hover { background: var(--brand-accent); transform: translateY(-2px) scale(1.08); }
.dish-fav { box-shadow: 0 4px 12px rgba(0,0,0,.18); background: color-mix(in srgb, var(--bg-surface) 92%, transparent); }

/* Other surfaces get the same raised feel, calmer */
.res-form-wrap { box-shadow: var(--shadow-3d); border-radius: var(--radius-xl); }
.form-input, .form-select, .form-textarea { border-radius: var(--radius-md); background: var(--bg-elevated); }
.about-img { box-shadow: var(--shadow-3d); border-radius: var(--radius-lg); overflow: hidden; }
.menu-search { border-radius: 100px; box-shadow: var(--shadow-sm); }
.filter-btn { border-radius: 100px; font-weight: 600; }
.social-btn { box-shadow: var(--shadow-sm); }

@media (prefers-reduced-motion: reduce) {
  .dish-card, .dish-card-menu, .cat-grid-card { transition: none; }
  .dish-card:hover, .dish-card-menu:hover, .cat-grid-card:hover { transform: none; }
}
@media (hover: none) { /* touch: no tilt */
  .dish-card:hover, .dish-card-menu:hover, .cat-grid-card:hover { transform: none; }
}

/* nav: keep links + language codes from colliding */
.nav-links { gap: 1.4rem; }
.nav-actions { gap: .6rem; }
.nav-actions .lang-switch { margin-right: 0; gap: 0; border: 1px solid var(--border); border-radius: 100px; padding: 2px; background: color-mix(in srgb, var(--bg-surface) 70%, transparent); }
.nav-actions .lang-link { padding: .25rem .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.nav-actions .lang-link.active { background: var(--brand-primary); color: var(--on-brand); border-color: transparent; }
@media (max-width: 1100px) { .nav-links { gap: 1rem; } .nav-link { font-size: .85rem; } }
.cat-grid { align-items: stretch; } /* all cards in the row share the height of the tallest (long names wrap) */

/* Hero dots: bottom-centre, horizontal (template had them in a column on the right) */
.hs-dots { top: auto; right: auto; left: 50%; bottom: 2rem; transform: translateX(-50%); flex-direction: row; gap: .6rem; }
@media (max-width: 640px) { .hs-dots { bottom: 1.25rem; } }

/* ingredients: plain comma-separated text (as in the API) */
.dish-ingredients { margin: .5rem 0 0; font-size: .78rem; line-height: 1.4; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Admin-only floating theme bar (signed-in admins) ── */
.atb { position: fixed; left: 1rem; bottom: 1rem; z-index: 3000; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; font-size: .85rem; }
.atb-toggle { background: var(--text-primary); color: var(--bg-base); border-radius: 100px; padding: .55rem 1rem; font-weight: 600; box-shadow: var(--shadow-lg); }
.atb-panel { order: -1; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .9rem; width: 260px; box-shadow: var(--shadow-lg); display: grid; gap: .65rem; }
.atb-panel[hidden] { display: none; }
.atb-panel label { display: grid; gap: .25rem; font-weight: 600; font-size: .78rem; color: var(--text-secondary); }
.atb-panel select { width: 100%; padding: .5rem .6rem; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--text-primary); font: inherit; }
.atb-save { background: var(--brand-primary); color: var(--on-brand); border-radius: 100px; padding: .55rem 1rem; font-weight: 700; }
.atb-panel small { color: var(--text-muted); font-size: .72rem; }

/* ── Home slider: 5 cards on large screens, 2 on phones (count set in app.js cardsPerView) ── */
.slider-track { --slide-gap: 1.25rem; gap: var(--slide-gap); }
.slider-track .dish-card { border-radius: var(--radius-md); }
.slider-track .dish-img { margin: 5px 5px 0; border-radius: calc(var(--radius-md) - 3px); }
.slider-track .dish-body { padding: .8rem .85rem 1rem; }
.slider-track .dish-category { font-size: .66rem; }
.slider-track .dish-name { font-size: .95rem; line-height: 1.25; }
.slider-track .dish-desc { font-size: .78rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slider-track .dish-ingredients { font-size: .72rem; margin-top: .4rem; }
.slider-track .dish-rating { font-size: .76rem; }
.slider-track .dish-price { font-size: 1rem; }
.slider-track .dish-price-old { font-size: .75rem; }
.slider-track .dish-add { width: 32px; height: 32px; font-size: 1.1rem; }
.slider-track .dish-badge { font-size: .62rem; padding: .2rem .5rem; top: .55rem; left: .55rem; }
.slider-track .dish-fav { width: 28px; height: 28px; font-size: .8rem; }

@media (max-width: 639px) {
  .slider-track { --slide-gap: .65rem; }
  .slider-track .dish-body { padding: .6rem .6rem .75rem; }
  .slider-track .dish-name { font-size: .84rem; }
  .slider-track .dish-desc { font-size: .72rem; -webkit-line-clamp: 2; }
  .slider-track .dish-ingredients { display: none; }
  .slider-track .dish-category { font-size: .6rem; }
  .slider-track .dish-rating { font-size: .7rem; }
  .slider-track .dish-price { font-size: .92rem; }
  .slider-track .dish-add { width: 30px; height: 30px; }
  .slider-track .dish-fav { opacity: 1; }
  .slider-track .dish-footer { padding-top: .55rem; }
}

/* ── Slider shell: edge buttons centred on the left/right edges (hidden on phones), drag cursor ── */
.slider-shell { position: relative; }
.slider-track { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.slider-track.dragging { transition: none; cursor: grabbing; }
.slider-track img { -webkit-user-drag: none; pointer-events: none; }
.slider-btn--prev, .slider-btn--next {
  position: absolute; top: calc(50% - 22px); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-surface); color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 10px 22px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .2s, box-shadow .2s, opacity .2s, background .2s, color .2s;
}
.slider-btn--prev { left: -22px; }
.slider-btn--next { right: -22px; }
.slider-btn--prev:hover:not(:disabled), .slider-btn--next:hover:not(:disabled) { background: var(--brand-primary); color: var(--on-brand); transform: scale(1.08); }
.slider-btn--prev:disabled, .slider-btn--next:disabled { opacity: 0; pointer-events: none; }
.slider-controls { justify-content: center; min-height: 12px; }
@media (max-width: 639px) { .slider-btn--prev, .slider-btn--next { display: none; } }

/* ── Home category tabs: single-row slider (drag / swipe / wheel-free), hover effect, edge fades ── */
.cat-tabs {
  position: relative; display: flex; flex-wrap: nowrap; gap: .6rem;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none;
  padding: .5rem .25rem 1rem; margin-bottom: 1.5rem;
  cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs.dragging { cursor: grabbing; scroll-behavior: auto; }
.cat-tabs.fade-l { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px); mask-image: linear-gradient(to right, transparent 0, #000 36px); }
.cat-tabs.fade-r { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 36px); mask-image: linear-gradient(to left, transparent 0, #000 36px); }
.cat-tabs.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.cat-tabs .cat-tab {
  flex: 0 0 auto; white-space: nowrap; padding: .6rem 1.25rem; font-size: .9rem; font-weight: 600;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.cat-tabs .cat-tab:hover:not(.active) {
  background: rgba(var(--brand-rgb), .1); color: var(--brand-primary); border-color: var(--brand-primary);
  transform: translateY(-3px); box-shadow: 0 10px 20px rgba(var(--brand-rgb), .22);
}
.cat-tabs .cat-tab.active { transform: translateY(-1px); }
.cat-tabs .cat-tab:active { transform: translateY(0) scale(.97); }
@media (hover: none) { .cat-tabs .cat-tab:hover:not(.active) { transform: none; box-shadow: var(--shadow-sm); } }

/* visually hidden, still read by screen readers / search engines */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Full-menu category cards: square images, auto-height cards in a draggable slider, no icons ── */
.cat-grid {
  position: relative; display: flex; flex-wrap: nowrap; grid-template-columns: none; gap: 1rem;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none;
  padding: 1rem .75rem 2rem; margin: .5rem -.75rem 0;
  cursor: grab; user-select: none; -webkit-user-select: none; perspective: 1000px;
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-grid.dragging { cursor: grabbing; }
.cat-grid.fade-l { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px); mask-image: linear-gradient(to right, transparent 0, #000 36px); }
.cat-grid.fade-r { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 36px); mask-image: linear-gradient(to left, transparent 0, #000 36px); }
.cat-grid.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }

.cat-grid-section { --cat-size: 150px; }
.cat-grid-card { flex: 0 0 var(--cat-size); width: var(--cat-size); aspect-ratio: auto; height: auto; display: flex; flex-direction: column; transition: flex-basis .25s, width .25s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1), border-color .3s; }
/* image is a true square; the card grows in height to fit the full (wrapped) name */
.cat-grid-img { flex: 0 0 auto; aspect-ratio: 1 / 1; min-height: 0; margin: 5px 5px 0; }
.cat-grid-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.cat-grid-body { display: block; flex: 0 0 auto; padding: .5rem .7rem .7rem; }
.cat-grid-name { font-size: .85rem; font-weight: 600; line-height: 1.2; text-align: center; white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
.cat-grid-count { font-size: .72rem; margin-top: .15rem; text-align: center; }
.cat-grid-card--plain .cat-grid-body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: .8rem; }
.cat-grid-card--plain .cat-grid-name { font-size: .95rem; }
@media (max-width: 639px) { .cat-grid-section { --cat-size: 124px; } .cat-grid { gap: .75rem; } .cat-grid-name { font-size: .8rem; } }

/* ── Category row arrows: desktop only ── */
.cat-grid-shell { position: relative; }
.cat-grid-shell .cat-nav { display: none; top: calc(50% - 22px - .5rem); }
@media (min-width: 900px) { .cat-grid-shell .cat-nav { display: grid; } }

/* ── Dishes grid on phones/tablets: 2 / 3 columns, compact cards ── */
@media (max-width: 899px) { .dishes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (max-width: 639px) {
  .dishes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 1.5rem; }
  .dishes-grid .dish-card-menu { border-radius: var(--radius-md); }
  .dishes-grid .dish-img { margin: 4px 4px 0; border-radius: calc(var(--radius-md) - 3px); }
  .dishes-grid .dish-body { padding: .6rem .6rem .75rem; }
  .dishes-grid .dish-category { font-size: .6rem; }
  .dishes-grid .dish-name { font-size: .86rem; line-height: 1.25; }
  .dishes-grid .dish-desc { font-size: .72rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dishes-grid .dish-ingredients { display: none; }
  .dishes-grid .dish-rating { font-size: .7rem; }
  .dishes-grid .dish-price { font-size: .95rem; }
  .dishes-grid .dish-price-old { font-size: .72rem; }
  .dishes-grid .dish-footer { padding-top: .55rem; }
  .dishes-grid .dish-add { width: 30px; height: 30px; }
  .dishes-grid .dish-badge { font-size: .58rem; padding: .18rem .45rem; top: .45rem; left: .45rem; }
  .dishes-grid .dish-fav { opacity: 1; width: 26px; height: 26px; font-size: .75rem; }
}

/* ── Mobile bottom bar + categories drawer (phones only) ── */
.mbar, .drawer { display: none; }
body.no-scroll { overflow: hidden; }
@media (max-width: 639px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: color-mix(in srgb, var(--bg-surface) 94%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(16,24,40,.10);
    padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom));
  }
  .mbar-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .4rem .25rem; font-size: .68rem; font-weight: 600; line-height: 1.1; color: var(--text-muted); border-radius: 12px; background: none; transition: color .2s, background .2s; }
  .mbar-item svg { width: 22px; height: 22px; }
  .mbar-item.active { color: var(--brand-primary); }
  .mbar-item:active { background: var(--bg-elevated); }
  .atb { bottom: calc(5rem + env(safe-area-inset-bottom)); }
  #saveur-toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)) !important; }

  .drawer { position: fixed; inset: 0; z-index: 2500; display: block; }
  .drawer[hidden] { display: none; }
  .drawer-backdrop { position: absolute; inset: 0; background: rgba(10,12,23,.55); opacity: 0; transition: opacity .28s; }
  .drawer.open .drawer-backdrop { opacity: 1; }
  .drawer-sheet {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 80vh; display: flex; flex-direction: column;
    background: var(--bg-surface); color: var(--text-primary); border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 40px rgba(0,0,0,.28); padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  }
  .drawer.open .drawer-sheet { transform: none; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1rem .5rem 1.25rem; }
  .drawer-head h2 { font-size: 1.15rem; }
  .drawer-close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-elevated); color: var(--text-primary); }
  .drawer-close svg { width: 20px; height: 20px; }
  .drawer-list { list-style: none; margin: 0; padding: .25rem .75rem 1rem; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .drawer-item { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .6rem .5rem; border-radius: 14px; text-align: left; color: inherit; transition: background .2s; }
  .drawer-item:active, .drawer-item:hover { background: var(--bg-elevated); }
  .drawer-item img, .drawer-thumb { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
  .drawer-thumb { background: var(--brand-primary); opacity: .9; }
  .drawer-name { flex: 1; font-weight: 600; }
  .drawer-count { color: var(--text-muted); font-size: .8rem; }
}

/* ── Menu page: heading + search on one row ── */
.cat-head { display: flex; align-items: center; justify-content: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.cat-head .menu-search-wrap { flex: 0 1 460px; width: 100%; max-width: 460px; margin-inline: auto; }
.menu-search-icon { width: 18px; height: 18px; }
@media (max-width: 639px) { .cat-head .menu-search-wrap { flex-basis: 100%; max-width: none; } .cat-grid-section { padding-block: 1.25rem 0; } }

/* ── Desktop: category section is sticky under the nav; compact size is permanent (no resize on scroll) ── */
@media (min-width: 900px) {
  #catSentinel { height: 1px; }
  .cat-grid-section {
    --cat-size: 92px;
    position: sticky; top: var(--nav-height); z-index: 900;
    padding-block: 1rem 0; background: var(--bg-base);
    border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
  }
  .cat-grid-section .cat-grid { padding-block: .6rem 1.1rem; margin-top: 0; }
  .cat-grid-section .cat-grid-count { display: none; }
  .cat-grid-section .cat-grid-name { font-size: .72rem; line-height: 1.15; }
  .cat-grid-section .cat-grid-body { padding: .35rem .5rem .5rem; }
  .cat-grid-section .cat-grid-img { margin: 4px 4px 0; }
  .cat-grid-section .cat-grid-card--plain .cat-grid-name { font-size: .78rem; }
  .cat-grid-section .cat-grid-card--plain .cat-grid-body { padding: .5rem; }
  /* only the shadow/border appear once pinned — size never changes */
  .cat-grid-section.is-stuck { border-bottom-color: var(--border); box-shadow: 0 10px 24px rgba(16,24,40,.10); }
  /* keep the scrolled-to dishes from hiding under the sticky bar */
  .dishes-grid-section { scroll-margin-top: calc(var(--nav-height) + var(--sticky-h, 190px)); }
  .cat-grid-shell .cat-nav { top: calc(50% - 22px - .25rem); }
}

/* ── Equal-height dish cards (menu grid + home slider): card fills its cell, price row pinned to the bottom ── */
.dishes-grid > div { display: flex; min-width: 0; }
.dishes-grid .dish-card-menu { flex: 1 1 auto; width: 100%; }
.dish-card, .dish-card-menu { display: flex; flex-direction: column; }
.dish-card .dish-body, .dish-card-menu .dish-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.dish-card .dish-footer, .dish-card-menu .dish-footer { margin-top: auto; }
.dish-card .dish-desc, .dish-card-menu .dish-desc { margin-bottom: .6rem; }

/* ── Home category tabs: image cards (same component as the full-menu category cards) ── */
.cat-tabs { --cat-size: 144px; gap: 1rem; align-items: stretch; padding: 1rem .75rem 1.75rem; margin: 0 -.75rem 1rem; perspective: 1000px; }
.cat-tabs .cat-grid-card { font-family: inherit; }
@media (max-width: 639px) { .cat-tabs { --cat-size: 118px; gap: .7rem; } }
.cat-tabs .cat-grid-name { font-size: .9rem; }
.cat-tabs .cat-grid-body { padding: .6rem .7rem .8rem; }

/* faster slide animation for the dish slider (template default was .5s) */
.slider-track { transition: transform .35s cubic-bezier(.4,0,.2,1); }
.slider-track.dragging { transition: none; }

/* Custom fonts (variables are injected by SiteLayout from the dev dashboard; fall back to the theme fonts) */
h1, h2 { font-family: var(--f-heading, var(--font-head)); }
.cat-grid-name, .drawer-item { font-family: var(--f-category, inherit); }
.dish-name { font-family: var(--f-dish, var(--font-head)); }
.dish-ingredients { font-family: var(--f-ingredients, inherit); }
