/* KRAAB SYSTEMS single product page. */
.kraab-product {
	--kraab-ink: #292726;
	--kraab-muted: #686868;
	--kraab-line: #dedde0;
	--kraab-surface: #f6f6f6;
	--kraab-container: 1366px;
	color: var(--kraab-ink);
	font-family: Manrope, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	width: 100%;
}

.kraab-product,
.kraab-product * {
	box-sizing: border-box;
}

.kraab-product img,
.kraab-product svg {
	display: block;
}

.kraab-product img {
	height: auto;
	max-width: 100%;
}

.kraab-product__sr-only {
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.kraab-product__container {
	margin: 0 auto;
	max-width: var(--kraab-container);
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

.kraab-product__hero {
	background: var(--kraab-surface);
	margin-top: 10px;
	padding: 50px 0;
}

.kraab-product__hero-grid {
	align-items: center;
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.kraab-product__hero-grid--summary-only {
	grid-template-columns: minmax(0, 760px);
}

.kraab-product__gallery {
	min-width: 0;
	outline: none;
}

.kraab-product__gallery:focus-visible .kraab-product__gallery-stage {
	outline: 2px solid var(--kraab-ink);
	outline-offset: 3px;
}

.kraab-product__gallery-stage {
	align-items: center;
	background: transparent;
	display: flex;
	height: 415px;
	justify-content: center;
	min-height: 415px;
	overflow: hidden;
	position: relative;
}

.kraab-product__gallery-link {
	align-items: center;
	display: flex;
	height: 415px;
	justify-content: center;
	min-height: 415px;
	padding: 0;
	width: 100%;
}

.kraab-product__gallery-main-image {
	height: 100%;
	max-height: none;
	object-fit: cover;
	width: 100%;
}

.kraab-product .kraab-product__gallery-arrow {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #333;
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, border-color 0.2s ease;
	width: 44px;
	z-index: 2;
}

.kraab-product .kraab-product__gallery-arrow:hover,
.kraab-product .kraab-product__gallery-arrow:focus,
.kraab-product .kraab-product__gallery-arrow:focus-visible,
.kraab-product .kraab-product__gallery-arrow:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #333;
	outline-color: #333;
}

.kraab-product__gallery-arrow svg {
	fill: none;
	height: 30px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 30px;
}

.kraab-product__gallery-arrow--previous {
	left: 10px;
}

.kraab-product__gallery-arrow--next {
	right: 10px;
}

.kraab-product__gallery-thumbnails {
	display: grid;
	gap: 10px;
	grid-auto-columns: calc((100% - 40px) / 5);
	grid-auto-flow: column;
	margin-top: 20px;
	overflow-x: auto;
	padding: 0;
	scrollbar-width: thin;
}

.kraab-product .kraab-product__gallery-thumbnail {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	display: flex;
	height: auto;
	aspect-ratio: 16 / 9;
	justify-content: center;
	min-height: 0;
	opacity: 0.72;
	overflow: hidden;
	padding: 0;
	transition: opacity 0.2s ease;
}

.kraab-product .kraab-product__gallery-thumbnail[aria-current="true"] {
	opacity: 1;
}

.kraab-product .kraab-product__gallery-thumbnail:hover,
.kraab-product .kraab-product__gallery-thumbnail:focus,
.kraab-product .kraab-product__gallery-thumbnail:focus-visible,
.kraab-product .kraab-product__gallery-thumbnail:active {
	background: #fff;
	border: 0;
	box-shadow: none;
	color: #333;
	opacity: 1;
	outline-color: #333;
}

.kraab-product__gallery-thumbnail img {
	height: 100%;
	min-height: 0;
	min-width: 0;
	object-fit: cover;
	width: 100%;
}

.kraab-product__summary {
	min-width: 0;
	overflow-wrap: anywhere;
	padding-left: 30px;
}

.kraab-product__title {
	color: var(--kraab-ink);
	font-family: inherit;
	font-size: 45px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.1;
	margin: 0;
}

.kraab-product__title-name,
.kraab-product__subtitle {
	display: block;
}


.kraab-product__subtitle {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

.kraab-product__intro {
	color: #000;
	font-size: 16px;
	line-height: 24px;
	margin-top: 30px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.kraab-product__intro > :first-child,
.kraab-product__description > div > :first-child {
	margin-top: 0;
}

.kraab-product__intro > :last-child,
.kraab-product__description > div > :last-child {
	margin-bottom: 0;
}

.kraab-product__price {
	color: var(--kraab-ink);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	margin-top: 30px;
}

.kraab-product__price .woocommerce-Price-currencySymbol {
	white-space: nowrap;
}

.kraab-product__section {
	padding-top: 50px;
}

.kraab-product__section:last-child {
	padding-bottom: 50px;
}

.kraab-product__section-title {
	border-bottom: 1px solid var(--kraab-line);
	color: var(--kraab-ink);
	font-family: inherit;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
	padding-bottom: 15px;
	text-transform: uppercase;
}

.kraab-product__parameters {
	align-items: center;
	background: var(--kraab-surface) url("../../parambg.png") center / cover no-repeat;
	display: flex;
	justify-content: center;
	min-height: 0;
	padding: 75px 0;
}

.kraab-product__parameters img {
	max-height: none;
	object-fit: contain;
}

.kraab-product__description {
	display: grid;
	gap: clamp(30px, 5vw, 64px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kraab-product__description > div {
	min-width: 0;
	overflow-wrap: anywhere;
}

.kraab-product__description--single {
	grid-template-columns: minmax(0, 900px);
}

.kraab-product__characteristics {
	display: grid;
	gap: 15px 50px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.kraab-product__characteristic {
	align-items: baseline;
	border-bottom: 0;
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) max-content;
	justify-content: space-between;
	padding: 0;
}

.kraab-product__characteristic dt,
.kraab-product__characteristic dd {
	margin: 0;
	min-width: 0;
	overflow-wrap: normal;
	word-break: normal;
}

.kraab-product__characteristic dt {
	font-weight: 700;
	text-transform: uppercase;
}

.kraab-product__characteristic dd {
	text-align: right;
	white-space: nowrap;
}

.kraab-product__characteristic dd > :first-child {
	margin-top: 0;
}

.kraab-product__characteristic dd > :last-child {
	margin-bottom: 0;
}

.kraab-product__configuration-scroll {
	max-width: 100%;
	overflow-x: visible;
	-webkit-overflow-scrolling: touch;
}

.kraab-product__configuration-scroll > .kct-table-region {
	margin-top: 0;
}

.kraab-product__files {
	display: flex;
	flex-wrap: wrap;
	column-gap: 50px;
	row-gap: 12px;
}

.kraab-product a.kraab-product__file,
.kraab-product a.kraab-product__file:hover,
.kraab-product a.kraab-product__file:focus,
.kraab-product a.kraab-product__file:focus-visible,
.kraab-product a.kraab-product__file:active {
	align-items: center;
	border-bottom: 0;
	color: var(--kraab-ink);
	display: inline-flex;
	font-weight: 400;
	gap: 8px;
	min-height: 32px;
	padding: 0;
	text-decoration: none;
}

.kraab-product__file span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.kraab-product__file:hover,
.kraab-product__file:focus-visible {
	color: var(--kraab-muted);
}

.kraab-product__file svg {
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 18px;
}

.kraab-product__cards {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kraab-product__card {
	background: #fff;
	color: var(--kraab-ink);
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	text-decoration: none;
}

.kraab-product__card:hover,
.kraab-product__card:focus-visible {
	color: var(--kraab-ink);
	transform: none;
}

.kraab-product__card-copy {
	background: #fff;
	padding: 14px 10px 16px;
	position: relative;
	z-index: 1;
}

.kraab-product__card-media {
	align-items: center;
	aspect-ratio: 4 / 3;
	background: var(--kraab-surface);
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 12px;
	width: 100%;
}

.kraab-product__card h3 {
	color: inherit;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

.kraab-product__card p {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	margin: 7px 0 0;
}

.kraab-product .kraab-product__card-media img {
	height: 100%;
	margin: 0;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	padding: 0;
	width: 100%;
}

.kraab-product__video {
	background: transparent;
	margin: 0 auto;
	max-width: none;
	overflow: hidden;
}

.kraab-product__video iframe,
.kraab-product__video video {
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
	height: auto;
	width: 100%;
}

.kraab-product--protected {
	padding: 60px 0;
}

@media (max-width: 1024px) {
	.kraab-product__hero-grid {
		gap: 0;
	}

	.kraab-product__gallery-stage,
	.kraab-product__gallery-link {
		height: 360px;
		min-height: 360px;
	}

	.kraab-product__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.kraab-product__container {
		padding-left: 10px;
		padding-right: 10px;
	}

	.kraab-product__hero {
		margin-top: 0;
		padding: 0 0 50px;
	}

	.kraab-product__hero-grid {
		gap: 30px;
		grid-template-columns: minmax(0, 1fr);
	}

	.kraab-product__summary {
		padding-left: 0;
	}

	.kraab-product__gallery-stage,
	.kraab-product__gallery-link {
		height: 270px;
		min-height: 270px;
	}

	.kraab-product__gallery-link {
		padding: 0;
	}

	.kraab-product__gallery-main-image {
		max-height: none;
	}

	.kraab-product__gallery-thumbnails {
		grid-auto-columns: calc((100% - 20px) / 3);
		margin-top: 10px;
	}

	.kraab-product__gallery-arrow {
		height: 40px;
		width: 40px;
	}

	.kraab-product__gallery-arrow--previous {
		left: 8px;
	}

	.kraab-product__gallery-arrow--next {
		right: 8px;
	}

	.kraab-product__title {
		font-size: 24px;
		line-height: 30px;
	}

	.kraab-product__subtitle {
		font-size: 16px;
		line-height: 24px;
	}

	.kraab-product__section-title {
		font-size: 32px;
	}

	.kraab-product__description,
	.kraab-product__characteristics {
		grid-template-columns: minmax(0, 1fr);
	}

	.kraab-product__characteristic {
		gap: 14px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.kraab-product__characteristic dt,
	.kraab-product__characteristic dd {
		overflow-wrap: anywhere;
	}

	.kraab-product__characteristic dd {
		white-space: normal;
	}

	.kraab-product__files {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.kraab-product a.kraab-product__file,
	.kraab-product a.kraab-product__file:hover,
	.kraab-product a.kraab-product__file:focus,
	.kraab-product a.kraab-product__file:focus-visible,
	.kraab-product a.kraab-product__file:active {
		justify-content: space-between;
		min-height: 44px;
		padding: 6px 0;
		width: 100%;
	}

	.kraab-product__cards {
		display: flex;
		gap: 10px;
		grid-template-columns: none;
		margin-left: -10px;
		margin-right: -10px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		padding: 0 10px 14px;
		scroll-padding-inline: 10px;
		scroll-snap-type: x proximity;
		scrollbar-color: #aaa transparent;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.kraab-product__cards::-webkit-scrollbar {
		height: 8px;
	}

	.kraab-product__cards::-webkit-scrollbar-thumb {
		background: #aaa;
		background-clip: padding-box;
		border: 2px solid transparent;
		border-radius: 999px;
	}

	.kraab-product__card {
		flex: 0 0 min(87%, 320px);
		min-height: 0;
		scroll-snap-align: start;
		width: auto;
	}

	.kraab-product__card-copy {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kraab-product__card,
	.kraab-product__gallery-arrow {
		transition: none;
	}
}

/* Product gallery lightbox. */
body.kraab-lightbox-open {
	overflow: hidden;
}

.kraab-product__lightbox[hidden] {
	display: none !important;
}

.kraab-product__lightbox {
	align-items: center;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 40px 72px;
	position: fixed;
	z-index: 1000000;
}

.kraab-product__lightbox-media {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	max-height: 100%;
	max-width: 100%;
	pointer-events: none;
	width: 100%;
}

.kraab-product__lightbox-image {
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
	height: auto;
	max-height: calc(100vh - 80px);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.kraab-product__lightbox .kraab-product__lightbox-close,
.kraab-product__lightbox .kraab-product__lightbox-arrow {
	align-items: center;
	appearance: none;
	border: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	display: flex;
	height: 52px;
	justify-content: center;
	margin: 0;
	padding: 0;
	position: absolute;
	width: 52px;
	z-index: 2;
}

.kraab-product__lightbox .kraab-product__lightbox-close {
	background: rgba(255, 255, 255, 0.12) !important;
	border-radius: 50% !important;
	transition: background-color 0.2s ease;
}

.kraab-product__lightbox .kraab-product__lightbox-arrow {
	background: transparent !important;
	border-radius: 0 !important;
	transition: opacity 0.2s ease;
}

.kraab-product__lightbox .kraab-product__lightbox-close:hover,
.kraab-product__lightbox .kraab-product__lightbox-close:focus,
.kraab-product__lightbox .kraab-product__lightbox-close:focus-visible {
	background: rgba(255, 255, 255, 0.24) !important;
	color: #fff !important;
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.kraab-product__lightbox .kraab-product__lightbox-arrow:hover,
.kraab-product__lightbox .kraab-product__lightbox-arrow:focus {
	background: transparent !important;
	color: #fff !important;
	opacity: 0.7;
	outline: 0;
}

.kraab-product__lightbox .kraab-product__lightbox-arrow:focus-visible {
	background: transparent !important;
	color: #fff !important;
	opacity: 1;
	outline: 2px solid #fff;
	outline-offset: 0;
}

.kraab-product__lightbox-close {
	right: 22px;
	top: 22px;
}

.kraab-product__lightbox-arrow {
	top: 50%;
	transform: translateY(-50%);
}

.kraab-product__lightbox-arrow--previous {
	left: 18px;
}

.kraab-product__lightbox-arrow--next {
	right: 18px;
}

.kraab-product__lightbox-close svg,
.kraab-product__lightbox-arrow svg {
	fill: none;
	height: 28px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 28px;
}

@media (max-width: 767px) {
	.kraab-product__lightbox {
		padding: 68px 14px 24px;
	}

	.kraab-product__lightbox-image {
		max-height: calc(100vh - 92px);
	}

	.kraab-product__lightbox .kraab-product__lightbox-close,
	.kraab-product__lightbox .kraab-product__lightbox-arrow {
		height: 48px;
		width: 48px;
	}

	.kraab-product__lightbox-close {
		right: 12px;
		top: 12px;
	}

	.kraab-product__lightbox-arrow--previous {
		left: 6px;
	}

	.kraab-product__lightbox-arrow--next {
		right: 6px;
	}
}
