/* INFO column */
.gk-pdp-v5__info {
	display: flex; flex-direction: column;
	gap: 18px;
	font-family: 'Manrope', sans-serif;
}
.gk-pdp-v5__info-meta {
	display: flex; flex-direction: column; gap: 4px;
}
.gk-pdp-v5__info-brand {
	font-family: 'Geist', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--gk-v5-primary-light);
	text-decoration: none;
	transition: color .15s ease;
}
.gk-pdp-v5__info-brand:hover { color: var(--gk-v5-primary); text-decoration: underline; }
.gk-pdp-v5__info-sku {
	margin: 0;
	font-size: 11px;
	color: var(--gk-v5-text-light);
	letter-spacing: 0.04em;
}
.gk-pdp-v5__info-title {
	margin: 0;
	font-family: 'Geist', sans-serif;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--gk-v5-primary);
}

/* Inline rating */
.gk-pdp-v5__info-rating {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px;
	color: var(--gk-v5-text-light);
}
.gk-pdp-v5__stars {
	position: relative; display: inline-block;
	font-size: 16px; letter-spacing: 1px; line-height: 1;
}
.gk-pdp-v5__stars-empty { color: #E5E7EB; }
.gk-pdp-v5__stars-fill {
	position: absolute; top: 0; left: 0;
	overflow: hidden; white-space: nowrap;
	color: var(--gk-v5-amber);
}
.gk-pdp-v5__rating-link {
	color: inherit; text-decoration: underline;
	cursor: pointer;
}
.gk-pdp-v5__rating-link:hover { color: var(--gk-v5-primary-light); }
.gk-pdp-v5__rating-link strong { color: var(--gk-v5-text); font-weight: 700; }

/* PDP Polish 21 (2026-05-28):
   USUNIETE: .gk-pdp-v5__info-pills* + .gk-pdp-v5__info-bullets*
   W ich miejsce: .gk-pdp-v5__inline-reviews* + .gk-pdp-v5__quick-related* + .gk-quick-view-modal*
   Per user mandate — reviews above-the-fold (+12% conversion, Baymard 2024). */

/* ───────────────────────────────────────────────────────────
   INLINE RATING — x-kom style: gwiazdki + count inline (Polish 22)
   ─────────────────────────────────────────────────────────── */
.gk-pdp-v5__inline-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
	padding: 4px 0;
	font-family: 'Inter', sans-serif;
	text-decoration: none;
	color: #1F3D14;
	transition: color .2s ease;
	width: fit-content;
}
.gk-pdp-v5__inline-rating:hover {
	color: #5DA935;
}
.gk-pdp-v5__inline-rating-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	color: #F59E0B; /* amber star color (x-kom style) */
}
.gk-pdp-v5__inline-rating-count {
	font-size: 13px;
	font-weight: 500;
	color: #6B7468;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: #C8CCC4;
	text-underline-offset: 2px;
}
.gk-pdp-v5__inline-rating:hover .gk-pdp-v5__inline-rating-count {
	text-decoration-color: #5DA935;
}

/* ───────────────────────────────────────────────────────────
   QUICK RELATED — h3 + 3 square tiles (quick-view triggers)
   ─────────────────────────────────────────────────────────── */
/* Trust strip w hero (dostawa + zwroty) — TYLKO mobile; na desktop info jest
   w buy-card po prawej (na mobile karta zwinięta do sticky paska bez info). */
