/* Central first-screen offers from Figma, 2026-11-30. */
.fscreen__middle:has(.fscreen-offer_figma) {
	background-color: #d75585;
	background-image:
		radial-gradient(circle 126px at 18% 54%, rgba(255, 255, 255, .2) 0 99%, transparent 100%),
		radial-gradient(circle 196px at 18% 54%, transparent 0 126px, rgba(255, 255, 255, .12) 127px 195px, transparent 196px),
		linear-gradient(145deg, #ffe2ec 0%, #f6c3d6 22%, #e88aad 65%, #d43e79 100%) !important;
}

.fscreen-offer_figma .fscreen-offer__label {
	background: #000;
	border-radius: 18px 6px 6px 6px;
	color: #fff;
	z-index: 2;
}

.fscreen-offer_figma .fscreen-offer__title p {
	margin: 0;
}

.fscreen-offer_figma .fscreen-offer__title strong {
	color: #fff;
	display: block;
	font-weight: 800;
	text-transform: uppercase;
}

.fscreen-offer_figma .fscreen-offer__btn {
	background: #000;
	border-radius: 8px;
	color: #fff;
	cursor: default;
	pointer-events: none;
}

.fscreen-offer_figma .fscreen-offer__btn .icon-btn__icon {
	color: #fff;
}

@media (min-width: 901px) {
	.fscreen__middle:has(.fscreen-offer_figma) {
		align-self: start;
		aspect-ratio: 777 / 538;
		container-type: inline-size;
		height: auto;
	}

	.fscreen__middle:has(.fscreen-offer_figma) .fscreen__slider,
	.fscreen__middle:has(.fscreen-offer_figma) .swiper,
	.fscreen__middle:has(.fscreen-offer_figma) .swiper-wrapper,
	.fscreen__middle:has(.fscreen-offer_figma) .swiper-slide {
		height: 100% !important;
	}

	.fscreen-offer_figma {
		--fscreen-figma-canvas-height: 69.2407cqw;
		--fscreen-figma-offset-y: max(0px, calc((100% - var(--fscreen-figma-canvas-height)) / 2));
		height: 100%;
		padding: 1.544cqw;
	}

	.fscreen-offer_figma .fscreen-offer__wrapper {
		border-width: .515cqw;
		display: block;
		flex-grow: 0;
		height: 100%;
		padding: 0;
		position: relative;
	}

	.fscreen-offer_figma .fscreen-offer__label {
		box-sizing: border-box;
		font-size: 2.317cqw;
		height: 4.5058cqw;
		left: 3.86cqw;
		padding: 0 1.802cqw;
		position: absolute;
		top: calc(var(--fscreen-figma-offset-y) + 4.89cqw);
		width: 29.8584cqw;
	}

	.fscreen-offer_figma .fscreen-offer__aside {
		display: block;
		inset: 0;
		order: initial;
		position: absolute;
	}

	.fscreen-offer_figma .fscreen-offer__img {
		margin: 0;
		max-width: none;
		overflow: hidden;
		padding-top: 0 !important;
		position: absolute;
	}

	.fscreen-offer_multiglass .fscreen-offer__img {
		aspect-ratio: 1;
		left: -12.23cqw;
		top: calc(var(--fscreen-figma-offset-y) + 4.63cqw);
		width: 58.56cqw;
	}

	.fscreen-offer_best-price .fscreen-offer__img {
		aspect-ratio: 1266 / 1242;
		left: -2.45cqw;
		top: calc(var(--fscreen-figma-offset-y) + 14.93cqw);
		width: 41.96cqw;
	}

	.fscreen-offer_figma .fscreen-offer__inner {
		bottom: auto;
		display: block;
		gap: 0;
		min-width: 0;
		position: absolute;
		right: auto;
	}

	.fscreen-offer_multiglass .fscreen-offer__inner {
		left: 40.9266cqw;
		top: calc(var(--fscreen-figma-offset-y) + 11.583cqw);
		width: 52.6384cqw;
	}

	.fscreen-offer_best-price .fscreen-offer__inner {
		left: 38.739cqw;
		top: calc(var(--fscreen-figma-offset-y) + 13.6422cqw);
		width: 53.282cqw;
	}

	.fscreen-offer_figma .fscreen-offer__bottom {
		left: 0;
		margin-top: 0;
		position: absolute;
		right: 0;
	}

	.fscreen-offer_multiglass .fscreen-offer__bottom {
		top: 26.3835cqw;
	}

	.fscreen-offer_best-price .fscreen-offer__bottom {
		top: 17.2458cqw;
	}

	.fscreen-offer_multiglass .fscreen-offer__title {
		color: #26021c;
		font-size: 3.3462cqw;
		font-weight: 500;
		line-height: 1.08;
	}

	.fscreen-offer_multiglass .fscreen-offer__title strong {
		font-size: 6.3063cqw;
		line-height: 1.08;
		margin-top: 2.574cqw;
	}

	.fscreen-offer_best-price .fscreen-offer__title {
		font-size: 0;
		line-height: 1;
		padding-top: 0;
	}

	.fscreen-offer_best-price .fscreen-offer__title strong {
		font-size: 6.3063cqw;
		line-height: 1.08;
		margin-top: 0;
	}

	.fscreen-offer_figma .fscreen-offer__txt {
		color: #26021c;
		font-weight: 500;
		padding-bottom: 0;
	}

	.fscreen-offer_multiglass .fscreen-offer__txt {
		font-size: 1.802cqw;
		line-height: 1.4;
		width: 51.48cqw;
	}

	.fscreen-offer_best-price .fscreen-offer__txt {
		font-size: 3.089cqw;
		line-height: 1.4;
		width: 53.282cqw;
	}

	.fscreen-offer_best-price .fscreen-offer__paragraph {
		display: block;
	}

	.fscreen-offer_best-price .fscreen-offer__paragraph + .fscreen-offer__paragraph {
		margin-top: 2.1377cqw;
	}

	.fscreen-offer_figma .fscreen-offer__btn {
		align-items: center;
		box-sizing: border-box;
		font-size: 2.0592cqw;
		gap: 2.8314cqw;
		height: 6.1776cqw;
		justify-content: space-between;
		min-width: 0;
		padding: 0 2.96cqw;
		position: absolute;
		width: 28.1853cqw;
	}

	.fscreen-offer_multiglass .fscreen-offer__btn {
		right: 1.5444cqw;
		top: 17.2458cqw;
	}

	.fscreen-offer_best-price .fscreen-offer__btn {
		right: 0;
		top: 24.3243cqw;
	}
}

@media (min-width: 1201px) {
	.fscreen__middle:has(.fscreen-offer_figma) {
		align-self: stretch;
		aspect-ratio: auto;
		height: auto;
	}
}

@media (max-width: 900px) {
	.fscreen-offer_figma .fscreen-offer__wrapper {
		grid-template-columns: 1fr;
		padding: 70px 22px 22px;
		position: relative;
	}

	.fscreen-offer_figma .fscreen-offer__aside {
		display: none;
	}

	.fscreen-offer_figma .fscreen-offer__inner {
		gap: 16px;
		min-width: 0;
	}

	.fscreen-offer_figma .fscreen-offer__label {
		font-size: 17px;
		left: 25px;
		padding: 8px 14px;
		position: absolute;
		top: 22px;
	}

	.fscreen-offer_figma .fscreen-offer__title {
		font-size: clamp(20px, 4.5vw, 28px);
		font-weight: 500;
		line-height: 1.12;
	}

	.fscreen-offer_figma .fscreen-offer__title strong {
		font-size: clamp(30px, 6vw, 42px);
		line-height: .95;
		margin-top: 18px;
	}

	.fscreen-offer_best-price .fscreen-offer__title strong {
		margin-top: 0;
	}

	.fscreen-offer_figma .fscreen-offer__line-break {
		display: none;
	}

	.fscreen-offer_figma .fscreen-offer__txt {
		font-size: 15px;
		line-height: 1.4;
		padding-bottom: 24px;
	}

	.fscreen-offer_best-price .fscreen-offer__paragraph {
		display: block;
	}

	.fscreen-offer_best-price .fscreen-offer__paragraph + .fscreen-offer__paragraph {
		margin-top: 14px;
	}
}

@media (max-width: 450px) {
	.fscreen-offer_figma .fscreen-offer__wrapper {
		padding: 65px 15px 15px;
	}

	.fscreen-offer_figma .fscreen-offer__label {
		left: 18px;
		top: 18px;
	}
}
