/* ==========================================================================
   DAVECO B2B – strony przed zalogowaniem (logowanie, kontakt, polityka
   prywatności, regulamin, przywracanie hasła, rejestracja).
   Plik ładowany WYŁĄCZNIE przez szablon dist/tpl/pl_head.html.
   Wszystkie reguły są zawężone do body.pl, aby nie wpływać na panel B2B.
   ========================================================================== */

body.pl {
	--pl-header: #242527; /* jak nagłówek www.daveco.pl */
	--pl-white: #ffffff;
	--pl-purple: #79549c;
	--pl-purple-dark: #5f3f7d;
	--pl-ink: #2d3033;
	--pl-ink-hover: #1b1d1f;
	--pl-muted: #7b7d89;
	--pl-border: #d7d8de;
	--pl-field: #f8f9fa;
	--pl-error: #c62828;
	--pl-success: #2e7d32;
	--pl-gutter: 70px;
	/* szerokości jak na www.daveco.pl: nagłówek – .container 1440 px (treść 1376 px), stopka – .container 1170 px */
	--pl-header-inner: max(32px, calc((100% - 1376px) / 2));
	--pl-footer-inner: max(var(--pl-gutter), calc((100% - 1170px) / 2));

	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--pl-white);
	color: var(--pl-ink);
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.pl *,
body.pl *::before,
body.pl *::after { box-sizing: border-box; }

body.pl h1, body.pl h2, body.pl h3, body.pl h4, body.pl p, body.pl ul { margin: 0; }
body.pl a,
body.pl a:visited { color: inherit; text-decoration: none; }
body.pl img { display: block; max-width: none; }
body.pl button, body.pl input, body.pl select, body.pl textarea { font-family: inherit; }
body.pl .pl-main { flex: 1 0 auto; }
body.pl .pl-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* --------------------------------------------------------------------------
   Nagłówek (Figma: Header / daveco.pl, 2:11 i 35:3)
   -------------------------------------------------------------------------- */
.pl .pl-header {
	position: relative;
	z-index: 50;
	/* wygładzanie jak na www.daveco.pl (auto) – identyczna grubość czcionki w nagłówku i menu */
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
	background: var(--pl-header);
	color: var(--pl-white);
}
.pl .pl-header__bar {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 80px;
	padding: 0 var(--pl-header-inner);
}
.pl .pl-header__logo {
	display: flex;
	align-items: center;
	flex: 0 0 175px;
	height: 34.5px;
	padding-right: 24px;
	border-right: 1px solid rgba(255, 255, 255, .15);
}
.pl .pl-header__logo img { width: 150px; height: 34.5283px; }
.pl .pl-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}
.pl .pl-nav__list { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.pl .pl-nav__li { position: relative; }
.pl .pl-nav__item,
.pl .pl-nav__item:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: #f5f5f6;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 19.5px;
	white-space: nowrap;
	cursor: pointer;
	transition: color .15s ease;
}
.pl .pl-nav__toggle::after {
	content: '';
	width: 8px;
	height: 8px;
	background: url('/dist/g/prelogin/caret-menu.svg') center / 8px 8px no-repeat;
}
.pl .pl-nav__item:hover { color: #c9b5dc; }
/* podmenu – jak .dropdown-menu na www.daveco.pl */
.pl .pl-nav__sub {
	display: none;
	position: absolute;
	top: calc(100% + 28px);
	left: 0;
	z-index: 60;
	min-width: 235px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #242527;
	border: 1px solid rgba(255, 255, 255, .125);
	border-radius: 4px;
	box-shadow: rgba(0, 0, 0, .133) 0 12px 24px;
}
.pl .pl-nav__li.is-open > .pl-nav__sub { display: block; }
.pl .pl-nav__sub a,
.pl .pl-nav__sub a:visited {
	display: block;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	color: #f5f5f6;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}
.pl .pl-nav__sub li:last-child a { border-bottom: 0; }
.pl .pl-nav__sub a:hover,
.pl .pl-nav__sub a:focus { background: #37323e; }
.pl .pl-b2b {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 130.25px;
	height: 43.5px;
	padding: 0 15px;
	border: 1px solid var(--pl-muted);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}
.pl .pl-b2b img { width: 15px; height: 15px; }
.pl .pl-b2b:hover { border-color: var(--pl-white); background: rgba(255, 255, 255, .06); }

.pl .pl-lang { position: relative; flex: 0 0 auto; }
.pl .pl-lang__toggle {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 45px;
	padding: 12px 0 12px 17px;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, .15);
	background: transparent;
	color: var(--pl-white);
	font-size: 14px;
	font-weight: 500;
	line-height: 21px;
	cursor: pointer;
}
.pl .pl-lang__toggle img { width: 14px; height: 14px; }
/* strzałka 1:1 z www.daveco.pl (.dh-language summary::after) */
.pl .pl-lang__toggle::after {
	content: '';
	width: 6px;
	height: 6px;
	margin-left: 3px;
	margin-top: -4px;
	border-right: 1px solid;
	border-bottom: 1px solid;
	transform: rotate(45deg);
}
.pl .pl-lang.is-open .pl-lang__toggle::after { transform: rotate(225deg); margin-top: 4px; }
.pl .pl-lang__menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 150px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--pl-white);
	border: 1px solid var(--pl-border);
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.pl .pl-lang.is-open .pl-lang__menu { display: block; }
.pl .pl-lang__menu a,
.pl .pl-lang__menu a:visited {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 16px;
	color: var(--pl-ink);
	font-size: 13px;
}
.pl .pl-lang__menu a:hover { background: var(--pl-field); }
.pl .pl-lang__menu a span { color: var(--pl-muted); font-size: 12px; }
.pl .pl-lang__menu a.is-active,
.pl .pl-lang__menu a.is-active:visited { color: var(--pl-purple); font-weight: 600; }

.pl .pl-burger {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 8px 0 8px 8px; /* jak .hamburger-button na www.daveco.pl (38 x 36 px) */
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	order: 3;
}
.pl .pl-burger:focus { outline: none; }
.pl .pl-burger:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 2px; }
/* ikona 1:1 z www.daveco.pl (.animated-icon-button) */
.pl .pl-burger__icon {
	position: relative;
	display: block;
	width: 30px;
	height: 20px;
	transition: .5s ease-in-out;
}
.pl .pl-burger__icon span {
	position: absolute;
	left: 0;
	display: block;
	height: 2px;
	border-radius: 9px;
	background: #ffffff;
	opacity: 1;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}
