/* =========================================================
   Bistero — glavni stylesheet
   Dizajn sistem: tokeni → osnovni elementi → komponente
   ========================================================= */

/* ---------- 1. Tokeni ---------- */
:root {
  /* "Noć uz svijeću": duboka topla tama, krem tekst, zlato kao svjetlo.
     Sadržaj stoji na osvijetljenim panelima, dim prolazi između njih. */
  --bg: #140d09;

  --ink-900: #0f0a06;
  --ink-800: #17100b;
  --ink-700: #201710;
  --ink-600: #2e2118;

  /* zadržani nazivi zbog postojećih klasa — sada topli akcent i rubovi */
  --navy-600: #e0b055;
  --navy-500: #c9922f;
  --navy-100: rgba(231, 199, 143, 0.30);
  --navy-50: rgba(231, 199, 143, 0.09);

  --gold-600: #d9a441;
  --gold-500: #c9922f;
  --gold-400: #e0b055;
  --gold-100: rgba(224, 176, 85, 0.13);

  --teal-600: #a8ad6b;
  --teal-500: #8a8747;
  --teal-100: rgba(168, 173, 107, 0.13);

  --clay-500: #d08a68;

  --surface: #1d150f;
  --surface-alt: #181109;
  --line: rgba(233, 208, 170, 0.15);
  --text: #f3e8d8;
  --text-soft: #b7a58e;
  --text-inverse: #140d09;

  /* Tipografija */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Prostor */
  --gap-xs: 0.5rem;
  --gap-sm: 0.875rem;
  --gap-md: 1.5rem;
  --gap-lg: 2.5rem;
  --gap-xl: 4rem;
  --gap-2xl: 6rem;

  /* Radijusi i sjene */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 16px 38px rgba(0, 0, 0, 0.55);

  --maxw: 1160px;
  --maxw-narrow: 760px;
}

/* ---------- 2. Reset / osnove ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* bez plavog bljeska koji Android crta preko elementa na dodir */
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "cv11";
  text-rendering: optimizeLegibility;
}

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

/* atribut hidden mora nadjačati display iz komponenti (npr. img, flex) */
[hidden] { display: none !important; }

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--gold-400); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.14;
  margin: 0 0 var(--gap-sm);
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
h3 { letter-spacing: -0.015em; }
p { text-wrap: pretty; }

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin: 0 0 var(--gap-sm); }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Layout ---------- */
main { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, var(--gap-2xl)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--alt { background: transparent; }
.section--dark {
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(201, 146, 47, 0.14), transparent 62%),
    radial-gradient(760px 460px at 92% 6%, rgba(176, 96, 40, 0.12), transparent 64%);
  color: var(--text);
}
.section--dark h2,
.section--dark h3 { color: #fff8ec; }
.section--dark p { color: var(--text-soft); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-head p { color: var(--text-soft); font-size: 1.1rem; }
.section--dark .section-head p { color: var(--text-soft); }

.grid { display: grid; gap: var(--gap-md); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- 4. Elementi ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--gap-sm);
}
.section--dark .eyebrow,
.hero .eyebrow {
  color: var(--gold-400);
  background: rgba(224, 176, 85, 0.12);
  border-color: rgba(224, 176, 85, 0.34);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 1.05rem 1.9rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  letter-spacing: -0.005em;
  transition: transform 0.18s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.18s ease,
    background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: #c9922f;
  color: #23180a;
  box-shadow: none;
}
.btn--primary:hover {
  color: #23180a;
  background: #b8831f;
}

.btn--dark {
  background: var(--ink-700);
  border-color: var(--navy-100);
  color: var(--text);
  box-shadow: var(--shadow-glow);
}
.btn--dark:hover { color: #fff8ec; border-color: var(--gold-500); }

.btn--ghost {
  background: transparent;
  border-color: var(--navy-100);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--navy-600); color: var(--navy-600); }

.section--dark .btn--ghost,
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--block { width: 100%; border-radius: var(--r-lg); }
.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.92rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-100);
}
.section--dark .card {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.section--dark .card:hover { border-color: rgba(224, 176, 85, 0.45); }

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  margin-bottom: var(--gap-sm);
}
.section--dark .card__icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}
.card__icon--gold { background: var(--gold-100); }
.card__icon--teal { background: var(--teal-100); }
.card p { color: var(--text-soft); margin-bottom: 0; }
.section--dark .card p { color: var(--text-soft); }

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--ink-900);
  color: #efe3d3;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.6rem 1rem;
}
.topbar strong { color: var(--gold-400); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20, 13, 9, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.site-header__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-block: 0.9rem;
}
/* Logotip stoji u sredini, navigacija ispod njega. */
.site-header .logo { margin-inline: auto; }
.site-header .nav { justify-content: center; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--navy-600); }
.logo__slika {
  display: block;
  height: 41px;
  width: auto;
}
.logo__slika--podnozje { height: 40px; }
@media (max-width: 520px) {
  .logo__slika { height: 30px; }
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-900));
  display: grid;
  place-items: center;
  color: var(--gold-400);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--navy-600); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  /* backdrop-filter na zaglavlju stvara containing block za position:fixed,
     pa bi se izvlačni meni skupio unutar zaglavlja. Na mobilnom ga gasimo. */
  .site-header {
    backdrop-filter: none;
    background: var(--surface);
  }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: var(--surface);
    padding: 6rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1100px 620px at 6% -10%, rgba(78, 46, 34, 0.9), transparent 60%),
    radial-gradient(760px 520px at 62% 112%, rgba(201, 146, 47, 0.26), transparent 62%),
    var(--ink-900);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero .eyebrow { margin-inline: auto; }
}

