/**
 * PrilagoÄ‘eni CSS (iznad Tailwind utilityja).
 * Za statiÄki build svega u jednu datoteku: npm run build:css (zahtijeva Node).
 */

html {
	scroll-behavior: smooth;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background:
		radial-gradient(1200px 640px at 10% -10%, rgba(0, 229, 255, 0.16), transparent 62%),
		radial-gradient(1050px 560px at 90% 0%, rgba(255, 46, 99, 0.14), transparent 64%),
		linear-gradient(180deg, #101a34 0%, #162344 52%, #1c2a4f 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-black {
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: 0.01em;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

@keyframes pulse-glow {
	0%,
	100% {
		box-shadow: 0 0 20px rgba(255, 46, 99, 0.45);
	}
	50% {
		box-shadow: 0 0 40px rgba(0, 229, 255, 0.55);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.float-animation {
	animation: float 6s ease-in-out infinite;
}

.pulse-glow {
	animation: pulse-glow 2s ease-in-out infinite;
}

.slide-in {
	animation: slideIn 0.5s ease-out;
}

@keyframes pinballOrbit {
	0% {
		transform: rotate(0deg) translateX(24px) rotate(0deg);
	}
	100% {
		transform: rotate(360deg) translateX(24px) rotate(-360deg);
	}
}

@keyframes flipperPulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.72;
	}
	50% {
		transform: scale(1.08);
		opacity: 1;
	}
}

.pinball-orbit {
	animation: pinballOrbit 9s linear infinite;
	transform-origin: center;
}

.flipper-pulse {
	animation: flipperPulse 3s ease-in-out infinite;
}

.gradient-text {
	background: linear-gradient(120deg, #7dd3fc 0%, #c4b5fd 38%, #f9a8d4 72%, #fde68a 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: titleShift 8s ease-in-out infinite;
}

@keyframes titleShift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.title-glow {
	text-shadow: 0 0 18px rgba(125, 211, 252, 0.24);
}

/**
 * Glavna navigacija â€” scroll-spy (.is-active) koristi isti â€žhoverâ€ jezik (lift + sjena).
 * Arhive: mali pillovi, odvojeni ml + tanki separator.
 */
.desktop-main-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.65rem;
	border-radius: 0.5rem;
	font-size: inherit;
	color: rgba(203, 213, 225, 0.88);
	text-decoration: none;
	transition:
		color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	-webkit-tap-highlight-color: transparent;
}

.desktop-main-nav__link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
	transform: translateY(-1px);
	box-shadow:
		0 6px 20px -8px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

.desktop-main-nav__link.is-active {
	color: #fff;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.05) 100%);
	transform: translateY(-1px);
	box-shadow:
		0 8px 22px -10px rgba(0, 229, 255, 0.35),
		0 0 0 1px rgba(56, 189, 248, 0.42);
}

.desktop-main-nav__link.is-active:hover {
	box-shadow:
		0 10px 26px -10px rgba(0, 229, 255, 0.42),
		0 0 0 1px rgba(56, 189, 248, 0.5);
}

/**
 * Arhive â€” jedan zajedniÄki okvir (mobilni drawer).
 */
.nav-archive-group--mobile {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.65rem 0.75rem;
	margin: 0 0 0.25rem;
	border-radius: 0.875rem;
	background: linear-gradient(
		155deg,
		rgba(12, 22, 44, 0.94) 0%,
		rgba(22, 42, 72, 0.82) 48%,
		rgba(10, 18, 38, 0.96) 100%
	);
	border: 1px solid rgba(56, 189, 248, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 6px 26px -14px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(0, 0, 0, 0.22);
}

.nav-archive-group--mobile .mobile-nav__link--archive {
	border: none;
	border-radius: 0.5rem;
	background: transparent;
	box-shadow: none;
}

.nav-archive-group--mobile .mobile-nav__link--archive:hover {
	border: none;
	background: rgba(255, 255, 255, 0.07);
	box-shadow: none;
}

.nav-archive-group--mobile .mobile-nav__link--archive.is-active {
	border: none;
	background: rgba(0, 229, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.32);
}

.nav-archive-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.22rem 0.5rem;
	min-height: 0;
	border-radius: 9999px;
	font-size: 0.625rem;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(226, 232, 240, 0.88);
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(15, 23, 42, 0.35);
	backdrop-filter: blur(6px);
	transition:
		color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-archive-pill:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.45);
}

.nav-archive-pill--pikado {
	border-color: rgba(0, 229, 255, 0.28);
}

.nav-archive-pill--pikado:hover {
	background: rgba(0, 229, 255, 0.1);
	border-color: rgba(0, 229, 255, 0.45);
}

.nav-archive-pill--dijelovi {
	border-color: rgba(232, 121, 249, 0.28);
}

.nav-archive-pill--dijelovi:hover {
	background: rgba(232, 121, 249, 0.1);
	border-color: rgba(232, 121, 249, 0.45);
}

.nav-archive-pill.is-active {
	color: #fff;
	transform: translateY(-1px);
}

.nav-archive-pill--pikado.is-active {
	background: rgba(0, 229, 255, 0.14);
	border-color: rgba(0, 229, 255, 0.55);
	box-shadow:
		0 0 0 1px rgba(0, 229, 255, 0.25),
		0 6px 16px -8px rgba(0, 229, 255, 0.35);
}

.nav-archive-pill--dijelovi.is-active {
	background: rgba(232, 121, 249, 0.12);
	border-color: rgba(232, 121, 249, 0.55);
	box-shadow:
		0 0 0 1px rgba(232, 121, 249, 0.22),
		0 6px 16px -8px rgba(232, 121, 249, 0.32);
}

/**
 * Desktop: jedan okvir oko oba gumba; unutra bez pojedinaÄnih obruba.
 */
.nav-archive-group--desktop-nav {
	display: inline-flex;
	align-items: stretch;
	gap: 0.2rem;
	padding: 0.25rem;
	border-radius: 0.75rem;
	background: linear-gradient(
		155deg,
		rgba(12, 22, 44, 0.92) 0%,
		rgba(24, 44, 78, 0.68) 50%,
		rgba(11, 20, 42, 0.92) 100%
	);
	border: 1px solid rgba(56, 189, 248, 0.24);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 4px 20px -10px rgba(0, 0, 0, 0.55);
}

.nav-archive-group--desktop-nav .nav-archive-pill {
	background: transparent;
	backdrop-filter: none;
	border: none;
	border-radius: 0.5rem;
	padding: 0.3rem 0.65rem;
	box-shadow: none;
}

.nav-archive-group--desktop-nav .nav-archive-pill:hover {
	transform: none;
	box-shadow: none;
	background: rgba(255, 255, 255, 0.08);
}

.nav-archive-group--desktop-nav .nav-archive-pill.is-active {
	transform: none;
	background: rgba(0, 229, 255, 0.16);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.35);
}