.gk-pdp-v5__info-trust { display: none; }
@media (max-width: 1023px) {
	.gk-pdp-v5__info-trust {
		display: flex;
		flex-direction: column;
		gap: 8px;
		margin: 16px 0 4px;
		padding: 14px 16px;
		background: var(--gk-v5-cream, #FAF8F4);
		border: 1px solid var(--gk-v5-border, #ECE6DC);
		border-radius: 12px;
	}
	.gk-pdp-v5__info-trust-item {
		display: flex;
		align-items: center;
		gap: 10px;
		font-family: 'Inter', sans-serif;
		font-size: 14px;
		line-height: 1.3;
		color: #1F3D14;
	}
	.gk-pdp-v5__info-trust-item > svg { flex-shrink: 0; color: #5DA935; }
	.gk-pdp-v5__info-trust-item strong { font-weight: 700; }
}

.gk-pdp-v5__quick-related {
	margin: 4px 0 0;
}
.gk-pdp-v5__quick-related-title {
	margin: 0 0 12px;
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #1F3D14;
	letter-spacing: -0.005em;
	line-height: 1.2;
}
.gk-pdp-v5__quick-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)); /* FIX 2026-06-01: 3 sloty (więcej miejsca, lepiej wizualnie) */
	gap: 16px;
}
/* desktop quick-related: bez omnibus „najniższa cena 30 dni" (jest na karcie produktu) */
.gk-pdp-v5__quick-related-price .iworks-omnibus,
.gk-pdp-v5__quick-related-price [class*="omnibus"] { display: none !important; }
.gk-pdp-v5__quick-related-tile {
	all: unset;
	display: flex; flex-direction: column;
	cursor: pointer;
	width: 100%;
	padding: 10px;
	background: #FAF8F4;
	border: 1px solid #ECE6DC;
	border-radius: 16px;
	box-sizing: border-box;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gk-pdp-v5__quick-related-tile:hover,
.gk-pdp-v5__quick-related-tile:focus-visible {
	transform: translateY(-2px);
	border-color: #5DA935;
	box-shadow: 0 6px 18px rgba(31, 61, 20, 0.10);
	outline: none;
}
.gk-pdp-v5__quick-related-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 8px;
}
.gk-pdp-v5__quick-related-tile img {
	width: 100%; height: 100%;
	object-fit: contain;
	display: block;
	pointer-events: none;
}
.gk-pdp-v5__quick-related-name {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #1F3D14;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 4px;
	min-height: 2.6em;
}
.gk-pdp-v5__quick-related-price {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: #5DA935;
	margin-top: auto;
}
.gk-pdp-v5__quick-related-price del { color: #9ba8b8; font-weight: 500; font-size: 12px; margin-right: 4px; }
.gk-pdp-v5__quick-related-price ins { text-decoration: none; }

@media (max-width: 640px) {
	.gk-pdp-v5__inline-reviews { padding: 18px 18px 16px; }
	.gk-pdp-v5__inline-reviews-avg { font-size: 44px; }
	.gk-pdp-v5__inline-reviews-summary { gap: 12px; }
	/* FIX 2026-05-30: mobile slider (poziomy scroll-snap) zamiast pionowego stacka */
	.gk-pdp-v5__quick-related-grid {
		display: flex;
		grid-template-columns: none;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 10px;
		margin: 0 -20px;          /* full-bleed slider */
		padding-left: 20px; padding-right: 20px;
		scrollbar-width: none;
	}
	.gk-pdp-v5__quick-related-grid::-webkit-scrollbar { display: none; }
	.gk-pdp-v5__quick-related-tile {
		/* FIX 2026-05-31: 1 kolumna widoczna (72% = karta + peek jako sygnał slidera) */
		flex: 0 0 72%;
		max-width: 72%;
		margin: 0;
		scroll-snap-align: center;
	}
}

/* ───────────────────────────────────────────────────────────
   QUICK VIEW MODAL — centered fullscreen + blur backdrop (z-index 1100)
   ─────────────────────────────────────────────────────────── */
/* Polish 22 — modal in/out animation upgrade (cinematic feel) */
/* Polish 23 — wzmocniona animacja in/out z spring effect + content stagger */
.gk-quick-view-modal {
	position: fixed; inset: 0;
	z-index: 1100;
	display: flex;
	align-items: center; justify-content: center;
	visibility: hidden;
	pointer-events: none;
	/* Polish 27 — modal container instant on/off; animacja na card, backdrop instant blur */
	transition: visibility 0s linear .45s;
}
.gk-quick-view-modal.is-open {
	visibility: visible;
	pointer-events: auto;
	transition: visibility 0s linear 0s;
}

/* Backdrop — Polish 27: instant blur + dark fill, ZERO transition (per user mandate) */
.gk-quick-view-modal__backdrop {
	position: fixed; inset: 0;
	background: rgba(15, 42, 8, 0.72);
	backdrop-filter: blur(12px) saturate(120%);
	-webkit-backdrop-filter: blur(12px) saturate(120%);
	cursor: pointer;
	opacity: 0;
}
.gk-quick-view-modal.is-open .gk-quick-view-modal__backdrop {
	opacity: 1;
}