.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #eec987, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: #cbd7e5;
  max-width: 50ch;
  margin-bottom: var(--gap-md);
}
@media (max-width: 900px) { .hero__lead { margin-inline: auto; } }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: var(--gap-md);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #b9c8d9;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 0.45rem; }

/* Box vizual */
.box-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.box-visual__glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 146, 47, 0.38), transparent 68%);
  filter: blur(18px);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.09); opacity: 1; }
}
.box-visual svg {
  position: relative;
  width: min(420px, 100%);
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.4));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}
.price-badge {
  position: absolute;
  top: 2%;
  right: 2%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #23180a;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 50%;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  transform: rotate(9deg);
  z-index: 2;
}
.price-badge b { display: block; font-size: 1.65rem; }
.price-badge small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }

@media (max-width: 430px) {
  h1 { font-size: 1.95rem; }
}

@media (max-width: 560px) {
  .price-badge { width: 92px; height: 92px; }
  .price-badge b { font-size: 1.3rem; }
}

/* ---------- 7. Trakica logotipa / prednosti ---------- */
.strip {
  background: var(--ink-800);
  color: #cbd7e5;
  padding-block: 1.1rem;
  font-size: 0.92rem;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 0;
}
.strip__inner span {
  padding-inline: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.strip__inner span:last-child { border-right: 0; }
@media (max-width: 760px) {
  .strip__inner span { border-right: 0; padding-inline: 0.75rem; }
}
.strip span { display: inline-flex; align-items: center; gap: 0.5rem; }
.strip b { color: var(--gold-400); }

/* ---------- 8. Koraci ---------- */
.steps { counter-reset: step; }
.step { position: relative; }
.step__num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-900));
  color: var(--gold-400);
  margin-bottom: var(--gap-sm);
}

/* ---------- 9. Cijena / paketi ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--gap-md);
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border: 2px solid var(--gold-500);
  box-shadow: 0 20px 46px rgba(168, 118, 27, 0.16), var(--shadow-md);
  transform: translateY(-6px);
  background:
    linear-gradient(180deg, rgba(248, 239, 220, 0.5), transparent 180px),
    var(--surface);
}
@media (max-width: 700px) { .plan--featured { transform: none; } }
.plan__tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: #23180a;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 0.3rem; }
.plan__price {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.6rem 0 0.15rem;
}
.plan__price sup { font-size: 1.1rem; vertical-align: super; margin-left: 0.15rem; }
.plan__bgn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 0.2rem;
}
.plan__per { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 1.25rem; }

.summary-row--bgn {
  padding-top: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.plan__list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text-soft);
  font-size: 0.97rem;
}
.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.plan .btn { margin-top: auto; }
.plan__note { font-size: 0.8rem; color: var(--text-soft); text-align: center; margin: 0.8rem 0 0; }

/* ---------- 10. Garancija ---------- */
.guarantee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  background: linear-gradient(135deg, var(--navy-50), var(--gold-100));
  border: 1px solid var(--navy-100);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 700px) {
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
.guarantee__seal {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), #4a4a1e);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 14px 30px rgba(14, 111, 99, 0.30);
  flex-shrink: 0;
}
.guarantee__seal b { display: block; font-size: 2.1rem; }
.guarantee__seal small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- 11. FAQ ---------- */
.faq { max-width: var(--maxw-narrow); margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] { border-color: var(--navy-100); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.3rem;
  font-weight: 600;
  position: relative;
  list-style: none;
  font-size: 1.02rem;
  transition: background 0.16s ease;
}
.faq summary:hover { background: var(--navy-50); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-600);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__body { padding: 0 1.3rem 1.25rem; color: var(--text-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- 12. Forma ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(224, 176, 85, 0.22);
}
.field small { display: block; color: var(--text-soft); font-size: 0.82rem; margin-top: 0.3rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.check input { margin-top: 0.28rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--navy-600); }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-grid .summary-box { position: static; }
}

