/**
 * Native home page (Elementor page #17160 replacement).
 */

.lf-home {
	--lf-home-space: clamp(28px, 4vw, 48px);
	width: 100%;
}

/* Hero — full banner visible (no edge crop); height follows image aspect */
.lf-home-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #000;
	color: #fff;
	cursor: pointer;
	touch-action: pan-y;
	user-select: none;
}

.lf-home-hero__track {
	display: flex;
	width: 100%;
	height: auto;
	transition: transform 0.55s ease;
	will-change: transform;
}

.lf-home-hero__slide {
	position: relative;
	flex: 0 0 100%;
	overflow: hidden;
	background: #000;
}

.lf-home-hero__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	touch-action: pan-y;
}

.lf-home-hero__banner.lf-home-hero__banner--mobile {
	display: none;
}

.lf-home-hero__banner {
	position: relative;
	inset: auto;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2560 / 1151;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	vertical-align: top;
}

.lf-thesis-wrap {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	padding: clamp(16px, 4vw, 48px);
	pointer-events: none;
}

.lf-thesis {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 500;
	line-height: 1.15;
	max-width: min(92vw, 640px);
	color: #fff;
}

.lf-thesis--banner {
	font-size: clamp(28px, 5vw, 42px);
	max-width: min(92vw, 820px);
}

.lf-thesis--brand {
	font-size: clamp(28px, 5vw, 42px);
	max-width: min(92vw, 820px);
}

.lf-thesis__rose {
	flex: 0 0 auto;
	display: block;
	width: auto;
	height: 1em;
	margin: 0;
	object-fit: contain;
	object-position: center;
	align-self: center;
}

.lf-thesis__text {
	margin: 0;
	font: inherit;
	line-height: inherit;
	letter-spacing: 0.02em;
}

.lf-v90,
.lf-thesis__vspace {
	display: block;
	width: 100%;
	height: 0.9em;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
}

@supports (height: 1lh) {
	.lf-v90,
	.lf-thesis__vspace {
		height: 0.9lh;
	}
}

.lf-thesis--font-schoolbook,
.lf-thesis--font-schoolbook .lf-thesis__text {
	font-family: 'Schoolbook', 'tilda-sans', Georgia, serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.01em;
}

.lf-thesis__italic {
	font-family: 'Schoolbook', Georgia, serif;
	font-style: italic;
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: inherit;
}

.lf-thesis__text .lf-title-mark--sb {
	font-family: 'Schoolbook', Georgia, serif;
	font-weight: 400;
}

.lf-thesis__text .lf-title-mark--up {
	text-transform: uppercase;
}

.lf-thesis__text .lf-title-mark--cur {
	font-style: italic;
	font-synthesis: none;
}

.lf-thesis__text .lf-title-mark--sb.lf-title-mark--up.lf-title-mark--cur {
	letter-spacing: 0.01em;
}

.lf-thesis__logo {
	display: block;
	width: min(420px, 72vw);
	height: auto;
}

.lf-thesis--pos-1 { grid-area: 1 / 1; align-self: start; justify-self: start; }
.lf-thesis--pos-2 { grid-area: 1 / 2; align-self: start; justify-self: center; }
.lf-thesis--pos-3 { grid-area: 1 / 3; align-self: start; justify-self: end; }
.lf-thesis--pos-4 { grid-area: 2 / 1; align-self: center; justify-self: start; }
.lf-thesis--pos-5 { grid-area: 2 / 2; align-self: center; justify-self: center; }
.lf-thesis--pos-6 { grid-area: 2 / 3; align-self: center; justify-self: end; }
.lf-thesis--pos-7 { grid-area: 3 / 1; align-self: end; justify-self: start; }
.lf-thesis--pos-8 { grid-area: 3 / 2; align-self: end; justify-self: center; }
.lf-thesis--pos-9 { grid-area: 3 / 3; align-self: end; justify-self: end; }

.lf-thesis--align-start {
	flex-direction: row;
}

.lf-thesis--align-start .lf-thesis__text {
	direction: ltr;
	text-align: left;
}

.lf-thesis--align-center {
	flex-direction: row;
	justify-content: center;
	text-align: center;
}

