/* ==========================================================================
   Interactive menu (meniu.html)
   ========================================================================== */

.m-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 8vh, 90px)) 0 clamp(36px, 5vh, 60px); overflow: hidden; }
.m-hero__bg { position: absolute; inset: 0; z-index: -1; }
.m-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: scale(1.08); transition: opacity 1s var(--ease), transform 2s var(--ease); }
.m-hero__bg.is-swapping img { opacity: 0; transform: scale(1.14); }
.m-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,20,.75), rgba(10,10,11,.6) 50%, var(--black)); }
.m-hero__row { display: flex; flex-wrap: wrap; gap: 26px 40px; align-items: flex-end; justify-content: space-between; }
.m-title { font-size: clamp(46px, 7.5vw, 120px); line-height: .92; }
.m-title small { display: block; font-family: var(--f-label); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 18px; }
.m-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* location picker */
.loc-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 22px 0 26px; border: 1px solid var(--line-strong); border-radius: 100px; font-family: var(--f-label); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; transition: border-color .4s, background .4s; }
.loc-btn:hover { border-color: var(--red); background: rgba(205,31,30,.1); }
.loc-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; transition: transform .4s var(--ease); }
.loc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.loc-sheet { position: fixed; inset: 0; z-index: 850; visibility: hidden; }
.loc-sheet__bg { position: absolute; inset: 0; background: rgba(6,15,20,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.loc-sheet__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 100%); background: var(--char); border-left: 1px solid var(--line); padding: 30px clamp(20px, 3vw, 40px); overflow-y: auto; transform: translateX(100%); transition: transform .8s var(--ease); }
.loc-sheet.is-open { visibility: visible; }
.loc-sheet.is-open .loc-sheet__bg { opacity: 1; }
.loc-sheet.is-open .loc-sheet__panel { transform: none; }
.loc-sheet h2 { font-size: clamp(34px, 3.4vw, 48px); margin: 8px 0 28px; }
.loc-list { border-top: 1px solid var(--line); }
.loc-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-align: left; transition: padding .5s var(--ease), color .3s; opacity: 0; transform: translateX(30px); }
.loc-sheet.is-open .loc-list button { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease), padding .5s var(--ease); transition-delay: calc(var(--i) * 35ms + .15s), calc(var(--i) * 35ms + .15s), 0s; }
.loc-list button:hover { padding-left: 14px; color: var(--red-bright); }
.loc-list b { font-family: var(--f-display); font-weight: 400; font-size: 26px; display: block; line-height: 1.15; }
.loc-list span { font-size: 13px; color: var(--muted); }
.loc-list button[aria-current="true"] b { color: var(--red-bright); font-style: italic; }
.loc-list button[aria-current="true"]::after { content: "●"; color: var(--red-bright); font-size: 10px; }

/* group switch (Mâncare / Băuturi) */
.groups { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 100px; position: relative; }
.groups button { position: relative; z-index: 1; padding: 13px 26px; font-family: var(--f-label); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .4s; border-radius: 100px; }
.groups button.is-active { color: var(--white); }
.groups .pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 100px; background: var(--red); transition: transform .6s var(--ease), width .6s var(--ease); }

