/* Bumbaru tema: stilovi preneti sa novog Astro sajta (global.css + stilovi strana i komponenti). */
/* Fontovi (sa sopstvenog servera) */
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/geologica-cyrillic-ext-400-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/geologica-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/geologica-latin-ext-400-normal.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:Geologica;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/geologica-latin-400-normal.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:Geologica;font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/geologica-cyrillic-ext-600-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/geologica-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/geologica-latin-ext-600-normal.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:Geologica;font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/geologica-latin-600-normal.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:Geologica;font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/geologica-cyrillic-ext-700-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/geologica-cyrillic-700-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/geologica-latin-ext-700-normal.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:Geologica;font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/geologica-latin-700-normal.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:Geologica;font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/geologica-cyrillic-ext-800-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/geologica-cyrillic-800-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Geologica;font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/geologica-latin-ext-800-normal.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:Geologica;font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/geologica-latin-800-normal.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:Pacifico;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/pacifico-cyrillic-ext-400-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Pacifico;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/pacifico-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Pacifico;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/pacifico-latin-ext-400-normal.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:Pacifico;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/pacifico-latin-400-normal.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}

/* Bumbaru — stilovi sajta. Boje, slova i razmaci iz dizajn sistema Bumbaru. */
:root {
  --surface: #C0B8AD;
  --surface-raised: #D9D3CA;
  --surface-paper: #EEEAE3;
  --line: #ADA498;
  --line-strong: #6E6155;
  --ink: #312018;
  --ink-muted: #4E3E33;
  --honey: #F5C137;
  --honey-hover: #DDA81C;
  --honey-soft: #F5E2A8;
  --wing: #CFE3EC;
  --wing-ink: #2B4F5E;
  --leaf: #335A22;
  --leaf-soft: #D5E3C6;
  --berry: #9A3420;
  --berry-soft: #F2D2C7;
  --dark: #241811;
  --dark-raised: #312018;
  --cream: #F6F1E9;
  --cream-muted: #CFC4B6;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-pill: 999px;
  --shadow: 0 2px 0 rgba(49,32,24,.10), 0 12px 28px rgba(49,32,24,.14);
  --font: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); }
a:hover { color: var(--ink-muted); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--honey); }
.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: 16px; top: -60px; z-index: 100; background: var(--honey); padding: 10px 16px; border-radius: var(--r-pill); border: 2px solid var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1376px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
@media (max-width: 760px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* Tipografija */
.display { font-size: 56px; line-height: 60px; font-weight: 800; letter-spacing: -0.02em; }
.h1 { font-size: 40px; line-height: 46px; font-weight: 800; letter-spacing: -0.015em; }
.h2 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: 20px; line-height: 26px; font-weight: 700; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.price { font-size: 22px; line-height: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .display { font-size: 38px; line-height: 42px; }
  .h1 { font-size: 32px; line-height: 38px; }
  .h2 { font-size: 24px; line-height: 30px; }
  .lead { font-size: 16px; line-height: 24px; }
}

/* Dugmad */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: transparent; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease; white-space: nowrap; }
.btn svg { flex: none; }
.btn:hover { background: var(--surface-raised); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--honey); }
.btn-primary:hover { background: var(--honey-hover); }
.btn-paper { background: var(--surface-paper); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 18px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.dark .btn { border-color: var(--cream); color: var(--cream); }
.dark .btn:hover { background: var(--dark-raised); }
.dark .btn-primary { border-color: var(--honey); background: var(--honey); color: var(--ink); }
.dark .btn-primary:hover { background: #FFD35C; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-arrow svg { transition: transform .3s var(--ease); flex: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Oznake */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--surface-paper); color: var(--ink); white-space: nowrap; }
.badge-honey { background: var(--honey); border: 2px solid var(--ink); height: 30px; }
.badge-custom { background: var(--honey-soft); }
.badge-leaf { background: var(--leaf-soft); color: var(--leaf); }
.badge-wing { background: var(--wing); color: var(--wing-ink); }
.badge-berry { background: var(--berry-soft); color: var(--berry); }

/* Trag tačkica */
.trail { height: 6px; background-image: radial-gradient(circle, var(--ink) 2.4px, transparent 2.9px); background-size: 12px 6px; background-repeat: repeat-x; }
.trail-honey { background-image: radial-gradient(circle, var(--honey) 2.4px, transparent 2.9px); }

/* Traka na vrhu */
.ribbon { background: var(--honey); color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; }
.ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 12px 20px; min-height: 36px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.ribbon span { display: inline-flex; align-items: center; gap: 8px; }
.ribbon .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.ribbon .rib-akcija { display: inline-flex; align-items: center; gap: 8px; padding: 2px 10px; border-radius: 999px; background: var(--berry); color: #fff; text-decoration: none; font-weight: 700; }
@media (max-width: 1200px) { .rib-ak .opt2 { display: none; } }
@media (max-width: 760px) {
  .ribbon .opt { display: none; } .ribbon .dot { display: none; }
  /* na telefonu se akcija i rok smenjuju na istom mestu */
  .rib-ak .wrap { display: grid; justify-items: center; }
  .rib-ak .rib-akcija, .rib-ak .rib-rok { grid-area: 1 / 1; animation: rib-smena 9s infinite; }
  .rib-ak .rib-rok { animation-delay: -4.5s; }
  .akcija-kraj .rib-ak .rib-rok { animation: none; opacity: 1; }
}
@keyframes rib-smena { 0%, 44% { opacity: 1; visibility: visible; } 50%, 94% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .header { transition: box-shadow .2s ease; } }
@media (prefers-reduced-motion: reduce) { .rib-ak .rib-akcija, .rib-ak .rib-rok { animation: none; } .rib-ak .rib-rok { display: none; } .akcija-kraj .rib-ak .rib-rok { display: inline-flex; } }

/* Zaglavlje */
.header { position: sticky; top: 0; z-index: 40; background: var(--surface-paper); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, transform .3s var(--ease); }
.header.h-skriven { transform: translateY(-100%); box-shadow: none; }
:root { --sticky-top: 96px; }
.hdr-skriven { --sticky-top: 20px; }
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(49,32,24,.06); }
/* logo levo, meni na sredini, korpa i „Pišite nam” desno */
.header .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; min-height: 76px; }
.logo { display: block; justify-self: start; }
.logo img { height: 36px; width: auto; }
/* tekst „Bumbaru” je u donjem delu slike (gore je pčelica), pa logo ide malo naviše da tekst bude u osi sa menijem */
.header .logo { transform: translateY(-8px); }
.nav { display: flex; align-items: center; gap: 10px; justify-self: center; }
.nav a, .nav-kat { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 2px solid transparent; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; background: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .25s var(--ease); }
.nav a svg, .nav-kat svg { flex: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-raised); }
.nav-kat { background: var(--surface-raised); }
.nav-kat > svg:last-child { transition: transform .25s var(--ease); }
.nav-kat:hover, .nav-kat[aria-expanded="true"] { border-color: var(--ink); }
.nav-kat[aria-expanded="true"] { background: var(--honey); }
.nav-kat[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.nav-kat.is-current { border-color: var(--ink); }
.nav .nav-ak { background: var(--berry); color: #fff; }
.nav .nav-ak:hover, .nav .nav-ak[aria-current="page"] { background: #7f2a19; transform: rotate(-2deg); }
.nav .nav-kviz { border: 2px dashed var(--ink); background: var(--honey-soft); }
.nav .nav-kviz:hover, .nav .nav-kviz[aria-current="page"] { background: var(--honey); transform: rotate(-2deg); }
.nav-kat:focus-visible, .nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.h-act { display: flex; align-items: center; gap: 10px; justify-self: end; }
.korpa-btn { position: relative; }
.korpa-btn.pop { animation: kp-pop .5s cubic-bezier(.3,1.7,.5,1); }
.korpa-n { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; border: 2px solid var(--surface-paper); }
.msg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--honey); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; }
.msg-btn:hover { background: var(--honey-hover); }
@keyframes kp-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.icon-btn { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; cursor: pointer; color: var(--ink); text-decoration: none; flex: none; }
.icon-btn:hover { background: var(--surface-raised); }
.header .menu-btn { display: none; }

/* Padajući meni „Katalog” */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface-paper); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(36,24,17,.18); border-radius: 0 0 28px 28px; }
.mega.in { animation: mega-in .25s var(--ease); }
.header .mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; min-height: 0; padding-top: 24px; padding-bottom: 28px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-kat { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 18px; text-decoration: none; color: var(--ink); background: var(--surface-raised); border: 2px solid transparent; transition: transform .3s cubic-bezier(.3,1.5,.5,1), border-color .2s, background-color .2s; }
.mega-kat:hover, .mega-kat:focus-visible, .mega-kat.on { border-color: var(--ink); background: var(--honey-soft); transform: translateY(-2px) rotate(var(--r, 0deg)); outline: none; }
.mega-img { position: relative; flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--surface-paper); display: flex; align-items: center; justify-content: center; }
.mega-img img { width: 100%; height: 100%; object-fit: cover; }
.mega-ic { position: absolute; left: 4px; bottom: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--honey); border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.mega-ic svg { width: 13px; height: 13px; }
.mega-t { display: flex; flex-direction: column; min-width: 0; line-height: 19px; }
.mega-t b { font-size: 15px; font-weight: 800; }
.mega-t small { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.mega-all { background: var(--surface-paper); border: 2px dashed var(--line-strong); }
.mega-all .mega-img { background: var(--honey-soft); }
.mega-side { display: flex; flex-direction: column; gap: 12px; }
.mega-promo { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
.mega-promo:hover { transform: translateY(-3px) rotate(-1deg); }
.mp-ak { background: var(--berry-soft); border: 2px dashed var(--berry); }
.mp-lab { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--berry); }
.mp-big { font-size: 17px; line-height: 22px; }
.mp-kviz { flex-direction: row; align-items: center; gap: 12px; background: var(--honey-soft); border: 2px dashed var(--ink); }
.mp-kviz img { width: 52px; height: auto; flex: none; }
.mp-kviz > span { display: flex; flex-direction: column; line-height: 20px; }
.mega-bg { position: fixed; inset: 0; z-index: 35; background: rgba(36,24,17,.28); animation: mega-bg .25s ease; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes mega-bg { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1340px) { .header .wrap { gap: 14px; } .nav { gap: 6px; } .nav a, .nav-kat { padding: 0 11px; font-size: 14px; } .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .header .mega-in { grid-template-columns: minmax(0, 1fr) 260px; } }
@media (max-width: 1290px) { .msg-t { display: none; } .msg-btn { width: 44px; padding: 0; } }
@media (max-width: 1200px) {
  .nav, .mega, .mega-bg { display: none !important; }
  .header .menu-btn { display: inline-flex; justify-self: start; }
  .header .wrap { min-height: 64px; gap: 12px; }
  .header .logo { justify-self: center; transform: translateY(-5px); }
  .logo img { height: 32px; }
  .msg-t { display: none; } .msg-btn { width: 44px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .mega.in, .mega-bg { animation: none; } .mega-kat, .mega-promo { transition: none; } }

/* Meni na telefonu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: rgba(36,24,17,.45); display: none; }
.mobile-menu.open { display: block; }
.mobile-menu .panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--surface-paper); padding: 16px 20px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); animation: slide-in .25s var(--ease); }
@keyframes slide-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.mobile-menu .top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .m-promo { display: grid; gap: 10px; }
.mobile-menu .m-kviz, .mobile-menu .m-ak { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: var(--honey-soft); border: 2px dashed var(--ink); text-decoration: none; }
.mobile-menu .m-ak { background: var(--berry); border-color: rgba(255,255,255,.6); color: #fff; }
.mobile-menu .m-kviz > span, .mobile-menu .m-ak > span { display: flex; flex-direction: column; line-height: 20px; }
.mobile-menu .m-kviz strong, .mobile-menu .m-ak strong { font-size: 17px; }
.mobile-menu .m-lab { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin: 4px 0 -8px; }
.mobile-menu .m-kat { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu .m-kat a { display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 6px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 16px; }
.mobile-menu .m-kat a[aria-current="page"], .mobile-menu .m-kat a:hover { background: var(--surface-raised); }
.mobile-menu .m-kat img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-raised); }
.mobile-menu .m-kat span { flex: 1; }
.mobile-menu .m-kat small { font-size: 13px; font-weight: 700; color: var(--ink-muted); min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--surface-raised); display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu .m-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu .m-links a { padding: 12px 0; font-size: 16px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu form { position: relative; }
.mobile-menu form input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 2px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface-paper); }
.mobile-menu form svg { position: absolute; left: 16px; top: 15px; }

/* Ploče i odeljci */
.section { padding-top: 80px; }
.section-sm { padding-top: 48px; }
@media (max-width: 760px) { .section { padding-top: 48px; } .section-sm { padding-top: 32px; } }
.paper-zone { background: var(--surface-paper); border-radius: 0 0 40px 40px; padding-bottom: 80px; }
@media (max-width: 760px) { .paper-zone { border-radius: 0 0 28px 28px; padding-bottom: 48px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head p { margin-top: 6px; color: var(--ink-muted); max-width: 640px; }
.panel { background: var(--surface-paper); border-radius: var(--r-lg); }
.panel-raised { background: var(--surface-raised); border-radius: var(--r-lg); }

/* Kartica proizvoda */
.grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card .media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-raised); transition: transform .35s var(--ease), box-shadow .35s ease; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card .badge { position: absolute; left: 12px; top: 12px; z-index: 1; }
.card .quick { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--honey); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .25s var(--ease), background-color .2s ease; color: var(--ink); text-decoration: none; }
.card .body { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card .row .price { white-space: nowrap; flex: none; }
.card h3 { font-size: 18px; line-height: 24px; font-weight: 700; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
  .card:hover .media { transform: translateY(-4px); box-shadow: var(--shadow); }
  .card:hover .media img { transform: scale(1.05); }
  .card .quick:hover { transform: scale(1.08); background: var(--honey-hover); }
}
.card .media-link { position: absolute; inset: 0; display: block; }
.card .note { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.card .ask { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 760px) { .card h3 { font-size: 16px; line-height: 22px; } .card .row { flex-direction: column; gap: 2px; } }
.soon-photo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ink-muted); }
.soon-photo img { width: 34%; max-width: 120px; height: auto; object-fit: contain !important; transform: none !important; }
.soon-photo span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
/* Kartica motiva ukrasa bez fotografije: crtež ukrasa sa primerom imena */
.orn-card-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 42%, #fff 0, var(--honey-soft, #FBF1DC) 75%); }
.orn-card-bg svg { width: 84%; height: 84%; transition: transform .7s var(--ease); }
.card:hover .orn-card-bg svg { transform: scale(1.05) rotate(-2deg); }

/* Vodoravni niz na telefonu */
@media (max-width: 760px) {
  .rail-mobile { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .rail-mobile::-webkit-scrollbar { display: none; }
  .rail-mobile > * { scroll-snap-align: start; }
}

/* Česta pitanja i delovi na otvaranje */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 17px; line-height: 24px; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { flex: none; transition: transform .38s cubic-bezier(.3,.9,.35,1.25); }
.acc details[open]:not(.closing) summary .chev { transform: rotate(180deg); }
.acc .ans-wrap { overflow: hidden; }
@media (hover: hover) { .acc summary:hover .chev { color: var(--ink-muted); } }
.acc .ans { padding: 0 0 18px; color: var(--ink-muted); max-width: 70ch; }
.acc .ans a { font-weight: 700; color: var(--ink); }
.faq-panel { background: var(--surface-paper); border-radius: var(--r-lg); padding: 8px 32px; }
.faq-panel .acc { border-top: 0; }
.faq-panel .acc details:last-child { border-bottom: 0; }
@media (max-width: 760px) { .faq-panel { padding: 4px 20px; } }

/* Putanja */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-muted); padding: 20px 0; }
.crumbs a { color: var(--ink); }
.crumbs li { list-style: none; display: inline-flex; gap: 6px; }
.crumbs li + li::before { content: '/'; color: var(--ink-muted); }

/* Podnožje */
.footer { background: var(--dark); color: var(--cream); margin-top: 96px; padding: 64px 0 28px; border-radius: 40px 40px 0 0; }
.footer a { color: var(--cream); }
.footer a:hover { color: var(--honey); }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h2 { font-size: 13px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer .brand p { margin-top: 18px; color: var(--cream-muted); max-width: 340px; font-size: 15px; }
.footer .social { display: flex; gap: 12px; margin-top: 20px; }
.footer .social a { width: 44px; height: 44px; border: 2px solid var(--cream); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.footer .social a:hover { background: var(--dark-raised); }
.footer .bottom { margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: var(--cream-muted); }
.footer .bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer .cols { grid-template-columns: 1fr 1fr; } .footer .brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer { border-radius: 28px 28px 0 0; padding-top: 48px; margin-top: 64px; } .footer .cols { grid-template-columns: 1fr; gap: 32px; } }

/* Polja */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .flabel { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-paper); font-size: 16px; color: var(--ink); }
.textarea { padding: 12px 16px; line-height: 24px; resize: vertical; min-height: 120px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23312018' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; cursor: pointer; }
.input::placeholder, .textarea::placeholder { color: var(--ink-muted); opacity: .8; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.hint { font-size: 14px; line-height: 20px; color: var(--ink-muted); display: flex; justify-content: space-between; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 2px solid transparent; border-radius: var(--r-pill); background: var(--surface-raised); font-weight: 600; font-size: 15px; cursor: pointer; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"], .chip:has(input:checked) { border-color: var(--ink); background: var(--honey-soft); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(49,32,24,.25); flex: none; }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 12px; border: 2px solid transparent; border-radius: var(--r-md); background: var(--surface-raised); cursor: pointer; font-size: 13px; line-height: 16px; font-weight: 600; text-align: center; }
.tile:hover { border-color: var(--line-strong); }
.tile:has(input:checked) { border-color: var(--ink); background: var(--honey-soft); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.tile svg { width: 56px; height: 56px; }
@media (max-width: 480px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-pill); height: 52px; flex: none; }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; cursor: pointer; font-size: 22px; font-weight: 700; border-radius: var(--r-pill); }
.qty button:hover { background: var(--surface-raised); }
.qty input { width: 36px; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Prozor sa porukom */
.order-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface-paper); color: var(--ink); box-shadow: 0 24px 64px rgba(36,24,17,.35); }
.order-dialog::backdrop { background: rgba(36,24,17,.55); backdrop-filter: blur(2px); }
.order-dialog[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.od-inner { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.od-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.od-prod { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--surface-raised); border-radius: var(--r-md); }
.od-prod img, .od-prod .od-ph { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface); }
.od-prod .od-ph { display: flex; align-items: center; justify-content: center; }
.od-prod .od-ph img { width: 40px; height: 40px; object-fit: contain; background: none; }
.od-steps { list-style: none; display: grid; gap: 8px; counter-reset: s; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.od-steps li { display: flex; gap: 10px; align-items: flex-start; }
.od-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--honey); color: var(--ink); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); }
.od-status { min-height: 20px; font-size: 14px; font-weight: 700; color: var(--leaf); }
.od-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 520px) { .od-inner { padding: 20px 16px; } }

