/* =====================================================================
   sajt-trgovina.com – novi, responsive izgled
   (zamenjuje stari style.css i css_meni; boje sajta: roze + zelena)
   ===================================================================== */
:root {
	--pink: #e6007e;
	--pink-600: #c2006a;
	--pink-50: #fdeef6;
	--lime: #97c11f;
	--lime-600: #7aa112;
	--lime-50: #f3f9e3;
	--ink: #1b1e24;
	--ink-2: #3c424d;
	--muted: #6b7280;
	--line: #e6e8ec;
	--bg: #f4f5f7;
	--dark: #1f2329;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(16,24,40,.05), 0 2px 6px rgba(16,24,40,.06);
	--shadow-lg: 0 18px 40px -18px rgba(16,24,40,.35);
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-head: 'Outfit', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.st-body {
	margin: 0; padding: 0; background: var(--bg); color: var(--ink);
	font-family: var(--font); font-size: 16px; line-height: 1.6;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }
#info:empty, #header_pages:empty { display: none; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.st-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- zaglavlje ---------- */
.st-header { background: #fff; box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 50; }
.st-header-in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.st-logo { flex: none; display: block; line-height: 0; }
.st-logo img { width: 250px; height: auto; }
.st-banner { flex: 1; display: flex; justify-content: center; line-height: 0; min-width: 0; }
.st-banner img { width: 100%; max-width: 540px; height: auto; border-radius: 10px; }
.st-rss {
	flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px;
	background: #fff4e8; color: #e8710a; font-weight: 600; font-size: 14px;
}
.st-rss:hover { background: #ffe8cf; color: #c65f05; }
.st-burger { display: none; }

.st-nav { background: var(--dark); }
.st-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.st-menu { display: flex; align-items: center; flex-wrap: wrap; }
.st-menu > li { position: relative; }
.st-menu > li > a {
	display: block; padding: 15px 16px; color: #e8eaee; font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
}
.st-menu > li > a:hover, .st-menu > li:hover > a { color: #fff; background: rgba(255,255,255,.06); }
.st-menu > li.is-active > a { color: #fff; box-shadow: inset 0 -3px 0 var(--lime); }
.st-menu > li.has-sub > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7;
}
.st-sub-btn { display: none; }
.st-menu li ul {
	position: absolute; left: 0; top: 100%; min-width: 270px; background: #fff; border-radius: 12px; padding: 8px;
	box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease; z-index: 60;
}
.st-menu li:hover > ul { opacity: 1; visibility: visible; transform: none; }
.st-menu li ul li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.st-menu li ul li a:hover { background: var(--pink-50); color: var(--pink); }
.st-menu li ul ul { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; opacity: 1; visibility: visible; transform: none; }
.st-menu-right { gap: 8px; }
.st-pill > a { display: block; padding: 8px 18px !important; border-radius: 999px; font-weight: 700 !important; font-size: 13.5px !important; text-transform: uppercase; letter-spacing: .04em; color: #fff !important; }
.st-pill-pink > a { background: var(--pink); }
.st-pill-pink > a:hover { background: var(--pink-600) !important; }
.st-pill-lime > a { background: var(--lime); }
.st-pill-lime > a:hover { background: var(--lime-600) !important; }
.st-pill.is-active > a { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

/* ---------- stranica ---------- */
.st-page { padding-top: 28px; padding-bottom: 48px; }
.st-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.st-content { min-width: 0; }
.box_border, .padding, .padding_left { width: auto; padding: 0; margin: 0; background: none; border: 0; }
.st-layout .st-content > .box_border {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
}

.first_naslovH { margin: 0 0 18px; }
.first_naslovH h1 {
	margin: 0; padding: 0 !important; font-size: 30px; font-weight: 700; letter-spacing: -.01em; color: var(--ink);
}
.first_naslovH h1 a { color: var(--ink); }
.first_naslovH h1 a:hover { color: var(--pink); }
.st-place { color: var(--lime-600); font-weight: 600; }

.opis { color: var(--ink-2); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.opis p { margin: 0 0 1em; }
.opis img { border-radius: 12px; }
.detail_big { display: block; width: 100%; height: auto; margin: 0 0 20px; border-radius: 14px; }
.detail_small { float: left; max-width: 45%; margin: 4px 22px 12px 0; border-radius: 14px; }
.detail_small1 { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- bocna kolona ---------- */
.st-aside { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 16px; }
.st-side-toggle { display: none; }
.levi_meni {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
}
.levi_meni .submenu { margin: 0; padding: 0; }
.levi_meni .submenu li { margin: 0; padding: 0; }
.levi_meni li.h3 { margin-top: 10px; }
.levi_meni li.h3:first-child { margin-top: 0; }
.levi_meni li.h3 h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.levi_meni li.h3 h3 a {
	display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink);
}
.levi_meni li.h3 h3 a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.levi_meni li.h3 h3 a.is-active, .levi_meni li.h3 h3 a:hover { background: var(--pink-50); color: var(--pink); }
.levi_meni li:not(.h3) > a {
	display: block; padding: 7px 10px 7px 26px; border-radius: 9px; color: var(--ink-2); font-size: 14.5px; line-height: 1.35;
}
.levi_meni li:not(.h3) > a:hover { background: #f5f6f8; color: var(--ink); }
.levi_meni li:not(.h3) > a.is-active { background: var(--lime-50); color: var(--lime-600); font-weight: 600; }
.levi_meni li.lvl3 > a { padding-left: 40px; font-size: 14px; }
.st-box h2 { margin: 0 0 8px; font-size: 18px; }
.st-box .konta { font-size: 14.5px; color: var(--ink-2); }

/* ---------- pocetna: kartice ---------- */
.st-content-full .first_naslovH h1 { font-size: 34px; }
.st-content-full .first_naslovH { margin-bottom: 22px; }
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; clear: both; }
.st-card { width: auto; height: auto; margin: 0; float: none; }
.st-card .slikas {
	display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd;
	box-shadow: var(--shadow); aspect-ratio: 4 / 3; color: #fff; isolation: isolate;
}
.st-card-img, .st-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.st-card-img img { object-fit: cover; transition: transform .5s ease; }
.st-card .slikas::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%);
}
.st-card .slikas:hover .st-card-img img { transform: scale(1.06); }
.st-card .nazivi_mesto { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.st-card .mesto {
	align-self: flex-start; background: var(--lime); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.st-card .nazivi { font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* ---------- lista smestaja ---------- */
.st-listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.st-listhead h2 { margin: 0; font-size: 26px; }
.st-listhead span { color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.st-item { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.st-item:last-child { border-bottom: 0; padding-bottom: 0; }
.st-item:first-of-type { padding-top: 0; }
.st-item-img { flex: none; width: 240px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #eee; display: block; }
.st-item-img img { transition: transform .4s; }
.st-item-img:hover img { transform: scale(1.05); }
.st-item-body { min-width: 0; flex: 1; }
.st-item .first_naslovH { margin-bottom: 8px; }
.st-item .first_naslovH h1 { font-size: 22px; }
.st-item .opis { font-size: 15px; }
.st-more { display: inline-block; margin-left: 4px; font-weight: 600; white-space: nowrap; }
.st-more::after { content: " →"; }

/* ---------- detalj ---------- */
.st-detail .first_naslovH h1 { font-size: 32px; }
.st-detail .opis::after { content: ""; display: block; clear: both; }
.st-cta { margin: 24px 0 8px; clear: both; }
.rezerve {
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
	background: var(--pink); color: #fff !important; font-weight: 700; letter-spacing: .03em; font-size: 15px;
	box-shadow: 0 10px 24px -12px rgba(230,0,126,.9); transition: background .15s, transform .1s;
}
.rezerve:hover { background: var(--pink-600); }
.rezerve:active { transform: translateY(1px); }
.rezerve::after { content: "→"; font-size: 18px; }

.st-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); clear: both; }
.st-share span { color: var(--muted); font-size: 14px; margin-right: 4px; }
.st-share a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; }
.st-share-fb { background: #1877f2; } .st-share-x { background: #111; } .st-share-wa { background: #25d366; } .st-share-mail { background: #6b7280; }
.st-share a:hover { color: #fff; opacity: .9; }

/* ---------- galerija ---------- */
.st-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.st-gal-item { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #eee; box-shadow: var(--shadow); }
.st-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.st-gal-item:hover img { transform: scale(1.06); }

/* ---------- kontakt ---------- */
.st-kontakt-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 14px; background: var(--pink-50); border: 1px solid #f8cde4; }
.st-kontakt-card p { margin: 0 0 6px; color: var(--ink-2); }
.st-kontakt-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--pink); color: #fff; }
.st-mail { font-size: 20px; font-weight: 700; word-break: break-all; }

/* ---------- podnozje ---------- */
.st-footer { background: var(--dark); color: #c9cdd4; }
.st-footer-stripe { height: 6px; background: linear-gradient(90deg, var(--pink) 0 55%, var(--lime) 55% 100%); }
.st-footer-in { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 36px; }
.st-footer-logo { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .02em; text-transform: uppercase; }
.st-footer-logo span { color: var(--lime); }
.st-footer-brand p { margin: 10px 0 18px; color: #9aa1ab; font-size: 14.5px; }
.st-footer h4 { margin: 0 0 12px; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font); }
.st-footer-links a { display: block; padding: 4px 0; color: #c9cdd4; font-size: 14.5px; }
.st-footer-links a:hover, .st-footer-logo:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.st-soc { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; }
.st-soc:hover { background: var(--pink); color: #fff; }
.st-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13.5px; color: #8b929c; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
	.st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 22px; }
	.st-item-img { width: 200px; }
}

@media (max-width: 900px) {
	.st-header-in { min-height: 66px; gap: 12px; }
	.st-logo img { width: 190px; }
	.st-banner { display: none; }
	.st-rss { margin-left: auto; height: 36px; padding: 0 12px; }
	.st-rss span { display: none; }
	.st-burger {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px;
		border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
	}
	.st-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
	.st-nav { display: none; }
	.st-nav.is-open { display: block; }
	.st-nav-in { flex-direction: column; align-items: stretch; padding-top: 8px; padding-bottom: 14px; }
	.st-menu { flex-direction: column; align-items: stretch; }
	.st-menu > li > a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 16px; }
	.st-menu > li.is-active > a { box-shadow: none; color: var(--lime); }
	.st-menu > li.has-sub > a { padding-right: 52px; }
	.st-menu > li.has-sub > a::after { display: none; }
	.st-sub-btn {
		display: block; position: absolute; right: 0; top: 4px; width: 44px; height: 42px; background: none; border: 0; cursor: pointer;
	}
	.st-sub-btn::before {
		content: ""; position: absolute; left: 17px; top: 14px; width: 8px; height: 8px;
		border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .2s;
	}
	.has-sub.sub-open > .st-sub-btn::before { transform: rotate(-135deg); top: 18px; }
	.st-menu li ul {
		position: static; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(255,255,255,.04);
		border: 0; box-shadow: none; border-radius: 10px; margin: 6px 0 10px; padding: 6px;
	}
	.st-menu li:hover > ul { display: none; }
	.st-menu li.sub-open > ul { display: block; }
	.st-menu li ul li a { color: #d7dbe1; }
	.st-menu li ul li a:hover { background: rgba(255,255,255,.08); color: #fff; }
	.st-menu-right { flex-direction: row; gap: 10px; margin-top: 12px; }
	.st-menu-right > li { flex: 1; }
	.st-menu-right .st-pill > a { text-align: center; border: 0; }

	.st-page { padding-top: 18px; }
	.st-layout { grid-template-columns: minmax(0, 1fr); }
	.st-aside { position: static; order: 0; }
	.st-side-toggle {
		display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 16px; border-radius: 14px;
		border: 1px solid var(--line); background: #fff; font: 600 15px var(--font); color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
	}
	.st-side-toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg); }
	.st-cats { display: none; }
	.st-cats.is-open { display: block; }
	.st-layout .st-content > .box_border { padding: 20px; }
	.st-footer-in { grid-template-columns: 1fr 1fr; }
	.st-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.st-wrap { padding-left: 14px; padding-right: 14px; }
	.st-logo img { width: 160px; }
	.st-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.first_naslovH h1, .st-content-full .first_naslovH h1 { font-size: 24px; }
	.st-detail .first_naslovH h1 { font-size: 25px; }
	.st-item { flex-direction: column; gap: 12px; }
	.st-item-img { width: 100%; }
	.st-item .first_naslovH h1 { font-size: 20px; }
	.detail_small { float: none; max-width: 100%; margin: 0 0 16px; }
	.rezerve { width: 100%; justify-content: center; }
	.st-footer-in { grid-template-columns: 1fr; gap: 26px; }
	.st-listhead h2 { font-size: 22px; }
}