/* sticky toolbar */
.m-bar { position: sticky; top: 0; z-index: 700; background: rgba(10,10,11,.86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-block: 1px solid var(--line); transition: top .6s var(--ease); }
.has-header .m-bar { top: 70px; }
.m-bar__inner { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.cats-wrap { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.cats { position: relative; display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px 0; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-x; --fl: 48px; --fr: 48px; mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); }
.cats.is-dragging { cursor: grabbing; }
.cats.is-dragging button { pointer-events: none; }
.at-start .cats { --fl: 0px; } .at-end .cats { --fr: 0px; }
.cats-arrow { position: absolute; z-index: 2; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--ivory); color: var(--ink); font-size: 20px; line-height: 1; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.45); transition: opacity .3s, transform .3s var(--ease); }
.cats-arrow:hover { transform: scale(1.08); }
.cats-arrow--prev { left: -4px; } .cats-arrow--next { right: -4px; }
.at-start .cats-arrow--prev, .at-end .cats-arrow--next, .no-overflow .cats-arrow { opacity: 0; pointer-events: none; }
@media (hover: none) { .cats-arrow { display: none; } }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: 0 0 auto; padding: 10px 16px; border-radius: 100px; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: color .3s, background .3s; border: 1px solid transparent; }
.cats button:hover { color: var(--ivory); }
.cats button.is-active { color: var(--ink); background: var(--ivory); }
.cats button .n { font-size: 11px; margin-left: 7px; opacity: .55; font-variant-numeric: tabular-nums; }
.tool { position: relative; flex: 0 0 auto; height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; transition: border-color .3s, background .3s; }
.tool:hover, .tool.is-on { border-color: var(--red); background: rgba(205,31,30,.12); }
.tool svg { width: 17px; height: 17px; stroke: var(--ivory); fill: none; stroke-width: 1.5; }
.tool .dot { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: var(--white); font-size: 10.5px; font-weight: 600; display: grid; place-items: center; }

.search { display: none; padding-bottom: 14px; }
.search.is-open { display: block; animation: drop .5s var(--ease); }
.search input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ivory); font: 300 clamp(24px, 3vw, 38px)/1.3 var(--f-display); padding: 8px 0 12px; }
.search input:focus { outline: none; border-color: var(--red-bright); }
.search input::placeholder { color: var(--faint); font-style: italic; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

.filters { display: none; padding-bottom: 16px; }
.filters.is-open { display: block; animation: drop .5s var(--ease); }
.filters p { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 12.5px; color: var(--text); transition: all .3s; display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { border-color: var(--ivory); }
.chip.is-on { background: var(--red); border-color: var(--red); color: var(--white); text-decoration: line-through; text-decoration-thickness: 1px; }
.chip i { font-style: normal; font-size: 14px; }

/* list body */
.m-body { padding: clamp(30px, 5vw, 70px) 0 120px; min-height: 60vh; }
.m-cat { padding-top: clamp(30px, 4vw, 60px); scroll-margin-top: 150px; }
.m-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 26px; }
.m-cat__head h2 { font-size: clamp(36px, 4.4vw, 64px); }
.m-cat__head span { font-family: var(--f-label); font-size: 11px; letter-spacing: .3em; color: var(--faint); white-space: nowrap; }

.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.item { position: relative; background: var(--black); display: flex; flex-direction: column; cursor: pointer; transition: background .5s var(--ease); opacity: 0; transform: translateY(24px); animation: itemIn .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes itemIn { to { opacity: 1; transform: none; } }
.item:hover { background: var(--char-2); }
.item__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--char) url("../img/logo-footer.webp") center / 46px no-repeat; }
.item__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.item__img img.is-loaded { opacity: 1; transform: scale(1); }
.item:hover .item__img img.is-loaded { transform: scale(1.06); }
.item__img--none { aspect-ratio: auto; height: 0; background: none; }
.item__body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.item h3 { font-size: clamp(22px, 1.7vw, 26px); line-height: 1.15; }
.price { flex: 0 0 auto; text-align: right; font-family: var(--f-display); font-size: 26px; line-height: 1; color: var(--ivory); white-space: nowrap; }
.price small { display: block; font-family: var(--f-body); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.item__desc { color: var(--muted); font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.item__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.al { display: flex; flex-wrap: wrap; gap: 5px; }
.al span { font-size: 10.5px; letter-spacing: .04em; padding: 3px 8px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); }
.add { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.add:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.add.is-added { background: var(--ivory); color: var(--ink); border-color: var(--ivory); font-size: 13px; font-weight: 600; }

/* compact "carte" list view */
.view-list .m-grid { display: block; background: none; border: 0; }
.view-list .item { flex-direction: row; align-items: center; gap: 18px; background: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
.view-list .item:hover { background: rgba(244,236,220,.025); }
.view-list .item__img { width: 72px; height: 72px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; background-size: 26px; }
.view-list .item__img--none { width: 72px; height: 72px; background: var(--char) url("../img/logo-footer.webp") center / 26px no-repeat; }
.view-list .item__body { padding: 0; flex-direction: row; align-items: center; gap: 18px; }
.view-list .item__top { flex: 1; align-items: center; }
.view-list .item__top h3 { display: flex; align-items: baseline; gap: 12px; flex: 1; }
.view-list .item__top h3::after { content: ""; flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); min-width: 20px; }
.view-list .item__desc, .view-list .al { display: none; }
.view-list .item__foot { margin: 0; padding: 0; }

.empty { text-align: center; padding: 100px 20px; color: var(--muted); }
.empty h3 { font-size: 40px; margin-bottom: 10px; }
.loading { display: grid; place-items: center; padding: 120px 0; }
.loading img { width: 70px; animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.92); } }

