/* Svijet Knjiga – naslovnica */
:root {
	--skh-green: #1B2B22;
	--skh-bordo: #742A2A;
	--skh-cream: #F5F2EB;
	--skh-beige: #EAE3D2;
	--skh-gold: #C69C4E;
	--skh-ink: #1F2421;
	--skh-wood: #5C3A21;
	--skh-terra: #9A4B32;
	--skh-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	--skh-sans: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

body.skh-body {
	margin: 0;
	background: var(--skh-cream);
	color: var(--skh-ink);
	font-family: var(--skh-sans);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.skh-body *, .skh-body *::before, .skh-body *::after { box-sizing: border-box; }
:is(.skh, .skh-header, .skh-footer, .skh-band, .skh-topbar, .skh-cookie) a { color: inherit; }
:is(.skh, .skh-header, .skh-footer, .skh-band) :is(h1, h2, h3) { font-family: var(--skh-serif); font-weight: 600; margin: 0; line-height: 1.15; color: inherit; }
:is(.skh, .skh-header, .skh-footer, .skh-band, .skh-cookie) p { margin: 0; }
.skh img { max-width: 100%; height: auto; display: block; }
.skh-body .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.skh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skh-center { text-align: center; }
.skh-eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--skh-bordo); margin-bottom: 8px; }
.skh-eyebrow--gold { color: var(--skh-gold); }

/* Neutralise theme button styles (Astra) */
.skh-body button, .skh-body .skh-btn, .skh-body .skh-pill { text-transform: none; letter-spacing: normal; box-shadow: none; line-height: 1; }
.skh-body .skh-tab:hover { background: transparent; color: var(--skh-ink); }
.skh-body .skh-tab.is-active, .skh-body .skh-tab.is-active:hover { background: var(--skh-green); color: #fff; }
.skh-body .skh-search button:hover, .skh-body .skh-search button:focus { background: none; color: var(--skh-gold); }
.skh-body .skh-burger:hover, .skh-body .skh-burger:focus { background: rgba(198,156,78,.14); color: var(--skh-gold); }

/* Buttons */
.skh-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 13px 28px; border-radius: 999px; font: 600 14px/1 var(--skh-sans);
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.skh-btn--gold { background: var(--skh-gold); color: var(--skh-green) !important; }
.skh-btn--gold:hover { background: #d6ad5f; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.skh-btn--ghost { border-color: rgba(198,156,78,.7); color: #fff !important; background: transparent; }
.skh-btn--ghost:hover { background: rgba(198,156,78,.14); }
.skh-pill {
	display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px;
	background: var(--skh-green); color: #fff !important; font: 600 12.5px/1 var(--skh-sans);
	text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s;
}
.skh-pill:hover { background: #2b4135; transform: translateY(-1px); }
.skh-pill.loading { opacity: .6; }
.skh-pill.added::after { content: " ✓"; }
.skh-body .added_to_cart { display: none; }

/* Top bar */
.skh-topbar { background: var(--skh-bordo); color: #fff; text-align: center; font-size: 12px; padding: 8px 16px; letter-spacing: .01em; }

/* Header */
.skh-header { background: var(--skh-green); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; z-index: 20; }
.skh-header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.skh-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--skh-serif); font-size: 26px; font-weight: 600; color: #fff !important; white-space: nowrap; }
.skh-logo svg { width: 38px; height: 38px; }
.skh-nav { display: flex; gap: 28px; flex: 1; }
.skh-nav a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.9); position: relative; padding: 4px 0; }
.skh-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--skh-gold); transform: scaleX(0); transition: transform .25s; }
.skh-nav a:hover { color: #fff; }
.skh-nav a:hover::after { transform: scaleX(1); }
.skh-header__tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.skh-search { position: relative; display: flex; }
.skh-search input {
	width: 210px; height: 40px; border-radius: 999px; border: 1px solid rgba(198,156,78,.75);
	background: rgba(255,255,255,.04); color: #fff; padding: 0 40px 0 18px; font: 13px var(--skh-sans); outline: none;
}
.skh-search input::placeholder { color: rgba(255,255,255,.55); }
.skh-search input:focus { border-color: var(--skh-gold); background: rgba(255,255,255,.08); }
.skh-search button { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border: 0; background: none; color: var(--skh-gold); cursor: pointer; padding: 3px; }
.skh-cart, .skh-burger {
	position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(198,156,78,.75);
	display: inline-flex; align-items: center; justify-content: center; color: var(--skh-gold); background: none; cursor: pointer; padding: 0;
}
.skh-cart svg, .skh-burger svg { width: 20px; height: 20px; }
.skh-cart:hover { background: rgba(198,156,78,.14); }
.skh-cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--skh-gold); color: var(--skh-green); font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.skh-cart-count.is-empty { display: none; }
.skh-burger { display: none; }

