/* ==========================================================================
   Videoporuka: tema. Mobile-first, bez zadanih stilova preglednika i teme.
   Pravila dizajna: CLAUDE.md (Dizajn) i docs/dizajn-web.md
   ========================================================================== */

/* ---------- Fontovi (lokalno, latin + latin-ext za č ć đ š ž) ---------- */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/young-serif-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/young-serif-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/alegreya-sans-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/alegreya-sans-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/caveat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/caveat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokeni ---------- */
:root {
  --night-0: #070d1f;
  --night-1: #0b1430;
  --night-2: #13224a;
  --night-3: #1e3263;
  --aurora-1: #3ee6c1;
  --aurora-2: #8b7cf6;
  --candle: #ffcf6e;
  --candle-2: #f2b84b;
  --candle-3: #c98a1e;
  --berry: #d7263d;
  --berry-2: #a3172b;
  --pine: #1f5c4a;
  --pine-2: #143f33;
  --snow: #f4f8ff;
  --frost: #dbe7f7;
  --paper: #fbf5ea;
  --ink: #1d1a24;
  --ink-soft: #4b4757;
  --muted-dark: #a9b6d3;
  --line-light: #e3e9f3;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-line: rgba(255, 255, 255, 0.14);

  --f-display: 'Young Serif', Georgia, serif;
  --f-body: 'Alegreya Sans', 'Segoe UI', sans-serif;
  --f-hand: 'Caveat', 'Segoe Print', cursive;

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.3, 1.5, 0.5, 1);
  --shadow-glow: 0 0 24px rgba(255, 207, 110, 0.45), 0 0 64px rgba(255, 207, 110, 0.18);
  --wrap: 1160px;
  --header-h: 64px;
}

