:root {
	--header-height: 68px;

	@media (max-width: 767px) {
		--header-height: 60px;
	}
}

.front-page .header {
	background: transparent;
	box-shadow: unset;
}
.front-page .main {
	margin-top: calc(-1 * var(--header-height));
}

.front-page .header-logo::before {
	color: var(--color-white);
	margin-bottom: unset;
}
.front-page .header-logo__text {
	display: none;
}

.front-page .sign-in-btn__ico {
	fill: var(--color-white);
}
.front-page .sign-in-btn__text {
	color: var(--color-white);
}

.front-page .header-nav-toggle {
	background: #FFFFFF19;
}
.front-page .header:not(.active) .header-nav-toggle::before,
.front-page .header:not(.active) .header-nav-toggle > i,
.front-page .header:not(.active) .header-nav-toggle::after {
	background: var(--color-white);
}
.front-page .sign-in-btn:is(:active, :focus-visible, :hover),
.front-page .header-nav-toggle:is(:active, :focus-visible, :hover),
.front-page .account-nav__user:is(.active, :active, :focus-visible, :hover) {
	background: #FFFFFF19;
}
.front-page .header-nav .account-nav__user-name,
.front-page .account-nav__user-arrow > .ico--arrow {
	color: var(--color-white);
}
.front-page .account-nav__user-arrow > .ico--arrow {
	fill: var(--color-white);
}
.front-page  .header-nav .account-nav__list {
	top: calc(100% + var(--header-v-padding));
}

.search-section {
	background-color: var(--color-blue);
	background-image: url("/img/front-search/2000x680.webp");
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 0 0 var(--border-radius_xxl) var(--border-radius_xxl);
}
.front-search {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: var(--header-height);
	min-height: 680px;
}
.front-search > * {
	max-width: 100%;
	overflow-x: auto;
}

.front-search__header,
.front-search__footer {
	color: var(--color-white);
	text-align: center;
	max-width: 80%;
}

.front-search__header {
	margin: 1.875rem 0;
	font-weight: 700;
	font-size: 2.5rem;
}

.front-search__footer {
	margin: 1.25rem 0;
	font-weight: 600;
	font-size: 1.125rem;
}

.front-search__type-switches {
	display: flex;
	align-items: center;
	column-gap: 12px;
	margin-bottom: 1rem;
}

.product-type-btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	column-gap: 5px;
	padding: 10px 16px 10px 14px;
	background: var(--color-gray-light);
	border-radius: 12px;
	transition: var(--transition);
}
.product-type-btn:is(.active, :active, :focus-visible, :hover) {
	background: var(--color-white);
}
.product-type-btn__ico {
	fill: var(--color-gray-3);
	width: 24px;
	height: 24px;
}
.product-type-btn.active .product-type-btn__ico {
	fill: url(#blue-gradient) var(--color-blue);
}
.product-type-btn__text {
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: var(--color-brown);
}
.product-type-btn.active .product-type-btn__text {
	color: var(--color-blue);
}

.front-search__main {
	box-sizing: border-box;
	background-color: var(--color-white);
	border-radius: 20px;
	padding: 1.5rem;
	scroll-margin-top: 10px;
	width: 100%;
}

.front-search__field {
	display: flex;
	flex-wrap: wrap;
	row-gap: .75rem;
}
.front-search__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: calc(100% - 182px - 16px);
	min-height: 48px;
	margin-right: 16px;
	box-shadow: inset 0 0 0 1px var(--color-gray-9);
}
.front-search__label .tag-search__input {
	flex: 0 1 200px;
	order: 999;
}

.front-search__send-btn.button_l {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 16px;
	height: 48px;
	width: 182px;
}
.front-search__send-ico {
	fill: var(--color-white);
	margin-left: 4px;
	width: 30px;
	height: 30px;
}

.front-search__suggestions {
	width: 100%;
}
.front-search__suggestions:empty {
	display: none;
}
.front-search__suggestions > .tag-suggestions__header {
	display: none;
}
.front-search__suggestions > .tag-suggestions__tags::before {
	content: "Популярные теги:";
	color: var(--color-gray-dark);
	font-size: .875rem;
}

.about-us-section {
	box-sizing: border-box;
	padding: 3.75rem 0 calc(3.75rem + var(--border-radius_xl));
	border-radius: var(--border-radius_xl) var(--border-radius_xl) 0 0;
	background-color: var(--color-gray-light);
	background-image: url("/img/about-us_2000x720.webp");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.about-us-title {
	font-weight: 600;
	font-size: 2.5rem;
	color: var(--color-purple);
}
.about-us-title__accent {
	border-radius: var(--border-radius_m);
	padding: .25rem .375rem;
	font-weight: 500;
	font-size: 1.875rem;
	font-family: "Playfair Display Italic", serif;
	white-space: nowrap;
	background-color: var(--color-purple-xlight);
}
.about-us-subtitle {
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--color-gray-3);
	margin-bottom: .5rem;
}
.about-us-text {
	color: var(--color-brown);
	max-width: 40%;
}
.about-us-text_s {
	font-weight: 500;
	font-size: .875rem;
	margin-bottom: 3.75rem;
}
.about-us-text_l {
	font-weight: 600;
	font-size: 1.25rem;
}
.about-us-features {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .5rem;
	margin-top: 1rem;
}
.about-us-feat {
	border-radius: var(--border-radius_m);
	padding: .5rem;
	font-weight: 500;
	font-size: .875rem;
	background-color: var(--color-purple-xlight);
	box-shadow: inset 0 0 0 2px var(--color-purple);
	color: var(--color-brown);
}
.about-us-feat b {
	font-weight: 600;
}