.mobile-nav__link[data-nav-target] {
	transition:
		background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav__link[data-nav-target]:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.mobile-nav__link[data-nav-target].is-active {
	color: #fff;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
	box-shadow:
		0 0 0 1px rgba(56, 189, 248, 0.35),
		0 4px 18px -10px rgba(0, 229, 255, 0.25);
}

.mobile-nav__archive-head {
	margin-top: 0.35rem;
	padding: 0.7rem 1rem 0.35rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__archive-label {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(148, 163, 184, 0.88);
	margin: 0;
	padding: 0;
}

.mobile-nav__link--archive {
	min-height: 44px;
	font-size: 0.875rem;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(15, 23, 42, 0.35);
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.mobile-nav__link--archive:hover {
	transform: translateY(-1px);
	color: #fff;
}

/* Boje rubova po tipu uklonjene â€” stil unutar .nav-archive-group--mobile */

.mobile-nav__link--archive.is-active {
	color: #fff;
	transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
	.desktop-main-nav__link,
	.desktop-main-nav__link:hover,
	.desktop-main-nav__link.is-active,
	.nav-archive-pill,
	.nav-archive-pill:hover,
	.nav-archive-pill.is-active,
	.mobile-nav__link--archive,
	.mobile-nav__link--archive:hover,
	.mobile-nav__link--archive.is-active {
		transition-duration: 0.01ms;
		transform: none;
	}
}

.surface-soft {
	background: linear-gradient(180deg, rgba(42, 62, 108, 0.56) 0%, rgba(31, 49, 92, 0.62) 100%);
	border-top: 1px solid rgba(148, 163, 184, 0.16);
	border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.surface-mid {
	background: linear-gradient(180deg, rgba(45, 68, 118, 0.76) 0%, rgba(33, 53, 99, 0.82) 100%);
}

/**
 * SEO uvod (#uvod) â€” kartice: naslov i tekst u istom stupcu uz vertikalnu letvu.
 */
#uvod.seo-intro .seo-intro-header__decoration {
	height: 1px;
	width: 4.5rem;
	margin: 1.125rem auto 0;
	background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
	border-radius: 999px;
}

#uvod.seo-intro .seo-intro-header__lead {
	text-wrap: pretty;
}

#uvod.seo-intro .seo-intro-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border-radius: 1rem;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(30, 41, 72, 0.72) 0%, rgba(17, 24, 48, 0.88) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 4px 24px -8px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition:
		transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.38s ease,
		border-color 0.38s ease;
}

#uvod.seo-intro .seo-intro-card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 229, 255, 0.22);
	box-shadow:
		0 22px 44px -16px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(0, 229, 255, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#uvod.seo-intro .seo-intro-card__inner {
	display: flex;
	flex: 1;
	min-height: 0;
	align-items: stretch;
}

#uvod.seo-intro .seo-intro-card__rail {
	width: 4px;
	flex-shrink: 0;
	align-self: stretch;
	background: linear-gradient(180deg, #00e5ff 0%, #a3ff12 52%, #ff2e63 100%);
	border-radius: 999px;
	opacity: 0.92;
}

#uvod.seo-intro .seo-intro-card__content {
	flex: 1;
	min-width: 0;
	padding: 1.25rem 1.25rem 1.35rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	justify-content: flex-start;
}

@media (min-width: 640px) {
	#uvod.seo-intro .seo-intro-card__content {
		padding: 1.45rem 1.5rem 1.5rem 1.15rem;
		gap: 0.7rem;
	}
}

#uvod.seo-intro .seo-intro-card__title {
	margin: 0;
	padding: 0;
	font-size: 1.0625rem;
	line-height: 1.4;
	letter-spacing: -0.025em;
	font-weight: 700;
	color: #f1f5f9;
	text-wrap: balance;
}

@media (min-width: 640px) {
	#uvod.seo-intro .seo-intro-card__title {
		font-size: 1.125rem;
		line-height: 1.38;
	}
}

#uvod.seo-intro .seo-intro-card__text {
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	line-height: 1.68;
	color: rgba(203, 213, 225, 0.93);
	text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
	#uvod.seo-intro .seo-intro-card {
		transition: none;
	}
	#uvod.seo-intro .seo-intro-card:hover {
		transform: none;
	}
}

/**
 * Dijelovi (#dijelovi) â€” Äitljiviji naslov na ljubiÄastoj podlozi (gradient + sjena).
 */
#dijelovi .section-parts-intro__title .gradient-text {
	filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(15, 23, 42, 0.4));
}

/**
 * Prodaja / Dijelovi â€” jaÄi odlomak u glass okviru (centrirano).
 */
.section-strong-box {
	position: relative;
	padding: 1.375rem 1.25rem 1.5rem;
	border-radius: 1.125rem;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.11);
	background: linear-gradient(
		155deg,
		rgba(255, 255, 255, 0.09) 0%,
		rgba(255, 255, 255, 0.03) 45%,
		rgba(15, 23, 42, 0.28) 100%
	);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 20px 48px -24px rgba(0, 0, 0, 0.58);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

