/**
 * V1 homepage presentation adapted to the V2 shell.
 * Original section geometry, slider effects and responsive rules are retained.
 */
.home {
	--container-width: 1400px;
	--container-gutter: max(20px, var(--gutter));
	--font-size-body: var(--font-size-body);
	--font-size-small: var(--font-size-small);
	--font-size-button: 16px;
	--font-size-page-title: var(--font-size-heading-1);
	--font-size-section-title: var(--font-size-heading-2);
	--font-size-component-title: var(--font-size-heading-3);
	--titles: var(--font-family-display);
}

.home {
	--home-header-height: 88px;
	--background: var(--color-background);
	--text: #12100f;
	--home-bg: var(--color-background);
	--home-card: #fffdf9;
	--home-red: #b00000;
	--home-red-dark: #8f0000;
	--home-gold: #c7aa77;
	--home-gold-soft: #e5d8c1;
	--home-muted: #68615d;
	--home-shadow: 0 12px 28px rgba(89, 55, 25, 0.14);
	background: var(--home-bg);
	color: var(--text);
	max-width: 100%;
	overflow-x: hidden;
}

.home .site-content {
	padding-top: 0;
	background: var(--home-bg);
	max-width: 100vw;
	overflow-x: hidden;
}

.home .site-header {
	background: rgba(245, 236, 230, 0.88);
	border-bottom: 2px solid var(--home-red);
	box-shadow: 0 10px 28px rgba(103, 47, 32, 0.08);
}

.home .site-header::after {
	position: absolute;
	left: 50%;
	bottom: -19px;
	width: min(313px, 38vw);
	height: 37px;
	content: "";
	background: url("../images/legacy/header_underline-decoration_without_line.svg") center / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

.home .site-header__search input,
.home .site-header__search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.home .site-header__search .aws-search-field {
	border-bottom-color: rgba(18, 16, 15, 0.7);
	color: var(--text);
}

.home .site-header__search input::placeholder,
.home .site-header__search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder,
.home .site-header__search .aws-search-field::placeholder {
	color: rgba(18, 16, 15, 0.62);
}

.home .header-cart {
	background: var(--home-red);
	border-color: #fff;
	color: #fff;
}

.home .header-menu img,
.home .site-header__link > img {
	filter: invert(13%) sepia(91%) saturate(3993%) hue-rotate(353deg) brightness(78%) contrast(112%);
}

.home .site-footer {
	background: #1b1412;
}

.home-page {
	background: var(--home-bg);
	color: var(--text);
	font-family: var(--font-family-body);
	margin-inline: 0;
	max-width: none;
	min-height: 50vh;
	overflow-x: clip;
	overflow-y: visible;
	padding: 0;
	width: 100%;
}

.home-container {
	width: min(calc(100% - (2 * var(--container-gutter, 20px))), var(--container-width, 1400px));
	margin: 0 auto;
}

.home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 11px 30px;
	border: 2px solid var(--home-red);
	border-radius: 999px;
	font-size: var(--font-size-button);
	font-weight: 700;
	line-height: 1;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-button:hover,
.home-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 18px rgba(176, 0, 0, 0.15);
}

.home-button--primary {
	background: var(--home-red);
	color: #fff;
}

.home-button--primary:hover,
.home-button--primary:focus-visible {
	background: var(--home-red-dark);
	color: #fff;
}

.home-button--outline {
	background: transparent;
	color: var(--home-red);
}

.home-button--outline:hover,
.home-button--outline:focus-visible {
	background: var(--home-red);
	color: #fff;
}

.home-button--small {
	min-width: 182px;
	min-height: 38px;
	padding: 10px 24px;
	font-size: 15px;
}

.home-hero {
	position: relative;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	align-items: stretch;
	left: auto;
	width: 100%;
	height: min(725px, calc(100svh - var(--home-header-height)));
	max-height: calc(100svh - var(--home-header-height));
	min-height: min(640px, calc(100svh - var(--home-header-height)));
	padding: clamp(58px, 7.5svh, 86px) 0 clamp(18px, 4svh, 44px);
	overflow: hidden;
	background: var(--home-bg);
	transform: none;
}

.home-hero__pattern {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	user-select: none;
	opacity: 0.96;
}

.home-hero__pattern--left {
	left: 0;
	top: 72px;
	width: clamp(280px, 38vw, 620px);
}

.home-hero__pattern--right {
	right: 0;
	top: 145px;
	width: clamp(210px, 25vw, 380px);
	transform: translateX(4%);
}

.home-hero__content {
	position: relative;
	z-index: 2;
	width: min(100% - 32px, 920px);
	margin: 0 auto;
	text-align: center;
}

.home-hero__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 2px;
	color: var(--home-red);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(15px, 1.55vw, 20px);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.home-hero__year {
	font-family: var(--font-family-body);
	font-weight: 800;
	letter-spacing: 0.01em;
}

.home-hero__eyebrow img {
	width: 46px;
	height: 26px;
	object-fit: contain;
}

.home-hero__title {
	margin: 0;
	color: #050505;
	font-size: clamp(48px, 5vw, 64px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.08;
	opacity: 1;
	transform: none;
}

.home-hero__lead {
	max-width: 560px;
	margin: clamp(6px, 1svh, 8px) auto clamp(16px, 3svh, 28px);
	color: #77706d;
	font-size: clamp(16px, 1.6vw, 18px);
	font-weight: 600;
	line-height: 1.55;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
}

.hero-codepen-slider {
	--hero-slide-center-scale: 1;
	--hero-slide-near-scale: 1.14;
	--hero-slide-edge-scale: 1.28;
	--hero-slide-center-boost: 1;
	position: relative;
	z-index: 2;
	width: min(100% - 48px, 1420px);
	height: min(100%, clamp(330px, 42svh, 500px));
	margin: 0 auto;
	overflow: hidden;
	perspective: 1200px;
	opacity: 1;
	transition: opacity 0.6s ease;
}

.hero-codepen-slider.loading {
	opacity: 0;
	visibility: hidden;
}

.hero-codepen-slider.swiper-container-coverflow {
	padding: clamp(16px, 2.6svh, 26px) 0 clamp(24px, 3.8svh, 40px);
}

.hero-codepen-slider .swiper-wrapper {
	height: 100%;
}

.hero-codepen-slider .swiper-slide {
	display: flex;
	align-items: center;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	opacity: 0;
	overflow: visible;
	transform-origin: center center;
	transition-property: transform, opacity;
	pointer-events: none;
}

.hero-codepen-slider .swiper-slide.hero-slide--visible {
	opacity: 1;
	pointer-events: auto;
}

.hero-codepen-slider .hero-slide--edge {
	z-index: 5;
}

.hero-codepen-slider .hero-slide--near {
	z-index: 3;
}

.hero-codepen-slider .hero-slide--center {
	z-index: 2;
}

.hero-codepen-slider__slide {
	height: 100%;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.hero-codepen-slider__card {
	--hero-card-scale: 1;
	--hero-card-rotate: 0deg;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: 2px solid rgba(199, 170, 119, 0.76);
	border-radius: 12px;
	background-color: #fff;
	background-position: center;
	background-size: cover;
	box-shadow: 0 18px 32px rgba(68, 35, 15, 0.18);
	transform: scale(var(--hero-card-scale)) rotate(var(--hero-card-rotate));
	transform-origin: center center;
	transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.hero-codepen-slider .hero-slide--center .hero-codepen-slider__card {
	transform: scale(calc(var(--hero-card-scale) * var(--hero-slide-center-boost))) rotate(var(--hero-card-rotate));
}

.hero-codepen-slider .hero-slide--near .hero-codepen-slider__card {
	transform: scale(var(--hero-card-scale)) rotate(var(--hero-card-rotate));
}

.hero-codepen-slider .hero-slide--edge .hero-codepen-slider__card {
	box-shadow: 0 20px 34px rgba(68, 35, 15, 0.16);
	transform: scale(var(--hero-card-scale)) rotate(var(--hero-card-rotate));
}

.hero-codepen-slider .swiper-slide-shadow-left,
.hero-codepen-slider .swiper-slide-shadow-right {
	display: none;
}

.hero-codepen-slider .entity-img {
	display: none;
}

.hero-codepen-slider .swiper-button-prev,
.hero-codepen-slider .swiper-button-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--home-red);
	box-shadow: var(--home-shadow);
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-codepen-slider .swiper-button-prev::after,
.hero-codepen-slider .swiper-button-next::after {
	display: none;
}

.hero-codepen-slider .swiper-button-prev::before,
.hero-codepen-slider .swiper-button-next::before {
	width: 24px;
	height: 24px;
	content: "";
	background-color: currentColor;
	mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
	-webkit-mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
}

.hero-codepen-slider .swiper-button-prev {
	left: 0;
}

.hero-codepen-slider .swiper-button-prev::before {
	transform: rotate(180deg);
}

.hero-codepen-slider .swiper-button-next {
	right: 0;
}

.hero-codepen-slider .swiper-button-prev:hover,
.hero-codepen-slider .swiper-button-prev:focus-visible,
.hero-codepen-slider .swiper-button-next:hover,
.hero-codepen-slider .swiper-button-next:focus-visible {
	background: var(--home-red);
	color: #fff;
	transform: translateY(-2px);
}

.hero-codepen-slider .swiper-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	bottom: 10px;
	z-index: 10;
	width: 100%;
}

.hero-codepen-slider .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0;
	background: #d6c8b7;
	opacity: 1;
}