.summary-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: sticky;
  top: 96px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.96rem;
  color: var(--text-soft);
}
.summary-row--total {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1rem;
}
.pay-methods img,
.kupnja__kartice img,
.logotipi-placanja img {
  height: 30px;
  width: auto;
  border: 1px solid rgba(243, 232, 216, 0.22);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.16s ease;
}
.pay-methods img:hover { transform: translateY(-2px); }
.footer-bottom .pay-methods { margin-top: 0; }

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
  margin-bottom: 0.75rem;
}
.pay-option:hover { border-color: var(--navy-100); }
.pay-option input { accent-color: var(--navy-600); width: 20px; height: 20px; }
.pay-option[data-selected="true"] { border-color: var(--navy-600); background: var(--navy-50); }
.pay-option__label { font-weight: 700; }
.pay-option__hint { display: block; font-weight: 400; font-size: 0.85rem; color: var(--text-soft); }

.notice {
  border-left: 4px solid var(--gold-500);
  background: var(--gold-100);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #f0d9a8;
}
.notice--info { border-color: var(--gold-500); background: var(--navy-50); color: var(--text); }
.notice--ok { border-color: var(--teal-500); background: var(--teal-100); color: #d7dcae; }
.notice--warn { border-color: #c8613f; background: rgba(200, 97, 63, 0.14); color: #f0c3ab; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- 13. Pravne stranice ---------- */
.page-hero {
  background:
    radial-gradient(820px 400px at 8% -20%, rgba(201, 146, 47, 0.16), transparent 62%),
    var(--ink-900);
  color: #fff;
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: var(--text-soft); margin: 0; }

.breadcrumbs { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 0.75rem; }
.breadcrumbs a { color: #e2d2b8; }
.breadcrumbs a:hover { color: var(--gold-400); }

.prose { max-width: var(--maxw-narrow); }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { color: var(--text-soft); }
.prose p { color: var(--text-soft); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  text-align: left;
}
.prose th { background: var(--surface-alt); font-weight: 700; }
.prose td { color: var(--text-soft); }
.table-scroll { overflow-x: auto; }

.toc {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.toc strong { display: block; margin-bottom: 0.5rem; }
.toc ol { margin: 0; color: var(--text-soft); }

.placeholder {
  background: var(--gold-100);
  border: 1px dashed var(--gold-500);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  color: #f0d9a8;
  white-space: nowrap;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--text-soft);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.94rem;
}
.site-footer > .wrap { position: relative; z-index: 1; }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: #ddcbb2; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--gap-lg);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.site-footer .logo { color: #fff; margin-bottom: 0.85rem; }
.site-footer .logo:hover { color: var(--gold-400); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--gap-lg);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.footer-bottom .pay-methods { justify-content: center; }

/* ---------- 15. Cookie traka ---------- */
.cookie-bar {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: min(360px, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.25rem;
  display: none;
  gap: 0.6rem;
  align-items: stretch;
  flex-direction: column;
  font-size: 0.88rem;
}
.cookie-bar__akcije {
  display: flex;
  gap: 0.5rem;
}
.cookie-bar__akcije .btn {
  flex: 1;
  padding: 0.65rem 0.6rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.cookie-bar[data-visible="true"] { display: flex; }
.cookie-bar p { margin: 0 0 0.25rem; color: var(--text-soft); line-height: 1.55; }

/* ---------- 16. Pomoćne klase ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-soft); }
.small { font-size: 0.88rem; }

/* Sadržaj je vidljiv i bez JavaScripta. Animacija se uključuje samo
   kad je JS dostupan (klasa .js dolazi iz kratke skripte u <head>). */

@media (prefers-reduced-motion: reduce) {
  *:not([data-anim]),
  *:not([data-anim])::before,
  *:not([data-anim])::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 17. Mjesta za slike (foto-sloti) ----------
   Prazan okvir na mjestu buduće fotografije. Kad sliku imate,
   unutar <figure class="foto"> obrišite <div class="foto__prazno">
   i umjesto njega upišite <img src="..." alt="...">. Ostalo
   (omjer, zaobljenje, sjena, rez slike) radi CSS. */
.foto {
  margin: 0;
  position: relative;
}
.foto > img,
.foto > .foto__prazno {
  width: 100%;
  aspect-ratio: var(--foto-omjer, 4 / 3);
  border-radius: var(--r-md);
}
.foto > img {
  display: block;
  height: auto;
  object-fit: cover;
}
.foto > img {
  box-shadow: var(--shadow-md);
  background: var(--surface-alt);
}
.foto > .foto__prazno {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.3rem;
  text-align: center;
  padding: 1rem;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--gold-100) 0 12px,
      rgba(224, 176, 85, 0.05) 12px 24px
    );
  border: 2px dashed var(--gold-500);
  color: #f0d9a8;
}
.foto__prazno b { font-family: var(--font-display); font-size: 0.98rem; }
.foto__prazno code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--gold-500);
  border-radius: 4px;
  padding: 0.12rem 0.4rem;
  word-break: break-all;
}
.foto__prazno small { font-size: 0.74rem; opacity: 0.85; }
.foto__ikona { font-size: 1.9rem; line-height: 1; }
.foto figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.foto--kvadrat { --foto-omjer: 1 / 1; }
.foto--portret { --foto-omjer: 3 / 4; }
.foto--siroka { --foto-omjer: 16 / 9; }
.section--dark .foto figcaption { color: var(--text-soft); }

/* Kartica proizvoda iz kolekcije */
.artikal { display: flex; flex-direction: column; }
.artikal .foto { margin-bottom: 1rem; }
.artikal h3 { margin-bottom: 0.35rem; }
.artikal p { flex: 1 1 auto; }
.artikal__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-xs);
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.artikal__cijena {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink-800);
}
.artikal__sifra {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  color: var(--text-soft);
}

