/* Sajt firme. Teme po djelatnosti: noir (berbernica), ivory (salon), blush (nail). Bez slika koje firma nije dala. */
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }

:root, [data-theme="ivory"] {
  color-scheme: light;
  --bg: #f6f1ea; --bg-2: #efe7dc; --surface: #fffdf9; --line: #e3d9cb; --line-2: #cfc2b0;
  --ink: #221c18; --ink-2: #5a4f47; --ink-3: #8a7d72; --accent: #9b5d52; --accent-ink: #fff; --accent-soft: #f3e3dd;
  --hero-1: #efe3d6; --hero-2: #e7d3c4;
}
[data-theme="noir"] {
  color-scheme: dark;
  --bg: #0e0d0b; --bg-2: #15130f; --surface: #191612; --line: #2b261f; --line-2: #3d362c;
  --ink: #f2ece2; --ink-2: #c9bfae; --ink-3: #958b7b; --accent: #c9a25e; --accent-ink: #120f0a; --accent-soft: #2a2316;
  --hero-1: #1a1712; --hero-2: #0e0d0b;
}
[data-theme="blush"] {
  color-scheme: light;
  --bg: #fbf4f3; --bg-2: #f5e8e7; --surface: #fffafa; --line: #ecdcdb; --line-2: #dcc4c4;
  --ink: #2a1d24; --ink-2: #5e4b55; --ink-3: #8d7882; --accent: #8a4467; --accent-ink: #fff; --accent-soft: #f4e2ea;
  --hero-1: #f6e6e8; --hero-2: #efd6dc;
}
:root { --serif: "Instrument Serif", ui-serif, Georgia, serif; --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --r: 14px; --wrap: 1160px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Zaglavlje */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--ink-2); } .nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.menu { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  font: 550 14.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); } .btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); border-color: transparent; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn svg { width: 16px; height: 16px; }