.hero-codepen-slider .swiper-pagination-bullet-active {
	width: 24px;
	border-radius: 999px;
	background: var(--home-red);
}

.hero-mobile-slider {
	display: none;
}

.hero-mobile-slider .entity-img {
	display: none;
}

/* variables */

.home-variables {
	padding: clamp(60px, 6.5vw, 94px) 0 clamp(66px, 8vw, 108px);
}

.home-variables__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.home-variables-card {
	position: relative;
	display: flex;
	min-height: 336px;
	overflow: hidden;
	border: 1px solid var(--home-border);
	border-radius: 24px;
	background: var(--home-card);
	box-shadow: var(--home-shadow);
}

.home-variables-card__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 67%;
	padding: clamp(29px, 3vw, 38px);
}

.home-variables-card__title {
	margin: 0 0 16px;
	color: var(--home-text);
	font-size: clamp(24px, 2.05vw, 28px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.25;
}

.home-variables-card__text {
	margin: 0 0 26px;
	color: var(--home-muted);
	font-size: var(--font-size-body);
	font-weight: 500;
	line-height: 1.58;
}

.home-variables-card__action {
	min-height: 48px;
	margin-top: auto;
	padding: 12px 22px;
	font-size: 15px;
}

.home-variables-card__image {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 39%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.88;
}

.home-variables-card:first-child .home-variables-card__image {
	right: 12px;
	width: 35%;
	height: 83%;
	object-fit: contain;
	opacity: 1;
}

.home-section-header {
	max-width: var(--container-width, 1400px);
	margin: 0 auto clamp(34px, 4vw, 48px);
	text-align: center;
}

.home-section-title-row {
	--home-title-ornament-width: clamp(94px, 10.1vw, 121px);
	--home-title-ornament-height: clamp(17px, 1.84vw, 22px);
	--home-title-rule-thickness: 2px;
	--home-title-row-gap: clamp(10px, 1.5vw, 18px);
	display: flex;
	align-items: center;
	gap: var(--home-title-row-gap);
	width: 100%;
	margin-bottom: clamp(22px, 2.8vw, 34px);
}

.home-section-title-row::before,
.home-section-title-row::after {
	flex: 1 1 0;
	min-width: 42px;
	height: var(--home-title-ornament-height);
	content: "";
	background-color: var(--home-gold);
	-webkit-mask-image: linear-gradient(#000, #000), url("../images/legacy/Subtract.svg");
	-webkit-mask-position: left center, right center;
	-webkit-mask-repeat: no-repeat, no-repeat;
	-webkit-mask-size: 100% var(--home-title-rule-thickness), var(--home-title-ornament-width) var(--home-title-ornament-height);
	mask-image: linear-gradient(#000, #000), url("../images/legacy/Subtract.svg");
	mask-position: left center, right center;
	mask-repeat: no-repeat, no-repeat;
	mask-size: 100% var(--home-title-rule-thickness), var(--home-title-ornament-width) var(--home-title-ornament-height);
}

.home-section-title-row::after {
	transform: rotate(180deg);
}

.home-section-title-row h2 {
	flex: 0 1 auto;
	text-align: center;
}

.home-section-header h2,
.home-advantages__title,
.home-workflow__title,
.home-testimonials__title,
.home-delivery__title,
.marketplaces-text__title,
.home-consult__title {
	margin: 0;
	color: var(--home-text);
	font-size: var(--font-size-section-title);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.16;
}

.marketplaces-text__title {
	font-family: var(--font-family-display);
	font-size: clamp(36px, 3.25vw, 48px);
}

.marketplaces-text__title span{
	color: var(--home-red);
}

.home-section-header p {
	max-width: 720px;
	margin: 0 auto;
	color: var(--home-muted);
	font-size: clamp(16px, 1.35vw, 18px);
	font-weight: 500;
	line-height: 1.6;
}

/* catalog */

.home-catalog {
	padding: 28px 0 90px;
	background: var(--home-bg);
}

.home-catalog h2,
.home-section-head h2 {
	margin: 0;
	color: #090909;
	font-size: var(--font-size-section-title);
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.home-catalog h2 {
	margin-bottom: 0;
}

.home-catalog .home-section-title-row {
	margin-bottom: 16px;
}

.home-catalog__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 28px 22px;
}

.home-catalog-card {
	position: relative;
	display: flex;
	grid-column: span 2;
	min-height: 172px;
	overflow: hidden;
	border: 2px solid var(--home-gold-soft);
	border-radius: 8px;
	background: linear-gradient(100deg, #fff 0%, #fff 58%, rgba(255, 255, 255, 0.48) 100%);
	box-shadow: 0 4px 10px rgba(89, 55, 25, 0.08);
	color: #171110;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-catalog-card:hover,
.home-catalog-card:focus-visible {
	border-color: var(--home-gold);
	box-shadow: var(--home-shadow);
	transform: translateY(-3px);
}

.home-catalog-card--wide {
	grid-column: span 3;
}

.home-catalog-card__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 58%;
	padding: 23px 18px 20px 22px;
}

.home-catalog-card__title {
	color: var(--home-red);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(21px, 2.1vw, 28px);
	font-weight: 700;
	line-height: 1.22;
}

.home-catalog-card__line {
	width: min(100%, 190px);
	height: 16px;
	margin: 5px 0 8px;
	background: url("../images/legacy/catalog_decoration-short.svg") left center / contain no-repeat;
}

.home-catalog-card--wide .home-catalog-card__line {
	background-image: url("../images/legacy/catalog_decoration-long.svg");
}

.home-catalog-card__text {
	color: #6e6661;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.home-catalog-card__image {
	position: absolute;
	right: 10px;
	bottom: 0;
	max-width: 48%;
	max-height: 94%;
	object-fit: contain;
}

.home-catalog-card--wide .home-catalog-card__image {
	right: 32px;
	max-width: 43%;
}

.home-catalog__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: clamp(34px, 4vw, 48px);
}

.home-catalog__actions .home-button {
	min-width: clamp(190px, 18vw, 230px);
}

.home-popular {
	position: relative;
	padding: 24px 0 58px;
	background: var(--home-bg);
}

.home-section-head {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	margin-bottom: 26px;
}

.home-section-head h2 {
	grid-column: 2;
}

.home-section-head .home-button {
	grid-column: 3;
	justify-self: end;
}

.home-popular .home-container {
	display: flex;
	flex-direction: column;
}

.home-advantages__title, .home-how__title {
	margin: 0;
	color: #090909;
	font-size: var(--font-size-section-title);
	font-weight: 700;
	line-height: 1.1;
}

.home-products-slider {
	position: relative;
}

.home-products-slider__swiper {
	overflow: hidden;
	padding: 2px 2px 8px;
}

.home-products-slider ul.products.swiper-wrapper {
	display: flex;
	grid-template-columns: none;
	gap: 0;
	margin: 0;
	padding: 0;
}

.home-products-slider ul.products li.product.catalog-card {
	flex-shrink: 0;
	height: auto;
	margin: 0;
	padding: 0;
}

.home-products-slider .catalog-card__inner {
	height: 100%;
	min-height: 350px;
	overflow: hidden;
	border: 2px solid var(--home-gold-soft);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 7px 16px rgba(89, 55, 25, 0.12);
	color: #2a2522;
}

.home-products-slider .catalog-card__inner::before {
	display: none;
}

.home-products-slider .catalog-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 215px;
	margin: 0;
	padding: 26px 18px 12px;
}

.home-products-slider .catalog-card__frame {
	width: 100%;
	aspect-ratio: 1.28;
	padding: 0;
	border: 0;
	background: transparent;
}

.home-products-slider .catalog-card__frame img {
	width: 100%;
	height: auto;
	max-height: 185px;
	object-fit: contain;
	margin: 0;
}

.home-products-slider .catalog-card__content {
	position: relative;
	justify-content: flex-end;
	gap: 0;
	padding: 0 14px 16px;
}

.home-products-slider .catalog-card__title {
	margin: 0 48px 14px 0;
	color: #2a2522;
	font-size: var(--font-size-body);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.25;
}

.home-products-slider .catalog-card__price,
.home-products-slider .catalog-card__price .price {
	margin: 0 48px 0 0;
	color: var(--home-red);
	font-size: var(--font-size-body);
	font-weight: 700;
	line-height: 1.2;
}

.home-products-slider .catalog-card__price del {
	display: block;
	color: #a7a09c;
	font-size: var(--font-size-small);
	font-weight: 500;
	opacity: 1;
}

.home-products-slider .catalog-card__price ins {
	background: transparent;
	text-decoration: none;
}

.home-products-slider .catalog-card__actions {
	position: absolute;
	right: 14px;
	bottom: 16px;
	padding: 0;
	opacity: 1;
	transform: none;
}

.home-products-slider .catalog-card__actions .button,
.home-products-slider .catalog-card__actions .added_to_cart,
.home-products-slider .catalog-card:hover .catalog-card__actions .button,
.home-products-slider .catalog-card:focus-within .catalog-card__actions .button,
.home-products-slider .catalog-card:hover .catalog-card__actions .added_to_cart,
.home-products-slider .catalog-card:focus-within .catalog-card__actions .added_to_cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-width: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--home-red);
	color: #fff;
	font-size: 0;
	line-height: 1;
	box-shadow: none;
}

.home-products-slider .catalog-card__actions .button::before,
.home-products-slider .catalog-card__actions .added_to_cart::before {
	width: 19px;
	height: 19px;
	content: "";
	background: url("../images/legacy/popular_cart.svg") center / contain no-repeat;
}

