/* Wstawka promocyjna (Black Friday) — PromoBanner.php */
.PromoBanner {
	background: #0b0b0b;
	color: #fff;
	position: relative;
	overflow: hidden;
	border-top: 4px solid #ec6916;
	border-bottom: 4px solid #ec6916;
}

.PromoBanner::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 92% 20%, rgba(236, 105, 22, 0.35), transparent 45%),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px);
	pointer-events: none;
}

.PromoBanner__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	padding-top: 36px;
	padding-bottom: 36px;
}

.PromoBanner__main {
	max-width: 720px;
}

.PromoBanner__badge {
	display: inline-block;
	background: #ec6916;
	color: #0b0b0b;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 4px;
	margin-bottom: 14px;
}

.PromoBanner__title {
	margin: 0;
	color: #fff;
	font-size: clamp(26px, 3.4vw, 42px);
	line-height: 1.15;
	font-weight: 800;
}

.PromoBanner__text {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
	line-height: 1.5;
}

.PromoBanner__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 18px;
	flex-shrink: 0;
}

.PromoBanner__countdown {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.PromoBanner__countdown-label,
.PromoBanner__countdown-end {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}

.PromoBanner__countdown-units {
	display: flex;
	gap: 8px;
}

.PromoBanner__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 62px;
	padding: 8px 6px;
	border: 1px solid rgba(236, 105, 22, 0.6);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
}

.PromoBanner__unit b {
	font-size: 26px;
	line-height: 1.1;
	color: #ec6916;
	font-variant-numeric: tabular-nums;
}

.PromoBanner__unit small {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.7);
}

