aside, .sub:not(.produkt) main {
	padding: calc(var(--sectionPadding) / 2) 0;
}

#product {
	background-color: var(--bgLight);
}

.spozywcza #product {background-color: var(--spozywcza);}
.kosmetyczna #product {background-color: var(--kosmetyczna);}
.chemiczna #product {background-color: var(--chemiczna);}
.farmaceutyczna #product {background-color: var(--farmaceutyczna);}



.sub h1 {
	margin-top: 0;
	margin-bottom: 30px;
}

aside h4 {
	font-size: var(--h5);
	margin-top: 0;
}

aside .nav {
	margin: 0;
	padding: 0;
	width: 100%;
}

aside .nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

aside .nav a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	line-height: 1.3;
	padding: 10px 25px;
	text-decoration: none;
	border-left: 2px solid var(--borderColor);
	transition: all .2s;
	color: var(--textColor);
}

aside .nav a:hover,
aside .nav .active > a,
aside .nav a.active {
	border-left-color: var(--primary);
}

aside .nav a:hover {
	padding-left: 30px;
	padding-right: 20px;
}

aside .nav .active > a,
aside .nav a.active {color: var(--primary);}


.gallery a {
	overflow: hidden;
}

.gallery img {
	display: block;
	width: 100%;
	transition: all var(--normalSpeed) var(--ease);
}

.gallery a:hover img {
	transform: scale(1.1);
}


.downloads a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	box-sizing: border-box;
	padding: 15px 30px;
	text-decoration: none;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	box-shadow: 0 0 30px hsl(0, 0%, 0%, .1);
}

.downloads a:hover {
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -5px hsl(0, 0%, 0%, .2);
}

.downloads a img:not(.download-icon) {
	height: 52px;
	border-radius: 0;
}

.download-icon {
	height: 18px;
	display: block;
	margin-left: 30px;
	border-radius: 0;
	filter: grayscale(1);
}

.downloads .size {
	opacity: .6;
	font-size: 0.875rem;
}

.downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 30px;
}

.downloads strong {
	font-weight: 400;
	line-height: 1.3;
	display: block;
	padding-right: 30px;
}

form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

label a {
	text-decoration: none;
	color: var(--primary);
}

label p,
label li {
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	margin-bottom: 0.5em;
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--borderColor);
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

textarea {
	height: 16.1rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}



#other-products .md\:w-2-12 {margin-bottom: 60px;}

.card {cursor: pointer;}

.card-image {
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid hsl(0 0% 95%);
	width: 100%;
	aspect-ratio: 2/3;
}

.card-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform .4s var(--ease);
}

.card:hover .card-image img {transform: scale(1.1);}

.card-title--link {color: var(--titleColor); transition: color .2s;}

.card:hover .card-title--link {color: var(--secondary);}
.card-body p {
	font-size: 0.75rem;
}

main ol {
	gap: 30px;
	margin: 30px 0 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	counter-reset: count;
}

main ol li {
	margin: 0;
	padding: 0;
	counter-increment: count;
	font-size: 0.875rem;
}

main ol li::before {
	content: counter(count);
	display: block;
	font-size: 8rem;
	font-weight: bold;
	line-height: 1;
	color: var(--secondary);
}

main ol li strong {
	display: block;
	clear: both;
	font-size: var(--h5);
	line-height: 1.3;
	margin-bottom: .7em;
	position: relative;
}

main ol li strong::after {
	content:'';
	display: block;
	width: 60px;
	height: 3px;
	background: var(--primary);
	margin-top: .7em;
}

#videos video {
	margin-bottom: 30px;
	width: 100%;
	display: block;
	height: auto;
	aspect-ratio: 16/9;
}




.zlecenie-amp .poi {
	width: 80px;
	height: 80px;
	position: absolute;
	left: calc(50% - 40px);
}

.zlecenie-amp .poi-1 {top: 15%}
.zlecenie-amp .poi-2 {top: 33%}
.zlecenie-amp .poi-3 {top: 50%}
.zlecenie-amp .poi-4 {top: 65%}

.zlecenie-amp .poi img {
	cursor: pointer;
	width: 80px;
	transition: all .5s var(--ease);
	animation: poi-pulse 4s linear infinite forwards;
}


.zlecenie-amp .poi-1 img {animation-delay: 100ms;}
.zlecenie-amp .poi-2 img {animation-delay: 300ms;}
.zlecenie-amp .poi-3 img {animation-delay: 500ms;}
.zlecenie-amp .poi-4 img {animation-delay: 700ms;}

.zlecenie-amp .poi img:hover,
.zlecenie-amp .poi img.active {
	transform: scale(1.1);
	animation-play-state: paused;
	animation-name: none;
}

.zlecenie-amp .poi span {
	position: absolute;
	top: 25%;
	right: calc(100% + 45px);
	font-size: clamp(.85rem, 1.5rem, 3vw);
	transform: translateX(45px);
	transition: all .6s var(--ease);
	opacity: 0;
}

.zlecenie-amp .poi:nth-child(even) span {
	right: auto;
	left: calc(100% + 45px);
	transform: translateX(-45px);
}

.zlecenie-amp .poi:hover span,
.zlecenie-amp .poi span.show {
	transform: translateX(0);
	opacity: 1;
}

@keyframes poi-pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	5% {
		transform: scale(.8);
	}

	10% {
		transform: scale(.8);
	}

	15% {
		transform: scale(1.1);
	}

	20% {
		transform: scale(1);
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}



.p-grid {
	grid-template-columns: 60% auto;
}

#videos .p-grid video {
	aspect-ratio: auto;
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin-bottom: 0;
}












/*

			M  E  D  I  A
			Q U E R I E S

*/


@media screen and (max-width: 1199px) {
	h1, .h1 {font-size: var(--h2);}

	#other-products .md\:w-2-12 {
		width: calc(100% * 4/12);
		max-width: calc(100% * 4/12);
		flex-basis: calc(100% * 4/12);
	}

	.card-image {aspect-ratio: 2/2.5;}
}


@media screen and (max-width: 1022px) {
	main ol {
		grid-template-columns: 1fr;
	}
}


@media screen and (max-width: 590px) {
	.download-icon, .downloads .size {display: none;}

	.downloads a {
		padding: 15px;
	}

	.downloads .text {
		margin-left: 15px;
	}

	.downloads strong {
		padding-right: 0;
		font-size: 0.875rem;
	}

	.downloads a img:not(.download-icon) {
		height: 30px;
	}

	h1 {font-size: var(--h3);}
	h2 {font-size: var(--h4);}
	h3 {font-size: var(--h5);}

	#other-products .md\:w-2-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	.card-image {
		aspect-ratio: 1/1;
	}
}