/* Tablice izvan .prose bloka (npr. kolekcija amajlija) dobivaju
   isti izgled kao tablice na pravnim stranicama. */
.table-scroll > table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.95rem;
  background: var(--surface);
}
.table-scroll th,
.table-scroll td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}
.table-scroll th { background: var(--surface-alt); font-weight: 700; }
.table-scroll td { color: var(--text-soft); }

/* Kartice proizvoda su šire od običnih kartica — tri u redu na desktopu. */
.grid--artikli { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Red logotipa kartica — istaknuto, na dnu prodajnih stranica. */
.logotipi-placanja {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
/* Same datoteke već izgledaju kao kartica (bijela ploha sa zaobljenim
   rubom), pa im ne dodajemo još jedan okvir oko toga. */
@media (max-width: 380px) {
  .logotipi-placanja img { height: 26px; }
}

/* ---------- 19. Fotografije proizvoda ----------
   Ako datoteka još ne postoji, umjesto slomljene slike prikaže se
   uredan okvir s nazivom datoteke koja se očekuje. */
.foto img { display: block; }
.foto--nema img { display: none; }
.foto--nema::before {
  content: attr(data-naziv);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem;
  aspect-ratio: var(--foto-omjer, 4 / 3);
  border-radius: var(--r-md);
  border: 2px dashed var(--gold-500);
  background: repeating-linear-gradient(-45deg, var(--gold-100) 0 12px, rgba(224, 176, 85, 0.05) 12px 24px);
  color: #f0d9a8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

/* ---------- 20. Stranica proizvoda ---------- */
.hero__cijena {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--gold-400);
  margin: 0 0 1.4rem;
}
.hero--baner h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #eec987, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cinjenice { color: var(--text-soft); padding-left: 1.1rem; }
.cinjenice li { margin-bottom: 0.55rem; }


/* ---------- 21. Stranica proizvoda: galerija i kupnja ---------- */
.produkt { padding-block: clamp(1.5rem, 4vw, 3rem); background: transparent; }
.produkt__mreza {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .produkt__mreza { grid-template-columns: 1fr; gap: 1.5rem; }
}

.galerija__glavna {
  margin: 0 0 0.7rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-md);
  /* okomiti skrol ostaje pregledniku, vodoravni potez hvata galerija */
  touch-action: pan-y;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.galerija__glavna img { -webkit-user-drag: none; user-select: none; }
.galerija__glavna img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.galerija__male {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
}
.galerija__mala {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.galerija__mala img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.galerija__mala.is-aktivna { border-color: var(--gold-500); }
.galerija__mala:hover { border-color: var(--gold-400); }

.kupnja { position: sticky; top: 6.5rem; }
@media (max-width: 900px) { .kupnja { position: static; } }
.kupnja h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin-bottom: 0.6rem;
}
.kupnja__opis { color: var(--text-soft); margin-bottom: 1.1rem; }
.kupnja__cijena {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #fff8ec;
  margin: 0 0 1.4rem;
}
.kupnja__cijena span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-left: 0.35rem;
}

.boje { margin-bottom: 1.4rem; }
.boje__naslov { display: block; font-size: 0.92rem; color: var(--text-soft); margin-bottom: 0.55rem; }
.boje__izbor { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.boja {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font: 600 0.92rem var(--font-body);
  color: var(--text);
  cursor: pointer;
}
.boja span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(243, 232, 216, 0.45);
}
.boja:hover { border-color: var(--gold-400); }
.boja.is-aktivna { border-color: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100); }