.home-products-slider .catalog-card:hover .catalog-card__inner,
.home-products-slider .catalog-card:focus-within .catalog-card__inner {
	border-color: var(--home-gold);
	box-shadow: var(--home-shadow);
	color: #171717;
	transform: translateY(-3px);
}

.home-products-slider__nav {
	position: absolute;
	top: 47%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--home-red);
	box-shadow: var(--home-shadow);
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-products-slider__nav::before {
	width: 20px;
	height: 20px;
	content: "";
	background-color: currentColor;
	mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
	-webkit-mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
}

.home-products-slider__nav--prev {
	left: -22px;
}

.home-products-slider__nav--prev::before {
	transform: rotate(180deg);
}

.home-products-slider__nav--next {
	right: -22px;
}

.home-products-slider__nav:hover,
.home-products-slider__nav:focus-visible {
	background: var(--home-red-dark);
	transform: translateY(-2px);
}

.home-products-slider__pagination {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
	width: max-content;
	max-width: calc(100% - 56px);
	margin: 0 auto;
	padding: 0 14px;
	background: var(--home-bg);
}

.home-products-slider__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0;
	background: #d8cdbb;
	opacity: 1;
}

.home-products-slider__pagination .swiper-pagination-bullet-active {
	width: 24px;
	border-radius: 999px;
	background: var(--home-red);
}

.home-popular__pager-decoration {
	--popular-pager-gap: clamp(72px, 18vw, 156px);
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: min(560px, 72vw);
	min-height: 56px;
	margin: 22px auto 0;
	padding-top: 9px;
}

.home-popular__pager-decoration::before,
.home-popular__pager-decoration::after {
	position: absolute;
	top: 13px;
	width: calc(50% - (var(--popular-pager-gap) / 2));
	height: 1px;
	content: "";
	background-image: linear-gradient(to right, rgba(199, 170, 119, 0.75) 42%, transparent 0);
	background-position: left center;
	background-size: 5px 1px;
	background-repeat: repeat-x;
}

.home-popular__pager-decoration::before {
	left: 0;
}

.home-popular__pager-decoration::after {
	right: 0;
}

.home-popular__pager-decoration .home-products-slider__pagination::before {
	position: absolute;
	left: 50%;
	top: -8px;
	z-index: -1;
	width: calc(100% + 48px);
	height: 33px;
	content: "";
	border-right: 1px dashed rgba(199, 170, 119, 0.75);
	border-bottom: 1px dashed rgba(199, 170, 119, 0.75);
	border-left: 1px dashed rgba(199, 170, 119, 0.75);
	border-radius: 0 0 28px 28px;
	transform: translateX(-50%);
}

.home-popular__pager-decoration .home-products-slider__pagination::after {
	position: absolute;
	left: 50%;
	top: 22px;
	width: 70px;
	height: 24px;
	content: "";
	background: url("../images/legacy/popular-deco.svg") center / contain no-repeat;
	transform: translateX(-50%);
}

.home-advantages {
	position: relative;
	left: 50%;
	width: 100vw;
	padding: 0 0 92px;
	background: var(--home-bg);
	transform: translateX(-50%);
}

.home-advantages__pattern {
	position: absolute;
	right: 0;
	top: -52px;
	z-index: 0;
	width: clamp(330px, 44vw, 640px);
	pointer-events: none;
	transform: translateX(34%);
}

.home-advantages .home-container {
	position: relative;
	z-index: 1;
}

.home-advantages__title, .home-how__title {
	margin-bottom: 0;
	text-align: center;
}

.home-advantages .home-section-title-row {
	margin-bottom: 58px;
}

.home-advantages__title span {
	display: inline-block;
	padding: 4px 12px 8px;
	background: var(--home-red);
	color: #fff;
}

.home-advantages__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 64px 66px;
}

.home-advantage-card {
	position: relative;
	min-height: 164px;
	padding: 62px 22px 22px;
	border: 2px solid var(--home-gold-soft);
	border-radius: 8px;
	background: rgba(255, 253, 249, 0.72);
	box-shadow: 0 7px 15px rgba(89, 55, 25, 0.14);
	text-align: center;
}

.home-advantage-card__icon {
	position: absolute;
	left: 50%;
	top: -39px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 86px;
	height: 86px;
	border: 2px solid var(--home-gold-soft);
	border-radius: 50%;
	background: var(--home-bg);
	box-shadow: 0 7px 12px rgba(89, 55, 25, 0.08);
	transform: translateX(-50%);
}

.home-advantage-card__icon img {
	max-width: 52px;
	max-height: 52px;
}

.home-advantage-card__ornament {
	position: absolute;
	top: 13px;
	left: 16px;
	right: 16px;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.home-advantage-card__ornament img {
	width: 83px;
	height: 35px;
}

.home-advantage-card h3 {
	margin: 0 0 12px;
	color: #17110f;
	font-size: clamp(20px, 1.35vw, 22px);
	font-weight: 800;
	line-height: 1.2;
}

.home-advantage-card p {
	margin: 0;
	color: #17110f;
	font-size: clamp(16px, 1.35vw, 18px);
	font-weight: 500;
	line-height: 1.55;
}

.home-marketplaces,
.home-workflow,
.home-delivery,
.home-stores {
	position: relative;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
}

.home-marketplaces {
	padding: clamp(38px, 5vw, 66px) 0 clamp(58px, 7vw, 88px);
}

.home-marketplaces__wrapper {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 250px;
	align-items: center;
	gap: clamp(32px, 7vw, 80px);
	min-height: 272px;
	overflow: hidden;
	padding: clamp(31px, 4vw, 48px) clamp(34px, 6vw, 70px);
	border: 1px solid var(--home-border);
	border-radius: 24px;
	background: #f2e7dc;
}

.marketplaces-text__title {
	max-width: 600px;
	margin-bottom: 14px;
	font-size: clamp(28px, 2.65vw, 36px);
}

.marketplaces-text p {
	max-width: 600px;
	margin: 0 0 26px;
	color: var(--home-muted);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.58;
}

.home-marketplaces__brand {
	font-family: var(--font-family-body);
	font-weight: 800;
	letter-spacing: 0.01em;
}

.home-marketplaces__button {
	gap: 12px;
	min-height: 50px;
	font-size: var(--font-size-button);
}

.home-marketplaces__button img {
	width: auto;
	height: 35px;
}

.home-marketplaces__image {
	position: absolute;
	right: clamp(34px, 7vw, 82px);
	bottom: -150px;
	width: 30%;
	filter: drop-shadow(0 18px 32px rgba(50, 29, 18, 0.13));
}

.home-workflow {
	padding: 34px 0 62px;
}

.home-workflow__title,
.home-delivery__title,
.home-stores__title {
	margin: 0;
	text-align: center;
	color: #111;
	font-size: var(--font-size-section-title);
	font-weight: 700;
	line-height: 1.15;
}

.home-workflow__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 26px;
	padding: 18px 0 112px;
}

.home-workflow .home-section-title-row {
	margin-bottom: 34px;
}

.home-workflow__steps::before {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 59px;
	height: 3px;
	content: "";
	background-image: linear-gradient(to right, var(--home-red) 58%, transparent 0);
	background-size: 16px 3px;
	background-repeat: repeat-x;
}

.home-workflow__steps::after {
	position: absolute;
	right: 34px;
	bottom: 2px;
	width: 410px;
	height: 116px;
	content: "";
	border-right: 4px dashed var(--home-red);
	border-bottom: 4px dashed var(--home-red);
	border-radius: 0 0 108px 0;
	transform: rotate(6deg);
	opacity: 0.95;
}

.home-workflow-card {
	position: relative;
	z-index: 1;
	text-align: center;
}

.home-workflow-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	margin: 0 auto 24px;
	border: 5px solid var(--home-red);
	border-radius: 50%;
	background: var(--home-bg);
}