/* Naslovna */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(1100px 520px at 85% -10%, var(--hero-2), transparent 60%), radial-gradient(900px 600px at -10% 120%, var(--hero-1), transparent 55%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 75% 40%, #000 10%, transparent 65%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: end; padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 7vw, 88px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.hero h1 { font: 400 clamp(46px, 7.4vw, 96px)/.98 var(--serif); letter-spacing: -.02em; }
.hero h1 em { color: var(--accent); }
.hero .lead { margin: 26px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 46ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(6px); }
.fact { padding: 18px 20px; border-bottom: 1px solid var(--line); } .fact:last-child { border-bottom: 0; }
.fact dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fact dd { margin: 4px 0 0; font-size: 15px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; } .open-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.open-now.on::before { background: #3fae7a; box-shadow: 0 0 0 4px color-mix(in srgb, #3fae7a 20%, transparent); }

/* Sekcije */
.section { padding: clamp(64px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg-2); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.sec-head .num { font: 400 15px/1 var(--serif); color: var(--accent); display: block; margin-bottom: 14px; letter-spacing: .04em; }
.sec-head h2 { font: 400 clamp(36px, 5vw, 60px)/1.02 var(--serif); letter-spacing: -.015em; }
.sec-head p { margin: 12px 0 0; color: var(--ink-2); max-width: 52ch; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px 64px; }
.cat { grid-column: 1 / -1; font: 400 26px/1.2 var(--serif); margin: 26px 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cat:first-child { margin-top: 0; }
.price { display: grid; grid-template-columns: minmax(0, auto) 1fr auto; align-items: baseline; gap: 12px; padding: 14px 0; }
.price .name { font-weight: 550; } .price .dots { border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.price .amt { font: 400 22px/1 var(--serif); white-space: nowrap; }
.price .meta { grid-column: 1 / -1; margin-top: -6px; font-size: 13.5px; color: var(--ink-3); }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.member { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 22px; }
.mono { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font: 400 30px/1 var(--serif); background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.member h3 { font: 400 26px/1.1 var(--serif); } .member .role { color: var(--ink-3); font-size: 14px; margin-top: 4px; } .member p { color: var(--ink-2); font-size: 14.5px; margin: 12px 0 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose { color: var(--ink-2); font-size: 17px; } .prose p { margin: 0 0 1em; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); } .hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--accent); font-weight: 600; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list .k { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-list .v { font: 400 24px/1.25 var(--serif); }
.band { text-align: center; padding: clamp(72px, 10vw, 128px) 0; }
.band h2 { font: 400 clamp(40px, 6vw, 72px)/1 var(--serif); } .band p { color: var(--ink-2); margin: 16px auto 30px; max-width: 46ch; }

.foot { padding: 40px 0 56px; color: var(--ink-3); font-size: 13.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; } .foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }

/* Zakazivanje */
.book { padding: clamp(40px, 6vw, 72px) 0 96px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.book h1 { font: 400 clamp(40px, 5.6vw, 64px)/1 var(--serif); letter-spacing: -.015em; margin-bottom: 10px; }
.step { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px; margin-top: 18px; }
.step-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font: 400 16px/1 var(--serif); flex: none; }
.step-h h2 { font: 550 16px/1.3 var(--sans); }
.step[aria-disabled="true"] { opacity: .55; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--line-2); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt .t { font-weight: 550; } .opt .d { color: var(--ink-3); font-size: 13.5px; } .opt .p { font: 400 20px/1 var(--serif); white-space: nowrap; }
.opt-group { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 2px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; } .field label, .label { font-size: 13.5px; font-weight: 550; } .hint { font-size: 13px; color: var(--ink-3); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: inherit; }
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.err { color: #c2412e; font-size: 13.5px; font-weight: 500; }
[data-theme="noir"] .err { color: #f08a75; }
.alert { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); margin: 18px 0 0; }
.alert.bad { border-color: color-mix(in srgb, #c2412e 45%, var(--line)); background: color-mix(in srgb, #c2412e 8%, var(--surface)); }
.alert.ok { border-color: color-mix(in srgb, #3fae7a 45%, var(--line)); background: color-mix(in srgb, #3fae7a 9%, var(--surface)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); } .check input { margin-top: 4px; accent-color: var(--accent); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.summary { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px; }
.summary h2 { font: 400 28px/1.1 var(--serif); margin-bottom: 14px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14.5px; }
.summary dt { color: var(--ink-3); } .summary dd { margin: 0; text-align: right; }
.summary .total { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font: 400 30px/1 var(--serif); }
.trust { display: grid; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--ink-3); } .trust span { display: flex; gap: 8px; } .trust svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--accent); }

/* Iskačući kalendar */
.datepick { position: relative; }
.date-btn { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.date-btn svg { width: 18px; height: 18px; color: var(--ink-3); }
.cal { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: min(340px, calc(100vw - 40px)); padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .35); }
.cal[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font: 400 22px/1 var(--serif); text-transform: capitalize; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .wd { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 6px 0; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; color: var(--ink-3); font: 500 14px/1 var(--sans); cursor: default; opacity: .45; }
.cal-day.on { opacity: 1; color: var(--ink); cursor: pointer; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.cal-day.on:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.cal-day.sel { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.cal-day.today { text-decoration: underline; text-underline-offset: 4px; }
.cal-foot { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 14px; }
.cal-foot i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); }
.loading { opacity: .6; pointer-events: none; }

.done { text-align: center; max-width: 620px; margin: 0 auto; padding: 32px 0; }
.done .seal { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--accent-soft); color: var(--accent); }
.done .seal svg { width: 34px; height: 34px; }
.done h1 { font: 400 clamp(38px, 5vw, 56px)/1.05 var(--serif); }
.ticket { margin: 28px auto 0; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 22px 24px; }
.ticket dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; } .ticket dt { color: var(--ink-3); } .ticket dd { margin: 0; }
.code-in { font: 600 30px/1 ui-monospace, Menlo, monospace; letter-spacing: .5em; text-align: center; max-width: 280px; margin: 0 auto; }

@media (max-width: 960px) {
  .hero .wrap, .split, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; } .menu summary::-webkit-details-marker { display: none; }
  .menu .panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 40px)); padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .35); display: grid; }
  .menu .panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; } .menu .panel a:hover { background: var(--bg); }
}
@media (max-width: 560px) {
  .top .wrap { min-height: 64px; } .logo { font-size: 22px; }
  .top .btn-accent { display: none; }
  .price { grid-template-columns: minmax(0, 1fr) auto; } .price .dots { display: none; }
  .step { padding: 18px; } .ticket dl { grid-template-columns: 1fr; gap: 2px; } .ticket dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.mt { margin-top: 18px; } .check.center { justify-content: center; }
.nav a.btn-accent, .nav a.btn-accent:hover { color: var(--accent-ink); }

/* ═══════════════ Izgled: HERITAGE (klasična berbernica) ═══════════════ */
[data-theme="heritage"] {
  color-scheme: light;
  --bg: #f3ecdf; --bg-2: #ebe2d0; --surface: #faf6ee; --line: #d8cbb2; --line-2: #bfae8f;
  --ink: #1d2721; --ink-2: #48504a; --ink-3: #78766a; --accent: #7a2c27; --accent-ink: #fbf6ee; --accent-soft: #eedcd3;
  --green: #1f4a39; --hero-1: #efe5d2; --hero-2: #e9dcc4; --r: 4px;
}
[data-theme="heritage"] .top { background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 3px double var(--line-2); }
[data-theme="heritage"] .logo { color: var(--green); letter-spacing: .01em; }
[data-theme="heritage"] .btn { border-radius: 3px; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600; }
[data-theme="heritage"] .btn-accent { background: var(--accent); border-color: var(--accent); }
[data-theme="heritage"] .hero { background: var(--bg); }
[data-theme="heritage"] .hero::after { display: none; }
[data-theme="heritage"] .hero .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 40px; margin-block: clamp(24px, 4vw, 48px); padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 48px);
  border: 1px solid var(--line-2); outline: 1px solid var(--line-2); outline-offset: 7px; background: radial-gradient(700px 300px at 50% 0%, var(--hero-2), transparent 70%), var(--surface); }
