/* Meni platforma — „doživljaj" izgledi: uvod (I-*), izbor cjelina (C-*), raspored stavki (R-*), detalji izgleda (D-*).
   Boje/fontovi: promjenljive iz /tema.css (--bg, --surface, --text, --muted, --primary, --on-primary, --primary-text, --border, --radius, --heading, --body). */
.xp { --pad: 18px; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.xp *, .xp *::before, .xp *::after { box-sizing: border-box; }
.xp h1, .xp h2, .xp h3, .xp p, .xp ul { margin: 0; padding: 0; }
.xp ul { list-style: none; }
.xp a { color: inherit; text-decoration: none; }
.xp button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.xp img { display: block; }
.xp h1, .xp h2, .xp h3 { font-family: var(--heading); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }

/* ── Navigacija bez JS-a: cjelina je vidljiva kad je :target ── */
.xp-sec { display: none; min-height: 100vh; }
.xp-sec:target, .xp-sec:has(:target), .xp-sec.is-on { display: block; }
.xp:has(.xp-sec:target) .xp-choose, .xp:has(.xp-sec :target) .xp-choose, .xp:has(.xp-sec.is-on) .xp-choose { display: none; }
.xp-sec:focus, .xp-choose:focus { outline: none; }

/* ── Alati (jezik, info) ── */
.xp-tools { display: flex; gap: 8px; margin-left: auto; }
.xp .lang { display: flex; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--text) 10%, transparent); }
.xp .lang button, .xp .info { min-height: 38px; padding: 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.xp .lang .on { background: var(--primary); color: var(--on-primary); }
.xp .info { border-radius: 999px; background: color-mix(in srgb, var(--text) 10%, transparent); }

/* ── Naslovna sa izborom ── */
.xp-choose { padding-bottom: 32px; }
.xp-hero { position: relative; min-height: 46vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px var(--pad) 26px; overflow: hidden; isolation: isolate; }
.xp-hero > .xp-tools { position: absolute; top: max(14px, env(safe-area-inset-top)); right: var(--pad); z-index: 3; }
.xp-hero.has-cover .xp-tools .lang, .xp-hero.has-cover .xp-tools .info { background: rgb(0 0 0 / .42); color: #fff; backdrop-filter: blur(8px); }
.xp-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.xp-hero.has-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .12) 0%, rgb(0 0 0 / .06) 28%, color-mix(in srgb, var(--bg) 78%, transparent) 62%, var(--bg) 96%); }
.xp-hero:not(.has-cover) { background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--primary) 32%, transparent), transparent 60%), var(--bg); }
.xp-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.xp-logo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--surface); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .45); display: grid; place-items: center; }
.xp-logo.mono, .xp-intro-logo.mono { background: var(--primary); color: var(--on-primary); font-family: var(--heading); font-size: 26px; font-weight: 700; }
.xlogo-img { width: 100%; height: 100%; object-fit: cover; }
.xp-hero h1 { font-size: clamp(34px, 9vw, 64px); text-wrap: balance; }
.xp-tag { color: var(--muted); font-size: 15px; max-width: 46ch; }
.xp-hero.has-cover .xp-tag { color: color-mix(in srgb, var(--text) 82%, transparent); }
.xp .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.xp .chips span { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); color: var(--muted); backdrop-filter: blur(6px); }
.xp .xp-q { padding: 26px var(--pad) 14px; font-size: 22px; }
.xp-all-link { display: block; margin: 18px var(--pad) 0; text-align: center; padding: 14px; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); color: var(--muted); font-weight: 600; font-size: 14px; }

/* Pločice (zajedničko) */
.xp-tiles { display: grid; gap: 12px; padding: 0 var(--pad); }
.xp-tile { position: relative; display: flex; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--border); isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
.xp-tile:active { transform: scale(.98); }
.xt-ph { position: absolute; inset: 0; z-index: -2; }
.xt-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.xp-tile:hover .xt-ph img { transform: scale(1.04); }
.xt-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); flex: none; }
.xt-ic svg { width: 22px; height: 22px; }
.xt-tx { display: flex; flex-direction: column; }
.xt-tx b { font-family: var(--heading); font-size: 21px; line-height: 1.15; }
.xt-tx small { font-size: 12.5px; opacity: .8; }

/* C-tiles: 2×2 fotografije sa natpisom */
.C-tiles .xp-tiles { grid-template-columns: 1fr 1fr; }
.C-tiles .xp-tile { aspect-ratio: 4 / 5; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; color: #fff; }
.C-tiles .xp-tile:has(.xt-ph)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / .72)); }
/* cjelina bez fotografije: puna boja izgleda umjesto blijede podloge (ne izgleda kao da slika nedostaje) */
.C-tiles .xp-tile:not(:has(.xt-ph)) { color: var(--on-primary); border-color: transparent; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--on-primary) 16%, var(--primary)), var(--primary) 60%); }
.C-tiles .xp-tile:not(:has(.xt-ph)) .xt-ic { width: 56px; height: 56px; margin-bottom: auto; background: var(--on-primary); color: var(--primary); }
.C-tiles .xp-tile:not(:has(.xt-ph)) .xt-ic svg { width: 30px; height: 30px; }
.C-tiles .xp-tiles.n3 .xp-tile:first-child, .C-tiles .xp-tiles.n5 .xp-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
/* C-stack: široke trake */
.C-stack .xp-tiles { grid-template-columns: 1fr; }
.C-stack .xp-tile { min-height: 132px; align-items: flex-end; gap: 14px; padding: 18px; color: #fff; }
.C-stack .xp-tile:has(.xt-ph)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .66), rgb(0 0 0 / .05)); }
.C-stack .xp-tile:not(:has(.xt-ph)) { color: var(--text); }
.C-stack .xt-tx b { font-size: 26px; }
/* C-circle: okrugle fotografije */
.C-circle .xp-tiles { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
.C-circle .xp-tile { flex-direction: column; align-items: center; background: none; border: 0; text-align: center; gap: 10px; overflow: visible; }
.C-circle .xt-ph { position: relative; inset: auto; z-index: 0; width: min(150px, 38vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--primary); }
.C-circle .xt-ic { position: absolute; top: 0; left: 50%; transform: translate(34px, 0); }
.C-circle .xp-tile:not(:has(.xt-ph)) .xt-ic { position: static; transform: none; width: min(150px, 38vw); height: auto; aspect-ratio: 1; }
.C-circle .xp-tile:not(:has(.xt-ph)) .xt-ic svg { width: 44%; height: 44%; }
.C-circle .xt-tx { align-items: center; }
/* C-list: tipografski spisak (bez fotografija) */
.C-list .xp-tiles { grid-template-columns: 1fr; gap: 0; counter-reset: x; }
.C-list .xp-tile { background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 20px 4px; align-items: center; gap: 16px; counter-increment: x; }
.C-list .xp-tile:last-child { border-bottom: 1px solid var(--border); }
.C-list .xp-tile::before { content: counter(x, upper-roman); font-family: var(--heading); color: var(--primary-text); font-size: 15px; width: 34px; }
.C-list .xt-ph { display: none; } .C-list .xt-ic { display: none; }
.C-list .xt-tx { flex: 1; } .C-list .xt-tx b { font-size: 28px; font-weight: 500; }
.C-list .xp-tile::after { content: "→"; color: var(--primary-text); font-size: 20px; }
/* C-bold: pune boje, bez fotografija */
.C-bold .xp-tiles { grid-template-columns: 1fr 1fr; }
.C-bold .xp-tile { aspect-ratio: 1; flex-direction: column; justify-content: space-between; padding: 16px; background: var(--primary); color: var(--on-primary); border: 0; }
.C-bold .xp-tile:nth-child(4n+2), .C-bold .xp-tile:nth-child(4n+3) { background: var(--surface); color: var(--text); }
.C-bold .xt-ph { display: none; }
.C-bold .xt-ic { background: transparent; color: inherit; width: 52px; height: 52px; } .C-bold .xt-ic svg { width: 46px; height: 46px; }
.C-bold .xt-tx b { font-size: 30px; text-transform: uppercase; letter-spacing: .01em; }

/* ── Cjelina (meni) ── */
.xp-bar { position: sticky; top: 0; z-index: 12; display: flex; align-items: center; gap: 10px; padding: 10px var(--pad); padding-top: max(10px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--border); }
.xp-back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px 0 6px; border-radius: 999px; font-weight: 600; font-size: 14px; background: color-mix(in srgb, var(--text) 8%, transparent); flex: none; }
.xp-back svg { width: 20px; height: 20px; }
.xp-sec-h { font-size: 20px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.xp-bar .xp-tools .lang button, .xp-bar .xp-tools .info { min-height: 34px; padding: 0 11px; }
.xp .cats { position: sticky; top: 61px; z-index: 11; display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--pad); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); scrollbar-width: none; }
.xp .cats::-webkit-scrollbar { display: none; }
.xp .cats a { white-space: nowrap; min-height: 38px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--border); color: var(--muted); }
.xp .cats a.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.xp .cats a[hidden] { display: none; }
.xc { padding: 22px var(--pad) 6px; scroll-margin-top: 120px; }
.xc[hidden] { display: none; }
.xc-h { margin-bottom: 14px; }
.xc-h h2 { font-size: 26px; }
.xc-h p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.xc-time { color: var(--primary-text) !important; font-weight: 600; }
.xl { display: grid; gap: 12px; }
.xi { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: start; }
.xi[hidden] { display: none; }
.xi.off { opacity: .5; }
.xn { font-size: 17px; font-family: var(--body) !important; font-weight: 650 !important; letter-spacing: 0 !important; overflow-wrap: anywhere; }
.xstar { color: var(--primary-text); margin-left: 6px; font-size: .85em; }
.xd { color: var(--muted); font-size: 14px; margin-top: 3px; }
.xm { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.xm .xt { color: var(--primary-text); font-weight: 600; } .xm .xoff { color: var(--primary-text); }
.xp-price { font-weight: 700; color: var(--primary-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xi .vars { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.xi .var { display: inline-flex; gap: 8px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; }
.xi .vn { color: var(--muted); } .xi .vp { font-weight: 700; color: var(--primary-text); font-variant-numeric: tabular-nums; }
.xp .hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.xph { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.xph img { width: 100%; height: 100%; object-fit: cover; }
.xp .search { padding: 14px var(--pad) 4px; }
.xp .search input { width: 100%; min-height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; outline: none; }
.xp .search input:focus { border-color: var(--primary); }
.xp .empty { padding: 30px var(--pad); text-align: center; color: var(--muted); }
.xp-foot { padding: 30px var(--pad) 40px; color: var(--muted); font-size: 12.5px; text-align: center; }
.xp-foot a { color: var(--primary-text); }

/* R-cards: kartica sa fotografijom desno */
.R-cards .xi { padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); grid-template-columns: 1fr auto; }
.R-cards .xi.has-ph { grid-template-columns: 1fr 104px; }
.R-cards .xi.has-ph .xph { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 1; }
.R-cards .xi.has-ph .xb { grid-column: 1; grid-row: 1; }
.R-cards .xi.has-ph .xp-price, .R-cards .xi.has-ph .vars { grid-column: 1; grid-row: 2; align-self: end; }
/* R-magazine: velika fotografija, urednički tekst */
.R-magazine .xl { gap: 26px; }
.R-magazine .xi { grid-template-columns: 1fr auto; }
.R-magazine .xi.has-ph .xph { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) + 6px); margin-bottom: 8px; }
.R-magazine .xn { font-family: var(--heading) !important; font-size: 23px; font-weight: 600 !important; }
.R-magazine .xd { font-size: 15px; }
.R-magazine .xp-price { font-size: 18px; }
/* R-wine: karta pića, bez fotografija, cijene u koloni */
.R-wine .xl { gap: 0; }
.R-wine .xi { padding: 14px 0; border-bottom: 1px solid var(--border); }
.R-wine .xn { font-family: var(--heading) !important; font-weight: 500 !important; font-size: 20px; }
.R-wine .xd { font-style: italic; }
.R-wine .xi .vars { justify-content: flex-end; }
.R-wine .xi .var { border: 0; padding: 2px 0 2px 10px; border-left: 1px solid var(--border); border-radius: 0; }
.R-wine .xc-h h2 { font-weight: 500; font-size: 30px; text-align: center; }
.R-wine .xc-h h2 > span::before, .R-wine .xc-h h2 > span::after { content: "—"; color: var(--primary-text); margin: 0 10px; font-weight: 400; }
.R-wine .xc-h p { text-align: center; }
/* R-glow: kokteli, okrugla fotografija, svjetleća ivica */
.R-glow .xi { grid-template-columns: 1fr auto; padding: 16px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); box-shadow: 0 0 24px -12px var(--primary); }
.R-glow .xi.has-ph { grid-template-columns: 84px 1fr auto; }
.R-glow .xi.has-ph .xph { width: 84px; height: 84px; border-radius: 50%; grid-row: 1 / span 2; box-shadow: 0 0 0 2px var(--primary), 0 0 22px -4px var(--primary); }
.R-glow .xi .vars { grid-column: 2 / -1; }
.R-glow .xp-price { font-size: 19px; text-shadow: 0 0 12px color-mix(in srgb, var(--primary) 60%, transparent); }
/* R-board: veliki nazivi i cijene (pica, brza hrana) */
.R-board .xl { gap: 14px; }
.R-board .xi { padding: 0 0 14px; border-bottom: 2px solid var(--border); }
.R-board .xi.has-ph { grid-template-columns: 1fr auto; }
.R-board .xi.has-ph .xph { grid-column: 1 / -1; aspect-ratio: 16 / 9; margin-bottom: 10px; }
.R-board .xn { font-family: var(--heading) !important; font-size: 26px; text-transform: uppercase; letter-spacing: .02em !important; font-weight: 400 !important; }
.R-board .xp-price { font-family: var(--heading); font-size: 28px; font-weight: 400; background: var(--primary); color: var(--on-primary); padding: 2px 12px; border-radius: 8px; }
.R-board .xi .var { border-width: 2px; font-weight: 600; }
/* R-grid: 2 kolone fotografija */
.R-grid .xl { grid-template-columns: 1fr 1fr; gap: 14px; }
.R-grid .xi { grid-template-columns: 1fr; background: var(--surface); border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--border); padding-bottom: 12px; align-content: start; }
.R-grid .xi .xph { aspect-ratio: 1; border-radius: 0; }
.R-grid .xi .xb, .R-grid .xi .xp-price, .R-grid .xi .vars { padding: 0 12px; }
.R-grid .xi:not(.has-ph) { padding-top: 12px; }
.R-grid .xn { font-size: 15px; } .R-grid .xd { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* R-elegant: centrirano, fine linije (hotel) */
.R-elegant .xc-h { text-align: center; } .R-elegant .xc-h h2 { font-weight: 500; font-size: 28px; letter-spacing: .04em; text-transform: uppercase; }
.R-elegant .xl { gap: 0; }
.R-elegant .xi { grid-template-columns: 1fr; text-align: center; padding: 18px 8px; border-bottom: 1px solid var(--border); justify-items: center; }
.R-elegant .xn { font-family: var(--heading) !important; font-weight: 500 !important; font-size: 20px; }
.R-elegant .xd { max-width: 40ch; } .R-elegant .xm { justify-content: center; }
.R-elegant .xi .vars { justify-content: center; }
/* R-rustic: tačkice do cijene (konoba) */
.R-rustic .xl { gap: 4px; }
.R-rustic .xi { grid-template-columns: auto 1fr auto; padding: 10px 0; column-gap: 8px; }
.R-rustic .xi .xph { display: none; }
.R-rustic .xb { display: contents; }
.R-rustic .xn { grid-column: 1; font-family: var(--heading) !important; font-size: 20px; font-weight: 600 !important; }
.R-rustic .xi::after { content: ""; grid-column: 2; grid-row: 1; align-self: center; border-bottom: 2px dotted color-mix(in srgb, var(--muted) 70%, transparent); margin-top: 8px; }
.R-rustic .xp-price { grid-column: 3; grid-row: 1; }
.R-rustic .xd, .R-rustic .xm, .R-rustic .xi .vars { grid-column: 1 / -1; }

/* ── Uvod (I-*) — CSS animacija sa završetkom i bez JS-a; experience.js je skraćuje/preskače ── */
.xp-intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; overflow: hidden; animation: xp-out .6s ease 2.4s forwards; }
.xp-intro-bg { position: absolute; inset: 0; background: var(--bg); }
.xp-intro-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 24px; }
.xp-intro-logo { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 18px 50px -18px rgb(0 0 0 / .5); }
.xp-intro-name { font-family: var(--heading); font-size: clamp(30px, 8vw, 54px); font-weight: 700; line-height: 1.1; color: var(--text); }
.xp-intro-tag { color: var(--muted); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.xp-skip { position: absolute; z-index: 2; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); padding: 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); }
.xp-intro.done { animation: xp-out .45s ease forwards; }
@keyframes xp-out { to { opacity: 0; visibility: hidden; } }
@keyframes xp-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes xp-scale { from { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.I-reveal .xp-intro-logo { animation: xp-scale .9s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 0 0 0 var(--primary); }
.I-reveal .xp-intro-name { animation: xp-up .8s ease .45s both; } .I-reveal .xp-intro-tag { animation: xp-up .8s ease .7s both; }
.I-reveal .xp-intro-bg { background: radial-gradient(60% 50% at 50% 45%, color-mix(in srgb, var(--primary) 26%, var(--bg)), var(--bg)); }
/* zavjesa: dvije polovine se razmiču */
.I-curtain .xp-intro-bg { background: none; }
.I-curtain .xp-intro-bg::before, .I-curtain .xp-intro-bg::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--primary); animation: xp-curtain 1s cubic-bezier(.7,0,.2,1) 1.35s forwards; }
.I-curtain .xp-intro-bg::before { left: 0; } .I-curtain .xp-intro-bg::after { right: 0; animation-name: xp-curtain-r; }
@keyframes xp-curtain { to { transform: translateX(-100%); } } @keyframes xp-curtain-r { to { transform: translateX(100%); } }
.I-curtain .xp-intro-in { color: var(--on-primary); animation: xp-up .7s ease .2s both, xp-out .4s ease 1.25s forwards; }
.I-curtain .xp-intro-name, .I-curtain .xp-intro-tag { color: var(--on-primary); }
.I-curtain.xp-intro, .I-curtain .xp-intro { animation-delay: 2.3s; }
/* mastilo: krug se širi */
.I-ink .xp-intro-bg { background: var(--bg); }
.I-ink .xp-intro-bg::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--primary); animation: xp-ink 1.2s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes xp-ink { to { transform: scale(320); } }
.I-ink .xp-intro-name, .I-ink .xp-intro-tag { color: var(--on-primary); }
.I-ink .xp-intro-in { animation: xp-up .8s ease .6s both; }
/* neon: treperenje naziva */
.I-neon .xp-intro-bg { background: radial-gradient(70% 60% at 50% 50%, color-mix(in srgb, var(--primary) 18%, #000), #000); }
.I-neon .xp-intro-name { color: #fff; text-shadow: 0 0 8px var(--primary), 0 0 24px var(--primary), 0 0 48px var(--primary); animation: xp-flicker 1.6s linear both; }
.I-neon .xp-intro-logo { animation: xp-scale .9s ease .2s both; box-shadow: 0 0 30px -4px var(--primary); }
.I-neon .xp-intro-tag { color: color-mix(in srgb, #fff 70%, var(--primary)); animation: xp-up .6s ease 1s both; }
@keyframes xp-flicker { 0%, 12%, 16%, 30%, 34% { opacity: .15; } 14%, 32%, 40%, 100% { opacity: 1; } }
/* talas: logo izranja iznad talasa */
.I-wave .xp-intro-bg { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 14%, var(--bg)), var(--bg)); }
.I-wave .xp-intro-bg::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -8%; height: 42%; border-radius: 45% 55% 0 0 / 30% 30% 0 0; background: var(--primary); opacity: .9; animation: xp-wave 2.2s ease-in-out both; }
@keyframes xp-wave { from { transform: translateY(40%); } to { transform: translateY(0); } }
.I-wave .xp-intro-in { animation: xp-up 1s cubic-bezier(.2,.8,.2,1) .15s both; }
/* pečat */
.I-stamp .xp-intro-logo { animation: xp-stamp .7s cubic-bezier(.3,1.6,.5,1) .2s both; }
.I-stamp .xp-intro-name { animation: xp-up .6s ease .7s both; } .I-stamp .xp-intro-tag { animation: xp-up .6s ease .9s both; }
@keyframes xp-stamp { from { opacity: 0; transform: scale(2.4) rotate(-14deg); } to { opacity: 1; transform: none; } }
/* udarac: naziv uleće sa strane */
.I-slam .xp-intro-bg { background: var(--primary); }
.I-slam .xp-intro-name { color: var(--on-primary); text-transform: uppercase; font-size: clamp(44px, 14vw, 96px); animation: xp-slam .55s cubic-bezier(.2,1.4,.4,1) .25s both; }
.I-slam .xp-intro-tag { color: var(--on-primary); animation: xp-up .5s ease .8s both; }
.I-slam .xp-intro-logo { animation: xp-scale .6s ease both; }
@keyframes xp-slam { from { opacity: 0; transform: translateX(-60%) skewX(-12deg); } to { opacity: 1; transform: none; } }
/* iskakanje sa mrvicama */
.I-pop .xp-intro-bg { background: radial-gradient(circle at 20% 25%, color-mix(in srgb, var(--primary) 40%, transparent) 0 6px, transparent 7px), radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--primary) 30%, transparent) 0 5px, transparent 6px), radial-gradient(circle at 30% 78%, color-mix(in srgb, var(--text) 18%, transparent) 0 4px, transparent 5px), radial-gradient(circle at 70% 72%, color-mix(in srgb, var(--primary) 35%, transparent) 0 7px, transparent 8px), var(--bg); animation: xp-up 1s ease both; }
.I-pop .xp-intro-logo { animation: xp-scale .8s cubic-bezier(.3,1.6,.5,1) both; }
.I-pop .xp-intro-name { animation: xp-up .6s ease .4s both; } .I-pop .xp-intro-tag { animation: xp-up .6s ease .6s both; }

