/* Generisano: tools/fonts.mjs — ne uređivati ručno */
/* arabic */
@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/el-messiri-arabic-1b5822cd.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/el-messiri-latin-ext-6e9d5a53.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/el-messiri-latin-a4f25685.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/figtree-latin-ext-a310474d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/figtree-latin-57fd1acf.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(/fonts/fraunces-latin-ext-beafff60.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(/fonts/fraunces-latin-c038bfdb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Torpedo — stilovi stranice.
 * Boje su iz loga (Torpedo Logo Final, 2022). Mobilno prvo; logička svojstva
 * (inline/block) da arapska verzija radi zdesna nalijevo bez posebnog CSS-a.
 */

:root {
  --red: #e9212b;
  --red-deep: #be1e2d;
  --red-ink: #8f1420;
  --orange: #f9ab1d;
  --gold: #fbb040;
  --sun: #fff200;

  --cream: #fff6e6;
  --paper: #fffbf4;
  --ink: #2b1715;
  --ink-2: #5a423d;
  --muted: #86706a;
  --line: rgb(43 23 21 / .12);
  --slate: #2c3c4b;
  --slate-2: #22303c;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 0 rgb(43 23 21 / .04), 0 10px 30px -14px rgb(43 23 21 / .35);
  --wrap: 1180px;
  --gutter: 16px;
  --bar: 0px;

  color-scheme: light;
}
:root[lang="ar"] {
  --font-display: "El Messiri", "Segoe UI", Tahoma, sans-serif;
  --font-body: "El Messiri", system-ui, "Segoe UI", Tahoma, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (max-width: 899px) { :root { --bar: 68px; } }

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1.02; letter-spacing: -.01em; margin: 0; color: var(--ink); }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3 { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[dir="ltr"] { unicode-bidi: isolate; }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 0 -1px var(--red-ink); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: .95rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
:root[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---------- zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 246 230 / .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Samo traka zaglavlja (direktno dijete). Meni (.drawer nav) nosi istu klasu .wrap —
 * sa ".site-header .wrap" dobijao je flex i visinu 68px, pa su linkovi stajali u
 * jednom redu i izlazili desno van ekrana na telefonu. */
.site-header > .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; gap: 4px; margin-inline-start: 12px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--ink); background: rgb(43 23 21 / .06); }
.nav a[aria-current="page"] { color: var(--red-deep); }
.head-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; font-size: .85rem; font-weight: 700; }
.langs a { padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--muted); }
.langs a[aria-current="true"] { color: var(--ink); background: rgb(43 23 21 / .07); }
.langs a[lang="ar"] { font-family: system-ui, "Segoe UI", Tahoma, sans-serif; }
.head-order { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgb(43 23 21 / .06); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.drawer.open { display: block; }
.drawer nav { display: grid; padding: 8px 0 14px; }
.drawer a { padding: 14px 4px; font: 900 1.5rem/1.1 var(--font-display); text-decoration: none; border-bottom: 1px solid var(--line); }
:root[lang="ar"] .drawer a { font-weight: 700; }
.drawer a:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .head-order { display: inline-flex; }
  .menu-btn, .drawer, .drawer.open { display: none; }
}

/* ---------- mobilna traka ---------- */
.actionbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgb(43 23 21 / .96); backdrop-filter: blur(8px);
}
.actionbar a { min-height: 48px; }
.actionbar .btn-red { box-shadow: none; }
.actionbar .icon-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; border-radius: 14px; color: var(--cream); text-decoration: none; font-size: .72rem; font-weight: 600; background: rgb(255 255 255 / .08); }
.actionbar .icon-btn svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .actionbar { display: none; } }

/* ---------- čipovi ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.chip.is-open .dot { background: #1f9d55; box-shadow: 0 0 0 4px rgb(31 157 85 / .18); }
.chip.is-closed .dot { background: var(--red); }
.chip .star { color: var(--orange); }
a.chip:hover { border-color: var(--ink-2); }

/* ---------- cijena: uz naziv jela; fotografija ostaje čista ---------- */
.price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-tag { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--red-deep); line-height: 1.1; }
.price-tag b { font-weight: 800; font-size: 1.08em; }
.price-tag small { font-size: .72em; font-weight: 600; color: var(--muted); }

