.sub header .container-lg {
	padding: 0;
	overflow: hidden;
}

.sub header .relative::after {
	content: "";
	display: block;
	width: 350px;
	aspect-ratio: 1;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;

	position: absolute;
	bottom: -65px;
	right: -65px;
	z-index: 20;

	mix-blend-mode: multiply;
	background-color: var(--green);
}

.card {
	border-radius: 1rem;
	box-shadow: 0 0 30px hsl(0 0% 0% / 0.1);
	overflow: hidden;
	-webkit-border-radius: 1rem;
	-moz-border-radius: 1rem;
	-ms-border-radius: 1rem;
	-o-border-radius: 1rem;

	cursor: pointer;
}

.card-image {
	overflow: hidden;
	border-radius: 1rem 1rem 0 0;
	-webkit-border-radius: 1rem 1rem 0 0;
	-moz-border-radius: 1rem 1rem 0 0;
	-ms-border-radius: 1rem 1rem 0 0;
	-o-border-radius: 1rem 1rem 0 0;
}

.card-image img {
	transition: transform var(--normalSpeed) var(--ease);
	-webkit-transition: transform var(--normalSpeed) var(--ease);
	-moz-transition: transform var(--normalSpeed) var(--ease);
	-ms-transition: transform var(--normalSpeed) var(--ease);
	-o-transition: transform var(--normalSpeed) var(--ease);
}

.card:hover .card-image img {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
}

.card-body {
	padding: 30px;
}

.card-body .btn {
	padding: 1em 1.5em;
}

.card-title {
	margin-bottom: 1.9rem;
	gap: 30px;
	flex-wrap: nowrap;
}

.card-title--link {
	font-size: 1.3125rem;
	font-weight: bold;
	line-height: 1.1;
	color: black;
	text-decoration: none;
	transition: color 0.2s;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-ms-transition: color 0.2s;
	-o-transition: color 0.2s;
}

.card-title--link:hover {
	color: var(--primary);
}

.card-price {
	flex-shrink: 0;
	line-height: 1;
}

.card-price strong {
	font-size: clamp(1rem, 1.5vw, 1.75rem);
}

.card-price span {
	font-size: clamp(.75rem, 1vw, 0.875rem);
}

.dane-table .gap-60 {
	gap: clamp(1rem, 2.5vw, 3.75rem);
}

.card-body .md\:w-4-12 .flex {
	flex-wrap: nowrap;
	font-size: 0.6875rem;
}

sup {
	top: 0;
	font-size: 70%;
}

.card-body .md\:w-4-12 .flex + .flex {
	margin-top: 10px;
}

aside .gallery {
	gap: 10px;
	padding-right: 60px;
}

aside .gallery a:first-child {
	grid-column: span 3;
}

.dane ul {
	flex: 1;
	margin: 0;
	padding: 0;
	columns: 2;
	-webkit-columns: 2;
	-moz-columns: 2;
	column-gap: 30px;
}

.dane li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	padding: 15px 0;
	margin: 0;
	border-top: 1px solid var(--bgLight);
}

.dane-table {
	border-radius: .5rem;
	padding: clamp(.75rem, 2vw, 2rem);
	border: clamp(3px, .5vw, 1rem) solid var(--bgLight);
}

.dane h3.h4 {
	color: var(--primary);
	margin-bottom: 1.5rem;
}

.dane .flex h5 {
	font-weight: normal;
	font-size: clamp(.875rem, 1.5vw, var(--h5));
}

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

.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 0.2s;
	color: var(--textColor);
}

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

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;
	border-radius: 1rem;
	-webkit-border-radius: 1rem;
	-moz-border-radius: 1rem;
	-ms-border-radius: 1rem;
	-o-border-radius: 1rem;
}

.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;
	border-radius: 0.5rem;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	box-shadow: 0 0 30px hsl(0, 0%, 0%, 0.1);
	-webkit-border-radius: 0.5rem;
	-moz-border-radius: 0.5rem;
	-ms-border-radius: 0.5rem;
	-o-border-radius: 0.5rem;
}

.downloads a:hover {
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -5px hsl(0, 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: 0.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: 0.8rem 1rem;
	border: 2px solid var(--borderColor);
	border-radius: 0.5rem;
	-webkit-border-radius: 0.5rem;
	-moz-border-radius: 0.5rem;
	-ms-border-radius: 0.5rem;
	-o-border-radius: 0.5rem;
}

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

textarea {
	height: 21.7rem;
}

.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);
}

.sub section {
	clear: both;
	width: 100%;
}

.linki ul {
	list-style: none;
	padding: 0;
	margin-top: 2rem;
	display: grid;
	gap: 1rem;
	width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));

	a {
		color: black;
		text-decoration: none;
		transition: color 200ms;

		&:hover {
			color: var(--primary);
			text-decoration: underline;
		}
	}
}




/*

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

*/


@media screen and (max-width: 1536px) {
	.card-body .btn {
		padding: .7vw .55vw;
		font-size: clamp(.6rem, .875rem, 1.2vw);
	}

	.card-body .md\:w-4-12:last-child {
		display: flex;
		align-items: flex-start;
		justify-content: flex-end;
	}

	header .md\:w-6-12 .md\:p-90 {
		padding: 5vw;
	}

	header .md\:w-6-12 h1 {
		font-size: clamp(2rem, var(--h2), 4vw);
	}
}


@media screen and (max-width: 1400px) {
	.card-body {
		padding: 15px;
	}
}



@media screen and (max-width: 1200px) {
	header p {
		font-size: .875rem;
	}

	header .md\:w-6-12 .md\:p-90 {
		padding: 4vw;
	}

	.sub header .relative::after {
		width: 20vw;
	}

	.card-body .md\:w-4-12:last-child {display: none;}

	.card-body .md\:w-4-12 {
		width: 50%;
		max-width: 50%;
		flex-basis: 50%;
	}

	.card-title--link {font-size: 1.1rem;}

	.card-price strong {
		font-size: 1.35rem;
	}

	.card-body small {font-size: .65rem;}

	aside .gallery {
		padding-right: 0;
	}

	#main h1 {
		font-size: var(--h2);
	}

	.dane li {
		font-size: .875rem;
	}

}


@media screen and (max-width: 1023px) {
	.card-body .md\:w-4-12 {
		width: 50%;
		max-width: 50%;
		flex-basis: 50%;
		padding-left: 15px;
		padding-right: 15px;
	}

	.card-body .md\:row {
		margin-left: -15px;
		margin-right: -15px;
		flex-direction: row;
	}

	aside {
		order: 999;
		margin-top: 30px;
	}

	aside .gallery a:first-child {
		grid-column: span 2;
	}

	aside .gallery a:not(first-child) {
		aspect-ratio: 16/9;
		width: 100%;
	}

	aside .gallery a:not(first-child) img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	#form h3 {
		margin-top: 50px;
		margin-bottom: 20px;
	}
}



@media screen and (max-width: 639px) {
	.sub h1 {font-size: var(--h3) !important}
	.sub h2 {font-size: var(--h4) !important}
	.sub h3 {font-size: var(--h5) !important}
	.sub h4 {font-size: var(--h6) !important}

	.thumbnail.right {
		margin: 0 0 1.5rem 0;
		width: 100%;
		max-width: 999em;
	}
}



@media screen and (max-width: 599px) {
	.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;
	}

	.dane ul {columns: 1;}
}