/* dish detail sheet */
.sheet { position: fixed; inset: 0; z-index: 9000; visibility: hidden; display: grid; place-items: center; padding: 20px; }
.sheet__bg { position: absolute; inset: 0; background: rgba(6,15,20,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s var(--ease); }
.sheet__box { position: relative; width: min(980px, 100%); max-height: calc(100svh - 40px); display: grid; grid-template-columns: 1fr 1fr; background: var(--char); border: 1px solid var(--line); overflow: hidden; opacity: 0; transform: translateY(50px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.sheet.is-open { visibility: visible; }
.sheet.is-open .sheet__bg { opacity: 1; }
.sheet.is-open .sheet__box { opacity: 1; transform: none; }
.sheet__img { position: relative; min-height: 420px; background: var(--ink) url("../img/logo-neg.webp") center / 160px no-repeat; }
.sheet__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: clamp(26px, 3.4vw, 48px); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.sheet__body h2 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; }
.sheet__meta { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; }
.sheet__meta .price { font-size: 40px; text-align: left; }
.sheet__meta .qty { font-family: var(--f-label); font-size: 12px; letter-spacing: .24em; color: var(--muted); }
.sheet__sec h4 { font-family: var(--f-label); font-weight: 400; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--red-bright); margin: 0 0 8px; }
.sheet__sec p { color: var(--text); font-size: 14.5px; line-height: 1.75; margin: 0; font-weight: 300; }
.sheet__actions { margin-top: auto; display: flex; gap: 12px; align-items: center; padding-top: 10px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 100px; height: 54px; }
.stepper button { width: 48px; height: 100%; font-size: 20px; }
.stepper button:hover { color: var(--red-bright); }
.stepper output { min-width: 26px; text-align: center; font-weight: 500; }
.sheet .modal__close { z-index: 2; background: rgba(6,15,20,.6); }

/* order list drawer */
.fab { position: fixed; z-index: 760; right: clamp(16px, 3vw, 34px); bottom: clamp(16px, 3vw, 34px); display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 26px 0 22px; border-radius: 100px; background: var(--red); color: var(--white); box-shadow: 0 18px 50px rgba(205,31,30,.35); font-family: var(--f-label); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; transform: translateY(160%); transition: transform .7s var(--ease), background .3s; }
.fab.is-on { transform: none; }
.fab:hover { background: var(--red-deep); }
.fab b { font-family: var(--f-display); font-size: 22px; letter-spacing: 0; font-weight: 500; text-transform: none; }
.fab .count { width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--red); display: grid; place-items: center; font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.fab.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }

