/* =========================================================================
   Karavane prolaze — dizajn sustav
   Topli "karavana / road-trip" vibe. Buildless (AssetMapper), bez Tailwinda.
   ========================================================================= */

:root {
  /* Paleta */
  --bg:    #F2E7D5;
  --bg2:   #E9D7BD;
  --paper: #FBF4E8;
  --ink:   #2A1F16;
  --muted: #6E5C49;
  --line:  #DCC9A8;
  --terra: #B14A2B;
  --ochre: #C0853A;
  --olive: #6E7A3A;
  --olive-ink: #586316;
  --ochre-ink: #925F1C;

  /* Tipografija */
  --serif: 'Spectral', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono:  'Spline Sans Mono', ui-monospace, monospace;

  /* Forma */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-card: 0 18px 40px -26px rgba(42, 31, 22, .55);
  --shadow-pop:  0 22px 54px -30px rgba(42, 31, 22, .5);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: -.3px; margin: 0; }

@keyframes kp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes kp-fade { from { opacity: 0; } to { opacity: 1; } }

/* --- Layout helpers --- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 54px 0; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--terra); font-weight: 500;
}
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: 32px; margin-top: 12px; }

/* =========================================================================
   Avatari
   ========================================================================= */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); overflow: hidden; flex: none;
  color: var(--paper); font-family: var(--mono); font-weight: 600;
  line-height: 1; text-transform: uppercase; background: var(--muted);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--ring { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--terra); }

/* =========================================================================
   Gumbi
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, background .15s ease, color .15s ease;
  background: transparent; color: var(--ink); white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--terra); color: var(--paper); border-color: var(--terra); }
.btn--dark    { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--olive   { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost   { background: transparent; color: var(--muted); border-color: var(--line); font-weight: 500; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost:hover, .btn--outline:hover { background: rgba(42, 31, 22, .05); }

.count-badge {
  min-width: 21px; height: 21px; padding: 0 5px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: var(--r-pill);
  background: var(--terra); color: var(--paper); font-size: 12px; font-weight: 700;
  font-family: var(--mono);
}
.btn--dark .count-badge { background: var(--terra); }

/* "Ja sam za" forma — gumb ispunjava raspoloživi prostor */
.want-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.want-form .btn { flex: 1 1 100%; }