/* Hero */
.skh-hero { background: var(--skh-green); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.skh-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.skh-hero h1 { font-size: clamp(40px, 5.2vw, 64px); color: #F5F2EB; margin: 6px 0 20px; font-weight: 600; letter-spacing: -.005em; }
.skh-hero__lead { color: rgba(255,255,255,.82); max-width: 470px; font-size: 15.5px; }
.skh-hero__ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.skh-hero__books { position: relative; height: 340px; }

/* Covers (shared) */
.skh-cover {
	background: var(--c); position: relative; aspect-ratio: 2 / 3; width: 100%;
	box-shadow: inset 6px 0 0 rgba(0,0,0,.18), 0 10px 24px rgba(0,0,0,.25);
	border-radius: 2px 4px 4px 2px; padding: 9%;
}
.skh-cover__frame {
	position: absolute; inset: 7%; border: 1.5px solid var(--skh-gold); outline: 1px solid rgba(198,156,78,.55); outline-offset: -6px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 7cqw;
}
.skh-cover__title { font-family: var(--skh-serif); color: var(--skh-gold); font-size: 17px; line-height: 1.2; font-weight: 600; }
.skh-cover__dia { color: var(--skh-gold); font-size: 9px; margin-top: 10px; }

.skh-hero__book { position: absolute; width: 190px; top: 30px; transition: transform .5s ease; }
.skh-hero__book--l { left: calc(50% - 205px); transform: rotate(-10deg); top: 50px; }
.skh-hero__book--r { left: calc(50% + 15px); transform: rotate(9deg); top: 55px; }
.skh-hero__book--c { left: calc(50% - 95px); top: 0; z-index: 2; box-shadow: inset 6px 0 0 rgba(0,0,0,.18), 0 22px 40px rgba(0,0,0,.45); }
.skh-hero__book--c .skh-cover__title { font-size: 21px; }
.skh-hero__books:hover .skh-hero__book--l { transform: rotate(-13deg) translateX(-8px); }
.skh-hero__books:hover .skh-hero__book--r { transform: rotate(12deg) translateX(8px); }
.skh-hero__books:hover .skh-hero__book--c { transform: translateY(-6px); }

/* Featured */
.skh-featured { padding: 88px 0 72px; }
.skh-featured__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.skh-featured h2, .skh-shelf h2, .skh-map h2 { font-size: clamp(30px, 3.4vw, 40px); }
.skh-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.skh-tab {
	border: 1px solid rgba(31,36,33,.25); background: transparent; color: var(--skh-ink); border-radius: 999px;
	padding: 9px 18px; font: 500 13px/1 var(--skh-sans); cursor: pointer; transition: all .2s;
}
.skh-tab:hover { border-color: var(--skh-green); }
.skh-tab.is-active { background: var(--skh-green); color: #fff; border-color: var(--skh-green); }
.skh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.skh-grid[hidden] { display: none; }
.skh-card { display: flex; flex-direction: column; animation: skhFade .35s ease; }
@keyframes skhFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.skh-card__cover { display: block; text-decoration: none; margin-bottom: 16px; transition: transform .3s; }
.skh-card__cover:hover { transform: translateY(-4px); }
.skh-card__cover .skh-cover__title { font-size: 19px; }
.skh-card__img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; box-shadow: 0 10px 24px rgba(0,0,0,.2); border-radius: 2px 4px 4px 2px; }
.skh-card__label { font-size: 10px; margin-bottom: 4px; min-height: 1em; }
.skh-card__title { font-size: 21px; margin-bottom: 2px; }
.skh-card__title a { text-decoration: none; }
.skh-card__title a:hover { color: var(--skh-bordo); }
.skh-card__author { font-size: 13px; color: rgba(31,36,33,.65); min-height: 1.4em; }
.skh-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.skh-card__price { font-weight: 600; font-size: 15px; }
.skh-card__price del { opacity: .5; font-weight: 400; margin-right: 4px; }
.skh-card__price ins { text-decoration: none; color: var(--skh-bordo); }
.skh-more { display: inline-block; margin-top: 44px; color: var(--skh-bordo) !important; font-weight: 600; font-size: 14px; text-underline-offset: 4px; }
.skh-more:hover { color: var(--skh-green) !important; }

/* Shelf */
.skh-shelf { background: var(--skh-beige); padding: 80px 0 0; }
.skh-sub { color: rgba(31,36,33,.7); margin-top: 6px; font-size: 14px; }
.skh-shelf__scroller { margin-top: 36px; }
.skh-shelf__books { display: flex; justify-content: center; align-items: flex-end; gap: 4px; padding-top: 30px; }
.skh-spine {
	--c: #7A2E2E; --h: 240px; --w: 74px;
	position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: var(--w); height: var(--h); background: var(--c); text-decoration: none;
	border-radius: 3px 3px 0 0;
	box-shadow: inset 5px 0 0 rgba(255,255,255,.07), inset -6px 0 0 rgba(0,0,0,.18);
	transition: transform .35s cubic-bezier(.2,.8,.3,1.2), box-shadow .35s;
	transform-origin: bottom center;
}
.skh-spine::before, .skh-spine::after {
	content: ""; position: absolute; left: 0; right: 0; height: 9px;
	border-top: 2px solid var(--skh-gold); border-bottom: 1px solid rgba(198,156,78,.7);
}
.skh-spine::before { top: 14px; }
.skh-spine::after { bottom: 14px; }
.skh-spine span {
	writing-mode: vertical-rl; transform: rotate(180deg);
	font-family: var(--skh-serif); font-weight: 600; font-size: 20px; color: #F2D9A2; letter-spacing: .02em; white-space: nowrap;
}
.skh-spine:hover, .skh-spine:focus-visible {
	transform: translateY(-18px) rotate(-1.5deg);
	box-shadow: inset 5px 0 0 rgba(255,255,255,.07), inset -6px 0 0 rgba(0,0,0,.18), 0 16px 22px rgba(0,0,0,.28);
	z-index: 2; outline: none;
}
.skh-shelf__board { height: 18px; background: linear-gradient(#6B4428, var(--skh-wood)); box-shadow: 0 6px 10px rgba(60,35,15,.3); border-radius: 2px; }

/* Map */
.skh-map { padding: 88px 0; }
.skh-map__head { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.skh-map__globe svg { width: 64px; height: 64px; display: block; }
.skh-continents { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.skh-continent {
	background: #fff; border: 1px solid rgba(31,36,33,.12); border-radius: 8px; padding: 18px 16px;
	text-decoration: none; display: flex; flex-direction: column; min-height: 150px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.skh-continent:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(31,36,33,.1); border-color: var(--skh-gold); }
.skh-continent h3 { font-size: 21px; margin-bottom: 6px; }
.skh-continent p { font-size: 12px; color: rgba(31,36,33,.65); line-height: 1.45; }
.skh-continent__cta { margin-top: auto; padding-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--skh-bordo); }

/* Perks */
.skh-perks { background: var(--skh-beige); padding: 38px 0; }
.skh-perks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.skh-perk { display: flex; gap: 14px; align-items: flex-start; }
.skh-perk svg { width: 30px; height: 30px; color: var(--skh-terra); flex: 0 0 auto; }
.skh-perk strong { display: block; font-size: 14px; }
.skh-perk span { font-size: 12.5px; color: rgba(31,36,33,.65); }

/* Newsletter */
.skh-news { background: var(--skh-bordo); color: #fff; padding: 76px 0; }
.skh-news h2 { font-size: clamp(30px, 3.4vw, 40px); color: #fff; margin-bottom: 8px; }
.skh-news p { color: rgba(255,255,255,.85); }
.skh-news__form { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.skh-news__form input[type=email] {
	width: 380px; max-width: 100%; height: 48px; border-radius: 999px; border: 0; padding: 0 22px;
	background: #F5F2EB; color: var(--skh-ink); font: 14px var(--skh-sans); outline: none;
}
.skh-news__form input[type=email]:focus { box-shadow: 0 0 0 3px rgba(198,156,78,.6); }
.skh-news__form .skh-btn { height: 48px; }
.skh-news__msg { margin-top: 16px; font-weight: 600; }
.skh-hp { position: absolute; left: -9999px; }

/* Footer */
.skh-footer { background: var(--skh-green); color: rgba(255,255,255,.82); padding: 64px 0 28px; font-size: 13.5px; }
.skh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.skh-footer__brand .skh-logo { font-size: 23px; margin-bottom: 14px; }
.skh-footer h4 { font: 600 11px/1 var(--skh-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--skh-gold); margin: 6px 0 18px; }
.skh-footer ul { list-style: none; margin: 0; padding: 0; }
.skh-footer li { margin-bottom: 9px; }
.skh-footer a { text-decoration: none; }
.skh-footer a:hover { color: var(--skh-gold); }
.skh-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.skh-footer__withdraw {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	margin-top: 40px; padding: 16px 22px; border: 1px solid rgba(198,156,78,.4); border-radius: 10px;
}
.skh-footer__withdraw p { font-size: 13.5px; color: rgba(255,255,255,.82); }
.skh-footer .skh-withdraw-btn { color: #fff !important; padding: 11px 22px; }
.skh-footer .skh-withdraw-btn:hover { color: #fff !important; }
.skh-news__consent { font-size: 12px; margin-top: 14px !important; color: rgba(255,255,255,.7) !important; }
.skh-news__consent a { color: #fff; }

/* Extra buttons */
.skh-btn--green { background: var(--skh-green); color: #fff !important; }
.skh-btn--green:hover { background: #2b4135; transform: translateY(-1px); }
.skh-btn--bordo { background: var(--skh-bordo); color: #fff !important; }
.skh-btn--bordo:hover { background: #8a3434; }
.skh-btn--line { background: transparent; color: var(--skh-ink) !important; border-color: rgba(31,36,33,.3); }
.skh-btn--line:hover { border-color: var(--skh-ink); }

/* Cookie notice */
.skh-cookie {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 760px; margin: 0 auto;
	display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 12px;
	background: var(--skh-green); color: rgba(255,255,255,.9); font: 13px/1.5 var(--skh-sans);
	box-shadow: 0 12px 30px rgba(0,0,0,.25); border: 1px solid rgba(198,156,78,.4);
}
.skh-cookie[hidden] { display: none; }
.skh-cookie a { text-decoration: underline; color: var(--skh-gold) !important; }
.skh-cookie .skh-btn { flex: 0 0 auto; padding: 10px 20px; }
@media (max-width: 560px) { .skh-cookie { flex-direction: column; align-items: stretch; text-align: left; } }

/* Covers scale with their box (cards, thumbnails, cart) */
.skh-cover { container-type: inline-size; }
.skh-cover__title { font-size: clamp(7px, 11.5cqw, 22px) !important; }
.skh-cover__dia { font-size: clamp(5px, 4.5cqw, 10px); margin-top: 6cqw; }
.skh-cover--thumb { box-shadow: inset 4px 0 0 rgba(0,0,0,.18), 0 6px 14px rgba(0,0,0,.18); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.skh-nav { gap: 18px; }
	.skh-search input { width: 160px; }
	.skh-continents { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	.skh-burger { display: inline-flex; }
	.skh-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--skh-green);
		flex-direction: column; gap: 0; padding: 8px 32px 20px; border-top: 1px solid rgba(255,255,255,.08);
	}
	.skh-nav.is-open { display: flex; }
	.skh-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
	.skh-hero__grid { grid-template-columns: 1fr; }
	.skh-hero__books { height: 300px; order: -1; margin-bottom: 8px; }
	.skh-hero__book { width: 160px; }
	.skh-hero__book--l { left: calc(50% - 175px); }
	.skh-hero__book--c { left: calc(50% - 80px); }
	.skh-grid { grid-template-columns: repeat(2, 1fr); }
	.skh-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.skh-wrap { padding: 0 20px; }
	.skh-header__inner { height: 64px; gap: 12px; }
	.skh-logo { font-size: 22px; }
	.skh-logo svg { width: 32px; height: 32px; }
	.skh-search input { width: 40px; padding: 0; color: transparent; cursor: pointer; }
	.skh-search input::placeholder { color: transparent; }
	.skh-search input:focus { width: 170px; padding: 0 36px 0 14px; color: #fff; cursor: text; }
	.skh-search:focus-within { position: absolute; left: 20px; right: 20px; z-index: 3; }
	.skh-search:focus-within input { width: 100%; }
	.skh-search button { pointer-events: none; }
	.skh-hero { padding: 48px 0 64px; }
	.skh-hero__books { height: 250px; }
	.skh-hero__book { width: 128px; }
	.skh-hero__book--l { left: calc(50% - 140px); }
	.skh-hero__book--r { left: calc(50% + 10px); }
	.skh-hero__book--c { left: calc(50% - 64px); }
	.skh-hero__book--c .skh-cover__title { font-size: 17px; }
	.skh-featured { padding: 64px 0 56px; }
	.skh-grid { gap: 22px 16px; }
	.skh-card__title { font-size: 18px; }
	.skh-card__cover .skh-cover__title { font-size: 15px; }
	.skh-card__foot { flex-direction: column; align-items: flex-start; }
	/* Shelf: horizontal scroll on phones */
	.skh-shelf__scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
	.skh-shelf__inner { width: max-content; min-width: 100%; }
	.skh-shelf__books { padding-left: 8px; padding-right: 8px; }
	.skh-spine { scroll-snap-align: center; width: calc(var(--w) * .8); height: calc(var(--h) * .82); }
	.skh-spine span { font-size: 17px; }
	.skh-continents { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.skh-perks__grid { grid-template-columns: 1fr; gap: 18px; }
	.skh-footer__grid { grid-template-columns: 1fr; }
	.skh-footer__bottom { flex-direction: column; }
	.skh-map__head { align-items: flex-start; }
	.skh-map__globe svg { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.skh-body * { transition: none !important; animation: none !important; }
}

.skh .skh-lowest { display: block; font-size: 10.5px; font-weight: 400; color: rgba(31,36,33,.6); margin-top: 3px; line-height: 1.35; }
.skh .skh-card__price del { display: inline; }
.skh .skh-card__foot { align-items: flex-end; }
.skh-footer .skh-footer__grid h4, body .skh-footer h4 { color: var(--skh-gold) !important; }
.skh-footer .skh-footer__grid h4, body .skh-footer h4 { font-family: var(--skh-sans) !important; font-weight: 600 !important; font-size: 11px !important; line-height: 1 !important; letter-spacing: .22em !important; }
