/* Malik — prototip nove teme. Tokeni iz design-system/malik/MASTER.md */
:root {
	--pink-50: #FDEAF1;
	--pink-100: #FAD3E2;
	--pink-500: #EC2975;
	--pink-600: #D91C68;
	--pink-700: #B8155A;
	--ink: #22183A;
	--ink-2: #5E5470;
	--paper: #FBF7F2;
	--paper-2: #F4EDE4;
	--surface: #FFFFFF;
	--line: #ECE3DA;
	--ok: #1E7A4C;
	--warn: #A15C00;

	/* Brend boje iz Malik kataloga (vektor) */
	--b-blue: #34A3DC;
	--b-green: #89C765;
	--b-yellow: #FFDE00;
	--b-lilac: #A5A0CF;

	/* Uzrast = svijetle nijanse brend boja */
	--age-0: #FFF1A6;
	--age-3: #D6ECC6;
	--age-6: #CBE7F6;
	--age-9: #DFDCF0;
	--age-12: #FBD4E3;

	--f-head: "Bricolage Grotesque", system-ui, sans-serif;
	--f-body: "Figtree", system-ui, sans-serif;

	--r-s: 8px;
	--r-m: 12px;
	--r-l: 20px;
	--shelf: 0 10px 18px -12px rgba(34, 24, 58, .45);
	--wrap: 1240px;
	--gut: 16px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 24px; } }
@media (min-width: 1200px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.55 var(--f-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 750; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pink-600); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Dugmad ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px;
	border: 2px solid transparent; border-radius: var(--r-m);
	font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
	transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink-600); color: #fff; }
.btn--primary:hover { background: var(--pink-700); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #3A2E55; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--pink-50); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 17px; padding: 0 28px; }
.link { color: var(--pink-600); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.chip {
	display: inline-flex; align-items: center; gap: 6px;
	height: 26px; padding: 0 10px; border-radius: 999px;
	font-size: 13px; font-weight: 700; background: var(--paper-2); color: var(--ink);
}
.chip[data-age="0-3"] { background: var(--age-0); }
.chip[data-age="3-6"] { background: var(--age-3); }
.chip[data-age="6-9"] { background: var(--age-6); }
.chip[data-age="9-12"] { background: var(--age-9); }
.chip[data-age="12+"] { background: var(--age-12); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar__perks { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.topbar__perks li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__perks .icon { width: 16px; height: 16px; color: var(--pink-100); }
.topbar__contact { display: none; white-space: nowrap; }
.topbar__contact a { text-decoration: none; font-weight: 600; }
@media (min-width: 1024px) { .topbar__contact { display: block; } }
@media (max-width: 767px) { .topbar__perks li:nth-child(n+2) { display: none; } .topbar__in { justify-content: center; } }

/* ---------- Header ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 40px; width: auto; }
.search { position: relative; }
.search input {
	width: 100%; height: 48px; padding: 0 52px 0 18px;
	border: 2px solid var(--line); border-radius: var(--r-m); background: var(--paper);
	font-size: 16px;
}
.search input::placeholder { color: var(--ink-2); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search > button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: var(--r-s); background: var(--ink); color: #fff; display: grid; place-items: center; }
.header__actions { display: flex; align-items: center; gap: 4px; }
.hbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 0; background: none; border-radius: var(--r-m); text-decoration: none; font-weight: 600; }
.hbtn:hover { background: var(--paper); }
.hbtn .icon { width: 24px; height: 24px; }
.cartbtn { position: relative; background: var(--pink-50); }
.cartbtn:hover { background: var(--pink-100); }
.cartbtn__count {
	position: absolute; top: 4px; left: 26px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--pink-600); color: #fff; font-size: 12px; font-weight: 800;
	display: grid; place-items: center; border: 2px solid #fff;
}
.cartbtn__total { font-variant-numeric: tabular-nums; }
.menubtn { display: none; }
@media (max-width: 899px) {
	.header__in { grid-template-columns: auto 1fr auto; gap: 10px; padding-top: 10px; padding-bottom: 12px; }
	.menubtn { display: inline-flex; padding: 0 8px; }
	.logo { justify-self: center; }
	.logo img { height: 32px; }
	.search { grid-column: 1 / -1; grid-row: 2; }
	.hbtn__label, .cartbtn__total { display: none; }
	.cartbtn { padding: 0 12px; }
}

/* ---------- Navigacija ---------- */
.nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.nav__list { display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
	display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px;
	font-weight: 600; font-size: 15px; text-decoration: none; border: 0; background: none;
	border-bottom: 3px solid transparent;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { border-bottom-color: var(--pink-500); }
.nav__link .icon { width: 16px; height: 16px; }
.nav__link--hot { color: var(--pink-600); }
.mega {
	position: absolute; left: 0; top: 100%; z-index: 30; width: min(760px, 90vw);
	background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r-l) var(--r-l);
	box-shadow: 0 24px 40px -24px rgba(34, 24, 58, .35); padding: 20px;
	display: none;
}
.nav__item.is-open .mega { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 899px) { .nav { display: none; } }

/* ---------- Uzrast pločice ---------- */
.age {
	position: relative; display: flex; flex-direction: column; justify-content: space-between;
	min-height: 132px; padding: 16px; border-radius: var(--r-l); text-decoration: none; overflow: hidden;
	transition: transform .2s var(--ease);
}
.age:hover { transform: translateY(-3px); }
.age__num { font: 800 44px/1 var(--f-head); letter-spacing: -.04em; }
.age__label { font-weight: 600; font-size: 14px; }
.age__arrow { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.7); display: grid; place-items: center; }
.age__arrow .icon { width: 16px; height: 16px; }
.age[data-age="0-3"] { background: var(--age-0); }
.age[data-age="3-6"] { background: var(--age-3); }
.age[data-age="6-9"] { background: var(--age-6); }
.age[data-age="9-12"] { background: var(--age-9); }
.age[data-age="12+"] { background: var(--age-12); }
.mega .age { min-height: 104px; }
.mega .age__num { font-size: 34px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } .hero { padding: 64px 0 80px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--pink-600); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: var(--pink-500); }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; letter-spacing: -.035em; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: var(--pink-500); }
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; font-weight: 600; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--ok); width: 18px; height: 18px; }

.stage { position: relative; }
.stage__shelf {
	position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 14px;
	padding: 40px 24px 0; min-height: 440px;
	background: var(--age-0); border-radius: var(--r-l) var(--r-l) 0 0;
}
.stage__shelf::after { content: ""; position: absolute; left: -12px; right: -12px; bottom: -14px; height: 14px; background: var(--ink); border-radius: 3px; }
.stage__book { width: 30%; max-width: 230px; transform-origin: bottom center; box-shadow: var(--shelf); border-radius: 2px 6px 6px 2px; transition: transform .3s var(--ease); }
.stage__book:nth-child(1) { transform: rotate(-4deg); width: 30%; }
.stage__book:nth-child(2) { width: 38%; max-width: 270px; z-index: 2; }
.stage__book:nth-child(3) { transform: rotate(3deg); width: 30%; }
.stage__book img { width: 100%; border-radius: inherit; }
.stage__shelf:hover .stage__book:nth-child(2) { transform: translateY(-6px); }
.stage__note {
	position: absolute; z-index: 3; left: -8px; top: 18px;
	background: #fff; border-radius: var(--r-m); padding: 12px 14px; box-shadow: 0 12px 24px -16px rgba(34,24,58,.5);
	display: flex; align-items: center; gap: 12px; max-width: 260px; text-decoration: none;
}
.stage__note img { width: 40px; border-radius: 2px; }
.stage__note b { display: block; font-size: 14px; line-height: 1.25; }
.stage__note span { font-size: 12px; font-weight: 700; color: var(--pink-600); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 960px) { .stage__note { left: -28px; top: 32px; } }