#prodaja .section-strong-box,
#otkup .section-strong-box {
	border-color: rgba(125, 211, 252, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(125, 211, 252, 0.12),
		0 0 0 1px rgba(0, 229, 255, 0.06),
		0 20px 48px -24px rgba(0, 0, 0, 0.58);
}

#dijelovi .section-strong-box,
#servis .section-strong-box {
	border-color: rgba(232, 121, 249, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(244, 114, 182, 0.1),
		0 0 0 1px rgba(192, 132, 252, 0.08),
		0 20px 48px -24px rgba(0, 0, 0, 0.58);
}

.section-strong-box p {
	margin: 0;
	text-wrap: pretty;
}

.surface-deep {
	background: linear-gradient(180deg, rgba(37, 56, 102, 0.84) 0%, rgba(28, 44, 85, 0.88) 100%);
}

.surface-alt {
	background: linear-gradient(180deg, rgba(95, 57, 113, 0.58) 0%, rgba(74, 45, 101, 0.66) 100%);
	border-top: 1px solid rgba(244, 114, 182, 0.16);
	border-bottom: 1px solid rgba(192, 132, 252, 0.16);
}

.reveal-on-scroll {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 600ms ease,
		transform 600ms ease;
}

.reveal-on-scroll.visible {
	opacity: 1;
	transform: translateY(0);
}

.page-mesh {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 46, 99, 0.07), transparent 50%),
		radial-gradient(ellipse 70% 45% at 80% 60%, rgba(0, 229, 255, 0.06), transparent 50%),
		radial-gradient(ellipse 60% 40% at 50% 90%, rgba(163, 255, 18, 0.04), transparent 45%);
	animation: meshDrift 28s ease-in-out infinite;
}

@keyframes meshDrift {
	0%,
	100% {
		opacity: 1;
		transform: scale(1) translate(0, 0);
	}
	50% {
		opacity: 0.92;
		transform: scale(1.03) translate(-1%, 1%);
	}
}

.section-diagonal-top {
	position: relative;
}

.section-diagonal-top::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 48px;
	background: linear-gradient(135deg, rgba(255, 46, 99, 0.12) 0%, transparent 55%);
	clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
	pointer-events: none;
}

.section-diagonal-bottom {
	position: relative;
}

.section-diagonal-bottom::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40px;
	background: linear-gradient(-135deg, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
	pointer-events: none;
}

.noise-overlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glass-hint {
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(30, 41, 59, 0.42) 100%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

main {
	position: relative;
	z-index: 1;
}

.cta-button {
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition:
		width 0.6s,
		height 0.6s;
}

.cta-button:hover::before {
	width: 300px;
	height: 300px;
}

.form-input:focus {
	outline: none;
	border-color: #ff2e63;
	box-shadow: 0 0 0 3px rgba(255, 46, 99, 0.14);
}

.form-input.error {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.testimonial-card {
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pikado-tile-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.pikado-tile-media__bg {
	position: absolute;
	inset: -8%;
	background-position: center;
	background-size: cover;
	filter: blur(18px) saturate(1.05);
	transform: scale(1.08);
	opacity: 0.78;
}

.pikado-tile-media__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(3, 8, 20, 0.26) 72%);
}

.pikado-tile-media__img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

/* Badge â€žU ponudiâ€œ â€” Äitljiv i na uskim / okomitim slikama */
.pikado-tile-badge {
	box-shadow:
		0 2px 14px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.1);
}
.pikado-tile-badge p {
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.95),
		0 0 10px rgba(0, 0, 0, 0.65);
}

.pikado-tile-caption {
	z-index: 2;
	background: linear-gradient(
		to top,
		rgba(2, 7, 18, 0.92) 0%,
		rgba(2, 7, 18, 0.66) 38%,
		rgba(2, 7, 18, 0.18) 76%,
		transparent 100%
	);
}

.pikado-tile-title {
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.78),
		0 4px 14px rgba(0, 0, 0, 0.52);
	letter-spacing: 0.01em;
}

.pikado-tile-subtitle {
	text-shadow:
		0 1px 1px rgba(0, 0, 0, 0.66),
		0 2px 8px rgba(0, 0, 0, 0.44);
}

/* Arhiva dijelova â€” filtri (taksonomija) */
.dijelovi-archive-filters__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(15, 23, 42, 0.55);
	color: #e5e7eb;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease;
}
.dijelovi-archive-filters__pill:hover {
	border-color: rgba(56, 189, 248, 0.45);
	background: rgba(15, 23, 42, 0.75);
	color: #fff;
}
.dijelovi-archive-filters__pill.is-active {
	border-color: rgba(56, 189, 248, 0.65);
	background: rgba(14, 116, 144, 0.35);
	color: #fff;
	box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}
.dijelovi-archive-filters__pill:focus-visible {
	outline: 2px solid rgba(125, 211, 252, 0.9);
	outline-offset: 3px;
}

nav.pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 2.5rem;
}
nav.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.4rem 0.65rem;
	border-radius: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(15, 23, 42, 0.45);
	color: #e5e7eb;
	font-size: 0.8125rem;
	font-weight: 600;
}
nav.pagination a.page-numbers:hover {
	border-color: rgba(56, 189, 248, 0.45);
	color: #fff;
}
nav.pagination .page-numbers.current {
	border-color: rgba(56, 189, 248, 0.55);
	background: rgba(14, 116, 144, 0.3);
	color: #fff;
}

.sticky-bar {
	position: fixed;
	z-index: 1000;
	backdrop-filter: blur(10px);
	background: rgba(27, 43, 82, 0.84);
	transition:
		opacity 0.24s ease,
		transform 0.24s ease;
}

.sticky-bar--top-mobile {
	padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
}