/* Uvod na pozadini u boji akcenta: monogram u obrnutim bojama */
.I-curtain .xp-intro-logo.mono, .I-ink .xp-intro-logo.mono, .I-slam .xp-intro-logo.mono { background: var(--on-primary); color: var(--primary); }

/* Naslovna se pojavljuje poslije uvoda */
.xp[data-intro-on] .xp-brand { animation: xp-up .8s ease 2.5s both; }
.xp[data-intro-on].intro-skip .xp-brand { animation-delay: 0s; }
.xp-tile { animation: xp-up .6s ease both; }
.xp-tile[data-i="1"] { animation-delay: .06s; } .xp-tile[data-i="2"] { animation-delay: .12s; } .xp-tile[data-i="3"] { animation-delay: .18s; } .xp-tile[data-i="4"] { animation-delay: .24s; } .xp-tile[data-i="5"] { animation-delay: .3s; }
.xp[data-intro-on]:not(.intro-skip) .xp-tile { animation-delay: 2.6s; }

/* ── Detalji pojedinih izgleda (D-*) ── */
.D-vinska-karta .xp-hero h1, .D-grand-hotel .xp-hero h1 { font-weight: 500; letter-spacing: .02em; }
.D-vinska-karta .xp-q, .D-grand-hotel .xp-q { text-align: center; font-weight: 500; font-style: italic; }
.D-neon-noc { background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 60%), radial-gradient(70% 50% at 0% 100%, color-mix(in srgb, #00e5ff 14%, transparent), transparent 60%), var(--bg); background-attachment: fixed; }
.D-neon-noc .xp-hero h1 { text-shadow: 0 0 18px color-mix(in srgb, var(--primary) 70%, transparent); }
.D-neon-noc .C-circle .xt-ph, .D-neon-noc .xt-ph { box-shadow: 0 0 0 2px var(--primary), 0 0 28px -2px var(--primary); }
.D-etno-konoba { background-image: repeating-linear-gradient(0deg, transparent 0 22px, color-mix(in srgb, var(--text) 3%, transparent) 22px 23px); }
.D-etno-konoba .xp-hero h1 { font-style: italic; }
.D-burger-lab .xp-hero h1, .D-burger-lab .xc-h h2, .D-trattoria .xc-h h2 { text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.D-slatki-kutak .xp-tile, .D-slatki-kutak .R-grid .xi { border-radius: 28px; }
.D-plaza-sunce .xp-q::after { content: " ☀"; color: var(--primary-text); }

/* ── Veći ekrani ── */
@media (min-width: 768px) {
  .xp { --pad: 32px; }
  .xp .xp-q { text-align: center; font-size: 28px; padding-top: 40px; }
  .xp-hero { min-height: 52vh; padding-bottom: 40px; }
  .xp-q { text-align: center; font-size: 28px; padding-top: 40px; }
  .xp-tiles { max-width: 1100px; margin: 0 auto; }
  .C-tiles .xp-tiles { grid-template-columns: repeat(4, 1fr); }
  .C-tiles .xp-tiles.n3 { grid-template-columns: repeat(3, 1fr); }
  .C-tiles .xp-tiles.n3 .xp-tile:first-child, .C-tiles .xp-tiles.n5 .xp-tile:first-child { grid-column: auto; aspect-ratio: 4 / 5; }
  .C-stack .xp-tiles { grid-template-columns: 1fr 1fr; }
  .C-circle .xp-tiles { grid-template-columns: repeat(4, 1fr); }
  .C-bold .xp-tiles { grid-template-columns: repeat(4, 1fr); }
  /* 6 cjelina: 3 + 3 umjesto 4 + 2 (poravnati redovi) */
  .C-tiles .xp-tiles.n6, .C-bold .xp-tiles.n6, .C-circle .xp-tiles.n6 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  .C-bold .xp-tiles.n6 .xp-tile { background: var(--primary); color: var(--on-primary); }
  .C-bold .xp-tiles.n6 .xp-tile:nth-child(even) { background: var(--surface); color: var(--text); }
  .C-list .xp-tiles { max-width: 720px; }
  .xp-all-link { max-width: 520px; margin-left: auto; margin-right: auto; }
  .xc, .xp .search { max-width: 1100px; margin: 0 auto; }
  .xp .cats { justify-content: center; top: 61px; }
  .R-cards .xl, .R-glow .xl { grid-template-columns: 1fr 1fr; }
  .R-magazine .xl { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .R-grid .xl { grid-template-columns: repeat(3, 1fr); }
  .R-board .xl { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .R-wine .xl, .R-rustic .xl, .R-elegant .xl { max-width: 760px; margin: 0 auto; }
}
@media (min-width: 1200px) { .R-grid .xl { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .xp *, .xp-intro, .xp-intro * { animation: none !important; transition: none !important; }
  .xp-intro { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════
   Novi doživljaj izgledi (16. 11. 2026): uvod (I-*), izbor (C-*), raspored bez fotografija u listi (R-*),
   prozor stavke na klik (K-* na .tpl-modal.xk), prelaz pri izboru cjeline (.xp-wipe.W-*), detalji (D-*).
   --accent2 = drugi akcenat izgleda. Sve animacije se gase uz „smanjeno kretanje" (dno fajla).
   ══════════════════════════════════════════════════════════════════════════════════════════════ */
.xp-intro-logo { position: relative; }
.xp-intro { contain: layout paint; }
/* animacije ulaska (slijeva/zdesna, nakrivljene kartice) ne smiju proširiti stranicu na telefonu */
.xp-choose, .xp-sec { overflow-x: clip; }
.xp-intro-in { max-width: 100%; }
.xp-intro-name { overflow-wrap: break-word; text-wrap: balance; max-width: 100%; }
.xp-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.xp-fx i { position: absolute; display: none; opacity: 0; }
.xp-frame { display: none; }
.xp .xcam { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-left: 7px; color: var(--primary-text); opacity: .8; }
.xp[data-klik] .xi { overflow: clip; }
.xr { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 28%, transparent); pointer-events: none; animation: xr .65s ease-out forwards; }
@keyframes xr { to { transform: scale(70); opacity: 0; } }

/* Naslovna i izbor poslije dužih uvoda */
.I-flame, .I-marquee, .I-stitch, .I-awning { --ie: 2.9s; }
.I-bars { --ie: 2.8s; } .I-embers, .I-letters, .I-mountain { --ie: 3s; } .I-frame { --ie: 3.1s; } .I-gold { --ie: 3.5s; }
.xp[data-intro-on]:is(.I-flame, .I-marquee, .I-bars, .I-embers, .I-letters, .I-stitch, .I-mountain, .I-frame, .I-awning, .I-gold):not(.intro-skip) .xp-brand { animation-delay: var(--ie); }
.xp[data-intro-on]:is(.I-flame, .I-marquee, .I-bars, .I-embers, .I-letters, .I-stitch, .I-mountain, .I-frame, .I-awning, .I-gold):not(.intro-skip) .xp-tile { animation-delay: calc(var(--ie) + .1s); }
:is(.I-flame, .I-marquee, .I-bars, .I-embers, .I-letters, .I-stitch, .I-mountain, .I-frame, .I-awning, .I-gold) .xp-intro:not(.done) { animation-delay: calc(var(--ie) - .2s); }

/* Iskre, žar, zlatna prašina, zvjezdice — zajednički položaji */
:is(.I-flame, .I-embers, .I-gold, .I-frame) .xp-fx i { display: block; }
.xp-fx i:nth-child(1) { left: 5%; top: 18%; animation-delay: 0s; } .xp-fx i:nth-child(2) { left: 12%; top: 64%; animation-delay: .4s; }
.xp-fx i:nth-child(3) { left: 19%; top: 32%; animation-delay: .9s; } .xp-fx i:nth-child(4) { left: 26%; top: 80%; animation-delay: .2s; }
.xp-fx i:nth-child(5) { left: 33%; top: 12%; animation-delay: 1.1s; } .xp-fx i:nth-child(6) { left: 40%; top: 72%; animation-delay: .6s; }
.xp-fx i:nth-child(7) { left: 47%; top: 24%; animation-delay: .3s; } .xp-fx i:nth-child(8) { left: 54%; top: 86%; animation-delay: 1.3s; }
.xp-fx i:nth-child(9) { left: 61%; top: 16%; animation-delay: .8s; } .xp-fx i:nth-child(10) { left: 68%; top: 58%; animation-delay: .1s; }
.xp-fx i:nth-child(11) { left: 75%; top: 28%; animation-delay: 1s; } .xp-fx i:nth-child(12) { left: 82%; top: 76%; animation-delay: .5s; }
.xp-fx i:nth-child(13) { left: 89%; top: 40%; animation-delay: .7s; } .xp-fx i:nth-child(14) { left: 95%; top: 66%; animation-delay: 1.2s; }
.xp-fx i:nth-child(15) { left: 30%; top: 48%; animation-delay: .35s; } .xp-fx i:nth-child(16) { left: 70%; top: 44%; animation-delay: .95s; }
.xp-fx i:nth-child(even) { --sx: -34px; }
@keyframes xi-spark { 0% { opacity: 0; transform: translate(0, 0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--sx, 26px), -88vh); } }
@keyframes xi-twinkle { 0%, 100% { opacity: 0; transform: rotate(45deg) scale(.4); } 50% { opacity: 1; transform: rotate(45deg) scale(1); } }
@keyframes xi-spin { to { rotate: 360deg; } }
@keyframes xi-blur { from { opacity: 0; filter: blur(8px); transform: translateY(8px); } }
@keyframes xi-pop { from { opacity: 0; transform: scale(.4) rotate(6deg); } }

/* I-flame: plamen iz roštilja, iskre, logo udara i trese ekran */
.I-flame .xp-intro-bg { background: radial-gradient(120% 60% at 50% 120%, color-mix(in srgb, var(--primary) 70%, #000), #000 70%); }
.I-flame .xp-intro-bg::before, .I-flame .xp-intro-bg::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -12%; height: 72%; transform-origin: 50% 100%; filter: blur(18px);
  background: radial-gradient(40% 60% at 30% 100%, var(--accent2), transparent 70%), radial-gradient(45% 70% at 70% 100%, var(--primary), transparent 70%), radial-gradient(30% 50% at 50% 100%, #fff3c4, transparent 70%);
  animation: xi-flame 1.1s ease-in-out infinite alternate, xi-rise 1.2s cubic-bezier(.2,.8,.2,1) both; }
.I-flame .xp-intro-bg::after { left: 12%; right: 12%; opacity: .75; animation-duration: .8s, 1.2s; }
@keyframes xi-flame { from { transform: scaleY(.88) skewX(3deg); } to { transform: scaleY(1.08) skewX(-3deg); } }
@keyframes xi-rise { from { opacity: 0; translate: 0 45%; } }
.I-flame .xp-fx i { bottom: -8px; top: auto !important; width: 4px; height: 4px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 8px 2px var(--primary); animation: xi-spark 1.7s linear infinite; }
.I-flame .xp-fx i:nth-child(3n) { animation-duration: 2.3s; width: 3px; height: 3px; }
.I-flame .xp-intro-in { animation: xi-shake .42s linear .98s both; }
@keyframes xi-shake { 20% { transform: translate(-5px, 3px); } 40% { transform: translate(4px, -4px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(1px, -1px); } }
.I-flame .xp-intro-logo { box-shadow: 0 0 0 4px var(--primary), 0 0 46px 8px color-mix(in srgb, var(--primary) 55%, transparent); animation: xi-slam .7s cubic-bezier(.3,1.6,.5,1) .3s both; }
@keyframes xi-slam { from { opacity: 0; transform: scale(3.2) rotate(-12deg); } 70% { opacity: 1; transform: scale(.94); } }
.I-flame .xp-intro-name { color: #fff; text-transform: uppercase; font-size: clamp(44px, 12.5vw, 112px); line-height: .95; font-weight: 400; letter-spacing: .01em; text-shadow: 0 4px 34px color-mix(in srgb, var(--primary) 75%, transparent); animation: xi-clip .6s cubic-bezier(.2,.8,.2,1) 1.05s both; }
@keyframes xi-clip { from { clip-path: inset(100% 0 0 0); transform: translateY(30%); } to { clip-path: inset(-20% -10% -20% -10%); } }
.I-flame .xp-intro-tag { color: var(--accent2); letter-spacing: .3em; font-weight: 700; animation: xp-up .5s ease 1.45s both; }

/* I-marquee: tabla sa sijalicama koje trče, sunčevi zraci */
.I-marquee .xp-intro-bg { inset: -60%; background: repeating-conic-gradient(from 0deg at 50% 50%, color-mix(in srgb, var(--accent2) 26%, var(--bg)) 0 9deg, var(--bg) 9deg 18deg); animation: xi-spin 30s linear infinite; }
.I-marquee .xp-intro-in { margin: 0 16px; padding: 30px 28px 26px; border-radius: 28px; background: var(--primary); box-shadow: 0 0 0 6px var(--surface), 0 0 0 10px var(--text), 0 30px 60px -20px rgb(0 0 0 / .5); transform-origin: 50% -240px; animation: xi-hang .95s cubic-bezier(.3,1.4,.5,1) .1s both; }
.I-marquee .xp-intro-in::before { content: ""; position: absolute; inset: 9px; border-radius: 21px; border: 5px dotted #FFF6C8; pointer-events: none; animation: xi-bulbs .4s steps(1) infinite; }
@keyframes xi-bulbs { 50% { border-color: var(--accent2); } }
@keyframes xi-hang { from { opacity: 0; transform: translateY(-80vh) rotate(-8deg); } 60% { opacity: 1; transform: rotate(4deg); } 80% { transform: rotate(-2deg); } }
.I-marquee .xp-intro-logo { width: 96px; height: 96px; box-shadow: 0 0 0 4px var(--on-primary); animation: xp-scale .6s ease .55s both; }
.I-marquee .xp-intro-name { color: var(--on-primary); font-weight: 400; font-size: clamp(36px, 11vw, 70px); text-shadow: 0 0 14px rgb(255 255 255 / .5), 3px 3px 0 color-mix(in srgb, var(--primary) 45%, #000); animation: xp-flicker 1.3s linear .75s both; }
.I-marquee .xp-intro-tag { color: var(--on-primary); letter-spacing: .16em; font-weight: 700; animation: xp-up .5s ease 1.3s both; }

/* I-bars: tri trake u bojama izgleda, logo kao naljepnica */
.I-bars .xp-intro-bg { background: radial-gradient(circle, color-mix(in srgb, var(--text) 14%, transparent) 1.4px, transparent 1.7px) 0 0 / 12px 12px, var(--bg); }
.I-bars .xp-fx i:nth-child(-n+3) { display: block; opacity: 1; left: -25%; right: -25%; height: 20vh; transform: translateX(-130%) rotate(-8deg); animation: xi-bar .55s cubic-bezier(.7,0,.2,1) both; }
.I-bars .xp-fx i:nth-child(1) { top: 12%; background: var(--primary); animation-delay: .08s; }
.I-bars .xp-fx i:nth-child(2) { top: 40%; background: var(--accent2); animation-delay: .2s; transform: translateX(130%) rotate(-8deg); }
.I-bars .xp-fx i:nth-child(3) { top: 68%; background: var(--text); animation-delay: .32s; }
@keyframes xi-bar { to { transform: translateX(0) rotate(-8deg); } }
.I-bars .xp-intro-logo { border: 4px solid var(--text); box-shadow: 6px 6px 0 var(--text); animation: xi-sticker .6s cubic-bezier(.2,1.6,.4,1) .75s both; }
@keyframes xi-sticker { from { opacity: 0; transform: scale(0) rotate(-40deg); } to { opacity: 1; transform: rotate(-6deg); } }
.I-bars .xp-intro-name { padding: 2px 18px 4px; background: var(--text); color: var(--bg); text-transform: uppercase; font-weight: 800; font-size: clamp(40px, 13vw, 96px); line-height: 1; transform: rotate(-3deg); animation: xi-pop .5s cubic-bezier(.2,1.5,.4,1) 1s both; }
.I-bars .xp-intro-tag { padding: 5px 12px; background: var(--accent2); color: var(--text); font-weight: 700; border: 2px solid var(--text); animation: xp-up .4s ease 1.3s both; }

/* I-embers: žar i dim, logo se zagrijava */
.I-embers .xp-intro-bg { background: radial-gradient(90% 55% at 50% 112%, color-mix(in srgb, var(--primary) 58%, #000), #0b0807 70%); }
.I-embers .xp-intro-bg::after { content: ""; position: absolute; inset: -20%; background: radial-gradient(40% 30% at 40% 60%, rgb(255 255 255 / .08), transparent 70%), radial-gradient(35% 25% at 65% 40%, rgb(255 255 255 / .06), transparent 70%); animation: xi-smoke 6s ease-in-out infinite alternate; }
@keyframes xi-smoke { to { transform: translate(5%, -9%) scale(1.12); } }
.I-embers .xp-fx i { top: auto !important; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: #FFB067; box-shadow: 0 0 10px 3px var(--primary); animation: xi-spark 2.6s ease-out infinite; }
.I-embers .xp-fx i:nth-child(3n) { width: 3px; height: 3px; animation-duration: 3.2s; } .I-embers .xp-fx i:nth-child(4n) { width: 7px; height: 7px; filter: blur(1px); }
.I-embers .xp-intro-logo { animation: xp-scale .9s ease .3s both, xi-glow 1.4s ease-in-out 1s infinite alternate; }
@keyframes xi-glow { from { box-shadow: 0 0 0 2px var(--primary), 0 0 18px 0 color-mix(in srgb, var(--primary) 45%, transparent); } to { box-shadow: 0 0 0 2px var(--primary), 0 0 54px 12px color-mix(in srgb, var(--primary) 70%, transparent); } }
.I-embers .xp-intro-name { color: #F5EBDD; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; animation: xi-heat 1.1s ease .7s both; }
@keyframes xi-heat { from { opacity: 0; filter: blur(10px); letter-spacing: .4em; } }
.I-embers .xp-intro-tag { color: var(--primary); letter-spacing: .22em; animation: xp-up .6s ease 1.4s both; }
.I-embers .xp-skip, .I-flame .xp-skip { color: #ddd; background: rgb(255 255 255 / .1); }

/* I-letters: kamen, naziv se kleše slovo po slovo */
.I-letters .xp-intro-bg { background: radial-gradient(70% 60% at 50% 45%, transparent, color-mix(in srgb, var(--text) 16%, transparent)),
  linear-gradient(color-mix(in srgb, var(--text) 8%, transparent) 2px, transparent 2px) 0 0 / 100% 54px,
  linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 2px, transparent 2px) 0 0 / 118px 108px,
  linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 2px, transparent 2px) 59px 54px / 118px 108px, var(--bg); }
.I-letters .xp-intro-logo { box-shadow: inset 0 0 0 3px var(--primary), 0 12px 30px -10px rgb(0 0 0 / .5); animation: xi-press .8s cubic-bezier(.2,.8,.2,1) .15s both; }
@keyframes xi-press { from { opacity: 0; transform: scale(1.25); filter: blur(4px); } }
.I-letters .xp-intro-name { text-transform: uppercase; letter-spacing: .06em; font-weight: 400; font-size: clamp(32px, 10vw, 66px); animation: xp-up .8s ease .6s both; }
.I-letters .xp-intro-name.split { animation: none; }
.I-letters .xp-intro-name .wd { display: inline-block; white-space: nowrap; }
.I-letters .xp-intro-name .ch { display: inline-block; animation: xi-chisel .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.55s + var(--i, 0) * 70ms); }
@keyframes xi-chisel { from { opacity: 0; transform: translateY(14px) scale(1.4); filter: blur(6px); } }
.I-letters .xp-intro-in::after { content: ""; order: 1; width: 0; height: 2px; background: var(--primary); animation: xi-line .8s ease 1.5s forwards; }
.I-letters .xp-intro-tag { order: 2; animation: xp-up .6s ease 1.8s both; }
@keyframes xi-line { to { width: 140px; } }

/* I-stitch: narodni vez se veze preko ekrana, logo kao tanjir */
.I-stitch .xp-intro-bg::before, .I-stitch .xp-intro-bg::after { content: ""; position: absolute; left: 0; right: 0; height: 40px;
  background: linear-gradient(45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 50% / 14px 14px repeat-x, linear-gradient(-45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 50% / 14px 14px repeat-x,
    linear-gradient(var(--text) 0 0) 0 5px / 100% 2px no-repeat, linear-gradient(var(--text) 0 0) 0 calc(100% - 5px) / 100% 2px no-repeat;
  animation: xi-draw 1.2s steps(26) .1s both; }
.I-stitch .xp-intro-bg::before { top: 9%; } .I-stitch .xp-intro-bg::after { bottom: 9%; animation-name: xi-draw-r; }
@keyframes xi-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes xi-draw-r { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.I-stitch .xp-intro-in::before { content: ""; position: absolute; top: 4px; left: 50%; width: 156px; height: 156px; margin-left: -78px; border-radius: 50%; border: 2px dashed var(--primary); animation: xi-spin 16s linear infinite, xp-scale .8s ease .7s both; }
.I-stitch .xp-intro-logo { box-shadow: 0 0 0 8px var(--surface), 0 0 0 10px var(--primary), 0 20px 40px -16px rgb(0 0 0 / .45); animation: xi-plate 1s cubic-bezier(.2,1.1,.3,1) .4s both; }
@keyframes xi-plate { from { opacity: 0; transform: rotate(-180deg) scale(.3); } }
.I-stitch .xp-intro-name { margin-top: 16px; animation: xp-up .7s ease 1s both; }
.I-stitch .xp-intro-tag { color: var(--primary-text); animation: xp-up .6s ease 1.2s both; }

/* I-mountain: sunce izlazi iza planina */
.I-mountain .xp-intro-bg { background: linear-gradient(180deg, color-mix(in srgb, var(--accent2) 20%, var(--bg)), var(--bg) 70%); }
.I-mountain .xp-intro-bg::before { content: ""; position: absolute; left: 50%; top: 18%; width: 240px; height: 240px; margin-left: -120px; border-radius: 50%; background: radial-gradient(circle, #FFE1A0 0 38%, color-mix(in srgb, #FFB347 55%, transparent) 55%, transparent 70%); animation: xi-sun 1.7s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes xi-sun { from { transform: translateY(55vh); opacity: 0; } }
.I-mountain .xp-fx i:nth-child(-n+3) { display: block; opacity: 1; left: -5%; right: -5%; top: auto; bottom: 0; animation: xi-mtn 1.1s cubic-bezier(.2,.8,.2,1) both; }
.I-mountain .xp-fx i:nth-child(1) { height: 50%; background: color-mix(in srgb, var(--primary) 40%, var(--bg)); clip-path: polygon(0 60%, 14% 30%, 26% 52%, 42% 10%, 58% 46%, 70% 24%, 84% 50%, 100% 20%, 100% 100%, 0 100%); animation-delay: .1s; }
.I-mountain .xp-fx i:nth-child(2) { height: 38%; background: color-mix(in srgb, var(--primary) 72%, var(--bg)); clip-path: polygon(0 40%, 18% 62%, 34% 18%, 50% 55%, 64% 30%, 80% 60%, 100% 34%, 100% 100%, 0 100%); animation-delay: .3s; }
.I-mountain .xp-fx i:nth-child(3) { height: 24%; background: var(--primary); clip-path: polygon(0 52%, 10% 30%, 22% 56%, 38% 24%, 55% 60%, 72% 26%, 88% 52%, 100% 38%, 100% 100%, 0 100%); animation-delay: .5s; }
@keyframes xi-mtn { from { transform: translateY(100%); } }
.I-mountain .xp-intro-in { margin-top: -16vh; }
.I-mountain .xp-intro-logo { box-shadow: 0 0 0 4px var(--surface), 0 18px 40px -16px rgb(0 0 0 / .5); animation: xp-scale .8s ease 1s both; }
.I-mountain .xp-intro-name { animation: xp-up .7s ease 1.2s both; }
.I-mountain .xp-intro-tag { color: var(--text); animation: xp-up .6s ease 1.4s both; }
.I-mountain .xp-skip { color: #fff; background: rgb(0 0 0 / .28); }

/* I-frame: zlatni okvir se iscrtava, logo kao u izlogu poslastičarnice */
.I-frame .xp-intro-bg { background: radial-gradient(70% 60% at 50% 45%, var(--surface), var(--bg)); }
:is(.I-frame, .I-gold) .xp-frame { display: block; position: absolute; left: 50%; top: 50%; width: min(80vw, 340px, 58vh); aspect-ratio: 3 / 4; height: auto; transform: translate(-50%, -50%); fill: none; stroke: var(--primary); overflow: visible; }
:is(.I-frame, .I-gold) .xp-frame path { stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: xi-stroke 1.6s ease .1s forwards; }
:is(.I-frame, .I-gold) .xp-frame path + path { stroke-width: .7; animation-delay: .45s; }
@keyframes xi-stroke { to { stroke-dashoffset: 0; } }
.I-frame .xp-fx i { width: 7px; height: 7px; background: var(--primary); animation: xi-twinkle 1.9s ease-in-out infinite; }
.I-frame .xp-intro-logo { box-shadow: 0 0 0 1px var(--primary), 0 0 0 7px var(--surface), 0 0 0 8px color-mix(in srgb, var(--primary) 50%, transparent); animation: xp-scale 1s ease .6s both; }
.I-frame .xp-intro-name { font-style: italic; font-weight: 500; animation: xi-blur .9s ease 1s both; }
.I-frame .xp-intro-tag { color: var(--primary-text); letter-spacing: .3em; font-size: 12.5px; animation: xp-up .7s ease 1.35s both; }

/* I-awning: tenda pariskog bistroa se spušta */
.I-awning .xp-intro-bg::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30vh; transform-origin: 50% 0;
  background: repeating-linear-gradient(90deg, var(--primary) 0 34px, var(--on-primary) 34px 68px);
  -webkit-mask: radial-gradient(circle 17px at 17px 0, #000 98%, transparent) 0 100% / 34px 17px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 17px) no-repeat;
  mask: radial-gradient(circle 17px at 17px 0, #000 98%, transparent) 0 100% / 34px 17px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 17px) no-repeat;
  animation: xi-awn .9s cubic-bezier(.3,1.3,.5,1) .1s both; }
.I-awning .xp-intro-bg::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: linear-gradient(var(--accent2), color-mix(in srgb, var(--accent2) 60%, #000)); }
@keyframes xi-awn { from { transform: scaleY(0); } }
.I-awning .xp-intro-in { margin-top: 16vh; }
.I-awning .xp-intro-logo { box-shadow: 0 0 0 3px var(--accent2), 0 16px 40px -16px rgb(0 0 0 / .5); animation: xp-scale .7s ease .8s both; }
.I-awning .xp-intro-name { font-style: italic; animation: xp-up .7s ease 1s both; }
.I-awning .xp-intro-tag { letter-spacing: .3em; font-size: 12.5px; color: var(--primary-text); animation: xp-up .6s ease 1.25s both; }

/* I-gold: crno i zlato — linije, zlatna prašina, odsjaj preko loga, naziv se sabija */
.I-gold .xp-intro-bg { background: radial-gradient(60% 50% at 50% 45%, #1a1712, #050505 75%); }
.I-gold .xp-frame path { opacity: .55; animation-duration: 2.2s; }
.I-gold .xp-fx i { width: 3px; height: 3px; border-radius: 50%; background: #F3D98B; box-shadow: 0 0 6px 1px color-mix(in srgb, var(--primary) 80%, transparent); animation: xi-dust 3.2s ease-in-out infinite; }
@keyframes xi-dust { 0% { opacity: 0; transform: translateY(24px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-70px); } }
.I-gold .xp-intro-logo { box-shadow: 0 0 0 1px var(--primary), 0 0 70px -10px color-mix(in srgb, var(--primary) 60%, transparent); animation: xi-gold-in 1.4s cubic-bezier(.2,.8,.2,1) .5s both; }
.I-gold .xp-intro-logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgb(255 240 200 / .7) 50%, transparent 65%); transform: translateX(-130%); animation: xi-shine 1.2s ease 1.7s forwards; }
@keyframes xi-gold-in { from { opacity: 0; transform: scale(.85); filter: blur(6px); } }
@keyframes xi-shine { to { transform: translateX(130%); } }
.I-gold .xp-intro-in::before, .I-gold .xp-intro-in::after { content: ""; width: 170px; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); transform: scaleX(0); animation: xi-hair 1.2s ease 1.3s forwards; }
.I-gold .xp-intro-in::before { order: -1; }
@keyframes xi-hair { to { transform: scaleX(1); } }
.I-gold .xp-intro-name { color: #F3EEE3; font-weight: 400; text-transform: uppercase; letter-spacing: .22em; padding-left: .22em; font-size: clamp(30px, 9vw, 60px); animation: xi-track 1.6s cubic-bezier(.2,.8,.2,1) 1.1s both; }
@keyframes xi-track { from { opacity: 0; letter-spacing: .8em; filter: blur(8px); } }
.I-gold .xp-intro-tag { color: var(--primary); letter-spacing: .4em; font-size: 12px; animation: xp-up .8s ease 1.9s both; }
.I-gold .xp-skip { color: var(--primary); background: transparent; border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.I-gold .xp-intro-logo.mono, .I-flame .xp-intro-logo.mono { background: var(--primary); color: var(--on-primary); }

/* ── Izbor cjelina: novi oblici ── */
@keyframes xc-slide-l { from { opacity: 0; transform: translateX(-40px); } }
@keyframes xc-slide-r { from { opacity: 0; transform: translateX(40px); } }
@keyframes xc-pop { from { opacity: 0; transform: scale(.7); } }
@keyframes xc-rise { from { opacity: 0; transform: translateY(34px) scale(.97); } }
@keyframes xc-spin { from { opacity: 0; transform: rotate(-30deg) scale(.7); } }
@keyframes xc-swing { from { opacity: 0; transform: perspective(600px) rotateX(-75deg); } }
@keyframes xc-drop { from { opacity: 0; transform: translateY(-46px) rotate(-12deg); } }
@keyframes xc-fade { from { opacity: 0; } }
@keyframes xc-kb { from { transform: scale(1); } to { transform: scale(1.12); } }

/* C-diag: kose trake preko cijele širine (brza hrana) */
.C-diag .xp-tiles { grid-template-columns: 1fr; gap: 0; padding: 0; counter-reset: d; }
.C-diag .xp-tile { counter-increment: d; min-height: 136px; margin-top: -14px; padding: 30px var(--pad); align-items: center; gap: 16px; border: 0; border-radius: 0; color: #fff; background: var(--surface); clip-path: polygon(0 14px, 100% 0, 100% calc(100% - 14px), 0 100%); animation-name: xc-slide-l; }
.C-diag .xp-tile:first-child { margin-top: 0; }
.C-diag .xp-tile:nth-child(even) { clip-path: polygon(0 0, 100% 14px, 100% 100%, 0 calc(100% - 14px)); justify-content: flex-end; text-align: right; animation-name: xc-slide-r; }
.C-diag .xp-tile:has(.xt-ph)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .8), rgb(0 0 0 / .12)); }
.C-diag .xp-tile:nth-child(even):has(.xt-ph)::after { background: linear-gradient(270deg, rgb(0 0 0 / .8), rgb(0 0 0 / .12)); }
.C-diag .xp-tile::before { content: counter(d, decimal-leading-zero); font-family: var(--heading); font-size: 58px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent2); }
.C-diag .xp-tile:nth-child(even)::before { order: 3; }
.C-diag .xt-ic { display: none; }
.C-diag .xt-tx b { font-size: 42px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.C-diag .xt-tx small { color: var(--accent2); opacity: 1; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.C-diag .xp-tile:not(:has(.xt-ph)) { background: var(--primary); color: var(--on-primary); }
.C-diag .xp-tile.picked { filter: brightness(1.25); }

/* C-badges: okrugle naljepnice sa trakom (dajner) */
.C-badges .xp-tiles { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
.C-badges .xp-tile { flex-direction: column; align-items: center; background: none; border: 0; overflow: visible; padding-bottom: 6px; animation-name: xc-pop; animation-timing-function: cubic-bezier(.2,1.5,.4,1); }
.C-badges .xt-ph { position: relative; inset: auto; z-index: 0; width: min(150px, 38vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px var(--surface), 0 0 0 9px var(--primary), 0 14px 28px -12px rgb(0 0 0 / .4); }
.C-badges .xp-tile:nth-child(even) .xt-ph { box-shadow: 0 0 0 5px var(--surface), 0 0 0 9px var(--accent2), 0 14px 28px -12px rgb(0 0 0 / .4); }
.C-badges .xt-ic { position: absolute; top: -8px; left: calc(50% + min(46px, 11vw)); z-index: 2; width: 42px; height: 42px; background: var(--accent2); color: var(--text); border: 3px solid var(--surface); }
.C-badges .xt-tx { position: relative; z-index: 1; margin-top: -18px; max-width: 100%; align-items: center; text-align: center; padding: 6px 16px 8px; border-radius: 10px; background: var(--primary); color: var(--on-primary); transform: rotate(-4deg); box-shadow: 0 6px 14px -6px rgb(0 0 0 / .45); }
.C-badges .xp-tile:nth-child(even) .xt-tx { transform: rotate(3deg); }
.C-badges .xt-tx b { font-size: 20px; font-weight: 400; }
.C-badges .xt-tx small { font-family: var(--body); font-size: 12px; opacity: .92; }
.C-badges .xp-tile:not(:has(.xt-ph)) .xt-ic { position: static; width: min(150px, 38vw); height: auto; aspect-ratio: 1; border: 0; box-shadow: 0 0 0 5px var(--surface), 0 0 0 9px var(--primary); }
.C-badges .xp-tile:not(:has(.xt-ph)) .xt-ic svg { width: 44%; height: 44%; }

/* C-bento: neravnomjerna mreža, debele ivice i tvrda sjenka (street food) */
.C-bento .xp-tiles { grid-template-columns: 1fr 1fr; gap: 14px; }
.C-bento .xp-tile { aspect-ratio: 1; flex-direction: column; justify-content: flex-end; padding: 10px; border: 2.5px solid var(--text); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--text); transition: transform .15s, box-shadow .15s; animation-name: xc-pop; animation-timing-function: cubic-bezier(.2,1.4,.4,1); }
.C-bento .xp-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.C-bento .xp-tiles.n2 .xp-tile:first-child, .C-bento .xp-tiles.n4 .xp-tile:first-child { grid-column: auto; aspect-ratio: 1; }
.C-bento .xp-tile:active, .C-bento .xp-tile.picked { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--text); }
.C-bento .xt-ic { position: absolute; top: 10px; right: 10px; background: var(--accent2); color: var(--text); border: 2px solid var(--text); }
.C-bento .xt-tx { align-self: flex-start; max-width: 100%; padding: 4px 10px 5px; border: 2px solid var(--text); border-radius: 10px; background: var(--accent2); color: var(--text); transform: rotate(-2deg); }
.C-bento .xp-tile:nth-child(3n+2) .xt-tx { background: var(--primary); color: var(--on-primary); }
.C-bento .xt-tx b { font-size: 20px; font-weight: 800; }
.C-bento .xt-tx small { font-size: 12px; font-weight: 600; opacity: .9; }
.C-bento .xp-tile:not(:has(.xt-ph)) { background: var(--primary); }

/* C-panels: visoki paneli koji se prevlače (roštilj) */
.C-panels .xp-tiles { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 16px; scrollbar-width: none; overscroll-behavior-x: contain; counter-reset: p; }
.C-panels .xp-tiles::-webkit-scrollbar { display: none; }
.C-panels .xp-tile { counter-increment: p; flex: 0 0 74%; height: min(62vh, 470px); min-height: 330px; scroll-snap-align: center; flex-direction: column; justify-content: flex-end; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); color: #fff; animation-name: xc-slide-r; }
.C-panels .xp-tile:has(.xt-ph)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .1) 25%, rgb(10 6 4 / .9)); }
.C-panels .xp-tile::before { content: counter(p, decimal-leading-zero); position: absolute; top: 12px; left: 16px; font-family: var(--heading); font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--primary); }
.C-panels .xt-ic { margin-bottom: 10px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.C-panels .xt-tx b { font-size: 30px; text-transform: uppercase; letter-spacing: .03em; font-weight: 500; }
.C-panels .xt-tx small { color: var(--primary); opacity: 1; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.C-panels .xp-tile:not(:has(.xt-ph)) { background: radial-gradient(90% 60% at 50% 100%, color-mix(in srgb, var(--primary) 45%, var(--surface)), var(--surface)); }

/* C-arch: lučni prozori u kamenu (konoba) */
.C-arch .xp-tiles { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.C-arch .xp-tile { flex-direction: column; align-items: center; gap: 10px; text-align: center; background: none; border: 0; overflow: visible; animation-name: xc-rise; }
.C-arch .xt-ph { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 6px 6px; border: 5px solid var(--surface); box-shadow: 0 0 0 1px var(--border), 0 16px 30px -18px rgb(0 0 0 / .55); }
.C-arch .xt-ic { position: relative; z-index: 1; margin-top: -32px; border: 3px solid var(--bg); }
.C-arch .xt-tx { align-items: center; }
.C-arch .xt-tx b { font-size: 21px; font-weight: 400; }
.C-arch .xt-tx small { color: var(--muted); opacity: 1; }
.C-arch .xp-tile:not(:has(.xt-ph)) .xt-ic { margin-top: 0; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; border: 5px solid var(--surface); }
.C-arch .xp-tile:not(:has(.xt-ph)) .xt-ic svg { width: 40%; height: 40%; }

/* C-plates: tanjiri sa vezom (etno) */
.C-plates .xp-tiles { grid-template-columns: 1fr 1fr; gap: 34px 12px; padding-top: 10px; }
.C-plates .xp-tile { flex-direction: column; align-items: center; gap: 18px; text-align: center; background: none; border: 0; overflow: visible; animation-name: xc-spin; }
.C-plates .xt-ph { position: relative; inset: auto; z-index: 0; width: min(146px, 36vw); aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--border), 0 14px 26px -14px rgb(0 0 0 / .5); outline: 2px dashed var(--primary); outline-offset: 11px; }
.C-plates .xt-ic { display: none; }
.C-plates .xt-tx { align-items: center; }
.C-plates .xt-tx b { font-size: 20px; }
.C-plates .xt-tx small { color: var(--primary-text); opacity: 1; }
.C-plates .xp-tile:not(:has(.xt-ph)) .xt-ic { display: grid; width: min(146px, 36vw); height: auto; aspect-ratio: 1; outline: 2px dashed var(--primary); outline-offset: 11px; }
.C-plates .xp-tile:not(:has(.xt-ph)) .xt-ic svg { width: 44%; height: 44%; }

/* C-planks: drvene table na ekserima (planinska koliba) */
.C-planks .xp-tiles { grid-template-columns: 1fr; gap: 14px; }
.C-planks .xp-tile { min-height: 94px; align-items: center; gap: 14px; padding: 14px 18px; border: 0; border-radius: 10px; color: #FFF7E8; transform-origin: 50% 0; animation-name: xc-swing;
  background: linear-gradient(180deg, rgb(255 255 255 / .07), rgb(0 0 0 / .14)), repeating-linear-gradient(91deg, color-mix(in srgb, var(--accent2) 88%, #000) 0 3px, var(--accent2) 3px 12px, color-mix(in srgb, var(--accent2) 86%, #fff) 12px 14px, var(--accent2) 14px 27px);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .14), inset 0 -3px 0 rgb(0 0 0 / .25), 0 10px 18px -12px rgb(0 0 0 / .6); }
.C-planks .xp-tile:nth-child(odd) { transform: rotate(-.6deg); } .C-planks .xp-tile:nth-child(even) { transform: rotate(.5deg); }
.C-planks .xp-tile::before, .C-planks .xp-tile::after { content: ""; position: absolute; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d9d2c4, #6b625a); }
.C-planks .xp-tile::before { left: 9px; } .C-planks .xp-tile::after { right: 9px; }
.C-planks .xt-ph { position: relative; inset: auto; z-index: 0; order: 2; margin-left: auto; flex: none; width: 66px; height: 66px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px #FFF7E8; }
.C-planks .xt-ic { background: #FFF7E8; color: var(--accent2); }
.C-planks .xt-tx b { font-size: 24px; text-shadow: 0 1px 0 rgb(0 0 0 / .35); }
.C-planks .xt-tx small { opacity: .88; }

/* C-vitrine: izlog poslastičarnice sa tendom */
.C-vitrine .xp-tiles { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.C-vitrine .xp-tile { flex-direction: column; align-items: center; gap: 10px; padding: 0 0 14px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); animation-name: xc-rise; }
.C-vitrine .xp-tile::before { content: ""; align-self: stretch; height: 30px; flex: none; background: repeating-linear-gradient(90deg, var(--accent2) 0 20px, var(--surface) 20px 40px);
  -webkit-mask: radial-gradient(circle 10px at 10px 0, #000 98%, transparent) 0 100% / 20px 10px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 20px no-repeat;
  mask: radial-gradient(circle 10px at 10px 0, #000 98%, transparent) 0 100% / 20px 10px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 20px no-repeat; }
.C-vitrine .xt-ph { position: relative; inset: auto; z-index: 0; width: calc(100% - 22px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); outline: 1px solid color-mix(in srgb, var(--primary) 70%, transparent); outline-offset: -7px; }
.C-vitrine .xt-ph img { position: relative; z-index: -1; }
.C-vitrine .xt-ic { display: none; }
.C-vitrine .xt-tx { align-items: center; padding: 0 8px; }
.C-vitrine .xt-tx b { font-size: 20px; font-style: italic; font-weight: 500; }
.C-vitrine .xt-tx small { color: var(--primary-text); opacity: 1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.C-vitrine .xp-tile:not(:has(.xt-ph)) .xt-ic { display: grid; width: 64px; height: 64px; margin-top: 18px; }

/* C-polaroid: fotografije zakačene trakom (bistro) */
.C-polaroid .xp-tiles { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 8px calc(var(--pad) + 4px) 0; }
.C-polaroid .xp-tile { flex-direction: column; gap: 8px; padding: 8px 8px 12px; overflow: visible; background: #fff; color: #222; border: 0; border-radius: 3px; box-shadow: 0 12px 24px -12px rgb(0 0 0 / .45), 0 2px 4px rgb(0 0 0 / .08); transform: rotate(-2.5deg); transition: transform .3s; animation-name: xc-drop; }
.C-polaroid .xp-tile:nth-child(4n+2) { transform: rotate(2deg); } .C-polaroid .xp-tile:nth-child(4n+3) { transform: rotate(1.5deg); } .C-polaroid .xp-tile:nth-child(4n) { transform: rotate(-1.5deg); }
.C-polaroid .xp-tile:active, .C-polaroid .xp-tile.picked { transform: rotate(0) scale(1.04); }
.C-polaroid .xp-tile::before { content: ""; position: absolute; top: -10px; left: 50%; z-index: 2; width: 66px; height: 20px; margin-left: -33px; background: color-mix(in srgb, var(--accent2) 45%, rgb(255 255 255 / .55)); transform: rotate(-4deg); }
.C-polaroid .xt-ph { position: relative; inset: auto; z-index: 0; aspect-ratio: 1; overflow: hidden; border-radius: 1px; }
.C-polaroid .xt-ic { display: none; }
.C-polaroid .xt-tx { align-items: center; text-align: center; }
.C-polaroid .xt-tx b { font-size: 22px; font-style: italic; font-weight: 600; color: #222; }
.C-polaroid .xt-tx small { color: #666; font-size: 12px; opacity: 1; }
.C-polaroid .xp-tile:not(:has(.xt-ph)) .xt-ic { display: grid; width: 100%; height: auto; aspect-ratio: 1; border-radius: 1px; }

/* C-cinema: panoramski paneli preko cijelog ekrana (premium) */
.C-cinema .xp-tiles { grid-template-columns: 1fr; gap: 2px; padding: 0; counter-reset: c; }
.C-cinema .xp-tile { counter-increment: c; height: 64vh; min-height: 340px; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 0 18px; text-align: center; color: #F3EEE3; border: 0; border-radius: 0; animation-name: xc-fade; animation-duration: 1.1s; }
.C-cinema .xp-tile:has(.xt-ph)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 50%, rgb(0 0 0 / .32), rgb(0 0 0 / .74)); }
.C-cinema .xt-ph img { animation: xc-kb 18s ease-in-out infinite alternate; }
.C-cinema .xp-tile::before { content: counter(c, upper-roman); font-family: var(--heading); font-size: 16px; letter-spacing: .3em; color: var(--primary); }
.C-cinema .xt-ic { display: none; }
.C-cinema .xt-tx { align-items: center; gap: 14px; max-width: 100%; }
.C-cinema .xt-tx b { font-size: clamp(32px, 10vw, 62px); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: break-word; max-width: 100%; }
.C-cinema .xt-tx small { padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--primary) 60%, transparent); font-family: var(--body); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--primary); opacity: 1; }
.C-cinema .xp-tile:not(:has(.xt-ph)) { background: radial-gradient(70% 60% at 50% 50%, color-mix(in srgb, var(--primary) 16%, var(--surface)), var(--bg)); }

/* ── Rasporedi bez fotografija u listi (fotografija na klik) ── */
.xp-sec.enter .xc-h, .xp-sec.enter .xi { animation: var(--enter, xe-up) .55s cubic-bezier(.2,.8,.2,1) both; }
.xp-sec.enter .xi:nth-child(2) { animation-delay: .05s; } .xp-sec.enter .xi:nth-child(3) { animation-delay: .1s; } .xp-sec.enter .xi:nth-child(4) { animation-delay: .15s; }
.xp-sec.enter .xi:nth-child(5) { animation-delay: .2s; } .xp-sec.enter .xi:nth-child(6) { animation-delay: .25s; } .xp-sec.enter .xi:nth-child(7) { animation-delay: .3s; }
.xp-sec.enter .xi:nth-child(8) { animation-delay: .35s; } .xp-sec.enter .xi:nth-child(n+9) { animation-delay: .4s; }
@keyframes xe-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes xe-left { from { opacity: 0; transform: translateX(-34px); } }
@keyframes xe-blur { from { opacity: 0; filter: blur(8px); transform: translateY(8px); } }
@keyframes xe-pop { from { opacity: 0; transform: scale(.9); } }
@keyframes xe-swing { from { opacity: 0; transform: perspective(500px) rotateX(-50deg); } }

/* R-ticket: porudžbenica — broj, krupan naziv, cijena kao naljepnica */
.R-ticket { --enter: xe-left; }
.R-ticket .xl { gap: 0; counter-reset: t; }
.R-ticket .xi { counter-increment: t; grid-template-columns: auto 1fr auto; column-gap: 12px; padding: 16px 6px; border-bottom: 2px dashed var(--border); }
.R-ticket .xi::before { content: "#" counter(t, decimal-leading-zero); grid-column: 1; grid-row: 1; padding-top: 5px; font-family: var(--heading); font-size: 18px; color: var(--accent2); }
.R-ticket .xb { grid-column: 2; grid-row: 1; }
.R-ticket .xn { font-family: var(--heading) !important; font-weight: 400 !important; font-size: 25px; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em !important; }
.R-ticket .xp-price { grid-column: 3; grid-row: 1; align-self: start; margin-top: 2px; padding: 2px 10px; border-radius: 4px; font-family: var(--heading); font-size: 25px; font-weight: 400; background: var(--primary); color: var(--on-primary); transform: rotate(-3deg); }
.R-ticket .xi:nth-child(even) .xp-price { background: var(--accent2); transform: rotate(2deg); }
.R-ticket .xi .vars { grid-column: 2 / -1; }
.R-ticket .xi .var { border-width: 2px; font-weight: 700; }
.R-ticket .xc-h h2 { font-size: 46px; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.R-ticket .xc-h h2 > span { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--primary) 75%, transparent) 60% 86%, transparent 86%); padding: 0 4px; }

/* R-diner: tačkice do cijene, cijena u crvenoj pilulici, šahovska traka */
.R-diner { --enter: xe-pop; }
.R-diner .xl { gap: 8px; }
.R-diner .xi { grid-template-columns: auto 1fr auto; column-gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.R-diner .xb { display: contents; }
.R-diner .xn { grid-column: 1; grid-row: 1; font-size: 16.5px; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .04em !important; }
.R-diner .xi::after { content: ""; grid-column: 2; grid-row: 1; align-self: center; margin-top: 4px; border-bottom: 3px dotted color-mix(in srgb, var(--primary) 45%, transparent); }
.R-diner .xp-price { grid-column: 3; grid-row: 1; padding: 2px 11px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 15px; }
.R-diner .xd, .R-diner .xm, .R-diner .xi .vars { grid-column: 1 / -1; }
.R-diner .xc-h { text-align: center; padding-bottom: 26px; background: repeating-conic-gradient(var(--text) 0 25%, transparent 0 50%) 0 100% / 16px 16px repeat-x; }
.R-diner .xc-h h2 { font-size: 34px; font-weight: 400; color: var(--primary-text); }

/* R-pop: kartice debelih ivica, pritisak na dodir */
.R-pop { --enter: xe-pop; }
.R-pop .xl { gap: 14px; }
.R-pop .xi { padding: 14px; background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--text); transition: transform .12s, box-shadow .12s; }
.R-pop .xi:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--text); }
.R-pop .xi.feat { background: color-mix(in srgb, var(--accent2) 55%, var(--surface)); }
.R-pop .xn { font-family: var(--heading) !important; font-size: 19px; font-weight: 800 !important; }
.R-pop .xp-price { padding: 3px 9px; border: 2px solid var(--text); border-radius: 10px; background: var(--accent2); color: var(--text); font-weight: 800; transform: rotate(3deg); }
.R-pop .xi.feat .xp-price { background: var(--surface); }
.R-pop .xc-h h2 { font-size: 32px; font-weight: 800; }
.R-pop .xc-h h2 > span { padding: 0 4px; background: linear-gradient(transparent 58%, var(--accent2) 58%); }

/* R-butcher: mesara — porcija u gramima, linija žara */
.R-butcher { --enter: xe-blur; }
.R-butcher .xl { gap: 0; }
.R-butcher .xi { padding: 16px 2px; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, var(--primary), transparent 85%) 1; }
.R-butcher .xn { font-family: var(--heading) !important; font-size: 21px; font-weight: 500 !important; text-transform: uppercase; letter-spacing: .04em !important; }
.R-butcher .xp-price { font-family: var(--heading); font-size: 24px; font-weight: 500; }
.R-butcher .xm > span:not(.xt):not(.xoff) { padding: 1px 9px; border: 1px solid var(--border); border-radius: 999px; }
.R-butcher .xc-h h2 { font-size: 34px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.R-butcher .xc-h h2::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; vertical-align: middle; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px 3px color-mix(in srgb, var(--primary) 70%, transparent); animation: xg-pulse 2.4s ease-in-out infinite; }
@keyframes xg-pulse { 50% { box-shadow: 0 0 20px 6px color-mix(in srgb, var(--primary) 80%, transparent); } }

/* R-sofra: centrirano, vez između jela */
.R-sofra .xl { gap: 0; }
.R-sofra .xi { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px 6px; }
.R-sofra .xi + .xi::before { content: ""; position: absolute; top: 0; left: 50%; width: 84px; height: 8px; margin-left: -42px;
  background: linear-gradient(45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 0 / 8px 8px repeat-x, linear-gradient(-45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 0 / 8px 8px repeat-x; }
.R-sofra .xn { font-family: var(--heading) !important; font-size: 21px; font-weight: 700 !important; }
.R-sofra .xd { font-style: italic; max-width: 40ch; }
.R-sofra .xp-price { margin-top: 6px; font-size: 17px; }
.R-sofra .xp-price::before, .R-sofra .xp-price::after { content: "◆"; margin: 0 8px; font-size: 9px; vertical-align: 2px; color: var(--text); }
.R-sofra .xm, .R-sofra .xi .vars { justify-content: center; }
.R-sofra .xc-h { text-align: center; }
.R-sofra .xc-h h2 { font-size: 30px; }
.R-sofra .xc-h::after { content: ""; display: block; width: 150px; height: 12px; margin: 10px auto 0;
  background: linear-gradient(45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 50% / 12px 12px repeat-x, linear-gradient(-45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 50% / 12px 12px repeat-x; }

/* R-lodge: kartice sa drvenom ivicom (koliba) */
.R-lodge { --enter: xe-swing; }
.R-lodge .xl { gap: 10px; }
.R-lodge .xi { padding: 14px 14px 14px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); box-shadow: inset 6px 0 0 var(--accent2); }
.R-lodge .xn { font-family: var(--heading) !important; font-size: 19px; font-weight: 600 !important; }
.R-lodge .xp-price { padding: 3px 10px; border-radius: 8px; background: var(--primary); color: var(--on-primary); }
.R-lodge .xc-h h2 { font-size: 28px; }
.R-lodge .xc-h h2::after { content: ""; display: block; width: 58px; height: 4px; margin-top: 8px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--accent2) 0 10px, transparent 10px 14px); }

/* R-patisserie: kurziv, zlatne linije, mirno */
.R-patisserie { --enter: xe-blur; }
.R-patisserie .xl { gap: 0; }
.R-patisserie .xi { padding: 18px 4px; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 55%, transparent), transparent) 1; }
.R-patisserie .xn { font-family: var(--heading) !important; font-style: italic; font-size: 21px; font-weight: 500 !important; }
.R-patisserie .xp-price { font-family: var(--heading); font-style: italic; font-size: 20px; font-weight: 500; }
.R-patisserie .xc-h { text-align: center; }
.R-patisserie .xc-h h2 { font-size: 32px; font-style: italic; font-weight: 500; }
.R-patisserie .xc-h h2 > span::before, .R-patisserie .xc-h h2 > span::after { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 12px; vertical-align: middle; background: var(--primary); }

/* R-bistro: tačkice, zelena traka kategorije, mesingana linija */
.R-bistro .xl { gap: 2px; }
.R-bistro .xi { grid-template-columns: auto 1fr auto; column-gap: 10px; padding: 13px 2px; }
.R-bistro .xb { display: contents; }
.R-bistro .xn { grid-column: 1; grid-row: 1; align-self: end; font-size: 15px; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .1em !important; }
.R-bistro .xi::after { content: ""; grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 6px; border-bottom: 1px dotted color-mix(in srgb, var(--text) 45%, transparent); }
.R-bistro .xp-price { grid-column: 3; grid-row: 1; align-self: end; line-height: 1.1; font-family: var(--heading); font-size: 21px; font-weight: 600; }
.R-bistro .xd { grid-column: 1 / -1; margin-top: 0; font-family: var(--heading); font-style: italic; font-size: 17px; }
.R-bistro .xm, .R-bistro .xi .vars { grid-column: 1 / -1; }
.R-bistro .xc-h { position: relative; margin: 0 -2px 10px; padding: 14px 16px 18px; border-radius: var(--radius); background: var(--primary); color: var(--on-primary); }
.R-bistro .xc-h::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 1px; background: var(--accent2); }
.R-bistro .xc-h h2 { font-size: 26px; font-style: italic; font-weight: 600; }
.R-bistro .xc-h p { color: color-mix(in srgb, var(--on-primary) 82%, transparent); }

/* R-tasting: degustacioni meni — rimski brojevi, razmak, zlatne linije */
.R-tasting { --enter: xe-blur; }
.R-tasting .xl { gap: 0; counter-reset: k; }
.R-tasting .xi { counter-increment: k; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 8px; }
.R-tasting .xi::before { content: counter(k, upper-roman); margin-bottom: 6px; font-family: var(--heading); font-size: 14px; letter-spacing: .3em; color: var(--primary-text); }
.R-tasting .xi + .xi { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent 30%, color-mix(in srgb, var(--primary) 60%, transparent), transparent 70%) 1; }
.R-tasting .xn { font-family: var(--heading) !important; font-size: 23px; font-weight: 500 !important; text-transform: uppercase; letter-spacing: .14em !important; }
.R-tasting .xd { max-width: 38ch; margin-top: 6px; font-family: var(--heading); font-style: italic; font-size: 17.5px; }
.R-tasting .xp-price { margin-top: 10px; font-size: 14px; font-weight: 400; letter-spacing: .18em; }
.R-tasting .xm, .R-tasting .xi .vars { justify-content: center; }
.R-tasting .xc-h { text-align: center; padding: 18px 0 6px; }
.R-tasting .xc-h h2 { font-size: 36px; font-weight: 400; letter-spacing: .06em; }
.R-tasting .xc-h h2 > span::before, .R-tasting .xc-h h2 > span::after { content: ""; display: inline-block; width: 30px; height: 1px; margin: 0 14px; vertical-align: middle; background: var(--primary); }
.R-tasting .xc-h p { font-family: var(--heading); font-style: italic; font-size: 17px; }

/* ── Prozor stavke na klik (K-*) ── */
.tpl-modal.xk { animation: xk-bg .3s ease both; }
.tpl-modal.xk .tpl-sheet { animation: xk-up .45s cubic-bezier(.2,1,.3,1) both; }
.tpl-modal.xk.closing { animation: xk-bg-out .28s ease both; }
.tpl-modal.xk.closing .tpl-sheet { animation: xk-out .28s ease both; }
@keyframes xk-bg { from { background-color: rgb(0 0 0 / 0); } }
@keyframes xk-bg-out { to { background-color: rgb(0 0 0 / 0); } }
@keyframes xk-up { from { opacity: 0; transform: translateY(44px); } }
@keyframes xk-out { to { opacity: 0; transform: translateY(30px) scale(.98); } }
.xk .dfig { margin: -24px -24px 16px; overflow: hidden; }
.xk .dfig .dimg { width: 100%; margin: 0; }
/* bounce: odskočni prozor, fotografija pada, cijena kao naljepnica */
.K-bounce .tpl-sheet { animation: xk-bounce .62s cubic-bezier(.2,1.3,.35,1) both; }
@keyframes xk-bounce { from { transform: translateY(100%); } }
.K-bounce .dfig .dimg { animation: xk-drop .7s cubic-bezier(.2,1.5,.4,1) .12s both; }
@keyframes xk-drop { from { opacity: 0; transform: scale(1.3) rotate(-3deg); } }
.K-bounce .tpl-sheet h3 { text-transform: uppercase; font-weight: 400; font-size: 30px; }
.K-bounce .price.big { display: inline-block; padding: 3px 12px; border-radius: 6px; background: var(--primary); color: var(--on-primary); font-family: var(--heading); font-size: 28px; font-weight: 400; transform: rotate(-4deg); animation: xk-sticker .55s cubic-bezier(.2,1.6,.4,1) .3s both; }
@keyframes xk-sticker { from { transform: rotate(-40deg) scale(0); } }
/* flip: kartica se okreće */
.K-flip { perspective: 1200px; }
.K-flip .tpl-sheet { transform-origin: 50% 100%; animation: xk-flip .65s cubic-bezier(.2,.8,.2,1) both; }
@keyframes xk-flip { from { opacity: 0; transform: rotateY(-100deg) translateY(30px); } 55% { opacity: 1; } }
.K-flip .price.big { padding: 2px 12px; border-radius: 999px; background: var(--primary); color: var(--on-primary); }
/* burst: krug boje se širi iz tačke dodira */
.K-burst { background: color-mix(in srgb, var(--primary) 78%, #000); animation: xk-burst .5s cubic-bezier(.6,0,.2,1) both; }
@keyframes xk-burst { from { clip-path: circle(0 at var(--x) var(--y)); } to { clip-path: circle(150% at var(--x) var(--y)); } }
.K-burst .tpl-sheet { border: 2.5px solid var(--text); animation: xk-up .45s cubic-bezier(.2,1.3,.4,1) .18s both; }
.K-burst .dfig { border-bottom: 2.5px solid var(--text); }
.K-burst .price.big { padding: 2px 10px; border: 2px solid var(--text); border-radius: 10px; background: var(--accent2); color: var(--text); transform: rotate(3deg); }
/* smoke: izlazi iz dima, fotografija se „zapeče" */
.K-smoke .tpl-sheet { animation: xk-smoke .7s ease both; }
@keyframes xk-smoke { from { opacity: 0; filter: blur(14px); transform: translateY(40px) scale(.98); } }
.K-smoke .dfig .dimg { animation: xk-ember 1.2s ease .1s both; }
@keyframes xk-ember { from { filter: brightness(.2) saturate(.3) sepia(.7); transform: scale(1.08); } }
.K-smoke .tpl-sheet h3 { text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
/* unfold: odmotava se kao stari svitak */
.K-unfold { perspective: 1000px; }
.K-unfold .tpl-sheet { transform-origin: 50% 0; animation: xk-unfold .7s cubic-bezier(.2,.9,.25,1) both; }
@keyframes xk-unfold { from { opacity: 0; transform: rotateX(-78deg); } 40% { opacity: 1; } }
/* plate: fotografija se zavrti kao tanjir */
.xk.K-plate .dfig { width: min(76%, 340px); aspect-ratio: 1; margin: 8px auto 22px; border-radius: 50%; box-shadow: 0 0 0 6px var(--surface), 0 0 0 9px var(--primary), 0 18px 40px -16px rgb(0 0 0 / .5); animation: xk-plate .85s cubic-bezier(.2,1.1,.3,1) .05s both; }
.xk.K-plate .dfig .dimg { height: 100%; aspect-ratio: 1; }
@keyframes xk-plate { from { opacity: 0; transform: rotate(-200deg) scale(.3); } }
.K-plate .tpl-sheet h3 { text-align: center; }
.K-plate .dtop { flex-direction: column; align-items: center; gap: 6px; }
/* swing: tabla visi i ljulja se */
.K-swing { align-items: center; }
.K-swing .tpl-sheet { width: calc(100% - 24px); max-height: 86vh; border-radius: calc(var(--radius) + 12px); transform-origin: 50% -40px; animation: xk-swing 1s cubic-bezier(.3,.7,.3,1) both; }
@keyframes xk-swing { 0% { transform: translateY(-70vh); } 35% { transform: translateY(0) rotate(6deg); } 55% { transform: rotate(-4deg); } 72% { transform: rotate(2deg); } 86% { transform: rotate(-1deg); } 100% { transform: none; } }
.K-swing .price.big { padding: 2px 12px; border-radius: 8px; background: var(--primary); color: var(--on-primary); }
/* lid: kutija sa poklopcem */
.K-lid { perspective: 1000px; }
.K-lid .tpl-sheet { border-top: 3px solid var(--primary); animation: xk-rise .5s cubic-bezier(.2,.9,.3,1) both; }
@keyframes xk-rise { from { opacity: 0; transform: translateY(24px) scale(.94); } }
.K-lid .dfig { transform-origin: 50% 0; animation: xk-lid .85s cubic-bezier(.2,.9,.25,1) .15s both; }
@keyframes xk-lid { from { opacity: 0; transform: rotateX(82deg); } }
.K-lid .tpl-sheet h3 { font-style: italic; font-weight: 500; }
.K-lid .price.big { font-family: var(--heading); font-style: italic; font-weight: 500; font-size: 24px; }
/* polaroid: fotografija pada i ostaje nakrivo */
.xk.K-polaroid .dfig { width: 84%; margin: 0 auto 20px; overflow: visible; animation: xk-pol .85s cubic-bezier(.2,1.2,.35,1) .1s both; transform: rotate(-3deg); }
.xk.K-polaroid .dfig .dimg { aspect-ratio: 1; border: 10px solid #fff; border-bottom-width: 46px; box-shadow: 0 16px 34px -14px rgb(0 0 0 / .45); }
@keyframes xk-pol { from { transform: translateY(-60vh) rotate(-16deg); } }
.K-polaroid .tpl-sheet { padding-top: 30px; }
.K-polaroid .tpl-sheet h3 { font-style: italic; font-size: 28px; font-weight: 600; }
/* cinema: preko cijelog ekrana, spori zum fotografije */
.K-cinema { align-items: stretch; background: #000; }
.K-cinema .tpl-sheet { width: 100%; max-width: none !important; height: 100%; max-height: none; padding: 0 24px 32px; border: 0; border-radius: 0 !important; background: var(--bg); animation: xk-fade .6s ease both; }
@keyframes xk-fade { from { opacity: 0; } }
.xk.K-cinema .dfig { margin: 0 -24px 26px; height: 58vh; }
.xk.K-cinema .dfig .dimg { height: 100%; aspect-ratio: auto; animation: xk-kb 8s ease-out both; }
@keyframes xk-kb { from { transform: scale(1.16); } }
.K-cinema .tpl-sheet > :not(.dfig) { max-width: 680px; margin-left: auto; margin-right: auto; }
.K-cinema .dtop { flex-direction: column; align-items: center; text-align: center; gap: 12px; animation: xi-blur .9s ease .35s both; }
.K-cinema .tpl-sheet h3 { font-weight: 400; font-size: 32px; letter-spacing: .12em; text-transform: uppercase; }
.K-cinema .price.big { font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: .24em; }
.K-cinema .ddesc { text-align: center; font-family: var(--heading); font-style: italic; font-size: 19px; }
.K-cinema .closebtn { max-width: 320px !important; background: transparent; border: 1px solid var(--primary); color: var(--primary-text); letter-spacing: .24em; text-transform: uppercase; font-size: 13px; font-weight: 600; border-radius: 0; }
.K-cinema .meta, .K-cinema .dalg ul { justify-content: center; }

/* ── Prelaz pri izboru cjeline (.xp-wipe) ── */
.xp-wipe { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
.W-wipe { left: -30%; right: -30%; background: var(--primary); animation: xw-in .42s cubic-bezier(.7,0,.3,1) both; }
.W-wipe::after { content: ""; position: absolute; top: 0; bottom: 0; right: -26px; width: 26px; background: var(--accent2); }
.W-wipe.out { animation: xw-away .55s cubic-bezier(.7,0,.3,1) both; }
@keyframes xw-in { from { transform: translateX(-120%) skewX(-14deg); } to { transform: translateX(0) skewX(-14deg); } }
@keyframes xw-away { from { transform: translateX(0) skewX(-14deg); } to { transform: translateX(125%) skewX(-14deg); } }
.W-shutter { background: repeating-conic-gradient(var(--primary) 0 25%, var(--surface) 0 50%) 0 0 / 56px 56px; animation: xw-down .42s cubic-bezier(.7,0,.3,1) both; }
.W-shutter.out { animation: xw-lift .55s cubic-bezier(.7,0,.3,1) both; }
@keyframes xw-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes xw-lift { from { clip-path: inset(0); } to { clip-path: inset(100% 0 0 0); } }
.W-circle { background: var(--accent2); animation: xw-circ .42s cubic-bezier(.6,0,.3,1) both; }
.W-circle.out { animation: xw-circ-out .55s cubic-bezier(.6,0,.3,1) both; }
@keyframes xw-circ { from { clip-path: circle(0 at var(--x) var(--y)); } to { clip-path: circle(150% at var(--x) var(--y)); } }
@keyframes xw-circ-out { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0 at 50% 50%); } }
.W-ember { background: radial-gradient(120% 70% at 50% 100%, color-mix(in srgb, var(--primary) 55%, #000), #000 70%); animation: xw-fade .42s ease both; }
.W-ember.out { animation: xw-fade-up .55s ease both; }
.W-fade { background: var(--bg); animation: xw-fade .42s ease both; }
.W-fade.out, .W-gold.out.W-fade { animation: xw-fade-out .5s ease both; }
@keyframes xw-fade { from { opacity: 0; } }
@keyframes xw-fade-out { to { opacity: 0; } }
@keyframes xw-fade-up { to { opacity: 0; transform: translateY(-8%); } }
.W-slide { background: var(--primary); animation: xw-slide .42s cubic-bezier(.7,0,.3,1) both; }
.W-slide.out { animation: xw-slide-out .55s cubic-bezier(.7,0,.3,1) both; }
@keyframes xw-slide { from { transform: translateY(100%); } }
@keyframes xw-slide-out { to { transform: translateY(-100%); } }
.W-gold { background: var(--bg); animation: xw-fade .42s ease both; }
.W-gold::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); animation: xw-line .42s ease both; }
.W-gold.out { animation: xw-split .6s cubic-bezier(.7,0,.2,1) both; }
@keyframes xw-line { from { transform: scaleX(0); } }
@keyframes xw-split { from { clip-path: inset(0); } to { clip-path: inset(50% 0 50% 0); } }

/* ── Detalji novih izgleda (D-*) ── */
.D-smash-garaza .xp-hero h1, .D-street-box .xp-hero h1 { text-transform: uppercase; font-weight: 400; letter-spacing: .01em; font-size: clamp(46px, 13vw, 96px); line-height: .95; }
.D-street-box .xp-hero h1 { font-weight: 800; font-size: clamp(40px, 11vw, 84px); }
.D-smash-garaza .xp-tag, .D-zar-dim .xp-tag { color: var(--accent2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.D-smash-garaza .xp-q, .D-zar-dim .xp-q { text-transform: uppercase; letter-spacing: .06em; font-weight: 400; font-size: 26px; }
.D-smash-garaza .cats a { border-radius: 4px; font-family: var(--heading); font-weight: 400; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.D-smash-garaza .xp-sec-h, .D-zar-dim .xp-sec-h { text-transform: uppercase; letter-spacing: .04em; font-weight: 400; font-size: 24px; }
.D-dajner .xp-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 14px; background: repeating-conic-gradient(var(--text) 0 25%, var(--surface) 0 50%) 0 0 / 14px 14px; }
.D-dajner .xp-hero h1, .D-dajner .xp-q, .D-dajner .xp-sec-h { font-weight: 400; }
.D-dajner .cats a.on { background: var(--primary); }
.D-street-box .xp-q span, .D-street-box .xp-q { font-weight: 800; }
.D-street-box .cats a { border: 2px solid var(--text); color: var(--text); font-weight: 700; }
.D-street-box .cats a.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.D-street-box .xp-all-link { border: 2px solid var(--text); color: var(--text); box-shadow: 4px 4px 0 var(--text); font-weight: 800; }
.D-zar-dim { background: radial-gradient(80% 40% at 50% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%), var(--bg); }
.D-zar-dim .xp-hero h1 { text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.D-zar-dim .cats a { border-radius: 2px; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.D-kamena-kuca .xp-hero h1 { text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.D-kamena-kuca .xp-q, .D-kamena-kuca .xp-sec-h { font-weight: 400; letter-spacing: .04em; }
.D-kamena-kuca .xc-h h2 { font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 24px; }
.D-kamena-kuca .xc-h h2::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 8px; background: var(--primary); }
.D-kamena-kuca .R-rustic .xn, .D-kamena-kuca.R-rustic .xn { font-weight: 400 !important; }
.D-sofra .xp-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; z-index: 1; height: 14px;
  background: linear-gradient(45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 50% / 14px 14px repeat-x, linear-gradient(-45deg, transparent 40%, var(--primary) 40% 60%, transparent 60%) 0 50% / 14px 14px repeat-x; }
.D-sofra .xp-q { text-align: center; }
.D-koliba .xp-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; height: 64px; background: var(--bg); clip-path: polygon(0 70%, 12% 30%, 22% 60%, 36% 10%, 50% 55%, 63% 25%, 78% 62%, 90% 35%, 100% 58%, 100% 100%, 0 100%); }
.D-koliba .xp-brand { position: relative; z-index: 1; }
.D-maison .xp-hero h1, .D-maison .xp-q { font-style: italic; font-weight: 500; }
.D-maison .xp-tag { letter-spacing: .24em; text-transform: uppercase; font-size: 12.5px; color: var(--primary-text); }
.D-maison .cats a.on { background: var(--primary); }
.D-bulevar .xp-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 1; height: 44px; background: repeating-linear-gradient(90deg, var(--primary) 0 26px, var(--on-primary) 26px 52px);
  -webkit-mask: radial-gradient(circle 13px at 13px 0, #000 98%, transparent) 0 100% / 26px 13px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 31px no-repeat;
  mask: radial-gradient(circle 13px at 13px 0, #000 98%, transparent) 0 100% / 26px 13px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 31px no-repeat; }
.D-bulevar .xp-hero > .xp-tools { top: max(52px, env(safe-area-inset-top)); }
.D-bulevar .xp-hero h1, .D-bulevar .xp-q { font-style: italic; font-weight: 600; }
.D-bulevar .xp-tag { letter-spacing: .22em; text-transform: uppercase; font-size: 12.5px; }
.D-aurum .xp-hero { min-height: 86vh; justify-content: center; text-align: center; }
.D-aurum .xp-brand { align-items: center; margin: 0 auto; }
.D-aurum .xp-logo { box-shadow: 0 0 0 1px var(--primary), 0 0 50px -12px color-mix(in srgb, var(--primary) 60%, transparent); }
.D-aurum .xp-hero h1 { text-transform: uppercase; letter-spacing: .22em; padding-left: .22em; font-weight: 400; font-size: clamp(36px, 11vw, 80px); }
.D-aurum .xp-tag { color: var(--primary); letter-spacing: .4em; text-transform: uppercase; font-size: 12px; }
.D-aurum .xp-brand::after { content: ""; width: 1px; height: 54px; margin-top: 18px; background: linear-gradient(var(--primary), transparent); animation: xg-cue 2.4s ease-in-out infinite; }
@keyframes xg-cue { 50% { transform: translateY(8px); opacity: .5; } }
.D-aurum .xp-q { text-align: center; text-transform: uppercase; letter-spacing: .3em; font-weight: 400; font-size: 15px; color: var(--primary-text); padding-bottom: 22px; }
.D-aurum .cats a { border-radius: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.D-aurum .xp-sec-h { text-transform: uppercase; letter-spacing: .06em; font-weight: 400; font-size: 15px; overflow-wrap: normal; }
.D-aurum .xp-all-link { border-radius: 0; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; border-color: color-mix(in srgb, var(--primary) 45%, transparent); color: var(--primary-text); }
.D-aurum .xp-back, .D-aurum .lang, .D-aurum .info { border-radius: 0; }

/* neparan broj cjelina (npr. dodat Ketering): posljednja pločica centrirana, iste širine */
:is(.C-vitrine, .C-polaroid, .C-arch, .C-badges, .C-plates) .xp-tiles:is(.n3, .n5) .xp-tile:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
@media (min-width: 768px) {
  .C-diag .xp-tile { min-height: 170px; }
  :is(.C-vitrine, .C-polaroid, .C-arch, .C-badges, .C-plates) .xp-tiles:is(.n3, .n5) .xp-tile:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  :is(.C-vitrine, .C-polaroid, .C-arch, .C-badges, .C-plates) .xp-tiles.n5 { grid-template-columns: repeat(5, 1fr); }
  .C-diag .xt-tx b { font-size: 56px; }
  .C-badges .xp-tiles, .C-arch .xp-tiles, .C-plates .xp-tiles, .C-vitrine .xp-tiles, .C-polaroid .xp-tiles { grid-template-columns: repeat(4, 1fr); }
  :is(.C-badges, .C-arch, .C-plates, .C-vitrine, .C-polaroid) .xp-tiles.n3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  :is(.C-badges, .C-arch, .C-plates, .C-vitrine, .C-polaroid) .xp-tiles.n6 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  .C-bento .xp-tiles { grid-template-columns: repeat(4, 1fr); }
  .C-bento .xp-tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .C-bento .xp-tiles.n4 .xp-tile:first-child { grid-row: auto; grid-column: auto; aspect-ratio: 1; }
  .C-panels .xp-tiles { overflow: visible; scroll-snap-type: none; }
  .C-panels .xp-tile { flex: 1 1 0; min-width: 0; height: 460px; }
  .C-planks .xp-tiles { grid-template-columns: 1fr 1fr; max-width: 900px; }
  .C-cinema .xp-tiles { grid-template-columns: 1fr 1fr; max-width: none; }
  .C-cinema .xp-tile { height: 70vh; }
  .C-cinema .xp-tiles.n3 .xp-tile:first-child, .C-cinema .xp-tiles.n5 .xp-tile:first-child { grid-column: 1 / -1; }
  .R-ticket .xl, .R-pop .xl, .R-diner .xl, .R-lodge .xl, .R-butcher .xl { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .R-patisserie .xl, .R-bistro .xl { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .R-sofra .xl, .R-tasting .xl { max-width: 760px; margin: 0 auto; }
  .R-sofra .xi:nth-child(2)::before { display: block; }
  .K-cinema .tpl-sheet { padding: 0 48px 40px; }
  .xk.K-cinema .dfig { margin: 0 -48px 30px; height: 64vh; }
  .K-swing .tpl-sheet { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-modal.xk, .tpl-modal.xk * { animation: none !important; }
  .xp-wipe, .xr { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════
   Čitljivost i brzina novih izgleda (17. 11. 2026, primjedba vlasnika: „usporeno, ogromno, ne čita se fino").
   Zamjenjuje vrijednosti iz bloka iznad: kraći uvodi i prelazi, manji naslovi, nazivi i opisi u čitljivom fontu,
   bez kurziva (fontovi nemaju kurzivne fajlove, pregledač ga iskrivi) i bez VELIKIH slova sa razmakom u listi.
   ══════════════════════════════════════════════════════════════════════════════════════════════ */
/* Trajanje uvoda (= introMs) i ritam unutar uvoda */
.I-flame, .I-marquee, .I-embers, .I-stitch { --ie: 2s; } .I-bars { --ie: 1.8s; } .I-awning { --ie: 1.9s; }
.I-mountain, .I-frame { --ie: 2.1s; } .I-letters { --ie: 2.2s; } .I-gold { --ie: 2.4s; }
.I-flame .xp-intro-in { animation-delay: .85s; } .I-flame .xp-intro-name { animation-delay: .8s; font-size: clamp(36px, 10vw, 80px); } .I-flame .xp-intro-tag { animation-delay: 1.1s; }
.I-marquee .xp-intro-name { animation-delay: .55s; animation-duration: 1s; } .I-marquee .xp-intro-tag { animation-delay: 1s; }
.I-bars .xp-intro-logo { animation-delay: .6s; } .I-bars .xp-intro-name { animation-delay: .8s; font-size: clamp(34px, 10vw, 76px); } .I-bars .xp-intro-tag { animation-delay: 1s; }
.I-embers .xp-intro-name { animation-delay: .55s; animation-duration: .8s; } .I-embers .xp-intro-tag { animation-delay: 1.05s; }
.I-letters .xp-intro-name .ch { animation-delay: calc(.4s + var(--i, 0) * 40ms); } .I-letters .xp-intro-in::after { animation-delay: 1.2s; } .I-letters .xp-intro-tag { animation-delay: 1.4s; }
.I-stitch .xp-intro-bg::before, .I-stitch .xp-intro-bg::after { animation-duration: .9s; } .I-stitch .xp-intro-logo { animation-delay: .3s; animation-duration: .8s; }
.I-stitch .xp-intro-name { animation-delay: .8s; } .I-stitch .xp-intro-tag { animation-delay: 1s; }
.I-mountain .xp-intro-bg::before { animation-duration: 1.2s; } .I-mountain .xp-intro-logo { animation-delay: .7s; } .I-mountain .xp-intro-name { animation-delay: .85s; } .I-mountain .xp-intro-tag { animation-delay: 1s; }
:is(.I-frame, .I-gold) .xp-frame path { animation-duration: 1.1s; }
.I-frame .xp-intro-logo { animation-delay: .45s; } .I-frame .xp-intro-name { animation-delay: .7s; font-style: normal; } .I-frame .xp-intro-tag { animation-delay: .95s; }
.I-awning .xp-intro-logo { animation-delay: .6s; } .I-awning .xp-intro-name { animation-delay: .75s; font-style: normal; } .I-awning .xp-intro-tag { animation-delay: .95s; letter-spacing: .14em; }
.I-gold .xp-intro-logo { animation-delay: .3s; animation-duration: 1s; } .I-gold .xp-intro-logo::after { animation-delay: 1.1s; }
.I-gold .xp-intro-in::before, .I-gold .xp-intro-in::after { animation-delay: .8s; }
.I-gold .xp-intro-name { animation-delay: .6s; animation-duration: 1.1s; letter-spacing: .14em; padding-left: .14em; } .I-gold .xp-intro-tag { animation-delay: 1.2s; letter-spacing: .24em; }

/* Ulazak pločica, stavki i prozora: kratko */
.xp[data-klik] .xp-tile { animation-duration: .35s; }
.xp[data-klik] .xp-tile[data-i="1"] { animation-delay: .03s; } .xp[data-klik] .xp-tile[data-i="2"] { animation-delay: .06s; } .xp[data-klik] .xp-tile[data-i="3"] { animation-delay: .09s; }
.xp[data-klik] .xp-tile[data-i="4"] { animation-delay: .12s; } .xp[data-klik] .xp-tile[data-i="5"] { animation-delay: .15s; }
.xp-sec.enter .xc-h, .xp-sec.enter .xi { animation-duration: .28s; }
.xp-sec.enter .xi:nth-child(2) { animation-delay: .02s; } .xp-sec.enter .xi:nth-child(3) { animation-delay: .04s; } .xp-sec.enter .xi:nth-child(4) { animation-delay: .06s; }
.xp-sec.enter .xi:nth-child(5) { animation-delay: .08s; } .xp-sec.enter .xi:nth-child(6) { animation-delay: .1s; } .xp-sec.enter .xi:nth-child(7) { animation-delay: .12s; }
.xp-sec.enter .xi:nth-child(8) { animation-delay: .14s; } .xp-sec.enter .xi:nth-child(n+9) { animation-delay: .15s; }
.xp-wipe { animation-duration: .2s !important; } .xp-wipe.out { animation-duration: .3s !important; }
.tpl-modal.xk { animation-duration: .18s; }
.tpl-modal.xk .tpl-sheet, .tpl-modal.xk .dfig, .tpl-modal.xk .dfig .dimg, .tpl-modal.xk .price.big { animation-duration: .32s !important; animation-delay: 0s !important; }
.tpl-modal.xk.closing, .tpl-modal.xk.closing .tpl-sheet { animation-duration: .18s !important; }
.K-swing .tpl-sheet { animation-name: xk-drop2 !important; } @keyframes xk-drop2 { from { opacity: 0; transform: translateY(-40px) rotate(2deg); } }
.K-smoke .tpl-sheet { animation-name: xk-up !important; }
.xk.K-cinema .dfig .dimg { animation: none !important; }
.xk.K-cinema .dfig { height: 46vh; }
.K-polaroid .tpl-sheet .dfig { animation-name: xk-up !important; }
.C-cinema .xt-ph img { animation: none; }

/* Naslovna: niža, naziv razumne veličine */
.D-smash-garaza .xp-hero h1, .D-street-box .xp-hero h1 { font-size: clamp(34px, 9vw, 64px); }
.D-aurum .xp-hero { min-height: 58vh; }
.D-aurum .xp-hero h1 { letter-spacing: .1em; padding-left: .1em; font-size: clamp(32px, 9vw, 60px); }
.D-aurum .xp-tag, .D-maison .xp-tag, .D-bulevar .xp-tag { letter-spacing: .12em; }
.D-aurum .xp-brand::after { display: none; }
.D-aurum .xp-q { letter-spacing: .16em; }
.D-maison .xp-hero h1, .D-maison .xp-q, .D-bulevar .xp-hero h1, .D-bulevar .xp-q { font-style: normal; }
.D-smash-garaza .xp-q, .D-zar-dim .xp-q { font-size: 22px; letter-spacing: .03em; }

/* Izbor cjelina: manje i zbijenije */
.C-diag .xp-tile { min-height: 100px; padding: 22px var(--pad); gap: 12px; }
.C-diag .xp-tile::before { font-size: 40px; }
.C-diag .xt-tx b { font-size: 32px; }
.C-panels .xp-tile { height: 300px; min-height: 0; flex-basis: 66%; }
.C-panels .xp-tile::before { font-size: 34px; }
.C-panels .xt-tx b { font-size: 24px; letter-spacing: .02em; }
.C-cinema .xp-tiles { gap: 8px; padding: 0 var(--pad); }
.C-cinema .xp-tile { height: 200px; min-height: 0; border-radius: var(--radius); gap: 6px; }
.C-cinema .xt-tx { gap: 8px; }
.C-cinema .xt-tx b { font-size: clamp(24px, 7vw, 38px); letter-spacing: .04em; }
.C-cinema .xt-tx small { letter-spacing: .18em; padding-top: 8px; }
.C-arch .xt-ph { aspect-ratio: 1 / 1.08; }
.C-vitrine .xt-ph { aspect-ratio: 1; }
.C-vitrine .xt-tx b, .C-polaroid .xt-tx b { font-style: normal; }
.C-vitrine .xt-tx small { letter-spacing: .06em; }

/* Liste: nazivi u čitljivom fontu i normalnim slovima, opisi bez kurziva, manji naslovi kategorija */
.R-ticket .xn { font-size: 21px; }
.R-ticket .xp-price { font-size: 20px; }
.R-ticket .xc-h h2 { font-size: 32px; }
.R-diner .xn { text-transform: none; letter-spacing: 0 !important; }
.R-diner .xc-h h2 { font-size: 28px; }
.R-pop .xn { font-size: 17px; } .R-pop .xc-h h2 { font-size: 26px; }
.R-butcher .xn { font-size: 19px; letter-spacing: .01em !important; }
.R-butcher .xp-price { font-size: 20px; } .R-butcher .xc-h h2 { font-size: 26px; letter-spacing: .03em; }
.R-sofra .xn { font-size: 18px; } .R-sofra .xd { font-style: normal; } .R-sofra .xc-h h2 { font-size: 26px; }
.R-lodge .xn { font-size: 17.5px; } .R-lodge .xc-h h2 { font-size: 24px; }
.R-patisserie .xn { font-style: normal; font-size: 18px; font-weight: 600 !important; }
.R-patisserie .xp-price { font-style: normal; font-size: 17px; font-weight: 600; }
.R-patisserie .xc-h h2 { font-style: normal; font-size: 26px; }
.R-bistro .xn { font-size: 16px; text-transform: none; letter-spacing: 0 !important; }
.R-bistro .xd { font-family: var(--body); font-style: normal; font-size: 14px; color: var(--muted); }
.R-bistro .xp-price { font-size: 19px; }
.R-bistro .xc-h h2 { font-style: normal; font-size: 22px; }
.R-tasting .xi { padding: 18px 8px; }
.R-tasting .xn { font-size: 19px; text-transform: none; letter-spacing: .01em !important; }
.R-tasting .xd { font-family: var(--body); font-style: normal; font-size: 14.5px; color: var(--muted); }
.R-tasting .xp-price { letter-spacing: .08em; }
.R-tasting .xc-h h2 { font-size: 28px; letter-spacing: .02em; }
.R-tasting .xc-h p { font-family: var(--body); font-style: normal; font-size: 14px; }

/* Prozor stavke: bez kurziva i razmaka */
.K-lid .tpl-sheet h3, .K-polaroid .tpl-sheet h3, .K-lid .price.big { font-style: normal; }
.K-bounce .tpl-sheet h3 { font-size: 26px; } .K-bounce .price.big { font-size: 22px; }
.K-cinema .tpl-sheet h3 { font-size: 26px; letter-spacing: .04em; text-transform: none; }
.K-cinema .price.big { letter-spacing: .1em; }
.K-cinema .ddesc { font-family: var(--body); font-style: normal; font-size: 15px; }
.K-cinema .closebtn { letter-spacing: .12em; }
.K-cinema .dtop { animation-duration: .3s; animation-delay: 0s; }
.K-flip .tpl-sheet h3 { font-family: var(--body); font-weight: 700; font-size: 22px; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════
   La Parisienne (17. 11. 2026): pariska-noc, pariska-krem, pariska-pekara, pariska-kafe.
   katFoto: .xc-ph = fotografija kategorije (traka ispod naziva), .xph-ic = ikonica umjesto fotografije stavke.
   Novi rasporedi: R-carte (francuska karta: naziv, tačkice, cijena; veličine kao redovi sa tačkicama)
   i R-thumbs (mala fotografija lijevo, naziv i cijena u istom redu, opis ispod — bez skraćivanja).
   ══════════════════════════════════════════════════════════════════════════════════════════════ */
.xc-ph { aspect-ratio: 16 / 7; margin: 0 0 14px; overflow: hidden; border-radius: calc(var(--radius) + 2px); background: var(--surface); }
.xc-ph img { width: 100%; height: 100%; object-fit: cover; }
.xph-ic { display: grid; place-items: center; color: var(--primary-text); background: color-mix(in srgb, var(--primary) 7%, var(--surface)); border: 1px solid var(--border); }
.xph-ic svg { width: 46%; height: 46%; opacity: .85; }

/* R-carte: francuska karta — naziv lijevo, cijena u desnoj koloni (poravnata sa prvim redom naziva), opis ispod; bez tačkica i ikonica */
.R-carte { --enter: xe-blur; }
.R-carte .xl { gap: 0; }
.R-carte .xi { grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; row-gap: 0; align-items: baseline; padding: 16px 2px 15px; border-bottom: 1px solid color-mix(in srgb, var(--primary) 18%, transparent); }
.R-carte .xb { display: contents; }
.R-carte .xn { grid-column: 1; grid-row: 1; font-size: 16.5px; line-height: 1.35; }
.R-carte .xp-price { grid-column: 2; grid-row: 1; font-size: 16.5px; line-height: 1.35; text-align: right; }
.R-carte .xd { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; line-height: 1.5; max-width: 60ch; }
.R-carte .xm { grid-column: 1 / -1; margin-top: 5px; }
.R-carte .xcam { display: none; }
.R-carte .xi:has(.vars) .xn { grid-column: 1 / -1; }
.R-carte .xi .vars { grid-column: 1 / -1; display: grid; gap: 5px; margin-top: 9px; }
.R-carte .xi .var { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 0 0 0 12px; border: 0; border-left: 1px solid color-mix(in srgb, var(--primary) 55%, transparent); border-radius: 0; font-size: 14.5px; line-height: 1.35; }
.R-carte .xi .vn { color: var(--muted); }
.R-carte .xi .vp { font-weight: 600; }
.R-carte .xc-h { padding: 4px 0 2px; text-align: center; }
.R-carte .xc-h h2 { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 25px; font-weight: 500; letter-spacing: .01em; }
.R-carte .xc-h h2::before, .R-carte .xc-h h2::after { content: ""; flex: 0 0 28px; height: 1px; background: var(--primary); }
.R-carte .xc-h p { font-size: 14px; }
/* fotografija na dodir: jedan diskretan red ispod trake kategorija umjesto ikonice uz svaku stavku */
.xp-hint { display: none; }
.R-carte .xp-hint, .D-pariska-krem .xp-hint { display: block; padding: 12px var(--pad) 0; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.D-pariska-krem .xcam { display: none; }

/* R-thumbs: mala fotografija lijevo */
.R-thumbs .xl { gap: 10px; }
.R-thumbs .xi { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-rows: auto auto auto 1fr; column-gap: 14px; row-gap: 0; padding: 10px 12px 10px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); box-shadow: 0 1px 2px rgb(0 0 0 / .03); }
.R-thumbs .xb { display: contents; }
.R-thumbs .xph { grid-column: 1; grid-row: 1 / 5; width: 84px; height: 84px; border-radius: var(--radius); }
.R-thumbs .xn { grid-column: 2; grid-row: 1; padding-top: 2px; font-size: 16px; line-height: 1.3; }
.R-thumbs .xp-price { grid-column: 3; grid-row: 1; padding-top: 2px; font-size: 16px; line-height: 1.3; }
.R-thumbs .xd { grid-column: 2 / -1; grid-row: 2; margin-top: 3px; font-size: 13.5px; line-height: 1.45; }
.R-thumbs .xm { grid-column: 2 / -1; grid-row: 3; }
.R-thumbs .xi .vars { grid-column: 2 / -1; grid-row: 4; align-self: start; margin-top: 8px; }
.R-thumbs .xi:has(.vars) .xn { grid-column: 2 / -1; }
.R-thumbs .xi:not(.has-ph) { grid-template-columns: minmax(0, 1fr) auto; }
.R-thumbs .xi:not(.has-ph) .xn { grid-column: 1; } .R-thumbs .xi:not(.has-ph) .xp-price { grid-column: 2; }
.R-thumbs .xi:not(.has-ph) :is(.xd, .xm, .vars) { grid-column: 1 / -1; }

/* Pariska noć: crno i zlato, francuska karta */
.D-pariska-noc .xp-hero { min-height: 54vh; text-align: center; }
.D-pariska-noc .xp-brand { align-items: center; margin: 0 auto; }
.D-pariska-noc .xp-logo { width: 84px; height: 84px; box-shadow: 0 0 0 1px var(--primary), 0 0 44px -10px color-mix(in srgb, var(--primary) 60%, transparent); }
.D-pariska-noc .xp-hero h1 { font-weight: 500; letter-spacing: .02em; font-size: clamp(34px, 9vw, 58px); }
.D-pariska-noc .xp-tag { color: var(--primary-text); letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; }
.D-pariska-noc .chips { justify-content: center; }
.D-pariska-noc .xp-q { text-align: center; font-weight: 500; font-size: 20px; letter-spacing: .02em; padding-bottom: 18px; }
.D-pariska-noc .xp-sec-h { font-weight: 500; font-size: 19px; letter-spacing: .01em; }
.D-pariska-noc :is(.cats a, .xp-back, .lang, .info, .search input) { border-radius: 2px; }
.D-pariska-noc .cats a { font-size: 13.5px; letter-spacing: .02em; }
.D-pariska-noc .xp-all-link { border-radius: 2px; border-color: color-mix(in srgb, var(--primary) 40%, transparent); color: var(--primary-text); letter-spacing: .06em; }
.D-pariska-noc .C-cinema .xt-tx b, .D-pariska-noc.C-cinema .xt-tx b { text-transform: none; letter-spacing: .02em; font-weight: 500; }
.D-pariska-noc .xp-price, .D-pariska-noc .vp { font-weight: 600; letter-spacing: .02em; }
.tpl-modal.D-pariska-noc .tpl-sheet h3 { font-weight: 500; }

/* Pariski izlog: krem i zlato, crno-krem tenda */
.D-pariska-krem .xp-hero h1 { font-weight: 500; }
.D-pariska-krem .xp-tag { color: var(--primary-text); letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; }
.D-pariska-krem .xp-logo { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--primary), 0 12px 30px -12px rgb(0 0 0 / .4); }
.D-pariska-krem .xp-q { font-weight: 500; }
.D-pariska-krem .xi .var { background: var(--surface); border-color: color-mix(in srgb, var(--primary) 32%, var(--border)); }
.D-pariska-krem .xc-h h2 { font-weight: 500; }

/* Pariska pekara: crno-krem tenda, polaroid, mala fotografija uz stavku */
.D-pariska-pekara .xp-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 1; height: 44px; background: repeating-linear-gradient(90deg, var(--primary) 0 26px, var(--on-primary) 26px 52px);
  -webkit-mask: radial-gradient(circle 13px at 13px 0, #000 98%, transparent) 0 100% / 26px 13px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 31px no-repeat;
  mask: radial-gradient(circle 13px at 13px 0, #000 98%, transparent) 0 100% / 26px 13px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 31px no-repeat; }
.D-pariska-pekara .xp-hero > .xp-tools { top: max(52px, env(safe-area-inset-top)); }
.D-pariska-pekara .xp-hero h1 { font-weight: 600; }
.D-pariska-pekara .xp-tag { letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; }
.D-pariska-pekara .xp-logo { box-shadow: 0 0 0 3px var(--accent2), 0 12px 30px -12px rgb(0 0 0 / .45); }
.D-pariska-pekara .xp-q, .D-pariska-pekara .xc-h h2 { font-weight: 600; }
.D-pariska-pekara .xc-h h2::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 8px; background: var(--accent2); }
.D-pariska-pekara .xp-price { font-weight: 700; }

/* Pariski kafe: tamna espresso paleta i zlato */
.D-pariska-kafe .xp-hero h1 { font-weight: 600; }
.D-pariska-kafe .xp-tag { color: var(--primary-text); letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; }
.D-pariska-kafe .xp-logo { box-shadow: 0 0 0 2px var(--primary), 0 12px 30px -12px rgb(0 0 0 / .6); }
.D-pariska-kafe .xp-q { font-weight: 500; }
.D-pariska-kafe .xc-h h2 { font-weight: 600; }
.D-pariska-kafe .R-cards .xi, .D-pariska-kafe.R-cards .xi { box-shadow: 0 10px 24px -18px rgb(0 0 0 / .8); }
.tpl-modal.D-pariska-kafe .tpl-sheet h3 { text-transform: none; letter-spacing: 0; font-weight: 600; }
/* zavjesa brže (kao ostali novi uvodi, ~1,9 s) */
.D-pariska-kafe.I-curtain .xp-intro:not(.done) { animation-delay: 1.7s; }
.D-pariska-kafe.I-curtain .xp-intro-in { animation: xp-up .5s ease .1s both, xp-out .3s ease .85s forwards; }
.D-pariska-kafe.I-curtain .xp-intro-bg::before, .D-pariska-kafe.I-curtain .xp-intro-bg::after { animation-duration: .75s; animation-delay: .95s; }
.D-pariska-kafe.xp[data-intro-on]:not(.intro-skip) .xp-brand { animation-delay: 1.75s; }
.D-pariska-kafe.xp[data-intro-on]:not(.intro-skip) .xp-tile { animation-delay: 1.85s; }

@media (min-width: 768px) {
  .R-carte .xl { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .R-thumbs .xl { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .R-thumbs .xi { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .R-thumbs .xph { width: 96px; height: 96px; }
  .xc-ph { aspect-ratio: 16 / 5; }
  .D-pariska-noc .xp-hero { min-height: 58vh; }
}
/* prozor stavke preko cijelog ekrana: gramaža centrirana kao naziv i opis */
.K-cinema .tpl-sheet > p.muted { text-align: center; }
/* La Parisienne: ravni brojevi (Playfair, Raleway i EB Garamond po defaultu crtaju brojeve različite visine), puna traka na vrhu */
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) { font-variant-numeric: lining-nums; }
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) :is(.xp-price, .vp, .chips span),
.tpl-modal:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) :is(.price, .vp, .muted) { font-variant-numeric: lining-nums tabular-nums; }
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) :is(.xp-bar, .cats) { background: color-mix(in srgb, var(--bg) 97%, transparent); }
.D-pariska-krem .R-patisserie .xd { margin-top: 3px; }
/* Pariski kafe: varijante (28 cm / 33 cm) u jednom redu pored fotografije; Pariska pekara: kartica bez fotografije sa ravnomjernim razmakom */
.D-pariska-kafe .R-cards .xi .vars, .D-pariska-kafe.R-cards .xi .vars { gap: 5px; }
.D-pariska-kafe .R-cards .xi .var, .D-pariska-kafe.R-cards .xi .var { gap: 6px; padding: 4px 9px; font-size: 12.5px; }
.R-thumbs .xi:not(.has-ph) { padding: 12px 14px; }
/* dvije kolone na računaru: stavka se ne razvlači do visine susjedne (opis ostaje odmah ispod naziva) */
.R-carte .xi, .R-patisserie .xi { align-content: start; }
/* Pariski kafe: natpis cjeline čitljiv i preko svijetle fotografije (npr. bijela šoljica) */
.D-pariska-kafe.C-tiles .xp-tile:has(.xt-ph)::after { background: linear-gradient(180deg, transparent 28%, rgb(23 18 15 / .55) 58%, rgb(23 18 15 / .92)); }
.D-pariska-kafe.C-tiles .xt-tx { text-shadow: 0 1px 10px rgb(0 0 0 / .45); }
@media (min-width: 768px) { .D-pariska-noc.C-cinema .xp-tile { height: 280px; } }

/* ══ La Parisienne — telefon: brzina i mirnoća (17. 11. 2026, vlasnik: „drastično smanjiti trzanja i vrijeme otvaranja kategorije") ══
   Bez prelaza preko ekrana (cjelina se otvara odmah), bez ulaska stavki sa zamućenjem (skupo na 50+ stavki), cijela cjelina samo kratko
   posvijetli (opacity — radi grafička kartica), puna traka na vrhu bez backdrop-filter (nema preračunavanja zamućenja pri skrolu), bez talasa. */
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) :is(.xp-bar, .cats) { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-sec.enter :is(.xc-h, .xi) { animation: none; }
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-sec.enter { animation: xlp-in .16s ease-out both; }
@keyframes xlp-in { from { opacity: 0; } }
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) .xr { display: none; }
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-tile { -webkit-tap-highlight-color: transparent; }
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) .xi .hit { -webkit-tap-highlight-color: transparent; }
.D-pariska-noc.I-gold { --ie: 2s; }

/* ══ La Parisienne — ulaz sa kategorijama kao na Glovu (14 pločica: Doručak … Slatko, Topla jela, Grisini, Piće) ══ */
/* Pariska noć: zlatni paneli u dvije kolone (umjesto 14 traka preko cijelog ekrana), rimski broj iznad naziva, natpis pri dnu */
.D-pariska-noc.C-cinema .xp-tiles { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--pad); }
.D-pariska-noc.C-cinema .xp-tile { height: auto; min-height: 0; aspect-ratio: 4 / 5; justify-content: flex-end; gap: 4px; padding: 0 10px 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 26%, transparent); }
.D-pariska-noc.C-cinema .xp-tile:has(.xt-ph)::after { background: linear-gradient(180deg, rgb(0 0 0 / 0) 32%, rgb(8 7 6 / .55) 62%, rgb(8 7 6 / .9)); }
.D-pariska-noc.C-cinema .xp-tile::before { font-size: 12px; letter-spacing: .26em; padding-left: .26em; }
.D-pariska-noc.C-cinema .xt-tx { gap: 6px; }
.D-pariska-noc.C-cinema .xt-tx b { font-size: clamp(19px, 5.4vw, 26px); font-weight: 500; letter-spacing: .01em; text-transform: none; line-height: 1.12; }
.D-pariska-noc.C-cinema .xt-tx small { padding-top: 6px; font-size: 12px; letter-spacing: .14em; }
/* Pariski kafe: bez ikonice na pločicama sa fotografijom (fotografija govori sama) */
.D-pariska-kafe.C-tiles .xp-tile:has(.xt-ph) .xt-ic { display: none; }
@media (min-width: 768px) {
  .D-pariska-noc.C-cinema .xp-tile { height: auto; }
  .D-pariska-noc.C-cinema .xp-tiles, .D-pariska-noc.C-cinema .xp-tiles.n6 { grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto; gap: 14px; }
  .D-pariska-noc.C-cinema .xp-tiles.n3 .xp-tile:first-child, .D-pariska-noc.C-cinema .xp-tiles.n5 .xp-tile:first-child { grid-column: auto; }
}
@media (min-width: 1200px) { .D-pariska-noc.C-cinema .xp-tiles, .D-pariska-noc.C-cinema .xp-tiles.n6 { grid-template-columns: repeat(5, 1fr); max-width: 1240px; } }
.D-pariska-noc.C-cinema .xp-tile::before, .D-pariska-noc.C-cinema .xt-tx { text-shadow: 0 1px 10px rgb(0 0 0 / .65); }
/* jezik i Info preko naslovne fotografije: tamna podloga (preko svijetlih djelova fotografije neaktivno dugme je ličilo na aktivno) */
:is(.D-pariska-noc, .D-pariska-krem, .D-pariska-pekara, .D-pariska-kafe, .D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-hero.has-cover .xp-tools :is(.lang, .info) { background: rgb(14 12 10 / .74); }

/* ══ La Parisienne — Pariska maslina (19. 11. 2026, zahtjev klijenta: Olive #9B9879 + Egg Shell #EDE7DB, raspored kao Pariski kafe) ══
   pariska-maslina: bež pozadina, maslinaste kartice · pariska-maslina-svijetla: maslinasta pozadina, bež kartice.
   Bež na maslinastoj ima samo 2,4:1 — zato je na maslinastoj podlozi sav tekst tamni (#1F1E17 ≈ 5,9:1), cijene i oznake takođe. */
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-hero h1 { font-weight: 600; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-hero .xp-tag { color: var(--text); letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; font-weight: 600; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-logo { width: 96px; height: 96px; background: #F4F1EA; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--primary), 0 14px 30px -14px rgb(31 30 23 / .55); }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-hero .chips span { color: var(--text); }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-q { font-weight: 500; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xc-h h2 { font-weight: 600; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-foot a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tpl-modal:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .tpl-sheet h3 { text-transform: none; letter-spacing: 0; font-weight: 600; }
/* kartice stavki */
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi { box-shadow: 0 10px 22px -18px rgb(31 30 23 / .6); }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi .vars { gap: 5px; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi .var { gap: 6px; padding: 4px 9px; font-size: 12.5px; }
/* A: maslinasta kartica — cijena, veličine, zvjezdica i ikonice u tamnoj boji teksta */
.D-pariska-maslina.R-cards .xi :is(.xp-price, .vp, .vn, .xstar, .xcam, .xt, .xoff) { color: var(--text); }
.D-pariska-maslina.R-cards .xi .var { border-color: color-mix(in srgb, var(--text) 32%, transparent); background: color-mix(in srgb, var(--bg) 22%, transparent); }
.D-pariska-maslina .xph-ic { color: var(--text); background: color-mix(in srgb, var(--bg) 28%, var(--surface)); border-color: color-mix(in srgb, var(--text) 18%, transparent); }
/* prozor stavke na bež podlozi (opis se čita kao na papiru) */
.tpl-modal.D-pariska-maslina .tpl-sheet { background: var(--bg); border-color: var(--surface); }
.tpl-modal.D-pariska-maslina .tpl-sheet .var { border-color: color-mix(in srgb, var(--surface) 70%, transparent); }
/* B: bež kartica na maslinastoj pozadini — mekši opis, traka kategorija sa vidljivom ivicom */
.D-pariska-maslina-svijetla .xi .xd { color: #4E4C3C; }
.D-pariska-maslina-svijetla .cats a:not(.on) { border-color: color-mix(in srgb, var(--text) 34%, transparent); color: var(--text); }
.D-pariska-maslina-svijetla :is(.xp-all-link, .search input) { border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.D-pariska-maslina-svijetla .xp-all-link { color: var(--text); }
/* pločice cjelina: natpis bijel na tamnoj maslinastoj sjenci (čitljiv i preko svijetle fotografije) */
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).C-tiles .xp-tile:has(.xt-ph)::after { background: linear-gradient(180deg, transparent 28%, rgb(31 30 23 / .5) 58%, rgb(31 30 23 / .9)); }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).C-tiles .xt-tx { text-shadow: 0 1px 10px rgb(0 0 0 / .45); }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).C-tiles .xp-tile:has(.xt-ph) .xt-ic { display: none; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-tile { border-color: color-mix(in srgb, var(--text) 14%, transparent); }
/* zavjesa (tamna maslinasta) brže, kao Pariski kafe (~1,9 s) */
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).I-curtain .xp-intro:not(.done) { animation-delay: 1.7s; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).I-curtain .xp-intro-in { animation: xp-up .5s ease .1s both, xp-out .3s ease .85s forwards; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).I-curtain .xp-intro-bg::before, :is(.D-pariska-maslina, .D-pariska-maslina-svijetla).I-curtain .xp-intro-bg::after { animation-duration: .75s; animation-delay: .95s; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).xp[data-intro-on]:not(.intro-skip) .xp-brand { animation-delay: 1.75s; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).xp[data-intro-on]:not(.intro-skip) .xp-tile { animation-delay: 1.85s; }
@media (min-width: 768px) { :is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-logo { width: 116px; height: 116px; } }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).I-curtain .xp-skip { color: var(--on-primary); background: rgb(237 231 219 / .12); }
.D-pariska-maslina .search input { background: #F6F2EA; border-color: var(--border); }

/* ══ Pariska maslina — traka cjeline i kartice (19. 11. 2026, primjedba klijenta: „Bruschett / a" u dva reda; prazan prostor ispod fotografije) ══
   Riječ se nikad ne lomi: naslov u traci je u jednom redu (bez overflow-wrap: anywhere); na telefonu „Nazad" je samo strelica (naziv ostaje
   za čitače ekrana), dugmad su zbijenija, a naslov se smanjuje sa širinom ekrana. Kartica: tekst teče oko fotografije (fotografija iste veličine
   na svakoj stavci), pa duži opis nastavlja ispod fotografije umjesto da ostavi prazan prostor. */
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-sec-h { overflow-wrap: normal; word-break: normal; hyphens: none; white-space: nowrap; font-size: clamp(17px, 4.2vw + 3px, 21px); }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla) :is(.xn, .xd, .xc-h h2, .xt-tx b, .tpl-sheet h3, .ddesc) { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 519px) {
  :is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-bar { gap: 8px; padding-left: 14px; padding-right: 14px; }
  :is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-bar .xp-tools { gap: 6px; }
  :is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-back { width: 40px; height: 40px; padding: 0; justify-content: center; }
  :is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-back span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  :is(.D-pariska-maslina, .D-pariska-maslina-svijetla) .xp-bar .xp-tools :is(.lang button, .info) { padding: 0 10px; }
}
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph { grid-template-columns: auto minmax(0, 1fr) 112px; grid-template-rows: auto auto 1fr auto; column-gap: 12px; row-gap: 0; align-items: start; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph .xb { display: contents; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph .xph { grid-column: 3; grid-row: 1 / 5; align-self: center; width: 112px; height: 112px; margin-left: 4px; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph .xn { grid-column: 1 / 3; grid-row: 1; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph .xd { grid-column: 1 / 3; grid-row: 2; margin-top: 4px; }
/* cijena i gramaža u istom redu (ista osnovna linija), na dnu kartice; višak visine ide u red iznad, pa je cijena kod kratkih stavki u ravni sa dnom fotografije */
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph .xp-price { grid-column: 1; grid-row: 4; align-self: baseline; margin-top: 10px; font-size: 17px; line-height: 24px; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph .xm { grid-column: 2; grid-row: 4; align-self: baseline; margin: 10px 0 0; font-size: 13px; line-height: 24px; }
/* stavke sa veličinama: gramaža (ako postoji) red iznad, veličine na dnu */
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph .vars { grid-column: 1 / 3; grid-row: 4; margin-top: 10px; }
:is(.D-pariska-maslina, .D-pariska-maslina-svijetla).R-cards .xi.has-ph:has(.vars) .xm { grid-column: 1 / 3; grid-row: 3; align-self: start; margin-top: 6px; line-height: 1.4; }

/* ══ Ketering (20. 11. 2026, Premium; prvi klijent La Parisienne) — pločica „Ketering" i posebna stranica #ketering ══
   Nije kategorija: tekst, galerija i poziv, bez cijena. Galerija: 2 kolone na telefonu, 3–4 na računaru; za svaki broj fotografija (1–9) redovi su puni —
   kod neparnog broja prva fotografija je veća (na telefonu kvadrat preko cijele širine, na računaru dvije kolone). Fotografije su isječene na isti oblik
   (3:4), pa svaka fotografija koju klijent postavi izgleda isto; cijela fotografija se vidi u prozoru preko cijelog ekrana. Poziv je traka na dnu stranice
   koja se lijepi za dno ekrana dok gost lista galeriju. Boje samo iz izgleda (radi u svakom „doživljaj" izgledu). */
.kt-in { max-width: 900px; margin: 0 auto; padding: 22px var(--pad) 22px; }
.xp .kt-txt { margin: 0 0 22px; max-width: 36em; font-family: var(--heading); font-size: clamp(17px, 1.6vw + 12px, 21px); line-height: 1.5; color: var(--text); white-space: pre-line; text-wrap: pretty; overflow-wrap: normal; word-break: normal; hyphens: none; }
.kt-gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kt-gal > li { position: relative; aspect-ratio: 3 / 4; min-width: 0; }
.kt-gal > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 1; }
.kt-gal.n1 > li:first-child { aspect-ratio: 3 / 4; }
.kt-ph { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: calc(var(--radius) + 2px); overflow: hidden; background: var(--surface); cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.kt-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.kt-ph:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (hover: hover) { .kt-ph:hover img { transform: scale(1.03); } }
/* Traka poziva je FIKSIRANA za dno ekrana (20. 11.: „sticky" je poskakivala pri listanju dok telefon sakriva/vraća adresnu traku); svoj sloj (translateZ),
   a podnožje menija dobija prostor ispod, da ga traka ne prekrije. Vidi se samo dok je stranica keteringa otvorena (sekcija je inače display: none). */
.kt-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; padding: 12px var(--pad); padding-bottom: max(12px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.xp:has(#ketering .kt-cta):has(#ketering:is(:target, .is-on)) .xp-foot { padding-bottom: calc(40px + 79px + env(safe-area-inset-bottom)); }
.kt-cta-in { display: flex; gap: 8px; max-width: 900px; margin: 0 auto; }
.xp .kt-call, .xp .kt-msg { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: calc(var(--radius) + 2px); text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.xp .kt-call { flex: 1 1 auto; min-width: 0; padding: 6px 16px; background: var(--primary); color: var(--on-primary); }
.kt-call > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; text-align: left; }
.kt-call b { font-size: 16px; font-weight: 650; }
.kt-call small { font-size: 12.5px; font-weight: 500; opacity: .88; font-variant-numeric: lining-nums tabular-nums; }
.kt-call svg, .kt-msg svg { flex: none; width: 22px; height: 22px; }
.xp .kt-msg { flex: none; padding: 0 16px; border: 1.5px solid color-mix(in srgb, var(--primary) 55%, transparent); background: color-mix(in srgb, var(--surface) 18%, var(--bg)); color: var(--text); font-weight: 650; font-size: 15px; }
.xp .kt-call:active, .xp .kt-msg:active { transform: scale(.98); }
.kt-call:focus-visible, .kt-msg:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
/* Viber i WhatsApp zajedno na uskom ekranu: samo ikonice (naziv ostaje za čitače ekrana) */
@media (max-width: 479px) {
  .kt-cta.n3 .kt-msg { width: 54px; padding: 0; }
  .kt-cta.n3 .kt-msg span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 768px) {
  .kt-in { padding-top: 30px; }
  .kt-gal { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .kt-gal > li:first-child:nth-last-child(odd) { grid-column: auto; aspect-ratio: 3 / 4; }
  .kt-gal.n1 { grid-template-columns: minmax(0, 440px); }
  .kt-gal.n2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
  .kt-gal:is(.n1, .n2) { justify-content: center; }
  .kt-gal:is(.n4, .n7, .n8) { grid-template-columns: repeat(4, 1fr); }
  .kt-gal:is(.n5, .n7) > li:first-child { grid-column: span 2; aspect-ratio: auto; }
  .kt-cta-in { justify-content: center; }
  .xp .kt-call { flex: 0 1 340px; }
}
/* Prozor fotografije preko cijelog ekrana (menu.js): cijela fotografija, prethodna / sljedeća, prevlačenje prstom, strelice na tastaturi */
.tpl-modal.kt-view { align-items: stretch; background: rgb(17 16 12 / .95); touch-action: none; overscroll-behavior: contain; }
.tpl-modal.kt-view.closing { animation: kt-bg-out .2s ease both !important; }
.tpl-modal.kt-view.closing .tpl-sheet { animation: kt-out .2s ease both !important; }
@keyframes kt-bg-out { to { background-color: rgb(17 16 12 / 0); } }
@keyframes kt-out { to { opacity: 0; transform: scale(.985); } }
.tpl-modal.kt-view .tpl-sheet { position: relative; display: flex; flex-direction: column; width: 100%; max-width: none !important; height: 100%; max-height: none; margin: 0; padding: 0; overflow: hidden; background: transparent; border: 0; border-radius: 0 !important; color: #F4F1EA; animation: kt-fade .22s ease both !important; }
@keyframes kt-fade { from { opacity: 0; } }
.kt-fig { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: max(66px, calc(env(safe-area-inset-top) + 58px)) 12px 6px; touch-action: none; }
.kt-img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); object-fit: contain; border-radius: 6px; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .9); }
.kt-nav { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 16px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.kt-nav button { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border-radius: 50%; border: 1px solid rgb(244 241 234 / .3); background: rgb(244 241 234 / .08); color: #F4F1EA; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kt-nav button:focus-visible, .kt-view .closebtn:focus-visible { outline: 2px solid #F4F1EA; outline-offset: 3px; }
.kt-nav svg { width: 22px; height: 22px; }
.kt-ctr { min-width: 72px; text-align: center; font-size: 14px; letter-spacing: .08em; font-variant-numeric: lining-nums tabular-nums; }
.tpl-modal.kt-view .tpl-sheet .closebtn { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 2; width: auto; min-height: 44px; margin: 0; padding: 0 18px; border-radius: 999px; background: rgb(244 241 234 / .12); border: 1px solid rgb(244 241 234 / .3); color: #F4F1EA; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
@media (prefers-reduced-motion: reduce) { .kt-ph img { transition: none; } .tpl-modal.kt-view .tpl-sheet { animation: none !important; } }

/* ══════════════════════════════════════════════════════════════════════════════════════════════
   ZA SVE „doživljaj" IZGLEDE (19. 11. 2026, vlasnik: „sve greške koje smo ikad našli na La Parisienne ispravljene na svim menijima").
   Jedno pravilo za sve izglede, ne po meniju; provjera: scripts/qa/izgledi.sh (svi izgledi × sadržaj × ME/EN × 11 širina + telefon).
   ══════════════════════════════════════════════════════════════════════════════════════════════ */
/* 1. Riječ se nikad ne lomi u dva reda (bilo: overflow-wrap: anywhere → „Bruschett / a" u traci, nazivi stavki usred riječi).
      Prelom samo između riječi i iza crtice; veličine slova su takve da i najduža riječ stane. */
.xp :is(.xp-sec-h, .xn, .xd, .xc-h h2, .xc-h p, .xt-tx b, .xt-tx small, .xp-q, .xp-hero h1, .xp-tag, .xp-all-link, .kt-txt),
.tpl-modal :is(h3, .ddesc, .muted) { overflow-wrap: normal; word-break: normal; hyphens: none; }
/* 2. Naslov u traci cjeline: u jednom redu (experience.js smanji slova ako treba, najmanje 14 px); bez JS-a prelom samo između riječi.
      Na telefonu je „Nazad" samo strelica (natpis ostaje za čitače ekrana), dugmad zbijenija — više mjesta za naslov. */
.xp .xp-sec-h { text-wrap: balance; }
.xp .xp-sec-h.one { white-space: nowrap; }
@media (max-width: 519px) {
  .xp .xp-bar { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .xp .xp-bar .xp-tools { gap: 6px; }
  .xp .xp-back { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .xp .xp-back span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .xp .xp-bar .xp-tools :is(.lang button, .info) { padding: 0 10px; }
}
/* 3. Kartice sa fotografijom desno (R-cards): fotografija iste veličine, u sredini po visini; naziv gore, cijena i gramaža u istom redu na dnu
      (ista osnovna linija) — bez praznog prostora ispod fotografije ili ispod teksta; višak visine ide iznad cijene. */
.R-cards .xi.has-ph { grid-template-columns: auto minmax(0, 1fr) 104px; grid-template-rows: auto auto 1fr auto; column-gap: 12px; row-gap: 0; align-items: start; }
.R-cards .xi.has-ph .xb { display: contents; }
.R-cards .xi.has-ph .xph { grid-column: 3; grid-row: 1 / 5; align-self: center; width: 104px; height: 104px; margin-left: 4px; }
.R-cards .xi.has-ph .xn { grid-column: 1 / 3; grid-row: 1; }
.R-cards .xi.has-ph .xd { grid-column: 1 / 3; grid-row: 2; margin-top: 4px; }
.R-cards .xi.has-ph .xp-price { grid-column: 1; grid-row: 4; align-self: baseline; margin-top: 10px; }
.R-cards .xi.has-ph .xm { grid-column: 2; grid-row: 4; align-self: baseline; margin: 10px 0 0; }
.R-cards .xi.has-ph .vars { grid-column: 1 / 3; grid-row: 4; align-self: end; margin-top: 10px; }
.R-cards .xi.has-ph:has(.vars) .xm { grid-column: 1 / 3; grid-row: 3; align-self: start; margin-top: 6px; }
/* 4. Jezik i Info preko naslovne fotografije: tamna podloga (preko svijetlih djelova fotografije neaktivno dugme je ličilo na aktivno) */
.xp-hero.has-cover .xp-tools :is(.lang, .info) { background: rgb(14 12 10 / .74); }
/* 5. Cijene ravnim brojevima iste visine (Playfair, EB Garamond, Raleway… inače crtaju „starinske" brojeve različite visine) */
.xp :is(.xp-price, .vp), .tpl-modal :is(.price, .vp) { font-variant-numeric: lining-nums tabular-nums; }
.xp :is(.chips span, .xc-time), .tpl-modal .muted { font-variant-numeric: lining-nums; }
/* 6. Telefon (dodir): bez zamućenja na zalijepljenim trakama (preračunava se pri svakom pomjeranju), bez ulaska stavki jedne za drugom —
      cjelina samo kratko posvijetli; bez sive mrlje pri dodiru. Prelaz preko ekrana i talas isključuje experience.js. */
@media (pointer: coarse) {
  .xp :is(.xp-bar, .cats) { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .xp .xp-sec.enter :is(.xc-h, .xi) { animation: none; }
  .xp .xp-sec.enter { animation: xlp-in .16s ease-out both; }
  .xp :is(.xp-tile, .xi .hit, .xp-all-link) { -webkit-tap-highlight-color: transparent; }
}
/* 7. Pločice cjelina: naziv i broj stavki se nikad ne odsijecaju — pločica poraste kad sadržaj ne staje (uzak telefon, dug naziv), red ostaje
      iste visine; najduža riječ staje jer experience.js po potrebi smanji slova. Paneli (Žar i dim) sa 6+ cjelina na računaru idu u redove. */
/* experience.js dodaje .grow samo nizu u kojem je tekst neke pločice stvarno odsječen: pločice tada nemaju stalan oblik (aspect-ratio),
   nego najmanju visinu svog oblika (postavlja experience.js) i rastu do visine sadržaja, red iste visine. Ostali nizovi ostaju kakvi jesu. */
.xp-tiles > .xp-tile { min-width: 0; }
.xp-tiles.grow > .xp-tile { aspect-ratio: auto; align-self: stretch; }
.C-cinema .xp-tile { height: auto; min-height: 200px; }
.C-panels .xp-tile { height: auto; min-height: 300px; }
@media (min-width: 768px) {
  .C-panels .xp-tiles.n6 { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
/* 8. Ostale kartice sa fotografijom sa strane: fotografija iste veličine i u sredini po visini, veličine (varijante) na dnu — bez praznog prostora */
.R-glow .xi.has-ph { grid-template-rows: auto 1fr; }
.R-glow .xi.has-ph .xph { align-self: center; }
.R-glow .xi.has-ph .vars { align-self: end; }
@media (max-width: 419px) { .R-glow .xi.has-ph { grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 12px; } .R-glow .xi.has-ph .xph { width: 64px; height: 64px; } }
.R-thumbs .xph { align-self: center; }
.R-thumbs .xi .vars { align-self: end; }
/* 9. Opis se ne skraćuje sa „…" (cijeli opis je i u kartici, ne samo u prozoru) */
.R-grid .xd { display: block; -webkit-line-clamp: none; overflow: visible; }
.R-grid .xl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.R-grid .xi .vars { flex-direction: column; align-items: stretch; }
.R-grid .xi .var { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; }
@media (min-width: 768px) { .R-grid .xl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .R-grid .xl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
