/* Set. */

.set {
	max-width: 1400px;
	margin: 40px auto 0;
}

.set_net {
	justify-content: center;
	align-items: stretch;
	grid-gap: 14px;

	max-width: 800px;
	margin: 40px auto 0;
}

.set_item {
	display: block;

	width: 100%;
	border: 2px solid #99D4EB;
	border-radius: 10px;

	transition: border-color .43s;
}

.set_items {
	width: 100%;
}

.set_items li:not(.active) {
	display: none !important;
}

.set_item.inactive {
	border-color: #F4F4F4;
}

.set_item_img {
	position: relative;
}

.set_item_img:after {
	content: '';
	display: block;
	padding-bottom: 100%;
}

.set_item_img img {
	position: absolute;
	top: 0;
	left: 0;

	height: 100%;
	padding: 4px;
	object-fit: cover;
	object-position: center;
	border-radius: 10px 10px 0 0;
}

.set_item_content {
	display: flex;
	flex-direction: column;
	grid-gap: 12px;

	padding: 12px 20px 16px;
}

.set_item_price {
	font-size: 18px;
	font-weight: 700;
}

.set_item_price ._sale {
    padding: 0 4px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    background-color: #ED6D30;
    border-radius: 6px;
}

.set_item_price ._old {
	--color: var(--gray);
    font-size: 15px;
    font-weight: 400;
    text-decoration: line-through;
}

.set_item_name {
	overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

	font-size: 14px;
	line-height: 1.5;
}

.set_plus {
	display: flex;
	align-items: center;

	font-size: 20px;
	font-weight: 300;
	color: var(--primary);
}

.set_item_choose {
	display: flex;
	align-items: flex-end;

	flex-grow: 1;
}

.set_item_choose span {
	--size: 20px;

	display: flex;
	align-items: center;
	position: relative;

	padding-left: 32px;
	font-size: 15px;
	font-weight: 500;
	color: var(--primary);
	cursor: pointer;

	transition: opacity .43s;
}

.set_item_choose span:before {
	content: '';
	position: absolute;
	top: calc(50% - var(--size) / 2);
	left: 0;

	width: var(--size);
	height: var(--size);
	margin-top: -2px;
	border: 2px solid #EBEBEB;
	border-radius: 4px;
	cursor: pointer;

	transition: box-shadow .43s, border-color .43s;
}

.set_item_choose input[type=checkbox]:not([readonly]):checked + span:before {
	border-color: var(--primary);
	box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 24px var(--primary);
}

.set_bottom {
	grid-gap: 36px;
	margin-top: 40px;	
}

.set_bottom_ptice {

}

.set_bottom_ptice {
	grid-gap: 16px;
}

.set_bottom_ptice ._this {
	--color: var(--primary);

	font-size: 24px;
	font-weight: 500;
}

.set_bottom_ptice ._sale {
    --color: #ED6D30;

    font-size: 15px;
    font-weight: 700;
}

.set_bottom_ptice ._old {
	--color: var(--gray);

    text-decoration: line-through;
}

.set_bottom_btn {
	--color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-gap: 4px;
    height: 44px;
    padding: 20px;
    color: var(--color);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 40px;
    background-color: var(--primary);
    cursor: pointer;
    transition: box-shadow .43s;
}

.set_bottom_btn:not(.btn-green):hover {
    box-shadow: 0 0 32px var(--primary);
}

.set_bottom_btn .btn-green {
	background-color: #399500;
}

.set_more {
	font-size: 15px;
	font-weight: 500;
	color: var(--primary);
	cursor: pointer;
}

#modal-set .modal_content {
	max-width: 508px;
}

.modal_wrap .set_item {
	display: grid;
	align-items: flex-start;
	grid-template-columns: 60px 1fr;
	grid-gap: 20px;

	width: 100% !important;
	margin: 0 !important;
	padding: 16px 20px;
}

.modal_wrap .set_item_content {
	grid-gap: 10px;

	padding: 0;
}

.modal_wrap .set_item_name {
	order: -1;
}

.modal_wrap .set_item_price {
	display: flex;
	grid-gap: 12px;
	font-size: 17px;
}

.modal_wrap .set_bottom_ptice {
	flex-wrap: wrap;

	grid-gap: 0 20px;
}

.modal_wrap .set_bottom_ptice ._this {
	--color: var(--black);

	font-size: 24px;
}

.modal_wrap .set_bottom_ptice ._sale {
	font-size: 19px;
}

.modal_wrap .set_bottom_ptice ._old {
	width: 100%;
}

.modal_wrap .set_bottom {
	flex-direction: column;
	align-items: stretch;
}

.modal_wrap .set_bottom_btn {
	width: 100%;
}

.modal_set_list {
	display: grid;
	grid-gap: 20px;
}

.modal_set_li:not(.active) {
	border-color: #F4F4F4;
}

.modal_set_li.active {
	position: relative;
}

.modal_set_li.active:before {
	--size: 24px;
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;

	width: var(--size);
	height: var(--size);
	border: 2px solid #99D4EB;
	border-radius: 50%;
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 var(--size) var(--primary);
	z-index: 1;

	box-sizing: border-box;
}

/* Set. */

@media only screen and (max-width: 1500px) {

	/* Set. */

	.set_item_content {
		padding: 20px;
	}

	/* Set. */

}

@media only screen and (max-width: 1030px) {

	/* Set. */

	.set_net {
		flex-direction: column;
		grid-gap: 16px;
	}

	.set_plus {
		display: none;
	}

	.set_item {
		display: grid;
		align-items: flex-start;
		grid-template-columns: 120px 1fr;
		grid-gap: 20px;

		padding: 16px 20px;
	}

	.set_item_content {
		padding: 0;
	}

	.set_item_name {
		order: -1;
	}

	/* Set. */

}

@media only screen and (max-width: 900px) {

	/* Set. */

	.set_bottom_ptice {
		flex-wrap: wrap;
	}

	.set_bottom {
		flex-direction: column;
	}

	/* Set. */

}

@media only screen and (max-width: 600px) {

	/* Set. */

	.set_item {
		grid-template-columns: 60px 1fr;

		width: calc(100% + var(--bone_size));
		margin: 0 calc(var(--bone_size) * -.5);
	}

	.set_item_content {
		grid-gap: 10px;
	}

	.set_item_price {
		display: flex;
		grid-gap: 12px;
		font-size: 17px;
	}

	.set_bottom_ptice {
		grid-gap: 0 20px;
	}

	.set_bottom_ptice ._this {
		--color: var(--black);

		font-size: 24px;
	}

	.set_bottom_ptice ._sale {
		font-size: 19px;
	}

	.set_bottom_ptice ._old {
		width: 100%;
	}

	.set_bottom {
		flex-direction: column;
		align-items: stretch;
	}

	.set_bottom_btn {
		width: 100%;
	}

	/* Set. */

}