/* Animacije */
.fx-rise { opacity: 0; transform: translateY(16px); animation: fx-rise .8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 100ms); }
@keyframes fx-rise { to { opacity: 1; transform: none; } }
.fx-drop { opacity: 0; transform: translateY(-32px) rotate(var(--r, 0deg)); animation: fx-drop 1s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: calc(700ms + var(--d, 0) * 180ms); }
@keyframes fx-drop { to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
.fx-bee { opacity: 0; animation: fx-in .6s var(--ease) 2.2s forwards; }
@keyframes fx-in { from { opacity: 0; transform: scale(.6) translate(-16px, 8px); } to { opacity: 1; transform: none; } }
.fx-float { animation: fx-float 4.8s ease-in-out 2.8s infinite; }
@keyframes fx-float { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(0, -10px) rotate(3deg); } }
.fx-trail { stroke-dasharray: 100; stroke-dashoffset: 100; animation: fx-draw 1.8s cubic-bezier(.4,0,.2,1) 1s forwards; }
@keyframes fx-draw { to { stroke-dashoffset: 0; } }
.sway { animation: sway 6s ease-in-out infinite; will-change: transform; }
.anim-off { animation-play-state: paused !important; }
.sway-1 { animation-duration: 6.8s; animation-delay: -1.5s; }
.sway-3 { animation-duration: 7.4s; animation-delay: -3.2s; }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
/* Pojavljivanje pri skrolovanju (klasa .in dodaje se kad element uđe u ekran) */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .fx-rise, .fx-drop, .fx-bee, .fx-float, .fx-reveal, .sway, .fx-trail { animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .card .media, .card .media img, .btn { transition: none; }
}

/* Akcijske cene: precrtana redovna i nova; posle kraja akcije pregledač prikazuje samo redovnu */
.ak-off { display: none; }
.akcija-kraj .ak-on { display: none !important; }
.akcija-kraj .ak-off { display: inline; }
.ak-s { color: var(--ink-muted); font-weight: 500; font-size: .8em; text-decoration-thickness: 1.5px; margin-right: .3em; }
.ak-n { color: var(--berry); }
.card .ak-sticker { position: absolute; right: 12px; top: 12px; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: var(--berry); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; transform: rotate(10deg); box-shadow: 0 4px 10px rgba(49,32,24,.25); border: 2px dashed rgba(255,255,255,.7); }
body.has-sbar { padding-bottom: 72px; }
body.has-sbar .kp-toast { bottom: 88px !important; }
.card .row:has(.ak-on), .card .row:has(.ak-s) { flex-direction: column; gap: 2px; }
.card .row .price:has(.ak-on) { white-space: normal; flex: 0 1 auto; }
.ak-s, .ak-n { white-space: nowrap; }
@media (max-width: 760px) { .card .ak-sticker { width: 42px; height: 42px; font-size: 13px; top: 46px; right: 8px; } }



/* ——— components/Odbrojavanje.astro ——— */

  .odb { align-self: flex-start; max-width: 100%; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 10px 8px 8px; border-radius: 16px; background: var(--berry-soft); color: var(--berry); border: 2px dashed var(--berry); }
  .odb-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--berry); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
  .odb-t { display: flex; flex-direction: column; line-height: 18px; }
  .odb-t b { font-size: 15px; font-weight: 800; }
  .odb-do { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
  .odb-sat { display: inline-flex; gap: 6px; }
  .odb-sat > span { display: inline-flex; flex-direction: column; align-items: center; min-width: 44px; padding: 4px 6px; border-radius: 10px; background: var(--surface-paper); color: var(--ink); line-height: 1; }
  .odb-sat b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .odb-sat small { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); margin-top: 3px; }
  .odb-mali { padding: 6px 8px 6px 6px; gap: 6px 10px; }
  .odb-mali .odb-ic { width: 28px; height: 28px; }
  .odb-mali .odb-sat > span { min-width: 38px; padding: 3px 5px; }
  .odb-mali .odb-sat b { font-size: 15px; }


/* ——— components/Nedavno.astro ——— */

  .ned-h { display: flex; align-items: center; gap: 12px; }
  .ned-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--wing); display: inline-flex; align-items: center; justify-content: center; }
  .ned-clear { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-muted); text-decoration: underline; cursor: pointer; padding: 8px; }
  .ned-rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .ned-rail .ned-card { flex: none; width: 168px; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 12px; border-radius: 20px; background: var(--surface-raised); text-decoration: none; color: var(--ink); scroll-snap-align: start; transition: transform .3s var(--ease); }
  .ned-rail .ned-img { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-paper); }
  .ned-rail .ned-img img { width: 100%; height: 100%; object-fit: cover; }
  .ned-rail .ned-img .ned-ph { object-fit: contain; padding: 22%; }
  .ned-rail .ned-ak { position: absolute; right: 6px; top: 6px; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--berry); border-radius: 999px; padding: 2px 8px; }
  .ned-rail .ned-t { font-size: 14px; line-height: 18px; font-weight: 700; padding: 0 4px; }
  .ned-rail .ned-c { font-size: 13px; padding: 0 4px; }
  .ned-rail .ned-c s { color: var(--ink-muted); }
  @media (hover: hover) { .ned-rail .ned-card:hover { transform: translateY(-4px) rotate(-1deg); } }