.pl .pl-burger__icon span:nth-child(1) { top: 0; width: 75%; }
.pl .pl-burger__icon span:nth-child(2) { top: 10px; width: 100%; }
.pl .pl-burger__icon span:nth-child(3) { top: 20px; width: 75%; }
/* po otwarciu menu: X jak na www.daveco.pl (.animated-icon-button.open) */
.pl .pl-burger.is-active .pl-burger__icon span:nth-child(1) { top: 10px; width: 100%; transform: rotate(135deg); }
.pl .pl-burger.is-active .pl-burger__icon span:nth-child(2) { opacity: 0; left: -60px; }
.pl .pl-burger.is-active .pl-burger__icon span:nth-child(3) { top: 10px; width: 100%; transform: rotate(-135deg); }


/* --------------------------------------------------------------------------
   Strona logowania (Figma 2:10 desktop, 35:2 mobile)
   -------------------------------------------------------------------------- */
.pl .pl-hero {
	position: relative;
	min-height: 748px;
	background: #3a3d40 url('/dist/g/prelogin/hero.jpg') center center / cover no-repeat;
}
.pl .pl-hero__inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	min-height: 748px;
	padding: 132px calc(var(--pl-header-inner) + 94px) 84px var(--pl-header-inner);
}
.pl .pl-hero__copy {
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 850px;
	margin-top: 32px;
	color: var(--pl-white);
}
.pl .pl-accent { display: block; width: 44px; height: 3px; background: var(--pl-purple); }
.pl .pl-hero__copy .pl-accent { width: 54px; height: 5px; }
.pl .pl-hero__title {
	font-size: 56px;
	font-weight: 700;
	line-height: 60px;
}
.pl .pl-hero__lead {
	font-size: 25px;
	font-weight: 400;
	line-height: 32px;
}