.lf-thesis--align-center .lf-thesis__text {
	direction: ltr;
	text-align: center;
}

.lf-thesis--align-end {
	flex-direction: row-reverse;
}

.lf-thesis--align-end .lf-thesis__rose {
	margin: 0;
}

.lf-thesis--align-end .lf-thesis__text {
	direction: rtl;
	text-align: right;
}

.lf-home-hero__dots {
	position: absolute;
	inset-inline: 0;
	bottom: clamp(16px, 3vw, 32px);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	pointer-events: auto;
	cursor: default;
}

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

.lf-home-hero__dot.is-active {
	background: #fff;
}

/* Section intro */
.lf-home-section {
	padding: clamp(28px, 4vw, 48px) 0 12px;
}

.lf-home-section__inner {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.lf-home-section__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	max-width: 46rem;
}

.lf-home-section__title-row,
.lf-home-products__heading {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.lf-home-section__title {
	margin: 0;
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 500;
	line-height: 1.1;
	text-transform: lowercase;
}

.lf-shelf-nav {
	display: none;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.lf-shelf-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: var(--lf-color-muted);
	cursor: pointer;
}

.lf-shelf-nav__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.lf-shelf-nav__btn svg {
	display: block;
}

.lf-shelf-nav__btn--prev svg {
	transform: scaleX(-1);
}

.lf-home-section__lead {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lf-color-muted);
}

.lf-home-section__link {
	color: var(--lf-color-muted);
	text-decoration: none;
	font-size: clamp(14px, 1.6vw, 18px);
	text-transform: lowercase;
	white-space: nowrap;
}

.lf-home-section__link:hover {
	color: var(--lf-color-accent);
}

.lf-home-section--favorites {
	padding-top: var(--lf-home-space);
	padding-bottom: 20px;
	padding-inline: 11px;
}

.lf-home-section--favorites .lf-home-section__inner {
	max-width: none;
	margin-inline: 0;
	padding-inline: 0;
}

/* Products — «новинки» */
.lf-home-products {
	padding-block: var(--lf-home-space);
	padding-inline: 11px;
}

.lf-home-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	max-width: none;
	margin-bottom: clamp(18px, 2.5vw, 28px);
	padding-inline: 0;
}

.lf-home-products__title {
	margin: 0;
	font-size: clamp(1.25rem, 1.6vw, 1.5625rem);
	font-weight: 500;
	line-height: 1;
	text-transform: lowercase;
	color: var(--lf-color-muted);
	letter-spacing: 0;
}

.lf-home-products__more {
	color: var(--lf-color-soft);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1;
	text-transform: lowercase;
	white-space: nowrap;
}

.lf-home-products__more:hover {
	color: var(--lf-color-text);
}

.lf-home-products__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.lf-home-products__viewport::-webkit-scrollbar {
	display: none;
}

.lf-home-products__grid {
	display: flex;
	flex-wrap: nowrap;
	gap: clamp(14px, 1.8vw, 24px);
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
}

.lf-home-products__grid li.product {
	flex: 0 0 calc((100% - (3 * clamp(14px, 1.8vw, 24px))) / 4);
	min-width: calc((100% - (3 * clamp(14px, 1.8vw, 24px))) / 4);
	margin: 0;
	scroll-snap-align: start;
}

.lf-home-products .lf-wishlist-btn--card {
	display: none;
}

/* Full-bleed banner blocks (lookbook / brand) */
.lf-home-banner {
	position: relative;
	display: block;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
	background-color: #111;
	color: #fff;
}

.lf-home-lookbook::after,
.lf-home-brand--has-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.lf-home-brand {
	background-color: #111;
}

.lf-home-banner__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.lf-home-banner__media {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.lf-home-lookbook .lf-home-banner__media {
	object-position: top center;
}

/* Category tiles */
.lf-home-categories {
	--lf-categories-gap: 11px;
	padding-top: var(--lf-categories-gap);
	padding-bottom: 0;
	padding-inline: 0;
}

.lf-home-categories__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lf-categories-gap);
	width: 100%;
	max-width: none;
	margin-inline: 0;
	min-height: 0;
	align-items: start;
}