.kupnja__jamstva {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.92rem;
}
.kupnja__jamstva li { margin-bottom: 0.5rem; }
.kupnja__kartice { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }



/* ---------- 22. Cijena s popustom i kartice ispod gumba ---------- */
.kupnja__stara {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-soft);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-right: 0.6rem;
}
.kupnja__popust {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
  color: #f2dbaa;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem;
  margin: -0.6rem 0 1.3rem;
}
.kupnja__kartice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 0.9rem 0 0;
}

/* ---------- 23. Korpa ---------- */
.site-header__inner { position: relative; }
.korpa-gumb {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  background: var(--surface);
}
.korpa-gumb:hover { color: var(--gold-600); border-color: var(--gold-400); }
.korpa-broj {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--gold-500);
  color: #23180a;
  font: 700 0.72rem/20px var(--font-body);
  text-align: center;
}
/* gumb izbornika i korpa malo uvučeni od ruba */
@media (max-width: 900px) {
  .nav-toggle { right: 12px; }
  .korpa-gumb { left: 4px; }
}

.korpa-mreza {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 900px) { .korpa-mreza { grid-template-columns: 1fr; } }

.korpa-red {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.korpa-red__slika { border-radius: var(--r-sm); width: 90px; height: 90px; object-fit: cover; }
.korpa-red__opis { display: flex; flex-direction: column; gap: 0.25rem; }
.korpa-red__ukloni {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-soft);
  font: 500 0.82rem var(--font-body);
  text-decoration: underline;
  cursor: pointer;
}
.korpa-red__ukloni:hover { color: var(--clay-500); }
.korpa-red__iznos { font-family: var(--font-display); font-weight: 800; white-space: nowrap; }

.kolicina {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.kolicina button {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--surface-alt);
  color: var(--ink-800);
  font-size: 1.05rem;
  cursor: pointer;
}
.kolicina button:hover { background: var(--gold-100); }
.kolicina span { min-width: 34px; text-align: center; font-weight: 700; }

@media (max-width: 560px) {
  .korpa-red { grid-template-columns: 70px minmax(0, 1fr); row-gap: 0.6rem; }
  .korpa-red__slika { width: 70px; height: 70px; }
  .kolicina { grid-column: 1 / -1; }
  .korpa-red__iznos { grid-column: 2; text-align: right; }
}

.kupnja__odmah { text-align: center; margin: 0.7rem 0 0; font-size: 0.92rem; }

/* kartice ispod gumba — u jednom redu, bez dodatnog okvira */
.kupnja__kartice { flex-wrap: nowrap; gap: 0.5rem; }
.kupnja__kartice img { height: 32px; }

/* podnožje */
.footer-grid--tri { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer-tvrtka {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
}
.footer-tvrtka__kontakt { margin-bottom: 0.5rem; }
.footer-tvrtka__podaci { color: rgba(243, 232, 216, 0.55); margin-bottom: 0; }

/* ---------- 24. Simbolika uz proizvod ---------- */
.simbolika {
  border-left: 3px solid var(--gold-500);
  background: var(--gold-100);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.3rem;
}
.simbolika__naslov {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #f0d9a8;
  margin: 0 0 0.3rem;
}
.simbolika__tekst {
  margin: 0;
  font-size: 0.94rem;
  color: #f0d9a8;
}

/* ---------- 25. Iskustva klijenata ---------- */
.recenzije-sazetak {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--gap-lg);
}
.recenzije-sazetak__ocjena {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: #fff8ec;
}
.recenzije-sazetak__broj { color: var(--text-soft); font-size: 0.94rem; }