.home-workflow-card__icon img {
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.home-workflow-card h3 {
	margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.home-workflow-card p {
	margin: 0 auto;
	max-width: 160px;
	color: #514944;
	font-size: var(--font-size-body);
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.home-delivery {
	padding: 0 0 72px;
	text-align: center;
}

.home-delivery .home-section-title-row {
	margin-bottom: 14px;
}

.home-delivery__lead {
	max-width: 660px;
	margin: 0 auto clamp(38px, 4vw, 50px);
	color: var(--home-muted);
	font-size: clamp(16px, 1.35vw, 18px);
	font-weight: 500;
	line-height: 1.6;
}

.home-delivery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px;
	align-items: end;
	margin-bottom: 36px;
}

.home-delivery-card img {
	display: block;
	max-width: 220px;
	height: 50px;
	margin: 0 auto 14px;
	object-fit: contain;
}

.home-delivery-card h3 {
	margin: 0 0 14px;
	color: var(--home-red);
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 900;
	text-transform: uppercase;
}

.home-delivery-card p {
	margin: 0;
	color: #4e4742;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
}

.home-delivery__button {
	width: min(100%, 250px);
}

.home-consult {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 8vw, 102px) 0 clamp(78px, 9vw, 120px);
	scroll-margin-top: 88px;
}

.home-consult__pattern {
	position: absolute;
	z-index: 0;
	opacity: 0.13;
	pointer-events: none;
}

.home-consult__pattern--top {
	right: 0;
	top: 0;
	width: clamp(360px, 40vw, 600px);
	transform: translateX(45%);
}

.home-consult__pattern--bottom {
	left: 0;
	bottom: -40px;
	width: clamp(300px, 34vw, 520px);
	transform: translateX(-42%);
}

.home-consult__inner {
	position: relative;
	z-index: 1;
}

.home-consult__layout {
	display: block;
}

.home-consult__content {
	width: 100%;
	text-align: center;
}

.home-consult__title {
	margin: 0;
}

.home-consult .home-section-title-row {
	margin-bottom: 17px;
}

.home-consult__lead {
	max-width: 660px;
	margin: 0 auto 28px;
	color: var(--home-muted);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.62;
}

.home-consult__benefits {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 960px;
	margin: 0 auto 34px;
	padding: 0;
	color: var(--home-text);
	font-size: var(--font-size-body);
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
}

.home-consult__benefits li {
	position: relative;
	min-height: 52px;
	padding: 14px 20px 14px 48px;
	border: 1px solid rgba(199, 170, 119, 0.52);
	border-radius: 999px;
	background: rgba(255, 253, 249, 0.75);
	text-align: left;
}

.home-consult__benefits li::before {
	position: absolute;
	left: 19px;
	top: 50%;
	width: 18px;
	height: 18px;
	content: "";
	border-radius: 50%;
	background: rgba(157, 37, 37, 0.12);
	transform: translateY(-50%);
}

.home-consult__benefits li::after {
	position: absolute;
	left: 25px;
	top: 50%;
	width: 7px;
	height: 4px;
	content: "";
	border-bottom: 2px solid var(--home-red);
	border-left: 2px solid var(--home-red);
	transform: translateY(-60%) rotate(-45deg);
}

.home-consult .wpcf7 {
	max-width: 560px;
	margin: 0 auto;
	text-align: left;
}

.home-consult .wpcf7-form p {
	display: grid;
	gap: 12px;
	margin: 0;
}

.home-consult .wpcf7-form br {
	display: none;
}

.home-consult .wpcf7-form-control-wrap {
	display: block;
}

.home-consult input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.home-consult textarea {
	width: 100%;
	min-height: 54px;
	padding: 15px 17px;
	border: 1px solid var(--home-border);
	border-radius: 14px;
	background: var(--home-card);
	color: var(--home-text);
	font: inherit;
	font-size: var(--font-size-body);
	line-height: 1.45;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-consult input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.home-consult textarea:focus {
	border-color: var(--home-red);
	box-shadow: 0 0 0 3px rgba(157, 37, 37, 0.09);
	outline: none;
}

.home-consult textarea {
	min-height: 106px;
	resize: vertical;
}

.home-consult .wpcf7-acceptance,
.home-consult .wpcf7-checkbox {
	display: block;
}

.home-consult .wpcf7-list-item {
	display: block;
	margin: 0;
}

.home-consult .wpcf7-list-item label {
	display: grid;
	grid-template-columns: 1.125rem minmax(0, 1fr);
	align-items: start;
	gap: 0.625rem;
	cursor: pointer;
	text-align: left;
}

.home-consult input[type="checkbox"],
.home-consult input[type="radio"] {
	width: 1.125rem;
	height: 1.125rem;
	min-height: 0;
	margin: 0.2rem 0 0;
	padding: 0;
	accent-color: var(--home-red);
	justify-self: start;
}

.home-consult .wpcf7-list-item-label {
	min-width: 0;
	color: var(--home-text);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.home-consult input[type="submit"],
.home-consult .wpcf7-submit {
	width: 100%;
	min-height: 56px;
	margin-top: 5px;
	border: 1px solid var(--home-red);
	border-radius: 14px;
	background: var(--home-red);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-consult input[type="submit"]:hover,
.home-consult .wpcf7-submit:hover {
	background: var(--home-red-dark);
	transform: translateY(-1px);
}

.home-consult .wpcf7-not-valid-tip,
.home-consult .wpcf7-response-output {
	color: var(--home-red);
	font-size: 14px;
	line-height: 1.45;
}

.home-consult .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 11px 14px;
	border-radius: 12px;
}

.home-stores {
	padding: 0 0 86px;
	overflow: hidden;
}

.home-stores__pattern {
	left: 0;
	top: 34px;
	width: clamp(360px, 43vw, 720px);
	opacity: 0.58;
	transform: translateX(-26%) rotate(8deg);
}

.home-stores__title {
	margin: 0;
}

.home-stores .home-section-title-row {
	margin-bottom: 14px;
}

.home-stores__lead {
	max-width: 680px;
	margin: 0 auto clamp(34px, 4vw, 46px);
	color: var(--home-muted);
	font-size: clamp(16px, 1.35vw, 18px);
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}

.home-stores__contacts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin-bottom: 34px;
	text-align: center;
}

.home-store-card img {
	display: block;
	width: 96px;
	height: 25px;
	margin: 0 auto 7px;
	object-fit: contain;
}

.home-store-card h3 {
	margin: 0 0 7px;
	color: var(--home-red);
	font-size: var(--font-size-component-title);
	font-weight: 900;
	line-height: 1.1;
}

.home-store-card p {
	max-width: 180px;
	margin: 0 auto;
	color: #17110f;
	font-size: var(--font-size-body);
	font-weight: 500;
	line-height: 1.5;
}

.home-stores__map {
	width: min(100%, 980px);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(89, 55, 25, 0.1);
}

.home-stores__map iframe {
	display: block;
	width: 100%;
	height: clamp(260px, 38vw, 420px);
	border: 0;
}

.home-stores__map-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin: 16px auto 0;
	color: var(--home-red);
	font-size: var(--font-size-small);
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-underline-offset: 4px;
}

.home-stores__map-link:hover,
.home-stores__map-link:focus-visible {
	color: var(--home-red-dark);
}

.home .site-footer {
	position: relative;
	background: var(--home-bg);
	border-top: 2px solid var(--home-red);
	color: #17110f;
}

.home .site-footer::before {
	position: absolute;
	left: 50%;
	top: -19px;
	width: min(313px, 38vw);
	height: 37px;
	content: "";
	background: url("../images/legacy/header_underline-decoration_without_line.svg") center / contain no-repeat;
	transform: translateX(-50%) rotate(180deg);
	pointer-events: none;
}

.home .footer-company,
.home .footer-description,
.home .footer-item,
.home .footer-bottom,
.home .footer-right a,
.home .footer-policy-link {
	color: #17110f;
}

.home .footer-policy-link {
	text-decoration-color: currentColor;
}

@media (max-width: 1180px) {
	.hero-codepen-slider {
		--hero-slide-near-scale: 1.08;
		--hero-slide-edge-scale: 1.16;
		width: min(100% - 48px, 960px);
		height: min(100%, clamp(310px, 42svh, 460px));
	}
}

@media (max-width: 1100px) {
	.home-hero {
		--home-header-height: 86px;
		min-height: min(600px, calc(100svh - var(--home-header-height)));
	}

	.home-catalog__grid,
	.home-advantages__grid {
		gap: 22px;
	}
}

@media (max-width: 960px) {
	.home .site-header::after {
		width: 230px;
		bottom: -20px;
	}

	.home-hero {
		--home-header-height: 84px;
		height: min(650px, calc(100svh - var(--home-header-height)));
		min-height: min(560px, calc(100svh - var(--home-header-height)));
		padding: clamp(48px, 6.5svh, 70px) 0 clamp(18px, 3.2svh, 34px);
	}

	.hero-codepen-slider {
		width: min(100% - 28px, 760px);
		height: min(100%, clamp(280px, 42svh, 430px));
	}

	.hero-codepen-slider.swiper-container-coverflow {
		padding: clamp(18px, 3svh, 34px) 0 clamp(22px, 3.5svh, 36px);
	}

	.home-catalog {
		padding-bottom: 70px;
	}

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

	.home-catalog-card,
	.home-catalog-card--wide {
		grid-column: span 1;
	}

	.home-products-slider__nav--prev {
		left: -10px;
	}

	.home-products-slider__nav--next {
		right: -10px;
	}

	.home-advantages__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 58px 22px;
	}

	.home-marketplaces {
		padding-top: 62px;
	}

	.home-marketplaces__wrapper {
		grid-template-columns: 1fr 260px;
		width: min(720px, 100%);
	}

	.home-workflow__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-bottom: 42px;
	}

	.home-workflow__steps::before,
	.home-workflow__steps::after {
		display: none;
	}

	.home-workflow-card::after {
		position: absolute;
		left: 50%;
		top: 45px;
		z-index: -1;
		width: calc(100% + 26px);
		height: 3px;
		content: "";
		background-image: linear-gradient(to right, var(--home-red) 58%, transparent 0);
		background-size: 16px 3px;
	}

	.home-workflow-card:nth-child(3n)::after,
	.home-workflow-card:last-child::after {
		display: none;
	}

	.home-delivery__grid {
		gap: 26px;
	}

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

