/****************/
/* PAGE STYLING */
/****************/

h2 {
	font-size: 15px;
	font-weight: 500;
}

p {
	line-height: 1.6;
}
/* ////////First section/////////// */
main > section:nth-of-type(1) {
	margin: 0;
}
@media only screen and (min-width: 1025px) {
	main > section:nth-of-type(1) {
		display: grid;
		grid-template-columns: 66% 1fr;
		padding-top: 7em;
		margin: 0 -3em;
	}
}

/* ////////Buy screen/////////// */
main > section:nth-of-type(1) > section:nth-of-type(1) {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--color-background);
	margin: 0;
	padding: 1.2em;
	z-index: 1000;
}

main > section:nth-of-type(1) > section:nth-of-type(1) section {
	display: flex;
	justify-content: center;
}

main > section:nth-of-type(1) > section:nth-of-type(1) section h1:after {
	content: '--';
	margin: 0 0.5em;
}

main > section:nth-of-type(1) > section:nth-of-type(1) section p {
	display: none;
}

main > section:nth-of-type(1) > section:nth-of-type(1) section a {
	display: none;
}

main > section:nth-of-type(1) > section:nth-of-type(1) section select {
	width: 50%;
	border: var(--color-grey) 1px solid;
	padding: 1em;
	position: relative;
	margin-right: 0.5em;
}

main > section:nth-of-type(1) > section:nth-of-type(1) section button {
	width: 50%;
	background-color: var(--color-black);
	border: 1px solid var(--color-black);
	color: var(--color-white);
}
@media only screen and (min-width: 1025px) {
	main > section:nth-of-type(1) > section:nth-of-type(1) {
		position: relative;
		grid-column-start: 2;
		justify-content: end;
		display: flex;
		flex-direction: column;
	}
	main > section:nth-of-type(1) > section:nth-of-type(1) > section {
		display: flex;
		flex-direction: column;
	}
	main > section:nth-of-type(1) > section:nth-of-type(1) h1 {
		font-size: 28px;
	}
	main > section:nth-of-type(1) > section:nth-of-type(1) h2 {
		margin: 1em 0 2em 0;
	}
	main > section:nth-of-type(1) > section:nth-of-type(1) section p {
		display: block;
	}
	main
		> section:nth-of-type(1)
		> section:nth-of-type(1)
		section
		a:nth-of-type(1) {
		display: inline-block;
		margin-top: 2em;
		margin-bottom: 4em;
	}
	main
		> section:nth-of-type(1)
		> section:nth-of-type(1)
		section:nth-of-type(2)
		a {
		display: inline-block;
		margin: 1em auto;
	}
	main > section:nth-of-type(1) > section:nth-of-type(1) section select {
		width: 100%;
	}
	main
		> section:nth-of-type(1)
		> section:nth-of-type(1)
		section
		button:nth-of-type(1) {
		margin-top: 0.3em;
		width: 100%;
		background-color: var(--color-background);
		border: 1px solid var(--color-grey);
		color: var(--color-black);
		padding: 1em;
		text-align: left;
	}
	main > section:nth-of-type(1) > section:nth-of-type(1) section button {
		width: 100%;
		padding: 1em;
		margin-top: 0.6em;
		color: var(--color-grey);
	}
}

/* ////////Image section/////////// */
main > section:nth-of-type(1) > section:nth-of-type(2) {
	margin: 0 -1em;
}
main > section:nth-of-type(1) > section:nth-of-type(2) img {
	width: 100%;
	margin: 0.1em 0;
}
@media only screen and (min-width: 1025px) {
	main > section:nth-of-type(1) > section:nth-of-type(2) {
		grid-column-start: 1;
		grid-row-start: 1;
		grid-row-end: 3;
		width: 100%;
	}
	main > section:nth-of-type(1) > section:nth-of-type(2) ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 0.6em;
	}
	main > section:nth-of-type(1) > section:nth-of-type(2) ul li {
		line-height: 0;
	}
	main > section:nth-of-type(1) > section:nth-of-type(3) {
		grid-column-start: 2;
	}
	main > section:nth-of-type(1) > section:nth-of-type(2) img {
		margin: 0 0;
	}
}