.how-to-relax-section {
	margin-top: calc(-1 * var(--border-radius_xl));
	box-sizing: border-box;
	padding: 3.75rem 0;
	border-radius: var(--border-radius_xl) var(--border-radius_xl) 0 0;
	background-color: var(--color-gray-xlight);
}
.how-to-relax-title {
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--color-purple);
	margin-bottom: .5rem;
}
.how-to-relax-text,
.how-to-relax__text {
	font-weight: 500;
	font-size: .875rem;
	color: var(--color-brown);
}
.how-to-relax-text {
	max-width: 40%;
	margin-bottom: 30px;
}

.how-to-relax-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 20px;
}

.how-to-relax {
	box-sizing: border-box;
	border-radius: var(--border-radius_l);
	padding: 1.5rem;
	width: 24%;
}
.how-to-relax__ico-bg {
	border-radius: var(--border-radius_m);
	margin-bottom: 1.875rem;
	width: 42px;
	height: 42px;
}

.how-to-relax_type {
	background-color: #BCE7E9;
}
.how-to-relax_type .how-to-relax__ico-bg {
	background-color: #A1D3D6;
}
.how-to-relax_type .ico {
	fill: #BCE7E9;
}

.how-to-relax_time {
	background-color: #DFD8F1;
}
.how-to-relax_time .how-to-relax__ico-bg {
	background-color: #C8BEE3;
}
.how-to-relax_time .ico {
	fill: #DFD8F1;
}

.how-to-relax_money {
	background-color: #AEC7E9;
}
.how-to-relax_money .how-to-relax__ico-bg {
	background-color: #98B3D7;
}
.how-to-relax_money .ico {
	fill: #AEC7E9;
}

.how-to-relax_season {
	background-color: #CBF3DB;
}
.how-to-relax_season .how-to-relax__ico-bg {
	background-color: #B3DBC3;
}
.how-to-relax_season .ico {
	fill: #CBF3DB;
}

.how-to-relax__title {
	font-weight: 600;
	font-size: 1rem;
	color: var(--color-brown);
	margin-bottom: .5rem;
}

@media (max-width: 1199px) {
	.search-section {
		background-image: url("/img/front-search/1200x650.webp");
	}
	.front-search {
		min-height: 650px;
	}
	.about-us-text,
	.how-to-relax-text {
		max-width: 60%;
	}
}

@media (max-width: 991px) {
	.front-page .header.active {
		background-color: var(--color-gray-xlight);
	}
	.front-page .header.active .sign-in-btn:is(:active, :focus-visible, :hover),
	.front-page .header.active .header-nav-toggle:is(:active, :focus-visible, :hover) {
		background: #1DB5BF19;
	}
	.front-page .header.active .sign-in-btn_notifications .sign-in-btn__ico {
		fill: var(--color-blue);
	}
	.front-search__header,
	.front-search__footer {
		line-height: 1.2em;
	}
	.front-search__header {
		margin: 1.25rem 0;
		font-size: 1.875rem;
	}
	.front-search__footer {
		margin: 1rem 0;
		font-size: 1rem;
	}
	.front-search__main {
		padding: 1.125rem;
	}
	.front-search__type-switches {
		column-gap: 10px;
		margin-bottom: .75rem;
	}
	.product-type-btn {
		padding: 8px 18px;
	}
	.product-type-btn__ico {
		display: none;
	}
	.product-type-btn__text {
		font-size: 1.125rem;
		line-height: 1.5rem;
	}

	.about-us-section {
		border-radius: var(--border-radius_l) var(--border-radius_l) 0 0;
		background-image: url("/img/about-us_380x360.webp");
		background-position: 50% calc(100% - var(--border-radius_xl));
		background-size: auto;
		padding-bottom: 400px;
	}
	.about-us-title,
	.about-us-title__accent {
		font-size: 1.5rem;
	}
	.about-us-subtitle {
		font-size: 1rem;
	}
	.about-us-text_l {
		font-size: 1.125rem;
	}
	.about-us-text,
	.how-to-relax-text {
		max-width: unset;
	}

	.how-to-relax-section {
		border-radius: var(--border-radius_l) var(--border-radius_l) 0 0;
	}
	.how-to-relax {
		width: 48.5%;
	}
	.how-to-relax__ico-bg {
		margin-bottom: 1rem;
	}
}

@media (max-width: 767px) {
	.search-section {
		background-image: url("/img/front-search/768x650.webp");
	}
	.front-search__field {
		flex-direction: column;
	}
	.front-search__label {
		margin-right: unset;
		width: initial;
	}
	.front-search__send-btn.button_l {
		justify-content: center;
		width: 100%;
		order: 9;
	}
}

@media (max-width: 575px) {
	.preset-collection > .preset_l:nth-child(n+4) {
		display: none;
	}
	.how-to-relax {
		width: 100%;
	}
}