@media (max-width: 680px) {
	.home-container {
		width: min(calc(100% - (2 * var(--container-gutter, 20px))), var(--container-width, 1400px));
	}

	.home-hero__content {
		margin-top: 0;
	}

	.home-hero {
		--home-header-height: 86px;
		left: 0;
		width: 100%;
		height: calc(100svh - var(--home-header-height));
		min-height: 0;
		max-height: calc(100svh - var(--home-header-height));
		max-width: 100vw;
		overflow: hidden;
		padding: clamp(30px, 5svh, 44px) 0 10px;
		transform: none;
	}

	.home-hero__pattern--left {
		left: 0;
		top: 95px;
		width: 430px;
		opacity: 0.45;
		transform: translateX(-25%);
	}

	.home-hero__pattern--right {
		right: 0;
		top: 175px;
		width: 310px;
		opacity: 0.45;
		transform: translateX(46%);
	}

	.home-hero__eyebrow {
		gap: 8px;
		font-size: clamp(12px, 3.3vw, 14px);
	}

	.home-hero__eyebrow img {
		width: 34px;
	}

	.home-hero__title {
		font-size: clamp(28px, 9vw, 40px);
		line-height: 1.02;
	}

	.home-hero__lead {
		font-size: clamp(14px, 3.8vw, 16px);
		margin-top: 10px;
		margin-bottom: 12px;
		line-height: 1.35;
	}

	.home-hero__actions {
		align-items: center;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 0;
		margin-top: 12px;
	}

	.home-button {
		width: 100%;
		min-height: 38px;
		padding: 14px 20px;
	}

	.hero-codepen-slider {
		display: none;
	}

	.hero-mobile-slider {
		position: relative;
		z-index: 2;
		display: block;
		align-self: end;
		width: 100%;
		max-width: 100vw;
		height: min(42svh, 380px);
		min-height: 0;
		overflow: visible;
		padding: 8px 0 30px;
		opacity: 1;
		transition: opacity 0.35s ease;
	}

	.hero-mobile-slider.loading {
		opacity: 0;
		visibility: hidden;
	}

	.hero-mobile-slider .swiper-wrapper {
		height: 100%;
	}

	.hero-mobile-slider__slide {
		display: flex;
		align-items: center;
		height: 100%;
		perspective: 900px;
	}

	.hero-mobile-slider__card {
		width: 100%;
		aspect-ratio: 3 / 4;
		border: 2px solid rgba(199, 170, 119, 0.82);
		border-radius: 10px;
		background-color: #fff;
		background-position: center;
		background-size: cover;
		box-shadow: 0 16px 26px rgba(68, 35, 15, 0.16);
		transform: scale(0.84) rotateY(0deg) translateZ(0);
		transform-origin: center center;
		transition: transform 0.65s ease, box-shadow 0.65s ease, filter 0.65s ease;
		filter: saturate(0.9) brightness(0.9);
	}

	.hero-mobile-slider .swiper-slide-active .hero-mobile-slider__card {
		box-shadow: 0 20px 34px rgba(68, 35, 15, 0.22);
		filter: saturate(1) brightness(1);
		transform: scale(1) rotateY(0deg) translateZ(18px);
	}

	.hero-mobile-slider .hero-mobile-slide--prev .hero-mobile-slider__card {
		transform: scale(0.9) rotateY(-13deg) translateX(8px);
		transform-origin: right center;
	}

	.hero-mobile-slider .hero-mobile-slide--next .hero-mobile-slider__card {
		transform: scale(0.9) rotateY(13deg) translateX(-8px);
		transform-origin: left center;
	}

	.hero-mobile-slider__pagination {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 8px;
		z-index: 7;
		display: flex;
		justify-content: center;
		gap: 8px;
	}

	.hero-mobile-slider__pagination .swiper-pagination-bullet {
		width: 8px;
		height: 8px;
		margin: 0;
		background: #d6c8b7;
		opacity: 1;
	}

	.hero-mobile-slider__pagination .swiper-pagination-bullet-active {
		width: 24px;
		border-radius: 999px;
		background: var(--home-red);
	}

	.home-catalog {
		padding-top: 10px;
	}

	.home-catalog__grid,
	.home-advantages__grid {
		grid-template-columns: 1fr;
	}

	.home-section-title-row {
		--home-title-ornament-width: 83px;
		--home-title-ornament-height: 15px;
		--home-title-rule-thickness: 1.5px;
		--home-title-row-gap: 8px;
		margin-bottom: 22px;
	}

	.home-section-title-row::before,
	.home-section-title-row::after {
		min-width: 24px;
	}

	.home-catalog-card {
		min-height: 150px;
	}

	.home-catalog-card__content {
		width: 62%;
		padding: 19px 14px 18px;
	}

	.home-catalog-card__image,
	.home-catalog-card--wide .home-catalog-card__image {
		right: 8px;
		max-width: 43%;
	}

	.home-catalog__actions {
		flex-direction: column;
		gap: 12px;
		margin-top: 30px;
	}

	.home-catalog__actions .home-button {
		min-width: 0;
	}

	.home-section-head {
		display: contents;
	}

	.home-section-head h2 {
		order: 1;
		margin-bottom: 22px;
	}

	.home-products-slider {
		order: 2;
	}

	.home-popular__pager-decoration {
		order: 3;
	}

	.home-section-head .home-button {
		order: 4;
		margin: 20px auto 0;
	}

	.home-section-head h2,
	.home-section-head .home-button {
		grid-column: auto;
		justify-self: auto;
	}

	.home-section-head .home-button {
		width: min(100%, 230px);
		min-height: 42px;
		box-shadow: 0 10px 20px rgba(176, 0, 0, 0.12);
	}

	.home-products-slider__swiper {
		padding-inline: 0;
	}

	.home-products-slider .catalog-card__inner {
		min-height: 340px;
	}

	.home-products-slider__pagination {
		margin-top: 0;
	}

	.home-popular__pager-decoration {
		width: min(100%, 360px);
		margin-top: 18px;
	}

	.home-advantages {
		padding-bottom: 66px;
	}

	.home-advantages__pattern {
		right: 0;
		top: -30px;
		width: 560px;
		opacity: 0.42;
		transform: translateX(62%);
	}

	.home-advantages .home-section-title-row {
		margin-bottom: 50px;
	}

	.home-advantages__grid {
		gap: 56px;
	}

	.home-marketplaces,
	.home-workflow,
	.home-delivery,
	.home-stores {
		left: 0;
		width: 100%;
		transform: none;
	}

	.home-marketplaces {
		padding: 54px 0 34px;
	}

	.home-marketplaces__pattern--left {
		width: 360px;
		opacity: 0.45;
		transform: translate(-48%, -20%);
	}

	.home-marketplaces__pattern--right {
		width: 430px;
		opacity: 0.42;
		transform: translate(54%, 6%) scaleX(-1);
	}

	.home-marketplaces__wrapper {
		grid-template-columns: 1fr;
		gap: 26px;
		text-align: center;
	}

	.marketplaces-text__title span {
		margin-top: 8px;
	}

	.marketplaces-text__decoration {
		margin-inline: auto;
	}

	.marketplaces-text p {
		margin-inline: auto;
	}

	.home-marketplaces__image {
		width: min(72vw, 260px);
	}

	.home-workflow {
		padding: 22px 0 48px;
	}

	.home-workflow .home-section-title-row {
		margin-bottom: 24px;
	}

	.home-workflow__steps {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 0;
	}

	.home-workflow-card {
		display: grid;
		grid-template-columns: 74px 1fr;
		align-items: center;
		gap: 14px;
		text-align: left;
	}

	.home-workflow-card::after {
		left: 36px;
		top: 74px;
		width: 3px;
		height: 20px;
		background-image: linear-gradient(to bottom, var(--home-red) 58%, transparent 0);
		background-size: 3px 12px;
	}

	.home-workflow-card:nth-child(3n)::after {
		display: block;
	}

	.home-workflow-card:last-child::after {
		display: none;
	}

	.home-workflow-card__icon {
		grid-row: span 2;
		width: 74px;
		height: 74px;
		margin: 0;
		border-width: 4px;
	}

	.home-workflow-card__icon img {
		width: 42px;
		height: 42px;
	}

	.home-workflow-card h3 {
		margin: 0 0 4px;
	}

	.home-workflow-card p {
		max-width: none;
		margin: 0;
	}

	.home-delivery {
		padding-bottom: 56px;
	}

	.home-delivery .home-section-title-row,
	.home-stores .home-section-title-row {
		margin-bottom: 12px;
	}

	.home-delivery__lead,
	.home-stores__lead {
		margin-bottom: 30px;
	}

	.home-delivery__grid {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-bottom: 28px;
	}

	.home-delivery-card img {
		height: 44px;
		margin-bottom: 10px;
	}

	.home-delivery-card p {
		font-size: var(--font-size-body);
	}

	.home-consult {
		left: 0;
		width: 100%;
		padding: 8px 0 68px;
		transform: none;
	}

	.home-consult__pattern--top {
		top: -10px;
		width: 390px;
		opacity: 0.28;
		transform: translateX(62%);
	}

	.home-consult__pattern--bottom {
		bottom: -32px;
		width: 350px;
		opacity: 0.3;
		transform: translateX(-58%);
	}

	.home-consult .home-section-title-row {
		margin-bottom: 18px;
	}

	.home-consult__lead {
		margin-bottom: 20px;
	}

	.home-consult__benefits {
		flex-direction: column;
		align-items: stretch;
		max-width: 360px;
		margin-bottom: 28px;
	}

	.home-stores {
		padding-bottom: 58px;
	}

	.home-stores__pattern {
		width: 470px;
		opacity: 0.42;
		transform: translateX(-52%) rotate(8deg);
	}

	.home-stores__contacts {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 24px;
	}

	.home-stores__map iframe {
		height: 320px;
	}

	.home .site-footer::before {
		width: 220px;
		top: -20px;
	}
}