/* ////////USP/////////// */
main > section:nth-of-type(1) > section:nth-of-type(3) ul li {
	margin-left: 1.4em;
	position: relative;
	margin-top: 0.4em;
}
main > section:nth-of-type(1) > section:nth-of-type(3) ul li:before {
	content: '';
	background-image: url(/images/check.svg);
	position: absolute;
	width: 1em;
	height: 1em;
	left: -1.4em;
	top: 0.3em;
}

main > section:nth-of-type(1) > section:nth-of-type(3) ul li p {
	line-height: 1.6;
}

/* ////////Divider img/////////// */
main > section:nth-of-type(2) {
	margin: 0 -1em;
}
main > section:nth-of-type(2) img {
	width: 100%;
}
@media only screen and (min-width: 1025px) {
	main > section:nth-of-type(2) {
		margin: 5.6em -3em 0;
	}
}

/* ////////Descrition & Information section/////////// */
@media only screen and (min-width: 1025px) {
	main > section:nth-of-type(3) {
		display: flex;
		gap: 3em;
	}
}

/* ////////Descrition/////////// */
main > section:nth-of-type(3) section:nth-of-type(1) ul {
	list-style-type: disc;
	margin: 1.2em 0 1.2em 1.2em;
}
main > section:nth-of-type(3) section:nth-of-type(1) ul li {
	margin-top: 0.4em;
}

/* ////////Information/////////// */
main > section:nth-of-type(3) > section:nth-of-type(2) {
	margin-top: 5em;
}

main > section:nth-of-type(3) section:nth-of-type(2) section {
	position: relative;
	margin-left: 1.5em;
}

main > section:nth-of-type(3) section:nth-of-type(2) section h3 {
	font-size: 13px;
	margin-top: 1.5em;
	margin-bottom: 0;
	line-height: 1.6;
}

main > section:nth-of-type(3) section:nth-of-type(2) section button {
	background-color: transparent;
	border: none;
	width: 1.5em;
	position: absolute;
	left: -2em;
}

main > section:nth-of-type(3) section:nth-of-type(2) section p {
	max-height: 0;
	overflow: hidden;
	-webkit-transition: all 0.5s 0s ease;
	-moz-transition: all 0.5s 0s ease;
	-o-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease;
}

main > section:nth-of-type(3) section:nth-of-type(2) section.open p {
	max-height: 10em;
}

main > section:nth-of-type(3) section:nth-of-type(2) section button img {
	-webkit-transition: all 0.5s 0s ease;
	-moz-transition: all 0.5s 0s ease;
	-o-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease;
}

main > section:nth-of-type(3) section:nth-of-type(2) section.open button img {
	transform: rotate(180deg);
}

@media only screen and (min-width: 1025px) {
	main > section:nth-of-type(3) > section:nth-of-type(2) {
		margin: 0;
	}
	main > section:nth-of-type(3) section:nth-of-type(2) section {
		margin: 0;
	}
	main > section:nth-of-type(3) section:nth-of-type(2) section p {
		max-height: 10em;
	}
	main > section:nth-of-type(3) section:nth-of-type(2) section button {
		display: none;
	}
}

/* ////////You might also like/////////// */

main > section:nth-of-type(4) {
	margin-right: -3em;
}
main > section:nth-of-type(4) h2 {
	grid-column-start: 1;
	grid-column-end: 4;
}

main > section:nth-of-type(4) ul {
	display: flex;
	width: 100%;
	gap: 2.5em;
	overflow-x: scroll;
}

main > section:nth-of-type(4) ul li {
	display: flex;
	width: calc(100% / 3);
	flex-shrink: 0;
	flex-direction: column;
}

main > section:nth-of-type(4) ul li img {
	order: 1;
	width: 100%;
	margin-bottom: 1em;
}

main > section:nth-of-type(4) ul li p {
	order: 2;
	margin-bottom: 0.5em;
}

@media only screen and (max-width: 1025px) {
	main > section:nth-of-type(4) {
		margin-right: -1em;
	}
	main > section:nth-of-type(4) ul li {
		width: calc(100% / 1.5);
	}
}
