/* ============================================================
   Protein House — styles.css
   Tamni premium: tokeni ispod, premium.css dodaje slider, dubinu i detalje.
   ============================================================ */

@font-face { font-family: "Inter"; src: url("assets/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/PlayfairDisplay-PH.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/PlayfairDisplay-Italic-PH.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

/* ---------------------------------------------------------------- tokeni
   Tamni premium (2026-12-05): duboka tamnozelena podloga, topla bijela tinta,
   svijetla zelena za makroe, narandžasta za akciju. */
:root {
  color-scheme: dark;

  /* podloge (od najtamnije) */
  --bg: #0A140F;
  --surface-1: #0E1B14;
  --surface-2: #14251C;
  --surface-3: #1C3227;
  --paper: #13231A;          /* kartice, etikete, sheetovi */

  /* tinta */
  --ink: #F3EEE3;
  --ink-hover: #FFFFFF;
  --muted: #A2B2A7;
  --dark: #0A140F;           /* tekst na svijetlim dugmadima */

  /* ivice */
  --line: rgba(243, 238, 227, .12);
  --line-soft: rgba(243, 238, 227, .07);
  --control: rgba(243, 238, 227, .30);

  /* zelena = identitet i makroi */
  --green: #6CCB93;
  --green-deep: #3E9B66;
  --green-tint: rgba(108, 203, 147, .14);

  /* narandžasta = akcija */
  --orange: #FF7A1F;
  --orange-hover: #FF8E40;
  --on-orange: #170B03;

  /* polja */
  --field-green: #0F2419;
  --on-field: #F3EEE3;
  --on-field-soft: #B7C7BC;
  --field-ink: #060D09;
  --on-ink: #F3EEE3;
  --on-ink-soft: #93A398;

  /* statusi */
  --ok-bg: rgba(108, 203, 147, .14); --ok-ink: #8FDBAE; --ok-dot: #6CCB93;
  --neutral-bg: rgba(243, 238, 227, .08); --neutral-ink: #C9D2CB; --neutral-dot: #93A398;

  /* fokus */
  --focus: #FFB27A;
  --focus-on-field: #FFB27A;

  /* tip */
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --step-display: clamp(2.75rem, 1.6rem + 5.6vw, 6.5rem);
  --step-head: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --step-figure: 2.5rem;
  --step-lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --step-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-small: clamp(.875rem, .85rem + .1vw, .9375rem);

  /* mreža (telefon ≤ 640) */
  --margin: 16px;
  --gutter: 12px;
  --cols: 4;
  --nav-h: 64px;
  --page-max: 1760px;
  /* lijeva/desna margina sadržaja; % se računa u elementu koji je koristi */
  --pad: max(var(--margin), (100% - var(--page-max)) / 2);

  /* razmaci */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --space-24: 96px; --space-32: 128px; --space-40: 160px;
  --section-gap: clamp(4.5rem, 2rem + 8vw, 10rem);

  /* radijusi */
  --r-card: 20px;
  --r-control: 12px;
  --r-pill: 999px;
  --r-0: 0;

  /* sjena samo za ono što lebdi */
  --shadow-float: 0 30px 80px rgba(0, 0, 0, .55), 0 2px 10px rgba(0, 0, 0, .35);
  --scrim: rgba(3, 7, 5, .72);

  /* pokret */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
  --dur-enter: 560ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Aritmetika mreže:
   1440: 1440 − 2 × 32 = 1376 = 12 × 96,33 + 11 × 20
    820:  820 − 2 × 24 =  772 = 12 × 49,67 + 11 × 16
    390:  390 − 2 × 16 =  358 =  4 × 80,5  +  3 × 12 */
@media (min-width: 641px) { :root { --margin: 24px; --gutter: 16px; --cols: 12; --nav-h: 72px; } }
@media (min-width: 1101px) { :root { --margin: 32px; --gutter: 20px; } }

/* ------------------------------------------------------------------ baza */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--step-body);
  line-height: 1.55;
  font-weight: 400;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--on-orange); }

a {
  color: inherit;
  text-decoration-line: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: .07em;
  transition: text-decoration-thickness var(--dur-fast) var(--ease);
}
a:hover { text-decoration-thickness: .12em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-field :focus-visible, .on-ink :focus-visible { outline-color: var(--focus-on-field); }

.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--margin); top: -200px; z-index: 300;
  display: inline-flex; align-items: center; height: 48px; padding: 0 20px;
  background: var(--ink); color: var(--dark); border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--pad); }
.grid12 { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }

/* ------------------------------------------------------------ tipografija */
.display {
  font-size: var(--step-display); line-height: .95; letter-spacing: -.03em; font-weight: 700;
  text-wrap: balance; hyphens: none; max-width: 14ch;
}
.section-title {
  font-size: var(--step-head); line-height: 1; letter-spacing: -.025em; font-weight: 700;
  text-wrap: balance; hyphens: none; max-width: 18ch;
}
.lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -.01em; max-width: 40ch; text-wrap: balance; }
.menu__lead { max-width: 52ch; }
.prose p { max-width: 62ch; text-wrap: pretty; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }

