/* Inner pages shared with original welseone.com section sites */

.wl-inner-page {
	padding-bottom: 64px;
	background: #fff;
	font-family: var(--wl-font-text);
}

.wl-page-banner {
	width: 100%;
	line-height: 0;
	overflow: hidden;
	background: #111;
}

.wl-page-banner img {
	width: 100%;
	height: auto;
	aspect-ratio: 1920 / 550;
	object-fit: cover;
	object-position: center;
}

.wl-page-banner--slider {
	position: relative;
	aspect-ratio: 1920 / 550;
}

.wl-page-banner__viewport {
	position: relative;
	width: 100%;
	height: 100%;
}

.wl-page-banner__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

.wl-page-banner__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.wl-page-banner--slider img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
}

.wl-page-banner__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	line-height: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transform: translateY(-50%);
	transition: background 0.2s ease;
}

.wl-page-banner__arrow svg {
	display: block;
	flex-shrink: 0;
}

.wl-page-banner__arrow:hover {
	background: rgba(200, 22, 29, 0.9);
}

.wl-page-banner__arrow--prev {
	left: 20px;
}

.wl-page-banner__arrow--next {
	right: 20px;
}

.wl-page-banner__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.wl-page-banner__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.wl-page-banner__dot.is-active {
	width: 22px;
	border-radius: 6px;
	background: #fff;
}

.wl-inner-toolbar {
	border-bottom: 1px solid #ccc;
	background: #fff;
}

.wl-inner-toolbar__row {
	display: flex;
	align-items: center;
	padding: 25px 0;
}

.wl-inner-page__body {
	padding: 48px 0;
}

.wl-inner-heading {
	margin: 48px auto 32px;
	text-align: center;
	max-width: 820px;
}

.wl-inner-heading p {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #111;
}

.wl-inner-heading h1,
.wl-inner-heading h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 400;
}

.wl-inner-heading em {
	display: block;
	width: 80px;
	height: 3px;
	margin: 20px auto;
	background: var(--wl-red);
}

.wl-inner-heading span {
	display: block;
	font-size: 18px;
	line-height: 1.7;
	color: #111;
}

/* About */
.wl-about-page {
	padding-top: 36px;
}

.wl-about-page__copy p {
	margin: 0 0 0.85em;
	font-size: 20px;
	line-height: 1.65;
	color: #111;
	text-align: left;
	text-align-last: left;
	word-spacing: normal;
}

.wl-about-values {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	list-style: none;
	margin: 36px 0;
	padding: 0;
	background: #fafafa;
}

.wl-about-values__photo,
.wl-about-values__item {
	min-height: 200px;
	text-align: center;
	box-sizing: border-box;
}

.wl-about-values__photo {
	position: relative;
	padding: 0;
	overflow: hidden;
}

.wl-about-values__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wl-about-values__item {
	padding: 20px 8px 16px;
}

.wl-about-values__item.is-alt {
	background: #efefef;
}

.wl-about-values__item.is-brand,
.wl-about-values__item:hover {
	background: var(--wl-red);
}

.wl-about-values__item.is-brand p,
.wl-about-values__item.is-brand span,
.wl-about-values__item:hover p,
.wl-about-values__item:hover span {
	color: #fff;
}

.wl-about-values__item p {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
}

.wl-about-values__item span {
	display: block;
	font-size: 18px;
	line-height: 1.35;
	color: #111;
}

/* Products */
.wl-inner-page--products .wl-inner-toolbar {
	position: sticky;
	top: 74px;
	z-index: 80;
	background: #fff;
}

.wl-products-catalog {
	padding: 40px 0 24px;
}

.wl-products-layout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.wl-product-filter__open,
.wl-product-filter__close,
.wl-product-filter-overlay {
	display: none;
}

.wl-product-filter__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px;
}

.wl-product-filter__head .wl-product-filter__title {
	margin: 0;
}

.wl-products-sidebar {
	position: sticky;
	top: 120px;
}

.wl-product-filter {
	padding: 8px 8px 8px 0;
	border-right: 1px solid #eee;
}