/* ---------- Osnova (vlastiti reset) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100vh; background: var(--night-1); color: var(--snow);
  font-family: var(--f-body); font-size: 1.125rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--candle); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--candle); color: var(--ink); }
.vp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--candle); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; }
.vp-skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 7vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 3.6vw, 1.6rem); }
p { text-wrap: pretty; }
.vp-hand { font-family: var(--f-hand); font-weight: 600; }
.vp-wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.vp-narrow { width: min(100% - 40px, 720px); margin-inline: auto; }

/* ---------- Gumbi ---------- */
.vp-btn {
  --b-bg: linear-gradient(180deg, #ffe09a, var(--candle-2));
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--b-bg); color: var(--ink); font-weight: 700; font-size: 1.12rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 -3px 0 rgba(0, 0, 0, 0.18) inset, 0 10px 30px rgba(242, 184, 75, 0.35);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.vp-btn::after { /* svjetlosni odsjaj koji prijeđe preko gumba */
  content: ''; position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-18deg); transition: left 0.7s var(--ease-out);
}
.vp-btn:hover::after, .vp-btn:focus-visible::after { left: 120%; }
.vp-btn:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 -3px 0 rgba(0, 0, 0, 0.18) inset, var(--shadow-glow); }
.vp-btn:active { transform: scale(0.97); }
.vp-btn .vp-btn__price { font-family: var(--f-hand); font-size: 1.45rem; line-height: 1; padding-left: 12px; border-left: 2px dashed rgba(29, 26, 36, 0.35); }
.vp-btn--ghost { --b-bg: var(--glass); color: var(--snow); border: 1.5px solid var(--glass-line); box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vp-btn--ghost:hover { box-shadow: 0 0 0 1px rgba(255, 207, 110, 0.5), 0 0 30px rgba(255, 207, 110, 0.2); }
.vp-btn--berry { --b-bg: linear-gradient(180deg, #ee3f55, var(--berry-2)); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 -3px 0 rgba(0, 0, 0, 0.2) inset, 0 10px 30px rgba(215, 38, 61, 0.35); }
.vp-btn--block { width: 100%; }
.vp-btn__play { width: 26px; height: 26px; border-radius: 50%; background: var(--candle); display: grid; place-items: center; }
.vp-btn__play svg { width: 12px; height: 12px; fill: var(--ink); margin-left: 2px; }

/* ---------- Zaglavlje ---------- */
.vp-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
  display: flex; align-items: center; transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s;
}
.vp-header.is-scrolled { background: rgba(9, 16, 38, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--glass-line); }
.vp-header__in { display: flex; align-items: center; gap: 16px; }
.vp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.01em; }
.vp-logo svg { width: 30px; height: 30px; }
.vp-logo b { font-weight: 400; color: var(--candle); }
.vp-nav { display: none; margin-left: auto; gap: 4px; }
.vp-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--frost); font-weight: 500; transition: background 0.2s, color 0.2s; }
.vp-nav a:hover { background: var(--glass); color: #fff; }
.vp-header .vp-btn { min-height: 44px; padding: 0 18px; font-size: 1rem; margin-left: auto; }
@media (min-width: 900px) { .vp-nav { display: flex; } .vp-header .vp-btn { margin-left: 8px; } }

/* ---------- Hero: zimska noć u gradiću ---------- */
.vp-hero { position: relative; min-height: max(100svh, 720px); overflow: clip; isolation: isolate; display: flex; flex-direction: column; }
.vp-sky { position: absolute; inset: 0; z-index: -3; background: radial-gradient(120% 80% at 70% 0%, #24386f 0%, transparent 60%), linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 30%, var(--night-2) 65%, var(--night-3) 100%); }
.vp-aurora { position: absolute; inset: -10% -20% 40%; z-index: -2; filter: blur(60px); opacity: 0.55; pointer-events: none; }
.vp-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: aurora 18s ease-in-out infinite alternate; }
.vp-aurora i:nth-child(1) { width: 55%; height: 45%; left: 5%; top: 20%; background: radial-gradient(closest-side, rgba(62, 230, 193, 0.55), transparent); }
.vp-aurora i:nth-child(2) { width: 50%; height: 40%; left: 40%; top: 5%; background: radial-gradient(closest-side, rgba(139, 124, 246, 0.5), transparent); animation-duration: 24s; animation-delay: -6s; }
.vp-aurora i:nth-child(3) { width: 40%; height: 35%; left: 60%; top: 30%; background: radial-gradient(closest-side, rgba(62, 230, 193, 0.35), transparent); animation-duration: 30s; animation-delay: -12s; }
@keyframes aurora { 0% { transform: translate3d(-4%, 0, 0) scale(1); } 50% { transform: translate3d(5%, -6%, 0) scale(1.15); } 100% { transform: translate3d(-2%, 4%, 0) scale(0.95); } }
.vp-stars { position: absolute; inset: 0 0 35%; z-index: -2; width: 100%; height: 65%; }
.vp-star { fill: #fff; }
.vp-star.tw { animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
.vp-moon {
  position: absolute; z-index: -2; top: calc(var(--header-h) + 18px); right: 7%; width: clamp(52px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffdf6 0%, #f8ecc9 55%, #e7d29b 100%);
  box-shadow: 0 0 40px 10px rgba(248, 236, 201, 0.25), 0 0 140px 50px rgba(248, 236, 201, 0.1);
}
.vp-moon::before, .vp-moon::after { content: ''; position: absolute; border-radius: 50%; background: rgba(196, 170, 112, 0.28); }
.vp-moon::before { width: 20%; height: 20%; left: 54%; top: 28%; }
.vp-moon::after { width: 12%; height: 12%; left: 30%; top: 58%; }

/* slojevi grada (paralaksa: JS postavlja --py i --px) */
.vp-layer { position: absolute; left: -4%; right: -4%; bottom: 0; width: 108%; pointer-events: none; transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px), 0); will-change: transform; }
.vp-layer--hills { z-index: -1; height: clamp(170px, 26vw, 430px); }
.vp-layer--town { z-index: -1; height: clamp(150px, 24vw, 380px); }
.vp-layer--tree { z-index: -1; height: clamp(200px, 30vw, 440px); }
.vp-layer--front { z-index: 2; height: clamp(60px, 9vw, 170px); }
.vp-snow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.vp-win { fill: var(--candle); }
.vp-win.off { fill: #1c2a4a; }
.vp-win.fl { animation: flicker 6s infinite; }
@keyframes flicker { 0%, 46%, 54%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.vp-glow { filter: drop-shadow(0 0 6px rgba(255, 207, 110, 0.9)); }
.vp-smoke { fill: none; stroke: rgba(219, 231, 247, 0.28); stroke-width: 6; stroke-linecap: round; animation: smoke 7s ease-in-out infinite; }
@keyframes smoke { 0% { opacity: 0; transform: translateY(8px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px); } }

/* lampice: bor u središtu i girlanda */
.vp-bulb { transition: opacity 0.4s ease, filter 0.4s ease; animation: bulb 2.8s ease-in-out infinite; }
.vp-bulb.c0 { fill: var(--candle); color: var(--candle); }
.vp-bulb.c1 { fill: #ff5a6e; color: #ff5a6e; }
.vp-bulb.c2 { fill: #6ff0c8; color: #6ff0c8; }
.vp-bulb.c3 { fill: #9cc3ff; color: #9cc3ff; }
@keyframes bulb { 0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px currentColor); } 50% { opacity: 0.4; filter: none; } }
.lights-on .vp-bulb { animation: none; opacity: 1; filter: drop-shadow(0 0 8px currentColor) drop-shadow(0 0 16px currentColor); }
.vp-star-top { fill: var(--candle); filter: drop-shadow(0 0 10px var(--candle)); transform-origin: center; transform-box: fill-box; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vp-garland { position: absolute; top: var(--header-h); left: 0; right: 0; height: 64px; z-index: 3; width: 100%; pointer-events: none; }

.vp-hero__content { position: relative; z-index: 4; flex: 1; display: grid; align-content: center; gap: 28px; padding: calc(var(--header-h) + 70px) 0 clamp(140px, 22vw + 60px, 320px); }
.vp-hero h1 { font-size: clamp(2.6rem, 3.6vw + 1.1rem, 4.6rem); max-width: 16ch; text-shadow: 0 4px 30px rgba(7, 13, 31, 0.6); }
.vp-rot { display: inline-grid; color: var(--candle); vertical-align: top; }
.vp-rot > span { grid-area: 1 / 1; transition: transform 0.6s var(--ease-out), opacity 0.6s ease, filter 0.6s; white-space: nowrap; }
.vp-rot > span[aria-hidden='true'] { opacity: 0; transform: translateY(40%); filter: blur(6px); }
.vp-hero__note { font-family: var(--f-hand); font-size: clamp(1.5rem, 5vw, 2rem); color: #ffe3a3; transform: rotate(-2deg); margin-top: -8px; }
.vp-hero__lead { font-size: clamp(1.15rem, 3.6vw, 1.35rem); color: var(--frost); max-width: 44ch; }
.vp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.vp-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--frost); font-size: 0.95rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vp-chip svg { width: 16px; height: 16px; flex: none; }
.vp-chip--hot { color: var(--ink); background: linear-gradient(180deg, #ffe7ad, var(--candle)); border-color: transparent; font-weight: 700; }
.vp-count { font-variant-numeric: tabular-nums; }

/* video kartica u heroju */
.vp-player { position: relative; width: min(100%, 420px); border-radius: var(--r-l); padding: 10px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)); border: 1px solid var(--glass-line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), var(--shadow-glow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: rotate(-2deg); transition: transform 0.6s var(--ease-spring); }
.vp-player:hover { transform: rotate(0) translateY(-4px); }
.vp-player__screen { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--r-l) - 8px); overflow: hidden; background: radial-gradient(circle at 50% 35%, #3a2b20, #120b08); display: grid; place-items: center; }
.vp-player__screen video { width: 100%; height: 100%; object-fit: cover; }
.vp-player__poster { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; background: radial-gradient(circle at 50% 30%, rgba(255, 207, 110, 0.35), transparent 60%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 90"><rect width="160" height="90" fill="%23170f0a"/><g fill="%23ffcf6e" opacity=".5"><circle cx="20" cy="70" r="1.2"/><circle cx="140" cy="20" r="1"/><circle cx="110" cy="75" r="1.4"/></g></svg>') center / cover; }
.vp-player__poster b { display: block; font-family: var(--f-hand); font-size: 1.6rem; color: var(--candle); }
.vp-player__poster small { color: var(--muted-dark); font-size: 0.85rem; }
.vp-play { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 207, 110, 0.95); box-shadow: 0 0 0 10px rgba(255, 207, 110, 0.18), var(--shadow-glow); margin: 0 auto 10px; transition: transform 0.3s var(--ease-spring); }
.vp-play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 4px; }
.vp-player:hover .vp-play { transform: scale(1.08); }
.vp-play::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--candle); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
.vp-player__tag { position: absolute; top: -14px; right: 18px; font-family: var(--f-hand); font-size: 1.25rem; background: var(--berry); color: #fff; padding: 2px 14px 4px; border-radius: 999px; transform: rotate(4deg); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }

@media (min-width: 960px) {
  .vp-hero__content { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
  .vp-player { justify-self: end; }
}

/* ---------- Sekcije ---------- */
.vp-section { position: relative; padding: clamp(72px, 12vw, 128px) 0; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.vp-section--snow { background: linear-gradient(180deg, var(--snow) 0%, #eaf1fb 100%); color: var(--ink); }
.vp-section--night { background: radial-gradient(90% 60% at 50% 0%, var(--night-3), transparent 70%), var(--night-1); }
.vp-head { display: grid; gap: 10px; margin-bottom: clamp(36px, 6vw, 56px); max-width: 720px; }
.vp-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.vp-head__note { font-family: var(--f-hand); font-size: 1.6rem; color: var(--berry); transform: rotate(-2deg); }
.vp-section--night .vp-head__note { color: var(--candle); }
.vp-head p:last-child { color: var(--ink-soft); font-size: 1.15rem; }
.vp-section--night .vp-head p:last-child { color: var(--muted-dark); }
.vp-drift { position: absolute; left: 0; right: 0; width: 100%; height: clamp(36px, 6vw, 70px); pointer-events: none; }
.vp-drift--top { top: -1px; transform: scaleY(-1); }
.vp-drift--bottom { bottom: -1px; }

/* reveal pri skrolanju */
.js .vp-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .vp-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Koraci (staza sa stopama u snijegu) ---------- */
.vp-steps { display: grid; gap: 22px; position: relative; }
.vp-step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 6px 18px; align-items: start; padding: 22px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line-light); box-shadow: 0 10px 30px rgba(19, 34, 74, 0.06); }
.vp-step__ico { grid-row: span 2; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(160deg, #fff6e0, #ffe2a3); box-shadow: inset 0 0 0 1px rgba(201, 138, 30, 0.2); }
.vp-step__ico svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vp-step__n { position: absolute; top: -12px; left: 16px; font-family: var(--f-hand); font-size: 1.8rem; color: var(--berry); transform: rotate(-8deg); background: var(--snow); padding: 0 6px; line-height: 1; }
.vp-step h3 { font-size: 1.35rem; }
.vp-step p { color: var(--ink-soft); }
.vp-path { display: none; }
@media (min-width: 900px) {
  .vp-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .vp-step { grid-template-columns: 1fr; padding: 28px; }
  .vp-step__ico { grid-row: auto; }
  .vp-path { display: block; position: absolute; left: 8%; right: 8%; top: -46px; height: 40px; width: 84%; }
  .vp-path path { fill: none; stroke: #c7d4ea; stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
}

.vp-more { margin-top: clamp(40px, 7vw, 64px); text-align: center; display: grid; gap: 10px; justify-items: center; }
.vp-more p { color: var(--ink-soft); }
.vp-more ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; }
.vp-more li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); box-shadow: 0 6px 16px rgba(19, 34, 74, 0.06); font-weight: 500; }
.vp-more li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--pine) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round"><path d="M6 12l4 4 8-8"/></svg>') center / 12px no-repeat; }

/* ---------- Likovi: staklene kartice sa svjetlom koje prati miš ---------- */
.vp-chars { display: grid; gap: 22px; perspective: 1200px; }
.vp-char {
  --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-l); padding: 26px 24px 24px; color: #fff; text-decoration: none;
  display: grid; gap: 10px; min-height: 380px; align-content: end;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.5s var(--ease-out), box-shadow 0.4s;
  box-shadow: 0 20px 50px rgba(19, 34, 74, 0.25);
}
.vp-char::before { /* reflektor koji prati kursor */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 230, 170, 0.35), transparent 45%);
}
.vp-char:hover::before, .vp-char:focus-visible::before { opacity: 1; }
.vp-char::after { /* rub koji zasvijetli */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 220, 140, 0.95), rgba(255, 255, 255, 0.15) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.vp-char--nikola { background: radial-gradient(120% 80% at 50% 10%, #c63a4b, #7a1324 70%), #7a1324; }
.vp-char--krampus { background: radial-gradient(120% 80% at 50% 10%, #4a3340, #1e1219 70%), #1e1219; }
.vp-char--djed { background: radial-gradient(120% 80% at 50% 10%, #2f7a61, #123a2f 70%), #123a2f; }
.vp-char__art { position: absolute; inset: 18px 18px auto; height: 200px; display: grid; place-items: center; transform: translateZ(40px); }
.vp-char__art svg { height: 100%; width: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35)); transition: transform 0.6s var(--ease-spring); }
.vp-char:hover .vp-char__art svg { transform: translateY(-6px) scale(1.04); }
.vp-char__date { position: absolute; top: 18px; left: 22px; font-family: var(--f-hand); font-size: 1.3rem; opacity: 0.9; }
.vp-char__price { position: absolute; top: 18px; right: 20px; font-family: var(--f-display); font-size: 1.15rem; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); }
.vp-char h3 { font-size: 1.7rem; transform: translateZ(30px); }
.vp-char p { color: rgba(255, 255, 255, 0.85); transform: translateZ(20px); }
.vp-char__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--candle); transform: translateZ(20px); }
.vp-char__go svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-spring); }
.vp-char:hover .vp-char__go svg { transform: translateX(4px); }
.vp-peek { transform-origin: bottom center; transform-box: fill-box; }
.vp-char:hover .vp-peek { animation: peek 1s ease-in-out; }
@keyframes peek { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px) rotate(-5deg); } 70% { transform: translateY(-4px) rotate(4deg); } }
@media (min-width: 900px) { .vp-chars { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Dva načina + isprobaj ---------- */
.vp-modes { display: grid; gap: 20px; }
.vp-mode { position: relative; border-radius: var(--r-l); padding: 28px 24px; background: var(--glass); border: 1px solid var(--glass-line); display: grid; gap: 12px; align-content: start; }
.vp-mode__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 207, 110, 0.14); border: 1px solid rgba(255, 207, 110, 0.35); }
.vp-mode__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--candle); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp-mode p { color: var(--muted-dark); }
.vp-mode ul { margin: 4px 0 8px; padding-left: 0; list-style: none; display: grid; gap: 6px; color: var(--frost); }
.vp-mode li { display: flex; gap: 10px; }
.vp-mode li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--candle); box-shadow: 0 0 10px var(--candle); }
.vp-mode .vp-btn { justify-self: start; margin-top: auto; }
@media (min-width: 900px) { .vp-modes { grid-template-columns: 1fr 1fr; gap: 28px; } }

