@charset "UTF-8";

html {
	--primary-color: #fff;
	--primary-color-revert: #fff;
	--primary-color-invert: #1a1a1a;
	--primary-color-rgba: rgba(255, 255, 255, .9);
	--primary-color-rgba-invert: rgba(255, 255, 255, .8);
	--primary-color-rgba-revert: rgba(26, 26, 26, .9);
	--primary-color-contrast: #212121;
	--second-color: #1a1a1a;
	--second-color-rgba: rgba(26, 26, 26, .9);
	--second-color-invert: #fff;
	--three-color: #9c9c9c;
	--three-color-lite: #b1b1b1;
	--three-color-light: #edf0f0;
	--color-rgba: 0, 0, 0;
	--color-rgba-invert: 0, 0, 0;
	--color-rgba-revert: 255, 255, 255;
	--color-rgba-white: 255, 255, 255;
	--filter-icons-invert: invert(0) grayscale(100%);
}

.card-profile {
	position: relative;
	padding: 35px 0 0 !important;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.card-profile_small {
	padding: 36px 5px 10px;
}

.card-profile__inner {
	margin: 0 0 20px;
	position: relative;
}

.card-profile__new {
	display: block;
	padding: 10px 15px;
	position: absolute;
	z-index: 2;
	top: 20px;
	left: 0;
	background: #000000;
	font-size: 1rem;
	color: #ffffff;
}

.card-profile__model-icon {
	width: 30px;
	height: 13px;
	fill: #ffffff;
}

.card-profile__remove {
	position: absolute;
	top: 20px;
	right: 20px;
	background: red;
	width: 42px;
	height: 42px;
}

.card-profile__photo {
	display: block;
	width: 100%;
	aspect-ratio: 3/4;
	position: relative;
	z-index: 1;
	text-decoration: none;
}

.card-profile__image {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.card-profile__image:nth-child(1) {
	z-index: 5;
}

.card-profile__image:nth-child(2) {
	z-index: 4;
}

.card-profile__image:nth-child(3) {
	z-index: 3;
}

.card-profile__image:nth-child(4) {
	z-index: 2;
}

.card-profile__image:nth-child(5) {
	z-index: 1;
}

.card-profile__image:not(:first-child) {
	opacity: 0;
}

.card-profile__name {
	display: block;
	margin: 0 0 20px;
	font-size: 1.5rem !important;
	-webkit-transition: color .5s ease;
	-o-transition: color .5s ease;
	transition: color .5s ease;
}

.label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	padding: 5px 0;
	position: absolute;
	top: 0;
	left: 0;
	justify-content: flex-start;
	align-items: center;
}

.label__name {
	margin: 0 10px 0 0;
	-webkit-transition: color .5s ease;
	-o-transition: color .5s ease;
	transition: color .5s ease;
}

.label__icon {
	-webkit-transition: fill .5s ease;
	-o-transition: fill .5s ease;
	transition: fill .5s ease;
	fill: var(--second-color);
	width: 26px;
	height: 26px;
}
.scheme-dark .label__icon {
	fill: #fff;
}

.button-card {
	padding: 10px;
	position: absolute;
	z-index: 2;
	-ms-flex-item-align: end;
	align-self: flex-end;
	background: rgba(0, 0, 0, 0.3);
	color: transparent;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
	width: 46px;
	height: 46px;
}

.button-card_add {
	bottom: 0;
	left: 0;
}

.button-card_remove {
	top: 20px;
	right: 20px;
	color: #ffffff;
}

.button-card__icon {
	fill: currentColor;
	width: 100%;
	height: 100%;
}

.button-card__icon_cheart {
	stroke: #ffffff;
	stroke-width: 2px;
}

.button-card_static .button-card__icon_cheart {
	stroke: var(--second-color);
}

.button-card.active {
	color: #ffffff;
}

.button-card_static {
	padding: 6px;
	margin: 0 20px 0;
	position: static;
	background: none;
	width: 36px;
	height: 36px;
}

.button-card_static.active {
	color: var(--second-color);
}

.params {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	visibility: hidden;
	font-size: .9rem;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	opacity: 0;
}

.params__inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 5px 10px;
	justify-items: stretch;
}