.pl .pl-card {
	flex: 0 0 387px;
	width: 387px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 39px 31px 32px;
	background: var(--pl-white);
	border-radius: 12px;
}
.pl .pl-card__heading { display: flex; flex-direction: column; gap: 2px; }
.pl .pl-card__title { font-size: 34px; font-weight: 600; line-height: 44px; color: var(--pl-ink); }
.pl .pl-card__subtitle { font-size: 16px; line-height: 1.45; color: var(--pl-muted); }
.pl .pl-card__field { display: flex; flex-direction: column; gap: 4px; }
.pl .pl-card__field label { font-size: 13px; line-height: 1.45; color: var(--pl-ink); }
.pl .pl-card__field input {
	width: 100%;
	height: 45px;
	padding: 0 14px;
	border: 1px solid var(--pl-border);
	border-radius: 6px;
	background: var(--pl-white);
	color: var(--pl-ink);
	font-size: 13px;
	line-height: 1.45;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.pl .pl-card__field input::placeholder { color: var(--pl-muted); opacity: 1; }
.pl .pl-card__field input:focus { border-color: var(--pl-purple); box-shadow: 0 0 0 3px rgba(121, 84, 156, .15); }

.pl .pl-card__options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 28px;
}
.pl .pl-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--pl-ink);
	cursor: pointer;
	user-select: none;
}
.pl .pl-check input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid var(--pl-muted);
	border-radius: 2px;
	background: var(--pl-white) center / 12px 12px no-repeat;
	cursor: pointer;
}
.pl .pl-check input:checked {
	border-color: var(--pl-purple);
	background-color: var(--pl-purple);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pl .pl-check input:focus-visible { outline: 2px solid var(--pl-purple); outline-offset: 2px; }
.pl .pl-link,
.pl .pl-link:visited { color: var(--pl-purple); font-size: 12px; line-height: 1.45; text-align: right; }
.pl .pl-link:hover { text-decoration: underline; }

.pl .pl-btn-login {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 6px;
	background: var(--pl-ink);
	color: var(--pl-white);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	cursor: pointer;
	transition: background-color .15s ease;
}
.pl .pl-btn-login:hover { background: var(--pl-ink-hover); }
.pl .pl-divider { height: 1px; background: var(--pl-border); }
.pl .pl-card__register {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	line-height: 1.45;
}
.pl .pl-card__register span { font-size: 12px; color: var(--pl-muted); }
.pl .pl-card__register a,
.pl .pl-card__register a:visited { font-size: 13px; font-weight: 600; color: var(--pl-purple); }
.pl .pl-card__register a:hover { text-decoration: underline; }

.pl .pl-form-error {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fdecec;
	color: var(--pl-error);
	font-size: 12px;
	line-height: 1.45;
}
.pl .pl-form-error:empty,
.pl .pl-form-error.is-empty { display: none; }
.pl .pl-form-error p, .pl .pl-form-error .alert { margin: 0; padding: 0; background: none; border: 0; color: inherit; }

.pl .pl-benefits {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 118px;
	padding: 0 var(--pl-footer-inner);
	border-bottom: 1px solid var(--pl-border);
}
.pl .pl-benefit {
	flex: 0 1 465px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	min-height: 64px;
}
.pl .pl-benefit img { width: 42px; height: 42px; flex: 0 0 42px; }
.pl .pl-benefit span { width: auto; max-width: 300px; font-size: 16px; line-height: 1.45; color: var(--pl-ink); }

.pl .pl-login-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 54px;
	margin-top: 8px;
	padding: 0 var(--pl-footer-inner) 8px;
	line-height: 1.45;
}
.pl .pl-login-footer__help { font-size: 12px; color: var(--pl-muted); }
.pl .pl-login-footer__contact { font-size: 13px; font-weight: 500; color: var(--pl-ink); }
.pl .pl-login-footer__contact a:hover { color: var(--pl-purple); }
.pl .pl-login-footer__copy { font-size: 11px; color: var(--pl-muted); }
.pl .pl-login-footer__links { font-size: 11px; color: var(--pl-ink); }
.pl .pl-login-footer__links a:hover,
.pl .pl-footer__links a:hover { color: var(--pl-purple); }
.pl .pl-login-footer__links .sep { padding: 0 6px; }

/* --------------------------------------------------------------------------
   Podstrony (Figma 49:78, 49:79) – kontakt, hasło, polityka, rejestracja
   -------------------------------------------------------------------------- */