/* Mobilni top bar: lijevo logo, desno hamburger â€” isti desni inset kao panel izbornika (gumb zatvori) */
.sticky-bar--mobile-top-inner {
	padding-left: 0.75rem;
	padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

@media (min-width: 640px) {
	.sticky-bar--mobile-top-inner {
		padding-left: 1rem;
	}
}

.mobile-top-bar__menu-btn {
	margin: -0.35rem -0.5rem -0.35rem 0;
}

.sticky-bar--bottom-mobile {
	padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
}

body.modal-open .sticky-bar {
	opacity: 0;
	pointer-events: none;
}

body.modal-open .sticky-bar.top-0,
body.modal-open .sticky-bar--top-mobile {
	transform: translateY(-12px);
}

body.modal-open .sticky-bar--bottom-mobile {
	transform: translateY(12px);
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
	.page-mesh {
		animation: none !important;
	}
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid rgba(125, 211, 252, 0.9);
	outline-offset: 3px;
}

a:focus-visible.cta-button,
button:focus-visible {
	outline-offset: 4px;
}

.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	overflow: visible;
	clip: auto;
	white-space: normal;
	z-index: 2001;
	background: #f8fafc;
	color: #0f172a;
	border-radius: 0.5rem;
	font-weight: 600;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.modal-open {
	overflow: hidden;
}

.product-modal {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	box-sizing: border-box;
	padding: max(0.65rem, env(safe-area-inset-top, 0px)) max(0.85rem, env(safe-area-inset-right, 0px))
		max(0.85rem, env(safe-area-inset-bottom, 0px)) max(0.85rem, env(safe-area-inset-left, 0px));
	visibility: hidden;
	pointer-events: none;
}

.product-modal.is-open {
	visibility: visible;
	pointer-events: auto;
}

.product-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 12, 28, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-modal.is-open .product-modal__backdrop {
	opacity: 1;
}

.product-modal__panel {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	min-height: 0;
	max-height: 100%;
	max-width: 100%;
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, #1a2744 0%, #131c34 100%);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	opacity: 0;
	transform: translate3d(0, 14px, 0) scale(0.988);
	transform-origin: 50% 45%;
	transition:
		opacity 0.44s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.product-modal.is-open .product-modal__panel {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.product-modal__close {
	position: absolute;
	top: max(0.5rem, env(safe-area-inset-top, 0px));
	right: max(0.5rem, env(safe-area-inset-right, 0px));
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	border-radius: 0.75rem;
	background: rgba(15, 23, 42, 0.65);
	color: #e2e8f0;
	cursor: pointer;
	opacity: 0;
	transform: scale(0.92);
	transition:
		background 0.2s ease,
		color 0.2s ease,
		opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.06s,
		transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) 0.06s;
}

.product-modal.is-open .product-modal__close {
	opacity: 1;
	transform: scale(1);
}

.product-modal__close:hover {
	background: rgba(15, 23, 42, 0.9);
	color: #fff;
}

.product-modal__split {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-height: 0;
	opacity: 0;
	transform: translate3d(0, 8px, 0);
	transition:
		opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}

.product-modal.is-open .product-modal__split {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (min-width: 768px) {
	.product-modal__split {
		flex-direction: row;
		align-items: stretch;
	}
}

.product-modal__slider-col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-height: 0;
	background: #0b1020;
	opacity: 0;
	transform: translate3d(0, -12px, 0);
	transition:
		opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
		transform 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.product-modal.is-open .product-modal__slider-col {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (min-width: 768px) {
	.product-modal__slider-col {
		flex: 1 1 50%;
		min-height: 0;
		min-width: 0;
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		transform: translate3d(-18px, 0, 0);
	}

	.product-modal.is-open .product-modal__slider-col {
		transform: translate3d(0, 0, 0);
	}
}

.product-modal__slider-wrap {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
}

.product-modal__thumbs-wrap {
	flex-shrink: 0;
	padding: 0.5rem 0.5rem max(0.5rem, env(safe-area-inset-bottom, 0px));
	background: rgba(8, 12, 28, 0.95);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-modal__thumbs-outer {
	position: relative;
	overflow: hidden;
	border-radius: 0.5rem;
}

.product-modal__thumbs {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	/* Bez smooth/snap â€” povlaÄenje prati prst/kursor odmah (smooth je izazivao â€žlagâ€œ). */
	scroll-behavior: auto;
	scroll-snap-type: none;
	min-height: 4.25rem;
	align-items: center;
	padding: 0.15rem 0;
	cursor: grab;
	scrollbar-width: none;
	-ms-overflow-style: none;
	touch-action: pan-x;
}

.product-modal__thumbs::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.product-modal__thumbs.is-grabbing {
	cursor: grabbing;
}

.product-modal__thumbs-hint {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 3rem;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 0.35rem;
	pointer-events: none;
	z-index: 2;
	background: linear-gradient(
		to left,
		rgba(8, 12, 28, 0.98) 35%,
		rgba(8, 12, 28, 0) 100%
	);
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

.product-modal__thumbs-hint[hidden] {
	display: none;
}

.product-modal__thumbs-hint-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 9999px;
	background: rgba(125, 211, 252, 0.18);
	color: #e0f2fe;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.product-modal__thumbs-hint-icon svg {
	display: block;
}

.product-modal__thumbs .gallery-slider__thumb {
	flex: 0 0 auto;
	width: 3.75rem;
	height: 3.75rem;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.5rem;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.35);
	overflow: hidden;
	opacity: 0.72;
	transition:
		opacity 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.product-modal__thumbs .gallery-slider__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* Minijature: skeleton dok se slika ne uÄita (lazy u traci je zamijenjen eager u JS-u) */
.product-modal__thumbs .gallery-slider__thumb--pending {
	position: relative;
}

.product-modal__thumbs .gallery-slider__thumb--pending::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background: linear-gradient(
		105deg,
		rgba(255, 255, 255, 0.04) 0%,
		rgba(255, 255, 255, 0.1) 45%,
		rgba(255, 255, 255, 0.04) 90%
	);
	background-size: 200% 100%;
	animation: gallery-thumb-shimmer 1.1s ease-in-out infinite;
}

.product-modal__thumbs .gallery-slider__thumb--pending img {
	opacity: 0;
	position: relative;
	z-index: 1;
}

.product-modal__thumbs .gallery-slider__thumb--error img {
	display: none;
}

.product-modal__thumbs .gallery-slider__thumb--error {
	position: relative;
	background: rgba(15, 23, 42, 0.85) !important;
}

.product-modal__thumbs .gallery-slider__thumb--error::after {
	content: 'â€”';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(148, 163, 184, 0.9);
	z-index: 1;
	pointer-events: none;
}

@keyframes gallery-thumb-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-modal__thumbs .gallery-slider__thumb--pending::before {
		animation: none;
		background: rgba(255, 255, 255, 0.06);
	}
}

.product-modal__thumbs .gallery-slider__thumb:hover {
	opacity: 1;
}

.product-modal__thumbs .gallery-slider__thumb.is-active {
	opacity: 1;
	border-color: #7dd3fc;
	transform: scale(1.08);
	box-shadow:
		0 0 0 2px rgba(125, 211, 252, 0.65),
		0 4px 16px rgba(125, 211, 252, 0.28);
	z-index: 1;
}

.product-modal__thumbs .gallery-slider__thumb:focus {
	outline: none;
}

.product-modal__thumbs .gallery-slider__thumb:focus-visible {
	opacity: 1;
	border-color: #7dd3fc;
	box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.45);
}

.product-modal__slider {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	z-index: 1;
	/* Pinch-zoom i pan ne gutaju horizontalni swipe u JS-u kad detektiramo 2+ prsta / zoom */
	touch-action: pan-x pan-y pinch-zoom;
}

.gallery-slider__stage {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #05070f;
	touch-action: pan-x pan-y pinch-zoom;
}

.gallery-slider__layer {
	position: absolute;
	left: 50%;
	top: 50%;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	opacity: 0;
	transform: translate(calc(-50% + var(--pan-x, 0px)), calc(-50% + var(--pan-y, 0px)))
		scale(var(--zoom-scale, 1.03));
	transform-origin: center center;
	z-index: 0;
	pointer-events: auto;
	touch-action: pan-x pan-y pinch-zoom;
	transition:
		opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slider__layer.is-visible {
	opacity: 1;
	transform: translate(calc(-50% + var(--pan-x, 0px)), calc(-50% + var(--pan-y, 0px)))
		scale(var(--zoom-scale, 1));
	z-index: 1;
}

.product-modal.is-zoomed .gallery-slider__layer.is-visible {
	cursor: grab;
	transition: transform 0.02s linear;
}

.product-modal.is-zoomed .gallery-slider__stage:active .gallery-slider__layer.is-visible {
	cursor: grabbing;
}

/* Single pikado: zoom + pan koristi isti slider sloj */
#pikado-single-slider.is-zoomed .gallery-slider__layer.is-visible {
	cursor: grab;
	transition: transform 0.02s linear;
}
#pikado-single-slider.is-zoomed .gallery-slider__stage:active .gallery-slider__layer.is-visible {
	cursor: grabbing;
}

/* Fullscreen zoom overlay (single pikado) */
.pikado-zoom[hidden] {
	display: none !important;
}
.pikado-zoom {
	position: fixed;
	inset: 0;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.38s ease;
}
.pikado-zoom.is-open {
	opacity: 1;
	pointer-events: auto;
}
.pikado-zoom__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.38s ease;
}
.pikado-zoom.is-open .pikado-zoom__backdrop {
	opacity: 1;
}
.pikado-zoom__panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	padding: 18px;
	transform: translateY(12px) scale(0.98);
	opacity: 0;
	transition:
		transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.38s ease;
}
.pikado-zoom.is-open .pikado-zoom__panel {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.pikado-zoom__stage {
	position: relative;
	width: 100%;
	height: min(76vh, 820px);
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #05070f;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
	touch-action: none;
}
.pikado-zoom .product-modal__nav {
	z-index: 4;
	cursor: pointer;
}
.pikado-zoom .pikado-single-thumbs-wrap {
	margin-top: 10px;
}
.pikado-zoom .pikado-single-thumbs-outer {
	max-width: 100%;
}
.pikado-zoom .pikado-single-thumbs-wrap[hidden] {
	display: none !important;
}

/* Fullscreen: donja traka + strelice + hint â€” lagano nestaju uz zoom slike */
.pikado-zoom #pikado-zoom-prev,
.pikado-zoom #pikado-zoom-next,
.pikado-zoom #pikado-zoom-thumbs-wrap {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.pikado-zoom .pikado-zoom__hint {
	opacity: 1;
	transform: translate(-50%, 0);
	transition:
		opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.pikado-zoom.is-image-zoomed #pikado-zoom-prev:not([hidden]),
.pikado-zoom.is-image-zoomed #pikado-zoom-next:not([hidden]),
.pikado-zoom.is-image-zoomed #pikado-zoom-thumbs-wrap:not([hidden]) {
	opacity: 0;
	pointer-events: none;
	transform: translateY(14px);
}
.pikado-zoom.is-image-zoomed .pikado-zoom__hint {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
}

