/* QCentar lightbox za slike proizvoda - claude 2026-09-29 */
html.qc-lb-open,
html.qc-lb-open body {
	overflow: hidden;
}
.woocommerce-product-gallery__image {
	cursor: zoom-in;
}
.qc-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	background: rgba(12, 14, 18, .94);
	-webkit-tap-highlight-color: transparent;
}
.qc-lb.is-open {
	display: block;
	animation: qc-lb-in .2s ease;
}
@keyframes qc-lb-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.qc-lb-stage {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 72px 76px;
	overflow: hidden;
}
.qc-lb-img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 6px;
	background: #fff;
	cursor: zoom-in;
	transition: transform .25s ease, opacity .2s ease;
	user-select: none;
	-webkit-user-drag: none;
}
.qc-lb.is-loading .qc-lb-img {
	opacity: .35;
}
.qc-lb.is-zoomed .qc-lb-img {
	transform: scale(2.2);
	cursor: zoom-out;
}
.qc-lb-btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1f232b;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
	z-index: 2;
}
.qc-lb-btn:hover,
.qc-lb-btn:focus-visible {
	background: #d71920;
	color: #fff;
	outline: none;
}
.qc-lb-btn[hidden] {
	display: none;
}
.qc-lb-close {
	top: 16px;
	right: 16px;
}
.qc-lb-prev,
.qc-lb-next {
	top: 50%;
	transform: translateY(-50%);
}
.qc-lb-prev {
	left: 14px;
}
.qc-lb-next {
	right: 14px;
}
.qc-lb-counter {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
}
.qc-lb-counter:empty {
	display: none;
}
@media (max-width: 767px) {
	.qc-lb-stage {
		padding: 76px 10px 70px;
	}
	.qc-lb-btn {
		width: 48px;
		height: 48px;
	}
	.qc-lb-close {
		top: 14px;
		right: 14px;
	}
	.qc-lb-prev,
	.qc-lb-next {
		top: auto;
		bottom: 12px;
		transform: none;
	}
	.qc-lb-prev {
		left: 14px;
	}
	.qc-lb-next {
		right: 14px;
	}
	.qc-lb-counter {
		bottom: 24px;
	}
}

/* Naslovi "Slicni proizvodi" i "Nedavno pregledani" - isti stil kao naslovi na pocetnoj */
.single-product .related.products .klb-title,
.single-product .recently-viewed .klb-title {
	margin-bottom: 20px;
	padding: 12px 16px 12px 18px;
	border: 0;
	border-left: 3px solid #d71920;
	border-radius: 0 12px 12px 0;
	background: linear-gradient(90deg, rgba(33, 37, 41, .06) 0%, rgba(33, 37, 41, .025) 60%, rgba(33, 37, 41, 0) 100%);
}
.single-product .related.products .klb-title h2.entry-title,
.single-product .recently-viewed .klb-title h2.entry-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .02em;
	color: #212529;
}