/* ——— components/ColorPicker.astro ——— */

  .cp { border: 0; padding: 0; margin: 0; min-width: 0; }
  .cp legend { padding: 0; margin-bottom: 10px; }
  .cp-name { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--ink-muted); }
  .cp-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .cp-sw { position: relative; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; }
  .cp-sw[hidden] { display: none; }
  .cp-sw input { position: absolute; opacity: 0; pointer-events: none; }
  .cp-dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(49,32,24,.18); transition: transform .2s var(--ease); }
  .cp-light { border-color: rgba(49,32,24,.35); }
  .cp-mix { background: conic-gradient(#F3EEE5 0 20%, #B3312A 0 40%, #2F6DB5 0 60%, #F2C230 0 80%, #2F5B3B 0); }
  .cp-sw:hover .cp-dot { transform: scale(1.08); }
  .cp-sw:has(input:checked) { box-shadow: 0 0 0 2px var(--ink); }
  .cp-sw:has(input:checked) .cp-dot { transform: scale(.86); }
  .cp-sw:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }


/* ——— components/PretragaPolje.astro ——— */

  .kp-search { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 420px; min-width: 0; }
  .kp-search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px 0 44px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--surface-paper); font-size: 15px; color: var(--ink); }
  .kp-search input::placeholder { color: var(--ink-muted); }
  .kp-search input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
  .kp-search input::-webkit-search-cancel-button { display: none; }
  .kp-search > svg { position: absolute; left: 16px; top: 15px; pointer-events: none; }
  .kp-search .btn { min-height: 48px; padding: 0 20px; }