.pikado-zoom__img {
	position: absolute;
	left: 50%;
	top: 50%;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transform: translate(calc(-50% + var(--pan-x, 0px)), calc(-50% + var(--pan-y, 0px)))
		scale(var(--zoom-scale, 1));
	transform-origin: center center;
	will-change: transform;
	cursor: zoom-in;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.pikado-zoom.is-image-zoomed .pikado-zoom__img {
	cursor: grab;
}
.pikado-zoom.is-image-zoomed .pikado-zoom__img:active {
	cursor: grabbing;
}
.pikado-zoom__toolbar {
	position: absolute;
	top: calc(18px + env(safe-area-inset-top, 0px));
	right: calc(18px + env(safe-area-inset-right, 0px));
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 10px;
}
.pikado-zoom__fs {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
}
.pikado-zoom__fs:hover {
	background: rgba(0, 0, 0, 0.62);
}
.pikado-zoom__fs .pikado-zoom__fs-icon--exit {
	display: none;
}
.pikado-zoom__fs[aria-pressed='true'] .pikado-zoom__fs-icon--enter {
	display: none;
}
.pikado-zoom__fs[aria-pressed='true'] .pikado-zoom__fs-icon--exit {
	display: block;
}
.pikado-zoom__close {
	position: relative;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
}
.pikado-zoom__close:hover {
	background: rgba(0, 0, 0, 0.62);
}
.pikado-zoom__hint {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(0, 0, 0, 0.42);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 8px 10px;
	border-radius: 999px;
}
@media (max-width: 640px) {
	.pikado-zoom__panel {
		padding: 10px;
	}
	.pikado-zoom__stage {
		height: min(68vh, 520px);
	}
}

/* Fullscreen zoom: hint tekst skriven na mobilnom (single pikado / dio) */
@media (max-width: 767px) {
	.pikado-zoom__hint {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pikado-zoom,
	.pikado-zoom__backdrop,
	.pikado-zoom__panel,
	.pikado-zoom #pikado-zoom-prev,
	.pikado-zoom #pikado-zoom-next,
	.pikado-zoom #pikado-zoom-thumbs-wrap,
	.pikado-zoom .pikado-zoom__hint,
	.pikado-zoom__img {
		transition-duration: 0.01ms !important;
	}
}

/* Floating back-to-top button (safe offset above mobile call bar) */
.back-to-top[hidden] {
	display: none !important;
}
.back-to-top {
	position: fixed;
	right: 12px;
	bottom: calc(5.9rem + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(10, 16, 34, 0.78);
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		opacity 0.2s ease;
}
.back-to-top:hover {
	transform: translateY(-1px);
	background: rgba(0, 229, 255, 0.25);
}
.back-to-top:focus-visible {
	outline: 2px solid rgba(125, 211, 252, 0.9);
	outline-offset: 2px;
}
@media (min-width: 768px) {
	.back-to-top {
		right: 18px;
		bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
	}
}

/* Single pikado visual cleanup: transparent stage/thumbs, no hard crop feel */
#pikado-single-slider,
#pikado-single-slider .gallery-slider__stage {
	background: transparent !important;
}
#pikado-single-slider .gallery-slider__layer,
#pikado-single-slider .gallery-slider__layer.is-visible {
	object-fit: contain;
	object-position: center center;
}

/* Velika slika: zoom cursor samo na samoj slici, ne na praznom prostoru oko nje */
#pikado-single-slider .gallery-slider__layer {
	cursor: zoom-in;
}
#pikado-single-slider .product-modal__nav {
	cursor: pointer;
}