/* +1 (pratnja) izbornik */
.plusone-form { margin: 0 0 10px; }
.plusone {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; cursor: pointer; user-select: none;
  width: 100%;
}
.want-form .plusone { flex: 1 1 100%; }
.plusone input { width: 16px; height: 16px; accent-color: var(--olive, #6b7a3a); cursor: pointer; }
.plusone--off { color: var(--muted); cursor: not-allowed; }
.plusone--off input { cursor: not-allowed; }

/* =========================================================================
   Badge / status
   ========================================================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 5px 11px; border-radius: var(--r-pill); white-space: nowrap;
}
.badge--need      { background: rgba(192, 133, 58, .18); color: var(--ochre-ink); }
.badge--confirmed { background: rgba(110, 122, 58, .18); color: var(--olive-ink); }
.badge--full      { background: rgba(42, 31, 22, .12);  color: var(--ink); }
.badge--cancelled { background: rgba(177, 74, 43, .15); color: var(--terra); }
.badge--done      { background: rgba(42, 31, 22, .08);  color: var(--muted); }
.badge--ghost     { background: rgba(251, 244, 232, .9); border: 1px solid var(--line); color: var(--ink); }

/* Badges koji stoje PREKO fotografije (kut kartice/hero thumb) trebaju
   gotovo neprozirnu pozadinu i sjenu da ostanu čitljivi nad bilo kojom slikom. */
.thumb .badge { box-shadow: 0 1px 5px rgba(42, 31, 22, .28); backdrop-filter: blur(3px); }
.thumb .badge--need      { background: rgba(244, 226, 198, .95); }
.thumb .badge--confirmed { background: rgba(224, 230, 196, .95); }
.thumb .badge--full      { background: rgba(245, 238, 226, .95); }
.thumb .badge--cancelled { background: rgba(246, 216, 206, .95); }
.thumb .badge--done      { background: rgba(244, 238, 228, .95); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 26px; background: rgba(242, 231, 213, .86);
  backdrop-filter: blur(9px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__logo { display: block; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1; }
.brand__tag { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 4px; display: block; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a.navlink { font-weight: 500; font-size: 14px; color: var(--ink); padding: 9px 13px; border-radius: var(--r-pill); text-decoration: none; }
.site-nav a.navlink:hover { background: rgba(42, 31, 22, .06); }
.nav-sep { width: 1px; height: 26px; background: var(--line); margin: 0 4px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding: 62px 0 50px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.03; letter-spacing: -.5px; margin: 16px 0 0; }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 47ch; margin: 18px 0 0; }
.hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 24px; }

/* Spotlight kartica */
.spotlight { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop); text-decoration: none; color: inherit; transition: transform .15s ease; }
.spotlight:hover { transform: translateY(-3px); }

/* =========================================================================
   Slika / placeholder pattern
   ========================================================================= */
.thumb {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #E7D4B6 0 13px, #E0C9A4 13px 26px);
  overflow: hidden;
}
.thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb__label { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: rgba(42, 31, 22, .42); text-align: center; padding: 0 12px; }
.thumb__tl { position: absolute; top: 12px; left: 12px; }
.thumb__tr { position: absolute; top: 12px; right: 12px; }

/* =========================================================================
   Ekipa (roster)
   ========================================================================= */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px; margin-top: 26px; }
.roster__card { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 8px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); text-align: center; }
.roster__card--you { background: rgba(177, 74, 43, .08); border-color: var(--terra); }
.roster__name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.roster__meta { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 3px; }

