/*
 * PDP V5 — Stitch Citrulline Synergy makieta (gemkibo adaptation).
 * Brand colors gemkibo: brand #5DA935 + forest-dark #1F3D14 + cream #FAF7F2.
 * Layout: top announce → sticky header → sticky buy bar → 12-col hero →
 *         benefits → tabbed nav → desc/composition/science/reviews/faq →
 *         related → brand banner → details → trust strip → compliance → footer.
 */



.gk-pdp-v5-body {
	background: var(--gk-c-cream, #FAF7F2);
	font-family: 'Manrope', -apple-system, system-ui, sans-serif;
	color: #1a1c1c;
	margin: 0;
}

.gk-pdp-v5,
.gk-pdp-v5__sticky-buy {
	--gk-v5-primary: var(--gk-color-dark, #1F3D14);
	--gk-v5-primary-light: var(--gk-color-primary-container, #5DA935);
	--gk-v5-cream: var(--gk-c-cream, #FAF7F2);
	--gk-v5-cream-dark: #F5F1EA;
	--gk-v5-surface: #ffffff;
	--gk-v5-text: #1a1c1c;
	--gk-v5-text-muted: #41493a;
	--gk-v5-text-light: #717a69;
	--gk-v5-border: #e2e2e2;
	--gk-v5-border-soft: #eeeeed;
	--gk-v5-amber: #F59E0B;
	--gk-v5-error: #ba1a1a;
	--gk-v5-max: 1280px;
	--gk-v5-px: clamp(16px, 3vw, 32px);
}

.gk-pdp-v5__container {
	max-width: var(--gk-v5-max);
	margin: 0 auto;
	padding-left: var(--gk-v5-px);
	padding-right: var(--gk-v5-px);
}

.gk-pdp-v5__sr-only {
	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 a11y
   ═══════════════════════════════════════════════════════════════ */
.gk-pdp-v5__skip-link {
	position: absolute; left: -9999px; top: auto;
	padding: 12px 20px;
	background: #1F3D14;
	color: #fff;
	z-index: 200;
	text-decoration: none;
	border-radius: 6px;
}
.gk-pdp-v5__skip-link:focus {
	left: 16px; top: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   ANNOUNCEMENT TOP BAR — zielony pasek
   ═══════════════════════════════════════════════════════════════ */
.gk-pdp-v5__announce {
	background: #1F3D14;
	color: #fff;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	overflow: hidden;
}
/* MARQUEE/telebim — napisy lecą z prawej do lewej w nieskończonej pętli (2026-05-30). */
.gk-pdp-v5__announce-marquee { display: flex; width: 100%; }
.gk-pdp-v5__announce-track {
	display: flex;
	width: max-content;
	flex-shrink: 0;
	animation: gk-announce-marquee 32s linear infinite;
}
.gk-pdp-v5__announce-set { display: inline-flex; align-items: center; flex-shrink: 0; }
.gk-pdp-v5__announce-item {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 30px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.gk-pdp-v5__announce-item svg { color: #a1ec78; flex-shrink: 0; }
@keyframes gk-announce-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gk-pdp-v5__announce:hover .gk-pdp-v5__announce-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .gk-pdp-v5__announce-track { animation: none; } }
.gk-pdp-v5__announce--standalone {
	position: sticky;
	top: 0;
	z-index: 51;
}
/* When standalone announce is used, sticky header offsets.
   Fix 2026-06-03: announce ma realnie 46px (nie 36) — przy top:36 zielony pasek
   nachodził na górne 10px headera. top:46px = wysokość announce → bez nachodzenia. */
body:has(.gk-pdp-v5__announce--standalone) .gk-header {
	top: 46px !important;
}
/* PDP scope: logo trochę mniejsze */
body.gk-pdp-v5-body .gk-header__logo img { height: 22px !important; }
@media (min-width: 1024px) {
	body.gk-pdp-v5-body .gk-header__logo img { height: 24px !important; }
}
/* PDP scope: account icon size = jak reszta (search/wishlist/cart 24px) */
body.gk-pdp-v5-body .gk-header__account-icon,
body.gk-pdp-v5-body .gk-header__account-trigger .material-symbols-outlined {
	font-size: 24px !important;
}
/* Polish chars fix — font-family z latin-ext support */
body.gk-pdp-v5-body .gk-header__account-label-bottom,
body.gk-pdp-v5-body .gk-header__account-label-top {
	font-family: 'Inter', 'Helvetica Neue', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}
/* Account label — align text to right (Cześć/Witaj + Zaloguj się/Imię) */
body.gk-pdp-v5-body .gk-header__account-label {
	align-items: flex-end !important;
	text-align: right;
}
body.gk-pdp-v5-body .gk-header__account-label-top,
body.gk-pdp-v5-body .gk-header__account-label-bottom {
	text-align: right;
	width: 100%;
}
/* Account label "Cześć/Witaj" + chevron — zachować widoczne per user request */
/* PDP scope: search overlay nad headerem (header z-index: 60, announce 51) */
body.gk-pdp-v5-body .gk-search-overlay {
	top: 0 !important;
	z-index: 200 !important;
	min-height: 280px;
	padding-top: 32px;
}
.gk-pdp-v5__announce-inner {
	max-width: var(--gk-v5-max);
	margin: 0 auto;
	padding: 10px clamp(16px, 3vw, 32px);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: 16px;
	text-align: center;
}
.gk-pdp-v5__announce-inner span {
	display: inline-flex; align-items: center; gap: 6px;
	font-variant-numeric: tabular-nums;
}
.gk-pdp-v5__announce-inner svg { color: #a1ec78; }
.gk-pdp-v5__announce-sep {
	color: rgba(255,255,255,0.30);
	font-weight: 400;
}
@media (max-width: 700px) {
	.gk-pdp-v5__announce-inner { gap: 8px; font-size: 11px; }
	.gk-pdp-v5__announce-sep { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   STICKY MAIN HEADER
   ═══════════════════════════════════════════════════════════════ */
.gk-pdp-v5__header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: #fff;
	box-shadow: 0 1px 0 rgba(15,30,15,0.06);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.gk-pdp-v5__header-inner {
	max-width: var(--gk-v5-max);
	margin: 0 auto;
	padding: 12px clamp(16px, 3vw, 32px);
	display: flex; align-items: center;
	gap: clamp(16px, 3vw, 36px);
}

/* Logo — mniejsze */
.gk-pdp-v5__logo {
	flex-shrink: 0;
	display: inline-flex; align-items: center;
	text-decoration: none;
	color: var(--gk-v5-primary);
}
.gk-pdp-v5__logo img { display: block; height: 30px; width: auto; }
.gk-pdp-v5__logo span {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 18px; font-weight: 700;
	letter-spacing: -0.02em;
}

/* Nav inline po prawej od logo */
.gk-pdp-v5__nav {
	display: flex; align-items: center;
	gap: clamp(16px, 2.2vw, 32px);
	flex: 1;
}
.gk-pdp-v5__nav-link {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--gk-v5-text);
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s ease;
}
.gk-pdp-v5__nav-link:hover { color: var(--gk-v5-primary-light); }
.gk-pdp-v5__nav-link--highlight { color: var(--gk-v5-error); }
.gk-pdp-v5__nav-link--highlight:hover { opacity: 0.8; color: var(--gk-v5-error); }
@media (max-width: 900px) {
	.gk-pdp-v5__nav { display: none; }
}

/* Icons row */
.gk-pdp-v5__icons {
	display: flex; align-items: center;
	gap: 4px;
	margin-left: auto;
}
.gk-pdp-v5__icon-btn {
	position: relative;
	display: inline-flex; flex-direction: column;
	align-items: center; justify-content: center;
	gap: 4px;
	min-width: 56px;
	padding: 6px 10px;
	color: var(--gk-v5-text-muted);
	background: transparent;
	border: 0;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
	font-family: inherit;
}
.gk-pdp-v5__icon-btn:hover {
	background: var(--gk-v5-cream);
	color: var(--gk-v5-primary-light);
}
.gk-pdp-v5__icon-btn span:not(.gk-pdp-v5__icon-badge):not([class*="material"]) {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
}
.gk-pdp-v5__icon-btn--cart { color: var(--gk-v5-primary-light); }
.gk-pdp-v5__icon-btn--menu { display: none; }
.gk-pdp-v5__icon-badge {
	position: absolute;
	top: 2px; right: 4px;
	min-width: 18px; height: 18px;
	padding: 0 5px;
	background: var(--gk-v5-error);
	color: #fff;
	border-radius: 9999px;
	border: 2px solid #fff;
	font-size: 10px;
	font-weight: 800;
	display: inline-flex; align-items: center; justify-content: center;
	line-height: 1;
}
.gk-pdp-v5__icon-badge:not(.is-active):not([data-force-show]) { display: none; }
.gk-pdp-v5__icon-btn--cart .gk-pdp-v5__icon-badge {
	display: inline-flex;
}
@media (max-width: 700px) {
	.gk-pdp-v5__icons { gap: 0; }
	.gk-pdp-v5__icon-btn { min-width: 44px; padding: 6px; }
	.gk-pdp-v5__icon-btn span:not(.gk-pdp-v5__icon-badge):not([class*="material"]) { display: none; }
	.gk-pdp-v5__icon-btn--menu { display: inline-flex; }
}

/* (Mega nav row removed — nav inline z logo) */

/* ═══════════════════════════════════════════════════════════════
   STICKY BUY BAR — pojawia się po scroll past hero
   ═══════════════════════════════════════════════════════════════ */
.gk-pdp-v5__sticky-buy {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 70;
	background: #fff;
	box-shadow: 0 6px 24px rgba(15,30,15,0.10);
	border-bottom: 1px solid var(--gk-v5-border-soft);
	transform: translateY(-100%);
	transition: transform .35s cubic-bezier(.16,1,.3,1);
	font-family: 'Geist', 'Manrope', sans-serif;
}
.gk-pdp-v5__sticky-buy.is-visible { transform: translateY(0); }
.gk-pdp-v5__sticky-buy-inner {
	max-width: var(--gk-v5-max);
	margin: 0 auto;
	padding: 12px clamp(16px, 3vw, 32px);
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px;
}
.gk-pdp-v5__sticky-buy-info {
	display: flex; align-items: center;
	gap: 14px;
	min-width: 0;
}
.gk-pdp-v5__sticky-buy-info img {
	width: 48px; height: 48px;
	object-fit: contain;
	background: var(--gk-v5-cream);
	border-radius: 8px;
	padding: 4px;
	flex-shrink: 0;
}
.gk-pdp-v5__sticky-buy-info > div { min-width: 0; }
.gk-pdp-v5__sticky-buy-name {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--gk-v5-primary);
	letter-spacing: -0.005em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	max-width: 320px;
}
.gk-pdp-v5__sticky-buy-rating {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--gk-v5-text-muted);
}
.gk-pdp-v5__sticky-buy-cta {
	display: flex; align-items: center; gap: 16px;
	flex-shrink: 0;
}
.gk-pdp-v5__sticky-buy-price {
	font-family: 'Geist', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--gk-v5-primary-light);
	letter-spacing: -0.01em;
	line-height: 1;
}
.gk-pdp-v5__sticky-buy-price .amount { color: inherit; font-weight: inherit; font-size: inherit; }
.gk-pdp-v5__sticky-cta-btn { min-height: 44px; padding: 0 22px; font-size: 13px; }

@media (max-width: 700px) {
	.gk-pdp-v5__sticky-buy-name { max-width: 140px; font-size: 12px; }
	.gk-pdp-v5__sticky-buy-rating { display: none; }
	.gk-pdp-v5__sticky-buy-price { font-size: 16px; }
	.gk-pdp-v5__sticky-cta-btn { padding: 0 14px; min-height: 40px; }
}

/* ═══════════════════════════════════════════════════════════════
   PRIMARY / OUTLINE BUTTONS (shared)
   ═══════════════════════════════════════════════════════════════ */
.gk-pdp-v5__btn-primary,
a.gk-pdp-v5__btn-primary,
button.gk-pdp-v5__btn-primary {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 28px;
	background: var(--gk-v5-primary) !important;
	color: #fff !important;
	border: 0;
	border-radius: 9999px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
	box-shadow: 0 8px 22px rgba(31,61,20,0.22), 0 2px 6px rgba(31,61,20,0.08);
}
.gk-pdp-v5__btn-primary *,
a.gk-pdp-v5__btn-primary *,
button.gk-pdp-v5__btn-primary * { color: #fff !important; }
.gk-pdp-v5__btn-primary:hover,
a.gk-pdp-v5__btn-primary:hover,
button.gk-pdp-v5__btn-primary:hover {
	background: var(--gk-v5-primary-light) !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(93,169,53,0.32), 0 2px 6px rgba(93,169,53,0.12);
}
.gk-pdp-v5__btn-primary:disabled {
	background: #9CA3AF; cursor: not-allowed; transform: none; box-shadow: none;
}
.gk-pdp-v5__btn-outline {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	background: transparent;
	color: var(--gk-v5-primary);
	border: 1.5px solid var(--gk-v5-primary);
	border-radius: 9999px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.gk-pdp-v5__btn-outline:hover {
	background: var(--gk-v5-primary);
	color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════ */
.gk-pdp-v5__breadcrumb {
	/* padding-top 96px: announce(46) + fixed .gk-header(top:46, ~82px → bottom 128)
	   nachodzą na breadcrumb (pierwsza treść flow ~46px) — spychamy go pod header
	   z ~14px luzem. Fix 2026-06-03. */
	padding: 96px 0 8px;
}
.gk-pdp-v5__breadcrumb > .gk-pdp-v5__container {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--gk-v5-text-light);
}
.gk-pdp-v5__breadcrumb a {
	color: inherit; text-decoration: none;
	transition: color .15s ease;
}
.gk-pdp-v5__breadcrumb a:hover { color: var(--gk-v5-primary-light); }
.gk-pdp-v5__breadcrumb svg { color: rgba(15,30,15,0.30); }
.gk-pdp-v5__breadcrumb-current {
	color: var(--gk-v5-text);
	font-weight: 600;
}