#pikado-single-thumbs {
	background: transparent !important;
	padding-inline: 0;
	min-height: clamp(3.25rem, 11vw, 4.25rem);
	gap: clamp(0.4rem, 1.8vw, 0.6rem);
}
#pikado-single-thumbs .gallery-slider__thumb {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.28);
	width: clamp(3rem, 11vw, 4.2rem);
	height: clamp(3rem, 11vw, 4.2rem);
}
#pikado-single-thumbs .gallery-slider__thumb img {
	object-fit: contain;
	background: transparent !important;
}
#pikado-single-thumbs .gallery-slider__thumb.is-active {
	border-color: rgba(125, 211, 252, 0.95);
}
#pikado-single-thumbs,
#pikado-single-thumbs + .product-modal__thumbs-hint,
#pikado-single-thumbs:before,
#pikado-single-thumbs:after {
	box-shadow: none !important;
}
#pikado-single-thumbs {
	scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}
#pikado-single-thumbs::-webkit-scrollbar {
	display: none;
}

/* Transparent wrapper/outer/hints on single thumbs */
.pikado-single-thumbs-wrap,
.pikado-single-thumbs-outer {
	background: transparent !important;
	border: 0 !important;
	overflow: hidden;
}
.pikado-single-thumbs-wrap {
	padding: 0.35rem 0 0.2rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	box-sizing: border-box;
	contain: layout paint;
}
.pikado-single-thumbs-outer {
	border-radius: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	box-sizing: border-box;
	display: block;
}
#pikado-single-thumbs {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	flex-wrap: nowrap;
	padding-inline: clamp(0.1rem, 1vw, 0.4rem);
	overflow-x: auto;
	overflow-y: hidden;
}
.pikado-single-thumbs-outer .product-modal__thumbs-hint {
	background: transparent !important;
	width: 2rem;
	padding: 0;
}
.pikado-single-thumbs-outer .product-modal__thumbs-hint--prev {
	left: 0;
	right: auto;
	justify-content: flex-start;
}
.pikado-single-thumbs-outer .product-modal__thumbs-hint--next {
	right: 0;
	left: auto;
	justify-content: flex-end;
}
.pikado-single-thumbs-outer .product-modal__thumbs-hint-icon {
	background: transparent !important;
	box-shadow: none;
	color: rgba(224, 242, 254, 0.9);
}

@media (max-width: 640px) {
	.pikado-single-thumbs-wrap {
		padding-top: 0.25rem;
		padding-left: 0;
		padding-right: 0;
	}
	.pikado-single-thumbs-outer .product-modal__thumbs-hint {
		width: 1.6rem;
	}
	#pikado-single-thumbs .gallery-slider__thumb {
		width: clamp(2.75rem, 18vw, 3.5rem);
		height: clamp(2.75rem, 18vw, 3.5rem);
	}
	#pikado-single-thumbs .gallery-slider__thumb.is-active {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-modal__backdrop,
	.product-modal__panel,
	.product-modal__close,
	.product-modal__split,
	.product-modal__slider-col,
	.product-modal__content-col {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.gallery-slider__layer {
		transition-duration: 0.01ms !important;
	}
}

.product-modal__content-col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition:
		opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
		transform 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.product-modal.is-open .product-modal__content-col {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (min-width: 768px) {
	.product-modal__content-col {
		flex: 1 1 50%;
		min-height: 0;
		min-width: 0;
		transform: translate3d(18px, 0, 0);
	}

	.product-modal.is-open .product-modal__content-col {
		transform: translate3d(0, 0, 0);
	}
}

.product-modal__head {
	flex-shrink: 0;
	padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem 0.75rem 1rem;
	padding-right: max(1rem, calc(3rem + env(safe-area-inset-right, 0px)));
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
	.product-modal__head {
		padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
		padding-right: max(1.25rem, calc(3rem + env(safe-area-inset-right, 0px)));
		padding-left: 1.25rem;
	}
}

.product-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.25rem 1.25rem;
	padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
	.product-modal__body {
		padding: 1rem 1.25rem 1.5rem;
		padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
	}
}