@media (max-width: 420px) {
	.home-section-title-row {
		--home-title-ornament-width: 77px;
		--home-title-ornament-height: 14px;
		--home-title-row-gap: 7px;
	}

	.home-section-title-row::before,
	.home-section-title-row::after {
		min-width: 20px;
	}

	.home-hero__content {
		width: min(100% - 18px, 920px);
		margin-bottom: 0;
		margin-top: 0;
	}

	.home-hero__title {
		font-size: clamp(26px, 9vw, 36px);
	}

	.home-hero__lead {
		margin-bottom: 10px;
	}

	.hero-codepen-slider {
		display: none;
	}

	.hero-mobile-slider {
		height: min(40svh, 340px);
		min-height: 0;
		padding-top: 6px;
	}

	.home-catalog-card__title {
		font-size: 20px;
	}

	.home-catalog-card__text {
		font-size: var(--font-size-small);
	}

	.marketplaces-text__title {
		font-size: 30px;
	}

	.home-marketplaces__button {
		width: 100%;
	}

	.home-stores__map iframe {
		height: 280px;
	}
}

/* Home page polish pass */
.home .header-menu {
	position: relative;
	width: 46px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
}

.home .header-menu img {
	opacity: 0;
}

.home .header-menu::before {
	position: absolute;
	left: 6px;
	top: 9px;
	width: 34px;
	height: 2px;
	content: "";
	border-radius: 999px;
	background: var(--home-red);
	box-shadow: 0 10px 0 var(--home-red), 0 20px 0 var(--home-red);
}

.home .header-buttons .site-header__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--home-red);
	box-shadow: 0 8px 18px rgba(176, 0, 0, 0.16);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home .header-buttons .site-header__link:hover,
.home .header-buttons .site-header__link:focus-visible {
	background: var(--home-red-dark);
	box-shadow: 0 10px 22px rgba(176, 0, 0, 0.22);
	transform: translateY(-1px);
}

.home .header-buttons .site-header__link > img {
	width: 25px;
	height: 25px;
	filter: none;
}

.home .header-buttons .header-cart {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid var(--home-red);
	border-radius: 999px;
	background: #fff;
	color: var(--home-red);
	font-size: 10px;
	font-weight: 800;
	line-height: 14px;
}

.home .footer-item img {
	filter: brightness(0) saturate(100%);
}

.home-page {
	overflow-x: clip;
	overflow-y: visible;
}

.home-catalog {
	padding: 34px 0 108px;
}

.home-popular {
	padding: 36px 0 104px;
}

.home-advantages {
	padding: 18px 0 118px;
	overflow: visible;
}


.home-marketplaces {
	padding: 24px 0 76px;
}

.home-workflow {
	padding: 72px 0 100px;
}

.home-delivery {
	padding: 0 0 108px;
}

.home-stores {
	padding: 12px 0 112px;
}

.home-advantages__pattern {
	right: 0;
	top: -72px;
	width: clamp(420px, 43vw, 680px);
	opacity: 0.5;
	transform: translateX(27%);
}

.home-marketplaces__pattern--left {
	top: -24px;
	width: clamp(360px, 32vw, 570px);
	opacity: 0.5;
	transform: translate(-30%, -22%) rotate(-4deg);
}

.home-marketplaces__pattern--right {
	top: 18px;
	width: clamp(420px, 42vw, 700px);
	opacity: 0.5;
	transform: translate(28%, -4%) scaleX(-1) rotate(-6deg);
}

.home-stores__pattern {
	position: absolute;
	left: 0;
	top: -72px;
	width: clamp(430px, 43vw, 720px);
	opacity: 0.46;
	transform: translateX(-25%) rotate(8deg);
}

.home-popular__pager-decoration {
	--pager-width: min(620px, 74vw);
	--pager-center-width: 176px;
	--pager-line-top: 13px;
	--pager-arc-height: 34px;
	--pager-deco-top: 21px;
	--pager-deco-width: 78px;
	--pager-deco-height: 26px;
	width: var(--pager-width);
	min-height: 72px;
	margin-top: 28px;
	padding-top: var(--pager-line-top);
}

.home-popular__pager-decoration::before,
.home-popular__pager-decoration::after {
	top: var(--pager-line-top);
	width: calc((100% - var(--pager-center-width)) / 2);
	height: 1px;
	background-image: linear-gradient(to right, rgba(199, 170, 119, 0.78) 48%, transparent 0);
	background-size: 6px 1px;
}

.home-popular__pager-decoration .home-products-slider__pagination {
	min-height: 14px;
	padding: 0 16px;
}

.home-popular__pager-decoration .home-products-slider__pagination::before {
	top: 0;
	width: var(--pager-center-width);
	height: var(--pager-arc-height);
	border-right: 1px dashed rgba(199, 170, 119, 0.78);
	border-bottom: 1px dashed rgba(199, 170, 119, 0.78);
	border-left: 1px dashed rgba(199, 170, 119, 0.78);
	border-radius: 0 0 32px 32px;
}

.home-popular__pager-decoration .home-products-slider__pagination::after {
	top: var(--pager-deco-top);
	width: var(--pager-deco-width);
	height: var(--pager-deco-height);
}

.home-workflow__steps {
	counter-reset: workflow-step;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	padding: 20px 0 0;
}

.home-workflow__steps::before {
	left: 9%;
	right: 9%;
	top: 66px;
	height: 2px;
	background-image: linear-gradient(to right, rgba(176, 0, 0, 0.72) 60%, transparent 0);
	background-size: 14px 2px;
}

.home-workflow__steps::after {
	display: none;
}

.home-workflow-card {
	counter-increment: workflow-step;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	text-align: center;
}

.home-workflow-card__icon {
	width: 92px;
	height: 92px;
	margin-bottom: 20px;
	border-width: 4px;
	box-shadow: 0 0 0 9px var(--home-bg), 0 10px 22px rgba(89, 55, 25, 0.1);
}


.home-workflow-card h3::before {
	display: block;
	margin-bottom: 6px;
	color: rgba(176, 0, 0, 0.72);
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 0.08em;
	content: "0" counter(workflow-step);
}

.home-workflow__connector {
	position: absolute;
	right: 50%;
	top: 50%;
	z-index: -1;
	display: block;
	width: calc(200% + 36px);
	height: clamp(164px, 16vw, 206px);
	overflow: visible;
	pointer-events: none;
}

.home-workflow__connector path {
	fill: none;
	stroke: var(--home-red);
	stroke-width: 4;
	stroke-dasharray: 14 12;
	vector-effect: non-scaling-stroke;
}

.home-workflow__connector-tip {
	stroke-dasharray: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 960px) {
	.home-catalog {
		padding-bottom: 88px;
	}

	.home-popular {
		padding: 30px 0 86px;
	}

	.home-advantages {
		padding: 16px 0 92px;
	}

	.home-marketplaces {
		padding: 88px 0 68px;
	}

	.home-workflow {
		padding: 64px 0 84px;
	}

	.home-delivery {
		padding-bottom: 88px;
	}

	.home-stores {
		padding-bottom: 92px;
	}

	.home-advantages__pattern {
		top: -46px;
		width: 580px;
		transform: translateX(42%);
	}

	.home-marketplaces__pattern--left {
		width: 420px;
		transform: translate(-45%, -18%) rotate(-4deg);
	}

	.home-marketplaces__pattern--right {
		width: 560px;
		transform: translate(47%, 2%) scaleX(-1) rotate(-5deg);
	}

	.home-stores__pattern {
		top: -42px;
		width: 560px;
		transform: translateX(-42%) rotate(8deg);
	}

	.home-popular__pager-decoration {
		--pager-width: min(500px, 82vw);
		--pager-center-width: 158px;
		--pager-line-top: 12px;
		--pager-arc-height: 32px;
		--pager-deco-top: 19px;
		--pager-deco-width: 72px;
		--pager-deco-height: 26px;
		min-height: 66px;
	}

	.home-workflow__steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
		padding: 0;
	}

	.home-workflow__steps::before {
		display: none;
	}

	.home-workflow-card {
		position: relative;
		display: grid;
		grid-template-columns: 68px 1fr;
		align-items: center;
		gap: 12px 16px;
		min-height: 128px;
		padding: 20px 18px;
		border: 1px solid rgba(199, 170, 119, 0.62);
		border-radius: 8px;
		background: rgba(255, 253, 249, 0.72);
		box-shadow: 0 8px 18px rgba(89, 55, 25, 0.08);
		text-align: left;
	}

	.home-workflow-card::after,
	.home-workflow-card:nth-child(3n)::after {
		display: none;
	}

	.home-workflow-card__icon {
		grid-row: span 2;
		width: 68px;
		height: 68px;
		margin: 0;
		border-width: 3px;
		box-shadow: none;
	}

	.home-workflow-card__icon img {
		width: 38px;
		height: 38px;
	}

	.home-workflow-card h3 {
		margin: 0 0 4px;
	}

	.home-workflow-card h3::before {
		margin-bottom: 4px;
	}

	.home-workflow-card p {
		max-width: none;
		margin: 0;
	}

	.home-workflow__connector {
		display: none;
	}
}