.lf-home-categories__tile {
	position: relative;
	display: block;
	min-height: 0;
	padding: 0;
	text-decoration: none;
	color: #fff;
	overflow: hidden;
	background: #222;
}

.lf-home-categories__img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.lf-home-categories__tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
	pointer-events: none;
}

.lf-home-categories__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: clamp(20px, 3vw, 32px);
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
}

.lf-home-categories__tile:hover {
	filter: brightness(1.05);
}

/* Gallery carousel */
.lf-home-gallery {
	position: relative;
	padding: 0 0 var(--lf-home-space);
}

.lf-home-gallery__nav {
	position: absolute;
	top: calc(clamp(280px, 34vw, 420px) / 2);
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.lf-home-gallery__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.lf-home-gallery__nav--prev {
	left: clamp(8px, 1.5vw, 18px);
	transform: translateY(-50%) scaleX(-1);
}

.lf-home-gallery__nav--next {
	right: clamp(8px, 1.5vw, 18px);
}

.lf-home-gallery__nav svg {
	display: block;
}

.lf-home-gallery__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 8px;
	padding: 0 clamp(16px, 2vw, 30px) 4px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.lf-home-gallery__track::-webkit-scrollbar {
	display: none;
}

.lf-home-gallery__item {
	flex: 0 0 clamp(220px, 24vw, 320px);
	margin: 0;
	scroll-snap-align: start;
	position: relative;
	overflow: clip;
}

.lf-home-gallery__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	overflow: hidden;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.lf-home-gallery__media:focus,
.lf-home-gallery__media:focus-visible {
	outline: none;
}

.lf-home-gallery__item img,
.lf-home-gallery__photo {
	display: block;
	width: 100%;
	height: clamp(280px, 34vw, 420px);
	object-fit: cover;
	pointer-events: none;
}

/* Desktop: sheet stays under the photo until hover. */
.lf-home-gallery__drawer {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	height: auto;
	max-height: 70%;
	background: #fff;
	color: #1a1a1a;
	transform: translateY(100%);
	transition: transform 0.35s ease;
	pointer-events: none;
	overflow: hidden;
}

.lf-home-gallery__item.is-drawer-open .lf-home-gallery__drawer,
.lf-home-gallery__item:focus-within .lf-home-gallery__drawer {
	transform: translateY(0);
	pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
	.lf-home-gallery__item--has-product:hover .lf-home-gallery__drawer {
		transform: translateY(0);
		pointer-events: auto;
	}
}

/* Phone: products stay open under the photo. Second product overlaps the image. */
@media (max-width: 900px) {
	.lf-home-gallery__item {
		overflow: visible;
	}

	.lf-home-gallery__drawer {
		position: relative;
		inset: auto;
		height: auto;
		max-height: none;
		transform: none;
		pointer-events: auto;
		overflow: visible;
	}

	.lf-home-gallery__item--products-2 .lf-home-gallery__drawer-row--overlay {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		z-index: 3;
		box-sizing: border-box;
		padding: 12px clamp(8px, 1.2vw, 12px) 12px 0;
		background: #fff;
	}
}

.lf-home-gallery__drawer-inner {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	height: auto;
	padding: 12px clamp(8px, 1.2vw, 12px) clamp(6px, 1vw, 10px) 0;
	box-sizing: border-box;
}

.lf-home-gallery__drawer .lf-home-gallery__drawer-price,
.lf-home-gallery__drawer .lf-home-gallery__drawer-btn,
.lf-home-gallery__drawer .lf-home-gallery__drawer-row--overlay {
	display: none;
}

.lf-home-gallery__drawer-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: clamp(6px, 1.2vw, 12px);
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	position: relative;
}

.lf-home-gallery__drawer .lf-home-gallery__drawer-row {
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
}

.lf-home-gallery__drawer-thumb {
	width: clamp(36px, 5vw, 52px);
	height: clamp(36px, 5vw, 52px);
	flex-shrink: 0;
	overflow: hidden;
	background: #f3f3f3;
}

.lf-home-gallery__drawer-thumb img,
.lf-home-gallery__drawer-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lf-home-gallery__drawer-meta {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 2px;
	min-width: 0;
}