.pl .pl-page {
	display: flex;
	justify-content: center;
	padding: 64px 20px;
}
.pl .pl-page--recover,
.pl .pl-page--article { padding-top: 56px; padding-bottom: 56px; }
.pl .pl-page--register { padding-top: 80px; padding-bottom: 80px; }
.pl .pl-page__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	width: 100%;
	max-width: 840px;
}
.pl .pl-page--recover .pl-page__content { max-width: 560px; align-items: center; }
.pl .pl-page--register .pl-page__content { max-width: 860px; }

.pl .pl-back {
	font-size: 13px;
	line-height: 20px;
	color: var(--pl-ink);
}
.pl .pl-back:hover { color: var(--pl-purple); }

.pl .pl-heading { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.pl .pl-page--recover .pl-heading { align-items: center; text-align: center; }
.pl .pl-heading h1 { font-size: 36px; font-weight: 600; line-height: 54px; color: var(--pl-ink); }
.pl .pl-heading p { font-size: 16px; line-height: 24px; color: var(--pl-muted); }

.pl .pl-contact-details {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 36px;
	min-height: 40px;
	font-size: 16px;
	line-height: 24px;
	color: var(--pl-ink);
}
.pl .pl-contact-details a:hover { color: var(--pl-purple); }

.pl .pl-form { display: flex; flex-direction: column; gap: 32px; width: 100%; }
.pl .pl-fieldset { display: flex; flex-direction: column; gap: 20px; width: 100%; margin: 0; padding: 0; border: 0; min-width: 0; }
.pl .pl-section-title {
	width: 100%;
	padding: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	color: var(--pl-ink);
}
.pl .pl-row { display: flex; gap: 24px; width: 100%; }
.pl .pl-row > .pl-field { flex: 1 1 0; min-width: 0; }
.pl .pl-field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.pl .pl-field label { font-size: 14px; line-height: 21px; color: var(--pl-ink); }
.pl .pl-field input,
.pl .pl-field select,
.pl .pl-field textarea {
	width: 100%;
	height: 56px;
	padding: 0 16px;
	border: 1px solid var(--pl-border);
	border-radius: 4px;
	background-color: var(--pl-field);
	color: var(--pl-ink);
	font-size: 14px;
	line-height: 21px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.pl .pl-field textarea { height: 116px; padding: 16px; resize: vertical; }
.pl .pl-field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%237b7d89' stroke-width='1.2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 10px 10px;
	cursor: pointer;
}
.pl .pl-field select:invalid,
.pl .pl-field select.is-placeholder { color: var(--pl-muted); }
.pl .pl-field select option { color: var(--pl-ink); }
.pl .pl-field input::placeholder,
.pl .pl-field textarea::placeholder { color: var(--pl-muted); opacity: 1; }
.pl .pl-field input:focus,
.pl .pl-field select:focus,
.pl .pl-field textarea:focus {
	border-color: var(--pl-purple);
	background-color: var(--pl-white);
	box-shadow: 0 0 0 3px rgba(121, 84, 156, .12);
}
.pl .pl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.pl .pl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 280px;
	max-width: 100%;
	height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 4px;
	background: var(--pl-ink);
	color: var(--pl-white);
	font-size: 14px;
	font-weight: 500;
	line-height: 21px;
	cursor: pointer;
	transition: background-color .15s ease;
}
.pl .pl-btn:hover { background: var(--pl-ink-hover); }
.pl .pl-btn--block { width: 100%; }
.pl .pl-btn--register { width: 530px; }

.pl .pl-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pl .pl-required-note { font-size: 12px; line-height: 18px; color: var(--pl-muted); }