[data-theme="heritage"] .kicker { justify-content: center; color: var(--green); }
[data-theme="heritage"] .kicker::before, [data-theme="heritage"] .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; }
[data-theme="heritage"] .hero h1 { color: var(--green); font-size: clamp(46px, 8vw, 104px); }
[data-theme="heritage"] .hero .lead { margin-inline: auto; }
[data-theme="heritage"] .hero .cta { justify-content: center; }
[data-theme="heritage"] .facts { width: 100%; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); background: transparent; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; backdrop-filter: none; }
[data-theme="heritage"] .fact { border-bottom: 0; border-right: 1px solid var(--line); padding: 20px 12px 6px; }
[data-theme="heritage"] .fact:last-child { border-right: 0; }
[data-theme="heritage"] .sec-head { flex-direction: column; align-items: center; text-align: center; }
[data-theme="heritage"] .sec-head p { margin-inline: auto; }
[data-theme="heritage"] .sec-head .num { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
[data-theme="heritage"] .sec-head h2 { color: var(--green); }
[data-theme="heritage"] .prices { border: 1px solid var(--line-2); outline: 1px solid var(--line-2); outline-offset: 5px; background: var(--surface); padding: clamp(22px, 4vw, 48px); gap: 6px 56px; }
[data-theme="heritage"] .cat { text-align: center; color: var(--accent); border-bottom: 0; letter-spacing: .02em; }
[data-theme="heritage"] .cat::after { content: ""; display: block; width: 60px; height: 1px; margin: 12px auto 0; background: var(--line-2); }
[data-theme="heritage"] .price .amt { color: var(--accent); }
[data-theme="heritage"] .member { text-align: center; border-radius: 4px; }
[data-theme="heritage"] .mono { margin-inline: auto; background: transparent; border: 1px solid var(--line-2); outline: 1px solid var(--line-2); outline-offset: 3px; color: var(--green); }
[data-theme="heritage"] .section.alt { background: var(--bg-2); }
[data-theme="heritage"] .band { background: var(--green); color: #f3ecdf; } [data-theme="heritage"] .band p { color: #d9d3c5; }
[data-theme="heritage"] .band .btn-accent { background: #f3ecdf; color: var(--green); border-color: #f3ecdf; }
[data-theme="heritage"] .steps .n { color: var(--accent); }
[data-theme="heritage"] .step, [data-theme="heritage"] .summary, [data-theme="heritage"] .ticket, [data-theme="heritage"] .opt, [data-theme="heritage"] .input, [data-theme="heritage"] .date-btn, [data-theme="heritage"] .cal { border-radius: 4px; }
@media (min-width: 961px) {
  [data-theme="heritage"] .top .wrap { flex-direction: column; justify-content: center; gap: 12px; padding: 18px 0 14px; }
  [data-theme="heritage"] .logo { font-size: 34px; }
}

/* ═══════════════ Izgled: URBAN (gradski studio) ═══════════════ */
[data-theme="urban"] {
  color-scheme: light;
  --bg: #f4f4f1; --bg-2: #e9e9e3; --surface: #ffffff; --line: #d4d4cc; --line-2: #0c0c0c;
  --ink: #0c0c0c; --ink-2: #33332f; --ink-3: #6a6a63; --accent: #ff5a1f; --accent-ink: #0c0c0c; --accent-soft: #ffe3d6;
  --hero-1: #f4f4f1; --hero-2: #f4f4f1; --r: 0px;
}
[data-theme="urban"] h1, [data-theme="urban"] h2, [data-theme="urban"] .logo, [data-theme="urban"] .cat, [data-theme="urban"] .member h3, [data-theme="urban"] .band h2, [data-theme="urban"] .book h1,
[data-theme="urban"] .summary h2, [data-theme="urban"] .done h1, [data-theme="urban"] .contact-list .v, [data-theme="urban"] .cal-head b {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; text-transform: uppercase;
}
[data-theme="urban"] .top { background: var(--bg); border-bottom: 2px solid var(--ink); backdrop-filter: none; }
[data-theme="urban"] .logo { font-size: 22px; }
[data-theme="urban"] .nav a { text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--ink); }
[data-theme="urban"] .btn { border-radius: 0; border-width: 2px; border-color: var(--ink); text-transform: uppercase; font-weight: 800; letter-spacing: .04em; font-size: 13px; }
[data-theme="urban"] .btn-accent { background: var(--accent); border-color: var(--ink); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
[data-theme="urban"] .btn-accent:hover { background: var(--accent); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
[data-theme="urban"] .hero { background: var(--bg); border-bottom: 2px solid var(--ink); }
[data-theme="urban"] .hero::after { opacity: .9; background-size: 120px 120px; mask-image: linear-gradient(90deg, transparent 40%, #000); }
[data-theme="urban"] .hero h1 { font-size: clamp(54px, 10.5vw, 150px); line-height: .86; letter-spacing: -.055em; }
[data-theme="urban"] .hero h1::after { content: ""; display: block; width: 120px; height: 14px; margin-top: 22px; background: var(--accent); }
[data-theme="urban"] .kicker { color: var(--ink); font-weight: 800; letter-spacing: .14em; }
[data-theme="urban"] .kicker::before { width: 12px; height: 12px; background: var(--accent); }
[data-theme="urban"] .hero .lead { color: var(--ink-2); font-size: clamp(17px, 1.7vw, 20px); }
[data-theme="urban"] .facts { background: var(--ink); color: #f4f4f1; border: 0; border-radius: 0; backdrop-filter: none; }
[data-theme="urban"] .fact { border-color: #2c2c29; } [data-theme="urban"] .fact dt { color: #a3a39b; }
[data-theme="urban"] .section { border-bottom: 2px solid var(--ink); }
[data-theme="urban"] .sec-head .num { font: 800 64px/1 var(--sans); color: transparent; -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -.04em; margin-bottom: 6px; }
[data-theme="urban"] .sec-head h2 { font-size: clamp(40px, 6.4vw, 84px); line-height: .9; }
[data-theme="urban"] .prices { gap: 0 48px; }
[data-theme="urban"] .cat { font-size: 15px; letter-spacing: .1em; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
[data-theme="urban"] .price { padding: 16px 0; border-bottom: 1px solid var(--line); }
[data-theme="urban"] .price .dots { visibility: hidden; }
[data-theme="urban"] .price .name { font-size: 18px; font-weight: 700; }
[data-theme="urban"] .price .amt { font: 800 22px/1 var(--sans); letter-spacing: -.02em; }
[data-theme="urban"] .member { border: 2px solid var(--ink); }
[data-theme="urban"] .mono { border-radius: 0; background: var(--accent); color: var(--ink); font: 800 30px/1 var(--sans); }
[data-theme="urban"] .member h3 { font-size: 24px; }
[data-theme="urban"] .band { background: var(--ink); color: #f4f4f1; } [data-theme="urban"] .band p { color: #c9c9c1; }
[data-theme="urban"] .hours tr.today td { color: var(--ink); background: var(--accent-soft); }
[data-theme="urban"] .contact-list .v { font-size: 22px; }
[data-theme="urban"] .step, [data-theme="urban"] .summary, [data-theme="urban"] .ticket { border: 2px solid var(--ink); }
[data-theme="urban"] .opt { border-radius: 0; } [data-theme="urban"] .opt:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
[data-theme="urban"] .opt .p { font: 800 18px/1 var(--sans); }
[data-theme="urban"] .input, [data-theme="urban"] .date-btn, [data-theme="urban"] .cal, [data-theme="urban"] .cal-day, [data-theme="urban"] .cal-nav, [data-theme="urban"] .alert { border-radius: 0; }
[data-theme="urban"] .input, [data-theme="urban"] .date-btn { border: 2px solid var(--ink); }
[data-theme="urban"] .cal { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
[data-theme="urban"] .cal-day.sel { color: var(--ink); }
[data-theme="urban"] .step-n { border-radius: 0; border: 2px solid var(--ink); font: 800 14px/1 var(--sans); }
[data-theme="urban"] .summary .total b { font: 800 30px/1 var(--sans); }
[data-theme="urban"] .done .seal { border-radius: 0; background: var(--accent); color: var(--ink); }

/* ═══════════════ Zajedničke sekcije: kako zakazati, dobro je znati ═══════════════ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; counter-reset: s; }
.steps li { list-style: none; border-top: 1px solid var(--line-2); padding-top: 18px; }
.steps .n { font: 400 44px/1 var(--serif); color: var(--accent); display: block; margin-bottom: 12px; }
.steps h3 { font: 400 26px/1.15 var(--serif); margin-bottom: 8px; } .steps p { margin: 0; color: var(--ink-2); }
.steps ol { margin: 0; padding: 0; }
[data-theme="urban"] .steps .n { font: 800 44px/1 var(--sans); } [data-theme="urban"] .steps h3 { font: 800 20px/1.15 var(--sans); text-transform: uppercase; letter-spacing: -.02em; }
[data-theme="urban"] .steps li { border-top: 2px solid var(--ink); }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 8px; }
.note { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.note svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.note b { display: block; margin-bottom: 2px; } .note span { color: var(--ink-2); font-size: 14.5px; }
[data-theme="urban"] .note { border: 2px solid var(--ink); } [data-theme="urban"] .note svg { color: var(--ink); }

/* ── Ispravke poslije provjere ekrana (320–1440 px) ── */
.cal-grid .wd { font-size: 12px; }
/* Naziv firme se nikad ne skraćuje sa „…" — prelama se u najviše dva reda. */
.logo { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.05; max-width: 70vw; }
/* Dugi nazivi: prelamanje umjesto izlaska iz okvira. */
.hero h1, .sec-head h2, .band h2, .book h1, .done h1, .member h3, .cat { overflow-wrap: break-word; }
.hero .wrap > div { min-width: 0; }
[data-theme="urban"] .hero h1 { font-size: clamp(38px, 6.4vw, 104px); }
[data-theme="urban"] .sec-head .num { font-size: clamp(36px, 8vw, 64px); overflow-wrap: anywhere; }
@media (max-width: 960px) { [data-theme="urban"] .hero h1 { font-size: clamp(38px, 11.5vw, 96px); } }
@media (max-width: 560px) {
  .logo { font-size: 20px; max-width: 62vw; }
  [data-theme="urban"] .logo { font-size: 17px; letter-spacing: -.02em; }
  [data-theme="urban"] .sec-head h2 { font-size: clamp(32px, 10vw, 48px); }
  [data-theme="urban"] .band h2 { font-size: clamp(30px, 9.5vw, 48px); }
}

/* ═══════════════ Fotografije: logo, naslovna, galerija, tim ═══════════════ */
.logo.has-img { display: inline-flex; align-items: center; max-width: 60vw; }
.logo.has-img img { display: block; height: auto; max-height: 46px; width: auto; max-width: 220px; object-fit: contain; }
[data-theme="heritage"] .logo.has-img img { max-height: 58px; }
.hero.has-img .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.hero.has-img .facts { margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.hero.has-img .fact { border-bottom: 0; border-right: 1px solid var(--line); }
.hero.has-img .fact:last-child { border-right: 0; }
.hero-img { margin: 0; position: relative; aspect-ratio: 4 / 5; max-height: 640px; justify-self: end; width: 100%; max-width: 480px; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--r); }
[data-theme="noir"] .hero-img::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: var(--r); pointer-events: none; }
[data-theme="noir"] .hero-img img { filter: saturate(.92) contrast(1.04); }
[data-theme="urban"] .hero-img img { border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--accent); }
[data-theme="urban"] .hero.has-img .facts { background: var(--ink); }
[data-theme="urban"] .hero.has-img .fact { border-right-color: #2c2c29; }
.gallery { padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 20px); }
.g-grid figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.g-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.g-grid figure:hover img { transform: scale(1.03); }
[data-theme="heritage"] .g-grid figure { border: 1px solid var(--line-2); padding: 6px; background: var(--surface); }
[data-theme="heritage"] .g-grid img { border-radius: 2px; filter: sepia(.08); }
[data-theme="urban"] .gallery { border-bottom: 2px solid var(--ink); }
[data-theme="urban"] .g-grid figure { border: 2px solid var(--ink); }
/* Tim: fotografija ili inicijali u istom formatu (4:5) — mješoviti tim izgleda ujednačeno */
.member { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.member > :not(.photo) { margin-inline: 22px; }
.member > :last-child { margin-bottom: 22px; }
.member .photo { aspect-ratio: 4 / 5; margin: 0 0 18px; overflow: hidden; background: var(--bg-2); position: relative; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member .photo.ph { display: grid; place-items: center; background:
  radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
  repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 4%, transparent) 14px 15px), var(--accent-soft); }
.member .photo.ph span { font: 400 clamp(56px, 7vw, 84px)/1 var(--serif); color: var(--accent); letter-spacing: .02em; }
[data-theme="heritage"] .member .photo { margin: 10px 10px 18px; border: 1px solid var(--line-2); }
[data-theme="heritage"] .member .photo.ph span { color: var(--green); }
[data-theme="heritage"] .member .photo img { filter: sepia(.06); }
[data-theme="urban"] .member .photo { border-bottom: 2px solid var(--ink); }
[data-theme="urban"] .member .photo img { filter: grayscale(1) contrast(1.05); }
[data-theme="urban"] .member .photo.ph { background: var(--accent); } [data-theme="urban"] .member .photo.ph span { font: 800 72px/1 var(--sans); color: var(--ink); letter-spacing: -.04em; }
@media (max-width: 960px) {
  .hero.has-img .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-img { justify-self: start; max-width: 420px; order: -1; aspect-ratio: 16 / 11; max-height: none; }
  [data-theme="noir"] .hero-img::before { inset: -10px 10px 10px -10px; }
}
@media (max-width: 560px) { .hero.has-img .fact { border-right: 0; border-bottom: 1px solid var(--line); } .logo.has-img img { max-height: 38px; max-width: 160px; } }
/* Tim na telefonu: vodoravna kartica (fotografija/inicijali lijevo, tekst desno) — kraća stranica */
@media (max-width: 560px) {
  .member { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 14px; }
  .member > :not(.photo) { margin-inline: 0; grid-column: 2; }
  .member > :last-child { margin-bottom: 0; }
  .member .photo { grid-column: 1; grid-row: 1 / span 6; margin: 0; align-self: start; }
  [data-theme="heritage"] .member .photo { margin: 0; }
  .member .photo.ph span { font-size: 40px; }
  [data-theme="urban"] .member .photo { border: 2px solid var(--ink); }
  [data-theme="urban"] .member .photo.ph span { font-size: 40px; }
  .member h3 { font-size: 22px; } .member p { margin-top: 6px; font-size: 14px; }
}
/* Noir: fotografija stopljena sa podlogom (bez okvira; ivice se gube u pozadini) */
[data-theme="noir"] .hero-img::before { content: none; }
[data-theme="noir"] .hero-img { background: transparent; }
[data-theme="noir"] .hero-img img { border-radius: 0; filter: saturate(.95) contrast(1.03) brightness(.97);
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 55% 46%, #000 52%, rgba(0,0,0,.6) 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 68% at 55% 46%, #000 52%, rgba(0,0,0,.6) 70%, transparent 100%); }
[data-theme="noir"] .g-grid figure { background: var(--bg); border: 1px solid var(--line); }
[data-theme="noir"] .g-grid img { filter: saturate(.92) brightness(.95); }
/* Urban: sjenka bloka ostaje unutar sadržaja (ne izlazi van okvira stranice) */
[data-theme="urban"] .hero-img { max-width: calc(100% - 14px); margin-right: 14px; margin-bottom: 14px; }
@media (max-width: 960px) { [data-theme="noir"] .hero-img img { -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 55%, transparent 100%); } }
[data-theme="noir"] .hero-img img { -webkit-mask-image: radial-gradient(closest-side at 52% 48%, #000 62%, rgba(0,0,0,.55) 82%, transparent 100%); mask-image: radial-gradient(closest-side at 52% 48%, #000 62%, rgba(0,0,0,.55) 82%, transparent 100%); }
@media (max-width: 960px) {
  .hero-img { aspect-ratio: 1 / 1; max-width: 340px; justify-self: center; }
  .hero-img img { object-position: 50% 12%; }
  [data-theme="noir"] .hero-img img { -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 50%, #000 60%, transparent 100%); }
}
/* Zakazivanje: avatar majstora (fotografija ili inicijali) */
.opt .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 400 18px/1 var(--serif); flex: none; }
.opt .av.any svg { width: 20px; height: 20px; }
.opt-cat[hidden], .opt[hidden] { display: none; }
[data-theme="urban"] .opt .av { border-radius: 0; font: 800 16px/1 var(--sans); background: var(--accent); color: var(--ink); }
[data-theme="heritage"] .opt .av { border: 1px solid var(--line-2); background: transparent; color: var(--green); }
/* Iskačući kalendar je tačno u ravni polja koje ga otvara (ista lijeva i desna ivica) */
.cal { left: 0; right: 0; width: auto; min-width: 0; padding: 14px 12px; }
.cal-grid { gap: 3px; }
.cal-day { font-size: 13.5px; min-width: 0; }
.cal-foot { flex-wrap: wrap; gap: 4px 14px; }
@media (max-width: 380px) { .cal { padding: 12px 8px; } .cal-grid { gap: 2px; } .cal-day { font-size: 13px; border-radius: 8px; } .cal-head b { font-size: 19px; } }
/* Meni na telefonu: u ravni sa ivicom dugmeta koje ga otvara */
.menu .panel { right: 0; left: auto; }

/* ═══════════════ Zakazivanje na telefonu: kompaktni padajući izbori ═══════════════ */
.pick-btn { display: none; }
@media (max-width: 640px) {
  .book { padding-top: 24px; }
  .book h1 { font-size: 34px; margin-bottom: 6px; }
  .book .muted { font-size: 14px; }
  .book-grid { gap: 18px; }
  .book-grid > div:first-child { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 6px 16px 18px; }
  .summary { order: 2; padding: 18px; }
  .summary h2 { font-size: 22px; margin-bottom: 8px; }
  .step { border: 0; background: none; padding: 0; margin-top: 16px; border-radius: 0; }
  .step-h { margin-bottom: 8px; gap: 8px; }
  .step-n { display: none; }
  .step-h h2 { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
  .step .row2 { gap: 16px; }
  .step .field > label, .step .field .label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
  .picker { position: relative; }
  .pick-btn { display: flex; width: 100%; min-height: 48px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
  .pick-btn > svg:first-child { width: 18px; height: 18px; color: var(--accent); flex: none; }
  .pick-btn .chev { width: 18px; height: 18px; margin-left: auto; color: var(--ink-3); flex: none; transition: transform .2s; }
  .picker.open .chev { transform: rotate(180deg); }
  .pick-label { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; padding: 12px 0; }
  .pick-label.ph { color: var(--ink-3); }
  .picker .opts { display: none; }
  .picker.open .opts { display: grid; position: absolute; z-index: 25; top: calc(100% + 6px); left: 0; right: 0; max-height: min(60vh, 460px); overflow: auto; overscroll-behavior: contain;
    padding: 8px; gap: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 24px 60px -20px rgb(0 0 0 / .45); }
  .picker .opt { padding: 11px 12px; grid-template-columns: 18px minmax(0, 1fr) auto; }
  .picker .opt .av { width: 36px; height: 36px; font-size: 15px; }
  .date-btn, select.input { min-height: 48px; }
  .step .alert { margin-top: 8px; }
  [data-theme="urban"] .pick-btn { border: 2px solid var(--ink); border-radius: 0; }
  [data-theme="urban"] .picker.open .opts { border: 2px solid var(--ink); border-radius: 0; box-shadow: 6px 6px 0 var(--ink); }
  [data-theme="heritage"] .pick-btn, [data-theme="heritage"] .picker.open .opts { border-radius: 4px; }
  [data-theme="heritage"] .pick-btn > svg:first-child { color: var(--green); }
}
@media (max-width: 640px) {
  [data-theme] .book-grid .step { border: 0; background: none; padding: 0; }
  .step:has(.row2) .step-h { display: none; }
  [data-theme="urban"] .book-grid > div:first-child { border: 2px solid var(--ink); }
}

/* ═══ Pravilo: polja jedno pored drugog su u ravni i iste visine (napomene ispod ne pomjeraju polja) ═══ */
.field { align-content: start; grid-template-rows: auto auto; }
.row2, .form-grid { align-items: start; }
.input:not(textarea), select.input, .date-btn, .pick-btn { height: 48px; min-height: 48px; box-sizing: border-box; }
.date-btn, .pick-btn { line-height: 1.2; }
.row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr); } .pick-btn { height: auto; } }
[data-theme="urban"] .input:not(textarea), [data-theme="urban"] select.input, [data-theme="urban"] .date-btn, [data-theme="urban"] .pick-btn { border-width: 2px; }

/* ═══ Logo kao znak (kvadratna/uspravna slika): krug sa prstenom u boji izgleda + naziv ═══ */
.logo.has-mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; max-width: 64vw; }
.logo-mark { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 0 4px var(--bg), 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent); }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.logo-name { font: 400 24px/1.05 var(--serif); letter-spacing: -.005em; white-space: normal; min-width: 0; }
[data-theme="noir"] .logo-mark img { filter: saturate(.9) contrast(1.04); }
[data-theme="heritage"] .logo-mark { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--bg), 0 0 0 5px var(--line-2); }
[data-theme="heritage"] .logo-mark img { filter: sepia(.08); }
[data-theme="heritage"] .logo-name { color: var(--green); font-size: 28px; }
[data-theme="urban"] .logo-mark { border-radius: 0; box-shadow: none; border: 2px solid var(--ink); }
[data-theme="urban"] .logo-mark img { filter: grayscale(1) contrast(1.08); }
[data-theme="urban"] .logo-name { font: 800 19px/1 var(--sans); text-transform: uppercase; letter-spacing: -.03em; }
@media (min-width: 961px) { [data-theme="heritage"] .logo.has-mark { flex-direction: row; } [data-theme="heritage"] .logo-mark { width: 52px; height: 52px; } }
.foot-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-logo { display: inline-flex; align-items: center; text-decoration: none; }
.foot-logo .logo-mark { width: 30px; height: 30px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.foot-logo .logo-name { display: none; }
.foot-logo.has-img img { max-height: 26px; width: auto; opacity: .85; }
@media (max-width: 560px) { .logo-mark { width: 38px; height: 38px; } .logo-name { font-size: 20px; } [data-theme="urban"] .logo-name { font-size: 16px; } }

/* ═══ Veći logo (zahtjev vlasnika): znak 60 px, natpis do 58 px; zaglavlje dobija prostor ═══ */
.top .wrap { min-height: 84px; }
.logo-mark { width: 60px; height: 60px; }
.logo-name { font-size: 26px; }
.logo.has-img img { max-height: 58px; max-width: 280px; }
.logo-mark.contain { background: color-mix(in srgb, var(--surface) 70%, var(--bg-2)); }
.logo-mark.contain img { object-fit: contain; object-position: center; padding: 7px; }
[data-theme="heritage"] .logo-mark { width: 64px; height: 64px; }
[data-theme="heritage"] .logo.has-img img { max-height: 66px; }
[data-theme="urban"] .logo-mark { width: 56px; height: 56px; }
.foot-logo .logo-mark { width: 36px; height: 36px; }
@media (min-width: 961px) { [data-theme="heritage"] .top .wrap { padding: 14px 0 12px; } }
@media (max-width: 560px) {
  .top .wrap { min-height: 70px; }
  .logo-mark, [data-theme="heritage"] .logo-mark, [data-theme="urban"] .logo-mark { width: 48px; height: 48px; }
  .logo-name { font-size: 21px; } [data-theme="heritage"] .logo-name { font-size: 22px; }
  .logo.has-img img { max-height: 46px; max-width: 190px; }
}
/* Logo firme uvijek zadržava svoje boje (filteri izgleda važe samo za fotografije) */
.logo-mark img, [data-theme] .logo-mark img { filter: none; }

/* ═══ Nivoi: znak majstorstva na fotografiji (traka pri dnu: naziv + crtice stepena) ═══ */
.member .photo { position: relative; }
.lvl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgb(8 7 6 / .82), rgb(8 7 6 / 0)); color: #f2ece2; }
.lvl-name { font-size: 11.5px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }
.lvl .marks { display: inline-flex; gap: 3px; }
.lvl .marks span { width: 14px; height: 3px; border-radius: 2px; background: rgb(242 236 226 / .28); }
.lvl .marks span.on { background: var(--accent); }
.member .photo.ph .lvl { color: var(--ink); background: linear-gradient(to top, color-mix(in srgb, var(--bg) 70%, transparent), transparent); }
.member .photo.ph .lvl .marks span { background: color-mix(in srgb, var(--ink) 18%, transparent); } .member .photo.ph .lvl .marks span.on { background: var(--accent); }
[data-theme="heritage"] .lvl { background: linear-gradient(to top, rgb(29 39 33 / .85), transparent); }
[data-theme="heritage"] .lvl .marks span.on { background: #e9d9b0; }
[data-theme="urban"] .lvl { background: var(--ink); padding: 8px 12px; } [data-theme="urban"] .lvl-name { font-weight: 800; letter-spacing: .12em; }
[data-theme="urban"] .lvl .marks span { border-radius: 0; } [data-theme="urban"] .lvl .marks span.on { background: var(--accent); }
.top-price { margin-top: 8px; font-size: 14px; color: var(--ink-2); } .top-price b { color: var(--accent); font-weight: 600; margin-left: 4px; }
[data-theme="urban"] .top-price b { color: var(--ink); background: var(--accent); padding: 1px 6px; font-weight: 800; }
@media (max-width: 560px) { .member .photo .lvl { padding: 16px 8px 7px; } .member .photo .lvl-name { font-size: 9.5px; letter-spacing: .12em; } .member .photo .lvl .marks span { width: 9px; } }

/* ═══ Cjenovnik po nivoima ═══ */
.lvl-prices { display: grid; gap: 28px; }
.lvl-table { width: 100%; border-collapse: collapse; }
.lvl-table thead th { text-align: right; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 10px 16px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.lvl-table thead th:first-child { text-align: left; padding-left: 0; font: 400 26px/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.lvl-table tbody th { text-align: left; font-weight: 400; padding: 14px 0; }
.lvl-table tbody th .name { display: block; font-weight: 550; } .lvl-table tbody th .meta { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.lvl-table td { text-align: right; padding: 14px 0 14px 16px; font: 400 21px/1 var(--serif); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lvl-table tbody tr { border-bottom: 1px solid var(--line); }
.lvl-table td:last-child { color: var(--accent); }
[data-theme="heritage"] .lvl-table thead th:first-child { color: var(--green); } [data-theme="heritage"] .lvl-table td:last-child { color: var(--accent); }
[data-theme="urban"] .lvl-table thead th { color: var(--ink); border-bottom: 2px solid var(--ink); } [data-theme="urban"] .lvl-table thead th:first-child { font: 800 16px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
[data-theme="urban"] .lvl-table td { font: 800 18px/1 var(--sans); } [data-theme="urban"] .lvl-table td:last-child { color: var(--ink); }
@media (max-width: 640px) {
  .lvl-table thead tr th:not(:first-child) { display: none; }
  .lvl-table tbody tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding: 12px 0; }
  .lvl-table tbody th { grid-column: 1 / -1; padding: 0 0 8px; }
  .lvl-table td { text-align: left; padding: 0; font-size: 17px; display: flex; flex-direction: column; gap: 3px; }
  .lvl-table td::before { content: attr(data-l); font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
}
/* Nivo na telefonu: ispod imena (fotografija je mala), čitljive veličine */
.lvl-inline { display: none; }
@media (max-width: 560px) {
  .member .photo .lvl { display: none; }
  .lvl-inline { display: block; margin-top: 4px; }
  .lvl-inline .lvl { position: static; background: none; padding: 0; color: var(--ink-2); justify-content: flex-start; }
  .lvl-inline .lvl-name { font-size: 12px; letter-spacing: .14em; }
  .lvl-inline .lvl .marks span { width: 12px; background: color-mix(in srgb, var(--ink) 18%, transparent); } .lvl-inline .lvl .marks span.on { background: var(--accent); }
  [data-theme="urban"] .lvl-inline .lvl { background: none; padding: 0; color: var(--ink); }
}
/* Cjenovnik po nivoima: kolone iste širine u svim kategorijama (u ravni), tačan broj kolona na telefonu */
.lvl-table { table-layout: fixed; }
.lvl-table thead th:not(:first-child) { width: 116px; }
@media (max-width: 760px) { .lvl-table thead th:not(:first-child) { width: 88px; } .lvl-table td { font-size: 18px; } }
@media (max-width: 640px) {
  .lvl-table { table-layout: auto; }
  .lvl-table tbody tr { display: grid; gap: 6px 10px; }
  .lvl-table.lv-2 tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lvl-table.lv-3 tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lvl-table.lv-4 tbody tr { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lvl-table.lv-5 tbody tr { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lvl-table tbody th { grid-column: 1 / -1; }
  .lvl-table td { min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
  [data-theme="urban"] .lvl-table td { border-radius: 0; border: 2px solid var(--ink); }
}
/* Kartice tima u istom redu: iste visine, „Zakaži kod …" uvijek na dnu i u istoj liniji */
.team { align-items: stretch; }
.member { height: 100%; }
.member .member-cta { margin-top: auto; padding-top: 14px; }
.member > p:not(.member-cta) { margin-bottom: 0; }
@media (max-width: 560px) { .member .member-cta { margin-top: 8px; padding-top: 0; } }

/* ═══════════════ Animacije (umjereno): blago pojavljivanje pri skrolovanju, naslovna fotografija pri učitavanju ═══════════════ */
html.rv :is(.sec-head, .prices, .lvl-prices, .team .member, .steps li, .note, .g-grid figure, .split > div, .band .wrap):not(.in) { opacity: 0; transform: translateY(14px); }
html.rv :is(.sec-head, .prices, .lvl-prices, .team .member, .steps li, .note, .g-grid figure, .split > div, .band .wrap) { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.hero-img img { animation: hero-in 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero .wrap > div:first-child > * { animation: rise-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .wrap > div:first-child > :nth-child(2) { animation-delay: .08s; } .hero .wrap > div:first-child > :nth-child(3) { animation-delay: .16s; }
.hero .wrap > div:first-child > :nth-child(4) { animation-delay: .24s; } .hero .wrap > div:first-child > :nth-child(5) { animation-delay: .32s; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-img img, .hero .wrap > div:first-child > *, .ticker-track { animation: none !important; } html.rv :is(*) { opacity: 1 !important; transform: none !important; } }
@media print { html.rv * { opacity: 1 !important; transform: none !important; } }

/* ═══════════════ Heritage: naslovna fotografija u lučnom okviru (klasičan berbernički prozor) ═══════════════ */
[data-theme="heritage"] .hero.has-img .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); justify-items: stretch; align-items: center; text-align: center; gap: clamp(28px, 4vw, 56px); }
[data-theme="heritage"] .hero.has-img .facts { margin-top: 32px; }
[data-theme="heritage"] .hero-img { justify-self: center; width: 100%; max-width: 400px; aspect-ratio: 4 / 5; padding: 9px; background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 999px 999px 6px 6px; box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px var(--line); }
[data-theme="heritage"] .hero-img img { border-radius: 999px 999px 3px 3px; filter: sepia(.14) saturate(.9); }
[data-theme="heritage"] .hero-img::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 46px; height: 1px; transform: translateX(-50%); background: var(--accent); }
@media (max-width: 960px) {
  [data-theme="heritage"] .hero.has-img .wrap { grid-template-columns: minmax(0, 1fr); }
  [data-theme="heritage"] .hero-img { order: -1; max-width: 280px; aspect-ratio: 4 / 5; }
  [data-theme="heritage"] .hero-img img { object-position: 50% 30%; }
}

/* ═══════════════ Urban: traka usluga koja polako klizi ═══════════════ */
.ticker { overflow: hidden; background: var(--ink); color: #f4f4f1; border-bottom: 2px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; gap: 26px; padding: 15px 13px; white-space: nowrap; }
.ticker-set span { font: 800 15px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.ticker-set i { width: 10px; height: 10px; background: var(--accent); display: inline-block; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .ticker-set { gap: 18px; padding: 12px 9px; } .ticker-set span { font-size: 13px; } }
[data-theme="heritage"] .hero-img::after { content: none; }

/* ═══ Demo firma: traka za poređenje izgleda (samo demo-…, nije javno) ═══ */
.preview-bar { background: #111; color: #eee; font: 500 12.5px/1.2 var(--sans, system-ui); position: relative; z-index: 25; }
.preview-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 38px; padding: 6px 0; }
.preview-bar .pv-list { display: flex; flex-wrap: wrap; gap: 4px; }
.preview-bar a { color: #ddd; text-decoration: none; padding: 5px 10px; border-radius: 999px; border: 1px solid #333; }
.preview-bar a[aria-current="true"] { background: #fff; color: #111; border-color: #fff; }
/* Kartica bez fotografije: veliki inicijali ne smiju naslijediti naziv nivoa ni crtice (sva tri berberska izgleda i saloni) */
.member .photo.ph .lvl .lvl-name { font: 650 11.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: inherit; -webkit-text-stroke: 0; }
.member .photo.ph .lvl .marks span { font-size: 0; line-height: 0; }
@media (max-width: 560px) { .member .photo.ph .lvl .lvl-name { font-size: 9.5px; letter-spacing: .12em; } }
/* Termin: obavještenja sa ikonom, kalendar, pomjeranje */
.alert.icon { display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.alert.icon svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.cal-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
/* Nalog klijenta: prijava, registracija, Moji termini */
.acct { max-width: 620px; }
.acct .seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 0 18px; background: var(--accent-soft); color: var(--accent); }
.acct .seal svg { width: 28px; height: 28px; }
.acct-form { display: grid; gap: 14px; margin-top: 18px; }
.acct-form .code-in { margin: 0; }
.acct-h { font: 400 26px/1.15 var(--serif); margin: 34px 0 12px; }
.acct-card { margin-top: 30px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.acct-card .acct-h { margin-top: 0; }
.appt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.appt-item { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); color: inherit; text-decoration: none; }
.appt-item:hover { border-color: var(--accent); }
.appt-list.past .appt-item { opacity: .78; }
.ai-what { color: var(--ink-2); } .ai-meta { color: var(--ink-3); font-size: 14px; }
.acct-who { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; }
.acct-who svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }

/* ═══════════════ Telefon: panel odozdo (kalendar, izbor majstora/usluge, meni) — public/site.js spSheet ═══════════════ */
.sheet-head { display: none; }
.sheet-scrim { position: fixed; inset: 0; z-index: 90; background: rgb(0 0 0 / .5); animation: sheet-fade .15s ease; }
html.sheet-open, html.sheet-open body { overflow: hidden; }
html.sheet-open .top { backdrop-filter: none; }
.as-sheet, [data-theme] .as-sheet, .picker.open .opts.as-sheet {
  position: fixed; inset: auto 0 0 0; z-index: 91; width: auto; max-width: 560px; margin: 0 auto; max-height: 82dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 14px calc(16px + env(safe-area-inset-bottom)); background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgb(0 0 0 / .3); animation: sheet-in .18s ease; }
.as-sheet > .sheet-head { display: flex; position: sticky; top: 0; z-index: 1; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 -14px 10px; padding: 10px 10px 10px 18px; background: var(--surface); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.as-sheet > .sheet-head > span { min-width: 0; overflow-wrap: anywhere; }
.sheet-x { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.picker.open .opts.as-sheet { display: grid; gap: 6px; }
.as-sheet .opt { min-height: 52px; }
.cal.as-sheet .cal-day { font-size: 16px; }
.cal.as-sheet .cal-nav { width: 44px; height: 44px; }
.panel.as-sheet { display: grid; gap: 2px; }
.panel.as-sheet a { padding: 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 16px; }
.panel.as-sheet a:active { background: var(--bg); }
@keyframes sheet-in { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheet-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .as-sheet, .sheet-scrim { animation: none; } }