.lf-home-gallery__drawer-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: clamp(11px, 1.1vw, 13px);
	font-weight: 500;
	line-height: 1.25;
	color: #1a1a1a;
}

.lf-home-gallery__drawer-price {
	font-size: clamp(11px, 1.05vw, 13px);
	line-height: 1.2;
	color: #1a1a1a;
}

.lf-home-gallery__drawer-price del {
	opacity: 0.55;
	margin-right: 0.35em;
}

.lf-home-gallery__drawer-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: start;
	min-height: clamp(36px, 5vw, 52px);
	padding: 0 10px;
	border: 1px solid #1a1a1a;
	background: #fff;
	color: #1a1a1a;
	font-size: clamp(10px, 1vw, 12px);
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: lowercase;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.lf-home-gallery__drawer-btn:hover,
.lf-home-gallery__drawer-btn:focus-visible {
	background: #1a1a1a;
	color: #fff;
}

/* Favorites lightbox */
.lf-gallery-lb {
	padding: 0;
	border: 0;
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	background: rgba(10, 10, 10, 0.92);
	color: #fff;
}

.lf-gallery-lb::backdrop {
	background: rgba(0, 0, 0, 0.72);
}

.lf-gallery-lb__shell {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.lf-gallery-lb__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	width: 100%;
	height: 100%;
	min-height: 0;
}

.lf-gallery-lb__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	height: 100%;
	padding: clamp(16px, 2vw, 24px) clamp(48px, 5vw, 64px);
	box-sizing: border-box;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
}

.lf-gallery-lb__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.lf-gallery-lb__aside {
	background: #fff;
	color: #1a1a1a;
	overflow: auto;
	padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 22px);
	box-sizing: border-box;
	min-height: 0;
}

.lf-gallery-lb__aside[hidden] {
	display: none !important;
}

.lf-gallery-lb__body:has(.lf-gallery-lb__aside[hidden]) {
	grid-template-columns: 1fr;
}

.lf-gallery-lb__aside .lf-home-gallery__drawer-inner {
	padding: 0;
	gap: 16px;
	height: auto;
	overflow: visible;
}

.lf-gallery-lb__aside .lf-home-gallery__drawer-row {
	flex: 0 0 auto;
}

.lf-gallery-lb__aside .lf-home-gallery__drawer-thumb {
	width: 64px;
	height: 64px;
}

.lf-gallery-lb__aside .lf-home-gallery__drawer-title {
	font-size: 14px;
	-webkit-line-clamp: 3;
}

.lf-gallery-lb__aside .lf-home-gallery__drawer-price {
	font-size: 14px;
}

.lf-gallery-lb__aside .lf-home-gallery__drawer-btn {
	min-height: 44px;
	padding: 0 14px;
	font-size: 12px;
}

.lf-gallery-lb__close,
.lf-gallery-lb__nav {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.lf-gallery-lb__close {
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	font-size: 32px;
	line-height: 1;
}

.lf-gallery-lb__nav {
	top: 50%;
	width: 44px;
	height: 56px;
	transform: translateY(-50%);
	padding: 0;
}

.lf-gallery-lb__nav--prev {
	left: 8px;
	transform: translateY(-50%) scaleX(-1);
}

.lf-gallery-lb__nav--next {
	right: 8px;
}

.lf-gallery-lb__nav svg {
	display: block;
}

.lf-gallery-lb__nav:disabled,
.lf-gallery-lb__close:disabled {
	opacity: 0.35;
	cursor: default;
}

@media (max-width: 860px) {
	.lf-gallery-lb__body {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 1fr) auto;
	}

	.lf-gallery-lb__media {
		padding: 48px 48px 12px;
	}

	.lf-gallery-lb__aside {
		max-height: 42vh;
	}
}

body.lf-gallery-lb-open {
	overflow: hidden;
}

/* Manifesto */
.lf-home-manifesto {
	padding: clamp(32px, 5vw, 72px) clamp(16px, 2vw, 30px);
	text-align: center;
}

.lf-home-manifesto__title {
	margin: 0 0 20px;
	max-width: 920px;
	margin-inline: auto;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--lf-color-text);
}

