/* =====================================================================
   Shadow Dreams – javni sajt
   Paleta: topla bela sa dahom ruže, žalfija, lavanda, puder ruže, med,
   tekst u dubokoj šumsko-zelenoj. Motiv: luk (barokni prozori Karlovaca).
   ===================================================================== */
:root {
  --paper: #f7f1ec;
  --paper-2: #fbf8f5;
  --sage: #b8c6ae;
  --sage-soft: #e3eadd;
  --sage-deep: #4f6249;
  --sage-ink: #3d4d38;
  --rose: #f0d6ce;
  --rose-soft: #f6e6e0;
  --lilac: #dcd5e8;
  --lilac-soft: #ebe7f2;
  --honey: #ead6a8;
  --honey-soft: #f4ead2;
  --ink: #2f3a32;
  --ink-2: #57605a;
  --ink-3: #858b84;
  --line: #e6ddd4;
  --white: #fffdfb;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 34px;
  --r-md: 22px;
  --r-sm: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(47, 58, 50, .05), 0 12px 32px -12px rgba(47, 58, 50, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 420; line-height: 1.12; margin: 0; letter-spacing: -.01em; font-variation-settings: 'SOFT' 100, 'WONK' 0, 'opsz' 72; color: var(--ink); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--sage-deep); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 24px; border-radius: 999px; font: 650 15px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--sage-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(47, 58, 50, .25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- Zaglavlje ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 236, .88); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; flex: none; }