.product-tile {
	-webkit-tap-highlight-color: transparent;
}

.product-tile:focus-visible {
	outline: 2px solid rgba(125, 211, 252, 0.95);
	outline-offset: 3px;
}

.product-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	border: none;
	background: rgba(15, 23, 42, 0.55);
	color: #f8fafc;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.product-modal__nav:hover {
	background: rgba(15, 23, 42, 0.85);
}

.product-modal__nav--prev {
	left: 0.5rem;
}

.product-modal__nav--next {
	right: 0.5rem;
}

.product-modal__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.65rem 0.5rem max(0.65rem, env(safe-area-inset-bottom, 0px));
	flex-wrap: wrap;
	pointer-events: auto;
	background: linear-gradient(to top, rgba(8, 12, 28, 0.65), transparent);
}

.product-modal__dots button {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 9999px;
	border: none;
	padding: 0;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}

.product-modal__dots button.is-active {
	background: #7dd3fc;
}

.ff-modal-content p {
	margin-bottom: 0.75em;
}

.ff-modal-content ul {
	list-style: disc;
	padding-left: 1.25rem;
	margin-bottom: 0.75em;
}

/* â€”â€” Mobilni boÄni izbornik â€”â€” */
.mobile-nav-toggle {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.mobile-nav-toggle__icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 1.25rem;
	height: 1rem;
}

.mobile-nav-toggle__line {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 2px;
	background: #f8fafc;
	transition:
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.2s ease;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__line--a {
	transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__line--b {
	opacity: 0;
	transform: scaleX(0);
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__line--c {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 2500;
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0s linear 0.38s;
}

.mobile-nav.is-open {
	pointer-events: auto;
	visibility: visible;
	transition-delay: 0s;
}

.mobile-nav__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 10, 24, 0.75);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	opacity: 0;
	transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open .mobile-nav__backdrop {
	opacity: 1;
}

.mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(100% - 2.25rem, 20rem);
	max-width: 100%;
	padding:
		max(0.75rem, env(safe-area-inset-top, 0px))
		max(1rem, env(safe-area-inset-right, 0px))
		max(1rem, env(safe-area-inset-bottom, 0px))
		1.25rem;
	background: linear-gradient(180deg, rgba(20, 32, 62, 0.98) 0%, rgba(10, 16, 34, 0.99) 100%);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: -16px 0 48px rgba(0, 0, 0, 0.5);
	transform: translate3d(100%, 0, 0);
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	outline: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open .mobile-nav__panel {
	transform: translate3d(0, 0, 0);
	touch-action: pan-y;
}

.mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: 0.25rem;
}

.mobile-nav__title {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f1f5f9;
	margin: 0;
}

.mobile-nav__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -0.35rem -0.5rem -0.35rem 0;
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.35);
	color: #e2e8f0;
	cursor: pointer;
	transition: background 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.mobile-nav__close:hover {
	background: rgba(255, 255, 255, 0.08);
}

.mobile-nav__nav {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
}