.params__item {
	/*white-space: nowrap;*/
	margin: 0;
	-webkit-transition: color .5s ease;
	-o-transition: color .5s ease;
	transition: color .5s ease;
}

.params__label {
	margin: 0;
	text-transform: capitalize;
}



@media only screen and (min-width: 992px) {
	.card-profile:hover .params {
		visibility: visible;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
		opacity: 1;
	}

	.params {
		-webkit-transform: translateY(20px);
		-ms-transform: translateY(20px);
		transform: translateY(20px);
		-webkit-transform-origin: top;
		-ms-transform-origin: top;
		transform-origin: top;
	}

	.params__item {
		width: calc(33.333% - 6.667px);
	}
}

@media only screen and (max-width: 992px) {
	.card-profile__new {
		top: auto;
		right: 0;
		bottom: 0;
		left: auto;
	}

	.card-profile__more-info {
		width: 60px;
		height: 35px;
		position: absolute;
		z-index: 3;
		top: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.3);
	}

	.card-profile__more-info::before,
	.card-profile__more-info::after {
		-webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
		transition: opacity .3s ease, -webkit-transform .3s ease;
		-o-transition: transform .3s ease, opacity .3s ease;
		transition: transform .3s ease, opacity .3s ease;
		transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
	}

	.card-profile__more-info::before {
		background: #ffffff;
		-webkit-transform: scale(1) rotate(0);
		-ms-transform: scale(1) rotate(0);
		transform: scale(1) rotate(0);
		opacity: 1;
		-webkit-mask: url("../icons/source/dots.svg");
		mask: url("../icons/source/dots.svg");
		-webkit-mask-size: 60%;
		mask-size: 60%;
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		content: "";
		display: block;
		position: absolute;
		width: 100%;
		height: 100%;
	}

	.card-profile__more-info::after {
		background: #ffffff;
		-webkit-transform: scale(0) rotate(-90deg);
		-ms-transform: scale(0) rotate(-90deg);
		transform: scale(0) rotate(-90deg);
		opacity: 0;
		-webkit-mask: url("../icons/source/close.svg");
		mask: url("../icons/source/close.svg");
		-webkit-mask-size: 30%;
		mask-size: 30%;
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		content: "";
		display: block;
		position: absolute;
		width: 100%;
		height: 100%;
	}

	.card-profile__more-info.active::before {
		-webkit-transform: scale(0) rotate(90deg);
		-ms-transform: scale(0) rotate(90deg);
		transform: scale(0) rotate(90deg);
		opacity: 0;
	}

	.card-profile__more-info.active::after {
		-webkit-transform: scale(1) rotate(0);
		-ms-transform: scale(1) rotate(0);
		transform: scale(1) rotate(0);
		opacity: 1;
	}

	.button-card_remove {
		top: 0;
		right: 0;
	}

	.params {
		visibility: hidden;
		width: 100%;
		height: 365px;
		padding: 40px;
		position: absolute;
		z-index: 2;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		background: rgba(0, 0, 0, 0.5);
		-webkit-transform: scaleY(0);
		-ms-transform: scaleY(0);
		transform: scaleY(0);
		-webkit-transform-origin: center;
		-ms-transform-origin: center;
		transform-origin: center;
		opacity: 0;
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}

	.params.active {
		visibility: visible;
		-webkit-transform: scaleY(1);
		-ms-transform: scaleY(1);
		transform: scaleY(1);
		opacity: 1;
	}

	.params__inner {
		width: -webkit-max-content;
		width: -moz-max-content;
		width: max-content;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.params__item {
		width: 100%;
		margin: 0 0 10px;
		font-size: 1.1rem;
		color: #ffffff;
	}
}

@media only screen and (max-width: 992px) and (max-width: 767px) {
	.params {
		padding: 25px;
	}
}

@media only screen and (max-width: 768px) {
	.params__item {
		font-size: 1rem;
	}
}

@media only screen and (max-width: 767px) {
	.card-profile__name {
		margin: 0;
		font-size: 1rem;
	}

	.label__name {
		font-size: .9rem;
	}

	.label__icon {
		width: 22px;
		height: 22px;
	}
}

@media all and (max-width: 550px) {
	.params {
		height: 250px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.card-profile__name {
		font-size: 1.2rem;
	}
}