/* Komunikaty (moduł dist/tpl/modules/info.html) */
.pl .pl-notice:empty { display: none; }
.pl .pl-notice { width: 100%; }
.pl .pl-notice .alert {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #d9cce6;
	border-radius: 4px;
	background: #f5f0fa;
	color: var(--pl-ink);
	font-size: 14px;
	line-height: 21px;
}
.pl .pl-notice .alert svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--pl-purple); }
.pl .pl-notice .alert.is-error { border-color: #f1c4c4; background: #fdecec; }
.pl .pl-notice .alert.is-error svg { color: var(--pl-error); }

/* Treść dokumentów (polityka prywatności, regulamin) */
.pl .pl-doc-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	min-height: 40px;
	font-size: 13px;
	line-height: 20px;
}
.pl .pl-doc-nav:empty { display: none; }
.pl .pl-doc-nav a,
.pl .pl-doc-nav a:visited { color: var(--pl-muted); }
.pl .pl-doc-nav a:hover,
.pl .pl-doc-nav a.is-active { color: var(--pl-purple); }
.pl .pl-doc {
	width: 100%;
	font-size: 14px;
	line-height: 21px;
	color: var(--pl-muted);
	overflow-wrap: break-word;
}
.pl .pl-doc > *:first-child { margin-top: 0; }
.pl .pl-doc h1, .pl .pl-doc h2, .pl .pl-doc h3, .pl .pl-doc h4 {
	margin: 32px 0 8px;
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	color: var(--pl-ink);
	scroll-margin-top: 24px;
}
.pl .pl-doc h4 { font-size: 16px; line-height: 24px; }
.pl .pl-doc p { margin: 0 0 12px; }
.pl .pl-doc ul, .pl .pl-doc ol { margin: 0 0 12px; padding-left: 20px; }
.pl .pl-doc li { margin-bottom: 4px; }
.pl .pl-doc a,
.pl .pl-doc a:visited { color: var(--pl-purple); text-decoration: underline; }
.pl .pl-doc strong, .pl .pl-doc b { color: var(--pl-ink); font-weight: 600; }
.pl .pl-doc table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.pl .pl-doc td, .pl .pl-doc th { padding: 6px 8px; border: 1px solid var(--pl-border); }
.pl .pl-doc img { max-width: 100%; height: auto; }

/* Stopka podstron (Figma: DAVECO / Footer / Desktop 49:69, Mobile 49:76) */
.pl .pl-footer {
	flex-shrink: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 28px var(--pl-footer-inner);
	border-top: 1px solid var(--pl-border);
	font-size: 12px;
	line-height: 18px;
}
.pl .pl-footer__links { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--pl-ink); }
.pl .pl-footer__copy { color: var(--pl-muted); }