.lf-home-manifesto__text {
	margin: 0 0 20px;
	max-width: 920px;
	margin-inline: auto;
	font-size: 16px;
	line-height: 1.55;
	color: var(--lf-color-muted);
}

.lf-home-manifesto__text:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.lf-home-banner {
		min-height: 0;
	}

	.lf-home-banner__media {
		position: relative;
		inset: auto;
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 2560 / 1151;
		object-fit: contain;
		vertical-align: top;
	}

	.lf-home-brand:not(.lf-home-brand--has-bg) {
		min-height: 42vh;
	}

	.lf-home-products__grid li.product {
		flex-basis: calc(50% - 10px);
		min-width: calc(50% - 10px);
	}

	.lf-home-categories__grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}
}

@media (max-width: 768px) {
	.lf-home-manifesto {
		padding: 40px 28px;
		text-align: left;
	}

	.lf-home-manifesto__title,
	.lf-home-manifesto__text {
		margin-inline: 0;
	}

	.lf-thesis__rose {
		display: none;
	}

	.lf-thesis--align-end .lf-thesis__rose {
		margin: 0;
	}

	.lf-thesis {
		max-width: 100%;
	}

	.lf-thesis--align-end {
		flex-direction: row;
	}

	.lf-home-section__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.lf-home-products__grid li.product {
		flex-basis: calc((100% - 2 * clamp(14px, 1.8vw, 24px)) / 2.5);
		min-width: calc((100% - 2 * clamp(14px, 1.8vw, 24px)) / 2.5);
	}

	.lf-home-gallery__track {
		gap: clamp(14px, 1.8vw, 24px);
		padding-inline: 11px;
	}

	.lf-home-gallery__item {
		flex: 0 0 calc((100% - 2 * clamp(14px, 1.8vw, 24px)) / 2.5);
		min-width: calc((100% - 2 * clamp(14px, 1.8vw, 24px)) / 2.5);
	}

	.lf-home-gallery__item img,
	.lf-home-gallery__photo {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 4;
	}

	.lf-home-gallery__nav {
		display: none;
	}

	.lf-shelf-nav {
		display: inline-flex;
	}
}

/* Draft slots stay hidden until the design-stand rules below. */
.lf-home-slot,
.lf-home-draft-banner {
	display: none;
}

.lf-home-layout-face {
	position: absolute;
	inset: 0;
}

.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout::before {
	content: none;
}

.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-home-layout-face::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
	pointer-events: none;
}

.lf-home-layout-face--mobile,
.lf-home-thesis--mobile,
.lf-home-banner__media--layout-mobile {
	display: none;
}

.lf-home-banner__link--layout {
	z-index: 2;
	display: none;
}

.lf-home-layout-face--desktop .lf-home-banner__link--layout {
	display: block;
}

.lf-home-thesis--mobile {
	z-index: 3;
}

/*
 * DEV mobile draft. Gray 3:2 banners and the extra slots stay on the design
 * stand. «Новинки» and «любимые» on this stand show two cards.
 */