.vp-try { margin-top: clamp(48px, 8vw, 80px); display: grid; gap: 26px; align-items: center; }
.vp-try__form { display: grid; gap: 14px; }
.vp-try__form label { font-weight: 700; color: var(--frost); }
@media (min-width: 900px) { .vp-try { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }

/* pismo (pregled teksta) */
.vp-letter {
  position: relative; border-radius: 6px; padding: 30px 26px 26px; color: var(--ink);
  background: repeating-linear-gradient(180deg, transparent 0 33px, rgba(120, 150, 200, 0.2) 33px 34px), var(--paper);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); transform: rotate(-0.8deg);
}
.vp-letter::before { content: ''; position: absolute; top: -12px; left: 50%; width: 120px; height: 26px; margin-left: -60px; background: rgba(240, 228, 200, 0.85); transform: rotate(-2deg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.vp-letter__from { font-family: var(--f-hand); font-size: 1.35rem; color: var(--berry); }
.vp-letter__text { font-family: var(--f-hand); font-size: clamp(1.35rem, 4.4vw, 1.6rem); line-height: 34px; min-height: 6em; white-space: pre-wrap; }
.vp-letter__text mark { background: linear-gradient(180deg, transparent 55%, rgba(255, 207, 110, 0.65) 55%); color: inherit; padding: 0 2px; }
.vp-letter__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 0.95rem; color: var(--ink-soft); }
.vp-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--berry); vertical-align: -0.15em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Polja forme (vlastiti izgled) ---------- */
.vp-field { display: grid; gap: 6px; }
.vp-field > span { font-weight: 700; }
.vp-field small { font-weight: 400; color: var(--ink-soft); }
.vp-input, .vp-textarea {
  width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 14px; font-size: 1.08rem;
  background: #fff; color: var(--ink); border: 1.5px solid #d7e0ee; transition: border-color 0.2s, box-shadow 0.2s;
}
.vp-textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.vp-input::placeholder, .vp-textarea::placeholder { color: #9aa5b8; font-family: var(--f-hand); font-size: 1.3rem; }
.vp-input:focus, .vp-textarea:focus { outline: none; border-color: var(--candle-2); box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.28); }
.vp-section--night .vp-input { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: var(--glass-line); }
.vp-section--night .vp-input::placeholder { color: #8b98b8; }
.vp-upsell { margin-top: 20px; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; cursor: pointer; background: linear-gradient(160deg, #fff6dc, #fff); border: 2px dashed var(--candle-2); transition: border-color 0.2s, box-shadow 0.2s; }
.vp-upsell:has(input:checked) { border-style: solid; box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.25); }
.vp-upsell input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--candle-3); }
.vp-upsell span { display: grid; gap: 4px; }
.vp-upsell small { color: var(--ink-soft); font-size: 0.95rem; }
.vp-check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.vp-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--berry); }

