@font-face {
	font-family: Montserrat;
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url(../../fonts/montserrat/ms-400.woff2) format("woff2");
}
@font-face {
	font-family: Montserrat;
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url(../../fonts/montserrat/ms-500.woff2) format("woff2");
}
@font-face {
	font-family: Montserrat;
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url(../../fonts/montserrat/ms-600.woff2) format("woff2");
}
@font-face {
	font-family: Montserrat;
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url(../../fonts/montserrat/ms-700.woff2) format("woff2");
}
@font-face {
	font-family: Montserrat;
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	src: url(../../fonts/montserrat/ms-800.woff2) format("woff2");
}
*,
::after,
::before {
	box-sizing: inherit;
}
::-moz-selection {
	color: #fff;
	background-color: #f5a0b5;
}
::selection {
	color: #fff;
	background-color: #f5a0b5;
}
html {
	scroll-behavior: smooth;
}
body,
html {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	font-family: Montserrat;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
}
.main {
	padding-top: 70px;
	padding-bottom: 60px;
}
@media (min-width: 768px) {
	.main {
		padding-top: 75px;
		padding-bottom: 30px;
	}
}
@media (min-width: 1280px) {
	.main {
		padding-bottom: 50px;
		padding-top: 104px;
	}
}
.main {
	flex: 1 0 auto;
}
.footer {
	flex: 0 0 auto;
}
a,
a:hover {
	box-sizing: border-box;
	text-decoration: none;
}
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
dd,
dl,
dt {
	margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
	padding: 0;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
button {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	cursor: pointer;
	border: none;
	outline: 0;
	background-color: transparent;
}
button:focus-visible {
	outline: 0;
}
.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
	position: absolute;
	overflow: hidden;
	clip: rect(0 0 0 0);
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	white-space: nowrap;
	border: 0;
	-webkit-clip-path: inset(100%);
	clip-path: inset(100%);
}
a,
button {
	outline: 0;
	border: none;
}
a:active,
a:focus,
button:active,
button:focus {
	border: none;
	outline: 0;
}
a:active,
a:focus,
a:focus-visible,
button:active,
button:focus,
button:focus-visible {
	outline: 0 !important;
}
button::-moz-focus-inner {
	border: 0 !important;
}
.loader {
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #fff;
}
.section-title {
	position: relative;
	display: block;
	color: #787e84;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
}
.section-title::after,
.section-title::before {
	position: absolute;
	content: "";
	background-image: url(../img/icons/heart-decor.svg);
	background-repeat: no-repeat;
	background-size: contain;
}
.section-title::before {
	bottom: -6px;
	left: -32px;
	width: 19px;
	height: 16px;
}
.section-title::after {
	top: -8px;
	right: -34px;
	width: 25px;
	height: 20px;
	transform: rotate(38deg);
}
@media (min-width: 768px) {
	.section-title {
		font-size: 24px;
		line-height: 32px;
	}
	.section-title::before {
		bottom: -3px;
		left: -26px;
	}
	.section-title::after {
		right: -27px;
	}
}
@media (min-width: 1024px) {
	.section-title {
		font-size: 28px;
		line-height: 32px;
	}
	.section-title::before {
		bottom: -8px;
		left: -32px;
		width: 22px;
		height: 19px;
	}
	.section-title::after {
		top: -14px;
		right: -33px;
		width: 30px;
		height: 26px;
	}
}
@media (min-width: 1280px) {
	.section-title {
		font-size: 36px;
		line-height: 50px;
	}
	.section-title::before {
		bottom: -6px;
		left: -31px;
	}
	.section-title::after {
		top: -4px;
		right: -38px;
	}
}
@media (min-width: 1366px) {
	.section-title {
		letter-spacing: 1px;
		font-size: 48px;
		line-height: 76px;
	}
	.section-title::before {
		bottom: 7px;
		left: -44px;
	}
	.section-title::after {
		top: -1px;
		right: -41px;
	}
}
.button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 290px;
	padding: 0 15px;
	transition: 0.3s;
	border-radius: 30px;
}
.button:hover {
	transition: 0.3s;
}
@media (min-width: 768px) {
	.button {
		width: 272px;
	}
}
@media (min-width: 1024px) {
	.button {
		width: 305px;
	}
}
@media (min-width: 1280px) {
	.button {
		width: 335px;
	}
}
@media (min-width: 1366px) {
	.button {
		width: 350px;
	}
}
.container {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 15px;
	width: 100%;
}
@media (min-width: 768px) {
	.container {
		max-width: 678px;
	}
}
@media (min-width: 1024px) {
	.container {
		max-width: 930px;
	}
}
@media (min-width: 1280px) {
	.container {
		max-width: 1110px;
	}
}
@media (min-width: 1366px) {
	.container {
		max-width: 1315px;
		padding: 0 25px;
	}
}
.card-page__title {
	margin-bottom: 8px;
	text-align: center;
	color: #787e84;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
}
@media (min-width: 768px) {
	.card-page__title {
		margin-top: 10px;
		margin-bottom: 20px;
		text-align: left;
		font-size: 26px;
	}
}
@media (min-width: 1024px) {
	.card-page__title {
		margin-top: 0;
		font-size: 28px;
	}
}
@media (min-width: 1280px) {
	.card-page__title {
		margin-bottom: 16px;
		transform: translate(0, 0);
		font-size: 36px;
		line-height: 50px;
	}
}
@media (min-width: 1366px) {
	.card-page__title {
		margin-bottom: 9px;
		transform: translate(-3px, -5px);
	}
}