.zvijezde { display: inline-flex; gap: 0.1rem; line-height: 1; }
.zvijezda { color: rgba(243, 232, 216, 0.28); font-size: 1.05rem; }
.zvijezda.je-puna { color: var(--gold-400); }

.recenzije-prazno {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: var(--gap-lg);
}

.recenzije {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--gap-lg);
  display: grid;
  gap: 1rem;
}
.recenzija {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem;
  margin: 0;
}
.recenzija__glava {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
}
.recenzija__slika {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.recenzija__slika--slovo {
  display: grid;
  place-items: center;
  background: var(--ink-700);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.recenzija__ime {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: #fff8ec;
}
.recenzija__datum {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.recenzija__tekst { margin: 0; color: var(--text-soft); }

.recenzije-obrazac {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 1.9rem);
  display: grid;
  gap: 1rem;
}
.recenzije-obrazac h3 { margin: 0; }
.field__oznaka {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.ocjena-odabir { display: flex; gap: 0.25rem; }
.ocjena-gumb {
  background: none;
  border: 0;
  padding: 0.1rem 0.15rem;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(243, 232, 216, 0.28);
  transition: color 0.14s ease, transform 0.14s ease;
}
.ocjena-gumb:hover { transform: translateY(-2px); }
.ocjena-gumb.je-puna { color: var(--gold-400); }

.recenzije-obrazac input[type="file"] {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  color: var(--text-soft);
  padding: 0.6rem 0;
}
.recenzije-obrazac input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 700;
  margin-right: 0.8rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink-700);
  color: var(--text);
  cursor: pointer;
}
.rec-pregled {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  margin-top: 0.6rem;
}
.rec-poruka {
  margin: 0;
  font-size: 0.94rem;
  border-radius: var(--r-sm);
  padding: 0.7rem 0.95rem;
}
.rec-poruka.je-uspjeh { background: var(--teal-100); color: #d7dcae; }
.rec-poruka.je-greska { background: rgba(212, 106, 74, 0.16); color: #f0b79c; }

/* ---------- 26. Ulazne animacije ---------- */
/* Dok se ne postave početna stanja, sadržaj je sakriven, pa nema treptaja.
   Sigurnosna kočnica u animacije.js svakako otključa ovo nakon 1,6 s. */
html.anim main,
html.anim .site-footer { opacity: 0; }
html.anim.anim-spremno main,
html.anim.anim-spremno .site-footer {
  opacity: 1;
  transition: opacity 0.32s ease;
}

html.anim [data-anim] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.78s cubic-bezier(0.22, 0.61, 0.28, 1),
    transform 0.78s cubic-bezier(0.22, 0.61, 0.28, 1),
    filter 0.78s cubic-bezier(0.22, 0.61, 0.28, 1);
}
html.anim [data-anim="gore"] {
  transform: translate3d(0, 34px, 0);
  filter: blur(5px);
}
html.anim [data-anim="slika"] {
  transform: scale(1.05);
  filter: blur(7px);
}
html.anim [data-anim].je-vidljiv {
  opacity: 1;
  transform: none;
  filter: none;
}

/* naslovi ulaze riječ po riječ */
html.anim [data-anim].ima-rijeci { filter: none; transform: none; opacity: 1; }
html.anim .rijec {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.42em, 0);
  filter: blur(5px);
  transition:
    opacity 0.66s cubic-bezier(0.22, 0.61, 0.28, 1),
    transform 0.66s cubic-bezier(0.22, 0.61, 0.28, 1),
    filter 0.66s cubic-bezier(0.22, 0.61, 0.28, 1);
}
html.anim [data-anim].je-vidljiv .rijec {
  opacity: 1;
  transform: none;
  filter: none;
}

/* zaglavlje se spusti odmah pri otvaranju stranice */
html.anim .site-header {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.28, 1);
}
html.anim.anim-krenulo .site-header { opacity: 1; transform: none; }

/* Smanjene animacije: bez pomicanja, zuma i zamućenja — ostaje samo
   mirno pojavljivanje, da posjetitelj ipak vidi da stranica oživi. */
html.anim-mirno [data-anim] {
  transform: none !important;
  filter: none !important;
  transition: opacity 0.5s ease !important;
}
html.anim-mirno .site-header {
  transform: none !important;
  transition: opacity 0.5s ease !important;
}
html.anim-mirno .rijec {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
