h1 {
	position: relative;
/*	padding-left: clamp(37px, 4.5vw, 70px);*/
}

h1 svg {
	width: 100%;
	height: auto;
	max-width: clamp(32px, 4vw, 65px);
	position: absolute;
	left: 0;
}

#opening {
	margin-bottom: 66px;
}

.products {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.products.none > div {
	width: 100%;
	margin: 0;
	border: 1px solid var(--dark-blue-rgba);
	border-radius: 6px;
	padding: 20px;
	background-color: var(--main-color-light);
}

.products > div {
	box-sizing: border-box;
	margin: 60px 60px 0 0;
	width: calc(1/3 * 100% - (1 - 1/3) * 60px);
	text-align: center;
}

.products > div:nth-child(3n) {
	margin-right: 0;
}

.products::after {
	content: '';
	flex: auto;
}

.products > div:nth-child(-n+3) {
	margin-top: 0;
}

.product {
	position: relative;
	overflow: hidden;
}

.product.new::after,
.product.used::after,
.product.sold::after {
	content: 'new';
	text-transform: uppercase;
	background-color: var(--header-color);
	color: #fff;
	font-family: raleway-bold;
	font-size: 12px;
	position: absolute;
	top: 14px;
	left: -58px;
	rotate: -45deg;
	line-height: 1;
	padding: 7px 0;
	width: 14em;
	box-shadow: 0px 5px 9px -6px rgba(0, 0, 0, .75);
}

.product.used::after {
	content: 'used';
	background-color: var(--yellow);
	color: var(--main-color);
}

.product.sold::after {
	content: 'sold';
	background-color: var(--pink-hover);
	color: var(--main-color-light);
}

.image-wrap {
	display: flex;
	justify-content: center;
	position: relative;
	cursor: pointer;
	transition: scale .2s ease-in-out;
	margin-bottom: 12px;
}

body:not(.is-mobile) .image-wrap:hover {
	scale: 1.05;
	cursor: pointer;
}

.image-wrap::after {
	content: '';
	display: block;
	padding-bottom: 66%;
}

.image-wrap img {
	border-radius: 6px;
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .3);
}

#img-popup-wrap {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 201;
	padding: 40px;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.is-phone #img-popup-wrap {
	padding: 10px;
}

#img-popup-wrap img {
	border-radius: 10px;
	max-height: 100%;
	max-width: 100%;
	box-shadow: 0px 16px 23px -11px rgb(0, 0, 0, 1);
}

.image-wrap svg,
#img-popup-wrap svg {
	width: 100%;
	height: auto;
	fill: var(--black);
	position: absolute;
	top: 10px;
	right: 10px;
	max-width: 40px;
	padding: 6px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .5);
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

body:not(.is-mobile) .image-wrap:hover svg,
body:not(.is-mobile) .image-wrap svg:hover,
body:not(.is-mobile) #img-popup-wrap svg:hover {
	background-color: var(--white);
	box-shadow: 0 5px 6px -5px rgba(0, 0, 0, .75);
}

body:not(.is-mobile) #img-popup-wrap svg:hover {
	cursor: pointer;
}

.blue-box {
	font-family: raleway-bold;
	text-align: center;
	padding: 6px 20px;
	background-color: var(--header-color);
	color: var(--box-bg-color);
	border-radius: 5px;
}

/* ===== MEDIA QUERIES ===== */

@media only screen and (max-width: 750px) {
	.products > div {
		width: calc(1/2 * 100% - (1 - 1/2) * 60px);
	}

	.products > div:nth-child(3n) {
		margin-right: 60px;
	}

	.products > div:nth-child(-n+3) {
		margin-top: 60px;
	}
	
	.products > div:nth-child(2n) {
		margin-right: 0;
	}

	.products > div:nth-child(-n+2) {
		margin-top: 0;
	}
}

@media only screen and (max-width: 515px) {
	.products > div {
		width: calc(1/1 * 100% - (1 - 1/1) * 60px);
	}

	.products > div:nth-child(2n) {
		margin-right: 60px;
	}

	.products > div:nth-child(-n+2) {
		margin-top: 60px;
	}
	
	.products > div:nth-child(1n) {
		margin-right: 0;
	}

	.products > div:nth-child(-n+1) {
		margin-top: 0;
	}
}

@media screen and (max-width: 500px) {
	.option-section,
	.package {
		padding-left: 0;
	}
}