/* 02.05.2022 */

.filter__button.filter_button_purchased {
	color: #fff;
	animation: pulse 1.5s ease-in-out 0.5s infinite;
	/* background-color: #f16e8e; */
	order: 999;
}
.filter__button.filter_button_purchased,
.filter__button--mobile.filter_button_purchased {
	z-index: 2;
	transition: 0.3s;
}

.filter__button.filter_button_purchased::after,
.filter__button--mobile.filter_button_purchased::after,
.header-nav__link.filter_button_purchased::after {
	position: absolute;
	content: "";
	background-color: transparent;
	border-radius: 35px;
	left: 50%;
	top: 50%;
	border: 1px solid #f16e8e;
	color: #fff;
	animation: pulse 1.5s ease-in-out 0.5s infinite;
	background-color: #f16e8e;
	width: calc(100% + 40px);
	height: calc(100% - 8px);
	transform: translate(-50%, -50%);
	z-index: -1;
}
.header-nav__link.filter_button_purchased::after {
	height: calc(100% + 10px);
}
.filter__button--mobile.filter_button_purchased {
	width: max-content;
	margin-left: auto;
	margin-right: auto;
}
.filter__button--mobile.filter_button_purchased.filter__button-mobile--active,
.header-nav__link.filter_button_purchased {
	color: #fff;
}
.filter__button--mobile.filter__button-mobile--active.filter_button_purchased::after {
	background-color: #f5a0b5;
	border-color: #f5a0b5;
	color: #fff;
}

@media (min-width: 768px) {
	.filter__button.filter_button_purchased::before {
		display: none;
	}
	.filter__button.filter_button_purchased::after {
		width: calc(100% + 30px);
		height: calc(100% + 4px);
		border: 1px solid #f16e8e;
		background-color: #f16e8e;
		color: #fff !important;
	}
	.filter__button.filter_button_purchased:hover,
	.filter__button.filter_button_purchased.filter__button--active {
		color: #fff;
		transition: 0.3s;
	}
	.filter__button.filter_button_purchased:hover::after,
	.filter__button.filter_button_purchased.filter__button--active::after {
		background-color: #f16e8e;
		border-color: #f16e8e;
		transition: 0.3s;
	}
}

.filter__button--mobile.filter_button_purchased {
	color: #fff;
}

.header-nav__tab-content li {
	position: relative;
}
/* animation: pulse 1.5s ease-in-out .5s infinite */

@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.4;
	}
	100% {
		opacity: 1;
	}
}

.filter__button--mobile.filter_button_purchased.filter__button-mobile--active {
	color: #f16e8e;
}
.filter__button--mobile.filter_button_purchased.filter__button-mobile--active::after {
	display: none;
}
