/* iMAXX design system (from the iMAXX Web App prototype).
   Customer site: body.ix  ·  Admin portal: body.ix-admin
   Classes are prefixed ix- so they never clash with Bootstrap. */

:root {
  --bg: #FFF8EE; --surface: #FFFFFF; --sunk: #E8DCC8; --ink: #252525; --ink-2: #55504A; --ink-3: #6E665D;
  --line: #E8DCC8; --line-2: #D2C1A5;
  --cta: #7A1F2B; --cta-hover: #641824; --on-cta: #FFFFFF; --gold: #C9A227;
  --accent: #7A5C0C; --accent-soft: #F7ECCB;
  --ok: #1A6E47; --ok-soft: #DDEFE3; --err: #B3261E; --err-soft: #F9E1DD; --warn: #8A5A00; --warn-soft: #F7ECD3; --info: #1D4F91; --info-soft: #E3EAF5;
  --night: #252525; --on-night: #FFF8EE; --on-night-2: #CFC5B6; --night-line: rgba(255,248,238,.14);
  --shadow: 0 1px 2px rgba(37,37,37,.06), 0 14px 36px -18px rgba(37,37,37,.3);
  --scrim: rgba(20,18,16,.58);
  --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --max: 1720px; --gut: clamp(16px, 4vw, 48px); --hdr: 66px;
  --f-d: 'Rozha One', 'Bodoni Moda', Didot, 'Times New Roman', serif;
  --f-u: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-m: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

/* ============ base ============ */
body.ix, body.ix-admin { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.55 var(--f-u); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.ix *, .ix *::before, .ix *::after, .ix-admin *, .ix-admin *::before, .ix-admin *::after { box-sizing: border-box; }
/* element resets use :where() (no specificity), exactly like the prototype's bare element rules, so
   ix- component classes always win over them and over Bootstrap's element defaults */
:where(.ix, .ix-admin) h1, :where(.ix, .ix-admin) h2, :where(.ix, .ix-admin) h3, :where(.ix, .ix-admin) h4, :where(.ix, .ix-admin) h5, :where(.ix, .ix-admin) h6 { margin: 0; font-family: inherit; font-weight: 400; line-height: inherit; color: inherit; text-wrap: balance; }
:where(.ix, .ix-admin) p, :where(.ix, .ix-admin) ul, :where(.ix, .ix-admin) ol, :where(.ix, .ix-admin) dl, :where(.ix, .ix-admin) figure { margin: 0; }
:where(.ix, .ix-admin) ul, :where(.ix, .ix-admin) ol { padding: 0; list-style: none; }
:where(.ix, .ix-admin) a, :where(.ix, .ix-admin) a:hover, :where(.ix, .ix-admin) a:focus { color: inherit; text-decoration: underline; }
:where(.ix, .ix-admin) img { max-width: 100%; display: block; }
:where(.ix, .ix-admin) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-transform: none; }
:where(.ix, .ix-admin) button:disabled { cursor: not-allowed; }
:where(.ix, .ix-admin) input, :where(.ix, .ix-admin) select, :where(.ix, .ix-admin) textarea { font: inherit; color: inherit; }
:where(.ix, .ix-admin) label { margin: 0; font-weight: inherit; max-width: none; }
:where(.ix, .ix-admin) small { font-size: inherit; }
:where(.ix, .ix-admin) b, :where(.ix, .ix-admin) strong { font-weight: 700; }
:where(.ix, .ix-admin) hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.ix :focus-visible, .ix-admin :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 1023px) {
  body.ix { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body.ix.has-pay { padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px)); }
}
body.ix.has-bag { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 1023px) { body.ix.has-bag { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 1024px) { body.ix.has-bag { padding-bottom: 84px; } }
@media (min-width: 1200px) { body.ix.has-bag { padding-bottom: 0; } }
.ix-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.ix-num { font-variant-numeric: tabular-nums; }
.ix-muted { color: var(--ink-2); }
.ix-small { font-size: 14px; }
.ix-mono { font-family: var(--f-m); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.ix-disp { font-family: var(--f-d); font-weight: 400; line-height: 1.02; }
.ix-link, .ix-link:hover, .ix-link:focus { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; }
.ix-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.ix-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-family: var(--f-u); font-weight: 600; font-size: 15.5px; line-height: 1.55; text-decoration: none !important; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .15s, opacity .2s; }
.ix-btn:active:not(:disabled) { transform: scale(.97); }
.ix-btn:disabled, .ix-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.ix-btn-lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.ix-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.ix-btn-xs { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
.ix-btn-block { width: 100%; display: flex; }
.ix-btn.split { justify-content: space-between; }
.ix-btn-cta { background: var(--cta); color: var(--on-cta) !important; }
.ix-btn-cta:hover:not(:disabled) { background: var(--cta-hover); }
.ix-btn-ink { background: var(--ink); color: var(--bg) !important; }
.ix-btn-line { background: var(--surface); color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.ix-btn-line:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ix-btn-ok { background: var(--ok); color: #fff !important; }
.ix-btn-err { background: var(--err); color: #fff !important; }
.ix-btn-ghost-err { background: transparent; color: var(--err) !important; box-shadow: inset 0 0 0 1.5px var(--err); }
.ix-ibtn.sm { width: 36px; height: 36px; }
.ix-ibtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; display: inline-grid; place-items: center; position: relative; flex: none; color: inherit; transition: background .2s; }
.ix-ibtn:hover { background: var(--sunk); }
.ix-badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; border-radius: 10px; background: var(--cta); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.ix-badge.bump { animation: ix-bump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes ix-bump { 40% { transform: scale(1.35); } }
.ix-badge:empty, .ix-badge.is-zero { display: none; }
.ix-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.ix-chip.ok { background: var(--ok-soft); color: var(--ok); }
.ix-chip.err { background: var(--err-soft); color: var(--err); }
.ix-chip.info { background: var(--info-soft); color: var(--info); }
.ix-chip.warn { background: var(--warn-soft); color: var(--warn); }
.ix-chip.ink { background: var(--ink); color: var(--bg); }
.ix-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 2.2vw, 28px); }
.ix-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); font-size: 14.5px; }
.ix-note svg { flex: none; margin-top: 2px; color: var(--accent); }
.ix-note.err { background: var(--err-soft); color: var(--err); }
.ix-note.err svg { color: var(--err); }
.ix-note.warn { background: var(--warn-soft); color: var(--warn); }
.ix-note.warn svg { color: var(--warn); }
.ix-st { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ix-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); flex: none; }
.ix-st.shut i { background: var(--err); box-shadow: 0 0 0 4px var(--err-soft); }