@media (max-width: 680px) {
	.home .header-menu {
		width: 42px;
		height: 38px;
	}

	.home .header-menu::before {
		left: 5px;
		top: 8px;
		width: 31px;
	}

	.home .header-buttons .site-header__link {
		width: 42px;
		height: 42px;
	}

	.home-catalog {
		padding-top: 22px;
		padding-bottom: 68px;
	}

	.home-popular {
		padding: 24px 0 70px;
	}

	.home-advantages {
		padding-bottom: 74px;
	}

	.home-marketplaces,
	.home-workflow,
	.home-delivery,
	.home-stores {
		left: 0;
		width: 100%;
		transform: none;
	}

	.home-marketplaces {
		padding: 64px 0 56px;
	}

	.home-workflow {
		padding: 54px 0 66px;
	}

	.home-delivery {
		padding-bottom: 66px;
	}

	.home-stores {
		padding-bottom: 70px;
	}

	.home-advantages__pattern {
		top: -18px;
		width: 500px;
		opacity: 0.36;
		transform: translateX(58%);
	}

	.home-marketplaces__pattern--left {
		top: -16px;
		width: 360px;
		opacity: 0.34;
		transform: translate(-58%, -18%) rotate(-4deg);
	}

	.home-marketplaces__pattern--right {
		top: 122px;
		width: 420px;
		opacity: 0.34;
		transform: translate(58%, 0) scaleX(-1) rotate(-5deg);
	}

	.home-stores__pattern {
		top: -24px;
		width: 440px;
		opacity: 0.34;
		transform: translateX(-56%) rotate(8deg);
	}

	.home-popular__pager-decoration {
		--pager-width: min(330px, 92vw);
		--pager-center-width: 160px;
		--pager-line-top: 10px;
		--pager-arc-height: 30px;
		--pager-deco-top: 17px;
		--pager-deco-width: 68px;
		--pager-deco-height: 26px;
		min-height: 60px;
		margin-top: 20px;
	}

	.home-popular__pager-decoration .home-products-slider__pagination {
		max-width: calc(100% - 36px);
		padding: 0 10px;
	}

	.home-marketplaces__wrapper {
		display: grid;
		grid-template-columns: 1fr;
		gap: 22px;
		text-align: center;
	}

	.marketplaces-text {
		order: 2;
	}

	.home-marketplaces__image {
		order: 1;
		width: min(68vw, 250px);
	}

	.home-workflow__steps {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.home-workflow-card {
		grid-template-columns: 60px 1fr;
		min-height: 0;
		padding: 16px;
	}

	.home-workflow-card__icon {
		width: 60px;
		height: 60px;
	}

	.home-workflow-card__icon img {
		width: 34px;
		height: 34px;
	}

	.home-workflow-card h3 {
		font-size: var(--font-size-component-title);
	}

	.home-workflow-card p {
		max-width: none;
		text-align: left;
	}
}

@media (max-width: 420px) {
	.home-popular__pager-decoration {
		--pager-width: min(300px, 94vw);
		--pager-center-width: 160px;
		--pager-line-top: 10px;
		--pager-arc-height: 28px;
		--pager-deco-top: 15px;
		--pager-deco-width: 62px;
		min-height: 56px;
	}

	.home-marketplaces__image {
		width: min(76vw, 235px);
	}
}

/* Testimonials slider */
.home-testimonials {
	position: relative;
	left: 50%;
	width: 100vw;
	padding: clamp(16px, 2vw, 28px) 0 clamp(74px, 8vw, 110px);
	overflow: clip;
	transform: translateX(-50%);
}

.home-testimonials__pattern {
	position: absolute;
	top: clamp(-28px, -2vw, 12px);
	right: 0;
	z-index: 0;
	width: clamp(410px, 41vw, 650px);
	opacity: 0.46;
	pointer-events: none;
	transform: translateX(28%);
	user-select: none;
}

.home-testimonials__header {
	margin: 0 auto clamp(30px, 3.3vw, 42px);
	text-align: center;
}

.home-testimonials__title {
	margin: 0;
	color: #111;
	font-size: var(--font-size-section-title);
	font-weight: 700;
	line-height: 1.14;
}

.home-testimonials .home-section-title-row {
	margin-bottom: 10px;
}

.home-testimonials__lead {
	max-width: 650px;
	margin: 0 auto;
	color: var(--home-muted);
	font-size: clamp(16px, 1.34vw, 18px);
	font-weight: 500;
	line-height: 1.45;
}

.home-testimonials__slider {
	--home-testimonials-card-collapsed-height: auto;
	--home-testimonials-nav-top: 50%;
	position: relative;
	width: 100%;
}

.home-testimonials__swiper {
	width: 100%;
	padding: 2px 2px 12px;
	overflow: hidden;
}

.home-testimonials__swiper .swiper-wrapper {
	align-items: flex-start;
}

@media (min-width: 960px) {
	.home-testimonials__swiper--few .swiper-wrapper {
		justify-content: center;
	}
}

.home-testimonial-slide {
	height: auto;
}

.home-testimonial-card {
	--testimonial-expanded-height: 0px;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(199, 170, 119, 0.56);
	border-radius: 8px;
	background: rgba(255, 253, 249, 0.92);
	color: #17110f;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(89, 55, 25, 0.07);
}

.home-testimonial-card:not(.is-expanded) {
	height: var(--home-testimonials-card-collapsed-height);
}

.home-testimonial-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 1.72 / 1;
	overflow: hidden;
}

.home-testimonial-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.home-testimonial-card__media:hover img,
.home-testimonial-card__media:focus-visible img {
	transform: scale(1.025);
}

.home-testimonial-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px 17px 15px;
}

.home-testimonial-card__title {
	margin: 0 0 9px;
	color: #17110f;
	font-size: var(--font-size-component-title);
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.home-testimonial-card__tag {
	display: inline-flex;
	max-width: 100%;
	margin: 0 0 11px;
	padding: 4px 9px;
	border: 1px solid rgba(176, 0, 0, 0.65);
	color: var(--home-red);
	font-size: var(--font-size-small);
	font-weight: 600;
	line-height: 1.12;
	overflow-wrap: anywhere;
}

.home-testimonial-card__text-wrap {
	max-height: calc(1.42em * 3);
	margin-bottom: 13px;
	overflow: hidden;
	transition: max-height 0.36s ease;
}

.home-testimonial-card.is-expanded .home-testimonial-card__text-wrap {
	max-height: var(--testimonial-expanded-height);
}

.home-testimonial-card__text {
	margin: 0;
	color: #534c47;
	font-size: clamp(14px, 1.15vw, 16px);
	font-weight: 500;
	line-height: 1.42;
	overflow-wrap: anywhere;
	word-break: normal;
}

.home-testimonial-card:not(.is-expanded) .home-testimonial-card__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	color: #534c47;
	font-size: 16px;
	text-overflow: ellipsis;
}

.home-testimonial-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	margin-top: auto;
}

.home-testimonial-card__toggle,
.home-testimonial-card__link {
	color: var(--home-red);
	font-size: var(--font-size-small);
	font-weight: 700;
	line-height: 1;
}

.home-testimonial-card__toggle {
	display: none;
	min-height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	text-decoration: none;
	text-underline-offset: 3px;
}

.home-testimonial-card.has-more-text .home-testimonial-card__toggle {
	display: inline-flex;
	align-items: center;
}

.home-testimonial-card__toggle-less {
	display: none;
}

.home-testimonial-card.is-expanded .home-testimonial-card__toggle-more {
	display: none;
}

.home-testimonial-card.is-expanded .home-testimonial-card__toggle-less {
	display: inline;
}

.home-testimonial-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	text-decoration: none;
}

.home-testimonial-card__arrow {
	position: relative;
	display: inline-block;
	width: 21px;
	height: 21px;
}

.home-testimonial-card__arrow::before {
	display: block;
	width: 100%;
	height: 100%;
	content: "";
	background-color: currentColor;
	mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
	-webkit-mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
}

.home-testimonials__nav {
	position: absolute;
	top: var(--home-testimonials-nav-top);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 18px rgba(69, 45, 26, 0.16);
	color: var(--home-red);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
	transform: translateY(-50%);
}

.home-testimonials__nav::before {
	width: 24px;
	height: 24px;
	content: "";
	background-color: currentColor;
	mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
	-webkit-mask: url("../images/legacy/arrow.svg") center / contain no-repeat;
}

.home-testimonials__nav--prev {
	left: -78px;
}

.home-testimonials__nav--prev::before {
	transform: rotate(180deg);
}

.home-testimonials__nav--next {
	right: -78px;
}

.home-testimonials__nav:hover,
.home-testimonials__nav:focus-visible {
	background: var(--home-red);
	color: #fff;
}

.home-testimonials__pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(15px, 2vw, 22px);
}

.home-testimonials__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0;
	background: #d8cdbb;
	opacity: 1;
}

.home-testimonials__pagination .swiper-pagination-bullet-active {
	width: 25px;
	border-radius: 999px;
	background: var(--home-red);
}

.home-testimonials__empty {
	margin: 0;
	text-align: center;
	color: var(--home-muted);
}

@media (max-width: 1260px) {
	.home-testimonials__slider {
		width: calc(100% - 72px);
		margin-inline: auto;
	}

	.home-testimonials__nav--prev {
		left: -54px;
	}

	.home-testimonials__nav--next {
		right: -54px;
	}
}