.wl-product-section__search-note {
	margin: -12px 0 24px;
	color: #111;
	font-size: 18px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wl-product-filter__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111;
}

.wl-product-filter__list,
.wl-product-filter__children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-product-filter__list > li {
	margin: 0 0 4px;
}

.wl-product-filter__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wl-product-filter__row > a {
	min-width: 0;
	flex: 0 1 auto;
}

.wl-product-filter__toggle-spacer {
	display: none;
}

.wl-product-filter a {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	padding: 8px 0;
	color: #111;
	text-decoration: none;
	font-size: 18px;
	line-height: 1.4;
	white-space: nowrap;
}

.wl-product-filter a span {
	color: #111;
	font-size: 18px;
	flex-shrink: 0;
}

.wl-product-filter a:hover,
.wl-product-filter .is-current > a,
.wl-product-filter .is-current > .wl-product-filter__row > a {
	color: var(--wl-red);
	font-weight: 600;
}

.wl-product-filter .is-current > a span,
.wl-product-filter .is-current > .wl-product-filter__row > a span {
	color: var(--wl-red);
}

.wl-product-filter__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	flex-shrink: 0;
	border: 1px solid #ddd;
	border-radius: 2px;
	background: #fff;
	color: #111;
	line-height: 1;
	font-size: 14px;
	cursor: pointer;
}

.wl-product-filter__toggle:hover {
	border-color: var(--wl-red);
	color: var(--wl-red);
}

.wl-product-filter__children {
	padding: 0 0 8px 14px;
	border-left: 1px solid #eee;
	margin: 0 0 6px 6px;
}

.wl-product-filter__children a {
	padding: 6px 0;
	font-size: 18px;
}

.wl-product-series {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-product-series__card {
	display: block;
	border: 1px solid #eee;
	padding: 2px 2px 16px;
	text-decoration: none;
	color: inherit;
}

.wl-product-series__media {
	aspect-ratio: 366 / 480;
	overflow: hidden;
	background: #f7f7f7;
}

.wl-product-series__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.wl-product-series__card p {
	margin: 14px 0 4px;
	text-align: center;
	color: var(--wl-red);
	font-size: 18px;
}

.wl-product-series__card:hover p {
	color: #111;
	font-weight: 700;
}

.wl-product-series__card span {
	display: block;
	text-align: center;
	font-size: 18px;
	color: #111;
}

.wl-product-section {
	padding: 8px 0 16px;
}

.wl-product-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 28px;
}

.wl-product-section__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #111;
	min-width: 0;
}

.wl-product-view {
	display: none;
	align-items: stretch;
	flex-shrink: 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.wl-product-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 34px;
	padding: 0;
	border: 0;
	border-right: 1px solid #ddd;
	background: #fff;
	color: #111;
	cursor: pointer;
}

.wl-product-view__btn:last-child {
	border-right: 0;
}

.wl-product-view__btn:hover {
	color: var(--wl-red);
}

.wl-product-view__btn.is-active {
	color: #111;
	background: #f3f3f3;
}

.wl-product-section__title span {
	display: block;
	margin-top: 4px;
	font-size: 18px;
	font-weight: 400;
	color: #111;
}

.wl-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-product-grid__card {
	display: block;
	border: 1px solid #eee;
	padding: 2px 2px 16px;
	background: #fff;
	text-decoration: none;
	color: inherit;
}

.wl-product-grid__media {
	aspect-ratio: 366 / 520;
	overflow: hidden;
	background: #f7f7f7;
}

.wl-product-grid__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.wl-product-grid__card p {
	margin: 14px 0 0;
	text-align: center;
	color: var(--wl-red);
	font-size: 18px;
}

.wl-product-grid__card:hover p {
	color: #111;
	font-weight: 700;
}

.wl-product-grid--after-cats {
	margin-top: 40px;
}

.wl-product-pagination {
	padding: 32px 0 8px;
}

.wl-product-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-product-pagination .page-numbers a,
.wl-product-pagination .page-numbers span {
	display: inline-block;
	min-width: 36px;
	padding: 6px 10px;
	border: 1px solid #ccc;
	color: #111;
	font-size: 18px;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	background: #fff;
}

