#main a:not(.btn) {
	color: var(--primary);
}

#main a:not(.btn):hover {
	color: var(--primaryDark);
	text-decoration: underline;
}

#product-info .data {
	position: relative;
	isolation: isolate;
	line-height: 1.1;
	padding-bottom: 3px;
}

#product-info .data::after {
	content: "";
	display: block;
	width: 100%;
	height: 10px;
	background-image: linear-gradient(90deg, var(--primary), var(--secondary));
	position: absolute;
	z-index: -1;
	bottom: 0;
	left: 0;
	opacity: 0.5;
}

#product-info .lead {
	margin: 20px 0;
	line-height: 1.3;
	font-weight: bold;
}

.additional-data p {
	line-height: 1.3;
}

#product-info ul {
	padding-left: 1.1em;
	margin-bottom: 0;
}

#product-info li {
	margin: 0;
	list-style-image: url(/assets/img/check.svg);
}

#product-info li + li {
	margin-top: 0.8em;
}

.swiper-gallery {
	height: 100%;
	position: relative;
	z-index: 1;
}

.swiper-gallery .swiper-button-next::after,
.swiper-gallery .swiper-button-prev::after {
	color: white;
}

.for-swiper-thumbs {
	position: absolute;
	z-index: 20;
	bottom: 5px;
	padding-left: 25%;
	padding-right: 25%;
}

.swiper-thumbs {
	width: auto;
	overflow: visible !important;
}

.swiper-thumbs .swiper-slide-thumb-active {
	box-shadow: 0 0 30px var(--secondary);
}

.swiper-thumbs .swiper-slide {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swiper-thumbs .swiper-slide img {
	width: 100%;
}

.sub main {
	padding: var(--sectionPadding) 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(--primary);
}

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

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

.downloads {
	display: grid;
	grid-column: 2;
	gap: 10px;
}

.downloads a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 2px solid black;
	box-sizing: border-box;
	padding: 15px;
	text-decoration: none;
	color: var(--textColor);
	line-height: 1;
	transition: all var(--fastSpeed);
	background: black;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
}

.downloads a:hover {
	border-color: #00000080;
}

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

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

.downloads .size {
	opacity: 0.6;
	font-size: 0.875rem;
	font-weight: 400;
}

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

.downloads strong {
	line-height: 1;
	display: block;
	padding-right: 15px;
}

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

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

textarea {
	height: 15rem;
}

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



/* BLOG */

.card-image {
  margin-bottom: 0.75rem;
  display: block;
  width: 100%;
  overflow: hidden;

  img {
    display: block;
    width: 100%;
    transition: transform 300ms ease;
  }
}

.card:hover {
  cursor: pointer;

  .card-image img {transform: scale(1.05)}
}

.card-title {
  font-size: var(--h4);
}

.card-title-link {
  color: black;
  transition: color 200ms;

  &:hover {
    color: var(--primary)
  }
}

.thumbnail {max-width: 40%}




/*

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

*/

@media screen and (max-width: 1023px) {
	aside {
		order: 666;
		margin-bottom: 100px;
	}

	.sub h1 {
		font-size: clamp(var(--h3), var(--h2), 4vw);
	}
	.sub h2 {
		font-size: clamp(var(--h4), var(--h2), 3.5vw);
	}
	.sub h3 {
		font-size: clamp(var(--h5), var(--h3), 3vw);
	}
	.sub h4 {
		font-size: clamp(var(--h6), var(--h4), 2.7vw);
	}
	.sub h5 {
		font-size: clamp(var(--h6), var(--h5), 2.4vw);
	}

	.lead {
		font-size: 1.3rem;
		line-height: 1.4;
	}
}

@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;
	}
}

@media screen and (max-width: 479px) {
	.xs\:grid.gallery {
		display: grid;
		grid-template-columns: 1fr;
		gap: 15px;
	}
}