/* pečat cijene — samo na velikoj fotografiji, krug u duhu loga */
.seal {
  position: absolute; inset-inline-end: 3%; bottom: 5%; width: 5.6rem; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--red-deep); color: var(--cream); transform: rotate(-8deg);
  box-shadow: inset 0 0 0 5px var(--red-deep), inset 0 0 0 6.5px var(--cream), var(--shadow);
}
.seal span { display: grid; justify-items: center; line-height: 1; font-family: var(--font-body); }
.seal b { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.seal small { font-size: .74rem; font-weight: 600; margin-top: 3px; letter-spacing: .08em; }

/* ---------- smajli potez iz loga ---------- */
.smile { display: inline-block; position: relative; color: var(--red); }
.smile::after {
  content: ""; position: absolute; inset-inline: 4% 4%; bottom: -.16em; height: .26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 6 Q100 34 196 6' fill='none' stroke='%23be1e2d' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- početna: hero ---------- */
.hero { position: relative; padding: 18px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgb(249 171 29 / .28), transparent);
  pointer-events: none;
}
:root[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
.hero .wrap { position: relative; display: grid; gap: 22px; }
.hero-media { position: relative; margin-inline: auto; width: min(100% - 30px, 560px); margin-top: 16px; }
.hero-media .frame {
  position: relative; aspect-ratio: 5 / 4; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 9px var(--sun), 0 0 0 15px var(--red-deep), var(--shadow);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); }
:root[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 5.4rem); margin-top: 10px; text-wrap: balance; }
.hero h1 .l1 { display: block; }
.hero h1 .l2 { display: block; }
.hero .lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 34ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .chips { margin-top: 22px; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero .wrap { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; }
  .hero h1 { font-size: clamp(3rem, 5.6vw, 4.6rem); }
  .hero-media { order: 2; width: calc(100% - 30px); margin-top: 0; }
}

/* ---------- sekcije ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
.section-head p { color: var(--ink-2); margin-top: 6px; }
.link-arrow { font-weight: 700; color: var(--red-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow svg { width: 18px; height: 18px; }
:root[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* kartice jela */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.card { position: relative; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .media { position: relative; aspect-ratio: 4 / 3; background: var(--slate); }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 16px; display: grid; gap: 4px; }
.card h3 { font-size: clamp(1.05rem, 3.6vw, 1.3rem); line-height: 1.12; }
.card .desc { font-size: .86rem; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .name-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 10px; row-gap: 2px; padding-bottom: 7px; margin-bottom: 3px; border-bottom: 1px dashed rgb(43 23 21 / .16); }
.card .name-row h3 { flex: 1 1 8rem; }
.card .price-tag { font-size: 1.02rem; }
.tag { position: absolute; inset-inline-start: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgb(255 251 244 / .9); color: var(--ink-2); }

/* traka halal */
.halal-band { background: var(--red-deep); color: var(--cream); position: relative; overflow: hidden; }
.halal-band .wrap { display: grid; gap: 14px; padding: 56px 0; position: relative; }
.halal-band h2 { color: var(--cream); font-size: clamp(3rem, 14vw, 7.5rem); line-height: .9; }
.halal-band h2 em { font-style: normal; color: var(--orange); }
.halal-band p { font-size: clamp(1.15rem, 3.4vw, 1.6rem); max-width: 30ch; font-weight: 600; }
.halal-band .link-arrow { color: var(--sun); }
.halal-band::after {
  content: none; position: absolute; inset-inline-end: -120px; bottom: -160px; width: 460px; height: 320px; border-radius: 50%;
  border: 3px solid rgb(255 242 0 / .5); box-shadow: 0 0 0 18px rgb(249 171 29 / .25);
}
@media (min-width: 900px) { .halal-band .wrap { grid-template-columns: 1.2fr 1fr; align-items: end; padding: 80px 0; } .halal-band::after { content: ""; } }