/* ----------------------------------------------------------------- ikone */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }
.ico--16 { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- dugmad */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-pill);
  font: 600 17px/1 var(--font); white-space: nowrap; text-decoration: none;
  background: var(--surface-2); color: var(--ink); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--l { height: 56px; padding: 0 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--secondary { background: var(--surface-2); color: var(--ink); }
.btn--secondary:hover { background: var(--surface-3); }
.btn--ink { background: var(--ink); color: var(--dark); }
.btn--ink:hover { background: var(--ink-hover); }
.btn--on-field { background: var(--paper); color: var(--ink); }
.btn--on-field:hover { background: var(--surface-1); }
.btn--text {
  background: none; color: inherit; padding: 0; border-radius: 4px;
  text-decoration-line: underline; text-underline-offset: .18em; text-decoration-thickness: .07em;
}
.btn--text:hover { background: none; text-decoration-thickness: .12em; }

/* -------------------------------------------------------------- pilule */
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); font: 600 13px/1 var(--font); white-space: nowrap; flex: none;
  background: var(--neutral-bg); color: var(--neutral-ink);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neutral-dot); flex: none; }
.pill--ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill--ok::before { background: var(--ok-dot); }

/* ------------------------------------------------- prekidač jezika (pilula) */
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; min-width: 44px; padding: 0; border: 0; background: none; border-radius: var(--r-pill);
  font: 600 14px/1 var(--font); color: var(--ink); flex: none;
}
.lang__pill {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border-radius: var(--r-pill); background: var(--surface-2);
  transition: background-color var(--dur-fast) var(--ease);
}
.lang:hover .lang__pill { background: var(--surface-3); }
.lang--on-ink { color: var(--ink); }
.lang--on-ink .lang__pill { background: var(--ink-hover); }
.lang--on-ink:hover .lang__pill { background: var(--green-deep); }

/* segmentirana kontrola jezika (u meniju) */
.seg {
  display: flex; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--surface-2);
}
.seg button {
  flex: 1 1 0; height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r-pill);
  background: none; font: 400 15px/1 var(--font); color: var(--ink); white-space: nowrap;
}
.seg button[aria-pressed="true"] { background: var(--paper); border-color: var(--line); font-weight: 600; }

/* ==================================================================== NAV */
.nav { background: var(--paper); position: relative; z-index: 20; }
.nav__bar { height: var(--nav-h); display: flex; align-items: center; gap: 8px; }
.nav__brand { display: flex; align-items: center; flex: none; margin-right: auto; border-radius: 6px; }
.nav__brand img { width: 184px; height: 44px; }
.nav__links { display: flex; align-items: center; gap: 32px; margin-left: 48px; }
.nav__links a {
  font: 600 16px/1.2 var(--font); color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 12px 0; text-underline-offset: 6px;
}
.nav__links a:hover { text-decoration-line: underline; text-decoration-thickness: 1px; }
.nav__links a[aria-current="page"] { text-decoration-line: underline; text-decoration-thickness: 2px; }
.nav__bar > .lang { margin-left: 24px; }
.nav__login {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; margin-left: 8px;
  border-radius: var(--r-pill); font: 600 16px/1 var(--font); color: var(--ink); text-decoration: none;
  white-space: nowrap; flex: none; transition: background-color var(--dur-fast) var(--ease);
}
.nav__login:hover { background: var(--surface-2); }
.nav__menu { display: none; height: 44px; padding: 0 12px; }