@media (max-width: 768px) {
	.lf-home--mobile-draft .lf-home-brand,
	.lf-home--mobile-draft .lf-home-slot {
		position: relative;
		aspect-ratio: 3 / 4;
		overflow: hidden;
		background: #d5d5d5;
	}

	.lf-home--mobile-draft .lf-home-draft-banner {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.lf-home--mobile-draft .lf-home-hero {
		position: relative;
		min-height: 0;
		height: auto;
		overflow: hidden;
		background: #d5d5d5;
		cursor: default;
	}

	.lf-home--mobile-draft .lf-home-hero__banner,
	.lf-home--mobile-draft .lf-home-hero__banner--desk,
	.lf-home--mobile-draft .lf-home-hero__banner--mobile {
		aspect-ratio: 3 / 4;
		object-fit: cover;
		height: auto;
	}

	.lf-home--mobile-draft .lf-home-hero__slide:has(.lf-home-hero__banner--mobile) .lf-home-hero__banner--desk {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-hero__banner.lf-home-hero__banner--mobile {
		display: block;
	}
	.lf-home--mobile-draft .lf-home-hero__video {
		object-fit: cover;
	}

	.lf-home--mobile-draft .lf-home-hero__slide:has(.lf-home-hero__video--mobile) .lf-home-hero__video--desk {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-hero__video--mobile {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-hero__slide:not(:has(.lf-home-hero__banner)) .lf-home-hero__video {
		aspect-ratio: 3 / 4;
	}

	.lf-home--mobile-draft .lf-home-hero:has(.lf-home-thesis--mobile) .lf-thesis-wrap:not(.lf-home-thesis--mobile) {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-brand .lf-home-banner__media,
	.lf-home--mobile-draft .lf-home-brand .lf-thesis-wrap:not(.lf-home-thesis--mobile),
	.lf-home--mobile-draft .lf-home-brand .lf-home-banner__link:not(.lf-home-banner__link--layout),
	.lf-home--mobile-draft .lf-home-brand::after {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-layout-face--desktop {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-layout-face--mobile {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-thesis--mobile {
		display: grid;
	}

	.lf-home--mobile-draft .lf-home-layout-face--mobile .lf-home-banner__link--layout,
	.lf-home--mobile-draft .lf-home-brand .lf-home-banner__link--layout {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-slot:has(.lf-home-thesis--mobile)::after,
	.lf-home--mobile-draft .lf-home-brand:has(.lf-home-thesis--mobile)::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		display: block;
		background: rgba(0, 0, 0, 0.2);
		pointer-events: none;
	}

	/* Veil sits on the slide, under the thesis. On the hero box it paints
	   above the track: will-change: transform traps the white type. */
	.lf-home--mobile-draft .lf-home-hero__slide:has(.lf-home-thesis--mobile)::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		display: block;
		background: rgba(0, 0, 0, 0.2);
		pointer-events: none;
	}

	.lf-home--mobile-draft .lf-home-brand {
		min-height: 0;
		height: auto;
	}

	.lf-home--mobile-draft .lf-home-slot {
		display: block;
		width: 100%;
	}

	.lf-home--mobile-draft .lf-home-quad {
		padding-bottom: 11px;
	}

	/* Two full cards. The 2.5 peek above stays on production. */
	.lf-home--mobile-draft .lf-home-products__grid li.product {
		flex: 0 0 calc((100% - clamp(14px, 1.8vw, 24px)) / 2);
		min-width: calc((100% - clamp(14px, 1.8vw, 24px)) / 2);
	}

	/*
	 * Snap pulls the first photo to the screen edge, so side padding would
	 * leave a sliver of the third card. Two cards fill the scrollport.
	 */
	.lf-home--mobile-draft .lf-home-gallery__track {
		padding-inline: 0;
	}

	.lf-home--mobile-draft .lf-home-gallery__item {
		flex: 0 0 calc((100% - clamp(14px, 1.8vw, 24px)) / 2);
		min-width: calc((100% - clamp(14px, 1.8vw, 24px)) / 2);
	}
}

/* Square crop only when a 1080×1080 file is set. */
@media (max-width: 767px) {
	.lf-home-hero__slide--square .lf-home-hero__banner,
	.lf-home-brand--square .lf-home-banner__media {
		aspect-ratio: 1 / 1;
		object-fit: cover;
		object-position: center;
	}
}

/*
 * Narrow screens only: lookbook + three category tiles = 2×2.
 * Cell ratio matches the category tile box (1024×1365).
 * Above 900px the lookbook stays a full-bleed banner and the tiles stay a row of three.
 */
@media (max-width: 900px) {
	.lf-home-quad {
		--lf-categories-gap: 11px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--lf-categories-gap);
		width: 100%;
		padding-top: var(--lf-categories-gap);
	}

	.lf-home-quad > .lf-home-categories,
	.lf-home-quad > .lf-home-categories > .lf-home-categories__grid {
		display: contents;
	}

	.lf-home-quad > .lf-home-lookbook,
	.lf-home-quad .lf-home-categories__tile {
		min-height: 0;
		aspect-ratio: 1024 / 1365;
	}

	.lf-home-quad .lf-home-banner__media,
	.lf-home-quad .lf-home-categories__img {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		max-height: none;
		aspect-ratio: auto;
		object-fit: cover;
		object-position: center;
	}

	.lf-home-quad .lf-home-lookbook .lf-home-banner__media {
		object-position: center top;
	}

	.lf-home-quad .lf-thesis--banner {
		font-size: clamp(28px, 5vw, 42px);
		font-weight: 500;
		letter-spacing: 0.02em;
		max-width: 92%;
	}

	.lf-home--mobile-draft .lf-home-lookbook .lf-home-thesis--mobile {
		display: grid;
	}

	.lf-home--mobile-draft .lf-home-lookbook .lf-home-banner__link--layout {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-lookbook .lf-home-banner__media--layout-mobile {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-lookbook:has(.lf-home-banner__media--layout-mobile) > .lf-home-banner__media:not(.lf-home-banner__media--layout-mobile) {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-lookbook:has(.lf-home-thesis--mobile) > .lf-thesis-wrap:not(.lf-home-thesis--mobile) {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-home-layout-face--desktop {
		display: none;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-home-layout-face--mobile {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-home-thesis--mobile {
		display: grid;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-home-layout-face--mobile .lf-home-banner__link--layout {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-thesis {
		font-size: clamp(28px, 5vw, 42px);
		font-weight: 500;
		letter-spacing: 0.04em;
		max-width: 100%;
	}
}

/* The extra fourth tile is a desktop design-stand cell. The phone 2×2 stays at three. */
.lf-home-categories__tile--desktop-extra {
	display: none;
}

/*
 * DEV desktop keeps the old block: a full-height lookbook, then a row of tiles
 * at the photo ratio. The row is four across, and one banner is added under it.
 */
@media (min-width: 901px) {
	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile {
		aspect-ratio: 1707 / 2560;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--desktop-extra {
		display: block;
	}

	.lf-home--mobile-draft .lf-home-categories__tile--desktop-extra .lf-thesis {
		font-size: clamp(28px, 5vw, 42px);
		font-weight: 500;
		letter-spacing: 0.02em;
		max-width: 100%;
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-thesis {
		font-size: clamp(28px, 5vw, 42px);
		font-weight: 500;
		letter-spacing: 0.04em;
		max-width: 100%;
	}

	.lf-home--mobile-draft .lf-home-slot[data-lf-home-slot="5"] {
		display: block;
		position: relative;
		width: 100%;
		margin-top: 11px;
		min-height: 100vh;
		aspect-ratio: auto;
		overflow: hidden;
		background: #d5d5d5;
	}

	.lf-home--mobile-draft .lf-home-slot[data-lf-home-slot="5"] .lf-home-draft-banner {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}

/* Same box as WooCommerce #coming-soon-footer-banner: 56px, 13/16, X 24px. */
.lf-home-welcome {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 16px;
	border-top: 0;
	background: var(--lf-color-accent, #c40800);
	color: #fff;
	font-size: 13px;
	line-height: 16px;
	text-align: center;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.22s ease, transform 0.22s ease;
	pointer-events: none;
}

.lf-home-welcome.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.lf-home-welcome__main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	margin-right: 10px;
}

.lf-home-welcome__rose {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	background: var(--lf-rose-loader, url('../images/group-3.webp')) center / contain no-repeat;
	filter: brightness(0) invert(1);
	transform-origin: center;
}

.lf-home-welcome.is-visible .lf-home-welcome__rose {
	animation: lf-rose-spin 0.85s linear 2;
}

.lf-home-welcome__text {
	flex: 0 1 auto;
	margin: 0;
	line-height: 16px;
	text-wrap: pretty;
}

.lf-home-welcome__points {
	font-weight: 600;
	white-space: nowrap;
}

.lf-home-welcome__close {
	flex: 0 0 auto;
	display: block;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.lf-home-welcome__close path {
	fill: #fff;
}

.lf-home-welcome__close:hover {
	opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
	.lf-home-welcome.is-visible .lf-home-welcome__rose {
		animation: none;
	}
}

.lf-home-hero__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	background: transparent;
}

.lf-home-hero__video--mobile {
	display: none;
}

.lf-home-hero__slide:not(:has(.lf-home-hero__banner)) .lf-home-hero__video--desk {
	position: relative;
	height: auto;
	aspect-ratio: 2560 / 1151;
}

@media (max-width: 768px) {
	.lf-home--mobile-draft .lf-home-products__grid {
		align-items: flex-start;
	}

	.lf-home--mobile-draft .lf-home-products li.product {
		container-type: inline-size;
	}

	/* The preorder line was stretching every card in the shelf. Keep it on the photo. */
	.lf-home--mobile-draft .lf-home-products li.product .lf-preorder-note {
		position: absolute;
		z-index: 2;
		left: 0;
		right: 0;
		top: calc(100cqi * 4 / 3);
		transform: translateY(-100%);
		margin: 0;
		padding: 6px 8px;
		background: rgba(255, 255, 255, 0.92);
	}
}

/* Banner group font size. The admin stores px for desktop and for mobile. */
.lf-home-hero .lf-thesis {
	font-size: var(--lf-fs-hero-d, 42px);
}

.lf-home-lookbook .lf-thesis {
	font-size: var(--lf-fs-lookbook-d, 42px);
}

.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile .lf-thesis,
.lf-home-quad .lf-home-categories__label {
	font-size: var(--lf-fs-tiles-d, 42px);
}

.lf-home-slot[data-lf-home-slot="5"] .lf-thesis {
	font-size: var(--lf-fs-bottom-d, 42px);
}

.lf-home-brand .lf-thesis {
	font-size: var(--lf-fs-brand-d, 42px);
}

@media (max-width: 900px) {
	.lf-home--mobile-draft .lf-home-hero .lf-thesis {
		font-size: var(--lf-fs-hero-m, 28px);
	}

	.lf-home--mobile-draft .lf-home-lookbook .lf-thesis,
	.lf-home--mobile-draft .lf-home-quad .lf-home-lookbook .lf-thesis--banner,
	.lf-home--mobile-draft .lf-home-slot[data-lf-home-slot="3"] .lf-thesis {
		font-size: var(--lf-fs-lookbook-m, 28px);
	}

	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile .lf-thesis,
	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__tile--layout .lf-thesis,
	.lf-home--mobile-draft .lf-home-quad .lf-home-categories__label {
		font-size: var(--lf-fs-tiles-m, 28px);
	}

	.lf-home--mobile-draft .lf-home-slot[data-lf-home-slot="5"] .lf-thesis {
		font-size: var(--lf-fs-bottom-m, 28px);
	}

	.lf-home--mobile-draft .lf-home-brand .lf-thesis,
	.lf-home--mobile-draft .lf-home-brand .lf-thesis--brand {
		font-size: var(--lf-fs-brand-m, 28px);
	}
}

/* Favourite shelf: pulsing product dot, mobile only. */
.lf-home-gallery__dot {
	display: none;
}
@media (max-width: 900px) {
	.lf-home--mobile-draft .lf-home-gallery__item .lf-home-gallery__drawer,
	.lf-home--mobile-draft .lf-home-gallery__item.is-drawer-open .lf-home-gallery__drawer {
		display: none;
	}
	.lf-home--mobile-draft .lf-home-gallery__media {
		overflow: visible;
	}
	.lf-home--mobile-draft .lf-home-gallery__dot {
		display: block;
		position: absolute;
		z-index: 4;
		width: 18px;
		height: 18px;
		margin-left: -9px;
		margin-top: -9px;
		padding: 0;
		border: 2px solid rgba(0, 0, 0, .5);
		border-radius: 50%;
		background: #fff;
		box-sizing: border-box;
		pointer-events: none;
	}
	.lf-home--mobile-draft .lf-home-gallery__dot::after {
		content: "";
		position: absolute;
		inset: -2px;
		border: 2px solid #fff;
		border-radius: 50%;
		animation: lf-gallery-dot 1.6s ease-out infinite;
		pointer-events: none;
	}
}
@keyframes lf-gallery-dot {
	0% { transform: scale(1); opacity: .85; }
	100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.lf-home--mobile-draft .lf-home-gallery__dot::after {
		animation: none;
	}
}