/* forms */
.ix-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14.5px; min-width: 0; margin: 0; }
.ix-field .hint { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.ix-input, .ix .form-control, .ix-admin .form-control { width: 100%; min-height: 50px; height: auto; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); padding: 11px 14px; font: 400 16px/1.55 var(--f-u); color: var(--ink); box-shadow: none; transition: border-color .2s; }
.ix-admin input[type=date].form-control, .ix-admin input[type=time].form-control, .ix input[type=date].form-control { line-height: 1.55; }
.ix-input:focus, .ix .form-control:focus, .ix-admin .form-control:focus { outline: none; border-color: var(--ink); box-shadow: none; }
.ix-input[readonly], .ix .form-control[readonly], .ix-admin .form-control[readonly] { background: var(--sunk); }
textarea.ix-input, textarea.form-control { min-height: 0; resize: vertical; }
select.ix-input { width: auto; min-height: 44px; padding: 0 12px; }
.ix-field.err .ix-input, .ix-field.err .form-control { border-color: var(--err); background: var(--err-soft); }
.ix-errmsg { color: var(--err); font-size: 13px; font-weight: 600; }
.ix-chk { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer; min-height: 40px; margin: 0; }
.ix-chk input { width: 20px; height: 20px; accent-color: var(--cta); flex: none; margin: 0; }
.ix-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ix-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ix-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ix-stack { display: flex; flex-direction: column; gap: 16px; }
.ix-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 767px) { .ix-g2, .ix-g3, .ix-g4 { grid-template-columns: minmax(0, 1fr); } }
.ix-srow { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ix-srow span { color: var(--ink-2); }
.ix-srow.big { font-size: 19px; font-weight: 700; border-bottom: 0; }
.ix-srow.big span { color: var(--ink); }
.ix-srow.disc b { color: var(--ok); }

/* ============ customer chrome ============ */
.ix-hdr { position: sticky; top: 0; z-index: 1030; background: var(--bg); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.ix-hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 18px; }
.ix-wm { display: inline-flex; flex-direction: column; text-decoration: none !important; line-height: 1; flex: none; color: var(--ink); }
.ix-wm b { font-family: var(--f-d); font-weight: 400; font-size: 28px; letter-spacing: .01em; }
.ix-wm b i { font-style: normal; color: var(--cta); }
.ix-wm small { white-space: nowrap; font-family: var(--f-m); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.ix-nav { display: flex; gap: 2px; margin-left: 10px; }
.ix-nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); position: relative; }
.ix-nav a:hover, .ix-nav a.on { color: var(--ink); }
.ix-nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); }
.ix-hdr-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ix-acct { position: relative; }
.ix-acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 8px; z-index: 1040; display: none; }
.ix-acct-menu.open { display: block; }
.ix-acct-menu a, .ix-acct-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 15px; }
.ix-acct-menu a:hover, .ix-acct-menu button:hover { background: var(--sunk); }
.ix-acct-menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: 14px; color: var(--ink-2); }
.ix-acct-menu .who b { display: block; color: var(--ink); font-size: 15.5px; }
@media (max-width: 1023px) { .ix-nav, .ix-hdr .ix-st, .ix-hdr .hide-m { display: none !important; } }
.ix-tabbar { display: none; }
@media (max-width: 1023px) {
  .ix-tabbar { display: grid; grid-template-columns: 1fr 1.5fr 1fr 1fr; position: fixed; z-index: 1030; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100% - 20px)); height: 64px; padding: 0 6px; border-radius: 22px; background: var(--night); color: var(--on-night); box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); }
  .ix-tabbar a, .ix-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 54px; margin-top: 5px; border: 0; background: none; border-radius: 16px; align-self: center; font-size: 11.5px; font-weight: 600; text-decoration: none; color: var(--on-night-2); position: relative; }
  .ix-tabbar .on { color: #fff; background: rgba(255,248,238,.12); }
  .ix-tabbar .on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
  .ix-tabbar .ci { position: relative; display: inline-grid; }
  .ix-tabbar .ci .ix-badge { top: -7px; right: -12px; }
  .ix-tabbar .tot { color: var(--gold); font-weight: 700; }
  .ix-hdr .ix-cart-btn { display: none; }
}
/* small footer */
.ix-ftr { background: var(--night); color: var(--on-night-2); padding-block: 20px 16px; font-size: 14px; }
.ix-ftr a { text-decoration: none; color: var(--on-night-2); }
.ix-ftr a:hover { color: var(--on-night); }
.ix-ftr .ix-wm { color: var(--on-night); }
.ix-ftr .ix-wm b { font-size: 22px; }
.ix-ftr .ix-wm b i { color: var(--gold); }
.ix-ftr .ix-wm small { color: var(--on-night-2); font-size: 8px; }
.ix-ftr-r { display: flex; align-items: center; justify-content: space-between; gap: 10px 26px; flex-wrap: wrap; }
.ix-ftr-i { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.ix-ftr-i li, .ix-ftr-i a { display: inline-flex; align-items: center; gap: 7px; }
.ix-ftr-b { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--night-line); font-size: 12.5px; }
.ix-ftr-l { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
@media (max-width: 767px) { .ix-ftr-i { flex-direction: column; gap: 5px; } .ix-ftr-b { flex-direction: column; align-items: flex-start; } }

/* page header */
.ix-phead { padding-block: clamp(18px, 2.6vw, 32px) clamp(12px, 1.6vw, 20px); }
.ix-phead h1 { font-family: var(--f-d); font-size: clamp(32px, 3.6vw, 52px); line-height: 1; margin: 6px 0; }
.ix-crumb { font-size: 13.5px; color: var(--ink-3); }
.ix-crumb a { color: var(--ink-2); }
@media (max-width: 767px) { .ix-phead .ix-crumb { display: none; } }
.ix-two { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: 60px; }
@media (max-width: 1023px) { .ix-two { grid-template-columns: minmax(0, 1fr); } }
.ix-sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ix-sec-h h2 { font-family: var(--f-d); font-size: 26px; line-height: 1.05; }
.ix-empty { text-align: center; padding: 56px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-2); }
.ix-empty h3 { font-family: var(--f-d); font-size: 28px; color: var(--ink); }
.ix-info { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; }
.ix-info li { display: flex; gap: 14px; align-items: flex-start; }
.ix-info .ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; color: var(--accent); }
.ix-info b { display: block; font-weight: 600; }
.ix-info span { color: var(--ink-2); }
.ix-dl { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 0 18px; margin: 1em 0; }
.ix-dl dt, .ix-dl dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.ix-dl dt { color: var(--ink-2); font-size: 14.5px; font-weight: 400; }
.ix-dl dd { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) { .ix-dl { grid-template-columns: minmax(0, 1fr); } .ix-dl dt { border-bottom: 0; padding-bottom: 0; } .ix-dl dd { padding-top: 2px; } }
.ix-prose h2 { font-family: var(--f-d); font-size: 26px; margin: 26px 0 8px; }
.ix-prose p { color: var(--ink-2); max-width: 70ch; margin-bottom: 10px; }