/* --------------------------------------------------------------------------
   Responsywność
   -------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
	.pl .pl-nav__list { gap: 20px; }
	.pl .pl-hero__inner { padding-right: max(var(--pl-header-inner), 40px); }
	.pl .pl-hero__title { font-size: 48px; line-height: 54px; }
	.pl .pl-hero__lead { font-size: 22px; line-height: 30px; }
}

@media (max-width: 1199.98px) {
	body.pl { --pl-gutter: 40px; }
	body.pl { --pl-header-inner: 20px; --pl-footer-inner: var(--pl-gutter); }
	/* układ nagłówka mobilnego jak na www.daveco.pl: logo po lewej, po prawej język (order 2) i hamburger (order 3) */
	.pl .pl-header__bar { flex-wrap: wrap; align-content: flex-start; justify-content: flex-start; height: auto; min-height: 68px; padding: 0 18px; gap: 0 10px; }
	.pl .pl-header__logo { flex: 0 0 auto; align-items: flex-end; height: 30px; margin: 19px auto 19px 0; padding-right: 0; border-right: 0; }
	.pl .pl-header__logo img { width: 120px; height: 27.62px; } /* jak logo na www.daveco.pl w wersji mobilnej (120 px) */
	.pl .pl-lang { order: 2; }
	.pl .pl-header__bar > .pl-b2b { display: none; }
	/* menu mobilne 1:1 z www.daveco.pl (.navbar-collapse .first-lvl) */
	.pl .pl-header__bar > .pl-nav { display: none; order: 4; flex: 0 0 100%; margin-top: -14px; }
	.pl .pl-header.is-open .pl-header__bar > .pl-nav { display: block; }
	.pl .pl-header__bar > .pl-nav.pl-collapsing { overflow: hidden; transition: height .35s ease; }
	.pl .pl-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 16px; }
	.pl .pl-nav__li { padding: 0 10px; }
	.pl .pl-nav__item,
	.pl .pl-nav__item:visited {
		display: block;
		width: 100%;
		padding: 14px 4px;
		border-bottom: 1px solid rgba(255, 255, 255, .094);
		text-align: center;
	}
	.pl .pl-nav__item:hover { color: #f5f5f6; }
	.pl .pl-nav__toggle::after {
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: 7px;
		vertical-align: 3.315px;
		background: none;
		border-top: 3.5px solid;
		border-right: 3.5px solid transparent;
		border-left: 3.5px solid transparent;
		border-bottom: 0;
	}
	.pl .pl-nav__sub {
		position: static;
		min-width: 0;
		margin: 4px 0 8px 8px;
		border: 0;
		border-left: 1px solid #9165b4;
		box-shadow: none;
	}
	.pl .pl-nav__sub li { padding: 0 10px; }
	.pl .pl-nav__sub a,
	.pl .pl-nav__sub a:visited { text-align: center; }
	.pl .pl-nav__sub li:last-child a { border-bottom: 1px solid rgba(255, 255, 255, .07); }
	.pl .pl-lang__toggle { gap: 6px; height: 44px; padding: 12px 0; border-left: 0; font-size: 12px; line-height: 18px; }
	.pl .pl-lang__toggle img { width: 12px; height: 12px; }
	.pl .pl-burger { display: inline-flex; }
	.pl .pl-hero__copy { max-width: 520px; }
	.pl .pl-benefit { gap: 16px; }
	.pl .pl-benefit span { width: auto; }
	.pl .pl-login-footer { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
	.pl .pl-login-footer__links { width: auto; }
}

@media (max-width: 991.98px) {
	body.pl { --pl-gutter: 24px; }

	/* logowanie – układ mobilny (Figma 35:2) */
	.pl .pl-hero { min-height: 0; background-image: url('/dist/g/prelogin/hero-m.jpg'); }
	.pl .pl-hero::before {
		content: '';
		position: absolute;
		inset: 0;
		background: rgba(8, 10, 13, .3);
	}
	.pl .pl-hero__inner {
		position: relative;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		min-height: 0;
		padding: 32px 20px 28px;
	}
	.pl .pl-hero__copy { align-self: stretch; max-width: none; margin-top: 0; gap: 14px; }
	.pl .pl-hero__copy .pl-accent { width: 40px; height: 4px; }
	.pl .pl-hero__title { font-size: 30px; line-height: 36px; }
	.pl .pl-hero__title br { display: none; }
	.pl .pl-hero__lead { font-size: 15px; line-height: 23px; }
	.pl .pl-hero__lead br { display: none; }
	.pl .pl-card { flex: 0 0 auto; width: 100%; max-width: 480px; padding: 28px 24px 24px; }
	.pl .pl-card__heading { gap: 4px; }
	.pl .pl-card__title { font-size: 28px; line-height: 36px; }
	.pl .pl-card__subtitle { font-size: 14px; line-height: 22px; }
	.pl .pl-card__field { gap: 6px; }
	.pl .pl-card__field label { line-height: 20px; }
	.pl .pl-card__field input { height: 48px; font-size: 14px; line-height: 21px; }
	.pl .pl-card__options { flex-direction: column; align-items: stretch; gap: 0; }
	.pl .pl-check { gap: 10px; min-height: 44px; line-height: 18px; }
	.pl .pl-link { text-align: left; line-height: 20px; }
	.pl .pl-card__register { gap: 8px; line-height: 20px; }

	.pl .pl-benefits { flex-direction: column; align-items: flex-start; padding: 24px; min-height: 0; }
	.pl .pl-benefit { flex: 0 0 auto; justify-content: flex-start; gap: 16px; min-height: 42px; }
	.pl .pl-benefit img { width: 30px; height: 30px; flex-basis: 30px; }
	.pl .pl-benefit span { font-size: 14px; line-height: 21px; }

	.pl .pl-login-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-top: 0;
		padding: 24px 24px 26px;
		line-height: 20px;
	}
	.pl .pl-login-footer__help { font-size: 11px; }

	/* podstrony – układ mobilny (Figma 49:429 i in.) */
	.pl .pl-page,
	.pl .pl-page--recover,
	.pl .pl-page--article,
	.pl .pl-page--register { padding: 36px 20px 48px; }
	.pl .pl-page--recover .pl-page__content { align-items: flex-start; }
	.pl .pl-page--recover .pl-heading { align-items: flex-start; text-align: left; }
	.pl .pl-heading h1 { font-size: 28px; line-height: 42px; }
	.pl .pl-contact-details { flex-direction: column; gap: 12px; }
	.pl .pl-row { flex-direction: column; gap: 20px; }
	.pl .pl-btn,
	.pl .pl-btn--register { width: 100%; }

	.pl .pl-footer { flex-direction: column; gap: 18px; padding: 28px 20px; }
	.pl .pl-footer__links { gap: 8px 16px; }
	.pl .pl-footer__copy { font-size: 10px; line-height: 15px; }
}