/* kombinacije */
/* minmax(0, 1fr) a ne 1fr: "1fr" ne smije ispod najduže riječi naslova, pa su kartice
 * (slika + naslov + cijena bez prijeloma) na telefonima ≤ 390px bile šire od ekrana. */
.combos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 720px) { .combos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .combos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.combo { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); }
.combo > div, .dish > div { min-width: 0; }
.combo h3, .dish h3 { overflow-wrap: break-word; hyphens: auto; }
.combo .thumb { position: relative; width: 112px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--slate); }
.combo .thumb img { width: 100%; height: 100%; object-fit: cover; }
.combo h3 { font-size: 1.12rem; line-height: 1.15; }
.combo .inc { font-size: .85rem; color: var(--ink-2); margin-top: 3px; }
.combo .save { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 700; color: #17713e; background: rgb(31 157 85 / .12); padding: 2px 8px; border-radius: 999px; }
.combo .price-tag { font-size: 1.12rem; margin-inline-end: 6px; }

/* ocjena */
.rating { display: grid; gap: 18px; align-items: center; background: var(--slate); color: var(--cream); border-radius: var(--r-lg); padding: 30px 24px; }
.rating .big { font: 900 clamp(4.2rem, 18vw, 7rem)/.9 var(--font-display); color: var(--orange); }
.rating .stars { color: var(--sun); font-size: 1.5rem; letter-spacing: 4px; }
.rating h2 { color: var(--cream); font-size: clamp(1.8rem, 5vw, 2.6rem); }
.rating p { color: rgb(255 246 230 / .82); margin-top: 6px; }
.rating .btn { margin-top: 16px; }
@media (min-width: 720px) { .rating { grid-template-columns: auto 1fr; gap: 40px; padding: 40px 48px; } }

/* posjeta / lokacija */
.visit { display: grid; gap: 18px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.15fr; gap: 28px; } }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.panel h2, .panel h3 { font-size: 1.5rem; margin-bottom: 12px; }
.panel + .panel { margin-top: 0; }
.info { display: grid; gap: 20px; }
.info .label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
:root[lang="ar"] .info .label { letter-spacing: 0; font-size: .9rem; }
.info .addr { font: 900 1.45rem/1.15 var(--font-display); }
:root[lang="ar"] .info .addr { font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: end; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--red-deep); }
.hours tr.today td:first-child::after { content: " · " attr(data-today); font-weight: 600; font-size: .85em; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.map {
  position: relative; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; background: var(--slate);
  display: grid; place-items: center; text-align: center; color: var(--cream); box-shadow: var(--shadow);
  background-image:
    linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px),
    linear-gradient(28deg, transparent 47%, rgb(249 171 29 / .5) 47.5%, rgb(249 171 29 / .5) 49.5%, transparent 50%),
    linear-gradient(-62deg, transparent 58%, rgb(255 255 255 / .16) 58.5%, rgb(255 255 255 / .16) 60%, transparent 60.5%);
  background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .pin { width: 56px; height: 56px; margin: 0 auto 10px; color: var(--red); filter: drop-shadow(0 6px 10px rgb(0 0 0 / .35)); }
.map .inner { padding: 24px; display: grid; gap: 10px; justify-items: center; }
.map .inner strong { font: 900 1.4rem/1.1 var(--font-display); }
:root[lang="ar"] .map .inner strong { font-weight: 700; }
.map .note { font-size: .78rem; opacity: .75; max-width: 30ch; }

/* ---------- podnaslov stranice ---------- */
.page-head { padding: 34px 0 18px; }
.page-head h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); }
.page-head p { margin-top: 12px; color: var(--ink-2); max-width: 58ch; font-size: 1.06rem; }