/* ============ menu page (storefront) ============ */
.ix-store { padding-block: 16px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.ix-store h1 { font-family: var(--f-d); font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.ix-smeta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.ix-smeta > span { display: inline-flex; gap: 7px; align-items: center; }
.ix-promo { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); font-size: 14.5px; }
.ix-promo b { font-family: var(--f-m); letter-spacing: .06em; background: var(--surface); padding: 2px 8px; border-radius: 7px; border: 1px dashed var(--gold); }
.ix-closed { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--err-soft); color: var(--err); font-size: 14.5px; font-weight: 600; }
.ix-tools { position: sticky; top: var(--hdr); z-index: 1020; background: var(--bg); border-bottom: 1px solid var(--line); }
.ix-tools-in { display: flex; gap: 12px; align-items: center; padding-block: 10px; }
.ix-search { flex: 0 1 380px; position: relative; display: flex; align-items: center; min-width: 0; margin: 0; }
.ix-search svg { position: absolute; left: 15px; color: var(--ink-3); pointer-events: none; }
.ix-search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 44px; font: 400 16px/1.55 var(--f-u); color: var(--ink); }
.ix-search input:focus { outline: none; border-color: var(--ink); }
.ix-search .clr { position: absolute; right: 5px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); }
.ix-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.ix-tabs::-webkit-scrollbar { display: none; }
.ix-tabs button { flex: none; height: 40px; padding: 0 14px; border: 0; background: none; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.ix-tabs button.on { background: var(--cta); color: var(--on-cta); }
.ix-tabs button:focus:not(:focus-visible) { outline: none; } /* no ring after a mouse click (Bootstrap's button:focus); keyboard focus keeps the gold ring */
.ix-slay { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(20px, 2.4vw, 36px); align-items: start; padding-block: 18px 60px; }
.ix-scart { position: sticky; top: calc(var(--hdr) + 84px); }
@media (max-width: 1199px) { .ix-slay { grid-template-columns: minmax(0, 1fr); } .ix-scart { display: none; } }
.ix-grp { scroll-margin-top: calc(var(--hdr) + 80px); padding-bottom: 22px; }
.ix-grp + .ix-grp { padding-top: 22px; border-top: 1px solid var(--line); }
.ix-grp > h2 { font-family: var(--f-d); font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.ix-cat { margin-top: 18px; }
.ix-cat > h3 { font-family: var(--f-m); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.ix-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.ix-pc { position: relative; display: flex; flex-direction: row-reverse; align-items: stretch; gap: 14px; padding: 14px; min-height: 150px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s, transform .3s; text-align: left; }
.ix-pc:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.ix-pc .ph { flex: none; width: 128px; height: 128px; border-radius: 14px; background: var(--sunk); overflow: hidden; align-self: center; }
.ix-pc .ph img { width: 100%; height: 100%; object-fit: contain; } /* dish photos are shown whole, never cropped; the box background fills the rest */
.ix-pc .bd { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.ix-pc .nm { font-weight: 700; font-size: 16px; line-height: 1.25; }
.ix-pc .ds { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ix-pc .ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.ix-pc .ph.none { display: none; }
.ix-pc.sold { opacity: .62; }
.ix-qb { position: absolute; left: 10px; top: 10px; z-index: 2; height: 24px; min-width: 24px; padding: 0 7px; border-radius: 12px; background: var(--cta); color: #fff; font-weight: 700; font-size: 12.5px; display: grid; place-items: center; }
.ix-pc .ix-qb ~ .bd .nm { padding-left: 30px; }
.ix-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.ix-stretch { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; border-radius: inherit; }
.ix-addb { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px 0 11px; border: 0; border-radius: 999px; background: var(--cta); color: var(--on-cta); font-weight: 600; font-size: 14px; flex: none; }
.ix-addb:hover:not(:disabled) { background: var(--cta-hover); }
.ix-addb:disabled { background: var(--sunk); color: var(--ink-3); cursor: not-allowed; }
.ix-soldtag { position: absolute; right: 14px; top: 14px; z-index: 2; }
@media (max-width: 767px) {
  .ix-store { padding-block: 10px 8px; gap: 8px; }
  .ix-store h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ix-smeta { margin-top: 0; font-size: 13px; gap: 4px 12px; }
  .ix-smeta .city { display: none; }
  .ix-promo, .ix-closed { padding: 7px 12px; font-size: 13.5px; }
  .ix-promo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .ix-promo .long { display: none; }
  .ix-promo svg, .ix-closed svg { display: none; }
  .ix-smeta svg { width: 14px; height: 14px; }
  .ix-tools-in { flex-wrap: wrap; gap: 8px; padding-block: 8px 6px; }
  .ix-search { flex-basis: 100%; }
  .ix-tabs { margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .ix-grp { scroll-margin-top: calc(var(--hdr) + 118px); }
  .ix-pgrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ix-pc { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 14px 0; min-height: 0; }
  .ix-pc:hover { box-shadow: none; transform: none; }
  .ix-pc .ph { width: 108px; height: 108px; }
  .ix-qb { left: -6px; top: 10px; }
  .ix-soldtag { right: 0; top: 14px; }
}
@media (max-width: 374px) { .ix-pc .ph { width: 88px; height: 88px; } }

/* mini cart (desktop menu) */
.ix-mcart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.ix-mcart-h { padding: 18px 20px 10px; display: flex; justify-content: space-between; align-items: baseline; }
.ix-mcart-h h2 { font-family: var(--f-d); font-size: 28px; line-height: 1; }
.ix-mcart-b { padding: 0 20px; max-height: calc(100vh - 400px); overflow: auto; }
.ix-mcart-f { padding: 14px 20px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.ix-mcart .ix-empty { padding: 22px 20px 30px; }
/* bag bar: tablets / small laptops without the mini cart */
.ix-bagbar { display: none; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .ix-bagbar { display: block; position: fixed; z-index: 1029; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100% - 20px)); animation: ix-rise .35s cubic-bezier(.2,.9,.3,1); }
  .ix-bagbar a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 10px 0 18px; border-radius: 18px; background: var(--cta); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(122,31,43,.55); }
  .ix-bagbar .n { min-width: 32px; height: 32px; border-radius: 11px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 700; }
}
@keyframes ix-rise { from { transform: translate(-50%, 24px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ============ sheets (Bootstrap modals restyled) ============ */
.ix .modal-backdrop.show { opacity: 1; background: var(--scrim); }
.ix-sheet .modal-dialog { max-width: 600px; margin: 24px auto; }
@media (min-width: 768px) { .ix-sheet .modal-dialog { display: flex; align-items: center; min-height: calc(100% - 48px); } .ix-sheet .modal-content { width: 100%; } }
.ix-sheet .modal-content { border: 0; border-radius: 26px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.ix-sheet-h { padding: 20px clamp(18px, 3vw, 26px) 8px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ix-sheet-h h2 { font-family: var(--f-d); font-size: 30px; line-height: 1; }
.ix-sheet-b { padding: 4px clamp(18px, 3vw, 26px) 22px; }
.ix-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sunk); display: grid; place-items: center; flex: none; }
@media (max-width: 767px) {
  .ix-sheet .modal-dialog { margin: 0; max-width: none; min-height: 100%; display: flex; align-items: flex-end; }
  .ix-sheet .modal-content { border-radius: 24px 24px 0 0; max-height: 94vh; overflow: auto; }
  .ix-sheet.fade .modal-dialog { transform: translateY(40px); transition: transform .3s cubic-bezier(.2,.9,.3,1); }
  .ix-sheet.show .modal-dialog { transform: none; }
}
/* any other Bootstrap modal on the customer site */
.ix .modal-content { border: 0; border-radius: 24px; box-shadow: var(--shadow); }
.ix .modal-header { border-bottom: 1px solid var(--line); }
.ix .modal-header h1, .ix .modal-header h4 { font-family: var(--f-d); font-size: 26px; }
.ix-order-dialog { max-width: 640px; }
.ix-admin .ix-order-dialog { margin: 40px auto; width: auto; }
/* dish window */
.ix-item .modal-dialog { max-width: 980px; }
.ix-item .modal-content { display: flex; flex-direction: column; height: min(84vh, 780px); }
.ix-item .ix-scroll { overflow: auto; flex: 1; min-height: 0; overscroll-behavior: contain; display: grid; grid-template-columns: 44% 56%; align-items: start; }
.ix-item .ix-media { position: sticky; top: 0; height: calc(min(84vh, 780px) - 73px); background: var(--sunk); overflow: hidden; }
.ix-item .ix-media img { width: 100%; height: 100%; object-fit: contain; }
.ix-item .ix-x { position: absolute; right: 12px; top: 12px; z-index: 5; background: var(--surface); box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.ix-item .ix-body { padding: 20px clamp(18px, 3vw, 30px) 22px; }
.ix-item .ix-body h2 { font-family: var(--f-d); font-size: clamp(28px, 3vw, 38px); line-height: 1.04; padding-right: 44px; }
.ix-item .pp { font-weight: 700; font-size: 18px; margin-top: 6px; }
.ix-item .ds { color: var(--ink-2); margin-top: 8px; }
.ix-item .ix-foot { display: flex; gap: 12px; align-items: center; justify-content: flex-end; padding: 12px clamp(18px, 3vw, 30px); border-top: 1px solid var(--line); background: var(--surface); }
.ix-item .ix-foot .ix-btn-cta { max-width: 360px; flex: 1; }
/* A dish without a photo: one narrow column, as tall as its content */
.ix-item .ix-nophoto { max-width: 600px; }
.ix-item .ix-nophoto .modal-content { height: auto; max-height: min(84vh, 780px); }
.ix-item .ix-nophoto .ix-scroll { display: block; }
@media (max-width: 1023px) {
  .ix-item .modal-dialog { max-width: 600px; }
  .ix-item .modal-content { height: auto; max-height: min(92vh, 860px); }
  .ix-item .ix-scroll { display: block; }
  .ix-item .ix-media { position: static; height: auto; aspect-ratio: 16/10; }
  .ix-item .ix-foot .ix-btn-cta { max-width: none; }
}
@media (max-width: 767px) { .ix-item .modal-content { max-height: 94vh; height: auto; } }
.ix-og { border: 0; border-top: 1px solid var(--line); margin: 20px 0 0; padding: 16px 0 0; }
.ix-og-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.ix-og-h b { display: block; font-size: 16.5px; }
.ix-og-h small { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.ix-og.miss .ix-og-h small { color: var(--err); font-weight: 600; }
.ix-og.miss .ix-chip.ink { background: var(--err); }
.ix-og .miss-t { display: none; }
.ix-og.miss .miss-t { display: inline; }
.ix-og .opts { display: flex; flex-direction: column; }
.ix-op { position: relative; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 0; margin: 0; border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 400; width: 100%; } /* relative: keeps the hidden input in its row, so focusing it can't scroll the whole dish window */
.ix-op .l { flex: 1; font-size: 15.5px; }
.ix-op input { position: absolute; opacity: 0; pointer-events: none; }
.ix-op .ctl { flex: none; width: 24px; height: 24px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .15s; }
.ix-op .ctl.r { border-radius: 50%; }
.ix-op .ctl.c { border-radius: 7px; }
.ix-op input:checked + .ctl { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.ix-op input:checked + .ctl.r { background: var(--surface); box-shadow: inset 0 0 0 5px var(--ink); }
.ix-op input:focus-visible + .ctl { outline: 3px solid var(--accent); outline-offset: 2px; }
.ix-subhead { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font-weight: 600; font-size: 15.5px; text-align: left; }
.ix-subs[hidden] { display: none; }
.ix-subs { margin: 0 0 6px 36px; padding: 4px 0 4px 14px; border-left: 2px solid var(--line); }
.ix-subs .ix-op { min-height: 44px; border-bottom-style: dashed; }
.ix-qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); height: 46px; background: var(--surface); flex: none; }
.ix-qty button { width: 44px; height: 46px; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.ix-qty button:hover:not(:disabled) { background: var(--sunk); }
.ix-qty button:disabled { opacity: .35; }
.ix-qty.sm span, .ix-qty.sm input { min-width: 20px; width: 24px; font-size: 14.5px; }
.ix-qty span, .ix-qty input { min-width: 26px; width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; border: 0; background: none; padding: 0; color: var(--ink); }
.ix-qty.sm { height: 36px; } .ix-qty.sm button { width: 34px; height: 36px; }

/* ============ cart ============ */
.ix-cartg { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: 70px; }
.ix-cartg .ix-aside { position: sticky; top: calc(var(--hdr) + 18px); }
.ix-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ix-lines .ix-line { padding: 16px 0; }
.ix-line .th { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--sunk); }
.ix-line .th img { width: 100%; height: 100%; object-fit: contain; }
.ix-line:last-child { border-bottom: 0; }
.ix-line .nm { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.ix-line .op { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.ix-line .rt { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ix-vm { font-size: 13px; font-weight: 600; color: var(--cta); margin-top: 3px; background: none; border: 0; padding: 0; }
.ix-flagmsg { display: flex; gap: 6px; align-items: center; color: var(--warn); font-size: 13px; font-weight: 700; margin-top: 4px; }
.ix-rad { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--cta); cursor: pointer; margin: 0; font-weight: 400; }
.ix-rad input { margin-top: 3px; accent-color: var(--cta); width: 18px; height: 18px; }
.ix-rad:not(:has(input:checked)) { box-shadow: inset 0 0 0 1.5px var(--line); }
.ix-rad b { display: block; }
.ix-rad small { color: var(--ink-2); font-size: 14px; }
.ix-promo-f { display: flex; gap: 8px; }
.ix-promo-f .ix-input { text-transform: uppercase; letter-spacing: .04em; }
.ix-paybar { display: none; }
@media (max-width: 1023px) {
  .ix-cartg { grid-template-columns: minmax(0, 1fr); }
  .ix-cartg .ix-aside { position: static; }
  .ix-aside .ix-paybtn { display: none; }
  .ix-paybar { display: block; position: fixed; z-index: 1029; left: 50%; transform: translateX(-50%); bottom: calc(82px + env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100% - 20px)); }
  .ix-paybar .ix-btn { box-shadow: 0 14px 30px -12px rgba(122,31,43,.55); border-radius: 18px; }
  /* same faded look as a disabled button, but solid so the page does not show through the floating bar */
  .ix-paybar .ix-btn:disabled { opacity: 1; background: color-mix(in srgb, var(--cta) 45%, var(--bg)); box-shadow: none; }
}

/* result / orders */
.ix-done { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-block: clamp(28px, 5vw, 64px); }
.ix-done .ok, .ix-done .ko { width: 80px; height: 80px; border-radius: 50%; color: #fff; display: grid; place-items: center; }
.ix-done .ok { background: var(--ok); animation: ix-pop .5s cubic-bezier(.3,1.6,.5,1); }
.ix-done .ko { background: var(--err); }
@keyframes ix-pop { from { transform: scale(.4); } to { transform: scale(1); } }
.ix-done h1 { font-family: var(--f-d); font-size: clamp(34px, 4.6vw, 58px); line-height: 1; }
.ix-olist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; padding-bottom: 60px; }
.ix-oc { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.ix-oc .th { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--sunk); }
.ix-oc .th img { width: 100%; height: 100%; object-fit: contain; }
.ix-oc .top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ix-oc .meta { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.ix-oc .ft { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
@media (max-width: 399px) { .ix-oc { grid-template-columns: 64px minmax(0, 1fr); } .ix-oc .th { width: 64px; height: 64px; } }

/* toasts (bootstrap-notify restyled) */
.ix [data-notify="container"], .ix-admin [data-notify="container"] { border: 0 !important; border-radius: 14px !important; padding: 12px 18px !important; font: 600 15px/1.4 var(--f-u) !important; box-shadow: var(--shadow) !important; max-width: min(420px, calc(100% - 32px)); }
.ix .alert-success[data-notify], .ix-admin .alert-success[data-notify] { background: var(--ink) !important; color: var(--bg) !important; }
.ix .alert-danger[data-notify], .ix-admin .alert-danger[data-notify] { background: var(--err) !important; color: #fff !important; }
.ix .alert-warning[data-notify], .ix-admin .alert-warning[data-notify], .ix .alert-info[data-notify] { background: var(--warn-soft) !important; color: var(--warn) !important; }
.ix [data-notify="dismiss"] { color: inherit !important; opacity: .7; }
/* loading spinner used by the existing scripts */
#cover-spin { position: fixed; inset: 0; background: rgba(255,248,238,.6); z-index: 1060; display: none; }
#cover-spin::after { content: ""; position: absolute; left: 50%; top: 45%; width: 44px; height: 44px; margin-left: -22px; border: 4px solid var(--line); border-top-color: var(--cta); border-radius: 50%; animation: ix-spin .8s linear infinite; }
@keyframes ix-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .ix *, .ix-admin * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ============ ADMIN PORTAL (body.ix-admin, Bootstrap 3 underneath) ============ */
.ix-adm { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.ix-side { position: sticky; top: 0; height: 100vh; overflow: auto; background: var(--night); color: var(--on-night); padding: 18px 14px 20px; display: flex; flex-direction: column; gap: 4px; z-index: 1040; }
.ix-side .ix-wm { color: var(--on-night); padding: 4px 10px 18px; }
.ix-side .ix-wm b i { color: var(--gold); }
.ix-side .ix-wm small { color: var(--gold); }
.ix-side .grp-l { font-family: var(--f-m); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); padding: 14px 12px 6px; }
.ix-side a, .ix-side button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 12px; text-decoration: none !important; color: var(--on-night-2); font-weight: 500; font-size: 15px; text-align: left; }
.ix-side a:hover, .ix-side button:hover { background: rgba(255,248,238,.07); color: var(--on-night); }
.ix-side a.on { background: var(--cta); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.ix-side a .n { margin-left: auto; min-width: 24px; height: 22px; border-radius: 11px; background: var(--cta); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.ix-side a .n:empty { display: none; }
.ix-side a.on .n { background: var(--gold); color: #252525; }
.ix-side .bottom { margin-top: auto; border-top: 1px solid var(--night-line); padding-top: 10px; }
.ix-amain { min-width: 0; display: flex; flex-direction: column; }
.ix-atop { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: 12px; height: 64px; padding-inline: clamp(16px, 2.4vw, 32px); background: var(--bg); background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ix-atop h1 { font-family: var(--f-d); font-size: clamp(24px, 2.4vw, 32px); line-height: 1; margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.ix-atop .r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ix-atop .menu-btn { display: none; }
.ix-abody { padding: clamp(16px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ix-scrim { display: none; }
@media (max-width: 1023px) {
  .ix-adm { grid-template-columns: minmax(0, 1fr); }
  .ix-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); height: auto; transform: translateX(-102%); transition: transform .3s cubic-bezier(.2,.9,.3,1); }
  .ix-side.open { transform: none; box-shadow: 0 0 0 100vmax var(--scrim); }
  .ix-scrim.open { display: block; position: fixed; inset: 0; background: var(--scrim); z-index: 1035; }
  .ix-atop .menu-btn { display: inline-grid; }
  .ix-atop .hide-m { display: none; }
}
/* admin: restyle Bootstrap 3 building blocks */
.ix-admin .panel, .ix-admin .well, .ix-admin .box, .ix-admin .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: none; }
.ix-admin .panel-heading { background: transparent !important; border-bottom: 1px solid var(--line); border-radius: var(--r-l) var(--r-l) 0 0; font-weight: 700; color: var(--ink) !important; padding: 14px 18px; }
.ix-admin .panel-body { padding: 18px; }
.ix-admin .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 15.5px/1.55 var(--f-u); box-shadow: none; white-space: nowrap; }
.ix-admin .btn-primary, .ix-admin .btn-success, .ix-admin .btn-info, .ix-admin .site-btn-green { background: var(--cta) !important; color: #fff !important; }
.ix-admin .btn-primary:hover, .ix-admin .btn-success:hover, .ix-admin .btn-info:hover { background: var(--cta-hover) !important; }
.ix-admin .btn-default, .ix-admin .btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.ix-admin .btn-danger { background: transparent; color: var(--err); box-shadow: inset 0 0 0 1.5px var(--err); }
.ix-admin .btn-warning { background: var(--warn-soft); color: var(--warn); }
.ix-admin .table { background: var(--surface); margin: 0; }
.ix-admin .table > thead > tr > th { font-family: var(--f-m); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; border-bottom: 1px solid var(--line) !important; padding: 13px 12px; background: var(--surface); }
.ix-admin .table > tbody > tr > td { border-top: 1px solid var(--line) !important; padding: 12px; vertical-align: middle; }
.ix-admin .table-striped > tbody > tr:nth-of-type(odd) { background: color-mix(in srgb, var(--sunk) 25%, transparent); }
.ix-admin .table-bordered, .ix-admin .table-bordered > thead > tr > th, .ix-admin .table-bordered > tbody > tr > td { border-left: 0 !important; border-right: 0 !important; }
.ix-admin .table-responsive, .ix-admin .dataTables_wrapper { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 12px; overflow-x: auto; }
.ix-admin .dataTables_wrapper .dataTables_filter input, .ix-admin .dataTables_wrapper .dataTables_length select { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; min-height: 40px; background: var(--surface); }
.ix-admin .dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 10px !important; border: 0 !important; }
.ix-admin .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--cta) !important; color: #fff !important; }
.ix-admin .label { border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.ix-admin .label-success { background: var(--ok-soft); color: var(--ok); }
.ix-admin .label-danger { background: var(--err-soft); color: var(--err); }
.ix-admin .label-primary, .ix-admin .label-info { background: var(--info-soft); color: var(--info); }
.ix-admin .label-warning { background: var(--warn-soft); color: var(--warn); }
.ix-admin .modal-backdrop.in { opacity: 1; background: var(--scrim); }
.ix-admin .modal-content { border: 0; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
/* the portal's add/edit windows look like the design's sheets */
.ix-admin .modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 0; padding: 20px clamp(18px, 3vw, 26px) 8px; }
.ix-admin .modal-header::before, .ix-admin .modal-header::after, .ix-admin .modal-footer::before, .ix-admin .modal-footer::after { display: none; }
.ix-admin .modal-header .modal-title, .ix-admin .modal-header h4 { font-family: var(--f-d); font-size: 30px; line-height: 1; font-weight: 400; margin: 0; }
.ix-admin .modal-header .close { float: none; order: 2; flex: none; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: var(--sunk); opacity: 1; color: var(--ink); text-shadow: none; font: 400 26px/1 var(--f-u); display: grid; place-items: center; }
.ix-admin .modal-body { padding: 4px clamp(18px, 3vw, 26px) 8px; }
.ix-admin .modal-footer { display: flex; justify-content: flex-end; gap: 10px; border-top: 0; padding: 12px clamp(18px, 3vw, 26px) 20px; }
.ix-admin .modal-footer .btn + .btn { margin-left: 0; }
.ix-admin input[type=checkbox], .ix-admin input[type=radio] { accent-color: var(--cta); }
.ix-admin .sweet-alert { border-radius: 24px; font-family: var(--f-u); }
.ix-admin .sweet-alert h2 { font-family: var(--f-d); font-weight: 400; }
.ix-admin .sweet-alert button.confirm { background: var(--cta) !important; border-radius: 999px; box-shadow: none !important; }
.ix-admin .sweet-alert button.cancel { background: var(--sunk); color: var(--ink); border-radius: 999px; }
@media (max-width: 767px) {
  .ix-admin .table-responsive, .ix-admin .dataTables_wrapper { border-radius: 16px; padding: 8px; }
}
/* admin add/edit windows (Bootstrap 3 modals with span labels) */
.ix-admin .modal-dialog { margin: 40px auto; }
.ix-admin .modal-body .form-group > span, .ix-admin .ac-name, .ix-admin .anm-name { display: block; font-weight: 600; font-size: 14.5px; margin: 12px 0 6px; color: var(--ink); }
.ix-admin .modal-body .form-group > br { display: none; }
.ix-admin .modal-body input[type=checkbox], .ix-admin .modal-body input[type=radio] { width: 20px; height: 20px; margin: 0 0 0 4px; vertical-align: middle; }
.ix-admin .modal-footer .btn { min-width: 96px; }
@media (max-width: 767px) {
  .ix-admin .modal-dialog { margin: 0; position: fixed; left: 0; right: 0; bottom: 0; width: auto; }
  .ix-admin .modal-content { border-radius: 24px 24px 0 0; max-height: 92vh; overflow: auto; }
}
.ix-admin .delivery-tbl { margin-top: 4px; }
.ix-admin .dataTables_wrapper .dataTables_filter { margin-bottom: 10px; }
.ix-admin .dataTables_wrapper .dataTables_filter input { margin-left: 0; width: min(320px, 100%); }
.ix-admin table.dataTable { border-collapse: collapse !important; }
.ix-admin table.dataTable thead th { border-bottom: 1px solid var(--line) !important; }
.ix-admin table.dataTable.no-footer { border-bottom: 0; }
/* admin data tables: DataTables with dom '<"ix-toolbar"fl><"ix-tcard"t<"ix-pager"ip>>' look like the prototype */
.ix-admin .dataTables_wrapper.ix-dt { background: none; border: 0; border-radius: 0; padding: 0; overflow: visible; display: flex; flex-direction: column; gap: 18px; }
.ix-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ix-toolbar .dataTables_filter, .ix-toolbar .dataTables_length { float: none; margin: 0; padding: 0; text-align: left; }
.ix-toolbar .dataTables_filter { flex: 1 1 260px; max-width: 420px; }
.ix-toolbar .dataTables_filter label { position: relative; display: flex; align-items: center; width: 100%; margin: 0; font-size: 0; }
.ix-toolbar .dataTables_filter label::before { content: ""; position: absolute; left: 15px; width: 19px; height: 19px; background: currentColor; color: var(--ink-3); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; pointer-events: none; }
.ix-admin .ix-toolbar .dataTables_filter input { width: 100% !important; max-width: none; margin: 0; height: 46px; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 44px; font: 400 16px/1.55 var(--f-u); color: var(--ink); }
.ix-admin .ix-toolbar .dataTables_filter input:focus { outline: none; border-color: var(--ink); }
.ix-toolbar .dataTables_length label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.ix-admin .ix-toolbar .dataTables_length select { width: auto; min-height: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 12px; font: 400 16px var(--f-u); color: var(--ink); }
.ix-toolbar .ix-stat-strip { margin-left: auto; }
.ix-stat-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.ix-tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow-x: auto; }
.ix-admin table.dataTable, .ix-tbl { width: 100% !important; border-collapse: collapse !important; font-size: 14.5px; margin: 0 !important; border: 0 !important; background: var(--surface); }
.ix-admin table.dataTable thead th, .ix-tbl th { text-align: left; font-family: var(--f-m); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 13px 12px !important; border-bottom: 1px solid var(--line) !important; border-top: 0 !important; white-space: nowrap; background-color: var(--surface); }
/* sort icon right after the column name, like the design */
.ix-admin table.dataTable thead .sorting, .ix-admin table.dataTable thead .sorting_asc, .ix-admin table.dataTable thead .sorting_desc { background-image: none !important; padding-right: 12px !important; }
.ix-admin table.dataTable thead .sorting::after, .ix-admin table.dataTable thead .sorting_asc::after, .ix-admin table.dataTable thead .sorting_desc::after { content: ""; display: inline-block; width: 13px; height: 13px; margin-left: 4px; vertical-align: -2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9l4-4 4 4M8 15l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9l4-4 4 4M8 15l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .35; }
.ix-admin table.dataTable thead .sorting_asc::after, .ix-admin table.dataTable thead .sorting_desc::after { opacity: 1; }
.ix-admin table.dataTable tbody td, .ix-tbl td { padding: 12px !important; border-top: 0 !important; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ix-admin table.dataTable tbody tr:last-child td, .ix-tbl tr:last-child td { border-bottom: 0; }
.ix-admin table.dataTable tbody tr, .ix-admin table.dataTable.stripe tbody tr.odd, .ix-admin table.dataTable.display tbody tr.odd { background: var(--surface); }
.ix-admin table.dataTable tbody tr:hover td, .ix-tbl tbody tr:hover td { background: color-mix(in srgb, var(--sunk) 45%, transparent); }
.ix-admin table.dataTable td.dataTables_empty { text-align: center; padding: 40px 12px !important; color: var(--ink-2); }
.ix-admin .dataTables_processing { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; color: var(--ink-2); height: auto; padding: 12px; }
.ix-acts { display: flex; gap: 6px; flex-wrap: nowrap; }
.ix-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.ix-pager .dataTables_info, .ix-pager .dataTables_paginate { float: none; padding: 0 !important; margin: 0; font-size: 14px; color: var(--ink-2); text-align: left; }
.ix-pager .dataTables_paginate { display: flex; gap: 6px; align-items: center; }
.ix-pager .dataTables_paginate > span { display: flex; gap: 6px; }
.ix-admin .ix-pager .paginate_button, .ix-admin .ix-pager .paginate_button:hover { min-width: 38px; height: 38px; padding: 0 8px !important; margin: 0 !important; border-radius: 10px !important; border: 0 !important; box-shadow: inset 0 0 0 1.5px var(--line); background: none !important; color: var(--ink) !important; font-weight: 600; display: inline-grid; place-items: center; text-decoration: none !important; }
.ix-admin .ix-pager .paginate_button.current, .ix-admin .ix-pager .paginate_button.current:hover { background: var(--cta) !important; color: var(--on-cta) !important; box-shadow: none; }
.ix-admin .ix-pager .paginate_button.disabled, .ix-admin .ix-pager .paginate_button.disabled:hover { opacity: .35; cursor: default; }
.ix-admin .ix-pager .ellipsis { padding: 0 4px; }
.ix-pager.single { display: none; }
@media (min-width: 1366px) and (max-width: 1439px) { .ix-admin table.dataTable td.acts-c .ix-acts { flex-direction: column; align-items: stretch; } }
/* admin data tables become cards below 1366px, like the prototype (cells carry data-l labels) */
@media (max-width: 1365px) {
  .ix-admin table.ix-cards thead { display: none; }
  .ix-admin table.ix-cards, .ix-admin table.ix-cards tbody, .ix-admin table.ix-cards tr, .ix-admin table.ix-cards td { display: block; width: 100% !important; }
  .ix-admin table.ix-cards tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ix-admin table.ix-cards tr:last-child { border-bottom: 0; }
  .ix-admin table.ix-cards > tbody > tr > td { border: 0 !important; padding: 4px 0 !important; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .ix-admin table.ix-cards > tbody > tr > td::before { content: attr(data-l); font-family: var(--f-m); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: left; flex: none; padding-top: 3px; }
  .ix-admin table.ix-cards > tbody > tr > td.head { font-weight: 700; font-size: 16px; justify-content: flex-start; text-align: left; padding-bottom: 6px !important; }
  .ix-admin table.ix-cards > tbody > tr > td.head::before, .ix-admin table.ix-cards > tbody > tr > td.acts-c::before { display: none; }
  .ix-admin table.ix-cards > tbody > tr > td.acts-c { padding-top: 10px !important; justify-content: flex-start; }
  .ix-admin table.ix-cards > tbody > tr > td .ix-acts { flex-wrap: wrap; justify-content: flex-end; }
  .ix-admin table.ix-cards > tbody > tr > td.acts-c .ix-acts { justify-content: flex-start; }
  .ix-admin table.ix-cards tbody tr:hover td { background: none; }
  .ix-admin table.ix-cards td.dataTables_empty { display: block; text-align: center; }
  .ix-admin table.ix-cards td.dataTables_empty::before { display: none; }
}
/* admin menu management: Menu > Category > Product > Modifier > Modifier item > Sub modifier item (drill-down columns) */
.ix-mm-crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.ix-mm-crumbs button { font-weight: 600; color: var(--cta); }
.ix-mm-crumbs button:last-child { color: var(--ink); }
.ix-mm { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.ix-mm > div { display: flex; min-width: 0; }
.ix-mcol { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); display: flex; flex-direction: column; min-height: 420px; max-height: calc(100vh - 230px); scroll-snap-align: start; min-width: 0; width: 100%; }
.ix-mcol.dim { opacity: .55; }
.ix-mcol-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.ix-mcol-h b { font-size: 15.5px; }
.ix-mcol-h small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.ix-mcol-h .back { display: none; }
.ix-mcol-b { overflow: auto; padding: 6px; flex: 1; }
.ix-mrow { display: flex; align-items: center; gap: 10px; padding: 9px 8px 9px 10px; border-radius: 12px; cursor: pointer; position: relative; }
.ix-mrow:hover { background: var(--sunk); }
.ix-mrow.sel { background: var(--cta); color: var(--on-cta); }
.ix-mrow.sel .ix-chip { background: rgba(255,255,255,.18); color: inherit; }
.ix-mrow.sel .sub { color: inherit; }
.ix-mrow.sel .tg input:not(:checked) { background: rgba(255,255,255,.35); }
.ix-mrow .th { flex: none; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; background: var(--sunk); }
.ix-mrow .th img { width: 100%; height: 100%; object-fit: contain; }
.ix-mrow .tx { flex: 1; min-width: 0; }
.ix-mrow .tx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.ix-mrow .sub { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ix-mrow .ra { display: flex; gap: 2px; flex: none; }
.ix-mrow.prod { align-items: flex-start; }
.ix-mrow.prod .ra { flex-direction: column; }
.ix-mrow .tgs { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.ix-mrow .ra .ix-ibtn { width: 34px; height: 34px; }
.ix-mrow.sel .ra .ix-ibtn:hover { background: rgba(255,255,255,.12); }
.ix-mrow.off .tx b { text-decoration: line-through; opacity: .6; }
.ix-mrow .tg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ix-mrow .tg input { width: 34px; height: 20px; appearance: none; -webkit-appearance: none; border-radius: 10px; background: var(--line-2); position: relative; transition: background .2s; cursor: pointer; flex: none; margin: 0; }
.ix-mrow .tg input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ix-mrow .tg input:checked { background: var(--ok); }
.ix-mrow .tg input.so:checked { background: var(--err); }
.ix-mrow .tg input:checked::after { transform: translateX(14px); }
.ix-mcol-empty { padding: 24px 14px; text-align: center; color: var(--ink-3); font-size: 14px; }
@media (max-width: 1023px) {
  .ix-mm { display: block; }
  .ix-mm > div { display: none; }
  .ix-mm > div.cur { display: flex; }
  .ix-mcol { max-height: none; min-height: 0; }
  .ix-mcol-h .back { display: inline-grid; }
}
.ix-adm-form { max-width: 880px; }
.ix-fsec { display: flex; flex-direction: column; gap: 14px; }
.ix-fsec + .ix-fsec { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.ix-fsec h3 { font-weight: 700; font-size: 16px; }
.ix-sticky-save { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; justify-content: flex-end; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--bg) 30%); }
.ix-qrbox { display: grid; place-items: center; padding: 20px; background: #fff; border-radius: 18px; width: max-content; max-width: 100%; }
.ix-qrbox canvas, .ix-qrbox img { max-width: 100%; height: auto; }
.ix-days { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-days label { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 14.5px; cursor: pointer; margin: 0; }
.ix-days label:has(input:checked) { background: var(--cta); color: var(--on-cta); box-shadow: none; }
.ix-days input { accent-color: var(--gold); }
.ix-segr { display: flex; flex-direction: column; gap: 8px; }
.ix-segr label { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 500; margin: 0; }
.ix-segr label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--cta); background: color-mix(in srgb, var(--cta) 5%, var(--surface)); }
.ix-segr input { accent-color: var(--cta); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.ix-segr small { display: block; color: var(--ink-2); font-size: 13.5px; font-weight: 400; }
.ix-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ix-login .l { background: var(--night); color: var(--on-night); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.ix-login .l h1 { font-family: var(--f-d); font-size: clamp(36px, 4.6vw, 64px); line-height: 1; color: var(--on-night); }
.ix-login .r { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px) var(--gut); }
.ix-login .r form { width: min(420px, 100%); }
@media (max-width: 1023px) { .ix-login { grid-template-columns: minmax(0, 1fr); } .ix-login .l { padding-block: 28px; } .ix-login .l .big { display: none; } }

/* reCAPTCHA is a fixed 304px widget; shrink it on very small phones */
@media (max-width: 360px) { .g-recaptcha { transform: scale(.86); transform-origin: 0 0; } }
