:root {
	--webst-products-ink: #16243a;
	--webst-products-muted: #60748c;
	--webst-products-line: #dfe9f6;
	--webst-products-paper: #f4f7fb;
	--webst-products-accent: #0f5db8;
	--webst-products-accent-soft: #dde8f6;
	--webst-products-progress: #58b947;
}

html.webst-products-scroll-locked,
html.webst-products-scroll-locked body,
body.single-products {
	height: 100%;
	overflow: hidden !important;
	overscroll-behavior: none;
}

body.single-products #qodef-page-inner {
	padding: 20px 0 67px !important;
}

.webst-products-theme-context,
.webst-products-theme-context-wrap {
	height: auto !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	min-height: 0 !important;
	padding-bottom: 10px !important;
	padding-top: 10px !important;
}

.webst-product-context-changed {
	animation: webst-product-context-in .6s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes webst-product-context-in {
	0% {
		opacity: .15;
	}

	100% {
		opacity: 1;
	}
}

.webst-products-archive,
.webst-product-single {
	box-sizing: border-box;
	color: var(--webst-products-ink);
}

.webst-products-archive *,
.webst-product-single * {
	box-sizing: border-box;
}

.webst-products-archive {
	margin: 0 auto;
	max-width: 1720px;
	padding: clamp(48px, 6vw, 96px) clamp(20px, 4vw, 72px) clamp(72px, 8vw, 140px);
}

.webst-products-archive__header {
	align-items: end;
	border-bottom: 1px solid var(--webst-products-line);
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
	margin-bottom: 0;
	padding-bottom: clamp(32px, 4vw, 58px);
}

.webst-products-eyebrow,
.webst-product-single__eyebrow {
	color: var(--webst-products-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	margin: 0;
	text-transform: uppercase;
}

.webst-product-single__eyebrow {
	font-size: 9px;
	letter-spacing: .12em;
}

.webst-products-archive h1 {
	font-size: clamp(46px, 6vw, 92px);
	font-weight: 600;
	letter-spacing: -.06em;
	line-height: .92;
	margin: 18px 0 0;
}

.webst-products-archive__intro {
	color: var(--webst-products-muted);
	font-size: clamp(15px, 1.1vw, 18px);
	line-height: 1.6;
	margin: 0;
}

.webst-products-grid {
	border-left: 1px solid var(--webst-products-line);
	display: grid;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.webst-product-card {
	border-bottom: 1px solid var(--webst-products-line);
	border-right: 1px solid var(--webst-products-line);
	margin: 0;
}

.webst-product-card__link {
	color: inherit;
	display: block;
	padding: clamp(14px, 1.5vw, 24px);
	text-decoration: none;
}

.webst-product-card__media {
	aspect-ratio: 1 / 1;
	background: var(--webst-products-paper);
	overflow: hidden;
}

.webst-product-card__media img {
	height: 100%;
	object-fit: contain;
	padding: 7%;
	transition: transform .55s cubic-bezier(.22, 1, .36, 1);
	width: 100%;
}

.webst-product-card__link:hover .webst-product-card__media img,
.webst-product-card__link:focus-visible .webst-product-card__media img {
	transform: scale(1.045);
}

.webst-product-card h2 {
	font-size: clamp(15px, 1.2vw, 19px);
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.25;
	margin: 0;
}

.webst-product-card__caption {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	min-height: 72px;
	padding: 18px 2px 4px;
}

.webst-product-card__caption > span {
	color: var(--webst-products-progress);
	font-size: 22px;
	transition: transform .25s ease;
}

.webst-product-card__link:hover .webst-product-card__caption > span,
.webst-product-card__link:focus-visible .webst-product-card__caption > span {
	transform: translateX(5px);
}

.webst-product-card__placeholder,
.webst-product-gallery__empty {
	background: linear-gradient(135deg, var(--webst-products-paper), var(--webst-products-accent-soft));
	display: block;
	height: 100%;
	width: 100%;
}

/* Full-width editorial product presentation. */
.webst-product-single {
	background: #fff;
	left: 50%;
	margin: 0 0 0 -50vw;
	max-width: none;
	padding: 0;
	position: relative;
	touch-action: none;
	width: 100vw;
}

.webst-product-deck {
	height: calc(100svh - var(--webst-products-viewport-offset, 0px));
	min-height: 560px;
	position: relative;
}

.webst-product-panel {
	display: grid;
	grid-template-columns: minmax(0, 50vw) minmax(0, 1fr);
	inset: 0;
	height: 100%;
	margin: 0;
	min-height: 560px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateY(24px) scale(.997);
	transition: opacity .62s cubic-bezier(.22, 1, .36, 1), transform .62s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .62s;
	visibility: hidden;
}

.webst-product-panel.is-active {
	opacity: 1;
	pointer-events: auto;
	position: relative;
	transform: translateY(0);
	transition-delay: 0s;
	visibility: visible;
}

.webst-product-panel .webst-product-gallery,
.webst-product-panel .webst-product-single__content-inner {
	transform: translateY(12px);
	transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.webst-product-panel.is-active .webst-product-gallery,
.webst-product-panel.is-active .webst-product-single__content-inner {
	transform: translateY(0);
}

.webst-product-gallery {
	background: var(--webst-products-paper);
	height: 100%;
	min-height: 560px;
	min-width: 0;
	position: relative;
}

.webst-product-gallery__stage {
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.webst-product-gallery__slide {
	display: grid;
	inset: 0;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	place-items: center;
	pointer-events: none;
	position: absolute;
	transition: opacity .45s ease;
}

.webst-product-gallery__slide::after {
	background: linear-gradient(180deg, transparent 72%, rgba(22, 36, 58, .18));
	content: '';
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.webst-product-gallery__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.webst-product-gallery__slide img {
	height: 100%;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

.webst-product-gallery__controls {
	bottom: 28px;
	display: flex;
	gap: 8px;
	left: 28px;
	position: absolute;
	z-index: 3;
}

.webst-product-gallery__control {
	align-items: center;
	background: rgba(255, 255, 255, .88);
	border: 0;
	border-radius: 50%;
	color: var(--webst-products-ink);
	cursor: pointer;
	display: flex;
	font-size: 10px;
	font-weight: 700;
	height: 34px;
	justify-content: center;
	padding: 0;
	transition: background .2s ease, color .2s ease, transform .2s ease;
	width: 34px;
}

.webst-product-gallery__control:hover,
.webst-product-gallery__control:focus-visible,
.webst-product-gallery__control.is-active {
	background: var(--webst-products-accent);
	color: #fff;
	transform: translateY(-2px);
}

.webst-product-single__content {
	align-items: flex-start;
	display: flex;
	min-width: 0;
	padding: 0 clamp(42px, 6vw, 118px) clamp(18px, 2vw, 34px);
}

.webst-product-single__content-inner {
	max-width: 760px;
	width: 100%;
}

.webst-product-single__content h1 {
	color: var(--webst-products-ink);
	font-size: clamp(28px, 2.5vw, 46px);
	font-weight: 700;
	letter-spacing: -.055em;
	line-height: .94;
	margin: 0 0 18px;
	max-width: 900px;
}

.webst-product-single__lead {
	color: var(--webst-products-accent);
	font-size: clamp(26px, 3vw, 52px);
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1;
	margin: 0;
}

.webst-product-single__rule {
	background: var(--webst-products-ink);
	display: block;
	height: 1px;
	margin: clamp(30px, 4vw, 58px) 0;
	width: 22px;
}

.webst-product-single__body {
	color: var(--webst-products-ink);
	font-size: clamp(16px, 1.15vw, 20px);
	line-height: 1.65;
	max-width: 680px;
}

.webst-product-single__body > :first-child {
	margin-top: 0;
}

.webst-product-single__body > :last-child {
	margin-bottom: 0;
}

.webst-product-next {
	color: var(--webst-products-ink);
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: clamp(34px, 5vw, 70px);
	text-decoration: none;
}

.webst-product-next span {
	color: var(--webst-products-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.webst-product-next strong {
	font-size: clamp(15px, 1.2vw, 19px);
	font-weight: 500;
}

.webst-product-next strong span {
	color: var(--webst-products-accent);
	display: inline-block;
	font-size: 1.25em;
	transition: transform .2s ease;
}

.webst-product-next:hover strong span,
.webst-product-next:focus-visible strong span {
	transform: translateX(6px);
}

.webst-product-progress {
	display: flex;
	flex-direction: column;
	gap: 7px;
	position: fixed;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
}

.webst-product-progress__item {
	background: rgba(22, 36, 58, .2);
	border-radius: 99px;
	display: block;
	height: 14px;
	transition: background .2s ease, height .25s ease, transform .2s ease;
	width: 3px;
}

.webst-product-progress__item:hover,
.webst-product-progress__item:focus-visible {
	background: var(--webst-products-progress);
	transform: scaleX(2);
}

.webst-product-progress__item.is-current {
	background: var(--webst-products-progress);
	height: 36px;
}

.webst-products-archive .navigation.pagination {
	margin-top: 100px;
}

@media (max-width: 1100px) {
	.webst-product-panel {
		grid-template-columns: minmax(0, 48vw) minmax(0, 1fr);
	}

	.webst-product-single__content {
		padding-left: clamp(32px, 5vw, 70px);
		padding-right: clamp(32px, 5vw, 70px);
	}
}

@media (max-width: 900px) {
	.webst-products-archive__header {
		gap: 22px;
		grid-template-columns: 1fr;
	}

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

	.webst-product-card:nth-child(3n + 2) {
		transform: none;
	}

	.webst-product-panel {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.webst-product-gallery {
		height: min(76vh, 760px);
		min-height: 520px;
	}

	.webst-product-single__content {
		min-height: 560px;
		padding: 70px clamp(24px, 7vw, 70px) 100px;
	}

	.webst-product-progress {
		right: 9px;
	}
}

@media (max-width: 560px) {
	.webst-products-archive__header {
		gap: 16px;
	}

	.webst-products-grid {
		grid-template-columns: 1fr;
	}

	.webst-product-card__media {
		aspect-ratio: 1 / 1.15;
	}

	.webst-product-gallery {
		height: 64vh;
		min-height: 430px;
	}

	.webst-product-single__content {
		min-height: 500px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.webst-product-card__media img,
	.webst-product-gallery__slide,
	.webst-product-gallery__control,
	.webst-product-next strong span {
		transition: none;
	}

	.webst-product-panel,
	.webst-product-panel .webst-product-gallery,
	.webst-product-panel .webst-product-single__content-inner {
		transition: none;
	}

	.webst-product-context-changed {
		animation: none;
	}
}