/* ---------- jelovnik ---------- */
.menu-nav { position: sticky; top: 68px; z-index: 30; background: rgb(255 246 230 / .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-nav .hs { --hs-bg: rgb(255 246 230); }
.menu-nav .hs-track { padding: 10px 0; }

/* vodoravna traka (site.js): strelica i blijeđenje samo na strani gdje ima još */
.hs { position: relative; --hs-bg: var(--paper); }
.hs-track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.hs-track::-webkit-scrollbar { display: none; }
.hs::before, .hs::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .2s; }
.hs::before { left: 0; background: linear-gradient(to right, var(--hs-bg) 35%, transparent); }
.hs::after { right: 0; background: linear-gradient(to left, var(--hs-bg) 35%, transparent); }
:root[dir="ltr"] .hs.more-start::before, :root[dir="ltr"] .hs.more-end::after,
:root[dir="rtl"] .hs.more-start::after, :root[dir="rtl"] .hs.more-end::before { opacity: 1; }
.hs-btn {
  position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; padding: 0;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: var(--cream); border: 2px solid var(--hs-bg); box-shadow: var(--shadow);
}
.hs-btn[hidden] { display: none; }
.hs-btn svg { width: 18px; height: 18px; }
.hs-btn:hover { background: var(--red-deep); }
.hs-prev { inset-inline-start: 0; }
.hs-next { inset-inline-end: 0; }
.menu-nav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--ink-2); }
.menu-nav a.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.menu-section { padding: 34px 0 10px; }
.menu-section h2 { font-size: clamp(1.9rem, 6vw, 2.7rem); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.menu-section h2::after { content: ""; flex: 1; height: 3px; background: linear-gradient(90deg, var(--orange), transparent); border-radius: 3px; }
:root[dir="rtl"] .menu-section h2::after { background: linear-gradient(-90deg, var(--orange), transparent); }
.menu-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; } }
.dish { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.dish .thumb { position: relative; width: 96px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--slate); }
.dish .thumb img { width: 100%; height: 100%; object-fit: cover; }
.dish .thumb .tag { inset-inline-start: 4px; bottom: 4px; font-size: .58rem; padding: 2px 6px; }
.dish h3 { font-size: 1.12rem; line-height: 1.15; }
.dish .desc { font-size: .86rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.dish .price { font-size: 1.05rem; padding-inline-end: 6px; }
.dish.no-img { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; }
/* Mali telefoni (≤ 400px): manja slika ostavlja mjesta naslovu i cijeni */
@media (max-width: 400px) {
  .combo { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 10px; }
  .combo .thumb { width: 84px; }
  .dish { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; }
  .dish .thumb { width: 76px; }
  .combo h3, .dish h3 { font-size: 1.02rem; }
}
.drinks { display: grid; gap: 0 28px; background: var(--paper); border-radius: var(--r); padding: 8px 20px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .drinks { grid-template-columns: 1fr 1fr; } }
.drinks li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.drinks li .fill { flex: 1; border-bottom: 2px dotted rgb(43 23 21 / .2); transform: translateY(-4px); }
.drinks li small { display: block; color: var(--muted); font-size: .78rem; }
.drinks ul, ul.drinks { list-style: none; margin: 0; padding: 0; }
.notes { display: grid; gap: 14px; margin: 34px 0 10px; }
@media (min-width: 720px) { .notes { grid-template-columns: 1fr 1fr; } }
.note { border: 2px dashed rgb(190 30 45 / .35); border-radius: var(--r); padding: 18px 20px; }
.note h3 { font-size: 1.25rem; margin-bottom: 6px; }
.note p { color: var(--ink-2); }

/* ---------- o nama ---------- */
.split { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.split .media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--slate); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 12px; }
.split p { color: var(--ink-2); font-size: 1.08rem; }
.tiles { display: grid; gap: 14px; }
@media (min-width: 720px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.tile .media { position: relative; aspect-ratio: 3 / 2; background: var(--slate); }
.tile .media img { width: 100%; height: 100%; object-fit: cover; }
.tile .body { padding: 14px 16px 18px; }
.tile h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tile p { color: var(--ink-2); font-size: .93rem; }
.facts { display: grid; gap: 14px; }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- naruči ---------- */
.options { display: grid; gap: 16px; }
@media (min-width: 900px) { .options { grid-template-columns: 1.25fr 1fr 1fr; align-items: stretch; } }
.option { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--paper); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.option h2 { font-size: 1.65rem; }
.option p { color: var(--ink-2); }
.option .btn { margin-top: auto; align-self: start; }
.option.primary { background: var(--slate); color: var(--cream); }
.option.primary h2 { color: var(--cream); }
.option.primary p { color: rgb(255 246 230 / .82); }
.option .small { font-size: .8rem; opacity: .8; }
.option .partner { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border-radius: 12px; align-self: start; }
.option .partner img { height: 26px; width: auto; }
.option .partner .wordmark { font: 800 1.15rem/1 var(--font-body); color: #e4002b; letter-spacing: -.01em; }
.option .soon { position: absolute; inset-inline-end: 18px; top: 18px; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: .75rem; font-weight: 800; }
.option ul { margin: 0; padding-inline-start: 1.1em; color: var(--ink-2); display: grid; gap: 4px; }

/* ---------- podnožje ---------- */
.site-footer { background: var(--slate-2); color: rgb(255 246 230 / .86); margin-top: 72px; }
.site-footer .wrap { display: grid; gap: 28px; padding: 48px 0 28px; }
.site-footer .logo img { height: 64px; width: auto; }
.site-footer .tag-line { font: 900 1.4rem/1.15 var(--font-display); color: var(--cream); margin-top: 12px; }
:root[lang="ar"] .site-footer .tag-line { font-weight: 700; }
.site-footer h3 { font: 800 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
:root[lang="ar"] .site-footer h3 { letter-spacing: 0; font-size: .95rem; }
.site-footer a { color: var(--cream); }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer .bottom { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 18px; font-size: .82rem; color: rgb(255 246 230 / .6); }
.site-footer .bottom a { color: rgb(255 246 230 / .8); }
.site-footer .halal-line { color: var(--sun); font-weight: 700; }
@media (min-width: 900px) {
  .site-footer .wrap { grid-template-columns: 1fr 2.2fr; }
  .site-footer .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer .bottom { grid-column: 1 / -1; }
}
.site-footer .hours-mini { display: grid; gap: 4px; font-size: .92rem; }
.site-footer .hours-mini span { display: block; color: rgb(255 246 230 / .6); font-size: .8rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 0; display: grid; gap: 16px; justify-items: center; }
.notfound .big { font: 900 7rem/1 var(--font-display); color: var(--orange); }

/* slike: blur-up dok se ne učitaju */
.lqip { background-size: cover; background-position: center; }

/* =====================================================================
 * Direktna narudžba (src/js/order/app.js). Build ga spaja sa site.css.
 * ===================================================================== */
.has-order-app .actionbar { display: none; }
body.has-order-app { padding-bottom: env(safe-area-inset-bottom, 0px); }
#order-app { scroll-margin-top: 80px; }
.oa-banner { background: repeating-linear-gradient(-45deg, #fff2c2 0 14px, #ffe9a3 14px 28px); border: 2px solid var(--orange); color: var(--ink); border-radius: var(--r); padding: 12px 16px; font-weight: 700; font-size: .92rem; margin-bottom: 18px; }
.oa-step { background: var(--paper); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
@media (min-width: 720px) { .oa-step { padding: 26px 28px; } }
.oa-step h2 { font-size: 1.55rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.oa-step h2 .no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font: 800 1rem/1 var(--font-body); flex: none; }
.oa-sub { font-size: 1.1rem; margin: 18px 0 10px; }
.oa-hint { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-btn { display: grid; gap: 2px; text-align: start; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); font: inherit; cursor: pointer; min-height: 56px; }
.seg-btn b { font-weight: 700; }
.seg-btn small { color: var(--muted); font-size: .82rem; }
.seg-btn.on { border-color: var(--red); background: #fff; box-shadow: inset 0 0 0 1px var(--red); }
.oa-later { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.oa-later label, .oa-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
/* Samo tekstualna polja — radio i checkbox ne. Sa ".oa-form input" radio za plaćanje je
 * dobijao width:100% i visinu 48px: veliki krug preko cijelog reda, "Gotovina" skraćeno na "G". */
.oa-later select, .oa-form input:not([type=radio]):not([type=checkbox]) { font: inherit; font-size: 1rem; padding: 12px; border-radius: 12px; border: 1.5px solid rgb(43 23 21 / .25); background: #fff; color: var(--ink); min-height: 48px; width: 100%; min-width: 0; }
.oa-form input:not([type=radio]):not([type=checkbox]):focus, .oa-later select:focus { outline: 3px solid rgb(249 171 29 / .5); border-color: var(--orange); }

/* traka kategorija: pomjeranje, strelice i blijeđenje su u .hs (site.css + site.js) */
.oa-chips { padding: 3px 0; }
[data-menu] > .hs { margin-bottom: 6px; }
.oa-chips a { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .85rem; color: var(--ink-2); background: var(--cream); }
.oa-sec { scroll-margin-top: 90px; }
.oa-sec h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.oa-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.oa-item[data-kind="drink"] { grid-template-columns: 1fr auto; }
.oa-item[data-kind="drink"] .oa-thumb { display: none; }
.oa-thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--slate); }
.oa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.oa-txt b { display: block; line-height: 1.2; }
.oa-txt small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.oa-end { display: flex; align-items: center; gap: 10px; }
.oa-add { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font: 700 1.5rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; flex: none; }
.oa-add:hover { background: var(--red-deep); }
.oa-item.off { opacity: .45; }
.oa-item.off .oa-add { pointer-events: none; background: var(--muted); }

.oa-empty { color: var(--muted); }
.oa-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.oa-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.oa-lines small { display: block; color: var(--muted); font-size: .82rem; }
.oa-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgb(43 23 21 / .07); color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; flex: none; }
.oa-sum { margin: 8px 0 0; display: grid; gap: 6px; }
.oa-sum div { display: flex; justify-content: space-between; gap: 12px; }
.oa-sum dt { color: var(--ink-2); }
.oa-sum dd { margin: 0; }
.oa-sum .tot { font-size: 1.2rem; font-weight: 800; padding-top: 6px; border-top: 2px solid var(--ink); }
.oa-sum .muted { color: var(--muted); font-size: .9rem; }
.oa-lines li > div:first-child { min-width: 0; overflow-wrap: anywhere; }

/* Status: šta je gost naručio — sklopivo, otvoreno na početku */
.oa-what { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px 10px; background: #fff; }
.oa-what summary { cursor: pointer; padding: 10px 0; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.oa-what .oa-lines li { padding: 8px 0; }

.oa-form { display: grid; gap: 12px; }
@media (min-width: 720px) { .oa-form { grid-template-columns: 1fr 1fr; } .oa-form .wide { grid-column: 1 / -1; } }
.oa-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.oa-loc .ok { color: #17713e; font-weight: 600; font-size: .9rem; }
.oa-loc .warn { color: var(--red-deep); font-weight: 600; font-size: .9rem; }
.oa-pay { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.oa-pay legend { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.oa-pay label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.oa-pay input[type=radio] { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--red); cursor: pointer; }
.oa-pay .dis { color: var(--muted); cursor: default; }
.oa-pay .dis input { cursor: default; }
.oa-pay em { font-style: normal; font-weight: 500; font-size: .85rem; }
.oa-msg { background: #fde8e8; color: var(--red-ink); border-radius: 12px; padding: 10px 14px; margin-top: 14px; font-weight: 600; }
.oa-issues { background: #fff4dc; border-radius: 12px; padding: 12px 16px; margin-top: 14px; font-size: .92rem; }
.oa-issues.info { background: #eef4fb; }
.oa-issues ul { margin: 6px 0 0; padding-inline-start: 1.1em; }
.oa-confirm { width: 100%; margin-top: 18px; min-height: 56px; font-size: 1.05rem; }
.oa-confirm:disabled { background: #c9b9b4; box-shadow: none; cursor: not-allowed; }
.oa-help { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 10px; }

.oa-bar { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 20; margin-top: 8px; }
.oa-bar-in { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: var(--cream); text-decoration: none; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .5); }
.oa-bar-in .n { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; }
.oa-bar-in b { margin-inline-start: auto; }
.oa-bar-in .go { font-weight: 700; color: var(--orange); }

dialog.oa-sheet { border: 0; padding: 0; width: min(100%, 560px); max-height: 92vh; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .5); }
dialog.oa-sheet::backdrop { background: rgb(43 23 21 / .55); }
@media (max-width: 719px) { dialog.oa-sheet { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; } }
.oa-sheet-in { padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; }
.oa-sheet-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.oa-sheet-img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--slate); }
.oa-sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.oa-sheet-head h3 { font-size: 1.35rem; }
.oa-sheet-head p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.oa-opt { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.oa-opt legend, .oa-opt .legend { font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.oa-opt em { color: var(--red); font-style: normal; }
.oa-opt input[name=note] { font: inherit; padding: 12px; border-radius: 12px; border: 1.5px solid rgb(43 23 21 / .25); background: #fff; }
.oa-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.oa-pills label { position: relative; }
.oa-pills input { position: absolute; opacity: 0; inset: 0; }
.oa-pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); font-weight: 600; cursor: pointer; }
.oa-pills input:checked + span { border-color: var(--red); background: #fff; color: var(--red-deep); }
.oa-pills input[type=checkbox]:checked + span { text-decoration: line-through; text-decoration-thickness: 2px; }
.oa-pills input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.oa-sheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; position: sticky; bottom: 0; background: var(--paper); padding-top: 6px; }
.oa-qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.oa-qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.oa-qty output { min-width: 28px; text-align: center; font-weight: 800; }

.oa-done { background: var(--paper); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.oa-done h2 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.oa-demo-note { background: #fff2c2; border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: .9rem; }
.oa-eta { font-size: 1.15rem; font-weight: 700; color: var(--red-deep); }
.oa-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.oa-steps li { position: relative; display: flex; justify-content: space-between; padding-block: 10px; padding-inline: 30px 0; color: var(--muted); }
.oa-steps li::before { content: ""; position: absolute; inset-inline-start: 6px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: #d9cdc9; }
.oa-steps li::after { content: ""; position: absolute; inset-inline-start: 11px; top: 28px; bottom: -14px; width: 2px; background: #e6dcd8; }
.oa-steps li:last-child::after { display: none; }
.oa-steps li.on { color: var(--ink); font-weight: 700; }
.oa-steps li.on::before { background: #1f9d55; }
.oa-steps li.now::before { box-shadow: 0 0 0 5px rgb(31 157 85 / .2); }

/* široki ekran: jelovnik lijevo, narudžba i podaci desno (ljepljivo) */
@media (min-width: 1040px) {
  .oa-flow { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .oa-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; overscroll-behavior: contain; }
  .oa-bar { display: none; }
  .oa-side .oa-form { grid-template-columns: 1fr; }
}

/* promjena načina preuzimanja sa stranice praćenja (Sofra 5001b1f) */
.oa-chg { margin-top: 14px; }
.oa-chg h3 { font-size: 1.25rem; margin-bottom: 6px; }
.oa-chg .seg { margin-top: 8px; }
.oa-chg-form { margin-top: 10px; }
.oa-chg-sum:empty { display: none; }
.oa-chg-sum { font-size: 1.02rem; }
.oa-chg-state { font-weight: 700; }
.oa-chg-state.ok { color: #17713e; }
.oa-chg-state.bad { color: var(--red-deep); }