/* ——— components/Korpa.astro ——— */

  .korpa { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100%); max-width: 100%; height: 100%; max-height: 100%; padding: 0; border: 0; background: var(--surface-paper); color: var(--ink); box-shadow: -12px 0 40px rgba(36,24,17,.25); }
  .korpa[open] { animation: kp-in .32s var(--ease); }
  .korpa::backdrop { background: rgba(36,24,17,.45); }
  .kp-in { display: flex; flex-direction: column; height: 100%; }
  .kp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .kp-head h2 { display: inline-flex; align-items: center; gap: 10px; }
  .kp-cnt { color: var(--ink-muted); font-weight: 600; }
  .kp-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 32px 28px; }
  .kp-empty[hidden] { display: none; }
  .kp-empty-art { width: 140px; height: 140px; border-radius: 50%; background: var(--honey-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
  .kp-empty-art img { width: 96px; height: auto; }
  .kp-empty-act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
  .kp-list { list-style: none; flex: 1; overflow-y: auto; padding: 8px 20px; margin: 0; }
  .kp-list .kp-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px 32px 14px 0; border-bottom: 1px solid var(--line); }
  .kp-list .kp-img { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--surface-raised); display: block; }
  .kp-list .kp-img img { width: 100%; height: 100%; object-fit: cover; }
  .kp-list .kp-img .kp-ph { object-fit: contain; padding: 12px; }
  .kp-list .kp-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .kp-list .kp-name { font-weight: 700; text-decoration: none; line-height: 20px; }
  .kp-list .kp-lines { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
  .kp-list .kp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
  .kp-list .kp-step { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; height: 34px; }
  .kp-list .kp-step button { width: 32px; height: 30px; border: 0; background: none; font-size: 18px; font-weight: 700; cursor: pointer; color: var(--ink); border-radius: 999px; }
  .kp-list .kp-step b { min-width: 22px; text-align: center; }
  .kp-list .kp-kol { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
  .kp-list .kp-cena { white-space: nowrap; }
  .kp-list .kp-del { position: absolute; right: 0; top: 12px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--surface-raised); font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
  .kp-list .kp-del:hover { background: var(--berry-soft); color: var(--berry); }
  .kp-foot { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--surface-raised); }
  .kp-foot[hidden] { display: none; }
  .kp-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
  .kp-total b { font-size: 22px; font-weight: 800; }
  .kp-send { width: 100%; }
  .kp-clear { align-self: center; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-muted); text-decoration: underline; cursor: pointer; padding: 6px; }
  .kp-clear[data-sure] { color: var(--berry); }
  .kp-toast { position: fixed; left: 50%; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 10px; border-radius: 18px; background: var(--dark); color: var(--cream); box-shadow: 0 12px 30px rgba(36,24,17,.35); transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.3,1.4,.5,1); max-width: calc(100% - 24px); }
  .kp-toast.on { transform: translate(-50%, 0); }
  .kp-toast img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--surface-paper); flex: none; }
  .kp-toast > span { display: flex; flex-direction: column; line-height: 18px; min-width: 0; }
  .kp-toast > span .small { color: var(--cream-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
  @keyframes kp-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .korpa[open] { animation: none; } .kp-toast { transition: none; } }


/* ——— pages/index.astro → .tpl-home ——— */

  .tpl-home .hero-sec { padding-top: 8px; }
  .tpl-home .hero { position: relative; min-height: 640px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); padding-right: 560px; }
  .tpl-home .hero-media { position: absolute; inset: 0; }
  .tpl-home .hero-bg { position: absolute; inset: 0; }
  .tpl-home .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
  .tpl-home .hero-intro, .tpl-home .hero-cta { position: relative; z-index: 1; padding: 0 0 0 80px; }
  .tpl-home .hero-intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-top: 104px; max-width: 680px; }
  .tpl-home .hero-intro .lead { color: var(--ink); max-width: 520px; }
  .tpl-home .hero-cta { display: flex; flex-direction: column; gap: 24px; padding-top: 28px; padding-bottom: 80px; }
  .tpl-home .facts { display: flex; gap: 40px; margin: 0; }
  .tpl-home .facts dt { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
  .tpl-home .facts dd { margin: 0; font-size: 20px; line-height: 26px; font-weight: 800; }
  .tpl-home .btns { display: flex; gap: 12px; flex-wrap: wrap; }
  .tpl-home .hero-stage { position: absolute; top: 0; bottom: 0; right: 24px; width: 536px; z-index: 1; }
  .tpl-home .hero-trail { position: absolute; left: -96px; top: 96px; }
  .tpl-home .hero-bee { position: absolute; left: 132px; top: 84px; width: 92px; display: block; }
  .tpl-home .float-card { position: absolute; left: 24px; bottom: 56px; width: 240px; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; background: var(--surface-paper); border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; transform: rotate(var(--r)); }
  .tpl-home .float-card.fc-2 { left: 290px; bottom: 112px; width: 220px; }
  .tpl-home .fc-img { display: block; border-radius: 12px; overflow: hidden; }
  .tpl-home .fc-img img { width: 100%; height: 100%; object-fit: cover; }
  .tpl-home .fc-label { font-size: 15px; line-height: 20px; font-weight: 700; padding: 0 4px; }
  @media (max-width: 1240px) { .tpl-home .hero { padding-right: 460px; } .tpl-home .hero-stage { width: 450px; right: 8px; } .tpl-home .hero-intro, .tpl-home .hero-cta { padding-left: 56px; } .tpl-home .float-card { width: 200px; } .tpl-home .float-card.fc-2 { left: 230px; width: 190px; } }
  @media (max-width: 900px) {
    .tpl-home .hero { display: flex; flex-direction: column; background: none; min-height: 0; overflow: visible; gap: 20px; padding-right: 0; }
    .tpl-home .hero-media { position: relative; order: 2; height: 440px; border-radius: var(--r-lg); overflow: hidden; }
    .tpl-home .hero-bg img { object-position: center top; }
    .tpl-home .hero-intro { order: 1; padding: 24px 0 0; max-width: none; }
    .tpl-home .hero-stage { inset: 0; width: auto; right: 0; }
    .tpl-home .hero-cta { order: 3; padding: 0 0 8px; }
    .tpl-home .hero-trail { left: -40px; top: 40px; transform: scale(.7); transform-origin: left top; }
    .tpl-home .hero-bee { left: auto; right: 34%; top: 24px; width: 64px; }
    .tpl-home .float-card { left: 6%; bottom: 28px; width: 46%; max-width: 220px; padding: 8px 8px 10px; }
    .tpl-home .float-card.fc-2 { left: auto; right: 5%; bottom: 64px; width: 42%; max-width: 200px; }
    .tpl-home .fc-label { font-size: 13px; line-height: 17px; }
    .tpl-home .btns .btn { flex: 1 1 100%; }
    .tpl-home .facts { gap: 24px; }
  }

  .tpl-home .ukr-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; display: flex; align-items: center; background: #E9DCC4; }
  .tpl-home .ukr-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .tpl-home .ukr-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 64px 80px; max-width: 600px; }
  .tpl-home .ukr-form { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 440px; }
  .tpl-home .ukr-form .input { background: rgba(238,234,227,.92); }
  .tpl-home .ukr-stage { position: absolute; top: 0; right: 24px; width: 620px; height: 560px; z-index: 1; }
  .tpl-home .ukr-layer { position: absolute; inset: 0; pointer-events: none; }
  .tpl-home .ukr-layer svg { display: block; width: 100%; height: 100%; overflow: visible; }
  @media (max-width: 1240px) { .tpl-home .ukr-stage { right: 0; width: 520px; height: 470px; } .tpl-home .ukr-text { padding: 56px; max-width: 520px; } }
  @media (max-width: 1080px) {
    .tpl-home .ukr-panel { flex-direction: column; align-items: stretch; }
    .tpl-home .ukr-stage { position: relative; order: -1; right: auto; width: min(620px, 100%); height: auto; aspect-ratio: 620 / 560; margin: 0 auto; }
    .tpl-home .ukr-text { max-width: none; padding: 0 24px 32px; background: linear-gradient(transparent, rgba(245,226,168,.85) 18%); }
    .tpl-home .ukr-form .btn { width: 100%; }
  }

  .tpl-home .trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 24px 32px; background: var(--surface-raised); border-radius: var(--r-lg); }
  .tpl-home .trust li { display: flex; gap: 14px; align-items: center; }
  .tpl-home .trust li > span:last-child { display: flex; flex-direction: column; }
  .tpl-home .trust strong { font-size: 15px; line-height: 20px; }
  .tpl-home .ti { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-paper); display: inline-flex; align-items: center; justify-content: center; }
  @media (max-width: 1000px) { .tpl-home .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .tpl-home .trust { grid-template-columns: 1fr; padding: 20px; } }

  .tpl-home .cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .tpl-home .cat { background: var(--surface-paper); border-radius: var(--r-lg); overflow: hidden; display: flex; transition: transform .35s var(--ease), box-shadow .35s ease; }
  .tpl-home .cat-big { grid-row: span 2; flex-direction: column; }
  .tpl-home .cat-row { min-height: 300px; }
  .tpl-home .cat-media { position: relative; background-size: cover; background-position: center; background-color: var(--surface-raised); }
  .tpl-home .cat-big .cat-media { height: 380px; }
  .tpl-home .cat-row .cat-media { flex: 0 0 38%; }
  .tpl-home .cat-icon { position: absolute; left: 16px; top: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-paper); display: inline-flex; align-items: center; justify-content: center; }
  .tpl-home .cat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; flex: 1; min-width: 0; }
  .tpl-home .cat-big .cat-body { padding: 32px; }
  .tpl-home .cat-list { list-style: none; width: 100%; border-top: 1px solid var(--line); }
  .tpl-home .cat-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .tpl-home .cat-list a > span { display: flex; flex-direction: column; }
  .tpl-home .cat-list strong { font-size: 15px; line-height: 20px; }
  .tpl-home .cat-list svg { flex: none; transition: transform .3s var(--ease); }
  .tpl-home .cat-list a:hover svg { transform: translateX(4px); }
  .tpl-home .cat-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
  .tpl-home .polaroid { position: absolute; width: 30%; padding: 8px 8px 10px; background: var(--surface-paper); border-radius: 10px; box-shadow: var(--shadow); transform: rotate(var(--r)); text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease); }
  .tpl-home .polaroid::before { content: ''; position: absolute; left: 50%; top: -10px; width: 56px; height: 20px; margin-left: -28px; background: rgba(245,226,168,.85); transform: rotate(-3deg); }
  .tpl-home .polaroid img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; width: 100%; }
  .tpl-home .polaroid span { font-size: 12px; line-height: 16px; font-weight: 700; }
  .tpl-home .pol-lg { width: 34%; }
  .tpl-home .pol-sm { width: 52%; }
  .tpl-home .pa { left: 12%; top: 10%; }
  .tpl-home .pb { left: 26%; top: 50%; }
  .tpl-home .cat-pol { overflow: hidden; }
  .tpl-home .cat-wing .cat-media { background: var(--wing); }
  .tpl-home .cat-honey .cat-media { background: #F4E2AA; display: flex; align-items: center; justify-content: center; }
  .tpl-home .cat-toys img { width: auto; max-width: 80%; max-height: 88%; object-fit: contain; }
  .tpl-home .cat-media { overflow: hidden; }
  .tpl-home .cat-wide { grid-column: 1 / -1; min-height: 340px; }
  .tpl-home .cat-wide .cat-media { flex: 0 0 52%; }
  .tpl-home .cat-home { background: radial-gradient(circle at 30% 30%, #F7EEDB, #E9DCC4 70%); }
  .tpl-home .cat-home .polaroid { width: 30%; }
  .tpl-home .ph1 { left: 8%; top: 16%; }
  .tpl-home .ph2 { left: 36%; top: 28%; }
  .tpl-home .ph3 { left: 64%; top: 12%; }
  .tpl-home .cat-rev { flex-direction: row-reverse; }
  .tpl-home .cat-slava { background: radial-gradient(circle at 70% 30%, #F6F1E9, #DCD3C6 72%); }
  .tpl-home .cat-slava .polaroid { width: 30%; }
  @media (max-width: 1000px) { .tpl-home .cats { grid-template-columns: 1fr; } .tpl-home .cat-big { grid-row: auto; } }
  @media (max-width: 620px) {
    .tpl-home .cat-row { flex-direction: column; }
    .tpl-home .cat-row .cat-media { flex: none; height: 200px; }
    .tpl-home .cat-big .cat-media { height: 280px; }
    .tpl-home .cat-body, .tpl-home .cat-big .cat-body { padding: 22px 20px; }
    .tpl-home .pol-sm { width: 36%; }
    .tpl-home .pa { left: 12%; top: 16%; }
    .tpl-home .pb { left: 54%; top: 12%; }
    .tpl-home .cat-row .cat-pol { height: 240px; }
    .tpl-home .cat-wide { flex-direction: column; }
    .tpl-home .cat-wide .cat-media { flex: none; height: 250px; }
  }

  .tpl-home .pomeri { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--dark); color: var(--cream); align-items: center; }
  .tpl-home .pomeri > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 18px; }
  .tpl-home .pomeri-text { display: flex; flex-direction: column; gap: 18px; padding: 24px 32px 24px 8px; }
  .tpl-home .checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .tpl-home .checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
  .tpl-home .checks li > span { width: 22px; height: 22px; border-radius: 50%; background: var(--honey); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
  @media (max-width: 900px) { .tpl-home .pomeri { grid-template-columns: 1fr; padding: 16px; } .tpl-home .pomeri > img { min-height: 240px; height: 260px; } .tpl-home .pomeri-text { padding: 8px 8px 16px; } }

  .tpl-home .kako { background: var(--honey-soft); border-radius: var(--r-lg); padding: 48px; }
  .tpl-home .pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-pill); font-size: 13px; font-weight: 700; }
  .tpl-home .steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tpl-home .steps > li { background: var(--surface-paper); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 16px; }
  .tpl-home .step-art { position: relative; height: 230px; border-radius: 14px; overflow: hidden; }
  .tpl-home .art-1 { background: var(--surface-raised); }
  .tpl-home .art-1 img { position: absolute; border-radius: 10px; border: 6px solid var(--surface-paper); box-shadow: var(--shadow); object-fit: cover; }
  .tpl-home .s1a { width: 46%; aspect-ratio: 4/5; left: 6%; top: 18%; transform: rotate(-6deg); }
  .tpl-home .s1b { width: 40%; aspect-ratio: 1; left: 30%; top: 12%; z-index: 2; transform: rotate(2deg); }
  .tpl-home .s1c { width: 34%; aspect-ratio: 3/4; right: 6%; top: 20%; transform: rotate(6deg); }
  .tpl-home .art-2 { background: var(--wing); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
  .tpl-home .bubble { background: var(--surface-paper); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14px; line-height: 20px; box-shadow: var(--shadow); max-width: 260px; display: flex; flex-direction: column; gap: 4px; }
  .tpl-home .send { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--honey); border: 2px solid var(--ink); font-size: 13px; font-weight: 700; }
  .tpl-home .art-3 { background: var(--leaf-soft); display: flex; align-items: center; justify-content: center; }
  .tpl-home .art-3 svg { width: 74%; height: auto; overflow: visible; }
  .tpl-home .s3bee { position: absolute; width: 56px; right: 18%; top: 10%; }
  .tpl-home .pay { position: absolute; right: 12%; bottom: 14%; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface-paper); border: 2px solid var(--ink); font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
  .tpl-home .step-txt { display: flex; gap: 14px; align-items: flex-start; padding: 0 6px 6px; }
  .tpl-home .step-txt > div { display: flex; flex-direction: column; gap: 4px; }
  .tpl-home .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
  @media (max-width: 960px) { .tpl-home .steps { grid-template-columns: 1fr; } .tpl-home .kako { padding: 28px 16px; } .tpl-home .step-art { height: 210px; } }

  .tpl-home .faq-wrap { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; }
  .tpl-home .help-card { margin-top: 24px; background: var(--wing); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
  @media (max-width: 900px) { .tpl-home .faq-wrap { grid-template-columns: 1fr; } }
  @media (hover: hover) {
    .tpl-home .float-card:hover { transform: rotate(0deg) translateY(-4px) !important; transition: transform .35s var(--ease); }
    .tpl-home .cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .tpl-home .polaroid:hover { transform: rotate(0) translateY(-4px); }
  }


/* ——— pages/proizvod/[slug].astro → .tpl-product ——— */

  .tpl-product .pz { padding-top: 0; }
  .tpl-product .pd { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .tpl-product .gallery { position: sticky; top: var(--sticky-top, 96px); transition: top .3s var(--ease); display: flex; flex-direction: column; gap: 12px; }
  .tpl-product .stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-raised); }
  .tpl-product .slide { position: absolute; inset: 0; }
  .tpl-product .slide img { width: 100%; height: 100%; object-fit: cover; }
  .tpl-product .slide .backdrop { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); filter: blur(24px) saturate(1.1); opacity: .8; }
  .tpl-product .slide .full { position: relative; object-fit: contain; }
  .tpl-product .slide.live { background: radial-gradient(circle at 50% 40%, #F7F3EC, #E4DDD2 75%); }
  .tpl-product .slide.live svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .tpl-product .live-badge { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--surface-paper); border: 2px solid var(--ink); }
  .tpl-product .dotlive { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); display: inline-block; }
  .tpl-product .thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
  .tpl-product .thumb { width: 84px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--surface-raised); cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; }
  .tpl-product .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .tpl-product .thumb[aria-pressed="true"] { border-color: var(--ink); }
  .tpl-product .thumb-live { background: var(--honey-soft); }
  .tpl-product .info { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
  .tpl-product .badges { display: flex; gap: 8px; flex-wrap: wrap; }
  .tpl-product .order { display: flex; flex-direction: column; gap: 22px; margin-top: 6px; }
  .tpl-product fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
  .tpl-product fieldset.field legend { padding: 0; margin-bottom: 8px; }
  .tpl-product .names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tpl-product .sw-mix { background: conic-gradient(#F3EEE5 0 25%, #B3312A 0 50%, #2F5B3B 0 75%, #D6A23E 0); }
  .tpl-product .sw-same { background: linear-gradient(135deg, var(--surface-paper) 50%, var(--line) 50%); }
  .tpl-product .buy { display: flex; gap: 12px; align-items: center; }
  .tpl-product .add-btn { flex: 1; }
  .tpl-product .buy-btn { width: 100%; margin-top: -10px; white-space: normal; text-align: center; }
  .tpl-product .add-btn { white-space: normal; text-align: center; }
  .tpl-product .order > .buy-btn { margin-top: -8px; }
  .tpl-product .notes { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-muted); }
  .tpl-product .notes li { display: flex; gap: 10px; align-items: flex-start; }
  .tpl-product .notes svg { flex: none; margin-top: 1px; color: var(--ink); }
  .tpl-product .perks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
  .tpl-product .perks li { display: flex; gap: 14px; align-items: center; }
  .tpl-product .perks li > span:last-child { display: flex; flex-direction: column; }
  .tpl-product .ti { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-raised); display: inline-flex; align-items: center; justify-content: center; }
  /* Tražite nešto slično? */
  .tpl-product .slicno { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--wing); }
  .tpl-product .slicno > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; flex: 1; }
  .tpl-product .slicno p { color: var(--wing-ink); margin: 0; }
  .tpl-product .slicno-bee { width: 56px; height: auto; flex: none; }
  .tpl-product .slicno .btn { background: var(--surface-paper); margin-top: 4px; white-space: normal; text-align: left; }
  @media (max-width: 520px) { .tpl-product .slicno { padding: 18px 16px; gap: 12px; } .tpl-product .slicno-bee { width: 44px; } }
  /* Komplet */
  .tpl-product .komplet { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: var(--leaf-soft); border: 2px solid var(--leaf); }
  .tpl-product .km-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .tpl-product .km-row { display: flex; align-items: center; gap: 10px; }
  .tpl-product .km-item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; text-decoration: none; color: var(--ink); }
  .tpl-product .km-img { width: 100%; }
  .tpl-product .km-img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-paper); max-width: 120px; }
  .tpl-product .km-img img { width: 100%; height: 100%; object-fit: cover; }
  .tpl-product .km-name { font-size: 13px; line-height: 17px; font-weight: 700; }
  .tpl-product .km-plus { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-paper); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 24px; }
  .tpl-product .km-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .tpl-product .km-cena { margin: 0; font-size: 16px; }
  .tpl-product .km-cena s { color: var(--ink-muted); }
  .tpl-product .km-cena b { font-size: 20px; color: var(--leaf); }
  /* Za firme */
  .tpl-product .firme { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: var(--surface-raised); border: 2px dashed var(--line-strong); }
  .tpl-product .fm-head { display: flex; gap: 14px; align-items: flex-start; }
  .tpl-product .fm-head p { margin: 4px 0 0; }
  .tpl-product .fm-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
  .tpl-product .fm-tiers { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; }
  .tpl-product .fm-tiers li { display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 8px 10px; border-radius: 14px; background: var(--surface-paper); border: 2px solid transparent; line-height: 18px; transition: border-color .2s, background-color .2s; }
  .tpl-product .fm-tiers li b { font-size: 17px; color: var(--leaf); }
  .tpl-product .fm-tiers li span { font-size: 12px; font-weight: 700; color: var(--ink-muted); }
  .tpl-product .fm-tiers li.on { border-color: var(--ink); background: var(--honey-soft); }
  .tpl-product .fm-calc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .tpl-product .fm-calc label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
  .tpl-product .fm-qty input { width: 72px; }
  .tpl-product .fm-out { margin: 0; font-size: 15px; }
  .tpl-product .fm-out b { font-size: 18px; }
  .tpl-product .fm-btn { align-self: flex-start; background: var(--surface-paper); }
  /* Crtež u izabranim bojama */
  .tpl-product .slide.crtez { background: radial-gradient(circle at 50% 40%, #F7F3EC, #E4DDD2 75%); }
  .tpl-product .slide.crtez > svg { position: absolute; inset: 9% 9% 11%; width: 82%; height: 80%; }
  .tpl-product .slide.crtez .mix-hint, .tpl-product .slide.mix .mix-hint { z-index: 1; }
  .tpl-product .thumb-crtez .tc-dots { display: inline-flex; gap: 3px; }
  .tpl-product .thumb-crtez .tc-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(49,32,24,.25); }
  /* Traka pri dnu ekrana (telefon) */
  .tpl-product .sbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface-paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(49,32,24,.12); animation: sbar-in .3s var(--ease); }
  .tpl-product .sbar-in { display: flex; align-items: center; gap: 10px; }
  .tpl-product .sbar-img img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--surface-raised); display: block; }
  .tpl-product .sbar-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 18px; }
  .tpl-product .sbar-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-muted); }
  .tpl-product .sbar-cena { font-size: 16px; }
  .tpl-product .sbar-buy { min-height: 44px; padding: 0 16px; }
  @keyframes sbar-in { from { transform: translateY(100%); } to { transform: none; } }
  @media (min-width: 761px) { .tpl-product .sbar { display: none !important; } }
  @media (prefers-reduced-motion: reduce) { .tpl-product .sbar { animation: none; } }
  .tpl-product #poruci { scroll-margin-top: 110px; }

  /* Donji deo strane: šarene kartice na svetloj podlozi */
  .tpl-product .lower { padding-top: 88px; }
  .tpl-product .tone-0 { --tone: var(--honey-soft); }
  .tpl-product .tone-1 { --tone: var(--wing); }
  .tpl-product .tone-2 { --tone: var(--leaf-soft); }
  .tpl-product .tone-3 { --tone: var(--surface-raised); }
  .tpl-product .about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .tpl-product .about-card { position: relative; background: var(--surface-raised); border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; overflow: hidden; }
  .tpl-product .about-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--honey-soft); z-index: 0; }
  .tpl-product .about-card > * { position: relative; z-index: 1; }
  .tpl-product .about-card p { color: var(--ink-muted); max-width: 60ch; }
  .tpl-product .about-card .btn { margin-top: 8px; }
  .tpl-product .about-bee { position: absolute !important; right: 28px; top: 24px; width: 76px; height: auto; }
  .tpl-product .draw-trail { width: 220px; height: 22px; margin: -4px 0 4px; overflow: visible; }
  .tpl-product .dt-m { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .35s; }
  .tpl-product .in .dt-m, html.tpl-product:not(.js) .dt-m { stroke-dashoffset: 0; }
  .tpl-product .specs-title { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .tpl-product .spec-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tpl-product .spec { position: relative; background: var(--tone); border-radius: 18px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; transition: transform .35s var(--ease), box-shadow .35s ease; }
  .tpl-product .spec-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-paper); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
  .tpl-product .spec-k { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
  .tpl-product .spec-v { font-size: 15px; line-height: 21px; font-weight: 600; }

  .tpl-product .know-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
  .tpl-product .know-card { background: var(--tone); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s ease; }
  .tpl-product .know-card p { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
  .tpl-product .know-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-paper); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: transform .45s cubic-bezier(.2,.9,.3,1.4); }

  .tpl-product .howto { position: relative; background: var(--honey); border-radius: var(--r-lg); padding: 40px; overflow: hidden; }
  .tpl-product .howto::before { content: ''; position: absolute; left: 40px; right: 40px; bottom: 26px; height: 6px; background-image: radial-gradient(circle, rgba(49,32,24,.35) 2.4px, transparent 2.9px); background-size: 12px 6px; background-repeat: repeat-x; }
  .tpl-product .howto-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
  .tpl-product .howto-head .label { display: block; margin-bottom: 6px; }
  .tpl-product .howto-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 20px; }
  .tpl-product .howto-steps li { background: var(--surface-paper); border-radius: 20px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; transition: transform .35s var(--ease); }
  .tpl-product .howto-steps li > div { display: flex; flex-direction: column; gap: 4px; }
  .tpl-product .howto-steps p { color: var(--ink-muted); }
  .tpl-product .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }

  .tpl-product .faq-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
  .tpl-product .faq-side .muted { margin-top: 8px; }
  .tpl-product .help-card { margin-top: 24px; background: var(--wing); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
  .tpl-product .help-card img { width: 64px; height: 64px; }
  .tpl-product .faq-box { background: var(--surface-raised); border-radius: var(--r-lg); padding: 8px 32px; }
  .tpl-product .faq-box .acc { border-top: 0; }
  .tpl-product .faq-box .acc details:last-child { border-bottom: 0; }
  .tpl-product .rel-h { display: flex; gap: 16px; align-items: center; }
  .tpl-product .rel-h img { width: 64px; height: 64px; flex: none; }

  /* Efekti na prelaz mišem samo na uređajima sa mišem (na telefonu ne smetaju skrolu) */
  @media (hover: hover) {
    .tpl-product .spec:nth-child(odd):hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); }
    .tpl-product .spec:nth-child(even):hover { transform: translateY(-4px) rotate(1deg); box-shadow: var(--shadow); }
    .tpl-product .know-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
    .tpl-product .know-card:hover .know-ic { transform: rotate(-12deg) scale(1.08); }
    .tpl-product .howto-steps li:hover { transform: translateY(-4px) rotate(-.6deg); }
    .tpl-product .style-tile:hover { transform: translateY(-2px); }
  }

  /* Ukras se njiše kao HTML sloj (glatko i na telefonu) */
  .tpl-product .sway-box { position: absolute; inset: 0; transform-origin: 50% 0; will-change: transform; }

  /* Privezak: pregled uživo */
  .tpl-product .slide.live svg.kc-svg { inset: 15% 9% 9%; width: 82%; height: 76%; filter: drop-shadow(0 10px 14px rgba(49,32,24,.22)); }
  .tpl-product .style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
  .tpl-product .style-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 6px 8px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface-paper); cursor: pointer; transition: transform .25s var(--ease), border-color .2s; }
  .tpl-product .style-tile input { position: absolute; opacity: 0; pointer-events: none; }
  .tpl-product .style-img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; }
  .tpl-product .kc-note { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--honey-soft); font-size: 14px; line-height: 20px; color: var(--ink); }
  .tpl-product .kc-note svg { flex: none; margin-top: 1px; }
  .tpl-product .style-name { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink-muted); text-align: center; }
  .tpl-product .style-tile:has(input:checked) { border-color: var(--ink); background: var(--honey-soft); }
  .tpl-product .style-tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
  .tpl-product .kc-names { display: flex; flex-direction: column; gap: 10px; }
  .tpl-product .kc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
  .tpl-product .kc-row .kc-del[hidden] { display: none; }
  .tpl-product .kc-del { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface-paper); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .tpl-product .kc-add { margin-top: 10px; align-self: flex-start; }
  .tpl-product .kc-add[hidden] { display: none; }
  .tpl-product .kc-colors { display: flex; flex-direction: column; gap: 18px; }
  .tpl-product .kc-colors [hidden] { display: none; }

  /* Cena po opciji i poziv za celu kolekciju */
  .tpl-product .chip-cena { font-size: 12px; font-weight: 700; color: var(--ink-muted); margin-left: 2px; }
  .tpl-product .chip:has(input:checked) .chip-cena { color: var(--ink); }
  .tpl-product .price.pop { animation: mot-pop .5s cubic-bezier(.3,1.7,.5,1); transform-origin: left center; }
  .tpl-product .poziv { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 22px 22px 108px; border-radius: var(--r-lg); background: var(--honey-soft); border: 2px dashed var(--ink); }
  .tpl-product .poziv p { font-weight: 600; font-size: 16px; line-height: 23px; margin: 0; }
  .tpl-product .poziv-bee { position: absolute; left: 20px; top: 20px; width: 72px; height: auto; }
  @media (max-width: 520px) { .tpl-product .poziv { padding: 20px; } .tpl-product .poziv-bee { position: static; width: 56px; } }

  /* Izbor motiva: pločice, brojač i traka popusta sa pčelicom */
  .tpl-product .mot-slide-name { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--surface-paper); border: 2px solid var(--ink); }
  .tpl-product .mot-hint { margin: -2px 0 12px; }
  .tpl-product .mot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .tpl-product .mot-grid.pop { animation: mot-shake .45s; }
  .tpl-product .mot-tile { position: relative; display: flex; flex-direction: column; gap: 6px; }
  .tpl-product .mot-pick { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 6px 10px; border: 2px solid var(--line); border-radius: 18px; background: var(--surface-paper); cursor: pointer; font: inherit; color: var(--ink); transition: transform .3s cubic-bezier(.3,1.5,.5,1), border-color .2s, background-color .2s; }
  .tpl-product .mot-pick:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .tpl-product .mot-img { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-raised); display: flex; align-items: center; justify-content: center; }
  .tpl-product .mot-img img { width: 100%; height: 100%; object-fit: cover; }
  .tpl-product .mot-img .mot-ph { width: 56%; height: auto; opacity: .55; }
  .tpl-product .mot-name { font-size: 13px; line-height: 17px; font-weight: 700; text-align: center; }
  .tpl-product .mot-cena { font-size: 12px; line-height: 16px; font-weight: 800; padding: 2px 8px; margin-top: -2px; border-radius: 999px; background: var(--surface-raised); white-space: nowrap; }
  .tpl-product .mot-tile.on .mot-cena { background: var(--surface-paper); }
  .tpl-product .mot-check { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--surface-paper); display: inline-flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.7,.5,1); }
  .tpl-product .mot-tile.on .mot-pick { border-color: var(--ink); background: var(--honey-soft); transform: rotate(-2deg); }
  .tpl-product .mot-tile.on:nth-child(even) .mot-pick { transform: rotate(2deg); }
  .tpl-product .mot-tile.on .mot-check { transform: scale(1); }
  .tpl-product .mot-step { display: flex; align-items: center; justify-content: space-between; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface-paper); height: 36px; padding: 0 2px; animation: mot-in .3s cubic-bezier(.3,1.5,.5,1); }
  .tpl-product .mot-step[hidden] { display: none; }
  .tpl-product .mot-step button { width: 32px; height: 30px; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; border-radius: 999px; }
  .tpl-product .mot-step button:hover { background: var(--honey-soft); }
  .tpl-product .mot-step span { font-weight: 800; font-size: 15px; }
  :is(.tpl-product, .cart-grupa) .mm { padding: 46px 26px 44px; margin-top: 16px; border-radius: 18px; background: var(--surface-raised); }
  :is(.tpl-product, .cart-grupa) .mm-track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-paper); box-shadow: inset 0 0 0 2px var(--line); }
  :is(.tpl-product, .cart-grupa) .mm-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--honey-soft), var(--honey)); transition: width .55s cubic-bezier(.3,1.3,.5,1); }
  :is(.tpl-product, .cart-grupa) .mm-stop { position: absolute; left: var(--x); top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
  :is(.tpl-product, .cart-grupa) .mm-stop i { width: 20px; height: 20px; border-radius: 50%; background: var(--surface-paper); border: 2px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
  :is(.tpl-product, .cart-grupa) .mm-lab { position: absolute; top: 24px; display: flex; flex-direction: column; align-items: center; line-height: 15px; white-space: nowrap; }
  :is(.tpl-product, .cart-grupa) .mm-stop b { font-size: 13px; font-weight: 800; color: var(--ink-muted); transition: color .3s; }
  :is(.tpl-product, .cart-grupa) .mm-stop small { font-size: 11px; font-weight: 700; color: var(--ink-muted); }
  :is(.tpl-product, .cart-grupa) .mm-stop.on i { background: var(--honey); border-color: var(--ink); }
  :is(.tpl-product, .cart-grupa) .mm-stop.on b { color: var(--leaf); }
  :is(.tpl-product, .cart-grupa) .mm-stop.pop i { animation: mot-pop .5s cubic-bezier(.3,1.7,.5,1); }
  :is(.tpl-product, .cart-grupa) .mm-bee { position: absolute; left: 0; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -100%); transition: left .6s cubic-bezier(.3,1.3,.5,1); z-index: 2; pointer-events: none; filter: drop-shadow(0 4px 4px rgba(49,32,24,.18)); }
  :is(.tpl-product, .cart-grupa) .mm-bee.pop { animation: mot-hop .6s ease; }
  :is(.tpl-product, .cart-grupa) .mm-msg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 14px 0 0; font-weight: 600; font-size: 15px; line-height: 22px; }
  :is(.tpl-product, .cart-grupa) .mm-count { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--surface-paper); font-weight: 800; font-size: 14px; }
  :is(.tpl-product, .cart-grupa) .mm-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--leaf); color: #fff; font-weight: 800; font-size: 14px; }
  :is(.tpl-product, .cart-grupa) .mm-badge[hidden] { display: none; }
  :is(.tpl-product, .cart-grupa) .mm-badge.pop { animation: mot-pop .55s cubic-bezier(.3,1.7,.5,1); }
  :is(.tpl-product, .cart-grupa) .mm-total { margin: 8px 0 0; font-size: 16px; }
  :is(.tpl-product, .cart-grupa) .mm-total s { color: var(--ink-muted); margin-left: 6px; font-weight: 500; }
  /* Napomena na fotografiji napravljenoj uz AI */
  .tpl-product .ai-note { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; margin: 0; padding: 6px 10px; border-radius: 10px; background: rgba(255,250,240,.9); color: var(--ink); font-size: 12px; line-height: 16px; font-weight: 600; text-align: center; }
  /* Korpa: popust za različite proizvode (ista traka kao na strani proizvoda, plugin Bumbaru 3D) */
  .cart-grupa { margin: 0 0 18px; }
  .cart-grupa .cg-t { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0; font-size: 16px; }
  .cart-grupa .cg-t span { font-size: 14px; color: var(--ink-muted); }
  div.cart-grupa .mm { margin-top: 10px; padding-left: 44px; padding-right: 44px; }
  .cart-grupa .mm-set { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--honey-soft); font-size: 14px; }
  .cart-grupa .mm-set a { font-weight: 700; }
  .tpl-product .mot-err:empty { display: none; }
  @keyframes mot-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
  @keyframes mot-in { from { opacity: 0; transform: translateY(-6px) scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes mot-hop { 0%, 100% { transform: translate(-50%, -100%) rotate(0); } 35% { transform: translate(-50%, -145%) rotate(-12deg); } 65% { transform: translate(-50%, -110%) rotate(8deg); } }
  @keyframes mot-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
  @media (hover: hover) { .tpl-product .mot-tile:not(.on) .mot-pick:hover { transform: translateY(-3px); border-color: var(--line-strong); } }

  /* Izbor boja: proizvod obojen u svaku boju, šareni miks i „Vaš izbor” u galeriji */
  .tpl-product .sil-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .tpl-product .mot-grid-boje { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-product .mot-grid-boje.mot-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 520px) { .tpl-product .mot-grid-boje.mot-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .tpl-product .mot-boja { background: radial-gradient(circle at 50% 44%, #F7F3EC, var(--surface-raised) 74%); }
  .tpl-product .mot-boja .sil { color: var(--c); height: 80%; width: auto; overflow: visible; filter: drop-shadow(0 4px 3px rgba(49,32,24,.22)); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
  .tpl-product .mot-tile.on .mot-boja .sil { transform: translateY(-3px) rotate(-7deg) scale(1.05); }
  .tpl-product .mot-tile.on:nth-child(even) .mot-boja .sil { transform: translateY(-3px) rotate(7deg) scale(1.05); }
  .tpl-product .mot-krug { display: block; width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.6), transparent 46%), var(--c); box-shadow: inset 0 -6px 10px rgba(0,0,0,.2), 0 4px 8px rgba(49,32,24,.2); }
  .tpl-product .mot-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
  .tpl-product .mot-quick-lab { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; margin-right: 2px; }
  .tpl-product .mq { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 2px dashed var(--ink); background: var(--surface-paper); font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; transition: background-color .2s, transform .25s var(--ease); }
  .tpl-product .mq small { font-size: 12px; font-weight: 800; color: var(--leaf); }
  .tpl-product .mq:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .tpl-product .mq.pop { animation: mot-pop .5s cubic-bezier(.3,1.7,.5,1); }
  @media (hover: hover) { .tpl-product .mq:hover { background: var(--honey-soft); transform: translateY(-2px); } }
  /* Slavski set: pregled u krug (medaljon u sredini, izabrane modlice oko njega) */
  .tpl-product .slide.sastav { background: #6b5646; }
  .tpl-product .ss-stage { position: absolute; inset: 0; background-size: cover; background-position: center; --box: 23; --med: 40%; --rad: 35.5; }
  .tpl-product .ss-stage[data-vel="1"] { --box: 20; --med: 40%; --rad: 34; }
  .tpl-product .ss-stage[data-vel="2"] { --box: 17; --med: 33%; --rad: 31; }
  .tpl-product .ss-med, .tpl-product .ss-m { position: absolute; left: 50%; top: 50%; transition: width .45s cubic-bezier(.3,1.3,.5,1), height .45s cubic-bezier(.3,1.3,.5,1), transform .45s cubic-bezier(.3,1.3,.5,1); }
  .tpl-product .slide .ss-med { width: var(--med); height: auto; object-fit: contain; transform: translate(-50%, -50%); filter: drop-shadow(2px 6px 7px rgba(30,18,10,.45)); }
  .tpl-product .ss-m { width: calc(var(--box) * 1%); height: calc(var(--box) * 1%); transform: translate(-50%, -50%) rotate(var(--a)) translateX(calc(var(--rad) / var(--box) * 100%)) rotate(calc(-1 * var(--a))) rotate(var(--r)); }
  .tpl-product .slide .ss-m img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(2px 5px 5px rgba(30,18,10,.45)); transition: opacity .25s; }
  .tpl-product .ss-m.prazno img { opacity: 0; }
  .tpl-product .ss-m.prazno::after { content: ''; position: absolute; inset: 12%; border: 2px dashed rgba(255,255,255,.75); border-radius: 22%; }
  .tpl-product .ss-m.pop img { animation: ss-in .45s cubic-bezier(.3,1.5,.5,1); }
  @keyframes ss-in { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  .tpl-product .thumb-sas img { width: 46px; height: auto; }
  .tpl-product .sas-img { background: radial-gradient(circle at 50% 45%, #F7F3EC, #E4DDD2 80%); }
  .tpl-product .sas-img img { object-fit: contain; padding: 8%; }
  .tpl-product .mot-pick.full { opacity: .5; }
  .tpl-product .sas-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .tpl-product .sas.done .mm-count { background: var(--leaf, #3f7d4e); color: #fff; }
  .tpl-product .slide.mix { background: radial-gradient(circle at 50% 40%, #F7F3EC, #E4DDD2 75%); }
  .tpl-product .slide.mix .live-badge b { font-weight: 800; }
  .tpl-product .mix-grid { position: absolute; inset: 66px 18px 52px; container-type: size; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; gap: 2cqh 4cqw; --h: 64; }
  .tpl-product .mix-grid[data-n="2"] { --h: 56; }
  .tpl-product .mix-grid[data-n="3"] { --h: 40; }
  .tpl-product .mix-grid[data-n="4"] { --h: 34; }
  .tpl-product .mix-grid[data-n="5"] { --h: 30; }
  .tpl-product .mix-grid .mix-g { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5cqh; animation: mot-in .35s cubic-bezier(.3,1.5,.5,1); }
  .tpl-product .mix-grid .mix-stack { position: relative; display: block; padding-right: calc((var(--k, 1) - 1) * var(--h) * .13cqh); }
  .tpl-product .mix-grid .mix-stack > * { display: block; height: calc(var(--h) * 1cqh); width: auto; overflow: visible; color: var(--c); filter: drop-shadow(0 6px 6px rgba(49,32,24,.22)); }
  .tpl-product .mix-grid .mix-stack > .mot-krug { width: calc(var(--h) * .7cqh); height: calc(var(--h) * .7cqh); margin: calc(var(--h) * .15cqh) 0; }
  .tpl-product .mix-grid .mix-stack > :not(:first-child) { position: absolute; left: 0; top: 0; transform: translate(calc(var(--i) * var(--h) * .13cqh), calc(var(--i) * var(--h) * -.025cqh)) rotate(calc(var(--i) * 5deg)); transform-origin: 50% 90%; }
  .tpl-product .mix-grid .mix-k { position: absolute; top: -6px; right: -14px; min-width: 40px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: var(--surface-paper); font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--surface-paper); z-index: 2; }
  .tpl-product .mix-grid .mix-k.pop { animation: mot-pop .5s cubic-bezier(.3,1.7,.5,1); }
  .tpl-product .mix-grid .mix-name { font-size: 14px; line-height: 18px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(238,234,227,.85); white-space: nowrap; }
  .tpl-product .mix-hint { position: absolute; left: 16px; right: 16px; bottom: 14px; margin: 0; text-align: center; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
  @media (prefers-reduced-motion: reduce) { .tpl-product .mot-boja .sil, .tpl-product .mq { transition: none; } .tpl-product .mix-grid .mix-g, .tpl-product .mix-grid .mix-k.pop, .tpl-product .mq.pop { animation: none; } }
  @media (prefers-reduced-motion: reduce) {
    .tpl-product .mot-pick, .tpl-product .mot-check, :is(.tpl-product, .cart-grupa) .mm-fill, :is(.tpl-product, .cart-grupa) .mm-bee { transition: none; }
    .tpl-product .mot-step, :is(.tpl-product, .cart-grupa) .mm-bee.pop, :is(.tpl-product, .cart-grupa) .mm-badge.pop, :is(.tpl-product, .cart-grupa) .mm-stop.pop i, .tpl-product .mot-grid.pop { animation: none; }
  }

  @media (max-width: 960px) {
    .tpl-product .pd { grid-template-columns: 1fr; gap: 28px; }
    .tpl-product .gallery { position: static; }
    .tpl-product .lower { padding-top: 56px; }
    .tpl-product .about-grid, .tpl-product .faq-grid { grid-template-columns: 1fr; }
    .tpl-product .howto-steps { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .tpl-product .about-card, .tpl-product .howto { padding: 24px 20px; }
    .tpl-product .about-bee { width: 56px; right: 16px; top: 16px; }
    .tpl-product .spec-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tpl-product .spec { padding: 14px; }
    .tpl-product .faq-box { padding: 4px 20px; }
    .tpl-product .howto::before { left: 20px; right: 20px; }
  }
  /* Telefon: zalepljeni mini pregled (site.js dodaje .is-mini i traku .mini-band) */
  .mini-band { display: none; }
  @media (max-width: 960px) {
    .tpl-product .mini-ph { border-radius: var(--r-lg); background: var(--surface-raised); }
    .tpl-product .gallery.is-mini .stage { position: fixed; z-index: 39; top: calc(var(--mini-top, 64px) + 8px); left: 12px; width: calc(var(--mini-h, 200px) - 16px); height: calc(var(--mini-h, 200px) - 16px); aspect-ratio: auto; border: 2px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 4px 4px 0 var(--ink); cursor: default; animation: mini-in .25s var(--ease); transition: top .3s var(--ease), width .2s ease, height .2s ease; }
    .tpl-product .gallery.is-mini .stage .live-badge, .tpl-product .gallery.is-mini .stage .mix-hint, .tpl-product .gallery.is-mini .stage .soon-photo span { display: none; }
    .mini-band:not([hidden]) { display: block; position: fixed; z-index: 38; left: 0; right: 0; top: var(--mini-top, 64px); height: var(--mini-h, 200px); background: linear-gradient(115deg, #FFE7A3 0%, #FFF5D6 50%, #DDEEF7 100%); border-bottom: 2px solid var(--ink); box-shadow: 0 10px 24px rgba(49,32,24,.14); animation: mini-band-in .25s var(--ease); transition: top .3s var(--ease), height .2s ease; }
    /* polje u koje se kuca ne sme da ostane ispod trake */
    .ima-mini .tpl-product .info :is(input, textarea, select) { scroll-margin-top: calc(var(--mini-top, 64px) + var(--mini-h, 200px) + 16px); }
    .mini-band .mini-x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); font: 700 22px/1 var(--font); cursor: pointer; }
    .mini-band .mini-up { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); font: 700 18px/1 var(--font); cursor: pointer; }
    .mini-izbor { position: absolute; left: calc(var(--mini-h, 200px) + 6px); right: 56px; top: 8px; bottom: 8px; display: flex; flex-direction: column; justify-content: center; gap: 5px; overflow: hidden; }
    .mini-izbor .mi { display: flex; align-items: baseline; gap: 5px; min-width: 0; flex: none; padding: 3px 10px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: #fff; font-size: 13px; line-height: 18px; font-weight: 800; color: var(--ink); }
    .mini-izbor .mi > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .mini-izbor small { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
    .mini-izbor i { flex: none; margin-left: auto; font-style: normal; font-size: 12px; color: var(--leaf); }
    .mini-izbor .cp-dot { flex: none; align-self: center; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--ink); transform: none; }
    .mini-izbor .mi-vise { border: 0; background: none; padding: 0 4px; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
  }
  @keyframes mini-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
  @keyframes mini-band-in { from { transform: translateY(-100%); } to { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .tpl-product .gallery.is-mini .stage, .mini-band:not([hidden]) { animation: none; transition: none; } }
  @media (max-width: 520px) {
    .tpl-product .km-name { font-size: 12px; }
    .tpl-product .names { grid-template-columns: 1fr; }
    .tpl-product .thumb { width: 68px; height: 68px; }
  }


/* ——— pages/katalog/[kategorija].astro → .tpl-cat ——— */

  .tpl-cat .tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
  .tpl-cat .tabs::-webkit-scrollbar { display: none; }
  .tpl-cat .tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: var(--r-pill); font-weight: 700; text-decoration: none; white-space: nowrap; background: var(--surface-paper); }
  .tpl-cat .tab:hover { background: var(--surface-raised); }
  .tpl-cat .tab[aria-current="page"] { background: var(--ink); color: var(--cream); }
  .tpl-cat .cat-hero { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; padding: 32px; background: var(--surface-raised); }
  .tpl-cat .cat-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .tpl-cat .cat-hero-card { position: relative; max-width: 560px; background: var(--surface-paper); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; box-shadow: var(--shadow); }
  @media (max-width: 760px) { .tpl-cat .cat-hero { min-height: 0; padding: 140px 12px 12px; } .tpl-cat .cat-hero-card { padding: 22px; } }
  .tpl-cat .list { margin-top: 32px; }
  .tpl-cat .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
  .tpl-cat .tb-right { display: flex; align-items: center; gap: 16px; flex: 1 1 320px; justify-content: flex-end; min-width: 0; }
  .tpl-cat .tb-right [data-count] { white-space: nowrap; margin: 0; flex: none; }
  .tpl-cat .tb-right .kp-search { flex: 1 1 240px; width: auto; min-width: 0; }
  @media (max-width: 760px) { .tpl-cat .tb-right { flex-basis: 100%; justify-content: space-between; gap: 10px; } }
  .tpl-cat .chip .cnt { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; align-items: center; justify-content: center; border-radius: var(--r-pill); background: var(--surface-paper); font-size: 12px; }
  .tpl-cat .chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .tpl-cat .chip[aria-pressed="true"] .cnt { background: var(--honey); color: var(--ink); }
  .tpl-cat .about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 72px; }
  @media (max-width: 900px) { .tpl-cat .about { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; } }
  .tpl-cat .soon { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; padding: 32px; margin-top: 32px; }
  .tpl-cat .soon img { width: 100%; border-radius: 18px; }
  .tpl-cat .soon-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
  @media (max-width: 760px) { .tpl-cat .soon { grid-template-columns: 1fr; padding: 20px; gap: 20px; } .tpl-cat .soon img { max-width: 240px; } }
  .tpl-cat .notfound { margin-top: 64px; padding: 32px; border-radius: var(--r-lg); background: var(--honey-soft); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }


/* ——— pages/katalog/index.astro → .tpl-katalog ——— */

  .tpl-katalog .tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
  .tpl-katalog .tabs::-webkit-scrollbar { display: none; }
  .tpl-katalog .tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: var(--r-pill); font-weight: 700; text-decoration: none; white-space: nowrap; background: var(--surface-paper); }
  .tpl-katalog .tab:hover { background: var(--surface-raised); }
  .tpl-katalog .tab[aria-current="page"] { background: var(--ink); color: var(--cream); }

  .tpl-katalog .k-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px; align-items: center; min-height: 420px; padding: 40px 48px; border-radius: var(--r-lg); background: var(--honey-soft); overflow: hidden; overflow: clip; }
  .tpl-katalog .k-hero::before { content: ''; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: var(--honey); opacity: .55; }
  .tpl-katalog .k-hero > * { position: relative; }
  .tpl-katalog .k-hero-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .tpl-katalog .k-hero-txt .lead { max-width: 560px; color: var(--ink); }
  .tpl-katalog .k-stats { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; padding: 0; }
  .tpl-katalog .k-stats li { display: flex; flex-direction: column; align-items: center; min-width: 96px; padding: 10px 14px; border-radius: 16px; background: var(--surface-paper); line-height: 18px; }
  .tpl-katalog .k-stats b { font-size: 22px; line-height: 26px; font-weight: 800; }
  .tpl-katalog .k-stats span { font-size: 12px; font-weight: 700; color: var(--ink-muted); text-align: center; }
  .tpl-katalog .k-hero-art { position: relative; height: 340px; }
  .tpl-katalog .k-trail { position: absolute; inset: 10% 0 0 0; width: 100%; height: 80%; opacity: .6; }
  .tpl-katalog .k-pol { position: absolute; width: 31%; padding: 7px 7px 9px; background: var(--surface-paper); border-radius: 10px; box-shadow: var(--shadow); transform: rotate(var(--r)); text-decoration: none; display: flex; flex-direction: column; gap: 5px; animation: k-drop .6s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(var(--d) * 90ms + 150ms); }
  .tpl-katalog .k-pol::before { content: ''; position: absolute; left: 50%; top: -9px; width: 48px; height: 18px; margin-left: -24px; background: rgba(245,193,55,.75); transform: rotate(-3deg); }
  .tpl-katalog .k-pol img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
  .tpl-katalog .k-pol span { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tpl-katalog .k-bee { position: absolute; right: 2%; top: -2%; width: 78px; height: auto; }
  @keyframes k-drop { from { opacity: 0; transform: translateY(-24px) rotate(calc(var(--r) * -2)); } to { opacity: 1; transform: rotate(var(--r)); } }

  .tpl-katalog .k-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 28px; }
  .tpl-katalog .k-tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px 8px 14px; border-radius: 22px; background: var(--surface-raised); text-decoration: none; color: var(--ink); border: 2px solid transparent; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .2s; }
  .tpl-katalog .k-img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface-paper); margin-bottom: 10px; }
  .tpl-katalog .k-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
  .tpl-katalog .k-ic { position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
  .tpl-katalog .k-name { font-weight: 800; font-size: 16px; line-height: 21px; padding: 0 6px; }
  .tpl-katalog .k-cnt { font-size: 13px; line-height: 18px; color: var(--ink-muted); padding: 0 6px; }

  .tpl-katalog .k-sec { margin-top: 32px; padding: 32px; border-radius: var(--r-lg); scroll-margin-top: 100px; background: var(--tone, var(--surface-raised)); }
  .tpl-katalog .tone-honey { --tone: #F7EBC4; }
  .tpl-katalog .tone-wing { --tone: var(--wing); }
  .tpl-katalog .tone-leaf { --tone: var(--leaf-soft); }
  .tpl-katalog .tone-lilac { --tone: #E5DDF0; }
  .tpl-katalog .tone-berry { --tone: var(--berry-soft); }
  .tpl-katalog .tone-peach { --tone: #F8DEC0; }
  .tpl-katalog .k-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
  .tpl-katalog .k-sec-t { display: flex; gap: 14px; align-items: flex-start; max-width: 720px; }
  .tpl-katalog .k-sec-t p { margin-top: 6px; }
  .tpl-katalog .k-sec-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .tpl-katalog .k-sec .btn svg { margin-left: 2px; }
  .tpl-katalog .kicon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
  .tpl-katalog .k-sec .card .media { background: var(--surface-paper); }
  .tpl-katalog .k-soon { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; background: #F4E2AA; }
  .tpl-katalog .k-soon img { width: 100%; border-radius: 18px; }
  .tpl-katalog .k-soon > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

  .tpl-katalog .k-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
  .tpl-katalog .k-cta-card { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease); }
  .tpl-katalog .k-cta-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
  .tpl-katalog .k-cta-card .btn { flex: none; }
  .tpl-katalog .k-cta-kviz { background: var(--honey-soft); border: 2px dashed var(--ink); }
  .tpl-katalog .k-cta-kviz img { width: 60px; height: auto; flex: none; }
  .tpl-katalog .k-cta-meri { background: var(--dark); color: var(--cream); }
  .tpl-katalog .k-cta-meri .small { color: var(--cream-muted); }
  .tpl-katalog .k-cta-ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--honey); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }

  @media (hover: hover) {
    .tpl-katalog .k-tile:hover { transform: translateY(-5px) rotate(var(--r)); box-shadow: var(--shadow); border-color: var(--ink); }
    .tpl-katalog .k-tile:hover .k-img img { transform: scale(1.06); }
    .tpl-katalog .k-cta-card:hover { transform: translateY(-4px) rotate(-.6deg); }
  }
  @media (max-width: 1000px) {
    .tpl-katalog .k-hero { grid-template-columns: 1fr; }
    .tpl-katalog .k-hero-art { height: 300px; max-width: 520px; width: 100%; justify-self: center; }
    .tpl-katalog .k-cta { grid-template-columns: 1fr; }
  }
  @media (max-width: 760px) {
    .tpl-katalog .k-hero { padding: 24px 18px 20px; gap: 20px; min-height: 0; }
    .tpl-katalog .k-hero::before { width: 300px; height: 300px; right: -120px; bottom: -120px; }
    .tpl-katalog .k-hero-art { height: 250px; }
    .tpl-katalog .k-pol { width: 31%; }
    .tpl-katalog .k-tiles { display: flex; overflow-x: auto; margin: 20px -16px 0; padding: 4px 16px 10px; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .tpl-katalog .k-tiles::-webkit-scrollbar { display: none; }
    .tpl-katalog .k-tile { flex: none; width: 140px; scroll-snap-align: start; }
    .tpl-katalog .k-sec { padding: 20px 16px; margin-top: 20px; border-radius: 24px; }
    .tpl-katalog .k-sec-head { margin-bottom: 16px; }
    .tpl-katalog .k-soon { grid-template-columns: 1fr; gap: 16px; }
    .tpl-katalog .k-soon img { max-width: 200px; }
    .tpl-katalog .k-cta-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 20px; }
    .tpl-katalog .k-cta-card .btn { grid-column: 1 / -1; justify-self: start; }
    .tpl-katalog .k-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
    .tpl-katalog .k-stats li { min-width: 0; padding: 10px 6px; }
    .tpl-katalog .kicon { width: 38px; height: 38px; }
    .tpl-katalog .k-sec-t { gap: 10px; }
  }
  @media (prefers-reduced-motion: reduce) { .tpl-katalog .k-pol { animation: none; } .tpl-katalog .k-tile, .tpl-katalog .k-img img, .tpl-katalog .k-cta-card { transition: none; } }


/* ——— pages/pretraga.astro → .tpl-search ——— */

  .tpl-search .s-hero { position: relative; margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; padding: 40px 48px; border-radius: var(--r-lg); background: var(--honey-soft); overflow: hidden; overflow: clip; }
  .tpl-search .s-hero::after { content: ''; position: absolute; right: -80px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: var(--honey); opacity: .55; }
  .tpl-search .s-hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
  .tpl-search .s-hero .h1 { overflow-wrap: anywhere; }
  .tpl-search .s-form { position: relative; width: 100%; max-width: 640px; }
  .tpl-search .s-form input { width: 100%; height: 60px; padding: 0 56px 0 58px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--surface-paper); font-size: 18px; color: var(--ink); box-shadow: 0 4px 0 rgba(49,32,24,.12); }
  .tpl-search .s-form input::placeholder { color: var(--ink-muted); opacity: .8; }
  .tpl-search .s-form input:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
  .tpl-search .s-form input::-webkit-search-cancel-button { display: none; }
  .tpl-search .s-ic { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); display: inline-flex; pointer-events: none; }
  .tpl-search .s-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-raised); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .tpl-search .s-clear:hover { background: var(--honey); }
  .tpl-search .s-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .tpl-search .s-pop-lab { font-size: 14px; font-weight: 700; margin-right: 2px; }
  .tpl-search .s-pill { min-height: 40px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--surface-paper); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), background-color .2s; }
  .tpl-search .s-pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .tpl-search .s-hero-art { position: relative; z-index: 1; height: 220px; }
  .tpl-search .s-trail { position: absolute; left: 0; top: 20px; width: 220px; height: 160px; }
  .tpl-search .s-bee { position: absolute; right: 6px; top: 0; width: 120px; height: auto; }
  .tpl-search .s-glass { position: absolute; left: 24px; bottom: 6px; width: 84px; height: 84px; border-radius: 50%; background: var(--surface-paper); border: 3px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; transform: rotate(-12deg); box-shadow: var(--shadow); }
  .tpl-search .s-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 32px 0 28px; scroll-margin-top: 96px; }
  .tpl-search .s-bar .chip .cnt { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; align-items: center; justify-content: center; border-radius: var(--r-pill); background: var(--surface-paper); font-size: 12px; }
  .tpl-search .s-bar .chip.zero { opacity: .45; }
  .tpl-search .s-count { margin: 0; color: var(--ink-muted); }
  .tpl-search .s-count b { color: var(--ink); }
  .tpl-search .s-empty-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px 40px; border-radius: var(--r-lg); background: var(--surface-raised); border: 2px dashed var(--line-strong); }
  .tpl-search .s-empty-card .muted { margin: 10px 0 20px; max-width: 60ch; }
  .tpl-search .s-empty-art { position: relative; width: 160px; height: 160px; border-radius: 50%; background: var(--honey-soft); display: flex; align-items: center; justify-content: center; }
  .tpl-search .s-empty-art img { width: 110px; height: auto; }
  .tpl-search .s-q { position: absolute; right: 6px; top: 4px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--honey); font-weight: 800; font-size: 26px; display: inline-flex; align-items: center; justify-content: center; transform: rotate(10deg); }
  .tpl-search .s-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .tpl-search .s-sug-t { margin: 56px 0 24px; }
  @media (hover: hover) { .tpl-search .s-pill:hover { background: var(--honey); transform: translateY(-2px); } }
  @media (max-width: 860px) {
    .tpl-search .s-hero { grid-template-columns: 1fr; padding: 28px 24px; }
    .tpl-search .s-hero-art { display: none; }
    .tpl-search .s-hero::after { width: 200px; height: 200px; right: -70px; top: -80px; }
    .tpl-search .s-empty-card { grid-template-columns: 1fr; justify-items: start; padding: 28px 22px; gap: 18px; }
    .tpl-search .s-empty-art { width: 120px; height: 120px; }
    .tpl-search .s-empty-art img { width: 84px; }
  }
  @media (max-width: 520px) {
    .tpl-search .s-form input { height: 54px; font-size: 16px; padding-left: 50px; }
    .tpl-search .s-ic { left: 18px; }
    .tpl-search .s-bar .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; width: calc(100% + 32px); }
    .tpl-search .s-bar .chips::-webkit-scrollbar { display: none; }
    .tpl-search .s-bar .chip { flex: none; }
    .tpl-search .s-pop { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 6px; width: calc(100% + 48px); scrollbar-width: none; }
    .tpl-search .s-pop::-webkit-scrollbar { display: none; }
    .tpl-search .s-pill, .tpl-search .s-pop-lab { flex: none; }
  }