.PromoBanner__button {
	display: inline-block;
	background: #ec6916;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	padding: 15px 28px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.PromoBanner__button:hover,
.PromoBanner__button:focus-visible {
	background: #ff7a26;
	color: #fff;
	transform: translateY(-1px);
}

@media (max-width: 900px) {
	.PromoBanner__inner {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.PromoBanner__side,
	.PromoBanner__countdown {
		align-items: flex-start;
		width: 100%;
	}

	.PromoBanner__button {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 400px) {
	.PromoBanner__unit {
		min-width: 0;
		flex: 1;
	}
}

/* ── Tryb promocyjny (klasa body.is-promo-skin, przełącznik w Ustawieniach motywu) ──
   Czarne tła zamiast granatowych, pomarańczowe akcenty, ogromny napis BLACK FRIDAY w hero, rzadkie napisy w tle ciemnych sekcji,
   etykieta na kartach szkoleń w promocji. Tylko strona główna i /szkolenia/. */

.is-promo-skin {
	--promo-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1100' height='440'%3E%3Cg font-family='Arial Black,Arial,Helvetica,sans-serif' font-weight='900' font-size='92'%3E%3Ctext x='40' y='150' textLength='760' lengthAdjust='spacingAndGlyphs' fill='none' stroke='%23ec6916' stroke-opacity='.16' stroke-width='2'%3EBLACK FRIDAY%3C/text%3E%3Ctext x='-510' y='370' textLength='760' lengthAdjust='spacingAndGlyphs' fill='none' stroke='%23ec6916' stroke-opacity='.16' stroke-width='2'%3EBLACK FRIDAY%3C/text%3E%3Ctext x='590' y='370' textLength='760' lengthAdjust='spacingAndGlyphs' fill='none' stroke='%23ec6916' stroke-opacity='.16' stroke-width='2'%3EBLACK FRIDAY%3C/text%3E%3C/g%3E%3C/svg%3E");
	--promo-pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1100' height='440'%3E%3Cg font-family='Arial Black,Arial,Helvetica,sans-serif' font-weight='900' font-size='92'%3E%3Ctext x='40' y='150' textLength='760' lengthAdjust='spacingAndGlyphs' fill='%23ec6916' fill-opacity='.05'%3EBLACK FRIDAY%3C/text%3E%3Ctext x='-510' y='370' textLength='760' lengthAdjust='spacingAndGlyphs' fill='%23ec6916' fill-opacity='.05'%3EBLACK FRIDAY%3C/text%3E%3Ctext x='590' y='370' textLength='760' lengthAdjust='spacingAndGlyphs' fill='%23ec6916' fill-opacity='.05'%3EBLACK FRIDAY%3C/text%3E%3C/g%3E%3C/svg%3E");
	--promo-hero-text: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 190'%3E%3Ctext x='20' y='160' textLength='1160' lengthAdjust='spacingAndGlyphs' font-family='Arial Black,Arial,Helvetica,sans-serif' font-weight='900' font-size='170' fill='none' stroke='%23ec6916' stroke-opacity='.32' stroke-width='2.5'%3EBLACK FRIDAY%3C/text%3E%3C/svg%3E");
	--promo-big-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 190'%3E%3Ctext x='20' y='160' textLength='1160' lengthAdjust='spacingAndGlyphs' font-family='Arial Black,Arial,Helvetica,sans-serif' font-weight='900' font-size='170' fill='none' stroke='%23ec6916' stroke-opacity='.22' stroke-width='2'%3EBLACK FRIDAY%3C/text%3E%3C/svg%3E");
}

/* Strona główna: hero */
.is-promo-skin .NewFront__section1 {
	background:
		radial-gradient(circle at 88% 18%, rgba(236, 105, 22, 0.38), transparent 42%),
		radial-gradient(circle at 8% 92%, rgba(236, 105, 22, 0.18), transparent 38%),
		var(--promo-hero-text) center bottom 24px / 96% auto no-repeat,
		#0b0b0b;
	border-bottom: 4px solid #ec6916;
}

.is-promo-skin .NewFront__hero-badge {
	background: rgba(0, 0, 0, 0.88);
	border: 1px solid #ec6916;
}

/* Wyróżniona ścieżka, sekcja z liczbami, końcowe CTA */
.is-promo-skin .NewFront__path--highlight {
	background: #0b0b0b;
	border-color: #ec6916;
	box-shadow: 0 12px 24px -6px rgba(236, 105, 22, 0.35);
}

.is-promo-skin .NewFront__section4-wrap {
	background-color: #0b0b0b;
}

.is-promo-skin .NewFront__s4-overlay {
	background: var(--promo-hero-text) center / 92% auto no-repeat, rgba(0, 0, 0, 0.8);
}

.is-promo-skin .NewFront__section6 {
	background: radial-gradient(circle at 50% 0%, rgba(236, 105, 22, 0.3), transparent 50%), var(--promo-hero-text) center / 92% auto no-repeat, #0b0b0b;
	border-top: 4px solid #ec6916;
}

/* Jasne sekcje strony głównej: jeden duży konturowy napis BLACK FRIDAY w tle (jak w hero, jaśniejszy). */
.is-promo-skin .NewFront__section2,
.is-promo-skin .NewFront__section3,
.is-promo-skin .NewFront__courses-section,
.is-promo-skin .NewFront__section5,
.is-promo-skin .NewFront__newsletter,
.is-promo-skin .NewFrontComparison {
	background-image: var(--promo-big-light);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 92% auto;
}

.is-promo-skin .NewFront__course-card--popular {
	border-color: #ec6916;
	box-shadow: 0 12px 24px -8px rgba(236, 105, 22, 0.35);
}

/* /szkolenia/: tło listy i karty */
.is-promo-skin .ArchiveProduct .bg-light {
	background-color: #fff6ef;
	background-image: var(--promo-big-light);
	background-repeat: no-repeat;
	background-position: center 40px;
	background-size: 92% auto;
}

.is-promo-skin .LoopProduct.sale,
.is-promo-skin .LoopProduct:has(.PromoPriceBox) {
	border: 2px solid #ec6916;
	box-shadow: 0 10px 22px -10px rgba(236, 105, 22, 0.45);
}

.is-promo-skin .LoopProduct.sale::before,
.is-promo-skin .LoopProduct:has(.PromoPriceBox)::before {
	content: var(--promo-badge, "Promocja");
	position: absolute;
	top: -11px;
	left: 16px;
	z-index: 3;
	background: #0b0b0b;
	color: #ec6916;
	border: 1px solid #ec6916;
	border-radius: 4px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.4;
	pointer-events: none;
}

/* ── Tryb promocyjny: obramowania kart i przyciski ── */

/* Karty szkoleń na /szkolenia/ — czarna ramka, pomarańczowa po najechaniu */
.is-promo-skin .LoopProduct {
	border: 2px solid #0b0b0b;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.is-promo-skin .LoopProduct:hover {
	border-color: #ec6916;
	box-shadow: 6px 6px 0 #0b0b0b;
	transform: translate(-2px, -2px);
}

.is-promo-skin .LoopProduct .price ins,
.is-promo-skin .LoopProduct .PromoPriceBox__new {
	color: #ec6916;
}

/* Karty szkoleń na stronie głównej */
.is-promo-skin .NewFront__course-card {
	border-color: #0b0b0b;
}

.is-promo-skin .NewFront__course-card:hover {
	border-color: #ec6916;
	box-shadow: 6px 6px 0 #0b0b0b;
}

.is-promo-skin .NewFront__course-badge {
	background: #0b0b0b;
	color: #ec6916;
	border: 1px solid #ec6916;
}

/* Przyciski: czarne z białym tekstem, pomarańczowe po najechaniu */
.is-promo-skin .NewFront__course-btn,
.is-promo-skin .NewFront__path-btn,
.is-promo-skin .NewFront__course-btn-outline {
	background: #0b0b0b;
	border-color: #0b0b0b;
	color: #fff;
}

.is-promo-skin .NewFront__course-btn:hover,
.is-promo-skin .NewFront__path-btn:hover,
.is-promo-skin .NewFront__course-btn-outline:hover {
	background: #ec6916;
	border-color: #ec6916;
	color: #fff;
}

/* Przyciski główne (pomarańczowe): czarny „cień” jak naklejka */
.is-promo-skin .NewFront__hero-btn,
.is-promo-skin .NewFront__course-btn--popular,
.is-promo-skin .NewFront__path-btn--highlight,
.is-promo-skin .NewFront__section6-btn,
.is-promo-skin .Content .Button:not(.Button--no-style):not(.Button--secondary):not(.Button--outline):not(.Button--text) {
	background: #ec6916;
	border-color: #ec6916;
	color: #fff;
	box-shadow: 4px 4px 0 #0b0b0b;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.is-promo-skin .NewFront__hero-btn:hover,
.is-promo-skin .NewFront__course-btn--popular:hover,
.is-promo-skin .NewFront__path-btn--highlight:hover,
.is-promo-skin .NewFront__section6-btn:hover,
.is-promo-skin .Content .Button:not(.Button--no-style):not(.Button--secondary):not(.Button--outline):not(.Button--text):hover {
	background: #ff7a26;
	border-color: #ff7a26;
	color: #fff;
	box-shadow: 6px 6px 0 #0b0b0b;
	transform: translate(-2px, -2px);
}

/* Na ciemnym tle jasny cień zamiast czarnego (czarny byłby niewidoczny) */
.is-promo-skin .NewFront__section1 .NewFront__hero-btn,
.is-promo-skin .NewFront__section6 .NewFront__section6-btn,
.is-promo-skin .NewFront__path--highlight .NewFront__path-btn--highlight {
	box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.9);
}

.is-promo-skin .NewFront__hero-btn-outline {
	border-color: #ec6916;
	color: #fff;
}

.is-promo-skin .NewFront__hero-btn-outline:hover {
	background: #ec6916;
	border-color: #ec6916;
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.is-promo-skin .LoopProduct,
	.is-promo-skin .LoopProduct:hover,
	.is-promo-skin [class*="btn"]:hover {
		transform: none;
		transition: none;
	}
}

/* ── Taśma „BLACK FRIDAY” przewijająca się na górze wstawki ── */
.PromoBanner__tape {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background: #ec6916;
	color: #0b0b0b;
	border-bottom: 2px solid #0b0b0b;
	white-space: nowrap;
}

.PromoBanner__tape-track {
	display: inline-flex;
	animation: promoTape 40s linear infinite;
}

.PromoBanner__tape-item {
	display: inline-block;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.PromoBanner__tape-item::after {
	content: "%";
	display: inline-block;
	margin: 0 22px;
	font-weight: 900;
}

@keyframes promoTape {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.PromoBanner__tape-track {
		animation: none;
	}
}

/* Stopka w trybie promocyjnym: bez białej przerwy nad nią, pomarańczowa linia u góry. */
.is-promo-skin main > :last-child,
.is-promo-skin main .Content > :last-child {
	margin-bottom: 0;
}

.is-promo-skin .SiteFooter {
	margin-top: 0;
	border-top: 4px solid #ec6916;
}
