/* =========================================================================
   GROMES Mesara — Homepage V2
   Pregledna mesara: svetle krem/parchment pozadine, fotografija proizvoda
   kao glavni nosilac, tamni tonovi (ugalj, hrast, bordo) samo kao akcenat.
   ========================================================================= */
:root {
  /* Paleta */
  --ugalj: #161311;
  --gar: #24201d;
  --hrast: #3a2820;
  --bordo: #5e1a1d;
  --bordo-dub: #3f1114;
  --kora: #9a4a23;
  --bakar: #c2672e;
  --parchment: #efe6d6;
  --krem: #f7f1e6;
  --lan: #e2d5bf;
  --maslina: #5c5a3a;
  --tekst: #1e1a17;
  --tekst-2: #6b5e52;
  --na-tamnom: #efe6d6;
  --na-tamnom-2: rgba(239, 230, 214, .72);
  --linija-tamno: rgba(239, 230, 214, .16);
  --linija-svetlo: rgba(30, 26, 23, .14);

  /* Tipografija */
  --f-display: "DM Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-label: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-hero: clamp(3rem, 6.2vw, 6rem);
  --t-h2: clamp(2.1rem, 3.8vw, 3.4rem);
  --t-h3: clamp(1.25rem, 1.5vw, 1.45rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-label: .8125rem;

  /* Raspored */
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --header-h: 76px;
  --sec-pad: clamp(56px, 7vw, 96px);
  --ease: cubic-bezier(.22, .61, .2, 1);

  color-scheme: light;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--tekst);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bakar); outline-offset: 3px; }
h1, h2, h3, p, dl, dd, figure, blockquote, ol, ul { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.05em; height: 1.05em; flex: none; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--krem); color: var(--tekst); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- Tipografski elementi ---------- */
.eyebrow {
  font-family: var(--f-label); font-weight: 600; font-size: var(--t-label);
  letter-spacing: .22em; text-transform: uppercase; color: var(--kora);
  margin-bottom: 16px;
}
.eyebrow--dark { color: var(--na-tamnom-2); }
.eyebrow--copper { color: var(--bakar); }
.eyebrow--rule { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--rule::before, .eyebrow--rule::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.h2 {
  font-family: var(--f-display); font-weight: 400; font-size: var(--t-h2);
  line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; color: var(--tekst);
}
.h2--light { color: var(--na-tamnom); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-label); font-weight: 600; font-size: .9375rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--tekst); padding-block: 6px;
  border-bottom: 1px solid currentColor;
}
.link-arrow .i { transition: transform .5s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* Zaglavlje sekcije (centrirano) */
.sec-head { max-width: 680px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.sec-head__lead { margin-top: 14px; color: var(--tekst-2); font-size: 1.0625rem; text-wrap: balance; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-label); font-weight: 600; font-size: 1rem;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--cream { background: var(--krem); color: var(--ugalj); }
.btn--cream:hover { background: var(--lan); }
.btn--ghost { color: var(--na-tamnom); border-color: rgba(239, 230, 214, .42); }
.btn--ghost:hover { border-color: var(--na-tamnom); background: rgba(239, 230, 214, .06); }
.btn--dark { background: var(--ugalj); color: var(--krem); }
.btn--dark:hover { background: var(--hrast); }
.btn--line { color: var(--tekst); border-color: rgba(30, 26, 23, .35); }
.btn--line:hover { border-color: var(--tekst); }
.btn--bordo { background: var(--bordo); color: var(--krem); }
.btn--bordo:hover { background: var(--bordo-dub); }

/* ---------- Status (otvoreno/zatvoreno) ---------- */
.status {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-label); font-weight: 500; font-size: .9375rem; letter-spacing: .08em;
  color: var(--tekst-2);
}
.status--dark { color: var(--na-tamnom-2); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tekst-2); flex: none; }
.status.is-open .status__dot { background: #8c9a52; box-shadow: 0 0 0 4px rgba(140, 154, 82, .18); }
.status.is-closed .status__dot { background: var(--kora); }

/* ---------- Oznake dostupnosti ---------- */
.avail {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-label); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tekst-2); white-space: nowrap;
}
.avail::before { content: ""; width: 7px; height: 7px; flex: none; }
.avail--daily::before { border-radius: 50%; background: var(--maslina); }
.avail--order::before, .avail--ask::before { background: var(--bakar); transform: rotate(45deg); width: 6px; height: 6px; }
.avail--rare::before { border: 1px solid currentColor; transform: rotate(45deg); width: 6px; height: 6px; }