.drawer { position: fixed; inset: 0; z-index: 9050; visibility: hidden; }
.drawer__bg { position: absolute; inset: 0; background: rgba(6,15,20,.75); opacity: 0; transition: opacity .5s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); background: var(--char); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .8s var(--ease); }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { padding: 30px 30px 20px; border-bottom: 1px solid var(--line); position: relative; }
.drawer__head h2 { font-size: 42px; }
.drawer__list { flex: 1; overflow-y: auto; padding: 0 30px; }
.drawer__row { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.drawer__row b { font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.2; display: block; }
.drawer__row span { font-size: 12.5px; color: var(--muted); }
.drawer__row .stepper { height: 40px; }
.drawer__row .stepper button { width: 36px; font-size: 17px; }
.drawer__foot { padding: 22px 30px 30px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total b { font-family: var(--f-display); font-size: 40px; font-weight: 400; color: var(--ivory); }
.drawer__note { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }

.m-allergens { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; line-height: 1.8; }
.m-allergens summary { font-family: var(--f-label); letter-spacing: .24em; text-transform: uppercase; font-size: 11px; cursor: pointer; color: var(--muted); }

@media (max-width: 820px) {
  .m-hero__row { flex-direction: column; align-items: flex-start; }
  .groups button { padding: 12px 20px; }
  .tool .lbl { display: none; }
  .sheet { padding: 0; align-items: end; }
  .sheet__box { grid-template-columns: 1fr; max-height: 92svh; overflow-y: auto; transform: translateY(100%); border-radius: 18px 18px 0 0; }
  .sheet__img { min-height: 0; aspect-ratio: 4 / 3; }
  .sheet__body { overflow: visible; }
  .fab { left: 16px; right: 16px; justify-content: space-between; }
  .view-list .item__img, .view-list .item__img--none { width: 56px; height: 56px; }
  .view-list .item__top h3::after { display: none; }
  .view-list .item__body { gap: 10px; }
  .view-list .add { width: 36px; height: 36px; }
  .m-cat { scroll-margin-top: 130px; }
}
@media (max-width: 560px) {
  .item__img { aspect-ratio: 16 / 10; }
  .price { font-size: 23px; }
  .drawer__head, .drawer__list, .drawer__foot { padding-left: 20px; padding-right: 20px; }
}

/* ---------- deep-sea background (js/sea.js) ---------- */
.sea { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
/* the sea stays below the menu bar: the hero keeps its own solid background */
.m-hero { background: var(--black); isolation: isolate; }
/* cards become dark glass, so the fish pass faintly behind them */
.m-grid { background: none; border: 0; gap: 1px; }
.item { background: rgba(10, 10, 11, .74); box-shadow: 0 0 0 1px var(--line); }
.item:hover { background: rgba(23, 25, 27, .9); }
.m-allergens { position: relative; }

/* whole dish photo, set inside its frame: the photo is contained (never cropped) and sits on a soft,
   blurred copy of itself, so white product shots and dark photos both fill the frame cleanly */
.item__img { padding: 12px; isolation: isolate; }
.item__img::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: var(--src, none) center / cover no-repeat; filter: blur(26px) brightness(.32) saturate(.8); opacity: 0; transition: opacity .8s var(--ease); }
.item__img[style*="--src"]::before { opacity: 1; }
.item__img img { object-fit: contain; transform: scale(.97); }
.item__img img.is-loaded { transform: scale(1); }
.item:hover .item__img img.is-loaded { transform: scale(1.03); }
.view-list .item__img { padding: 0; }
.view-list .item__img img { object-fit: cover; }
.al { align-items: center; }
.al__none { font-style: normal; font-size: 11px; letter-spacing: .04em; color: var(--faint); }

/* dish photos as round plates, centred in the frame, with a fine ring */
.item__img { padding: 0; }
.item__img img { position: absolute; top: 18px; bottom: 18px; left: 0; right: 0; margin: 0 auto; width: auto; height: calc(100% - 36px); max-width: calc(100% - 36px); aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 7px rgba(10,10,11,.35), 0 0 0 8px var(--line); }
.view-list .item__img { padding: 0; display: block; }
.view-list .item__img img { position: static; margin: 0; width: 100%; height: 100%; max-width: none; box-shadow: none; }
@media (max-width: 560px) { .item__img { aspect-ratio: 5 / 4; } }
/* rounded frames in the menu: dish cards and the dish detail window */
.m-grid { gap: 14px; }
.item { border-radius: var(--r-img); overflow: hidden; }
.item__img { border-radius: var(--r-img) var(--r-img) 0 0; }
.sheet__box { border-radius: var(--r-img); }
.view-list .item { border-radius: 0; overflow: visible; }

/* ---------- light theme for the menu ---------- */
html[data-theme="light"] .m-bar { background: rgba(247, 242, 232, .9); }
html[data-theme="light"] .item { background: rgba(255, 253, 248, .84); }
html[data-theme="light"] .item:hover { background: rgba(255, 253, 248, .97); }
html[data-theme="light"] .item__img::before { filter: blur(26px) brightness(1.08) saturate(.85); }
html[data-theme="light"] .item__img img { box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 7px rgba(255, 253, 248, .55), 0 0 0 8px var(--line); }
html[data-theme="light"] .sheet__img { background-image: url("../img/logo-512.webp"); }
html[data-theme="light"] .sheet__bg, html[data-theme="light"] .drawer__bg, html[data-theme="light"] .loc-sheet__bg { background: rgba(19, 32, 42, .45); }
html[data-theme="light"] .sheet .modal__close { background: rgba(255, 253, 248, .8); }

/* ---------- labels, daily menu, table number ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); padding: 4px 9px; border-radius: 100px; border: 1px solid var(--line-strong); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--recomandat { color: #E9C46A; border-color: rgba(233, 196, 106, .45); }
.tag--nou { color: #8FD3A8; border-color: rgba(143, 211, 168, .45); }
.tag--picant { color: var(--red-bright); border-color: rgba(236, 63, 62, .45); }
.tag--vegetarian { color: #A8D08D; border-color: rgba(168, 208, 141, .45); }
.tag--share { color: #9EC5E8; border-color: rgba(158, 197, 232, .45); }
html[data-theme="light"] .tag--recomandat { color: #9a7412; }
html[data-theme="light"] .tag--nou { color: #23784a; }
html[data-theme="light"] .tag--vegetarian { color: #4c7a2c; }
html[data-theme="light"] .tag--share { color: #2c6a9e; }
.chips-k { flex-basis: 100%; margin: 4px 0 8px; font-size: 12.5px; color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
#chips { display: block; }
.chip--tag.is-on { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.m-cat--feat { position: relative; padding: clamp(22px, 3vw, 40px); margin-top: clamp(24px, 3vw, 40px); border: 1px solid rgba(233, 196, 106, .45); border-radius: var(--r-img); background: linear-gradient(180deg, rgba(233, 196, 106, .08), transparent 60%); }
.m-cat__k { font-family: var(--f-label); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #E9C46A; margin: 0 0 6px; }
html[data-theme="light"] .m-cat__k { color: #9a7412; }
.m-table { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 100px; background: var(--red); color: #fff; font-family: var(--f-label); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }

/* phone: categories get the whole first row, search / allergens / view sit on a second row */
@media (max-width: 820px) {
  .m-bar__inner { flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .cats-wrap { flex: 1 1 100%; }
  .cats { --fl: 28px; --fr: 56px; }
  .cats button { padding: 9px 15px; font-size: 13.5px; }
  .tool { height: 40px; min-width: 40px; padding: 0 12px; }
  #t-search { flex: 1; justify-content: flex-start; gap: 10px; padding: 0 16px; }
  #t-search::after { content: attr(data-label); font-size: 13.5px; color: var(--muted); }
  .m-cat { scroll-margin-top: 190px; }
}
@media (max-width: 820px) and (hover: none) {
  .cats-arrow { display: grid; width: 30px; height: 30px; margin-top: -15px; font-size: 19px; }
  .cats-arrow--prev { display: none; }
}
html[data-theme="light"] #t-search::after { color: var(--muted); }