.wl-product-pagination .page-numbers a:hover {
	color: #fff;
	background: var(--wl-red);
	border-color: var(--wl-red);
}

.wl-product-pagination .page-numbers .current {
	font-weight: 700;
	color: var(--wl-red);
	background: #fff;
	border-color: var(--wl-red);
}

.wl-product-pagination .page-numbers .dots {
	border-color: transparent;
	background: transparent;
}

.wl-products-empty {
	padding: 48px 0;
	text-align: center;
	color: #111;
}

.wl-product-grid__card span {
	display: block;
	margin-top: 4px;
	text-align: center;
	font-size: 18px;
	color: #111;
}

/* Customer cases */
.wl-cases-page {
	padding-bottom: 24px;
}

.wl-cases-page .wl-inner-heading h1 {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #111;
}

.wl-cases-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-cases-page__grid a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.wl-cases-page__grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	background: #f4f4f4;
}

.wl-cases-page__grid span {
	display: block;
	padding: 14px 0 0;
	text-align: center;
	font-size: 18px;
	color: #111;
}

.wl-cases-page__grid a:hover span {
	color: var(--wl-red);
}

/* Smart center */
.wl-smart-intro {
	margin-top: 24px;
	background: #222 center / cover no-repeat;
}

.wl-smart-intro__inner {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	min-height: 205px;
	padding: 28px 0;
	color: #fff;
}

.wl-smart-intro__left {
	padding-right: 40px;
	border-right: 2px solid var(--wl-red);
}

.wl-smart-intro__left p {
	margin: 0 0 8px;
	font-size: 36px;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: 0.04em;
}

.wl-smart-intro__left span {
	font-size: 26px;
	font-weight: 300;
}

.wl-smart-intro__right p {
	margin: 0 0 12px;
	font-family: var(--wl-font-text);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: #fff;
}

.wl-smart-intro__right p:last-child {
	margin-bottom: 0;
}

.wl-smart-intro__right strong {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.wl-smart-blocks {
	margin: 48px auto 0;
}

.wl-smart-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.wl-smart-block__media img {
	width: 100%;
	height: 212px;
	object-fit: cover;
	display: block;
}

.wl-smart-block__copy {
	background: #f8f8f8;
	padding: 32px 40px;
	min-height: 212px;
	box-sizing: border-box;
}

.wl-smart-block--flip .wl-smart-block__copy {
	order: -1;
}

.wl-smart-block__rule {
	margin: 0 0 8px;
	color: var(--wl-red);
	letter-spacing: 2px;
}

.wl-smart-block__copy h2 {
	margin: 0 0 10px;
	font-size: 24px;
	color: var(--wl-red);
}

.wl-smart-block__copy p {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: #111;
	text-align: justify;
}

/* Service + contact form */
.wl-service-features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
}

.wl-service-features li {
	width: 163px;
	min-height: 220px;
	padding: 36px 12px 24px;
	text-align: center;
	background: #f7f7f7;
	box-sizing: border-box;
}

.wl-service-features img {
	width: 60px;
	height: 60px;
	margin: 0 auto 16px;
	object-fit: contain;
}

.wl-service-features em {
	display: block;
	width: 30px;
	height: 1px;
	margin: 0 auto 12px;
	background: var(--wl-red);
}

.wl-service-features p {
	margin: 0;
	font-size: 18px;
	color: #111;
}

.wl-service-form {
	max-width: 600px;
	margin: 0 auto 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wl-service-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.wl-service-form input,
.wl-service-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #999;
	border-radius: 5px;
	font-size: 18px;
	font-family: inherit;
	box-sizing: border-box;
}

.wl-service-form textarea {
	min-height: 160px;
	resize: vertical;
}

.wl-service-form .wl-btn {
	align-self: center;
	min-width: 220px;
	justify-content: center;
	font-size: 18px;
	padding: 14px 28px;
}

.wl-service-form .wl-contact__feedback {
	text-align: center;
	margin: 0;
}

