#wrap {
	max-width: none;
}

#main {
	padding-left: 0;
	padding-right: 0;
}

.box {
	padding: 60px 0;
}

.box:first-child {
	padding-top: 0;
}

.box:last-child {
	padding-bottom: 0;
}

.box > div {
	padding: 0 100px;
	max-width: 1500px;
	margin: 0 auto;
}

.box.yellow {
	background-color: #f8ead7;
}

.focus-box {
	padding: 16px 26px;
	border-radius: 6px;
	text-align: center;
	color: var(--main-bg-color);
	background-color: var(--green);
	margin: 54px;
}

.focus-box:last-child {
	margin-bottom: 0;
}

.focus-box a:link,
.focus-box a:visited,
.focus-box a:active,
body.is-mobile a:link,
body.is-mobile a:visited,
body.is-mobile a:hover,
body.is-mobile a:active {
	color: var(--main-bg-color);
	font-family: raleway-semibold;
}

.focus-box a:hover {
	color: #ffc2c8;
	text-decoration: underline;
}

#categories-wrap {
	display: flex;
	gap: 60px;
	flex-wrap: wrap;
	justify-content: space-around;
/*	margin-bottom: 80px;*/
}

#main h2 {
	text-align: center;
	padding: 35px 0;
}

.category {
	flex: 0 0 calc(50% - 30px); /*calc(33.3333% - 40px);*/
	background-color: var(--main-color-light);
	padding: 14px;
	border-radius: 10px;
	border: 2px solid var(--header-color);
}

.category > div:first-child {
	text-align: center;
	margin-bottom: 47px;
	position: relative;
}

.category > div img {
	border-radius: 6px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .3);
}

.category > div:not(:last-child) {
	margin-bottom: 47px;
}

.category > div:not(:last-child)::after,
.length > h3::after {
	content: '';
	position: absolute;
	bottom: -27px;
	left: 50%;
	transform: translateX(-50%);
	height: 1px;
	background-color: var(--header-color);
	width: 80%;
}

.length > h3::after {
	bottom: 0;
}

.category h3 {
	font-size: 1.3em;
	padding-bottom: 7px;
}

.category h4 {
	line-height: 1.3em;
	padding-bottom: 4px;
}

.size {
	font-size: .9em;
	line-height: 1em;
	color: var(--dark-gray);
}

.options {
	position: relative;
	text-align: center;
}

.sub-cat {
	line-height: 1.3em;
}

.sub-cat:not(:last-child) {
	margin-bottom: 20px;
}

/*.sub-cat > div {
	padding-left: 20px;
}*/

.starting {
	text-align: center;
	line-height: 1.3em;
}

.starting > span {
	color: var(--header-color);
	font-family: raleway-semibold;
	display: block;
	margin-bottom: 10px;
}

.starting > span:last-child {
	margin-bottom: 0;
}

.starting > span > span {
	white-space: nowrap;
	font-family: raleway-regular;
	color: var(--main-color);
}

#short-term-prices-wrap {
	text-align: center;
	margin: 30px 0;
}

#short-term-prices {
	display: flex;
	gap: 30px 60px;
	flex-wrap: wrap;
	justify-content: space-around;
}

#short-term-prices > li {
	padding: 0;
	margin: 0;
	flex: 0 0 calc(33.3333% - 40px);
	background-color: var(--main-color-light);
	padding: 8px 14px;
	border-radius: 10px;
	border: 2px solid var(--header-color);
}

#short-term-prices > li::before {
	display: none;
}

#short-term-prices h3 {
	font-size: 1.3em;
	padding-bottom: 7px;
	position: relative;
	margin-bottom: 16px;
}

.length > div b {
	color: var(--header-color);
}

.model-note {
	color: var(--header-color);
	margin-bottom: 27px;
}

.images-wrap {
	display: flex;
	justify-content: center;
	gap: 3vw;
	margin-bottom: 40px;
}

.images-wrap > div {
	max-width: 380px;
	transition: scale .2s ease-in-out;
	position: relative;
}

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

.images-wrap img {
	max-height: 285px;
	border-radius: 6px;
	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);
}

.images-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) .images-wrap > div:hover svg,
body:not(.is-mobile) .images-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;
}

.option-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 80px;
}

.option-wrap .option:first-child {
	width: calc(50% - 40px);
}

.option-wrap .option:last-child {
	flex: 1;
}

.option table {
	border: none;
	border-collapse: collapse;
	background-color: #fafcff;
	width: 100%;
}

.option th {
	width: 20%;
	font-size: .8em;
	font-family: raleway-semibold;
	color: var(--main-bg-color);
	background-color: var(--header-color);
}

.option tr:nth-of-type(odd) {
	background-color: #e3f1ff;
}

.option th,
.option td {
	border: 1px solid #b7d4e8;
	padding: 10px 13px 12px;
	line-height: 1.3em;
	text-align: center;
}

.option th:first-child {
	width: auto;
	text-align: left;
}

.option td:first-child {
	text-align: left;
}

#penalty {
	line-height: 1.2em;
	font-size: .9em;
	padding-top: 15px;
	color: var(--pink-hover);
}

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

@media screen and (max-width: 1200px) {
	.category {
		flex: 0 0 calc(50% - 30px);
	}
}

@media screen and (max-width: 1060px) {
	.option-wrap {
		flex-direction: column;
	}
	
	.option-wrap .option:first-child {
		width: auto;
	}
}

@media screen and (max-width: 1023px) {
	.box > div {
		padding: 0 40px;
	}
}

@media screen and (max-width: 1000px) {
	#short-term-prices > li {
		flex: 0 0 calc(50% - 30px);
	}
}

@media screen and (max-width: 830px) {
	.category {
		flex: 0 0 100%;
	}
}

@media screen and (max-width: 700px) {
	.box {
		padding: 0;
	}
	
	.box > div {
		padding: 20px 16px;
	}
		
	.box:not(:last-child) {
		margin-bottom: 60px;
	}
}

@media screen and (max-width: 550px) {
	.focus-box {
		margin-left: 0;
		margin-right: 0;
	}
	
	#short-term-prices > li {
		flex: 0 0 100%;
	}
}