/* ---------- Sekcije ---------- */
.section { padding: 48px 0; }
@media (min-width: 960px) { .section { padding: 72px 0; } }
.section--tight { padding-top: 0; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.shead h2 { font-size: clamp(26px, 3.4vw, 38px); }
.shead p { color: var(--ink-2); margin-top: 6px; }
.shead__nav { display: flex; gap: 8px; align-items: center; }
.roundbtn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; display: grid; place-items: center; }
.roundbtn:hover { background: var(--ink); color: #fff; }
.roundbtn:disabled { opacity: .3; pointer-events: none; }
@media (max-width: 767px) { .shead__nav .roundbtn { display: none; } }

.ages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .ages { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ages { grid-template-columns: repeat(5, 1fr); gap: 16px; } .ages .age { min-height: 168px; padding: 20px; } .ages .age__num { font-size: 56px; } }

/* ---------- Kartica knjige ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scroll-padding: 0 var(--gut); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 30%; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px; margin: 0; padding-left: 0; padding-right: 0; } }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__cover {
	position: relative; display: flex; align-items: flex-end; justify-content: center;
	aspect-ratio: 4 / 5; padding: 18px 16% 0; border-radius: var(--r-m) var(--r-m) 0 0;
	background: var(--paper-2); text-decoration: none; isolation: isolate;
}
.card__cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ink); border-radius: 2px; z-index: -1; }
.card__cover img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 1px 4px 4px 1px; box-shadow: var(--shelf); transition: transform .25s var(--ease); margin-bottom: 6px; }
.card:hover .card__cover img { transform: translateY(-5px); }
.card__cover[data-age="0-3"] { background: var(--age-0); }
.card__cover[data-age="3-6"] { background: var(--age-3); }
.card__cover[data-age="6-9"] { background: var(--age-6); }
.card__cover[data-age="9-12"] { background: var(--age-9); }
.card__cover[data-age="12+"] { background: var(--age-12); }
.card__flag { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.card__flag--pink { background: var(--pink-600); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; flex: 1; }
.card__meta { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; min-height: 26px; }
.card__title { font: 700 16px/1.3 var(--f-body); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--pink-600); }
.card__author { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__buy { margin-top: auto; padding-top: 8px; display: grid; gap: 10px; }
.price { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: .72em; font-weight: 700; }
.addbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; padding: 0 14px;
	border: 0; border-radius: var(--r-m); background: var(--pink-600); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap;
	transition: background-color .15s var(--ease);
}
.addbtn:hover { background: var(--pink-700); }
.addbtn .icon { width: 18px; height: 18px; }
.addbtn.is-added { background: var(--ok); }
.addbtn--out { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.addbtn--out:hover { background: var(--paper-2); }
.card--out .price { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.card--out .card__cover img { filter: grayscale(.5); opacity: .85; }
@media (max-width: 479px) { .price { font-size: 17px; } .addbtn { font-size: 14px; } }

/* ---------- Serijal banner ---------- */
.feature { background: var(--ink); color: #fff; border-radius: var(--r-l); overflow: hidden; display: grid; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.1fr; } }
.feature__txt { padding: 36px 28px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 900px) { .feature__txt { padding: 56px; } }
.feature__txt .eyebrow { color: var(--pink-100); }
.feature h2 { font-size: clamp(30px, 4vw, 46px); }
.feature p { color: #D9D2E6; max-width: 34em; }
.feature__books { display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding: 32px 28px 0; border-bottom: 10px solid #15102A; overflow: hidden; background: #2E2350; min-height: 260px; }
.feature__books img { width: 22%; min-width: 90px; border-radius: 1px 4px 4px 1px; box-shadow: 0 -2px 0 rgba(255,255,255,.08), 0 16px 24px -10px rgba(0,0,0,.6); }
.feature__books img:nth-child(odd) { margin-bottom: 18px; }

/* ---------- Izdanja / imprinti ---------- */
.imprints { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .imprints { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.imprint { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s; }
.imprint:hover { border-color: var(--ink); }
.imprint__covers { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.imprint__covers img { height: 100%; width: auto; max-width: 31%; object-fit: cover; border-radius: 1px 3px 3px 1px; box-shadow: var(--shelf); }
.imprint__covers img:nth-child(2) { height: 88%; }
.imprint__covers img:nth-child(3) { height: 76%; }
.imprint h3 { font-size: 20px; }
.imprint p { font-size: 14px; color: var(--ink-2); }

/* ---------- Povjerenje ---------- */
.trust { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li { background: var(--surface); padding: 22px; display: flex; gap: 14px; }
.trust .icon { width: 28px; height: 28px; color: var(--pink-600); stroke-width: 1.8; }
.trust b { display: block; font-size: 16px; margin-bottom: 2px; }
.trust span { font-size: 14px; color: var(--ink-2); }

.stores { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.stores b { color: var(--ink); }

/* ---------- Newsletter ---------- */
.news { background: var(--pink-500); color: #fff; border-radius: var(--r-l); padding: 32px 24px; display: grid; gap: 20px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .news { grid-template-columns: 1.1fr 1fr; padding: 48px 56px; } }
.news h2 { font-size: clamp(26px, 3.2vw, 36px); }
.news p { margin-top: 8px; color: #FFE3EE; }
.news form { display: flex; gap: 8px; flex-wrap: wrap; }
.news input { flex: 1 1 220px; height: 52px; border: 0; border-radius: var(--r-m); padding: 0 16px; color: var(--ink); }
.news .btn { min-height: 52px; }
.news small { flex-basis: 100%; color: #FFE3EE; font-size: 13px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #D9D2E6; margin-top: 72px; padding: 56px 0 24px; font-size: 15px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-family: var(--f-body); letter-spacing: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 40px; width: auto; }
.footer__bottom { border-top: 1px solid #3A2E55; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.pay { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 14px; color: var(--ink-2); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--pink-600); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Kategorija ---------- */
.cathead { padding: 8px 0 28px; display: grid; gap: 20px; }
.cathead h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.cathead p { color: var(--ink-2); max-width: 44em; margin-top: 8px; }
.cathead__ages { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.agepill { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid transparent; background: var(--surface); font-weight: 700; text-decoration: none; }
.agepill i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.agepill[aria-current="true"] { border-color: var(--ink); }
.shop { display: grid; gap: 32px; }
@media (min-width: 1024px) { .shop { grid-template-columns: 260px 1fr; gap: 40px; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; } }
.fgroup { border-top: 1px solid var(--line); padding: 16px 0; }
.fgroup:first-child { border-top: 0; padding-top: 0; }
.fgroup h3 { font: 700 15px/1.2 var(--f-body); letter-spacing: 0; margin-bottom: 12px; }
.fopt { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.fopt input { width: 20px; height: 20px; accent-color: var(--pink-600); margin: 0; }
.fopt em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-2); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.toolbar__count { color: var(--ink-2); font-size: 15px; }
.toolbar__count b { color: var(--ink); }
.select { height: 44px; padding: 0 40px 0 14px; border: 2px solid var(--line); border-radius: var(--r-m); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2322183A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 600; }
.filterbtn { display: inline-flex; }
@media (min-width: 1024px) { .filterbtn { display: none; } }
.activef { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.activef button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.activef button .icon { width: 14px; height: 14px; }
.empty { text-align: center; padding: 64px 16px; background: var(--surface); border-radius: var(--r-l); }
.empty h3 { font-size: 24px; margin-bottom: 8px; }

/* ---------- Proizvod ---------- */
.pdp { display: grid; gap: 32px; padding-bottom: 24px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 960px) { .gallery { grid-template-columns: 76px 1fr; position: sticky; top: 100px; } }
.gallery__main { position: relative; background: var(--age-3); border-radius: var(--r-l); display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.05; padding: 8% 14%; }
.gallery__main img { max-height: 100%; width: auto; box-shadow: 0 24px 36px -18px rgba(34,24,58,.55); border-radius: 2px 6px 6px 2px; }
.gallery__thumbs { display: flex; gap: 8px; }
@media (min-width: 960px) { .gallery__thumbs { flex-direction: column; order: -1; } }
.gallery__thumbs button { width: 64px; height: 76px; padding: 6px; border: 2px solid var(--line); border-radius: var(--r-s); background: #fff; display: grid; place-items: center; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery__thumbs img { max-height: 100%; width: auto; }
.gallery__peek { position: absolute; right: 14px; bottom: 14px; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }

.buy h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 10px 0 8px; }
.buy__by { color: var(--ink-2); font-size: 16px; }
.buy__by a { color: var(--ink); font-weight: 600; }
.buy__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.buybox { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buybox__price .price { font-size: 34px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ok); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--out { color: var(--ink-2); }
.buybox__row { display: flex; gap: 10px; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--r-m); height: 56px; background: #fff; }
.qty button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; }
.qty input { width: 40px; text-align: center; border: 0; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 30px; font-size: 15px; }
.buybox__row .btn { flex: 1; }
.buybox__perks { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; }
.buybox__perks li { display: flex; gap: 10px; align-items: flex-start; }
.buybox__perks .icon { width: 18px; height: 18px; color: var(--ink-2); margin-top: 1px; }
.shipnote { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-m); background: var(--pink-50); font-size: 14px; }
.shipnote b { color: var(--pink-700); }

.bundle { margin-top: 20px; border: 2px dashed var(--pink-100); border-radius: var(--r-l); padding: 18px; background: #fff; }
.bundle h3 { font: 700 17px/1.3 var(--f-body); letter-spacing: 0; display: flex; justify-content: space-between; gap: 12px; }
.bundle__items { display: flex; gap: 8px; margin: 14px 0; align-items: center; }
.bundle__items img { width: 56px; border-radius: 1px 3px 3px 1px; box-shadow: var(--shelf); }
.bundle__items .plus { color: var(--ink-2); font-weight: 700; }
.bundle__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bundle__foot .price { font-size: 20px; }

.specs { margin-top: 28px; }
.specs h2 { font-size: 22px; margin-bottom: 12px; }
.specs dl { display: grid; grid-template-columns: 140px 1fr; margin: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.specs dt { color: var(--ink-2); }
.specs dd { font-weight: 600; }
.desc { margin-top: 28px; }
.desc h2 { font-size: 22px; margin-bottom: 10px; }
.desc p { color: var(--ink-2); font-size: 16px; max-width: 40em; }

.sticky-buy {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line);
	padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
	transform: translateY(110%); transition: transform .25s var(--ease); box-shadow: 0 -12px 24px -20px rgba(34,24,58,.4);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy img { width: 36px; border-radius: 2px; }
.sticky-buy__t { flex: 1; min-width: 0; }
.sticky-buy__t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 48px; padding: 0 18px; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* ---------- Drawer korpe ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(34,24,58,.45); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%);
	background: var(--paper); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .28s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer--left { left: 0; right: auto; transform: translateX(-100%); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; }
.iconbtn { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.iconbtn:hover { background: var(--paper-2); }
.drawer__body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer__foot { background: #fff; border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.sumrow { display: flex; justify-content: space-between; font-size: 15px; }
.sumrow--total { font-size: 18px; font-weight: 800; }

.freeship { background: #fff; border-radius: var(--r-m); padding: 14px; border: 1px solid var(--line); margin-bottom: 16px; }
.freeship p { font-size: 14px; margin-bottom: 10px; }
.freeship p b { color: var(--pink-700); }
.freeship.is-done p b { color: var(--ok); }
.bar { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--pink-500); border-radius: 99px; transition: width .35s var(--ease); }
.freeship.is-done .bar i { background: var(--ok); }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 56px; border-radius: 1px 3px 3px 1px; box-shadow: var(--shelf); }
.line__t { font-weight: 700; font-size: 15px; line-height: 1.3; }
.line__t a { text-decoration: none; }
.line__a { font-size: 13px; color: var(--ink-2); margin: 2px 0 8px; }
.line__r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.rm { border: 0; background: none; font-size: 13px; color: var(--ink-2); text-decoration: underline; padding: 4px 0; }

.ups h3 { font: 700 15px/1.3 var(--f-body); letter-spacing: 0; margin: 20px 0 10px; }
.ups__item { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px; background: #fff; border-radius: var(--r-m); border: 1px solid var(--line); margin-bottom: 8px; }
.ups__item img { width: 40px; border-radius: 2px; }
.ups__item b { font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ups__item .price { font-size: 14px; }
.ups__item button { height: 36px; padding: 0 12px; border-radius: var(--r-s); border: 2px solid var(--ink); background: none; font-weight: 700; font-size: 14px; }
.ups__item button:hover { background: var(--ink); color: #fff; }

/* Mobilni meni */
.mnav__list a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 17px; }
.mnav .ages { margin: 8px 0 20px; }
.mnav .age { min-height: 96px; }
.mnav .age__num { font-size: 32px; }

/* ---------- Korpa / narudžba ---------- */
.checkout { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
@media (min-width: 768px) { .panel { padding: 28px; } }
.panel h2 { font-size: 24px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.panel h2 .step { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 15px/30px var(--f-body); text-align: center; }
.panel__sub { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.panel + .panel { margin-top: 16px; }
.cartlines .line { grid-template-columns: 72px 1fr auto; }
.cartlines .line img { width: 72px; }
.form { display: grid; gap: 14px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field label small { font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r-m); background: #fff; font-size: 16px; }
.field textarea { height: 88px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .hint { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.payopt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--ink); border-radius: var(--r-m); background: var(--paper); }
.payopt input { width: 20px; height: 20px; accent-color: var(--pink-600); margin-top: 2px; }
.payopt b { display: block; }
.payopt span { font-size: 14px; color: var(--ink-2); }
.summary { position: sticky; top: 100px; }
.summary .sumrow { padding: 6px 0; }
.summary .sumrow--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 22px; }
.legal { font-size: 13px; color: var(--ink-2); text-align: center; margin-top: 10px; }
.legal a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Mobile hero: knjige i uzrast moraju biti blizu prvog ekrana */
@media (max-width: 639px) {
	.hero { padding: 24px 0 40px; }
	.hero__grid { gap: 28px; }
	.hero h1 { font-size: 34px; margin: 10px 0 12px; }
	.hero__lead { font-size: 16px; }
	.hero__cta { margin-top: 20px; flex-wrap: nowrap; }
	.hero__cta .btn { flex: 1 1 0; padding: 0 12px; min-height: 52px; font-size: 15px; }
	.hero__facts { display: none; }
	.stage__shelf { min-height: 260px; padding: 28px 16px 0; }
	.stage__note { display: none; }
}

/* Mobile proizvod: cijena i CTA unutar prvog ekrana */
.pdp > *, .gallery > * { min-width: 0; }
@media (max-width: 959px) {
	.pdp { gap: 18px; }
	.gallery__main { aspect-ratio: auto; height: 300px; padding: 22px; }
	.gallery__thumbs { overflow-x: auto; scrollbar-width: none; }
	.gallery__thumbs button { flex: none; width: 52px; height: 60px; }
	.gallery__peek { right: 10px; bottom: 10px; }
	.crumbs > span:last-child, .crumbs > span:last-of-type[aria-hidden] { display: none; }
	.buy h1 { font-size: 26px; margin: 6px 0 4px; }
	.buy__chips { margin-top: 10px; }
	.buybox { margin-top: 16px; padding: 16px; }
	.buybox__price .price { font-size: 28px; }
}
@media (max-width: 959px) {
	.buy__chips .chip:nth-child(n+4) { display: none; }
	body[data-page="product"] .footer { padding-bottom: 96px; }
}

/* =====================================================================
   v2 — brend hero s izdvojenim knjigama, pretraga, animacije
   ===================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero h1 .squiggle { position: relative; display: inline-block; color: var(--pink-500); }
.hero h1 .squiggle svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero h1 .squiggle path { fill: none; stroke: var(--pink-500); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__copy > * { animation: rise .7s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.feat {
	position: relative; isolation: isolate; overflow: hidden;
	border-radius: 28px; background: var(--b-blue);
	min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end;
	animation: rise .8s .1s var(--ease) both;
}
.feat__waves { position: absolute; inset: 0; z-index: -1; }
.feat__waves svg { position: absolute; left: 0; width: 200%; height: 100%; animation: drift 18s linear infinite; }
.feat__waves svg:nth-child(2) { animation-duration: 24s; animation-direction: reverse; }
.feat__waves svg:nth-child(3) { animation-duration: 30s; }
@keyframes drift { to { transform: translateX(-50%); } }
.feat__mark { position: absolute; left: 22px; top: 20px; width: 44px; opacity: .95; }

.feat__stage { position: relative; flex: 1; min-height: 340px; }
.feat__book {
	position: absolute; left: 50%; bottom: 4px; height: 86%; max-width: 60%;
	transform-origin: 50% 100%; transition: transform .8s var(--ease), opacity .6s var(--ease), filter .6s;
	will-change: transform; cursor: pointer;
}
.feat__book img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; border-radius: 2px 7px 7px 2px; box-shadow: 0 30px 40px -22px rgba(20, 14, 40, .7), 0 2px 0 rgba(0,0,0,.05); }
.feat__book[data-slot="0"] { transform: translateX(-50%) translateY(-6px); z-index: 3; }
.feat__book[data-slot="0"] img { animation: bob 5s ease-in-out infinite; }
.feat__book[data-slot="-1"] { transform: translateX(-128%) scale(.66) rotate(-7deg); z-index: 2; filter: saturate(.9); }
.feat__book[data-slot="1"] { transform: translateX(28%) scale(.66) rotate(7deg); z-index: 2; filter: saturate(.9); }
.feat__book[data-slot="-2"] { transform: translateX(-190%) scale(.45) rotate(-10deg); opacity: 0; z-index: 1; pointer-events: none; }
.feat__book[data-slot="2"] { transform: translateX(90%) scale(.45) rotate(10deg); opacity: 0; z-index: 1; pointer-events: none; }
.feat__book[data-slot="x"] { transform: translateX(-50%) scale(.3); opacity: 0; pointer-events: none; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-.6deg); } }

.feat__info {
	position: relative; z-index: 4; margin: 0 16px 16px; background: #fff; border-radius: 20px;
	padding: 16px 16px 16px 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center;
	box-shadow: 0 18px 36px -24px rgba(20, 14, 40, .6);
}
.feat__label { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-600); }
.feat__txt { min-width: 0; }
.feat__title { font: 750 20px/1.2 var(--f-head); letter-spacing: -.01em; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat__title:hover { color: var(--pink-600); }
.feat__by { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat__buy { display: flex; align-items: center; gap: 12px; }
.feat__buy .price { font-size: 22px; }
.feat__buy .addbtn { width: auto; height: 48px; padding: 0 18px; }
.feat__swap { animation: swapin .5s var(--ease); }
@keyframes swapin { from { opacity: 0; transform: translateY(8px); } }
.feat__ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.feat__dots { display: flex; gap: 6px; flex: 1; }
.feat__dot { position: relative; flex: 1; max-width: 56px; height: 6px; border: 0; padding: 0; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.feat__dot::before { content: ""; position: absolute; inset: -10px 0; } /* veća meta za dodir */
.feat__dot i { position: absolute; inset: 0; width: 0; background: var(--ink); border-radius: inherit; }
.feat__dot[aria-current="true"] i { animation: fill var(--dur, 6s) linear forwards; }
.feat.is-paused .feat__dot[aria-current="true"] i { animation-play-state: paused; }
.feat__dot.is-done i { width: 100%; }
@keyframes fill { to { width: 100%; } }
.feat__ctrl .roundbtn { width: 40px; height: 40px; border-width: 2px; }
@media (max-width: 639px) {
	.feat { min-height: 470px; border-radius: 22px; }
	.feat__stage { min-height: 270px; }
	.feat__book { height: 84%; }
	.feat__info { grid-template-columns: 1fr; margin: 0 10px 10px; padding: 14px; }
	.feat__buy { justify-content: space-between; }
	.feat__title { font-size: 18px; }
}

/* Talasasti rub ispod hera */
.hero__edge { display: block; width: 100%; height: 36px; color: var(--surface); margin-top: -1px; }

/* Uređivanje izdvojenih (samo prototip) */
.protobtn { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 2px dashed var(--ink); background: #fff; font-weight: 700; font-size: 13px; }
.protobtn:hover { background: var(--pink-50); }
.fedit__note { font-size: 14px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; margin-bottom: 16px; }
.fedit__list li { display: grid; grid-template-columns: 22px 36px 1fr auto; gap: 10px; align-items: center; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 6px; }
.fedit__list img { width: 36px; border-radius: 2px; }
.fedit__list b { font-size: 14px; line-height: 1.25; }
.fedit__list .n { font: 800 13px/1 var(--f-body); color: var(--ink-2); text-align: center; }
.fedit__btns { display: flex; gap: 2px; }
.fedit__btns button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--paper-2); display: grid; place-items: center; }
.fedit__btns button:hover { background: var(--ink); color: #fff; }
.fedit__btns .icon { width: 16px; height: 16px; }
.fedit__search { width: 100%; height: 44px; border: 2px solid var(--line); border-radius: var(--r-m); padding: 0 12px; margin: 18px 0 8px; }
.fedit__res button { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 6px; border: 0; background: none; border-radius: 8px; font-size: 14px; }
.fedit__res button:hover { background: #fff; }
.fedit__res img { width: 30px; border-radius: 2px; }

/* ---------- Pretraga: dropdown ---------- */
.search__panel {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
	background: #fff; border: 1px solid var(--line); border-radius: 18px;
	box-shadow: 0 28px 48px -24px rgba(34, 24, 58, .45);
	max-height: min(72vh, 620px); overflow: auto; overscroll-behavior: contain;
	opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .16s, transform .16s var(--ease);
}
.search.is-open .search__panel { opacity: 1; transform: none; pointer-events: auto; }
.search.is-open input { border-color: var(--ink); background: #fff; }
.sp__sec { padding: 12px 8px 6px; }
.sp__sec + .sp__sec { border-top: 1px solid var(--line); }
.sp__h { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 0 10px 8px; display: flex; justify-content: space-between; }
.sp__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; text-decoration: none; }
.sp__item img { width: 44px; height: 56px; object-fit: contain; object-position: center bottom; }
.sp__item[aria-selected="true"], .sp__item:hover { background: var(--paper); }
.sp__t { font-weight: 700; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp__m { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; margin-top: 3px; }
.sp__m .chip { height: 20px; font-size: 11px; padding: 0 7px; }
.sp__r { display: flex; align-items: center; gap: 10px; }
.sp__r .price { font-size: 15px; }
.sp__add { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--pink-600); color: #fff; display: grid; place-items: center; }
.sp__add:hover { background: var(--pink-700); }
.sp__add .icon { width: 18px; height: 18px; }
.sp__out { font-size: 13px; color: var(--ink-2); font-weight: 600; }
mark { background: var(--b-yellow); color: inherit; border-radius: 3px; padding: 0 1px; }
.sp__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 8px; }
.sp__chips a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 600; font-size: 14px; }
.sp__chips a:hover, .sp__chips a[aria-selected="true"] { background: var(--ink); color: #fff; }
.sp__chips a small { color: inherit; opacity: .6; font-weight: 600; }
.sp__all { display: flex; justify-content: space-between; align-items: center; margin: 4px 8px 8px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.sp__all[aria-selected="true"], .sp__all:hover { background: #3A2E55; }
.sp__empty { padding: 22px 18px; font-size: 15px; color: var(--ink-2); }
.sp__empty b { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); }
.rv.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.age.rv.in .age__num { animation: pop .6s calc(var(--i, 0) * 70ms + .2s) var(--ease) both; }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.06); } 100% { transform: none; } }
.age:hover .age__num { animation: wiggle .5s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-5deg) scale(1.05); } 60% { transform: rotate(3deg); } }
.age:hover .age__arrow { transform: translateX(3px); }
.age__arrow { transition: transform .2s var(--ease); }
.feature.rv.in .feature__books img { animation: rise .7s var(--ease) both; }
.feature.rv.in .feature__books img:nth-child(2) { animation-delay: .1s; }
.feature.rv.in .feature__books img:nth-child(3) { animation-delay: .2s; }
.feature.rv.in .feature__books img:nth-child(4) { animation-delay: .3s; }
.feature.rv.in .feature__books img:nth-child(5) { animation-delay: .4s; }
.feature__books img { transition: transform .3s var(--ease); }
.feature__books img:hover { transform: translateY(-10px) rotate(-1.5deg); }
.imprint:hover .imprint__covers img { transform: translateY(-4px); }
.imprint__covers img { transition: transform .25s var(--ease); }
.imprint__covers img:nth-child(2) { transition-delay: .04s; }
.imprint__covers img:nth-child(3) { transition-delay: .08s; }

.header { transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(34, 24, 58, .5); }

/* Topbar ticker na mobitelu */
@media (max-width: 767px) {
	.topbar__perks { position: relative; height: 36px; overflow: hidden; width: 100%; justify-content: center; }
	.topbar__perks li, .topbar__perks li:nth-child(n+2) { display: flex; position: absolute; inset: 0; justify-content: center; transform: translateY(100%); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
	.topbar__perks li.is-on { transform: none; opacity: 1; }
	.topbar__perks li.is-off { transform: translateY(-100%); opacity: 0; }
}

/* Fly-to-cart */
.flyer { position: fixed; z-index: 100; pointer-events: none; border-radius: 3px; box-shadow: 0 12px 24px -10px rgba(34,24,58,.5); }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }

/* ---------- Besplatna dostava: animirano punjenje ---------- */
.bar { position: relative; height: 10px; }
.bar i { position: relative; overflow: hidden; transition: width .9s cubic-bezier(.3, .9, .3, 1), background-color .4s; }
.bar i::after {
	content: ""; position: absolute; inset: 0; transform: translateX(-100%);
	background: repeating-linear-gradient(-45deg, rgba(255,255,255,.35) 0 8px, transparent 8px 16px);
}
.bar.is-filling i::after { animation: stripes 1s linear; }
@keyframes stripes { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.bar__goal { position: absolute; right: -2px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; transition: border-color .3s, background-color .3s; }
.bar__goal .icon { width: 12px; height: 12px; color: var(--ink-2); }
.freeship.is-done .bar__goal { background: var(--ok); border-color: var(--ok); animation: pop .6s var(--ease); }
.freeship.is-done .bar__goal .icon { color: #fff; }
.freeship { position: relative; overflow: visible; }
.freeship p { display: flex; justify-content: space-between; gap: 8px; }
.freeship p small { color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.confetti { position: absolute; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; z-index: 5; }

@media (prefers-reduced-motion: reduce) {
	.rv { opacity: 1; transform: none; }
	.feat__waves svg, .feat__book img, .hero__copy > *, .feat { animation: none !important; }
	.hero h1 .squiggle path { stroke-dashoffset: 0; animation: none; }
}

/* ---------- Društvene mreže ---------- */
.social { display: inline-flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s var(--ease), color .2s, transform .2s var(--ease); }
.social a:hover { transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; }
.social--footer { margin-top: 18px; }
.social--footer a { background: #3A2E55; color: #fff; }
.social--footer a:hover { background: var(--pink-500); }
.social--top { margin-left: 14px; gap: 2px; vertical-align: middle; }
.social--top a { width: 30px; height: 30px; color: #fff; }
.social--top a:hover { background: rgba(255,255,255,.12); }
.social--top .icon { width: 16px; height: 16px; }
.social--menu { margin-top: 14px; }
.social--menu a { background: var(--surface); border: 1px solid var(--line); width: 44px; height: 44px; }
.social--menu a:hover { background: var(--pink-50); color: var(--pink-600); }
.topbar__contact { display: none; align-items: center; }
@media (min-width: 1024px) { .topbar__contact { display: flex; } }

/* =====================================================================
   WordPress / WooCommerce tema
   ===================================================================== */
.protobtn { display: none; }
.feat__mark { width: 150px; height: auto; }
@media (max-width: 639px) { .feat__mark { width: 120px; } }
.agepill i[data-age="0-3"] { background: var(--b-yellow); }
.agepill i[data-age="3-6"] { background: var(--b-green); }
.agepill i[data-age="6-9"] { background: var(--b-blue); }
.agepill i[data-age="9-12"] { background: var(--b-lilac); }
.agepill i[data-age="12+"] { background: var(--pink-500); }
.card__cover img { height: auto; }
.gallery__main img { height: auto; max-height: 100%; width: auto; }
.gallery__thumbs img { width: auto; height: 100%; object-fit: contain; }
.bundle__items img { height: auto; }
.imprint__covers img { width: auto; }
.sticky-buy img { width: 36px; height: auto; }

/* Filteri: sidebar na desktopu, drawer na mobitelu */
.fgroup { border: 0; margin: 0; border-top: 1px solid var(--line); padding: 16px 0; min-width: 0; }
.fgroup:first-of-type { border-top: 0; padding-top: 0; }
.fgroup legend { font: 700 15px/1.2 var(--f-body); margin-bottom: 12px; padding: 0; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.filters__head, .filters__foot { display: none; }
@media (max-width: 1023px) {
	.filters { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 61; width: min(400px, 92vw); background: var(--paper); transform: translateX(-100%); transition: transform .28s var(--ease); max-height: none; }
	.filters.is-open { transform: none; }
	.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--line); }
	.filters__head h2 { font-size: 22px; }
	.filters__body { flex: 1; overflow: auto; padding: 16px 20px 0; display: flex; flex-direction: column; }
	.filters__foot { display: block; position: sticky; bottom: 0; margin: auto -20px 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
}
.activef a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.activef a .icon { width: 14px; height: 14px; }
.activef a.activef__clear { background: none; color: var(--ink); text-decoration: underline; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 40px 0 0; flex-wrap: wrap; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--r-m); border: 2px solid var(--line); background: #fff; text-decoration: none; font-weight: 700; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager .icon { width: 18px; height: 18px; }

/* Stranice */
.page { padding-bottom: 48px; }
.page__title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 24px; }
.prose { max-width: 760px; font-size: 17px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose a { color: var(--pink-600); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose img { border-radius: var(--r-m); height: auto; }
.desc.prose { font-size: 16px; color: var(--ink-2); }
.posts { display: grid; gap: 24px; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card img { border-radius: var(--r-m); height: auto; margin-bottom: 12px; }
.post-card h2 { font-size: 22px; margin-bottom: 6px; }
.post-card h2 a { text-decoration: none; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--r-m); font-weight: 600; box-shadow: 0 18px 30px -18px rgba(0,0,0,.6); max-width: calc(100vw - 32px); animation: rise .3s var(--ease); }
.drawer__loading { color: var(--ink-2); padding: 24px 0; }

/* Javi mi */
.notify { margin-top: 18px; }
.notify label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.notify .buybox__row { margin-top: 0; }
.notify input[type=email] { flex: 1; min-width: 0; height: 56px; border: 2px solid var(--line); border-radius: var(--r-m); padding: 0 14px; font-size: 16px; }
.notify input[type=email]:focus { outline: none; border-color: var(--ink); }
.notify__ok { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ok); }
.notify__err { color: var(--pink-700); font-weight: 600; font-size: 14px; margin-top: 8px; }

/* ---------- WooCommerce: obavijesti ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ok); font-weight: 500;
	display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
}
.woocommerce-info { border-left-color: var(--b-blue); }
.woocommerce-error { border-left-color: var(--pink-600); flex-direction: column; align-items: flex-start; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* ---------- WooCommerce: dugmad i forme ---------- */
.page--wc .button, .page--wc button.button, .page--wc input.button, .page--wc a.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 2px solid var(--ink); border-radius: var(--r-m);
	background: transparent; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.page--wc .button:hover { background: var(--ink); color: #fff; }
.page--wc .button.alt, .page--wc .checkout-button, .page--wc #place_order {
	background: var(--pink-600) !important; border-color: var(--pink-600) !important; color: #fff !important; min-height: 56px; font-size: 17px; width: 100%;
}
.page--wc .button.alt:hover, .page--wc .checkout-button:hover, .page--wc #place_order:hover { background: var(--pink-700) !important; border-color: var(--pink-700) !important; }
.page--wc .button:disabled, .page--wc .button.disabled { opacity: .5; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; line-height: 1.3; }
.woocommerce form .form-row .required { color: var(--pink-600); text-decoration: none; }
.woocommerce form .form-row .optional { font-weight: 500; color: var(--ink-2); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .page--wc .select2-container .select2-selection--single {
	width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--r-m); background: #fff; font-size: 16px; line-height: 1.4; box-shadow: none;
}
.woocommerce form .form-row textarea { min-height: 96px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--ink); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--pink-600); }
.page--wc .select2-container .select2-selection--single { height: 50px; display: flex; align-items: center; padding: 0 10px; }
.page--wc .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
.woocommerce form .form-row .description { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.page--wc input[type=checkbox], .page--wc input[type=radio] { accent-color: var(--pink-600); width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- Korpa ---------- */
.woocommerce-cart .page--wc .woocommerce { display: grid; gap: 28px; }
@media (min-width: 1024px) {
	.woocommerce-cart .page--wc .woocommerce { grid-template-columns: 1.3fr 1fr; align-items: start; }
	.woocommerce-cart .page--wc .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .page--wc .woocommerce > .freeship { grid-column: 1 / -1; }
	.woocommerce-cart .cart-collaterals { position: sticky; top: 100px; }
}
.page--wc .freeship { margin-bottom: 0; }
.page--wc table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.page--wc table.shop_table th, .page--wc table.shop_table td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.page--wc table.shop_table thead th { border-top: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.page--wc table.cart img { width: 64px; height: auto; border-radius: 2px; box-shadow: var(--shelf); }
.page--wc table.cart .product-name a { font-weight: 700; text-decoration: none; }
.page--wc table.cart .product-remove a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; text-decoration: none; font-size: 22px; color: var(--ink-2); }
.page--wc table.cart .product-remove a:hover { background: var(--pink-50); color: var(--pink-700); }
.page--wc table.cart .quantity input { width: 72px; height: 44px; border: 2px solid var(--line); border-radius: var(--r-s); text-align: center; font-weight: 700; }
.page--wc table.cart td.actions { background: var(--paper); }
.page--wc table.cart td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.page--wc table.cart td.actions .coupon input { height: 48px; border: 2px solid var(--line); border-radius: var(--r-m); padding: 0 12px; }
.page--wc table.cart td.actions > .button { float: right; }
.cart_totals { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.cart_totals h2 { font-size: 22px; margin-bottom: 12px; }
.cart_totals table.shop_table { border: 0; border-radius: 0; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 10px 0; }
.cart_totals .order-total th, .cart_totals .order-total td { font-size: 20px; font-weight: 800; }
.cart_totals .woocommerce-shipping-destination, .cart_totals .shipping-calculator-button { font-size: 13px; color: var(--ink-2); }
.wc-proceed-to-checkout { margin-top: 16px; }
@media (max-width: 767px) {
	.page--wc table.shop_table_responsive thead { display: none; }
	.page--wc table.shop_table_responsive tr { display: block; border-top: 1px solid var(--line); }
	.page--wc table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 8px 16px; text-align: right; }
	.page--wc table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; text-align: left; }
	.page--wc table.shop_table_responsive td.product-remove, .page--wc table.shop_table_responsive td.product-thumbnail { justify-content: flex-start; }
	.page--wc table.shop_table_responsive td.product-remove::before, .page--wc table.shop_table_responsive td.product-thumbnail::before, .page--wc table.shop_table_responsive td.actions::before { display: none; }
	.page--wc table.cart td.actions > .button { float: none; width: 100%; margin-top: 8px; }
}
.cross-sells h2 { font-size: 22px; margin: 8px 0 14px; }
.cross-sells ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ---------- Plaćanje ---------- */
.woocommerce-checkout form.checkout { display: grid; gap: 28px; }
@media (min-width: 1024px) {
	.woocommerce-checkout form.checkout { grid-template-columns: 1.15fr 1fr; align-items: start; }
	.woocommerce-checkout #customer_details { grid-row: span 3; }
	.woocommerce-checkout #order_review, .woocommerce-checkout #order_review_heading, .woocommerce-checkout .freeship { grid-column: 2; }
	.woocommerce-checkout #order_review { position: sticky; top: 100px; }
}
.woocommerce-checkout #customer_details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
@media (min-width: 768px) { .woocommerce-checkout #customer_details { padding: 28px; } }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout h3 { font-size: 22px; margin: 0 0 16px; }
.woocommerce-billing-fields__field-wrapper { display: grid; gap: 0 14px; }
@media (min-width: 640px) {
	.woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
	.woocommerce-billing-fields__field-wrapper .form-row-wide, .woocommerce-billing-fields__field-wrapper #billing_address_1_field { grid-column: 1 / -1; }
}
.woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce-billing-fields__field-wrapper .form-row-last { width: auto; float: none; }
#order_review_heading { font-size: 22px; margin: 0; }
#order_review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
#order_review table.shop_table { border: 0; border-radius: 0; }
#order_review table.shop_table th, #order_review table.shop_table td { padding: 10px 0; }
#order_review .order-total th, #order_review .order-total td { font-size: 20px; font-weight: 800; }
#order_review .product-name { font-weight: 600; }
#payment { margin-top: 18px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 14px; }
#payment ul.payment_methods li { padding: 14px 16px; border: 2px solid var(--ink); border-radius: var(--r-m); background: var(--paper); font-weight: 700; }
#payment .payment_box { font-weight: 400; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
#payment .payment_box p { margin: 0; }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--ink-2); margin: 10px 0 14px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; }
.checkout-perks { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle { grid-column: 1 / -1; }
.woocommerce-checkout .woocommerce-form-login, .woocommerce-checkout .checkout_coupon { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; margin-bottom: 16px; }

/* Hvala na narudžbi / račun */
.woocommerce-order { display: grid; gap: 20px; }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 700; color: var(--ok); }
.woocommerce-order-overview { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 768px) { .woocommerce-order-overview { grid-template-columns: repeat(4, 1fr); } }
.woocommerce-order-overview li { background: #fff; padding: 14px 16px; font-size: 13px; color: var(--ink-2); }
.woocommerce-order-overview li strong { display: block; color: var(--ink); font-size: 16px; margin-top: 2px; }
/* =========================================================
   Moj račun
   ========================================================= */
.woocommerce-account .page--wc .woocommerce { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.woocommerce-account .page--wc .woocommerce > * { min-width: 0; }
.woocommerce-account .page--wc .woocommerce::before, .woocommerce-account .page--wc .woocommerce::after,
.woocommerce-account .col2-set::before, .woocommerce-account .col2-set::after { display: none !important; content: none !important; }
.woocommerce-account .page--wc .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }

/* Prijava / registracija */
.account-intro { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; background: var(--pink-50); border-radius: var(--r-l); padding: 18px 22px; }
.account-intro p { margin: 0; font-weight: 600; }
.account-intro p span { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.woocommerce-account .u-columns { display: grid !important; gap: 20px; }
@media (min-width: 860px) { .woocommerce-account .u-columns { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (max-width: 599px) { .woocommerce-MyAccount-content, #customer_login .u-column1, #customer_login .u-column2 { padding: 18px; } }
.woocommerce-account .woocommerce .col2-set .col-1, .woocommerce-account .woocommerce .col2-set .col-2 { float: none !important; width: auto !important; max-width: none; }
#customer_login .u-column1, #customer_login .u-column2 { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.woocommerce-account .u-columns h2 { font-size: 24px; margin-bottom: 14px; }
.woocommerce-account .woocommerce form.login, .woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.lost_reset_password { border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0; }
.woocommerce-account form .form-row { width: 100% !important; float: none !important; }
.woocommerce-account form .password-input { display: block; position: relative; }
.woocommerce-account form .password-input input { padding-right: 48px !important; }
.woocommerce-account form .show-password-input { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.woocommerce-account form.login .form-row:has(.woocommerce-form-login__rememberme) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 600 !important; margin: 0 !important; }
.woocommerce-account .woocommerce-form-login__submit, .woocommerce-account .woocommerce-form-register__submit, .woocommerce-account form.lost_reset_password .button { min-width: 160px; }
.woocommerce-account .woocommerce-form-register__submit { background: var(--pink-600) !important; border-color: var(--pink-600) !important; color: #fff !important; }
.woocommerce-LostPassword { margin-top: 10px; font-size: 14px; }
.woocommerce-account .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--ink-2); }
.woocommerce-account form.lost_reset_password { background: #fff; border: 1px solid var(--line) !important; border-radius: var(--r-l); padding: 24px !important; max-width: 560px; }

/* Prijavljen: navigacija + sadržaj */
@media (min-width: 900px) {
	.woocommerce-account.logged-in .page--wc .woocommerce { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
	.woocommerce-MyAccount-navigation { position: sticky; top: 100px; }
}
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .woocommerce-MyAccount-navigation ul { flex-direction: column; } }
.woocommerce-MyAccount-navigation li { margin: 0; flex: none; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-m); text-decoration: none; font-weight: 600; color: var(--ink); white-space: nowrap; }
.woocommerce-MyAccount-navigation a:hover { background: var(--paper-2); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--pink-700); }
.woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { font-size: 17px; }
.woocommerce-MyAccount-content p + p { margin-top: 10px; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-size: 22px; margin: 18px 0 12px; }
.woocommerce-MyAccount-content table.shop_table { border-radius: var(--r-m); }
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button { min-height: 38px; padding: 0 14px; font-size: 14px; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid !important; gap: 16px; }
@media (min-width: 768px) { .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-MyAccount-content .woocommerce-Address { background: var(--paper); border-radius: var(--r-m); padding: 18px; }
.woocommerce-MyAccount-content .woocommerce-Address-title { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 10px; }
.woocommerce-MyAccount-content .woocommerce-Address-title .edit { font-size: 14px; font-weight: 700; }
.woocommerce-MyAccount-content .woocommerce-Address-title::before, .woocommerce-MyAccount-content .woocommerce-Address-title::after { display: none !important; }
.woocommerce-MyAccount-content .woocommerce-Address-title h2, .woocommerce-MyAccount-content .woocommerce-Address-title h3 { margin: 0; font-size: 18px; float: none !important; }
.woocommerce-MyAccount-content address { font-style: normal; line-height: 1.6; }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; margin: 16px 0; }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm legend { font-weight: 700; padding: 0 6px; }
.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper .form-row,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row { width: 100% !important; float: none !important; }
.woocommerce-MyAccount-content .woocommerce-message, .woocommerce-MyAccount-content .woocommerce-info { margin-bottom: 16px; }
.account-dash { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 640px) { .account-dash { grid-template-columns: repeat(3, 1fr); } }
.account-dash a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; background: var(--paper); transition: border-color .15s; }
.account-dash a:hover { border-color: var(--ink); }
.account-dash b { font-size: 16px; }
.account-dash span { font-size: 14px; color: var(--ink-2); }
.account-dash .icon { width: 24px; height: 24px; color: var(--pink-600); margin-bottom: 4px; }

/* Korpa: ukupno iznad preporuka, slike u tabeli */
.woocommerce-cart .cart-collaterals { display: flex; flex-direction: column; gap: 20px; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-cart .cart-collaterals .cross-sells { float: none; width: 100%; }
.woocommerce-cart .cart-collaterals .cart_totals { order: -1; }
.page--wc table.cart td.product-thumbnail { width: 88px; }
.page--wc table.cart td.product-thumbnail img { width: 64px; max-width: none; }
.page--wc table.cart td.product-thumbnail a { display: block; }
.cross-sells ul.products { list-style: none; padding: 0; margin: 0; }
.cross-sells .card__title { font-size: 15px; }
.woocommerce-billing-fields__field-wrapper .form-row, .woocommerce-shipping-fields__field-wrapper .form-row { width: auto !important; float: none !important; }

/* =========================================================
   Forme: newsletter, kontakt, pristanak na plaćanju
   ========================================================= */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.news small a { color: #fff; }
.footer__news { margin-top: 40px; padding: 24px; border-radius: var(--r-l); background: #2E2249; display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .footer__news { grid-template-columns: 1fr 1.3fr; padding: 28px 32px; } }
.footer__news h4 { margin-bottom: 4px; }
.footer__news p { font-size: 14px; }
.footer__news form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__news input[type="email"] { flex: 1 1 220px; height: 48px; border: 0; border-radius: var(--r-m); padding: 0 16px; color: var(--ink); font-size: 16px; }
.footer__news .btn { min-height: 48px; }
.footer__news small { flex-basis: 100%; font-size: 13px; color: #B9AFCB; }
.footer__news small a { color: #D9D2E6; text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.footer__linkbtn:hover { color: #fff; }

.cform { max-width: 640px; display: grid; gap: 14px; margin-top: 8px; }
.cform p { margin: 0; }
.cform__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .cform__row { grid-template-columns: 1fr 1fr; } }
.cform label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.cform input:not([type="checkbox"]), .cform textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-m); background: #fff; font: inherit; font-size: 16px; }
.cform textarea { resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); }
.cform__check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.cform__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink-600); flex: none; }
.cform__note { font-size: 13px; color: var(--ink-2); }
.notice-box { padding: 14px 16px; border-radius: var(--r-m); font-weight: 600; margin-bottom: 16px; max-width: 640px; }
.notice-box--ok { background: #E3F3EA; color: var(--ok); }
.notice-box--err { background: var(--pink-50); color: var(--pink-700); }
.malik-optin label { display: flex !important; gap: 10px; align-items: flex-start; font-size: 15px; }
.malik-optin input { width: 20px; height: 20px; margin-top: 2px !important; accent-color: var(--pink-600); flex: none; }

/* =========================================================
   Kolačići (Consent Mode v2)
   ========================================================= */
.consent { position: fixed; z-index: 130; left: 16px; right: 16px; bottom: 16px; max-width: 440px; background: #fff; color: var(--ink); border-radius: var(--r-l); padding: 22px; box-shadow: 0 24px 48px -20px rgba(34,24,58,.55), 0 0 0 1px var(--line); opacity: 0; transform: translateY(16px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.consent.is-open { opacity: 1; transform: none; }
@media (min-width: 640px) { .consent { left: 24px; bottom: 24px; } }
.consent h2 { font-size: 20px; margin-bottom: 6px; }
.consent p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.consent p a { color: var(--ink); text-decoration: underline; }
.consent__opts { display: grid; gap: 8px; margin-top: 14px; }
.consent__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 2px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.consent__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink-600); flex: none; }
.consent__opt b { display: block; font-size: 15px; }
.consent__opt small { display: block; font-size: 13px; color: var(--ink-2); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.consent__btns .btn { flex: 1 1 140px; min-height: 46px; }
.consent__more { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: underline; cursor: pointer; flex-basis: 100%; text-align: left; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* Pravne stranice, kontakt, autori */
.prose .lead { font-size: 19px; color: var(--ink); }
.prose .muted, .muted { color: var(--ink-2); font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 700; }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 24px; position: sticky; top: 72px; background: var(--paper); padding: 8px 0; z-index: 2; }
.az a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.az a:hover { border-color: var(--ink); }
.az__group { margin-bottom: 28px; scroll-margin-top: 140px; }
.az__group h2 { font-size: 28px; color: var(--pink-600); margin-bottom: 10px; }
.az__group ul { list-style: none; padding: 0; columns: 1; column-gap: 32px; }
@media (min-width: 640px) { .az__group ul { columns: 2; } }
@media (min-width: 1024px) { .az__group ul { columns: 3; } }
.az__group li { padding: 6px 0; break-inside: avoid; }
.az__group li a { font-weight: 600; }
.az__group .num { color: var(--ink-2); font-size: 13px; margin-left: 4px; }

/* Sortiranje (segmentirana dugmad) */
.toolbar__r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sortseg { display: flex; gap: 4px; padding: 4px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.sortseg::-webkit-scrollbar { display: none; }
.sortseg a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-s); font-weight: 700; font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.sortseg a .icon { width: 18px; height: 18px; }
.sortseg a:hover { background: var(--paper-2); color: var(--ink); }
.sortseg a[aria-current="true"] { background: var(--ink); color: #fff; }
.sortseg a:focus-visible { outline: 3px solid var(--pink-500); outline-offset: 1px; }
@media (max-width: 1023px) { .toolbar__r { width: 100%; } .sortseg { flex: 1 1 100%; order: 2; } }
@media (max-width: 479px) { .sortseg a span { display: none; } .sortseg a[aria-current="true"] span { display: inline; } .sortseg { justify-content: space-between; } }

/* Faseta s pretragom (autori) */
.fsearch { position: relative; margin-bottom: 8px; clear: both; }
.fsearch .icon { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--ink-2); pointer-events: none; }
.fsearch input { display: block; margin: 0; width: 100%; height: 42px; padding: 0 12px 0 38px; border: 2px solid var(--line); border-radius: var(--r-m); background: #fff; font: inherit; font-size: 15px; }
.fsearch input:focus { outline: none; border-color: var(--ink); }
.fopt[hidden] { display: none; }
.fopt__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fsearch__none { font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.fsearch__more { margin-top: 6px; background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--pink-600); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Lightbox slika knjige */
.gallery__main img { cursor: zoom-in; }
.gallery__zoom { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px -8px rgba(34,24,58,.5); z-index: 2; transition: transform .15s var(--ease); }
.gallery__zoom:hover { transform: scale(1.06); }
.gallery__zoom .icon { width: 22px; height: 22px; }
.lb { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20,14,36,.94); color: #fff; }
.lb::backdrop { background: rgba(20,14,36,.6); }
.lb[open] { display: block; animation: lbIn .2s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px 16px 56px; }
@media (min-width: 768px) { .lb__stage { padding: 56px 96px; } }
.lb__stage img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); opacity: 0; transform: scale(.98); transition: opacity .2s, transform .2s var(--ease); cursor: default; }
.lb__stage img.is-in { opacity: 1; transform: none; }
.lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 14px; color: #D9D2E6; }
.lb__btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb__btn:hover { background: rgba(255,255,255,.24); }
.lb__btn:focus-visible { outline: 3px solid var(--pink-500); outline-offset: 2px; }
.lb__btn .icon { width: 24px; height: 24px; }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .lb__prev, .lb__next { top: auto; bottom: 8px; transform: none; } .lb__prev { left: 16px; } .lb__next { right: 16px; } }
@media (prefers-reduced-motion: reduce) { .lb[open] { animation: none; } .lb__stage img { transition: none; } }
.woocommerce-account .woocommerce-form-login__submit { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }

/* FAQ: kategorije + accordion */
.faq-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 20px 0 8px; padding: 4px 0; position: sticky; top: 64px; background: var(--paper); z-index: 2; }
.faq-cats::-webkit-scrollbar { display: none; }
.faq-cats a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); }
.faq-cats a:hover, .faq-cats a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-group { margin-top: 32px; scroll-margin-top: 130px; }
.faq-group h2 { font-size: 24px; margin-bottom: 12px; }
.prose .faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); margin: 0 0 8px; transition: border-color .15s; }
.prose .faq[open] { border-color: var(--ink); }
.prose .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.prose .faq summary::-webkit-details-marker { display: none; }
.prose .faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2322183A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E") no-repeat center; transition: transform .2s var(--ease), background-color .2s; }
.prose .faq[open] summary::after { transform: rotate(45deg); background-color: var(--pink-100); }
.prose .faq summary:hover { color: var(--pink-700); }
.prose .faq summary:focus-visible { outline: 3px solid var(--pink-500); outline-offset: 2px; border-radius: var(--r-m); }
.prose .faq > div { padding: 0 18px 16px; color: var(--ink-2); }
.prose .faq > div p { margin: 0; }
.prose .faq > div p + p { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .prose .faq summary::after { transition: none; } }

/* =========================================================
   Plaćanje: način plaćanja, saglasnosti, dugme, sigurnost
   (poništava sivu pozadinu, strelice i float iz WooCommerce CSS-a)
   ========================================================= */
.woocommerce-checkout #payment { background: transparent !important; border-radius: 0; margin-top: 18px; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods { border: 0 !important; padding: 0 !important; margin: 0 0 16px; }
.woocommerce-checkout #payment ul.payment_methods::before, .woocommerce-checkout #payment ul.payment_methods::after { display: none !important; }
.woocommerce-checkout #payment ul.payment_methods li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 2px solid var(--ink); border-radius: var(--r-m); background: #fff; line-height: 1.35; }
.woocommerce-checkout #payment ul.payment_methods li::before { content: ""; grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--pink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23D91C68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") no-repeat center; }
.woocommerce-checkout #payment ul.payment_methods li input.input-radio { display: none; }
.woocommerce-checkout #payment ul.payment_methods li label { margin: 0; font-weight: 700; font-size: 16px; cursor: default; }
.woocommerce-checkout #payment div.payment_box { grid-column: 2; background: none !important; padding: 0 !important; margin: 2px 0 0 !important; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout #payment div.form-row, .woocommerce-checkout #payment .place-order { padding: 0 !important; margin: 0; float: none; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 4px; }
.woocommerce-checkout #payment .validate-required, .woocommerce-checkout #payment .malik-optin { margin: 0 0 10px; }
.woocommerce-checkout #payment label.woocommerce-form__label-for-checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0; cursor: pointer; }
.woocommerce-checkout #payment label.woocommerce-form__label-for-checkbox input { flex: none; width: 20px; height: 20px; margin: 1px 0 0 !important; }
.woocommerce-checkout #payment .malik-optin label { font-weight: 500; color: var(--ink-2); }
.woocommerce-checkout #payment #place_order { float: none !important; display: block; width: 100%; min-height: 58px; margin: 16px 0 0; font-size: 18px; border-radius: var(--r-m); }
.woocommerce-checkout .checkout-perks { clear: both; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; list-style: none; width: 100%; }
.woocommerce-checkout .checkout-perks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); width: auto; }
.woocommerce-checkout .checkout-perks .icon { flex: none; width: 18px; height: 18px; color: var(--ink); margin: 0; }
.woocommerce-checkout .checkout-perks a { color: var(--pink-700); font-weight: 700; white-space: nowrap; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .required { display: none; }
#order_review tfoot td, #order_review .cart_item td.product-total { text-align: right; }
.builtby { display: inline-flex; align-items: center; gap: 8px; color: #B9AFCB; font-size: 13px; text-decoration: none !important; opacity: .85; transition: opacity .15s; }
.builtby:hover { opacity: 1; color: #fff; }
.builtby img { height: 20px; width: auto; display: block; }

/* Opis kategorije ispod knjiga */
.term-about { margin-top: 56px; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); max-width: 860px; }
.term-about h2 { font-size: 22px; margin: 22px 0 8px; }
.term-about h2:first-of-type { margin-top: 0; }
.term-about p, .term-about li { color: var(--ink-2); }
.term-about ul { padding-left: 20px; }
.term-about li { margin: 6px 0; }
@media (max-width: 599px) { .term-about { padding: 22px 18px; } }

/* =========================================================
   Blog
   ========================================================= */
.blog__head { max-width: 760px; margin-bottom: 8px; }
.blog__head .page__title { margin-bottom: 10px; }
.blog__lead { font-size: 18px; color: var(--ink-2); }
.blog__cats { position: static; margin-top: 18px; }
.posts { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(34,24,58,.45); }
.post-card__img { display: block; aspect-ratio: 1200 / 630; background: var(--pink-50); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__cat { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pink-700); background: var(--pink-50); border-radius: 999px; padding: 4px 10px; text-decoration: none; }
.post-card__t { font-size: 20px; line-height: 1.25; margin: 0; }
.post-card__t a { text-decoration: none; color: var(--ink); }
.post-card__t a:hover { color: var(--pink-700); }
.post-card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.post-card__meta { margin-top: auto; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.blog .pager, .blog .nav-links { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } .post-card:hover { transform: none; } }

.article { max-width: 1000px; }
.article__head { max-width: 760px; margin: 8px auto 24px; }
.article__head h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; margin: 12px 0; }
.article__lead { font-size: 19px; color: var(--ink-2); }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.article__meta > * + *::before { content: "·"; margin-right: 14px; }
.article__img { margin: 0 0 32px; border-radius: var(--r-l); overflow: hidden; background: var(--pink-50); }
.article__img img { width: 100%; height: auto; display: block; }
.article__body { margin: 0 auto; font-size: 18px; line-height: 1.7; }
.article__body h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.article__body h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.article__body ul, .article__body ol { padding-left: 22px; }
.article__body li { margin: 6px 0; }
.article__body blockquote, .article__body .tip { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--b-yellow); background: #FFFBE0; border-radius: 0 var(--r-m) var(--r-m) 0; font-size: 17px; }
.article__body .tip strong:first-child { display: block; margin-bottom: 4px; }
.post-books { margin: 28px -4px; padding: 20px; background: var(--paper-2); border-radius: var(--r-l); }
@media (min-width: 1000px) { .post-books { margin-left: -120px; margin-right: -120px; } }
.post-books__t { font-size: 18px !important; margin: 0 0 14px !important; }
.grid--post { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid--post { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--post { grid-template-columns: repeat(4, 1fr); } }
.post-books .card__title { font-size: 15px; line-height: 1.3; }
.post-books .card__title a, .post-books a { color: var(--ink); text-decoration: none; }
.article__body .post-books .addbtn { color: #fff; }
.article__cta { max-width: 760px; margin: 40px auto 0; display: grid; gap: 16px; padding: 24px; border-radius: var(--r-l); background: var(--ink); color: #fff; }
@media (min-width: 760px) { .article__cta { grid-template-columns: 1fr auto; align-items: center; } }
.article__cta h2 { font-size: 22px; color: #fff; margin-bottom: 4px; }
.article__cta p { color: #D9D2E6; font-size: 15px; }
.article__cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.article__cta .btn--ghost { border-color: #fff; color: #fff; }
.article__cta .btn--ghost:hover { background: #fff; color: var(--ink); }
.article__rel { margin-top: 56px; }
.article__rel h2 { font-size: 26px; }
@media (min-width: 1024px) { .posts--3 { grid-template-columns: repeat(3, 1fr); } }
.home-blog .posts { margin-top: 0; }

/* Trake s knjigama: samo horizontalni skrol. Bez ovoga je traka bila i vertikalno skrolabilna (~14px sjene/hovera),
   pa je točkić/trackpad „zakačio“ traku umjesto stranice. */
.rail { overflow-y: hidden; overscroll-behavior-x: contain; padding-top: 6px; padding-bottom: 14px; }

/* =========================================================
   Hvala na narudžbi
   ========================================================= */
.ty { display: grid; gap: 20px; max-width: 1000px; margin: 8px auto 0; }
.ty-hero { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--r-l); background: #E3F3EA; }
.ty-hero__ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: tyPop .5s var(--ease) both; }
.ty-hero__ic .icon { width: 30px; height: 30px; stroke-width: 3; }
@keyframes tyPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ty-hero h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; margin: 4px 0 6px; }
.ty-hero p { color: var(--ink-2); }
.ty-hero__kicker { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ok) !important; }
.ty-hero--fail { background: var(--pink-50); display: block; }
.ty-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .ty-grid { grid-template-columns: 1fr 1fr 1fr; } }
.ty-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px 22px; min-width: 0; }
.ty-card h3 { font: 800 13px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.ty-card address { font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.ty-card--pay { background: var(--paper-2); border-color: transparent; }
.ty-total { font: 800 30px/1.1 var(--f-head); color: var(--ink) !important; margin-bottom: 6px; }
.ty-items ul { list-style: none; padding: 0; margin: 0; }
.ty-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.ty-items li:first-child { border-top: 0; padding-top: 4px; }
.ty-items__img img { width: 56px; height: 72px; object-fit: contain; display: block; border-radius: 2px; }
.ty-items__t a { font-weight: 700; text-decoration: none; color: var(--ink); }
.ty-items__t a:hover { color: var(--pink-700); }
.ty-items__t small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.ty-items__p { font-weight: 800; white-space: nowrap; }
.ty-sum { margin: 10px 0 0; border-top: 2px solid var(--line); padding-top: 10px; }
.ty-sum div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; color: var(--ink-2); }
.ty-sum dd { margin: 0; text-align: right; color: var(--ink); font-weight: 600; }
.ty-sum dd small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.ty-sum .is-total { color: var(--ink); font-weight: 800; font-size: 19px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.ty-sum .is-total dd { font-weight: 800; }
.ty-note { margin-top: 12px; padding: 12px 14px; background: #FFFBE0; border-radius: var(--r-m); font-size: 15px; }
.ty-next ol { list-style: none; counter-reset: ty; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
@media (min-width: 760px) { .ty-next ol { grid-template-columns: repeat(3, 1fr); } }
.ty-next li { counter-increment: ty; position: relative; padding-left: 40px; }
.ty-next li::before { content: counter(ty); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--pink-600); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.ty-next li b { display: block; }
.ty-next li span { color: var(--ink-2); font-size: 14px; }
.ty-help { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 599px) { .ty-hero { padding: 20px; gap: 14px; } .ty-hero__ic { width: 44px; height: 44px; } .ty-card { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .ty-hero__ic { animation: none; } }

/* Moj račun → pregled narudžbe (WooCommerce šabloni) */
.woocommerce-MyAccount-content .woocommerce-order-details, .woocommerce-MyAccount-content .woocommerce-customer-details { margin-top: 20px; }
.woocommerce-MyAccount-content .woocommerce-order-details__title, .woocommerce-MyAccount-content .woocommerce-column__title { font-size: 18px !important; margin: 0 0 10px !important; }
.woocommerce-MyAccount-content table.order_details { width: 100%; border-collapse: collapse; }
.woocommerce-MyAccount-content table.order_details th, .woocommerce-MyAccount-content table.order_details td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; }
.woocommerce-MyAccount-content table.order_details td:last-child, .woocommerce-MyAccount-content table.order_details th:last-child { text-align: right; }
.woocommerce-MyAccount-content table.order_details a { color: var(--ink); font-weight: 700; text-decoration: none; }
.woocommerce-MyAccount-content .woocommerce-customer-details .col2-set, .woocommerce-MyAccount-content section.addresses { display: grid !important; gap: 14px; }
@media (min-width: 640px) { .woocommerce-MyAccount-content .woocommerce-customer-details .col2-set, .woocommerce-MyAccount-content section.addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-MyAccount-content .woocommerce-customer-details address { font-style: normal; border: 1px solid var(--line) !important; border-radius: var(--r-m); padding: 14px 16px !important; background: var(--paper); line-height: 1.6; }
.woocommerce-MyAccount-content .woocommerce-customer-details--phone, .woocommerce-MyAccount-content .woocommerce-customer-details--email { padding-left: 0 !important; margin: 4px 0 0 !important; }
.woocommerce-MyAccount-content .woocommerce-customer-details--phone::before, .woocommerce-MyAccount-content .woocommerce-customer-details--email::before { display: none !important; }
.ty--verify { max-width: 560px; }
.ty-verify h1 { font-size: 28px; margin-bottom: 10px; }
.ty-verify p { margin: 0 0 14px; }
.ty-verify .form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.ty-verify input[type="email"] { width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r-m); font: inherit; font-size: 16px; }
.ty-verify input[type="email"]:focus { outline: none; border-color: var(--ink); }
.ty-received { max-width: 560px; margin: 8px auto 12px; font-weight: 700; color: var(--ok); font-size: 18px; }

/* reCAPTCHA: badge skriven, napomena uz formu (dozvoljeno po Googleovim pravilima) */
.grecaptcha-badge { visibility: hidden; }
.rc-note { font-size: 12px !important; color: var(--ink-2); margin: 12px 0 0 !important; line-height: 1.5; }
.rc-note a { color: var(--ink-2); text-decoration: underline; }