/* Contact cards */
.wl-contact-cards {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr) max-content max-content;
	list-style: none;
	margin: 36px 0 16px;
	padding: 0;
}

.wl-contact-cards li {
	padding: 32px 16px;
	text-align: center;
	border-left: 1px dashed #eee;
	min-height: 200px;
	box-sizing: border-box;
}

.wl-contact-cards li.is-mail span:last-child,
.wl-contact-cards li.is-web span:last-child {
	white-space: nowrap;
}

.wl-contact-cards li:last-child {
	border-right: 1px dashed #eee;
}

.wl-contact-cards__icon {
	display: block;
	margin-bottom: 16px;
	color: var(--wl-red);
}

.wl-contact-cards span:last-child {
	display: inline-block;
	font-size: 18px;
	line-height: 1.75;
	color: #111;
	text-align: left;
}

@media (max-width: 1024px) {
	.wl-products-layout {
		grid-template-columns: 300px minmax(0, 1fr);
		gap: 28px;
	}

	.wl-about-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wl-product-grid,
	.wl-product-series,
	.wl-cases-page__grid {
		grid-template-columns: 1fr 1fr;
	}

	.wl-smart-intro__inner,
	.wl-smart-block,
	.wl-contact-cards,
	.wl-service-form__row {
		grid-template-columns: 1fr;
	}

	.wl-smart-intro__left {
		border-right: 0;
		border-bottom: 2px solid var(--wl-red);
		padding: 0 0 16px;
	}

	.wl-smart-block--flip .wl-smart-block__copy {
		order: 0;
	}

	.wl-contact-cards li,
	.wl-contact-cards li:last-child {
		border: 1px dashed #eee;
	}
}

@media (max-width: 768px) {
	.wl-products-catalog {
		padding: 12px 0 16px;
	}

	.wl-products-layout {
		position: relative;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.wl-product-view {
		display: inline-flex;
		position: relative;
		z-index: 1;
	}

	.wl-product-section__head {
		margin: 0 0 16px;
	}

	.wl-products-sidebar {
		position: static;
		margin: 0;
	}

	.wl-products-toolbar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.wl-product-filter__open {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		justify-self: start;
		min-height: 34px;
		padding: 0 14px;
		border: 1px solid #ddd;
		background: #fff;
		color: #111;
		font-size: 18px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.wl-product-filter__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		margin: 0;
		border: 0;
		background: transparent;
		color: #111;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
	}

	.wl-product-filter-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 240;
		background: rgba(0, 0, 0, 0.45);
	}

	.wl-product-filter-overlay[hidden] {
		display: none;
	}

	.wl-product-filter {
		position: fixed;
		top: var(--wl-header-height, 0px);
		left: 0;
		bottom: 0;
		z-index: 250;
		width: min(82vw, 320px);
		margin: 0;
		padding: 20px 20px 32px;
		border-right: 0;
		background: #fff;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(-105%);
		transition: transform 0.28s ease;
	}

	.wl-product-filter.is-drawer-open {
		transform: translateX(0);
	}

	body.admin-bar .wl-product-filter {
		top: var(--wl-header-height, 46px);
	}

	body.wl-filter-open {
		overflow: hidden;
	}

	.wl-inner-toolbar__row {
		padding: 10px 0;
	}

	.wl-product-section {
		padding: 0 0 12px;
	}

	.wl-about-values,
	.wl-cases-page__grid {
		grid-template-columns: 1fr;
	}

	.wl-product-grid,
	.wl-product-series {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	html.wl-product-view-list .wl-product-grid,
	.wl-product-grid.is-list {
		grid-template-columns: 1fr;
	}

	.wl-product-grid__card p,
	.wl-product-series__card p {
		font-size: 18px;
		margin-top: 10px;
	}

	.wl-inner-heading p {
		font-size: 24px;
	}

	.wl-page-banner,
	.wl-page-banner img {
		aspect-ratio: 2 / 1;
	}

	.wl-page-banner__arrow {
		width: 36px;
		height: 36px;
	}

	.wl-page-banner__arrow--prev {
		left: 10px;
	}

	.wl-page-banner__arrow--next {
		right: 10px;
	}
}