/* =========================================================================
   PLACEHOLDER KADROVI
   Svaki .shot ima <img>. Kad fajl ne postoji, prikazuje se tonski kadar
   sa opisom snimka (data-shot). Kad se fajl doda, slika ga pokriva.
   ========================================================================= */
.shot {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--shot-bg, var(--gar));
  --cap: rgba(239, 230, 214, .78);
}
.shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), opacity .6s var(--ease);
}
/* opacity umesto display:none — slika zadržava mesto, pa je browser učita kad se do nje skroluje (loading="lazy") */
.shot.is-missing img { opacity: 0; }
.shot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: overlay;
}
.shot.is-missing::after {
  content: attr(data-shot);
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  font-family: var(--f-display); font-style: italic; font-size: .95rem; line-height: 1.3;
  color: var(--cap);
  padding-top: 10px; border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, var(--cap) 35%, transparent);
}
.shot:not([data-shot])::after { display: none; }
[data-media].has-video::after { display: none; }

.tone-meat  { --shot-bg: radial-gradient(85% 70% at 38% 62%, #a33a2a 0%, #6e1f1b 34%, #3b1412 66%, #1b1110 100%); }
.tone-paper { --shot-bg: radial-gradient(38% 30% at 34% 46%, rgba(128, 50, 36, .9), rgba(128, 50, 36, 0) 70%), radial-gradient(34% 26% at 66% 60%, rgba(150, 66, 44, .85), rgba(150, 66, 44, 0) 72%), linear-gradient(158deg, #eadcc3 0%, #d9c6a3 58%, #bda57c 100%); --cap: rgba(30, 26, 23, .72); }
.tone-wood  { --shot-bg: radial-gradient(60% 40% at 50% 58%, rgba(150, 70, 44, .75), rgba(150, 70, 44, 0) 70%), repeating-linear-gradient(94deg, rgba(0, 0, 0, .06) 0 3px, transparent 3px 11px), linear-gradient(170deg, #6b4429 0%, #4a2f20 50%, #24180f 100%); }
.tone-smoke { --shot-bg: radial-gradient(55% 45% at 46% 52%, #8e3a2a 0%, #5b2318 38%, rgba(58, 40, 32, 0) 72%), linear-gradient(180deg, #3a2820 0%, #1d1512 100%); }
.tone-ember { --shot-bg: radial-gradient(75% 55% at 55% 95%, rgba(140, 78, 44, .55) 0%, rgba(84, 40, 22, .35) 45%, rgba(26, 16, 12, 0) 80%), linear-gradient(180deg, #1c1512 0%, #2a1d16 100%); }
.tone-fat   { --shot-bg: radial-gradient(30% 22% at 40% 46%, rgba(241, 220, 208, .55), rgba(241, 220, 208, 0) 70%), radial-gradient(70% 60% at 50% 50%, #a14a46 0%, #6a2427 46%, #3f1114 100%); }
.tone-chicken { --shot-bg: radial-gradient(50% 42% at 50% 56%, #d39a4c 0%, #9a5a24 40%, rgba(60, 34, 18, 0) 78%), linear-gradient(170deg, #4a2c18, #1f150f); }
.tone-olive { --shot-bg: radial-gradient(52% 40% at 50% 58%, rgba(122, 52, 40, .8), rgba(122, 52, 40, 0) 70%), linear-gradient(165deg, #6c6a48 0%, #4a4832 52%, #24221a 100%); }
.tone-shop  { --shot-bg: radial-gradient(60% 40% at 50% 70%, rgba(154, 74, 35, .55), rgba(154, 74, 35, 0) 70%), linear-gradient(175deg, #d8c6a6 0%, #a88a63 48%, #4a3426 100%); --cap: rgba(247, 241, 230, .9); }
/* Neutralni hero: topla tama bez vatre i efekata — lako se zamenjuje pravom fotografijom */
.tone-hero  { --shot-bg: radial-gradient(70% 60% at 72% 58%, rgba(122, 80, 56, .5), rgba(122, 80, 56, 0) 72%), linear-gradient(160deg, #3a2a22 0%, #261b16 55%, #17110e 100%); }

/* =========================================================================
   00 HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(247, 241, 230, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--tekst);
  border-bottom: 1px solid var(--linija-svetlo);
  transition: box-shadow .5s var(--ease);
}
.site-header.is-solid { box-shadow: 0 10px 28px -22px rgba(22, 19, 17, .55); }
.header__bar {
  height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.wordmark__name { font-family: var(--f-display); font-size: 1.75rem; letter-spacing: .1em; }
.wordmark__sub {
  font-family: var(--f-label); font-weight: 600; font-size: .6875rem;
  letter-spacing: .52em; text-transform: uppercase; color: var(--tekst-2);
  margin-top: 6px; padding-left: .1em;
}

.nav { justify-self: center; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 38px); list-style: none; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-label); font-weight: 600; font-size: .9375rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding-block: 10px; position: relative; color: var(--tekst); white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--bakar); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav__link:hover::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.i--chev { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav__trigger[aria-expanded="true"] .i--chev { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 18px; justify-self: end; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--f-label); font-weight: 500; font-size: 1rem; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.header__phone .i { color: var(--kora); }
.icon-btn { width: 44px; height: 44px; display: none; place-items: center; border-radius: 2px; }
.icon-btn .i { width: 20px; height: 20px; }
.header__call .i { color: var(--kora); }
.burger { width: 22px; height: 12px; position: relative; display: block; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 0; }
.burger span:last-child { top: 10px; }
.header__burger[aria-expanded="true"] .burger span:first-child { top: 5px; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] .burger span:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Mega meni ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--parchment); color: var(--tekst);
  border-top: 1px solid var(--linija-svetlo);
  box-shadow: 0 30px 60px -30px rgba(22, 19, 17, .55);
  animation: megaIn .45s var(--ease);
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega__inner {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 48px); padding-block: 36px 32px;
}
.mega__group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mega__label {
  font-family: var(--f-label); font-weight: 600; font-size: .75rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--tekst-2);
  padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--linija-svetlo);
}
.mega__label--copper { color: var(--bakar); border: 0; padding: 0; margin: 0; }
.mega__item {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 8px; margin-inline: -8px; text-decoration: none; border-radius: 2px;
  transition: background-color .35s var(--ease);
}
.mega__item:hover { background: var(--krem); }
.mega__thumb { width: 56px; height: 56px; border-radius: 2px; }
.mega__text { display: flex; flex-direction: column; min-width: 0; }
.mega__text strong { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1.15; }
.mega__text small { font-size: .8125rem; color: var(--tekst-2); line-height: 1.4; margin-top: 2px; }
.mega__service {
  display: grid; grid-template-rows: 150px auto; text-decoration: none;
  background: var(--ugalj); color: var(--na-tamnom); border-radius: 2px; overflow: hidden;
}
.mega__service-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.mega__service-title { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.mega__service small { color: var(--na-tamnom-2); font-size: .875rem; }
.mega__service .link-arrow { color: var(--na-tamnom); margin-top: 10px; align-self: flex-start; font-size: .8125rem; }
.mega__service:hover .shot img { transform: scale(1.04); }
.mega__foot { background: var(--lan); }
.mega__foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.mega__foot .link-arrow { border: 0; font-size: .875rem; }
.mega__ask { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; text-decoration: none; color: var(--tekst); }
.mega__ask .i { color: var(--kora); }

/* ---------- Mobilni meni ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: var(--krem); color: var(--tekst);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  overflow-y: auto; animation: megaIn .4s var(--ease);
}
.drawer__nav { display: flex; flex-direction: column; }
.drawer__row {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 60px; text-decoration: none; text-align: left;
  font-family: var(--f-display); font-size: 1.85rem; line-height: 1.1;
  border-bottom: 1px solid var(--linija-svetlo);
}
.drawer__acc[aria-expanded="true"] .i--chev { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 6px 0 14px; border-bottom: 1px solid var(--linija-svetlo); }
.drawer__sub a {
  display: flex; align-items: center; gap: 14px; min-height: 46px; text-decoration: none;
  font-size: 1.0625rem; color: var(--tekst);
}
.drawer__sub span { font-family: var(--f-label); font-size: .8125rem; letter-spacing: .14em; color: var(--kora); width: 22px; }
.tag {
  font-family: var(--f-label); font-weight: 600; font-size: .6875rem; letter-spacing: .2em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 2px;
}
.tag--copper { color: var(--kora); border: 1px solid rgba(154, 74, 35, .55); }
.drawer__foot { display: flex; flex-direction: column; gap: 14px; }
.drawer__hours { font-size: .9375rem; color: var(--tekst-2); font-variant-numeric: tabular-nums; }
.drawer__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.drawer__ctas .btn { padding: 0 12px; }

/* =========================================================================
   01 HERO
   ========================================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(520px, calc(86svh - var(--header-h)), 780px);
  display: flex; align-items: flex-end;
  background: var(--ugalj); color: var(--na-tamnom);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media.is-missing::after {
  left: auto; right: var(--gutter); bottom: auto; top: 24px;
  max-width: 340px; text-align: right;
}
.media-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
[data-media].has-video .media-video { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 19, 17, .82) 0%, rgba(22, 19, 17, .55) 38%, rgba(22, 19, 17, 0) 70%),
    linear-gradient(0deg, rgba(22, 19, 17, .7) 0%, rgba(22, 19, 17, 0) 40%);
}
.hero__content { padding-block: clamp(72px, 10vw, 128px) clamp(40px, 6vw, 72px); }
.hero__title {
  font-family: var(--f-display); font-weight: 400; font-size: var(--t-hero);
  line-height: .96; letter-spacing: -.015em;
  display: flex; flex-direction: column; max-width: 12em;
}
.hero__line { display: block; animation: rise 1s var(--ease) both; }
.hero__line--accent { font-style: italic; color: #e9c9a0; animation-delay: .1s; }
.hero__lead {
  margin-top: 22px; max-width: 30em;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--na-tamnom-2);
  animation: rise 1s var(--ease) .2s both;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise 1s var(--ease) .3s both; }
.hero__status { margin-top: 26px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   02 BRZI IZBOR
   ========================================================================= */
.izbor { background: var(--krem); border-bottom: 1px solid var(--linija-svetlo); }
.izbor__list {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px; background: var(--linija-svetlo);
  border-inline: 1px solid var(--linija-svetlo);
}
.izbor__list li { display: flex; background: var(--krem); }
.izbor__list a {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
  padding: 24px 8px 22px; text-decoration: none; text-align: center; color: var(--tekst);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.izbor__list a:hover { background: var(--parchment); color: var(--kora); }
.izbor__icon { width: 72px; height: 50px; transition: transform .5s var(--ease); }
.izbor__list a:hover .izbor__icon { transform: translateY(-2px); }
.izbor__list span {
  font-family: var(--f-label); font-weight: 600; font-size: .875rem; line-height: 1.25;
  letter-spacing: .12em; text-transform: uppercase;
}

/* =========================================================================
   SEKCIJE — zajedničko
   ========================================================================= */
.section { padding-block: var(--sec-pad); }

/* =========================================================================
   03 IZDVOJENO
   ========================================================================= */
.izdvojeno { background: var(--parchment); }
.products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.products > li { display: flex; min-width: 0; }
.product {
  display: flex; flex-direction: column; width: 100%;
  background: var(--krem); color: var(--tekst); text-decoration: none;
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--linija-svetlo);
  transition: box-shadow .5s var(--ease);
}
.product:hover { box-shadow: 0 0 0 1px rgba(30, 26, 23, .28), 0 22px 36px -28px rgba(22, 19, 17, .55); }
.product__media { aspect-ratio: 1 / 1; width: 100%; }
.product:hover .product__media img { transform: scale(1.04); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.product__cat { font-family: var(--f-label); font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--kora); }
.product__name { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); line-height: 1.12; margin-top: 6px; }
.product__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: auto; padding-top: 14px; }
.product__price { font-size: .875rem; color: var(--tekst-2); }

/* Ove nedelje */
.week {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 32px;
  margin-top: clamp(28px, 3vw, 40px); padding: 18px 0;
  border-top: 1px solid var(--linija-svetlo); border-bottom: 1px solid var(--linija-svetlo);
}
.week__label {
  font-family: var(--f-label); font-weight: 600; font-size: .8125rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--maslina);
}
.week__list { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; font-size: var(--t-small); }
.week__list li { position: relative; }
.week__list li + li::before { content: "·"; position: absolute; left: -14px; color: var(--tekst-2); }
.week__end { display: flex; align-items: center; gap: 18px; }
.week__date { font-size: .8125rem; color: var(--tekst-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* =========================================================================
   04 KATEGORIJE — veliki i manji blokovi
   ========================================================================= */
.kategorije { background: var(--krem); }
.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(200px, 17.5vw, 250px);
  gap: clamp(10px, 1.2vw, 16px);
  grid-template-areas:
    "meso meso pile rost"
    "meso meso prer prer"
    "pec  pec  mang mang"
    "pec  pec  spec sez";
}
.bento > li { display: flex; min-width: 0; }
.bento__meso { grid-area: meso; }
.bento__pile { grid-area: pile; }
.bento__rost { grid-area: rost; }
.bento__prer { grid-area: prer; }
.bento__pec  { grid-area: pec; }
.bento__mang { grid-area: mang; }
.bento__spec { grid-area: spec; }
.bento__sez  { grid-area: sez; }

.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; width: 100%;
  color: var(--na-tamnom); text-decoration: none; border-radius: 2px;
  background: var(--gar);
}
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media.is-missing::after { left: 14px; right: 14px; bottom: auto; top: 52px; max-width: 420px; font-size: .8125rem; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(22, 19, 17, .78) 0%, rgba(22, 19, 17, .25) 45%, rgba(22, 19, 17, 0) 70%);
}
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__tags { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile__tags .avail {
  color: var(--na-tamnom); background: rgba(22, 19, 17, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: 2px;
}
.tile__badge {
  font-family: var(--f-label); font-weight: 600; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ugalj); background: var(--bakar); padding: 6px 10px; border-radius: 2px;
}
.tile__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(18px, 2vw, 28px); }
.tile__title { font-family: var(--f-display); font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: 1.04; text-wrap: balance; }
.tile--xl .tile__title { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.tile__sub { margin-top: -6px; font-family: var(--f-label); font-weight: 500; font-size: .9375rem; letter-spacing: .14em; text-transform: uppercase; color: var(--na-tamnom-2); }
.tile__kicker { margin-bottom: -6px; font-family: var(--f-label); font-weight: 600; font-size: .8125rem; letter-spacing: .22em; text-transform: uppercase; color: #e9c9a0; }
.tile:hover .btn--cream { background: var(--lan); }

/* Naglašene kategorije */
.tile--pecenje { border-top: 3px solid var(--bakar); }
.tile--mangulica::before {
  background: linear-gradient(0deg, rgba(63, 17, 20, .92) 0%, rgba(63, 17, 20, .45) 50%, rgba(63, 17, 20, .1) 80%);
}

.kategorije__more { margin-top: clamp(28px, 3vw, 40px); text-align: center; }

/* =========================================================================
   05 ZAŠTO GROMES
   ========================================================================= */
.zanat { background: var(--lan); }
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.pillar__emblem {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(154, 74, 35, .5); color: var(--kora);
  box-shadow: inset 0 0 0 5px var(--lan), inset 0 0 0 6px rgba(154, 74, 35, .28);
  margin-bottom: 18px;
}
.pillar__num { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.pillar__icon { width: 44px; height: 44px; }
.pillar__icon--wide { width: 54px; height: 38px; }
.pillar__title { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); line-height: 1.15; text-wrap: balance; }
.pillar__text { margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--tekst-2); max-width: 22em; }

.awards {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch;
  margin-top: clamp(40px, 4.5vw, 64px); background: var(--krem);
  border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--linija-svetlo);
}
.awards__media { aspect-ratio: 16 / 9; width: 100%; }
.awards__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 56px); }
.awards__text { font-family: var(--f-display); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }

/* =========================================================================
   06 SVETA
   ========================================================================= */
.sveta { background: var(--parchment); }
.sveta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sveta__media { aspect-ratio: 4 / 5; width: 100%; border-radius: 2px; }
.sveta__body { min-width: 0; max-width: 480px; }
.sveta__text { margin-top: 20px; margin-bottom: 28px; font-size: 1.125rem; color: var(--tekst-2); }

/* =========================================================================
   07 PEČENJE
   ========================================================================= */
.pecenje { background: var(--ugalj); color: var(--na-tamnom); }
.pecenje__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pecenje__media { aspect-ratio: 4 / 3; width: 100%; border-radius: 2px; }
.pecenje__body { min-width: 0; }
.pecenje__lead { margin-top: 18px; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); color: var(--na-tamnom-2); max-width: 30em; }
.roast { display: grid; margin-top: 28px; border-top: 1px solid var(--linija-tamno); }
.roast__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-block: 12px; border-bottom: 1px solid var(--linija-tamno);
}
.roast dt { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.15; }
.roast dd {
  font-family: var(--f-label); font-weight: 500; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--na-tamnom-2); text-align: right;
}
.roast__row--rare dt { color: var(--na-tamnom-2); font-size: 1.15rem; }
.pecenje__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* =========================================================================
   08 SLAVE
   ========================================================================= */
.slave { background: var(--krem); border-bottom: 1px solid var(--linija-svetlo); }
.slave__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-block: clamp(36px, 4vw, 52px); }
.slave__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; }
.slave__text p { margin-top: 6px; color: var(--tekst-2); }

/* =========================================================================
   09 FOOTER
   ========================================================================= */
.site-footer { background: var(--lan); color: var(--tekst); padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--linija-svetlo);
}
.footer__tag { margin-top: 14px; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--tekst-2); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.footer__label {
  font-family: var(--f-label); font-weight: 600; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--kora); margin-bottom: 4px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; }
.footer__links a, .footer__link { text-decoration: none; }
.footer__links a:hover, .footer__link:hover { color: var(--kora); }
.footer__phone { font-family: var(--f-display); font-size: clamp(1.4rem, 1.8vw, 1.65rem); line-height: 1.1; text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.footer__link { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; }
.footer__address { font-size: .9375rem; line-height: 1.5; }
.footer__note { font-size: .8125rem; color: var(--tekst-2); line-height: 1.45; }
.hours { border-collapse: collapse; width: 100%; max-width: 280px; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 4px 0; text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--tekst-2); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--tekst); }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social__link {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--linija-svetlo); color: var(--tekst); transition: border-color .35s var(--ease), color .35s var(--ease);
}
.social__link:hover { border-color: var(--kora); color: var(--kora); }
.social__link .i { width: 18px; height: 18px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: .8125rem; color: var(--tekst-2); }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: var(--kora); }

/* =========================================================================
   MOBILNA DONJA TRAKA
   ========================================================================= */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: rgba(22, 19, 17, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linija-tamno);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(105%); transition: transform .5s var(--ease);
}
.callbar.is-visible { transform: none; }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px;
  font-family: var(--f-label); font-weight: 600; font-size: .9375rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--na-tamnom); text-decoration: none;
}
.callbar a + a { border-left: 1px solid var(--linija-tamno); }
.callbar a:first-child { background: var(--krem); color: var(--ugalj); }

/* =========================================================================
   PROTOTIP — prekidač i obaveštenja
   ========================================================================= */
.proto-toggle {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: none; align-items: center; gap: 8px;
  font-family: var(--f-label); font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(22, 19, 17, .88); color: var(--na-tamnom); border: 1px solid var(--linija-tamno);
}
.proto-toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--bakar); }
.proto-toggle[aria-pressed="true"]::before { background: var(--bakar); }
html.is-prototype .proto-toggle { display: inline-flex; }
html.show-placeholders [data-placeholder] { outline: 1.5px dashed var(--bakar); outline-offset: 3px; background-color: rgba(194, 103, 46, .1); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 460px); padding: 14px 18px; border-radius: 2px;
  background: var(--ugalj); color: var(--na-tamnom); font-size: .9375rem; line-height: 1.45;
  box-shadow: 0 18px 40px -16px rgba(22, 19, 17, .6);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .header__phone { width: 40px; height: 40px; justify-content: center; }
  .mega__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__service { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 240px minmax(0, 1fr); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 40px; }
  .pillar { flex: 0 1 calc((100% - 2 * clamp(20px, 2.4vw, 36px)) / 3); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header__phone, .header__cta { display: none; }
  .icon-btn { display: grid; }
  .header__bar { grid-template-columns: 1fr auto; }
  .header__actions { gap: 4px; }
  .wordmark__name { font-size: 1.45rem; }
  .wordmark__sub { font-size: .625rem; margin-top: 5px; }

  .hero { min-height: clamp(520px, calc(88svh - var(--header-h)), 720px); }
  .hero__scrim {
    background: linear-gradient(0deg, rgba(22, 19, 17, .92) 0%, rgba(22, 19, 17, .62) 45%, rgba(22, 19, 17, .1) 78%);
  }
  .hero__media.is-missing::after { left: var(--gutter); right: var(--gutter); max-width: none; text-align: left; font-size: .8125rem; }

  .izbor .wrap { padding-inline: 0; }
  .izbor__list { grid-template-columns: repeat(4, minmax(0, 1fr)); border-inline: 0; }
  .izbor__list a { padding: 18px 6px 16px; gap: 8px; }
  .izbor__icon { width: 60px; height: 42px; }
  .izbor__list span { font-size: .8125rem; letter-spacing: .1em; }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-template-rows:
      clamp(280px, 72vw, 440px) clamp(190px, 46vw, 300px) clamp(190px, 46vw, 280px)
      clamp(280px, 72vw, 440px) clamp(220px, 54vw, 320px) clamp(190px, 46vw, 300px);
    grid-template-areas:
      "meso meso"
      "pile rost"
      "prer prer"
      "pec  pec"
      "mang mang"
      "spec sez";
  }

  .week { grid-template-columns: 1fr; }
  .week__list { flex-direction: column; gap: 4px; }
  .week__list li + li::before { display: none; }
  .week__end { justify-content: space-between; flex-wrap: wrap; }

  .sveta__grid, .pecenje__grid { grid-template-columns: 1fr; }
  .sveta__media { aspect-ratio: 4 / 4.4; }
  .awards { grid-template-columns: 1fr; }

  .callbar { display: grid; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .proto-toggle { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .callbar.is-visible ~ .proto-toggle { opacity: 1; pointer-events: auto; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 700px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product__body { padding: 12px 12px 14px; }
  .product__name { font-size: 1.2rem; }
  .pillars { display: grid; grid-template-columns: 1fr; row-gap: 0; border-top: 1px solid var(--linija-svetlo); }
  .pillar {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; align-items: start;
    text-align: left; padding-block: 18px; border-bottom: 1px solid var(--linija-svetlo);
  }
  .pillar__emblem { grid-row: span 2; width: 64px; height: 64px; margin: 0; }
  .pillar__num { font-size: 1.9rem; }
  .pillar__icon { width: 32px; height: 32px; }
  .pillar__icon--wide { width: 40px; height: 28px; }
  .pillar__text { margin-top: 4px; }
}

@media (max-width: 560px) {
  :root { --sec-pad: 60px; }
  .sec-head { text-align: left; }
  .eyebrow--rule::before { display: none; }
  .izbor__list a { padding-inline: 2px; }
  .izbor__list span { font-size: .75rem; letter-spacing: .05em; }
  .tile__tags { top: 10px; left: 10px; }
  .tile__tags .avail, .tile__badge { font-size: .6875rem; padding: 5px 8px; }
  .tile__body { gap: 10px; padding: 16px; }
  .tile__title { font-size: 1.35rem; }
  .tile--xl .tile__title { font-size: 2.2rem; }
  .tile .btn--sm { min-height: 36px; padding: 0 12px; font-size: .75rem; }
  .tile__media.is-missing::after { display: none; }
  .shot.is-missing::after { font-size: .75rem; left: 10px; right: 10px; bottom: 10px; padding-top: 6px; }
  .roast dt { font-size: 1.15rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  .hero__ctas .btn, .pecenje__ctas .btn { flex: 1 1 100%; }
  .slave .btn { width: 100%; }
}

/* =========================================================================
   SMANJENO KRETANJE
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