@media (max-width: 400px) {
	.pl .pl-g-recaptcha { transform: scale(.92); transform-origin: 0 0; }
}

/* Kontakt: dodatkowa treść z CMS (dane firmy) pod formularzem */
.pl .pl-page--contact .pl-doc { padding-top: 32px; border-top: 1px solid var(--pl-border); }

/* --------------------------------------------------------------------------
   Strona logowania dopasowana do wysokości okna (komputer / laptop)
   Nagłówek + zdjęcie z formularzem + ikony + stopka mieszczą się w 100% wysokości
   ekranu; zdjęcie wypełnia pozostałe miejsce. Na niskich ekranach elementy
   kompaktują się stopniowo.
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
	/* min-height (a nie height): gdy okno jest bardzo niskie, strona po prostu się przewija i nic się nie nakłada */
	body.pl--login { min-height: 100vh; min-height: 100dvh; }
	body.pl--login .pl-login { display: flex; flex-direction: column; flex: 1 0 auto; }
	body.pl--login .pl-hero { flex: 1 0 auto; display: flex; min-height: 0; }
	body.pl--login .pl-hero__inner {
		flex: 1 1 auto;
		align-items: center;
		min-height: 0;
		padding-top: clamp(16px, 4vh, 64px);
		padding-bottom: clamp(16px, 4vh, 64px);
	}
	body.pl--login .pl-hero__copy { margin-top: 0; }
	body.pl--login .pl-benefits { flex: 0 0 auto; }
	body.pl--login .pl-login-footer { flex: 0 0 auto; }
}

/* niższe ekrany (np. laptopy 1366×768, 1536×864 z paskiem przeglądarki) */
@media (min-width: 992px) and (max-height: 900px) {
	body.pl--login .pl-benefits { min-height: 84px; }
	body.pl--login .pl-benefit { min-height: 0; gap: 20px; }
	body.pl--login .pl-benefit img { width: 34px; height: 34px; flex-basis: 34px; }
	body.pl--login .pl-benefit span { font-size: 15px; }
	body.pl--login .pl-login-footer { min-height: 44px; margin-top: 0; padding-bottom: 0; }
	body.pl--login .pl-card { gap: 14px; padding: 28px 31px 24px; }
	body.pl--login .pl-card__title { font-size: 30px; line-height: 38px; }
	body.pl--login .pl-card__field input { height: 42px; }
	body.pl--login .pl-btn-login { height: 46px; }
	body.pl--login .pl-card__register { gap: 2px; }
	body.pl--login .pl-hero__title { font-size: 48px; line-height: 54px; }
	body.pl--login .pl-hero__lead { font-size: 22px; line-height: 30px; }
	body.pl--login .pl-hero__copy { gap: 20px; }
}

@media (min-width: 992px) and (max-height: 720px) {
	body.pl--login .pl-benefits { min-height: 64px; }
	body.pl--login .pl-benefit img { width: 28px; height: 28px; flex-basis: 28px; }
	body.pl--login .pl-benefit span { font-size: 14px; }
	body.pl--login .pl-login-footer { min-height: 38px; }
	body.pl--login .pl-card { gap: 10px; padding: 22px 28px 20px; }
	body.pl--login .pl-card__heading { gap: 0; }
	body.pl--login .pl-card__title { font-size: 26px; line-height: 34px; }
	body.pl--login .pl-card__subtitle { font-size: 14px; line-height: 20px; }
	body.pl--login .pl-card__field { gap: 2px; }
	body.pl--login .pl-card__field input { height: 40px; }
	body.pl--login .pl-card__options { min-height: 24px; }
	body.pl--login .pl-btn-login { height: 42px; font-size: 16px; }
	body.pl--login .pl-card__register { line-height: 1.35; }
	body.pl--login .pl-hero__title { font-size: 40px; line-height: 46px; }
	body.pl--login .pl-hero__lead { font-size: 19px; line-height: 27px; }
	body.pl--login .pl-hero__copy { gap: 16px; }
}