.logo img { max-height: 54px; width: auto; }
.logo-word { font-family: var(--serif); font-size: 25px; font-weight: 430; letter-spacing: -.01em; font-variation-settings: 'SOFT' 100, 'opsz' 60; }
.logo-tag { font-size: 12px; color: var(--ink-3); margin-top: 5px; letter-spacing: .02em; }
.nav { flex: 1; display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; gap: 6px; margin: 0 auto; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.nav-list > li > a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.nav-list > li > a.is-active { color: var(--ink); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.sub-toggle { display: none; }
.sub { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 22px 24px 18px; min-width: 520px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 26px; }
.sub-col { display: flex; flex-direction: column; gap: 4px; }
.sub a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; padding: 3px 0; }
.sub a:hover { color: var(--sage-deep); }
.sub .sub-head { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.sub-all { display: block; margin-top: 16px; padding-top: 14px !important; border-top: 1px solid var(--line); font-weight: 650; color: var(--sage-deep) !important; }
.nav-ig, .nav-search { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.search { display: flex; align-items: center; background: var(--white); border-radius: 999px; box-shadow: 0 0 0 1px var(--line); padding-left: 16px; height: 42px; transition: box-shadow .2s; }
.search:focus-within { box-shadow: 0 0 0 2px var(--sage); }
.search input { border: 0; background: transparent; font: 15px var(--sans); color: var(--ink); width: 150px; outline: 0; }
.search input::placeholder { color: var(--ink-3); }
.search button { border: 0; background: none; width: 42px; height: 42px; cursor: pointer; color: var(--ink-2); border-radius: 50%; }
.icon-link { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); text-decoration: none; font-size: 19px; }
.icon-link:hover { background: var(--white); color: var(--sage-deep); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4.5px; }
.burger span { width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--sage-deep); font-weight: 650; font-size: 15px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -.025em; font-weight: 380; max-width: 11.5ch; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 46ch; margin: 26px 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 4 / 5.3; }
.arch { position: absolute; border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; }
.arch-back { inset: 7% -9% -4% 14%; background: linear-gradient(170deg, var(--lilac) 0%, var(--rose) 100%); }
.arch-main { inset: 0 8% 4% 0; background: var(--sage-soft); box-shadow: var(--shadow); }
.arch-main img { width: 100%; height: 100%; object-fit: cover; }
.arch-empty { display: grid; place-items: center; height: 100%; font-size: 64px; color: var(--sage); }
.seal { width: 132px; height: 132px; }
.hero-seal { position: absolute; left: -38px; bottom: 9%; transform: rotate(-12deg); filter: drop-shadow(0 10px 24px rgba(47, 58, 50, .18)); }
.seal-bg { fill: var(--honey-soft); }
.seal-ring { fill: none; stroke: var(--sage-deep); stroke-width: 1.2; stroke-dasharray: 2 4; }
.seal text { font: 600 15px var(--sans); letter-spacing: .14em; fill: var(--sage-ink); }
.seal-leaf { fill: var(--sage); stroke: var(--sage-deep); stroke-width: 2; stroke-linecap: round; }

/* ---------- Prednosti ---------- */
.values { padding: 0 0 clamp(36px, 6vw, 72px); }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { display: flex; gap: 16px; padding: 28px 24px; align-items: flex-start; }
.value + .value { border-left: 1px solid var(--line); }
.value > i { font-size: 20px; color: var(--sage-deep); width: 46px; height: 46px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; flex: none; }
.value h2 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; letter-spacing: 0; margin: 2px 0 4px; font-variation-settings: normal; }
.value p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ---------- Sekcije ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-tight { padding-top: clamp(20px, 3vw, 32px); }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.link-more { font-weight: 650; text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* Kategorije – lučne pločice */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(14px, 2vw, 26px); }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); padding: 14px 14px 22px; border-radius: 999px 999px var(--r-md) var(--r-md); transition: transform .3s ease; }
.cat:hover { transform: translateY(-4px); color: var(--ink); }
.cat-arch { width: 100%; aspect-ratio: 4 / 4.6; border-radius: 999px 999px var(--r-sm) var(--r-sm); overflow: hidden; display: grid; place-items: center; font-size: 46px; color: rgba(47, 58, 50, .3); }
.cat-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover .cat-arch img { transform: scale(1.05); }
.cat-name { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); margin-top: 18px; line-height: 1.15; font-variation-settings: 'SOFT' 100, 'opsz' 48; }
.cat-count { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.tone-sage.cat { background: var(--sage-soft); } .tone-sage .cat-arch { background: var(--sage); }
.tone-rose.cat { background: var(--rose-soft); } .tone-rose .cat-arch { background: var(--rose); }
.tone-lilac.cat { background: var(--lilac-soft); } .tone-lilac .cat-arch { background: var(--lilac); }
.tone-honey.cat { background: var(--honey-soft); } .tone-honey .cat-arch { background: var(--honey); }

/* ---------- Kartice proizvoda ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.2vw, 30px) clamp(12px, 2vw, 24px); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--sage-soft); }
.tone-rose .card-media { background: var(--rose-soft); }
.tone-lilac .card-media { background: var(--lilac-soft); }
.tone-honey .card-media { background: var(--honey-soft); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .7s ease; }
.card-img-alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img-alt { opacity: 1; }
  .card:hover .card-media img { transform: scale(1.03); }
}
.card .img-ph, .card-media > .img-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 38px; color: rgba(47, 58, 50, .22); }
.card.is-out .card-media img { filter: grayscale(.5) opacity(.75); }
.card-flag { position: absolute; left: 12px; top: 12px; background: var(--white); color: var(--ink); font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 8px rgba(47, 58, 50, .1); }
.card-flag-soft { background: rgba(255, 253, 251, .86); font-weight: 600; color: var(--ink-2); }
.card-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 3px; }
.card-cat { font-size: 13px; color: var(--ink-3); }
.card-title { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.22; font-variation-settings: 'SOFT' 100, 'opsz' 36; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-title a:hover { color: var(--sage-deep); }
.card-price { font-weight: 700; font-size: 15.5px; color: var(--sage-ink); margin-top: 2px; font-variant-numeric: tabular-nums; }

/* ---------- O nama ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--rose-soft); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-pattern { height: 100%; display: grid; place-items: center; font-size: 80px; color: var(--rose); background: radial-gradient(circle at 30% 30%, var(--lilac-soft), transparent 60%), radial-gradient(circle at 70% 80%, var(--honey-soft), transparent 55%), var(--rose-soft); }
.about-text h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 22px; }
.about-text p { color: var(--ink-2); font-size: 17.5px; max-width: 54ch; }
.about-text .btn { margin-top: 10px; }

/* ---------- Članci ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.post { display: flex; flex-direction: column; position: relative; }
.post-media { display: block; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--lilac-soft); position: relative; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post-media .img-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: var(--lilac); }
.post:hover .post-media img { transform: scale(1.03); }
.post-body { padding-top: 16px; }
.post-body time { font-size: 13.5px; color: var(--ink-3); }
.post-body h3 { font-size: 23px; margin: 6px 0 8px; line-height: 1.2; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a::after { content: ''; position: absolute; inset: 0; }
.post-body p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* ---------- Instagram traka ---------- */
.ig-band { padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 7vw, 88px); }
.ig-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--sage); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 64px); position: relative; overflow: hidden; }
.ig-inner::after { content: ''; position: absolute; right: -60px; top: -80px; width: 280px; height: 340px; border-radius: 999px 999px 0 0; background: rgba(255, 255, 255, .18); transform: rotate(18deg); pointer-events: none; }
.ig-inner h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--ink); }
.ig-inner p { color: var(--sage-ink); margin: 10px 0 0; max-width: 56ch; font-size: 16.5px; }
.ig-inner .btn { position: relative; z-index: 1; flex: none; }