.mobile-nav__link {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0.65rem 1rem;
	border-radius: 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	color: #e2e8f0;
	text-decoration: none;
	transition:
		background 0.2s ease,
		color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.mobile-nav__link:hover {
	background: rgba(0, 229, 255, 0.1);
	color: #fff;
}

.mobile-nav__link:focus-visible {
	outline: 2px solid rgba(125, 211, 252, 0.95);
	outline-offset: 2px;
}

.mobile-nav__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 0.75rem;
	margin-top: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__pill {
	flex: 1;
	min-width: calc(50% - 0.25rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.5rem 0.75rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.mobile-nav__pill--phone {
	background: rgba(255, 46, 99, 0.95);
	color: #fff;
}

.mobile-nav__pill--wa {
	background: rgba(22, 163, 74, 0.95);
	color: #fff;
}

.mobile-nav__pill:active {
	transform: scale(0.98);
}

html.mobile-nav-open,
body.mobile-nav-open {
	overflow: hidden;
}

@media (min-width: 1024px) {
	.mobile-nav {
		display: none !important;
	}

	html.mobile-nav-open,
	body.mobile-nav-open {
		overflow: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mobile-nav__backdrop,
	.mobile-nav__panel,
	.mobile-nav-toggle__line {
		transition-duration: 0.01ms !important;
	}
}

/**
 * Breadcrumbs (arhivi + single CPT).
 */
.breadcrumbs {
	margin-bottom: 1.5rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.35rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: rgba(148, 163, 184, 0.95);
	min-width: 0;
	width: 100%;
}

.breadcrumbs__item {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.5rem;
	min-width: 0;
	max-width: 100%;
}

.breadcrumbs__item:not(:last-child)::after {
	content: '/';
	color: rgba(100, 116, 139, 0.85);
	font-weight: 400;
	pointer-events: none;
	flex-shrink: 0;
	line-height: 1.45;
}

.breadcrumbs__link {
	color: rgba(56, 189, 248, 0.95);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	word-wrap: break-word;
	word-break: break-word;
}

.breadcrumbs__link:hover {
	color: #e0f2fe;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.breadcrumbs__current {
	color: rgba(226, 232, 240, 0.95);
	font-weight: 600;
	max-width: 100%;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
}

@media (max-width: 639px) {
	.breadcrumbs__item:last-child {
		flex: 1 0 100%;
		min-width: 0;
	}
}

.breadcrumbs script[type='application/ld+json'] {
	display: none;
}

/**
 * Related carousel (single pikado / dijelovi).
 */
.related-carousel-section {
	padding-top: 2.5rem;
	padding-bottom: 3.5rem;
	margin-top: 0.5rem;
	border-top: 1px solid rgba(148, 163, 184, 0.12);
	background: linear-gradient(180deg, rgba(8, 15, 35, 0.35) 0%, transparent 100%);
}

.related-carousel-head {
	margin-bottom: 1.25rem;
}

.related-carousel-title {
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #f1f5f9;
	margin: 0;
}

@media (min-width: 640px) {
	.related-carousel-title {
		font-size: 1.5rem;
	}
}

.related-carousel {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	outline: none;
	direction: ltr;
}

.related-carousel:focus-visible {
	box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.45);
	border-radius: 0.75rem;
}

.related-carousel__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	border-radius: 0.75rem;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
	direction: ltr;
}

.related-carousel__viewport--centered .related-carousel__track {
	margin-left: auto;
	margin-right: auto;
}

.related-carousel__viewport:active {
	cursor: grabbing;
}

.related-carousel__track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	direction: ltr;
}

.related-carousel__slide {
	flex-shrink: 0;
	box-sizing: border-box;
	overflow: hidden;
	max-width: min(100%, 250px);
}

@media (min-width: 768px) {
	.related-carousel__slide {
		max-width: min(100%, 350px);
	}
}

@media (min-width: 1024px) {
	.related-carousel__slide {
		max-width: min(100%, 400px);
	}
}

.related-carousel__card {
	min-height: 0;
	max-width: 100%;
	box-sizing: border-box;
	transform: none !important;
}

.related-carousel__card:hover,
.related-carousel__card:focus-visible {
	transform: none !important;
	box-shadow:
		0 4px 14px rgba(0, 0, 0, 0.2),
		0 2.25px 3.75px rgba(0, 0, 0, 0.09);
}

.related-carousel__btn {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	min-height: 3rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.65rem;
	background: rgba(15, 23, 42, 0.65);
	color: rgba(226, 232, 240, 0.95);
	font-size: 1.5rem;
	line-height: 1;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.related-carousel__btn:hover:not(:disabled) {
	background: rgba(56, 189, 248, 0.12);
	border-color: rgba(56, 189, 248, 0.35);
	color: #fff;
}

.related-carousel__btn:disabled,
.related-carousel__btn[aria-disabled='true'] {
	opacity: 0.35;
	cursor: not-allowed;
}

.related-carousel--static .related-carousel__viewport {
	cursor: default;
}

.related-carousel--static .related-carousel__viewport:active {
	cursor: default;
}

@media (max-width: 767px) {
	.related-carousel {
		gap: 0.35rem;
	}

	.related-carousel__btn {
		width: 2.25rem;
		min-height: 2.75rem;
		font-size: 1.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.related-carousel__track {
		transition-duration: 0.01ms !important;
	}
}

/* Pikado brand refresh: new fonts + color palette */
:root {
	--pikado-red: #e70200;
	--pikado-green: #04b063;
	--pikado-cream: #eedfbf;
	--pikado-black: #000000;
	--pikado-white: #f7f7f7;
}

body {
	font-family: 'Rajdhani', 'Segoe UI', Roboto, Arial, sans-serif;
	color: var(--pikado-white);
	background:
		radial-gradient(1000px 560px at 8% -10%, rgba(231, 2, 0, 0.2), transparent 62%),
		radial-gradient(980px 540px at 92% 0%, rgba(4, 176, 99, 0.2), transparent 64%),
		linear-gradient(180deg, #161616 0%, #090909 56%, #000000 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-black {
	font-family: 'Orbitron', 'Rajdhani', sans-serif;
}

.text-pin-blue,
.text-pin-neon {
	color: var(--pikado-green) !important;
}

.text-pin-red {
	color: var(--pikado-red) !important;
}

.bg-pin-blue,
.bg-pin-neon {
	background-color: var(--pikado-green) !important;
}

.bg-pin-red {
	background-color: var(--pikado-red) !important;
}

.hover\:bg-cyan-300:hover,
.hover\:bg-green-600:hover {
	background-color: var(--pikado-green) !important;
}

.hover\:bg-rose-500:hover,
.hover\:bg-red-600:hover {
	background-color: var(--pikado-red) !important;
}

.text-slate-900 {
	color: var(--pikado-black) !important;
}

.mobile-nav__pill--wa {
	background: var(--pikado-green);
}

.mobile-nav__pill--phone {
	background: var(--pikado-red);
}

.mobile-nav__title {
	font-family: 'Orbitron', 'Rajdhani', sans-serif;
}

.desktop-main-nav__link.is-active,
.mobile-nav__link[data-nav-target].is-active,
.nav-archive-pill--pikado.is-active {
	box-shadow: 0 0 0 1px rgba(4, 176, 99, 0.45);
}

.nav-archive-pill--pikado,
.breadcrumbs__link {
	color: var(--pikado-cream);
}

.form-input:focus {
	border-color: var(--pikado-red);
	box-shadow: 0 0 0 3px rgba(231, 2, 0, 0.2);
}

.surface-soft,
.surface-mid,
.surface-alt,
.surface-deep {
	background: linear-gradient(180deg, #1f1f1f 0%, #0f0f0f 100%) !important;
	border-top: 1px solid rgba(238, 223, 191, 0.18) !important;
	border-bottom: 1px solid rgba(238, 223, 191, 0.18) !important;
}

.related-carousel-section {
	border-top: 1px solid rgba(238, 223, 191, 0.2) !important;
	background: linear-gradient(180deg, rgba(4, 176, 99, 0.08) 0%, rgba(0, 0, 0, 0) 100%) !important;
}

.sticky-bar,
.mobile-nav__panel,
.product-modal__panel {
	background: linear-gradient(180deg, rgba(26, 26, 26, 0.97) 0%, rgba(10, 10, 10, 0.98) 100%) !important;
}

.desktop-main-nav__link,
.mobile-nav__link,
.text-gray-300,
.text-gray-400,
.text-gray-500 {
	color: var(--pikado-cream) !important;
}

.gradient-text {
	background: none !important;
	-webkit-background-clip: border-box;
	-webkit-text-fill-color: currentColor;
	background-clip: border-box;
	color: var(--pikado-cream) !important;
}