/* WhatsApp poziv */
.wa-banner { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: inherit; transition: transform .12s ease, box-shadow .15s ease; }
.wa-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.wa-banner__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; }
.wa-banner__text { margin-right: auto; display: flex; flex-direction: column; }
.wa-banner__title { font-weight: 600; font-size: 15px; }
.wa-banner__sub { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.wa-banner__cta { background: #25D366; color: #fff; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: var(--r-pill); white-space: nowrap; }
.site-footer__wa { display: inline-flex; align-items: center; gap: 7px; color: #E4D2B6; text-decoration: none; font-size: 13px; font-weight: 500; }
.site-footer__wa:hover { color: #fff; }
.site-footer__wa svg { color: #25D366; }
@media (max-width: 560px) { .wa-banner { flex-wrap: wrap; } .wa-banner__text { margin-right: 0; } }

/* Pozovi nekog svog */
.invite { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 18px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-md); }
.invite__text { margin-right: auto; }
.invite__title { font-weight: 600; font-size: 15px; }
.invite__sub { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.invite__input { padding: 10px 14px; font-size: 14px; font-family: var(--sans); border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); }
.invite__input:focus { outline: none; border-color: var(--terra); }
@media (max-width: 620px) { .invite__text { margin-right: 0; flex: 1 1 100%; } .invite__input, .invite .btn { flex: 1 1 100%; } }

/* =========================================================================
   Trip cards (katalog)
   ========================================================================= */
.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(322px, 1fr)); gap: 24px; margin-top: 28px; }
.trip-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.trip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.trip-card .thumb { height: 174px; }
.trip-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.trip-card__title { font-size: 21px; }
.trip-card__place { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.trip-card__blurb { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.trip-card__spacer { flex: 1; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price__amount { font-family: var(--serif); font-weight: 700; font-size: 25px; }
.price__unit { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.trip-card__foot { display: flex; gap: 10px; align-items: center; margin-top: 3px; }
.detalji { font-family: var(--mono); font-size: 12px; color: var(--terra); white-space: nowrap; }

/* Progress prema pragu */
.progress { height: 7px; border-radius: var(--r-pill); background: rgba(42, 31, 22, .10); overflow: hidden; }
.progress__bar { height: 100%; border-radius: var(--r-pill); background: var(--terra); transition: width .4s ease; }
.progress__bar--confirmed { background: var(--olive); }
.progress-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.meta-short { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }

/* Crew stack (preklopljeni avatari) */
.crew-stack { display: flex; align-items: center; padding-left: 8px; }
.crew-stack .avatar { border: 2px solid var(--paper); margin-left: -8px; }
.crew-more { background: var(--bg2); color: var(--muted); font-size: 10px; border: 2px solid var(--paper); margin-left: -8px; }

/* =========================================================================
   Trip detalj
   ========================================================================= */
.detail-hero { position: relative; height: 230px; }
.detail-hero .thumb { height: 100%; }
.detail-hero__badges { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.subbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 11px 22px; background: rgba(242, 231, 213, .92);
  backdrop-filter: blur(9px); border-bottom: 1px solid var(--line);
}
.subbar a { text-decoration: none; }
.detail-wrap { max-width: 1080px; margin: 0 auto; padding: 30px 26px 80px; }
.detail-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 34px; margin-top: 30px; align-items: start; }
.detail-title { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; margin: 8px 0 0; }
.detail-lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 14px 0 0; }
.block { margin-top: 26px; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.gallery .thumb { height: 128px; border-radius: 12px; }

/* Tko ide */
.crew-faces { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.crew-face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 58px; text-align: center; }
.crew-face span.label { font-size: 12px; line-height: 1.2; }
.crew-face__plus {
  position: absolute; top: -4px; right: 4px;
  background: var(--olive, #6b7a3a); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
  padding: 3px 4px; border-radius: 7px;
  box-shadow: 0 0 0 2px var(--paper, #fff);
}
.undecided { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.undecided__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.undecided .avatar { opacity: .4; filter: grayscale(.3); }

/* Itinerar timeline */
.timeline { margin-top: 14px; display: flex; flex-direction: column; }
.tstep { display: flex; gap: 16px; align-items: flex-start; }
.tstep__rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.tstep__dot { width: 30px; height: 30px; flex: none; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 13px; }
.tstep__line { flex: 1; width: 2px; background: var(--line); margin: 2px 0; }
.tstep__body { padding-bottom: 18px; flex: 1; min-width: 0; }
.tstep__day { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--terra); }
.tstep__text { font-size: 15px; line-height: 1.45; margin-top: 3px; }
.tstep__photo { width: 124px; height: 78px; flex: none; border-radius: var(--r-sm); margin-bottom: 18px; }

/* Prijevoz */
.tline { margin-top: 14px; }
.tseg { display: flex; gap: 14px; align-items: flex-start; }
.tseg__rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.tseg__mode { min-width: 60px; text-align: center; padding: 6px 8px; border-radius: 7px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 1px; }
.tseg__line { flex: 1; width: 2px; background: var(--line); margin: 2px 0; }
.tseg__body { padding-bottom: 16px; }
.tseg__route { font-weight: 600; font-size: 15px; }
.tseg__detail { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Gurmanski vodič */
.food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.food-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.food-card__type { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--terra); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 9px; }
.food-card__name { font-family: var(--serif); font-weight: 700; font-size: 16px; margin-top: 9px; }
.food-card__note { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 4px; }

/* Specijalitet (tamna kartica) */
.specialty { margin-top: 26px; background: var(--ink); color: var(--paper); border-radius: var(--r-md); padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.specialty__ey { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ochre); }
.specialty__name { font-family: var(--serif); font-weight: 700; font-size: 22px; margin-top: 8px; }
.specialty p { font-size: 14px; line-height: 1.55; margin-top: 8px; color: rgba(251, 244, 232, .85); }
.specialty__divider { border-left: 1px solid rgba(251, 244, 232, .2); padding-left: 24px; }

/* Uključeno / nije */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.incl { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.incl__ey { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; }
.incl ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.incl li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.incl li .mark { flex: none; margin-top: 1px; }
.incl--yes .mark { color: var(--olive); }
.incl--no { color: var(--muted); }

.know { margin-top: 26px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.know ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.know li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.know li .mark { color: var(--ochre); flex: none; }

/* Procjena troškova (temeljni + fakultativni) */
.costs { margin-top: 14px; display: flex; flex-direction: column; gap: 16px; }
.costs__group { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.costs__group--optional { background: transparent; border-style: dashed; }
.costs__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.costs__title { font-weight: 700; font-size: 14.5px; }
.costs__tag { font-family: "Spline Sans Mono", monospace; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); }
.costs__tag--in { background: var(--olive); color: var(--paper); }
.costs__tag--info { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.costs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.costs__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.costs__list li:last-child { border-bottom: 0; }
.costs__label { display: flex; flex-direction: column; gap: 2px; }
.costs__note { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.costs__amt { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.costs__total { margin-top: 2px; padding-top: 10px; border-top: 2px solid var(--line) !important; font-weight: 700; }
.costs__total .costs__amt { font-size: 16px; }
.costs__fine { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.buybox__pricenote { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* Lightbox (pregled slike preko cijelog ekrana) */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 32px;
  background: rgba(20, 14, 9, .9); cursor: zoom-out; animation: kp-fade .15s ease;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(1120px, 94vw); max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.lightbox__close {
  position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 0; background: rgba(251, 244, 232, .15); color: var(--paper); font-size: 24px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: rgba(251, 244, 232, .28); }

/* Markdown opis */
.prose { font-size: 16px; line-height: 1.6; color: var(--ink); }
.prose h2 { font-size: 22px; margin: 22px 0 8px; }
.prose h3 { font-size: 18px; margin: 18px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose a { color: var(--terra); }

/* Sticky cjenovnik */
.buybox { position: sticky; top: 76px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-pop); }
.buybox__price { display: flex; align-items: baseline; gap: 7px; }
.buybox__price b { font-family: var(--serif); font-weight: 700; font-size: 34px; }
.pips { display: flex; flex-wrap: wrap; gap: 5px; }
.pip { width: 20px; height: 20px; border-radius: 6px; background: rgba(42, 31, 22, .12); }
.pip--on { background: var(--terra); }
.pip--on.pip--confirmed { background: var(--olive); }
.buybox__progress { font-size: 14px; font-weight: 600; margin-top: 14px; }
.buybox__meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.buybox__fine { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* =========================================================================
   Moja lista
   ========================================================================= */
.empty { margin-top: 40px; text-align: center; color: var(--muted); }
.empty p { font-size: 15px; line-height: 1.5; margin: 14px auto 0; max-width: 38ch; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: #E4D2B6; padding: 38px 0; margin-top: 10px; }
.site-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__name { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--paper); }
.site-footer__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.site-footer__legal { font-family: var(--mono); font-size: 11px; opacity: .7; letter-spacing: .5px; }

/* =========================================================================
   Flash poruke
   ========================================================================= */
.flashes { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: 92vw; }
.flash { padding: 12px 22px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .6); animation: kp-rise .2s ease; background: var(--ink); color: var(--paper); }
.flash--success { background: var(--olive); }
.flash--error { background: var(--terra); }
.flash--info { background: var(--ink); }

/* =========================================================================
   Auth (login / check email)
   ========================================================================= */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 20px;
  background: radial-gradient(120% 80% at 50% -10%, var(--bg2), var(--bg) 60%); }
.auth__card { width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 34px; box-shadow: var(--shadow-pop); text-align: center; }
.auth__mark { display: flex; justify-content: center; margin: 0 auto 18px; }
.auth h1 { font-size: 30px; }
.auth__slogan { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--terra); margin-top: 8px; }
.auth__lead { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 18px 0 24px; }
.field { width: 100%; padding: 13px 16px; font-size: 16px; font-family: var(--sans); border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--bg); color: var(--ink); }
.field:focus { outline: none; border-color: var(--terra); }
.auth form { display: flex; flex-direction: column; gap: 12px; }
.auth__fine { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 22px; }

/* Onboarding profilne slike */
.onb-avatar { display: flex; justify-content: center; margin: 20px 0 16px; }
.onb-avatar__circle {
  width: 108px; height: 108px; border-radius: var(--r-pill); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); font-family: var(--mono); font-weight: 600; font-size: 36px; text-transform: uppercase;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--terra);
}
.onb-avatar__circle img { width: 100%; height: 100%; object-fit: cover; }
.onb-file { display: inline-flex; cursor: pointer; }

/* =========================================================================
   Admin
   ========================================================================= */
.admin { padding: 40px 0 80px; }
.admin h1 { font-size: 30px; }
.admin__tabs { display: flex; gap: 8px; margin: 18px 0 28px; flex-wrap: wrap; }
.admin__tabs a { font-family: var(--mono); font-size: 13px; padding: 8px 16px; border-radius: var(--r-pill); text-decoration: none; color: var(--muted); border: 1px solid var(--line); }
.admin__tabs a.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-bottom: 22px; }
.panel h2 { font-size: 20px; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.table tr:last-child td { border-bottom: 0; }
.cell-member { display: flex; align-items: center; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: end; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="file"], .form-field select, .form-field textarea {
  padding: 11px 14px; font-size: 15px; font-family: var(--sans); border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); width: 100%;
}
.form-field textarea { resize: vertical; line-height: 1.5; min-height: 64px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--terra); }
.form-field--full { grid-column: 1 / -1; margin-top: 16px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hint .mono { background: var(--bg2); padding: 1px 5px; border-radius: 5px; font-size: 11px; }

/* Edit screen */
.edit-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.edit-actions { display: flex; gap: 12px; align-items: center; margin: 4px 0 20px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.inline-form { display: inline; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); background: var(--bg2); color: var(--muted); }
.tag--admin { background: rgba(177, 74, 43, .14); color: var(--terra); }
.linklike { background: none; border: 0; color: var(--terra); font-family: var(--mono); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.row-actions { display: flex; gap: 14px; align-items: center; }
.ta-right { text-align: right; }
.nowrap { white-space: nowrap; }

/* Admin select (status, itd.) */
.table select, .form-field select, .status-form select {
  padding: 9px 12px; font-size: 13px; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink);
}

/* Trips tablica */
.row-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.row-meta .mono { font-size: 11px; }
.status-form { display: flex; gap: 8px; align-items: center; }
.trip-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.trip-actions .btn { white-space: nowrap; }
.trip-actions .inline-form { display: inline-flex; }

/* Status tagovi */
.tag--status { border: 1px solid transparent; }
.tag--draft     { background: rgba(42, 31, 22, .08);  color: var(--muted); }
.tag--open      { background: rgba(192, 133, 58, .16); color: var(--ochre-ink); }
.tag--confirmed { background: rgba(110, 122, 58, .18); color: var(--olive-ink); }
.tag--cancelled { background: rgba(177, 74, 43, .15); color: var(--terra); }
.tag--completed { background: rgba(42, 31, 22, .08);  color: var(--muted); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .buybox { position: static; }
  .specialty { grid-template-columns: 1fr; gap: 16px; }
  .specialty__divider { border-left: 0; border-top: 1px solid rgba(251, 244, 232, .2); padding-left: 0; padding-top: 16px; }
  .two-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header { padding: 10px 16px; }
  .brand__tag { display: none; }
  .site-nav a.navlink { display: none; }
  .food-grid { grid-template-columns: 1fr; }
  .tstep__photo { display: none; }
  .section-head h2 { font-size: 26px; }
}