/* ---------- Unutrašnje strane ---------- */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(8px, 1.5vw, 16px); }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.02em; font-weight: 400; margin-top: 14px; }
.page-lead { color: var(--ink-2); font-size: clamp(16.5px, 1.4vw, 19px); max-width: 62ch; margin-top: 14px; }
.page-lead p:last-child { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); padding-top: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--sage-deep); text-decoration: underline; }
.crumbs i { font-size: 9px; opacity: .6; }
.crumbs span { color: var(--ink); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--ink-2); font-weight: 600; font-size: 14.5px; box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; }
.pill:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.pill.is-active { background: var(--ink); color: var(--paper); box-shadow: none; }
.sort select { appearance: none; border: 0; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%2357605a' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 16px center; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; height: 42px; padding: 0 42px 0 18px; font: 600 14.5px var(--sans); color: var(--ink); cursor: pointer; }
.subpills { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 6px 0 4px; margin-bottom: 8px; }
.subpill { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.subpill span { color: var(--ink-3); font-size: 13px; }
.subpill:hover { color: var(--ink); }
.subpill.is-active { color: var(--ink); border-color: var(--sage-deep); font-weight: 650; }
.result-count { color: var(--ink-3); font-size: 14px; margin: 14px 0 22px; }
.empty-state { text-align: center; padding: clamp(40px, 8vw, 90px) 20px; max-width: 520px; margin: 0 auto; }
.empty-state > i { font-size: 40px; color: var(--sage); margin-bottom: 16px; }
.empty-state h2 { font-size: 28px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-2); margin-bottom: 24px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.pagination a.is-active { background: var(--ink); color: var(--paper); }

/* ---------- Proizvod ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); padding-top: 24px; padding-bottom: clamp(48px, 7vw, 90px); align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sage-soft); aspect-ratio: 1 / 1.08; }
.gallery-main img, .gallery-zoom { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.gallery-main img { transition: opacity .25s; }
.gallery-main img.is-loading { opacity: .35; }
.gallery-main .img-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 60px; color: var(--sage); }
.gallery-main .card-flag { top: 18px; left: 18px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 78px; height: 78px; border-radius: var(--r-sm); overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--sage-soft); opacity: .65; transition: opacity .2s, box-shadow .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--sage-deep); }
.buy { padding-top: 8px; }
.buy-cat { display: inline-block; text-decoration: none; font-weight: 650; font-size: 14.5px; margin-bottom: 12px; }
.buy h1 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -.02em; font-weight: 400; text-wrap: balance; }
.buy-price { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 32px); color: var(--sage-ink); margin: 16px 0 20px; font-variation-settings: 'SOFT' 100, 'opsz' 30; font-variant-numeric: lining-nums tabular-nums; }
.buy-short { color: var(--ink-2); font-size: 16.5px; }
.options { margin: 26px 0 8px; display: flex; flex-direction: column; gap: 20px; }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-weight: 700; font-size: 14.5px; margin-bottom: 10px; padding: 0; }
.opt legend span { font-weight: 500; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .18s; color: var(--ink); }
.chips .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chips .chip.is-unavailable { opacity: .4; text-decoration: line-through; }
.chips.is-shaking { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.buy-meta { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 15px; margin: 18px 0 0; }
.buy-meta i { color: var(--sage-deep); }
.order { margin: 28px 0 30px; padding: 22px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.order-note { font-size: 13.5px; color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--serif); font-size: 21px; display: flex; justify-content: space-between; align-items: center; font-variation-settings: 'SOFT' 100, 'opsz' 30; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--ink-3); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div, .accordion details > p { padding-bottom: 20px; }
.inci { font-size: 14px; color: var(--ink-2); letter-spacing: .01em; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(35, 40, 36, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { display: block; width: auto; height: auto; max-width: min(1400px, calc(100vw - 48px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lightbox-close { position: fixed; z-index: 2; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; cursor: pointer; }

/* ---------- Članak / tekst ---------- */
.article { padding-bottom: clamp(40px, 6vw, 80px); }
.article-head { padding-top: 8px; }
.article-head h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.02em; font-weight: 400; margin: 18px 0 14px; text-wrap: balance; }
.article-meta { display: flex; gap: 18px; color: var(--ink-3); font-size: 14.5px; }
.article-cover { margin: clamp(24px, 4vw, 44px) auto; }
.article-cover img { width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: var(--r-lg); }
.article-body { margin-top: 28px; }
.article-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }

.prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table { margin: 0 0 1.15em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 1.6em 0 .55em; }
.prose h3 { font-size: clamp(21px, 2vw, 25px); margin: 1.5em 0 .5em; }
.prose h4 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 1.4em 0 .4em; font-variation-settings: normal; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--sage-deep); }
.prose img { border-radius: var(--r-md); margin: 1.4em auto; height: auto; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.prose blockquote { border-left: 3px solid var(--sage); margin-left: 0; padding: 4px 0 4px 22px; font-family: var(--serif); font-size: 1.2em; color: var(--ink-2); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose iframe { max-width: 100%; border-radius: var(--r-md); }
.prose strong { font-weight: 700; }
.buy-short.prose { font-size: 16.5px; color: var(--ink-2); }
.buy-short.prose p { margin-bottom: .7em; }
.editor-body { background: var(--white); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.contact-ig { display: flex; align-items: center; gap: 22px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--rose) 0%, var(--lilac) 100%); text-decoration: none; color: var(--ink); transition: transform .25s; }
.contact-ig:hover { transform: translateY(-3px); color: var(--ink); }
.contact-ig-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--white); display: grid; place-items: center; font-size: 34px; color: var(--sage-deep); flex: none; }
.contact-ig-text { display: flex; flex-direction: column; flex: 1; }
.contact-ig-text strong { font-family: var(--serif); font-weight: 420; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.contact-ig-text span { color: var(--ink-2); margin-top: 4px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 4px; }
.contact-list i { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: grid; place-items: center; flex: none; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list span { font-size: 13.5px; color: var(--ink-3); }
.contact-list a, .contact-list strong { font-weight: 650; font-size: 16.5px; color: var(--ink); text-decoration: none; word-break: break-word; }

.notfound { text-align: center; }
.notfound-code { font-family: var(--serif); font-size: clamp(110px, 20vw, 200px); line-height: 1; color: var(--rose); margin: 0; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.notfound h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 8px; }
.notfound .page-lead { margin: 16px auto 30px; }
.notfound .hero-cta { justify-content: center; }

/* ---------- Futer ---------- */
.site-footer { background: var(--ink); color: #c9cfc5; padding: clamp(48px, 7vw, 80px) 0 28px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.footer-brand .logo-word { color: var(--paper); font-size: 30px; }
.footer-brand p { margin: 14px 0 22px; max-width: 34ch; font-size: 15px; }
.footer-h { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--paper); margin-bottom: 14px; font-variation-settings: normal; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #c9cfc5; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.footer-contact i { color: var(--sage); width: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #969d93; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: 16px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s; z-index: 95; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.img-ph { color: rgba(47, 58, 50, .22); }

/* ---------- Slike sa belom pozadinom ----------
   JPEG fotografije proizvoda često imaju belu pozadinu (JPEG ne može biti providan).
   Samo tamo gde se slika prikazuje cela na pozadini stranice (naslovna slika članka,
   slike u tekstu) „multiply“ pretapa belu u boju papira – na toj svetloj podlozi
   boje fotografije ostaju neizmenjene. Kartice, galerija i lukovi popunjavaju ceo
   okvir slikom, pa tamo efekat nije potreban (i ne menja boje fotografija). */
.article-cover img, .prose img { mix-blend-mode: multiply; }
.lightbox img { background: var(--paper); }
/* kod prelaza na drugu sliku kartice sakrij prvu, da se ne bi videle obe */
@media (hover: hover) { .card:hover .card-media:has(.card-img-alt) .card-img { opacity: 0; } }

/* ---------- Kolačići ---------- */
.cookie { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(640px, calc(100vw - 32px)); z-index: 96; background: var(--white); border-radius: var(--r-md); box-shadow: 0 24px 60px -12px rgba(47, 58, 50, .35), 0 0 0 1px var(--line); padding: 20px 22px; display: flex; gap: 18px; align-items: center; }
.cookie p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.linklike { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .search input { width: 110px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .header-inner { height: 70px; gap: 12px; }
  .burger { display: flex; }
  .search { display: none; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; inset: 70px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 40px; overflow-y: auto; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; margin: 0; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; font-family: var(--serif); font-size: 26px; font-weight: 400; padding: 16px 0; border-radius: 0; color: var(--ink); background: none !important; box-shadow: none !important; font-variation-settings: 'SOFT' 100; }
  .nav-list > li > a.is-active { color: var(--sage-deep); }
  .sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--white); border-radius: 50%; cursor: pointer; }
  .sub-toggle i { transition: transform .2s; }
  .has-sub.is-open .sub-toggle i { transform: rotate(180deg); }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; box-shadow: none; background: transparent; padding: 0 0 16px; width: 100%; display: none; }
  .has-sub:hover .sub { transform: none; }
  .has-sub.is-open .sub { display: block; }
  .sub-inner { grid-template-columns: 1fr; gap: 14px; }
  .sub .sub-head { font-size: 19px; }
  .nav-search { display: flex; background: var(--white); border-radius: 999px; box-shadow: 0 0 0 1px var(--line); padding-left: 18px; margin-bottom: 8px; }
  .nav-search input { flex: 1; border: 0; background: none; font: 16px var(--sans); color: var(--ink); outline: 0; min-width: 0; }
  .nav-search button { border: 0; background: none; width: 48px; height: 48px; color: var(--ink-2); }
  .nav-ig { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 16px 20px; border-radius: var(--r-md); background: var(--sage-soft); text-decoration: none; color: var(--ink); font-weight: 650; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(82%, 420px); order: -1; margin-bottom: 8px; }
  .hero-seal { left: -18px; width: 108px; height: 108px; }
  .hero h1 { max-width: 14ch; }
  .about-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .posts { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ig-inner { flex-direction: column; align-items: flex-start; }
}
/* ---------- Telefon ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo-word { font-size: 22px; }
  .logo-tag { font-size: 11px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .card-media { border-radius: 18px; }
  .card-flag { left: 8px; top: 8px; font-size: 11.5px; padding: 4px 9px; }
  .card-title { font-size: 17px; }
  .card-price { font-size: 14.5px; }
  .card-cat { font-size: 12px; }
  .values-row { grid-template-columns: 1fr; border-bottom: 0; }
  .value { padding: 18px 4px; border-left: 0 !important; border-top: 0 !important; border-bottom: 1px solid var(--line); }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat { padding: 10px 10px 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .posts { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .sort select { width: 100%; }
  .thumb { width: 64px; height: 64px; }
  .order { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta .btn { flex: 1; }
  .ig-inner .btn { width: 100%; }
  .contact-ig { flex-wrap: wrap; }
  .cookie { flex-direction: column; align-items: stretch; bottom: 12px; }
  .cookie-actions .btn { flex: 1; }
}
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }

.footer-legal { margin-top: 10px; font-size: 12px; line-height: 1.6; color: #7f877c; }
.contact-list .contact-company { margin-top: 4px; line-height: 1.6; }
.contact-list a.contact-terms { margin-top: 6px; font-size: 14.5px; color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
