/* =========================================================
   Tralala – stilovi sajta
   Boje su uzete iz logoa: teget, koral i tirkiz,
   uz sunčano žutu i toplu krem pozadinu.
   ========================================================= */

:root {
  --navy: #1C285C;
  --navy-2: #2A3A7C;
  --coral: #E45038;
  --coral-btn: #D4412A;
  --coral-dark: #A93220;
  --coral-soft: #FFE6DE;
  --teal: #189C8C;
  --teal-dark: #0E7568;
  --teal-soft: #D9F3EE;
  --sun: #FFC53D;
  --sun-dark: #E0A417;
  --sun-soft: #FFF2CC;
  --lilac: #8C7AF0;
  --lilac-soft: #ECE8FF;
  --sky: #4BA7E8;
  --sky-soft: #DFF0FD;
  --cream: #FFF8EC;
  --cream-2: #FFEFD6;
  --white: #FFFFFF;
  --text: #1C285C;
  --muted: #535C86;
  --line: #EADFCB;

  --font-head: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 12px 30px rgba(28, 40, 92, .10);
  --shadow-lg: 0 22px 50px rgba(28, 40, 92, .16);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
main { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-btn); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.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 { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 200; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Dugmad ---------- */
.btn {
  --b: var(--coral-btn); --b-dark: var(--coral-dark); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1;
  padding: 16px 28px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b); color: var(--c); text-decoration: none;
  box-shadow: 0 5px 0 var(--b-dark);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover { color: var(--c); transform: translateY(-2px); box-shadow: 0 7px 0 var(--b-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--b-dark); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--teal { --b: var(--teal-dark); --b-dark: #095449; }
.btn--sun { --b: var(--sun); --b-dark: var(--sun-dark); --c: var(--navy); }
.btn--white { --b: #fff; --b-dark: #E3D7C1; --c: var(--navy); }
.btn--navy { --b: var(--navy); --b-dark: #0E1640; }
.btn--small { font-size: .98rem; padding: 12px 20px 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 6px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  background: var(--sun-soft); color: var(--navy);
}
.pill svg { width: 18px; height: 18px; color: var(--coral); }

/* ---------- Gornja traka i zaglavlje ---------- */
.topbar {
  background: var(--teal-dark); color: #fff;
  font-weight: 700; font-size: .9rem; text-align: center;
  padding: 8px 12px;
}
.topbar span { display: inline-flex; align-items: center; gap: 6px; margin: 0 10px; }
@media (max-width: 560px) {
  .topbar { font-size: .78rem; padding: 7px 8px; }
  .topbar span { margin: 0 4px; }
  .topbar svg { display: none; }
  .topbar span + span::before { content: '·'; margin-right: 6px; }
}
.topbar svg { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(28,40,92,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.logo { display: block; flex: none; transition: transform .25s; }
.logo img { height: 44px; width: auto; }
.logo:hover { transform: rotate(-3deg) scale(1.04); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  color: var(--navy); text-decoration: none;
  padding: 9px 16px 7px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--sun-soft); color: var(--navy); }
.main-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: #fff; text-decoration: none;
  background: var(--coral-btn); padding: 11px 18px 9px; border-radius: 999px;
  box-shadow: 0 4px 0 var(--coral-dark);
  transition: transform .15s;
}
.cart-link:hover { color: #fff; transform: translateY(-2px); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--sun); color: var(--navy); font-size: .9rem; line-height: 1;
}
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45) rotate(-8deg); } 100% { transform: scale(1); } }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 16px;
  border: 0; background: var(--sun-soft); cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; gap: 4px; padding: 12px;
    background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 14px 18px 12px; font-size: 1.15rem; }
  .cart-link { margin-left: auto; }
  .cart-link .cart-label { display: none; }
  .header-inner { gap: 12px; position: relative; }
  .logo img { height: 38px; }
}

/* ---------- Ukrasi ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.float { animation: float 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; animation-duration: 7s; }
.float.d3 { animation-delay: -4s; animation-duration: 8s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(8deg); } }
.spin-slow { animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.squiggle { position: relative; white-space: nowrap; display: inline-block; }
.squiggle::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 Q 12 2 22 8 T 42 8 T 62 8 T 82 8 T 102 8 T 118 7' fill='none' stroke='%23FFC53D' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  z-index: -1;
}

.wave { display: block; width: 100%; height: 60px; }

/* ---------- Naslovni deo (hero) ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin: 18px 0 18px; }
.hero h1 .c1 { color: var(--coral); }
.hero h1 .c2 { color: var(--teal); }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-weight: 700; color: var(--navy); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 26px; height: 26px; }

.hero-art { position: relative; }
.blob-frame {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  border-radius: 58% 42% 46% 54% / 50% 54% 46% 50%;
  overflow: hidden; border: 10px solid #fff; box-shadow: var(--shadow-lg);
  animation: morph 12s ease-in-out infinite;
  background: var(--sun-soft);
}
.blob-frame img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 46% 54% / 50% 54% 46% 50%; }
  50% { border-radius: 46% 54% 56% 44% / 56% 44% 56% 44%; }
}
.sticker {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 20px; padding: 12px 16px;
  box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 700; line-height: 1.15; font-size: 1rem;
}
.sticker small { display: block; font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: .82rem; }
.sticker .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.sticker .ico svg { width: 26px; height: 26px; }
.sticker--1 { left: -26px; bottom: 16%; transform: rotate(-4deg); }
.sticker--2 { right: -14px; top: 9%; transform: rotate(5deg); }

@media (max-width: 900px) {
  .hero { padding: 28px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 480px; margin-inline: auto; width: 100%; }
  .sticker--1 { left: -6px; }
  .sticker--2 { right: -6px; }
}

/* ---------- Traka koja klizi ---------- */
.marquee {
  background: var(--navy); color: #fff; overflow: hidden;
  padding: 16px 0 13px; transform: rotate(-1.2deg); margin: -10px -20px 0;
  box-shadow: 0 10px 0 var(--sun);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; white-space: nowrap;
}
.marquee-track svg { width: 22px; height: 22px; color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekcije ---------- */
.section { padding: 90px 0; position: relative; }
.section--tight { padding: 60px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 38px; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0; font-size: 1.08rem; }
.section-head .kicker { margin-bottom: 10px; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--coral-btn); text-transform: uppercase; letter-spacing: .08em;
}
.center { text-align: center; }
.section-head.center { flex-direction: column; align-items: center; }

.bg-white { background: #fff; }
.bg-teal { background: var(--teal-soft); }
.bg-sun { background: var(--sun-soft); }

/* ---------- Kategorije ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cat {
  --tint: var(--coral-soft); --ring: var(--coral);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  text-decoration: none; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.15;
}
.cat-bubble {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: var(--tint); padding: 14%; position: relative;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.cat-bubble::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 3px dashed var(--ring); opacity: 0; transition: opacity .3s, transform .6s;
}
.cat-bubble img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(28,40,92,.12); }
.cat:hover { color: var(--navy); }
.cat:hover .cat-bubble { transform: translateY(-6px) rotate(-4deg); }
.cat:hover .cat-bubble::after { opacity: 1; transform: rotate(40deg); }
.cat[data-boja="teal"] { --tint: var(--teal-soft); --ring: var(--teal); }
.cat[data-boja="sun"] { --tint: var(--sun-soft); --ring: var(--sun-dark); }
.cat[data-boja="lilac"] { --tint: var(--lilac-soft); --ring: var(--lilac); }
.cat[data-boja="sky"] { --tint: var(--sky-soft); --ring: var(--sky); }
@media (max-width: 900px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .cats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cat { font-size: 1.02rem; }
}

/* ---------- Kartica proizvoda ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.card {
  --tint: var(--coral-soft);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); padding: 12px;
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.card:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
.card[data-tint="1"] { --tint: var(--teal-soft); }
.card[data-tint="2"] { --tint: var(--sun-soft); }
.card[data-tint="3"] { --tint: var(--lilac-soft); }
.card[data-tint="4"] { --tint: var(--sky-soft); }
.card-img { display: block; background: var(--tint); border-radius: 20px; padding: 10px; }
.card-img img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #fff;
  transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.03); }
.badge {
  position: absolute; top: 4px; left: 4px; z-index: 2;
  font-family: var(--font-head); font-weight: 800; font-size: .92rem; line-height: 1;
  padding: 9px 13px 7px; border-radius: 999px; transform: rotate(-8deg);
  background: var(--sun); color: var(--navy); box-shadow: 0 3px 0 var(--sun-dark);
}
.badge--novo { background: var(--teal-dark); color: #fff; box-shadow: 0 3px 0 #095449; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 6px; font-size: .84rem; font-weight: 700; color: var(--muted); }
.age { display: inline-flex; align-items: center; gap: 4px; background: var(--cream-2); color: var(--navy); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; line-height: 1.2; margin: 0 0 12px; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card-title a:hover { color: var(--coral-btn); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); line-height: 1; white-space: nowrap; }
.price small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--muted); margin-right: 3px; }
.card .btn { position: relative; z-index: 2; padding: 11px 16px 10px; font-size: .95rem; box-shadow: 0 4px 0 var(--b-dark); }
.card .btn svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .card { padding: 8px; border-radius: 20px; }
  .card-body { padding: 10px 4px 4px; }
  .card-title { font-size: 1.02rem; }
  .price { font-size: 1.15rem; }
  .card .btn { width: 100%; }
}

/* ---------- Kockasti svet baner ---------- */
.banner {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff; border-radius: 40px;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center;
  box-shadow: var(--shadow-lg);
}
.banner-text { padding: 56px; position: relative; z-index: 1; }
.banner h2 { color: #fff; }
.banner p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 42ch; margin-bottom: 28px; }
.banner .kicker { color: var(--sun); }
.banner-img { align-self: stretch; min-height: 380px; position: relative; }
.banner-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-img::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(28,40,92,0) 30%);
}
.pixels { position: absolute; right: 24px; top: 24px; z-index: 2; display: grid; grid-template-columns: repeat(3, 16px); gap: 5px; }
.pixels i { width: 16px; height: 16px; border-radius: 4px; background: var(--sun); }
.pixels i:nth-child(2n) { background: var(--coral); }
.pixels i:nth-child(3n) { background: var(--teal); }
.pixels i:nth-child(5) { opacity: 0; }
@media (max-width: 900px) {
  .banner { grid-template-columns: 1fr; }
  .banner-text { padding: 38px 28px; }
  .banner-img { min-height: 260px; order: -1; }
  .banner-img::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(28,40,92,0) 35%); }
}