@media (max-width: 1024px) {
  .nav__brand img { width: 168px; height: 40px; }
  .nav__links, .nav__bar > .lang { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__login { margin-left: 0; }
}
@media (max-width: 400px) {
  .nav__menu, .sheet__close { padding: 0 10px; gap: 6px; font-size: 16px; }
  .nav__login { width: 44px; padding: 0; justify-content: center; }
  .nav__login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ------------------------------------------------- mobilni meni (sheet) */
.sheet {
  position: fixed; inset: 0; z-index: 200; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in var(--dur-base) var(--ease); }
.sheet::backdrop { background: transparent; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sheet__bar { height: var(--nav-h); display: flex; align-items: center; gap: 8px; flex: none; }
.sheet__bar .nav__brand img { width: 168px; height: 40px; }
.sheet__close { height: 44px; padding: 0 12px; }
.sheet__body { display: flex; flex-direction: column; flex: 1 0 auto; padding-top: 16px; padding-bottom: 32px; }
.sheet__links { display: grid; gap: 4px; }
.sheet__links a {
  display: flex; align-items: center; height: 56px; font: 600 24px/1 var(--font);
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.sheet__links a:hover { text-decoration-line: underline; }
.sheet__actions { display: grid; gap: 12px; margin-top: 32px; }
.sheet__actions:empty { display: none; }
.sheet__lang { margin-top: 32px; max-width: 420px; }
.sheet__foot { margin-top: auto; padding-top: 32px; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ================================================================== HERO */
.hero {
  position: relative;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter);
}
.hero__text { grid-column: 1 / -1; display: flex; flex-direction: column; }
.hero__title { color: var(--ink); }
.hero__lead { margin-top: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.hero__cta .btn--text { height: 56px; font-size: 18px; }
.hero__mpline { font: 600 20px/1.3 var(--font); color: var(--ink); text-wrap: balance; max-width: 46ch; }
.hero__mp { color: inherit; }
.hero__facts { font-size: 17px; line-height: 1.5; color: var(--ink); }
.hero__facts p { white-space: nowrap; }
.hero__field { grid-column: 1 / -1; color: var(--on-field); }
.hero__note { font-size: 15px; line-height: 1.45; color: var(--on-field-soft); }
.hero__noteWide { display: none; font: 600 20px/1.35 var(--font); color: var(--on-field); text-wrap: pretty; }
.hero__facts--field { display: none; }

/* telefon */
@media (max-width: 640px) {
  .hero__text { padding-top: 24px; padding-bottom: 32px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__cta .btn--primary { width: 100%; }
  .hero__cta .btn--text { align-self: flex-start; height: 44px; }
  .hero__bottom { margin-top: 24px; }
  .hero__bottom .hero__facts { display: none; }
  .hero__bottom:not(:has(.hero__mpline)) { display: none; }
  .hero__field {
    margin-inline: calc(-1 * var(--pad)); padding: 24px var(--pad) 32px;
    background: var(--field-green);
  }
  .hero__note { margin-top: 16px; }
  .hero__facts--field { display: block; margin-top: 16px; font-size: 15px; color: var(--on-field); }
  .hero__facts--field p { white-space: normal; }
}
/* tablet: hero se slaže vertikalno */
@media (min-width: 641px) and (max-width: 1100px) {
  .hero__text { padding-top: 48px; padding-bottom: 48px; }
  .hero__lead { margin-top: 24px; }
  .hero__cta { margin-top: 32px; }
  .hero__bottom { margin-top: 32px; display: grid; gap: 24px; }
  .hero__facts { display: flex; flex-wrap: wrap; column-gap: 32px; }
  .hero__field {
    margin-inline: calc(-1 * var(--pad)); padding: 48px var(--pad);
    background: var(--field-green);
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start;
  }
  .hero__field .today { grid-column: 1 / 8; }
  .hero__note { display: none; }
  .hero__noteWide { display: block; grid-column: 8 / -1; }
}
/* desktop: lijevo kolone 1–7 bijelo, desno od kolone 8 do ivice ekrana zeleno polje */
@media (min-width: 1101px) {
  .hero { min-height: max(780px, min(100svh - var(--nav-h), 900px)); }
  .hero::before {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0;
    left: calc(var(--pad) + 7 * ((100% - 2 * var(--pad) - 11 * var(--gutter)) / 12 + var(--gutter)));
    background: var(--field-green);
  }
  .hero__text {
    grid-column: 1 / 8; display: grid; grid-template-rows: auto 1fr auto;
    padding: 96px 0 48px;
  }
  .hero__lead { margin-top: 32px; max-width: 34ch; }
  .hero__cta { margin-top: 40px; }
  .hero__bottom { grid-row: 3; display: grid; gap: 24px; }
  .hero__field { grid-column: 8 / -1; position: relative; padding: 48px 0 52px 48px; }
  .hero__field .today { width: min(432px, 100%); }
  .hero__note { margin-top: 16px; }
}

/* ---------------------------------------------- etiketa dana (hero) */
.today {
  background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: 12px;
  display: flex; flex-direction: column; width: 100%; max-width: 432px;
}
.today__media {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-control); overflow: hidden;
  background: var(--surface-2);
}
.today__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.today__body { padding: 12px 8px 4px; display: flex; flex-direction: column; }
.today__name {
  font: 600 24px/29px var(--font);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
.today__head { min-height: 82px; } /* 2 reda imena + kategorija: zamjena jela ne pomjera brojeve */
.today__cat {
  margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.today__protein {
  margin-top: 16px; display: flex; align-items: baseline; gap: 10px; color: var(--green); white-space: nowrap;
}
.today__protein b { font-size: var(--step-display); line-height: .9; font-weight: 700; letter-spacing: -.03em; }
.today__protein span { font: 600 20px/1 var(--font); letter-spacing: 0; }
.today__minor {
  margin-top: 16px; display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto;
  column-gap: 32px; align-items: end;
}
.today__minor dd { grid-row: 1; font: 700 24px/1 var(--font); white-space: nowrap; }
.today__minor dt { grid-row: 2; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.today__minor .today__price { grid-row: 1; grid-column: 3; justify-self: end; font: 600 20px/1 var(--font); white-space: nowrap; }
.today__foot { margin-top: 16px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.today__foot .btn--text { height: 48px; margin-left: auto; }
.today__swap { transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.today.is-out .today__swap { opacity: 0; transform: translateY(-8px); }
.today.is-in .today__swap { animation: today-in var(--dur-base) var(--ease); }
.today.is-in .today__media img, .js-motion .today__media img.is-first { animation: today-photo var(--dur-enter) var(--ease); }
@keyframes today-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes today-photo { from { transform: scale(1.04); } to { transform: none; } }
@media (max-width: 640px) {
  .today { max-width: none; }
  .today__name { font-size: 20px; line-height: 24px; }
  .today__head { min-height: 72px; }
  .today__minor { column-gap: 24px; }
  .today__minor dd { font-size: 20px; }
  .today__minor .today__price { font-size: 17px; }
}

/* ======================================================= JELOVNIK U BROJEVIMA */
.numbers { padding-top: 96px; padding-bottom: var(--section-gap); }
.numbers__inner { row-gap: 32px; }
.numbers__title { grid-column: 1 / -1; }
.numbers__list {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px;
}
.numbers__item { display: grid; grid-template-rows: 64px auto; align-content: start; }
.numbers__value {
  align-self: end; font: 700 var(--step-head)/1 var(--font); letter-spacing: -.02em; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
.numbers__value--green { color: var(--green); }
.numbers__label { margin-top: 8px; font-size: 17px; line-height: 26px; min-height: 78px; max-width: 24ch; }
.numbers__link { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 1101px) {
  .numbers__title { grid-column: 1 / 5; }
  .numbers__list { grid-column: 5 / -1; }
  .numbers__link { grid-column: 5 / -1; margin-top: -8px; }
}
@media (max-width: 760px) {
  .numbers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .numbers { padding-top: 72px; }
  .numbers__inner { row-gap: 24px; }
  .numbers__item { grid-template-rows: 44px auto; }
  .numbers__value { font-size: 40px; }
  .numbers__label { min-height: 78px; }
}

/* ============================================================ MEAL PREP */
.mealprep { background: var(--field-green); color: var(--on-field); padding-block: var(--section-gap); }
.mealprep__inner { row-gap: 0; }
.mealprep__head { grid-column: 1 / -1; }
.mealprep__head .lead { margin-top: 24px; color: var(--on-field); }
.pickup { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; }
.pickup__time { display: block; font: 700 24px/1.2 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.pickup__text { display: block; margin-top: 2px; font-size: 17px; line-height: 1.45; color: var(--on-field-soft); }
.packages {
  grid-column: 1 / -1; margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch;
}
.package {
  background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: 24px;
  display: flex; flex-direction: column; height: 100%;
}
.package__info { display: flex; flex-direction: column; }
.package__name { font: 600 20px/1.2 var(--font); }
.package__figure { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.package__figure b { font: 700 var(--step-figure)/1 var(--font); letter-spacing: -.02em; color: var(--green); white-space: nowrap; }
.package__figure span { font-size: 17px; color: var(--muted); white-space: nowrap; }
.package__lead { margin-top: 12px; font-size: 17px; line-height: 26px; min-height: 52px; }
.package__meals { margin-top: 8px; font-size: 15px; color: var(--muted); }
.package__plan { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; }
.package__durs { display: grid; gap: 8px; }
.package__dur {
  height: 56px; padding: 0 12px 0 16px; border-radius: var(--r-control); background: var(--surface-1);
  display: grid; grid-template-columns: 1fr auto 20px; align-items: center; column-gap: 12px;
  color: var(--ink); text-decoration: none; transition: background-color var(--dur-fast, 120ms) ease;
}
/* Red trajanja vodi pravo na narudžbu s tim ciljem i trajanjem. */
.package__dur:hover { background: var(--surface-2); }
.package__dur:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.package__chev { width: 20px; height: 20px; color: var(--ink); }
.package__dur b { font: 600 17px/1 var(--font); white-space: nowrap; }
.package__dur span { font-size: 15px; color: var(--muted); white-space: nowrap; }
.package__choose { margin-top: 16px; align-self: flex-start; height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: 17px; color: var(--ink); white-space: nowrap; }
.how { grid-column: 1 / -1; margin-top: 96px; }
.how__title { font: 700 24px/1.2 var(--font); }
.steps { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gutter); }
.step__title { font: 600 20px/1.25 var(--font); color: var(--on-field); }
/* Jela slaže kuhinja (ne kupac): jedna rečenica ispod koraka. */
.how__note { margin-top: 32px; max-width: 62ch; font-size: 17px; line-height: 1.5; color: var(--on-field-soft); text-wrap: pretty; }
.step__text { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--on-field-soft); text-wrap: pretty; }
.mealprep__actions { grid-column: 1 / -1; margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.mealprep__actions .btn--text { height: 44px; color: var(--on-field); }

@media (min-width: 1101px) {
  .mealprep__head { grid-column: 1 / 7; }
  .pickup { grid-column: 8 / -1; grid-row: 1; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .pickup { margin-top: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
  .pickup__time { font-size: 20px; }
  .packages { grid-template-columns: minmax(0, 1fr); }
  .package { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .package__plan { margin-top: 0; padding-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pickup { margin-top: 32px; }
  .packages { margin-top: 48px; grid-template-columns: minmax(0, 1fr); }
  .package { padding: 20px; }
  .package__lead { min-height: 0; }
  .how { margin-top: 64px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mealprep__actions { margin-top: 48px; flex-direction: column; align-items: stretch; gap: 16px; }
  .mealprep__actions .btn--on-field { width: 100%; }
  .mealprep__actions .btn--text { align-self: flex-start; }
}

/* =============================================================== JELOVNIK */
.menu { background: var(--surface-1); padding-block: var(--section-gap); }
.menu__head { row-gap: 24px; align-items: start; }
.menu__title { grid-column: 1 / -1; }
.menu__lead { grid-column: 1 / -1; }
.menu__qr { grid-column: 1 / -1; justify-self: start; height: 44px; display: inline-flex; align-items: center; font-weight: 600; white-space: nowrap; }
@media (min-width: 1101px) {
  .menu__title { grid-column: 1 / 9; }
  .menu__lead { grid-column: 1 / 9; grid-row: 2; }
  .menu__qr { grid-column: 9 / -1; grid-row: 1; justify-self: end; }
}
.menu__body { margin-top: 48px; }
@media (max-width: 640px) { .menu__body { margin-top: 32px; } }

/* --------------------------------------------------------- filter traka */
.filters { display: grid; grid-template-columns: minmax(0, 480px) 1fr 240px; grid-template-areas: "search . sort" "chips chips chips" "toggles toggles toggles" "count count count"; gap: 16px; align-items: center; }
.filters__phone { display: none; }
.search {
  grid-area: search; position: relative; display: flex; align-items: center; height: 48px;
  background: var(--paper); border: 1px solid var(--control); border-radius: var(--r-control);
  transition: border-color var(--dur-fast) var(--ease);
}
.search:hover { border-color: var(--ink); }
.search:focus-within { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 2px; }
.search > .ico { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 4px 0 44px;
  font-size: 16px; color: var(--ink); outline: none; border-radius: var(--r-control);
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear {
  flex: none; width: 44px; height: 44px; margin-right: 2px; border: 0; background: none; border-radius: var(--r-pill);
  display: grid; place-items: center; color: var(--ink);
}
.search__clear::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); z-index: 0; }
.search__clear { position: relative; }
.search__clear .ico { position: relative; z-index: 1; width: 16px; height: 16px; }
.select {
  position: relative; grid-area: sort; display: block;
}
.select select {
  appearance: none; width: 100%; height: 48px; padding: 0 44px 0 14px;
  border: 1px solid var(--control); border-radius: var(--r-control); background: var(--paper);
  font-size: 16px; color: var(--ink);
}
.select select:hover { border-color: var(--ink); }
.select select:focus-visible { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 2px; }
.select .ico { position: absolute; right: 14px; top: 14px; pointer-events: none; }
.chips { grid-area: chips; display: flex; flex-wrap: wrap; gap: 8px; }
.toggles { grid-area: toggles; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  /* 13 px: na 1440 sve kategorije stanu u jedan red (nijedan čip ne ostaje sam u drugom). */
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px; border: 0;
  border-radius: var(--r-pill); background: var(--paper); color: var(--ink);
  font: 600 15px/1 var(--font); white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease);
}
.chip:hover { background: var(--surface-3); }
.chip__n { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums lining-nums; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--dark); }
.chip[aria-pressed="true"] .chip__n { color: var(--on-ink-soft); }
.chip .ico { display: none; }
.chip[aria-pressed="true"] .ico { display: block; }
.filters__count { grid-area: count; font-size: 15px; color: var(--muted); }
.cbadge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--r-pill); background: var(--ink); color: var(--dark);
  font: 700 12px/1 var(--font); font-variant-numeric: tabular-nums lining-nums;
}

@media (max-width: 640px) {
  .filters { grid-template-columns: minmax(0, 1fr); grid-template-areas: "phone" "search" "count"; gap: 16px; }
  .filters .select, .chips, .toggles { display: none; }
  .filters__phone { grid-area: phone; display: flex; gap: 12px; }
  .filters__phone .btn { flex: 1 1 auto; min-width: 0; padding: 0 14px; gap: 6px; font-size: 16px; }
  .filters__phone .btn + .btn { flex: none; }
  .filters__phone .btn > span:first-child { overflow: hidden; text-overflow: ellipsis; }
  .search input { font-size: 16px; }
}

/* ------------------------------------------------------- etikete jela */
.list { margin-top: 24px; }
.labels {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--gutter); align-items: stretch;
}
.label {
  position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: 12px;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: "media" "name" "cat" "macros" "foot";
  height: 100%;
}
.label__media {
  grid-area: media; position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-control);
  overflow: hidden; background: var(--surface-2);
}
.label__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transition: transform var(--dur-slow) var(--ease);
}
.label__big {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: baseline; gap: 8px; color: var(--green); white-space: nowrap;
}
.label__big b { font: 700 64px/.9 var(--font); letter-spacing: -.03em; }
.label__big span { font: 600 17px/1 var(--font); }
.label__big--cat { color: var(--ink); }
.label__big--cat b { font: 600 24px/1.2 var(--font); letter-spacing: 0; white-space: normal; }
.label__name {
  grid-area: name; margin: 12px 8px 0; font: 600 20px/24px var(--font);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
.label__cat {
  grid-area: cat; margin: 4px 8px 0; font-size: 14px; line-height: 20px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.macros {
  grid-area: macros; align-self: end; margin: 0 8px; padding-top: 16px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 44px 20px; column-gap: 12px;
}
.macros > div { display: contents; }
.macros dd { grid-row: 1; align-self: last baseline; font: 700 20px/1 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.macros dt { grid-row: 2; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.macros .m--p dd { font-size: var(--step-figure); letter-spacing: -.02em; color: var(--green); font-variant-numeric: lining-nums; }
.macros .m--p dd small { font: 600 20px/1 var(--font); letter-spacing: 0; }
.macros .m--none dd { color: var(--muted); font-weight: 400; }
.macros .m--p.m--none dd { font-size: 20px; letter-spacing: 0; }
.label--nophoto .macros { grid-template-columns: 1fr 1fr; }
.label--nophoto .macros .m--p { display: none; }
.label__foot {
  grid-area: foot; margin: 12px 8px 4px; height: 24px; display: flex; align-items: center; justify-content: flex-end; gap: 8px;
}
.label__price { font: 600 17px/1 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.label__open {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: var(--r-card); background: transparent; cursor: pointer;
}
.label__open:focus-visible { outline: none; }
.label:has(.label__open:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) {
  .label:hover .label__media img { transform: scale(1.03); }
  .label:hover .label__name { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .07em; }
}

/* telefon: red jela (§6.9) */
@media (max-width: 640px) {
  .labels { display: flex; flex-direction: column; gap: 8px; }
  /* Cijena ide ispod makroa (ne u treću kolonu), da ime ima punu širinu i
     stane u 2 reda i na 360 px (§10.4). */
  .label {
    grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto auto;
    grid-template-areas: "media name" "media macros" "media foot"; column-gap: 12px;
    min-height: 96px; align-items: start; align-content: start; height: auto;
  }
  .label__media { width: 104px; height: 69px; aspect-ratio: auto; }
  .label__big { position: static; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
  .label__big b { font-size: 24px; line-height: 1; letter-spacing: 0; }
  .label__big span { font-size: 13px; font-weight: 400; }
  .label__big .label__bigword { display: none; }
  .label__big--cat b { font-size: 14px; font-weight: 600; text-align: center; }
  .label__name { margin: 0; font-size: 17px; line-height: 22px; min-height: 0; }
  .label__cat { display: none; }
  .macros {
    margin: 6px 0 0; padding: 0; align-self: start;
    display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 2px;
  }
  .macros > div { display: inline-flex; align-items: baseline; gap: 4px; }
  .macros dd { font: 400 14px/20px var(--font); order: -1; color: var(--ink); }
  .macros dt { font-size: 14px; line-height: 20px; }
  .macros .m--c dt, .macros .m--k dt { color: var(--ink); }
  .macros .m--p dd { font: 700 17px/20px var(--font); letter-spacing: 0; }
  .macros .m--p dd small { font: inherit; }
  .label--nophoto .macros .m--p { display: inline-flex; }
  .label__foot { margin: 4px 0 0; height: auto; justify-content: flex-start; }
  .label__price { font-size: 16px; line-height: 22px; }
}

/* cjenovnik (pića, dodaci, dječiji meni) */
.plist { background: var(--paper); border-radius: var(--r-card); padding: 24px; max-width: calc(8 * (100% + var(--gutter)) / 12 - var(--gutter)); }
.plist + .plist { margin-top: var(--gutter); }
.plist__group + .plist__group { margin-top: 24px; }
.plist__title { font: 600 20px/1.2 var(--font); margin-bottom: 8px; }
.plist__row {
  min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px;
  border-bottom: 1px solid var(--line-soft); font-size: 17px;
}
.plist__row:last-child { border-bottom: 0; }
.plist__unit { color: var(--muted); font-size: 15px; white-space: nowrap; }
.plist__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 1100px) { .plist { max-width: none; } }
@media (max-width: 640px) { .plist { padding: 16px 20px; } }

.menu__more { margin-top: 32px; }
@media (max-width: 640px) { .menu__more .btn { width: 100%; } }

.empty { padding: 24px 0 8px; }
.empty__title { font: 600 20px/1.3 var(--font); }
.empty .btn--text { margin-top: 8px; height: 44px; }
.empty__suggest { margin: 32px 0 16px; font: 600 17px/1.3 var(--font); color: var(--muted); }

/* ------------------------------------------------------------- dijalozi */
dialog { color: var(--ink); }
.dish {
  width: min(880px, 100% - 2 * var(--margin)); max-width: none; max-height: 90svh;
  margin: auto; padding: 24px; border: 0; border-radius: var(--r-card);
  background: var(--paper); box-shadow: var(--shadow-float); overflow-y: auto; overscroll-behavior: contain;
}
.dish::backdrop { background: var(--scrim); }
.dish[open] { animation: sheet-in var(--dur-base) var(--ease); }
.dish__bar { position: absolute; top: 12px; right: 12px; z-index: 2; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: var(--surface-3); }
.dish__grid { display: grid; grid-template-columns: minmax(0, 432px) minmax(0, 1fr); column-gap: 32px; align-items: start; }
.dish__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-control); overflow: hidden; background: var(--surface-2); }
.dish__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.dish__media .label__big b { font-size: 96px; }
.dish__body { padding-right: 40px; }
.dish__title { font: 700 32px/1.1 var(--font); letter-spacing: -.015em; text-wrap: balance; outline: none; }
.dish__price { margin-top: 8px; font: 600 20px/1.3 var(--font); font-variant-numeric: tabular-nums lining-nums; }
/* brojevi na istoj baznoj liniji (red 1), oznake u redu 2 */
.dish__macros { margin-top: 20px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 28px; }
.dish__macros > div { display: contents; }
.dish__macros dd { grid-row: 1; align-self: last baseline; font: 700 24px/1 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.dish__macros .m--p dd { font-size: 56px; line-height: .95; letter-spacing: -.02em; color: var(--green); font-variant-numeric: lining-nums; }
.dish__macros .m--p dd small { font: 600 24px/1 var(--font); letter-spacing: 0; }
.dish__macros .m--none dd { color: var(--muted); font-weight: 400; }
.dish__macros dt { grid-row: 2; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted); }
.dish__desc { margin-top: 20px; font-size: 17px; line-height: 1.55; max-width: 62ch; }
.dish__ingh { margin-top: 20px; font: 600 17px/1.3 var(--font); }
.dish__ing { margin-top: 8px; padding-left: 20px; list-style: disc; font-size: 16px; line-height: 1.5; }
.dish__ing li + li { margin-top: 2px; }
@media (min-width: 641px) and (max-width: 940px) {
  .dish__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dish__title { font-size: 28px; }
}
@media (max-width: 640px) {
  .dish {
    width: 100%; max-height: none; height: calc(100svh - 24px); margin: auto 0 0; padding: 0 16px 32px;
    border-radius: var(--r-card) var(--r-card) 0 0;
  }
  .dish__bar { position: sticky; top: 0; right: auto; height: 60px; margin: 0 -16px; padding: 0 8px 0 16px; display: flex; align-items: center; justify-content: flex-end; background: var(--paper); }
  .dish__grid { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .dish__body { padding-right: 0; }
  .dish__title { font-size: 26px; }
  .dish__macros .m--p dd { font-size: 48px; }
  .dish__media .label__big b { font-size: 72px; }
}

/* bottom sheet (filteri, kategorije) na telefonu */
.bsheet {
  width: 100%; max-width: none; max-height: calc(100svh - 24px); margin: auto 0 0; padding: 0 0 24px;
  border: 0; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--paper); box-shadow: var(--shadow-float);
  overflow-y: auto; overscroll-behavior: contain;
}
.bsheet::backdrop { background: var(--scrim); }
.bsheet[open] { animation: sheet-in var(--dur-base) var(--ease); }
.bsheet__head {
  position: sticky; top: 0; z-index: 1; height: 64px; padding: 0 16px; background: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
}
.bsheet__title { font: 700 20px/1.2 var(--font); }
.bsheet__body { padding: 0 16px; }
.bsheet__sub { margin: 24px 0 8px; font: 600 15px/1.3 var(--font); color: var(--muted); }
.catrow {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; column-gap: 8px;
  width: 100%; height: 56px; padding: 0 8px; border: 0; border-radius: var(--r-control); background: none;
  font: 400 17px/1 var(--font); text-align: left; color: var(--ink);
}
.catrow:hover { background: var(--surface-1); }
.catrow .ico { visibility: hidden; }
.catrow[aria-pressed="true"] { font-weight: 600; }
.catrow[aria-pressed="true"] .ico { visibility: visible; }
.catrow__n { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums lining-nums; }
.switchrow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer;
  font-size: 17px;
}
.switch {
  appearance: none; position: relative; flex: none; width: 44px; height: 24px; margin: 0; border-radius: var(--r-pill);
  background: var(--surface-3); cursor: pointer; transition: background-color var(--dur-fast) var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 1px 2px rgba(15, 36, 24, .3); transition: transform var(--dur-fast) var(--ease);
}
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(20px); }
.radiorow { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 17px; cursor: pointer; }
.radiorow input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--control); border-radius: 50%;
  display: grid; place-items: center; background: var(--paper);
}
.radiorow input:checked { border: 2px solid var(--ink); }
.radiorow input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.bsheet__actions { display: grid; gap: 8px; margin-top: 24px; justify-items: center; }
.bsheet__actions .btn--ink { width: 100%; }
.bsheet__actions .btn--text { height: 44px; }

/* ================================================================ O NAMA */
.about { padding-block: var(--section-gap); }
.about__inner { row-gap: 24px; align-items: start; }
.about__title { grid-column: 1 / -1; }
.about__text { grid-column: 1 / -1; }
.about__text p { font-size: var(--step-body); line-height: 1.55; max-width: 62ch; text-wrap: pretty; }
.about__text p + p { margin-top: 16px; }
.checks { margin-top: 32px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 17px; line-height: 24px; }
.checks .ico { margin-top: 2px; color: var(--green); stroke-width: 2; }
.photo { margin: 0; }
.photo__frame { aspect-ratio: 3 / 2; border-radius: var(--r-control); overflow: hidden; background: var(--surface-2); }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo figcaption { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.about__p1 { grid-column: 1 / -1; }
.about__p2 { grid-column: 1 / -1; }
@media (min-width: 1101px) {
  .about__title { grid-column: 1 / 7; grid-row: 1; }
  /* Tekst se proteže uz obje fotografije, pa lijevo ne ostaje prazan pojas. */
  .about__text { grid-column: 1 / 7; grid-row: 2 / 4; }
  .about__p1 { grid-column: 8 / -1; grid-row: 1 / 3; max-width: 560px; }
  .about__p2 { grid-column: 8 / -1; grid-row: 3; width: min(400px, 100%); justify-self: end; margin-top: 8px; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .about__p1 { grid-column: 1 / 7; margin-top: 24px; }
  .about__p2 { grid-column: 7 / -1; margin-top: 24px; }
}
@media (max-width: 640px) {
  .about__title { grid-row: 1; }
  .about__p1 { grid-row: 2; }
  .about__text { grid-row: 3; }
  .about__p2 { grid-row: 4; width: 72%; justify-self: end; margin-top: 8px; }
}

/* ================================================================ KONTAKT */
.contact { background: var(--surface-1); padding-block: var(--section-gap); }
.contact__inner { row-gap: 40px; align-items: start; }
.contact__text { grid-column: 1 / -1; display: grid; gap: 24px; align-content: start; }
.contact__big { font: 600 var(--step-lead)/1.3 var(--font); }
.contact__big a { text-decoration-thickness: .06em; }
.contact__lines { display: grid; gap: 8px; margin-top: 24px; }
.hours { font-size: 17px; line-height: 1.5; }
.hours th { text-align: left; font-weight: 400; padding: 4px 24px 4px 0; white-space: nowrap; }
.hours td { padding: 4px 0; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.contact__now { margin-top: 12px; }
.socials { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.social {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); text-decoration: none; transition: background-color var(--dur-fast) var(--ease);
}
.social:hover { background: var(--surface-2); }
.socials__handle { font-size: 17px; margin-left: 4px; }
.contact__map { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; }
.map { width: 100%; height: 480px; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 1101px) {
  .contact__text { grid-column: 1 / 6; }
  .contact__map { grid-column: 7 / -1; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .contact__text { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .contact__text > .section-title, .contact__text > .socials { grid-column: 1 / -1; }
  .map { height: 400px; }
}
@media (max-width: 640px) { .map { height: 320px; } }

/* ================================================================= FOOTER */
.footer { background: var(--field-ink); color: var(--on-ink); padding-block: 96px; }
.footer__logo { width: calc(8 * (100% + var(--gutter)) / 12 - var(--gutter)); max-width: 900px; height: auto; }
.footer__cols { margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--gutter); row-gap: 40px; }
.footer__h { font: 600 17px/1.3 var(--font); color: var(--on-ink); }
.footer__col p, .footer__col li { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--on-ink-soft); }
.footer__col a { color: var(--on-ink); }
.footer__bottom { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer__rights { font-size: 15px; color: var(--on-ink-soft); }
@media (max-width: 1100px) {
  .footer__cols { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .footer { padding-block: 64px; }
  .footer__logo { width: 100%; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
}

/* ================================================================= USKORO */
.soon {
  min-height: 100svh; background: var(--field-green); color: var(--on-field);
  display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden;
}
#soonScreen { display: none; }
html.soon-mode #soonScreen { display: flex; }
html.soon-mode body > :not(#soonScreen):not(script):not(dialog) { display: none !important; }
.soon__inner {
  flex: 1 0 auto; width: 100%; max-width: 960px; padding: 32px var(--margin) 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.soon__logo { width: 240px; height: auto; }
.soon__logo svg, .soon__logo img { width: 100%; height: auto; }
.soon__title { margin-top: 48px; max-width: none; text-wrap: balance; }
.soon__lead { margin: 24px auto 0; max-width: 34ch; }
.soon__addr { margin-top: 24px; font-size: 17px; color: var(--on-field-soft); }
.soon__socials { margin-top: 32px; display: flex; gap: 12px; justify-content: center; }
.soon__labels {
  flex: none; width: 100%; height: 276px; overflow: hidden;
  display: flex; justify-content: center; gap: 20px; padding-inline: var(--margin);
}
.soon__labels .label { width: 320px; flex: none; height: auto; align-self: flex-start; text-align: left; }
.soon__labels .label__name { min-height: 48px; } /* 2 reda: etikete u redu iste visine */
@media (max-width: 640px) {
  .soon__logo { width: 200px; }
  .soon__title { margin-top: 40px; }
  .soon__labels { height: 204px; justify-content: flex-start; }
  .soon__labels .label { width: 220px; }
  .soon__labels .label:nth-child(3) { display: none; }
  /* etikete ostaju etikete (ne redovi) i na telefonu */
  .soon__labels .label {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas: "media" "name" "cat" "macros" "foot";
  }
  .soon__labels .label__media { width: auto; height: auto; aspect-ratio: 3 / 2; }
  .soon__labels .label__name { margin: 12px 8px 0; font-size: 17px; line-height: 22px; min-height: 44px; } /* 2 reda: etikete u redu iste visine */
}

/* ================================================================= POKRET */
.js-motion .rise { opacity: 0; transform: translateY(24px); }
.js-motion .rise.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-enter) var(--ease), transform var(--dur-enter) var(--ease);
  transition-delay: var(--d, 0ms);
}

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