@media (max-width: 680px) {

	.home-marketplaces__wrapper {
		grid-template-columns: 1fr;
		gap: 22px;
		min-height: 0;
		padding: 28px 23px;
		text-align: left;
	}

	.home-marketplaces__image {
		position: relative;
		right: auto;
		bottom: -48px;
		width: min(56vw, 190px);
		margin: -20px auto 0;
	}

	.home-testimonials {
		left: 0;
		width: 100%;
		padding: 8px 0 66px;
		transform: none;
	}

	.home-testimonials__pattern {
		top: 16px;
		width: 430px;
		opacity: 0.34;
		transform: translateX(58%);
	}

	.home-testimonials__header {
		margin-bottom: 25px;
	}

	.home-testimonials__slider {
		width: 100%;
	}

	.home-testimonials__swiper {
		padding-bottom: 8px;
	}

	.home-testimonials__nav {
		display: inline-flex;
		width: 46px;
		height: 46px;
	}

	.home-testimonials__nav::before {
		width: 19px;
		height: 19px;
	}

	.home-testimonials__nav--prev {
		left: 8px;
	}

	.home-testimonials__nav--next {
		right: 8px;
	}

	.home-testimonial-card__body {
		padding: 14px 14px 15px;
	}
}

/* Home hero viewport fit pass */
.home {
	--home-header-height: 88px;
}

.home-hero {
	grid-template-rows: auto minmax(0, 1fr);
	row-gap: clamp(14px, 2.2svh, 26px);
	height: calc(100svh - var(--home-header-height));
	min-height: calc(100svh - var(--home-header-height));
	max-height: calc(100svh - var(--home-header-height));
	padding: clamp(145px, 7svh, 160px) 0 clamp(30px, 3svh, 45px);;
}

.home-hero__content {
	align-self: start;
}

.home-hero__title {
	font-size: clamp(44px, 4.4vw, 62px);
	line-height: 1.04;
}

.home-hero__lead {
	margin: clamp(8px, 1.2svh, 12px) auto clamp(16px, 2.4svh, 24px);
	line-height: 1.45;
}

.home-hero__actions {
	gap: clamp(16px, 2vw, 22px);
}

.hero-codepen-slider {
	align-self: stretch;
	height: 100%;
	min-height: 0;
}

.hero-codepen-slider.swiper-container-coverflow {
	padding: clamp(10px, 2svh, 22px) 0 clamp(22px, 3svh, 34px);
}

.home-catalog {
	padding-top: clamp(58px, 7svh, 82px);
}

@media (max-width: 1180px) {
	.home {
		--home-header-height: 86px;
	}

	.hero-codepen-slider {
		height: 100%;
	}
}

@media (max-width: 960px) {
	.home {
		--home-header-height: 84px;
	}

	.home-hero {
		row-gap: clamp(12px, 2svh, 22px);
		padding: clamp(54px, 6svh, 68px) 0 clamp(20px, 3svh, 30px);
	}

	.home-hero__title {
		font-size: clamp(42px, 6.2vw, 58px);
		line-height: 1.02;
	}

	.home-hero__lead {
		margin-bottom: clamp(14px, 2svh, 20px);
	}

	.hero-codepen-slider {
		width: min(100% - 40px, 920px);
	}

	.home-catalog {
		padding-top: clamp(56px, 7svh, 72px);
	}
}

@media (max-width: 680px) {
	.home {
		--home-header-height: 86px;
	}

	.home-hero,
	.home-hero__content,
	.home-hero__actions,
	.hero-mobile-slider {
		margin-inline: auto;
		max-width: 100%;
	}

	.home-hero__content {
		padding-inline: 0;
	}

	.home-hero {
		grid-template-rows: auto auto;
		align-content: start;
		row-gap: clamp(12px, 2.4svh, 20px);
		height: auto;
		min-height: calc(100svh - var(--home-header-height));
		max-height: none;
		overflow: hidden;
		padding: clamp(28px, 5svh, 44px) 0 clamp(22px, 4svh, 34px);
	}

	.home-hero__content {
		width: min(100% - 32px, 560px);
	}

	.home-hero__title {
		font-size: clamp(31px, 8.6vw, 40px);
		line-height: 1.03;
	}

	.home-hero__lead {
		margin: 10px auto 12px;
		font-size: clamp(14px, 3.8vw, 16px);
		line-height: 1.35;
	}

	.home-hero__actions {
		gap: 10px;
		margin: 12px auto 0;
	}

	.home-hero .home-button {
		min-height: 46px;
		padding: 12px 20px;
	}

	.hero-mobile-slider {
		align-self: start;
		height: clamp(250px, 39svh, 380px);
		margin-top: clamp(6px, 1.8svh, 14px);
		padding: 4px 0 28px;
	}

	.hero-mobile-slider__slide {
		justify-content: center;
		width: clamp(150px, 38vw, 230px);
	}

	.hero-mobile-slider__card {
		width: 100%;
		height: auto;
		max-width: 100%;
		aspect-ratio: 3 / 4;
	}

	.home-catalog {
		padding-top: clamp(38px, 7svh, 66px);
	}
}

@media (max-width: 420px) {
	.home-hero__content {
		width: min(100% - 26px, 560px);
	}

	.home-hero__title {
		font-size: clamp(29px, 8.4vw, 35px);
	}

	.hero-mobile-slider {
		height: clamp(230px, 37svh, 340px);
		margin-top: clamp(4px, 1.4svh, 12px);
		padding-bottom: 26px;
	}
}

@media (min-width: 381px) and (max-width: 680px) and (min-height: 701px) {
	.home-hero {
		row-gap: clamp(8px, 1.6svh, 14px);
	}

	.hero-mobile-slider {
		height: clamp(300px, 43svh, 390px);
		margin-top: 0;
	}

	.hero-mobile-slider__slide {
		width: clamp(205px, 56vw, 260px);
	}
}

@media (max-width: 380px), (max-height: 700px) and (max-width: 680px) {
	.home-hero {
		row-gap: 10px;
		padding-top: 22px;
		padding-bottom: 20px;
	}

	.home-hero__eyebrow {
		display: none;
	}

	.home-hero__title {
		font-size: clamp(28px, 8.2vw, 32px);
		line-height: 1.02;
	}

	.home-hero__lead {
		max-width: 300px;
		margin: 8px auto 10px;
		font-size: 14px;
		line-height: 1.32;
	}

	.home-hero__actions {
		gap: 8px;
		margin-top: 10px;
	}

	.home-hero .home-button {
		min-height: 40px;
		padding: 10px 16px;
		font-size: 15px;
	}

	.hero-mobile-slider {
		height: clamp(208px, 34svh, 250px);
		margin-top: 8px;
		padding-top: 2px;
		padding-bottom: 24px;
	}

	.hero-mobile-slider__card {
		border-radius: 9px;
	}

	.home-catalog {
		padding-top: clamp(32px, 6svh, 46px);
	}
}

/* V2 shell compatibility without changing the original page composition. */
.home .mb-site-header {
	margin-block-end: 0;
}

.home .mb-site-footer {
	margin-block-start: 0;
}

.home-testimonials__all {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.home-consult {
	scroll-margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
	.home-page *,
	.home-page *::before,
	.home-page *::after {
		scroll-behavior: auto;
		transition-duration: 0.01ms;
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
	}
}


/* Final shell alignment: use the same 1400px outer container as the header. */
.home-container {
	width: 100%;
	max-width: var(--container-wide);
	margin-inline: auto;
	padding-inline: var(--gutter);
}


/* Hotfix 1.0.4: deterministic Hero composition on compact viewports. */
@media (max-width: 684px) {
	.home .home-page .home-hero {
		position: relative;
		left: auto;
		right: auto;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		max-width: none;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0;
		padding: clamp(28px, 6vw, 42px) 0 clamp(22px, 5vw, 34px);
		overflow: hidden;
		transform: none;
	}

	.home .home-page .home-hero__content {
		position: relative;
		inset: auto;
		z-index: 4;
		display: block;
		flex: 0 0 auto;
		width: min(calc(100% - 32px), 560px);
		max-width: calc(100% - 32px);
		margin: 0 auto;
		padding: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		text-align: center;
	}

	.home .home-page .home-hero__eyebrow,
	.home .home-page .home-hero__title,
	.home .home-page .home-hero__lead,
	.home .home-page .home-hero__actions {
		position: relative;
		left: auto;
		right: auto;
		max-width: 100%;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.home .home-page .home-hero__eyebrow {
		display: flex;
	}

	.home .home-page .home-hero__actions {
		display: flex;
		width: 100%;
		margin: 12px auto 0;
	}

	.home .home-page .home-hero .home-button {
		width: 100%;
		max-width: 100%;
	}

	.home .home-page .hero-codepen-slider {
		display: none;
	}

	.home .home-page .hero-mobile-slider {
		position: relative;
		inset: auto;
		z-index: 2;
		display: block;
		flex: 0 0 auto;
		align-self: stretch;
		width: 100%;
		max-width: 100%;
		height: clamp(260px, 82vw, 390px);
		min-height: 0;
		margin: clamp(14px, 4vw, 22px) auto 0;
		padding: 4px 0 28px;
		overflow: visible;
		transform: none;
	}

	.home .home-page .hero-mobile-slider .swiper-wrapper {
		height: 100%;
	}

	.home .home-page .hero-mobile-slider__slide {
		display: flex;
		justify-content: center;
		width: clamp(160px, 56vw, 250px);
		max-width: 72vw;
		height: 100%;
	}

	.home .home-page .hero-mobile-slider__card {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 3 / 4;
	}
}

@media (max-width: 380px), (max-width: 684px) and (max-height: 700px) {
	.home .home-page .home-hero {
		padding-top: 22px;
		padding-bottom: 20px;
	}

	.home .home-page .home-hero__eyebrow {
		display: none;
	}

	.home .home-page .hero-mobile-slider {
		height: clamp(220px, 72vw, 280px);
		margin-top: 10px;
	}
}