/* ---------- Prednosti ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); position: relative;
}
.feature:nth-child(odd) { transform: rotate(-1deg); }
.feature:nth-child(even) { transform: rotate(1deg) translateY(10px); }
.feature-ico { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 18px; }
.feature-ico svg { width: 34px; height: 34px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature:nth-child(n) { transform: none; } }

.tint-coral { background: var(--coral-soft); color: var(--coral-btn); }
.tint-teal { background: var(--teal-soft); color: var(--teal-dark); }
.tint-sun { background: var(--sun-soft); color: #B07D00; }
.tint-lilac { background: var(--lilac-soft); color: #5B47C9; }
.tint-sky { background: var(--sky-soft); color: #1E6FAE; }

/* ---------- Koraci ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; position: relative; }
.step { text-align: center; padding: 0 10px; position: relative; }
.step-num {
  width: 92px; height: 92px; margin: 0 auto 20px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: #fff; line-height: 1;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  box-shadow: 0 6px 0 rgba(28,40,92,.15);
}
.step:nth-child(1) .step-num { background: var(--coral-btn); }
.step:nth-child(2) .step-num { background: var(--teal-dark); transform: rotate(6deg); }
.step:nth-child(3) .step-num { background: var(--sun); color: var(--navy); transform: rotate(-5deg); }
.step p { color: var(--muted); max-width: 30ch; margin-inline: auto; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Poziv na kontakt ---------- */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: var(--coral-btn); color: #fff; border-radius: 40px; padding: 64px 28px;
}
.cta-box h2 { color: #fff; }
.cta-box p { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 50ch; margin: 0 auto 26px; }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); margin-top: 40px; position: relative; }
.site-footer .wave { position: absolute; bottom: 100%; left: 0; color: var(--navy); height: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 50px 0 36px; }
.footer-logo {
  display: inline-block; background: #fff; border-radius: 22px; padding: 14px 18px 10px;
  transform: rotate(-3deg); box-shadow: 0 6px 0 var(--sun); margin-bottom: 22px;
}
.footer-logo img { height: 40px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .92rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Zaglavlje podstranica ---------- */
.page-hero { position: relative; overflow: hidden; padding: 50px 0 40px; text-align: center; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin: 0 auto; }
.crumbs { font-size: .92rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral-btn); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Prodavnica: filteri ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.chip {
  border: 2px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 9px 18px 7px; border-radius: 999px; color: var(--navy);
  transition: transform .15s, background .2s, border-color .2s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.toolbar .count { font-weight: 700; color: var(--muted); }
.toolbar-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.field-inline { position: relative; }
.field-inline svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 2px solid var(--line); background: #fff; border-radius: 16px;
  padding: 12px 16px; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field-inline .input { padding-left: 40px; min-width: 220px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.select { appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C285C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty svg { width: 120px; height: 120px; margin: 0 auto 16px; }
.empty h2, .empty h3 { color: var(--navy); }

/* ---------- Stranica proizvoda ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: start; padding: 30px 0 70px; }
.gallery-main {
  background: var(--coral-soft); border-radius: 34px; padding: 16px; position: relative;
}
.gallery-main img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 24px; }
.gallery-main .badge { top: 14px; left: 14px; font-size: 1.05rem; padding: 11px 16px 9px; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb {
  width: 78px; height: 78px; padding: 3px; border-radius: 16px; border: 3px solid transparent;
  background: #fff; cursor: pointer; box-shadow: var(--shadow); transition: transform .15s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.thumb:hover { transform: translateY(-3px); }
.thumb[aria-current="true"] { border-color: var(--coral); }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 8px 0 12px; }
.product-lead { font-size: 1.15rem; color: var(--muted); }
.product-price { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; margin: 18px 0 24px; color: var(--navy); }
.option-label { font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; display: block; }
.option-label span { font-family: var(--font-body); color: var(--muted); font-weight: 600; }
.options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.option {
  border: 2px solid var(--line); background: #fff; border-radius: 16px; cursor: pointer;
  padding: 10px 16px; font-weight: 700; line-height: 1.2; text-align: left;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.option small { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; }
.option:hover { transform: translateY(-2px); border-color: var(--navy); }
.option[aria-checked="true"] { border-color: var(--teal-dark); background: var(--teal-soft); box-shadow: 0 4px 0 var(--teal-dark); }
.buy-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.buy-row .btn { flex: 1; min-width: 220px; }
.qty { display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 4px; }
.qty button {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream-2); cursor: pointer;
  font-size: 1.4rem; font-weight: 800; line-height: 1; display: grid; place-items: center; color: var(--navy);
}
.qty button:hover { background: var(--sun); }
.qty output, .qty input { width: 44px; text-align: center; font-weight: 800; font-size: 1.1rem; border: 0; background: transparent; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 16px; font-weight: 600; }
.perks .ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.perks .ico svg { width: 22px; height: 22px; }
.details { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; background: #fff; border-radius: 34px; padding: 44px; box-shadow: var(--shadow); }
.details h2 { font-size: 1.9rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist svg { width: 26px; height: 26px; flex: none; color: var(--teal-dark); }
.warning {
  margin-top: 24px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--sun-soft); border-radius: 18px; padding: 14px 18px; font-size: .95rem; font-weight: 600;
}
.warning svg { width: 24px; height: 24px; flex: none; color: #B07D00; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 30px; padding-top: 10px; }
  .details { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* ---------- Korpa i poručivanje ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; padding-bottom: 60px; }
.panel { background: #fff; border-radius: 30px; padding: 30px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.6rem; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 2px dashed var(--line); }
.cart-item:first-child { padding-top: 0; }
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; background: var(--cream-2); }
.cart-item h3 { font-size: 1.1rem; margin: 0 0 2px; }
.cart-item h3 a { color: var(--navy); text-decoration: none; }
.cart-item h3 a:hover { color: var(--coral-btn); }
.cart-item .variant { color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.cart-item-end { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-item .qty button { width: 34px; height: 34px; font-size: 1.15rem; }
.cart-item .qty output { width: 34px; font-size: 1rem; }
.remove { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.remove:hover { color: var(--coral-btn); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-weight: 600; }
.summary-row.total { border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; }
.summary-note { display: flex; gap: 10px; align-items: center; background: var(--teal-soft); color: var(--teal-dark); border-radius: 16px; padding: 12px 14px; font-weight: 700; margin: 16px 0 20px; font-size: .95rem; }
.summary-note svg { width: 24px; height: 24px; flex: none; }
.mini-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.mini-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .95rem; }
.mini-items img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--cream-2); }
.mini-items .q { color: var(--muted); font-weight: 600; font-size: .86rem; }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .panel { padding: 22px; }
}
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img { width: 72px; height: 72px; }
  .cart-item-end { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label .opt { font-weight: 600; color: var(--muted); font-size: .9rem; }
.field .hint { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.field .error { color: var(--coral-dark); font-weight: 700; font-size: .88rem; margin-top: 4px; display: none; }
.field.invalid .input, .field.invalid .textarea { border-color: var(--coral); }
.field.invalid .error { display: block; }
.textarea { min-height: 110px; resize: vertical; }
.pay-option {
  display: flex; gap: 14px; align-items: center; border: 2px solid var(--teal-dark); background: var(--teal-soft);
  border-radius: 18px; padding: 16px 18px; font-weight: 700;
}
.pay-option input { width: 22px; height: 22px; accent-color: var(--teal-dark); }
.pay-option small { display: block; font-weight: 600; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--coral-btn); }
.form-msg { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 16px; font-weight: 700; }
.form-msg.show { display: block; }
.form-msg.err { background: var(--coral-soft); color: var(--coral-dark); }
.form-msg.ok { background: var(--teal-soft); color: var(--teal-dark); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Hvala ---------- */
.thanks { text-align: center; max-width: 680px; margin: 0 auto; padding: 40px 0 70px; }
.thanks-burst { width: 140px; height: 140px; margin: 0 auto 20px; }
.order-no { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; background: var(--sun); padding: 8px 22px 5px; border-radius: 999px; transform: rotate(-2deg); margin: 8px 0 20px; }

/* ---------- Tekstualne stranice ---------- */
.prose { background: #fff; border-radius: 34px; padding: 50px clamp(22px, 5vw, 64px); box-shadow: var(--shadow); max-width: 860px; margin: 0 auto 70px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-weight: 700; font-size: .95rem; }
.prose .callout { background: var(--sun-soft); border-radius: 18px; padding: 16px 20px; font-weight: 600; margin: 0 0 1.2em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-img { border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(2deg); border: 8px solid #fff; }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
@media (max-width: 800px) { .info-cards { grid-template-columns: 1fr; } }
.info-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; }
.info-card .feature-ico { margin: 0 auto 14px; }
.info-card strong { display: block; font-family: var(--font-head); font-size: 1.7rem; line-height: 1.1; color: var(--navy); }
.info-card span { color: var(--muted); font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; padding-bottom: 70px; }
.contact-card { background: var(--teal-dark); color: #fff; border-radius: 34px; padding: 40px 34px; position: relative; overflow: hidden; }
.contact-card h2 { color: #fff; font-size: 1.9rem; }
.contact-card p { color: rgba(255,255,255,.9); }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); padding: 14px 20px; border-radius: 18px; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail svg { width: 24px; height: 24px; flex: none; color: var(--coral-btn); }
.contact-mail:hover { color: var(--coral-btn); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Obaveštenje (toast) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  translate: -50% 140%; opacity: 0;
  display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 12px 10px 20px;
  box-shadow: var(--shadow-lg); font-weight: 700; max-width: calc(100% - 24px);
  transition: translate .45s cubic-bezier(.34,1.56,.64,1), opacity .3s;
}
.toast.show { translate: -50% 0; opacity: 1; }
.toast svg { width: 26px; height: 26px; color: var(--sun); flex: none; }
.toast a { background: var(--sun); color: var(--navy); text-decoration: none; padding: 9px 16px 7px; border-radius: 999px; font-family: var(--font-head); white-space: nowrap; }

/* ---------- Pojavljivanje pri skrolovanju ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