/* ---------- Zlatna knjiga dobre djece ---------- */
.vp-book-wrap { display: grid; gap: 28px; align-items: center; }
.vp-book-form { display: grid; gap: 12px; }
.vp-book-form .vp-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vp-book-form .vp-input { flex: 1 1 200px; }
.vp-book { position: relative; perspective: 1600px; aspect-ratio: 16 / 10; width: min(100%, 560px); margin-inline: auto; }
.vp-book__cover, .vp-book__page { position: absolute; top: 0; bottom: 0; width: 50%; border-radius: 6px 14px 14px 6px; }
.vp-book__left { left: 0; border-radius: 14px 6px 6px 14px; background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(150, 110, 40, 0.18) 25px 26px), #f6ead0; box-shadow: inset -12px 0 24px rgba(120, 80, 20, 0.18); }
.vp-book__right { right: 0; background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(150, 110, 40, 0.18) 25px 26px), #fbf1dc; box-shadow: inset 12px 0 24px rgba(120, 80, 20, 0.14); display: grid; place-items: center; text-align: center; padding: 18px; color: var(--ink); }
.vp-book__left ul { list-style: none; margin: 0; padding: 22px 18px; font-family: var(--f-hand); font-size: 1.3rem; line-height: 26px; color: rgba(60, 40, 10, 0.55); filter: blur(1.2px); }
.vp-book__cover { right: 0; z-index: 3; transform-origin: left center; transform-style: preserve-3d; transition: transform 1.1s var(--ease-out); }
.vp-book__cover > span { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; border-radius: inherit; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: radial-gradient(circle at 30% 30%, #a3172b, #5e0c18); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); color: var(--candle); font-family: var(--f-display); font-size: clamp(1.1rem, 3.4vw, 1.6rem); }
.vp-book__cover > span::before { content: ''; position: absolute; inset: 10px; border: 2px solid rgba(255, 207, 110, 0.6); border-radius: 4px 10px 10px 4px; }
.vp-book.is-open .vp-book__cover { transform: rotateY(-178deg); }
.vp-book__flip { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; z-index: 2; background: #fbf1dc; transform-origin: left center; opacity: 0; border-radius: 6px 14px 14px 6px; }
.vp-book.is-searching .vp-book__flip { animation: flip 0.45s ease-in-out 4; opacity: 1; }
@keyframes flip { from { transform: rotateY(0); } to { transform: rotateY(-175deg); } }
.vp-book__status { font-family: var(--f-hand); font-size: 1.35rem; color: var(--ink-soft); }
.vp-book__name { font-family: var(--f-hand); font-weight: 700; font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; background: linear-gradient(180deg, #e8b44a, #a8701a); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(0 100% 0 0); }
.vp-book.is-found .vp-book__name { animation: write 1.2s var(--ease-out) forwards; }
@keyframes write { to { clip-path: inset(0 0 0 0); } }
.vp-book__seal { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--pine); color: #fff; font-weight: 700; font-size: 0.95rem; opacity: 0; transform: scale(0.6) rotate(-8deg); transition: opacity 0.4s 1.1s, transform 0.5s 1.1s var(--ease-spring); }
.vp-book.is-found .vp-book__seal { opacity: 1; transform: none; }
.vp-book-cta { display: grid; gap: 12px; padding: 20px; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-line); }
.vp-book-cta[hidden] { display: none; }
@media (min-width: 900px) { .vp-book-wrap { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }

/* ---------- Cijene ---------- */
.vp-prices { display: grid; gap: 18px; }
.vp-price { position: relative; border-radius: var(--r-l); padding: 28px 24px; background: #fff; border: 1px solid var(--line-light); display: grid; gap: 8px; box-shadow: 0 12px 30px rgba(19, 34, 74, 0.06); transition: transform 0.35s var(--ease-spring), box-shadow 0.35s; }
.vp-price:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(19, 34, 74, 0.12); }
.vp-price__amount { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.vp-price__amount small { font-size: 1rem; color: var(--ink-soft); font-family: var(--f-body); }
.vp-price p { color: var(--ink-soft); }
.vp-price--best { background: linear-gradient(170deg, #fff8e8, #fff); border: 1.5px solid var(--candle-2); }
.vp-price__badge { position: absolute; top: -13px; left: 22px; font-family: var(--f-hand); font-size: 1.25rem; padding: 0 12px 2px; border-radius: 999px; background: var(--berry); color: #fff; transform: rotate(-3deg); }
@media (min-width: 900px) { .vp-prices { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Rok ---------- */
.vp-deadline { display: grid; gap: 18px; justify-items: center; text-align: center; }
.vp-timer { display: flex; gap: 10px; }
.vp-timer div { min-width: 74px; padding: 12px 8px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); }
.vp-timer b { display: block; font-family: var(--f-display); font-size: 2.2rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--candle); text-shadow: 0 0 18px rgba(255, 207, 110, 0.5); }
.vp-timer span { font-size: 0.85rem; color: var(--muted-dark); }

/* ---------- Pitanja ---------- */
.vp-faq { display: grid; gap: 10px; }
.vp-faq details { border-radius: var(--r-m); background: #fff; border: 1px solid var(--line-light); transition: box-shadow 0.3s; }
.vp-faq details[open] { box-shadow: 0 12px 30px rgba(19, 34, 74, 0.08); }
.vp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 700; font-size: 1.12rem; }
.vp-faq summary::-webkit-details-marker { display: none; }
.vp-faq summary::after { content: ''; margin-left: auto; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease-out); }
.vp-faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.vp-faq details > div { padding: 0 20px 20px; color: var(--ink-soft); }

/* ---------- Podnožje ---------- */
.vp-footer { position: relative; padding: 90px 0 40px; background: var(--night-0); color: var(--muted-dark); }
.vp-footer__grid { display: grid; gap: 28px; }
.vp-footer h2 { font-size: 1.6rem; color: #fff; }
.vp-footer a { color: var(--frost); }
.vp-footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.vp-footer__ai { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--glass-line); font-size: 0.95rem; }
@media (min-width: 900px) { .vp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Stranica narudžbe ---------- */
.vp-order { padding: calc(var(--header-h) + 40px) 0 120px; background: radial-gradient(80% 50% at 50% 0%, var(--night-3), transparent 70%), var(--night-1); }
.vp-order__grid { display: grid; gap: 28px; }
.vp-panel { border-radius: var(--r-l); padding: 24px 20px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.vp-panel h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); margin-bottom: 6px; }
.vp-panel > p { color: var(--ink-soft); margin-bottom: 20px; }
.vp-step-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin: 26px 0 12px; }
.vp-step-title b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.95rem; }
.vp-pick { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.vp-pick label { position: relative; cursor: pointer; border-radius: 16px; padding: 12px 8px 10px; text-align: center; background: #fff; border: 2px solid #e6dcc8; display: grid; gap: 4px; justify-items: center; transition: transform 0.25s var(--ease-spring); }
.vp-pick label:hover { transform: translateY(-2px); }
.vp-pick input { position: absolute; opacity: 0; pointer-events: none; }
.vp-pick svg { width: 56px; height: 56px; }
.vp-pick strong { font-size: 0.98rem; line-height: 1.15; }
.vp-pick small { color: var(--ink-soft); font-size: 0.85rem; }
.vp-pick label.is-on { border-color: var(--berry); box-shadow: 0 0 0 4px rgba(215, 38, 61, 0.12); }
.vp-pick label:has(input:focus-visible) { outline: 3px solid var(--candle); outline-offset: 2px; }
.vp-pick label { color: var(--ink); }
.vp-section--night .vp-pick label { background: var(--glass); border-color: var(--glass-line); color: #fff; }
.vp-section--night .vp-pick label.is-on { border-color: var(--candle); box-shadow: 0 0 0 4px rgba(255, 207, 110, 0.18), 0 0 24px rgba(255, 207, 110, 0.25); }

.vp-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; gap: 5px; border-radius: 16px; background: #efe5d2; }
.vp-tabs button { min-height: 48px; border-radius: 12px; font-weight: 700; color: var(--ink-soft); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.vp-tabs button[aria-selected='true'] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
.vp-tabpanel { display: grid; gap: 16px; margin-top: 18px; }
.vp-tabpanel[hidden] { display: none; }
.vp-grid2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .vp-grid2 { grid-template-columns: 1fr 1fr; } }
.vp-children { display: grid; gap: 16px; }
.vp-child { position: relative; margin: 0; padding: 16px 16px 18px; border: 2px solid #e6dcc8; border-radius: 20px; background: #fffdf7; min-width: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.vp-child.is-active { border-color: var(--candle-2); box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.18); }
.vp-child__head { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-weight: 700; font-size: 1.05rem; max-width: calc(100% - 90px); }
.vp-child__num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--berry); color: #fff; font-size: 0.85rem; }
.vp-child__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-child__price { flex: none; font-family: var(--f-hand); font-size: 1.25rem; color: var(--ink-soft); font-weight: 600; }
.vp-child__remove { position: absolute; top: 10px; right: 14px; font-size: 0.95rem; color: var(--berry-2); font-weight: 700; padding: 4px 8px; border-radius: 8px; }
.vp-child__remove:hover { background: #fff0ee; }
.vp-child .vp-tabpanel { margin-top: 16px; }
.vp-child > .vp-tabs { margin-top: 26px; }
.vp-add-child { width: 100%; margin-top: 14px; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 18px; border: 2px dashed #d9c9a6; color: var(--ink); font-weight: 700; font-size: 1.05rem; background: transparent; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-spring); }
.vp-add-child:hover { border-color: var(--candle-2); background: #fff8e8; transform: translateY(-1px); }
.vp-add-child small { font-weight: 400; color: var(--ink-soft); }
.vp-add-child__plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--candle); font-size: 1.3rem; line-height: 1; }
.vp-add-child[hidden] { display: none; }
.vp-meter { height: 8px; border-radius: 99px; background: #e9dfcb; overflow: hidden; }
.vp-meter i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--pine), var(--candle-2)); transition: width 0.3s ease, background 0.3s; }
.vp-meter.is-over i { background: var(--berry); }
.vp-meter-row { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--ink-soft); margin-top: 6px; }
.vp-hint { font-size: 0.95rem; color: var(--ink-soft); padding: 12px 14px; border-radius: 12px; background: #fff6e2; border: 1px dashed #e9c98a; }
.vp-warn { color: var(--berry-2); font-weight: 700; }

.vp-summary { position: sticky; bottom: 0; z-index: 30; margin-top: 24px; padding: 14px; border-radius: 20px; background: rgba(11, 20, 48, 0.92); color: #fff; display: flex; align-items: center; gap: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25); }
.vp-summary__total { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.vp-summary__total small { display: block; font-family: var(--f-body); font-size: 0.85rem; color: var(--muted-dark); margin-bottom: 4px; }
.vp-summary .vp-btn { margin-left: auto; min-height: 52px; }
@media (min-width: 1000px) {
  .vp-order__grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .vp-order__aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .vp-panel { padding: 36px 34px; }
}

/* ---------- Obične stranice i WooCommerce (košarica, blagajna) ---------- */
.vp-page { padding: calc(var(--header-h) + 48px) 0 110px; background: radial-gradient(80% 40% at 50% 0%, var(--night-3), transparent 70%), var(--night-1); }
.vp-page__in { background: var(--paper); color: var(--ink); border-radius: var(--r-l); padding: clamp(24px, 5vw, 48px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.vp-page__title { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 0.6em; }
.vp-page__in h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin: 1.4em 0 0.5em; }
.vp-page__in p, .vp-page__in ul, .vp-page__in ol { margin-bottom: 1em; }
.vp-page__in a { color: var(--berry-2); }
.vp-page .woocommerce form .form-row { display: grid; gap: 6px; margin: 0 0 14px; }
.vp-page .woocommerce form .form-row label { font-weight: 700; }
.vp-page .woocommerce input.input-text, .vp-page .woocommerce textarea, .vp-page .woocommerce select { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #d7e0ee; background: #fff; font-size: 1.05rem; }
.vp-page .woocommerce input.input-text:focus { outline: none; border-color: var(--candle-2); box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.28); }
.vp-page .woocommerce button.button, .vp-page .woocommerce a.button, .vp-page .woocommerce #place_order {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, #ffe09a, var(--candle-2)); color: var(--ink); font-weight: 700; font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.18) inset, 0 10px 30px rgba(242, 184, 75, 0.35);
}
.vp-page .woocommerce #place_order { width: 100%; }
.vp-page .woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.vp-page .woocommerce table.shop_table th, .vp-page .woocommerce table.shop_table td { padding: 12px 8px; border-bottom: 1px solid #e6dcc8; text-align: left; }
.vp-page .woocommerce-info, .vp-page .woocommerce-message, .vp-page .woocommerce-error { list-style: none; padding: 14px 18px; border-radius: 14px; background: #fff6e2; border: 1px dashed #e9c98a; margin-bottom: 18px; }
.vp-page .woocommerce-error { background: #fff0ee; border-color: #f3c4c4; }
.vp-page .wc_payment_methods { list-style: none; padding: 0; display: grid; gap: 10px; }
.vp-page .wc_payment_method { padding: 14px; border-radius: 14px; background: #fff; border: 1.5px solid #e6dcc8; }

/* ---------- Stranica videa (dijeljenje) i obavijesti ---------- */
.vp-share__video { width: 100%; border-radius: 16px; background: #000; margin: 10px 0 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.vp-share__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vp-share__tv, .vp-share__fix { margin-top: 22px; border-radius: 16px; background: #fff; border: 1px solid #eadfca; padding: 4px 18px; }
.vp-share__tv summary, .vp-share__fix summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.vp-share__tv p { margin-bottom: 10px; color: var(--ink-soft); }
.vp-share__fix form { display: grid; gap: 12px; padding-bottom: 16px; }
.vp-share__more { margin-top: 26px; padding: 20px; border-radius: 18px; background: linear-gradient(160deg, #fff6dc, #fff); border: 1.5px dashed var(--candle-2); display: grid; gap: 12px; justify-items: start; }
.vp-notices { width: min(100% - 40px, var(--wrap)); margin: 0 auto 18px; }
.vp-notices .woocommerce-error, .vp-notices .woocommerce-message, .vp-notices .woocommerce-info { list-style: none; margin: 0 0 10px; padding: 14px 18px; border-radius: 14px; background: #fff0ee; color: var(--berry-2); border: 1px solid #f3c4c4; }
.vp-order .vp-order__grid { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- Kursor: pahulje (crta JS na canvasu) ---------- */
.vp-fx { position: fixed; inset: 0; z-index: 60; pointer-events: none; }

/* ---------- Manje pokreta ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .vp-reveal { opacity: 1; transform: none; }
  .vp-layer { transform: none !important; }
}