/* ——— pages/404.astro → .tpl-404 ——— */

  .tpl-404 .nf { max-width: 760px; margin: 48px auto 0; padding: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .tpl-404 .nf img { width: 120px; height: 120px; }
  .tpl-404 .nf ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .tpl-404 .nf-form { position: relative; display: flex; gap: 10px; width: 100%; max-width: 520px; }
  .tpl-404 .nf-form .input { border-radius: var(--r-pill); padding-left: 46px; min-height: 52px; border-color: var(--ink); }
  .tpl-404 .nf-form > svg { position: absolute; left: 18px; top: 16px; pointer-events: none; }
  .tpl-404 .nf-form .btn { min-height: 52px; }
  @media (max-width: 760px) { .tpl-404 .nf { padding: 28px 20px; } }


/* ——— pages/po-meri.astro → .tpl-pomeri ——— */

  .tpl-pomeri .pm-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--dark); color: var(--cream); border-radius: var(--r-lg); padding: 24px; }
  .tpl-pomeri .pm-text { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 24px 32px; }
  .tpl-pomeri .pm-hero img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; }
  .tpl-pomeri .how { margin-top: 48px; }
  .tpl-pomeri .how ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
  .tpl-pomeri .how li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--surface-paper); border-radius: var(--r-lg); }
  .tpl-pomeri .how .n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
  .tpl-pomeri .pm-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; align-items: start; }
  .tpl-pomeri .form-panel { padding: 32px; }
  .tpl-pomeri .upit { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
  .tpl-pomeri fieldset.field { border: 0; padding: 0; margin: 0; }
  .tpl-pomeri fieldset.field legend { padding: 0; margin-bottom: 8px; }
  .tpl-pomeri .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
  .tpl-pomeri .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .tpl-pomeri .side { display: flex; flex-direction: column; gap: 24px; }
  .tpl-pomeri .mat { margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; }
  .tpl-pomeri .mat dt { font-weight: 800; }
  .tpl-pomeri .mat dd { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
  @media (max-width: 900px) {
    .tpl-pomeri .pm-hero, .tpl-pomeri .pm-grid { grid-template-columns: 1fr; }
    .tpl-pomeri .pm-hero { padding: 16px; } .tpl-pomeri .pm-text { padding: 8px; } .tpl-pomeri .pm-hero img { height: 220px; }
    .tpl-pomeri .how ol { grid-template-columns: 1fr; }
    .tpl-pomeri .form-panel { padding: 22px 18px; }
    .tpl-pomeri .two { grid-template-columns: 1fr; }
  }


/* ——— pages/pomoc.astro → .tpl-pomoc ——— */

  .tpl-pomoc .intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
  .tpl-pomoc .facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
  .tpl-pomoc .facts li { display: flex; gap: 14px; align-items: center; padding: 20px; background: var(--surface-paper); border-radius: var(--r-lg); }
  .tpl-pomoc .facts li > span { display: flex; flex-direction: column; }
  .tpl-pomoc .layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; margin-top: 48px; align-items: start; }
  .tpl-pomoc .toc { position: sticky; top: calc(var(--sticky-top, 96px) + 4px); transition: top .3s var(--ease); background: var(--surface-paper); border-radius: var(--r-lg); padding: 20px 24px; }
  .tpl-pomoc .toc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .tpl-pomoc .toc a { font-weight: 600; text-decoration: none; }
  .tpl-pomoc .toc a:hover { text-decoration: underline; }
  .tpl-pomoc .content { display: flex; flex-direction: column; gap: 24px; }
  .tpl-pomoc .content section { background: var(--surface-paper); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 100px; }
  .tpl-pomoc .content p { color: var(--ink-muted); max-width: 70ch; }
  .tpl-pomoc .content p a { color: var(--ink); font-weight: 700; }
  .tpl-pomoc .num-list { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
  .tpl-pomoc .num-list li { padding-left: 6px; }
  .tpl-pomoc .specs { width: 100%; border-collapse: collapse; }
  .tpl-pomoc .specs th, .tpl-pomoc .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
  .tpl-pomoc .specs th { width: 40%; padding-right: 16px; }
  .tpl-pomoc .specs td { color: var(--ink-muted); }
  .tpl-pomoc .contact { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tpl-pomoc .contact li { display: flex; gap: 12px; align-items: flex-start; }
  .tpl-pomoc .contact li > span { display: flex; flex-direction: column; gap: 2px; }
  .tpl-pomoc .contact a { font-weight: 600; word-break: break-word; }
  @media (max-width: 900px) { .tpl-pomoc .layout { grid-template-columns: 1fr; gap: 24px; } .tpl-pomoc .toc { position: static; } .tpl-pomoc .toc ul { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; } .tpl-pomoc .facts, .tpl-pomoc .contact { grid-template-columns: 1fr; } .tpl-pomoc .content section { padding: 22px 20px; } }


/* ——— pages/politika-privatnosti.astro → .tpl-doc ——— */

  .tpl-doc .doc { max-width: 820px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
  .tpl-doc .doc h2 { margin-top: 18px; }
  .tpl-doc .doc p { color: var(--ink-muted); }
  .tpl-doc .doc a { color: var(--ink); font-weight: 700; }
  @media (max-width: 760px) { .tpl-doc .doc { padding: 24px 20px; } }


/* ——— pages/akcija.astro → .tpl-akcija ——— */

  .tpl-akcija .ak-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; margin-top: 8px; padding: 40px 48px; border-radius: var(--r-lg); background: var(--berry-soft); border: 2px dashed var(--berry); overflow: hidden; overflow: clip; }
  .tpl-akcija .ak-hero-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .tpl-akcija .ak-pct { color: var(--berry); }
  .tpl-akcija .ak-hero-art { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; }
  .tpl-akcija .ak-big { width: 170px; height: 170px; border-radius: 50%; background: var(--berry); color: #fff; font-size: 52px; font-weight: 800; display: flex; align-items: center; justify-content: center; transform: rotate(-10deg); border: 4px dashed rgba(255,255,255,.7); box-shadow: 0 14px 30px rgba(154,52,32,.35); }
  .tpl-akcija .ak-hero-art img { position: absolute; right: 0; top: -6px; width: 84px; height: auto; }
  .tpl-akcija .ak-cnt { margin: 28px 0 20px; }
  .tpl-akcija .ak-cnt b { color: var(--ink); }
  .tpl-akcija .ak-kraj-msg { display: none; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: var(--surface-raised); }
  .akcija-kraj .tpl-akcija .ak-kraj-msg { display: flex; }
  .akcija-kraj .tpl-akcija .ak-cnt { display: none; }
  .tpl-akcija .ak-nema { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 640px; margin: 40px auto 0; }
  .tpl-akcija .ak-nema img { width: 110px; height: auto; }
  .tpl-akcija .ak-nema-act { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
  .tpl-akcija .ak-link { margin-top: 36px; }
  @media (max-width: 860px) { .tpl-akcija .ak-hero { grid-template-columns: 1fr; padding: 28px 22px; } .tpl-akcija .ak-hero-art { display: none; } }


/* ——— pages/nadji-poklon.astro → .tpl-kviz ——— */

  .tpl-kviz .kv-wrap { padding-top: 28px; }
  .tpl-kviz .kv { position: relative; max-width: 980px; margin: 0 auto; padding: 32px 40px 40px; border-radius: var(--r-lg); background: var(--honey-soft); overflow: hidden; overflow: clip; scroll-margin-top: 90px; }
  .tpl-kviz .kv::before { content: ''; position: absolute; right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: var(--honey); opacity: .5; }
  .tpl-kviz .kv > * { position: relative; }
  .tpl-kviz .kv-top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
  .tpl-kviz .kv-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); padding: 8px 0; }
  .tpl-kviz .kv-back svg { transform: rotate(180deg); }
  .tpl-kviz .kv-step { margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .tpl-kviz .kv-track { position: relative; height: 10px; margin: 30px 14px 30px; border-radius: 999px; background: var(--surface-paper); box-shadow: inset 0 0 0 2px var(--line); }
  .tpl-kviz .kv-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--honey), #E9A92A); transition: width .5s cubic-bezier(.3,1.3,.5,1); }
  .tpl-kviz .kv-dot { position: absolute; left: var(--x); top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-paper); border: 2px solid var(--line-strong); transform: translate(-50%, -50%); }
  .tpl-kviz .kv-bee { position: absolute; left: 0; top: 50%; width: 52px; height: auto; transform: translate(-50%, -88%); transition: left .55s cubic-bezier(.3,1.3,.5,1); filter: drop-shadow(0 4px 4px rgba(49,32,24,.18)); }
  .tpl-kviz .kv-bee.hop { animation: kv-hop .6s ease; }
  .tpl-kviz .kv-title { margin-top: 6px; }
  .tpl-kviz .kv-lead { margin-top: 6px; }
  .tpl-kviz .kv-q.in { animation: kv-in .4s cubic-bezier(.3,1.3,.5,1); }
  .tpl-kviz .kv-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
  .tpl-kviz .kv-opts-mali { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-kviz .kv-opt { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 10px 16px; border: 2px solid transparent; border-radius: 22px; background: var(--surface-paper); font: inherit; color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 rgba(49,32,24,.1); transition: transform .3s cubic-bezier(.3,1.5,.5,1), border-color .2s, background-color .2s; }
  .tpl-kviz .kv-opt:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
  .tpl-kviz .kv-img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface-raised); }
  .tpl-kviz .kv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
  .tpl-kviz .kv-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; }
  .tpl-kviz .kv-opts-mali .kv-opt { flex-direction: row; justify-content: flex-start; padding: 12px 16px; gap: 14px; }
  .tpl-kviz .kv-opts-mali .kv-ic { margin: 0; width: 48px; height: 48px; flex: none; }
  .tpl-kviz .kv-lab { font-weight: 800; font-size: 17px; line-height: 22px; text-align: center; }
  .tpl-kviz .kv-opt.on { border-color: var(--ink); background: var(--honey); transform: scale(.97) rotate(var(--r)); }
  .tpl-kviz .kv-res { padding-top: 4px; }
  .tpl-kviz .kv-res-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
  .tpl-kviz .kv-res-head .h1 { margin: 8px 0 4px; }
  .tpl-kviz .kv-res-bee { width: 96px; height: auto; flex: none; }
  .tpl-kviz .kv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-kviz .kv-item.in { animation: kv-in .45s cubic-bezier(.3,1.3,.5,1) both; animation-delay: calc(var(--d) * 70ms); }
  .tpl-kviz .kv-res-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
  @keyframes kv-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes kv-hop { 0%, 100% { transform: translate(-50%, -88%) rotate(0); } 40% { transform: translate(-50%, -140%) rotate(-12deg); } 70% { transform: translate(-50%, -100%) rotate(8deg); } }
  @media (hover: hover) { .tpl-kviz .kv-opt:not(.on):hover { transform: translateY(-5px) rotate(var(--r)); border-color: var(--line-strong); } .tpl-kviz .kv-opt:hover .kv-img img { transform: scale(1.06); } }
  @media (max-width: 760px) {
    .tpl-kviz .kv { padding: 20px 16px 28px; border-radius: 24px; }
    .tpl-kviz .kv-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tpl-kviz .kv-opts-mali { grid-template-columns: 1fr; }
    .tpl-kviz .kv-lab { font-size: 15px; line-height: 20px; }
    .tpl-kviz .kv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tpl-kviz .kv-res-head { gap: 12px; }
    .tpl-kviz .kv-res-bee { width: 64px; }
  }
  @media (prefers-reduced-motion: reduce) { .tpl-kviz .kv-q.in, .tpl-kviz .kv-item.in, .tpl-kviz .kv-bee.hop { animation: none; } .tpl-kviz .kv-fill, .tpl-kviz .kv-bee, .tpl-kviz .kv-opt { transition: none; } }

