.back {
	object-fit: contain;
	cursor: pointer;
	height: 24px !important;
}

.hero-content-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 32px;
}

.product-hero {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.product-hero-img{
	padding-right: 100px;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-button-wrapper {
	display: flex;
	align-items: center;
}

.configure-button {
	line-height: 1;
	font-weight: 500;
	height: 65px;
	background-color: var(--black);
	color: white;
	border: none;
	width: 100%;
	border-radius: 5px !important;
}

.configure-button:hover {
	background-color: var(--black);
}

.configure-button:focus {
	background-color: var(--black);
	outline: none;
}

.mail-button {
	line-height: 1;
	width: 65px;
	min-width: 65px;
	height: 65px;
	border-radius: 5px !important;

	color: var(--black);
	border: 2px solid var(--black);
}

.mail-button:hover {
	background-color: #17171720;
}

.mail-button:focus {
	background-color: #17171720;
	outline: none;
}

.misc-button-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
	place-items: center;
}

.product-content-wrapper {
	margin-top: 90px !important;
	color: white;
}

.product-section-wrapper {
	padding-top: 120px;
}

.product-section-wrapper:last-child {
	padding-bottom: 120px;
}

.product-content-title {
	margin: 0;
	text-align: center;
	font-weight: 500;
	font-size: 21px;
	padding-bottom: 50px;
}

#gallery-wrapper {
	display: flex;
	gap: 25px;
	overflow-x: hidden;
}

.gallery-img {
	object-fit: contain;
	cursor: pointer;
	place-self: center;
	transition: all 0.3s linear;
}

#gallery-nav-wrapper {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 30px;
}

.gallery-nav {
	width: 25px;
	border-radius: 6px !important;
	cursor: pointer;
}

.custom-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.carousel {
	position: relative;
	display: flex;
	width: 100%;
}

.carousel::before {
	content: "";
	display: block;
	padding-top: 100%; /* 1:1 Aspect Ratio */
}

.carousel-img {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
}

.prev-button,
.next-button {
	object-fit: contain;
	position: absolute;
	width: 45px;
	height: 45px;
	margin: 0 20px;
	cursor: pointer;
}

.prev-button img,
.next-button img {
	transition: all 0.1s ease;
}

.prev-button img:hover,
.next-button img:hover {
	filter: brightness(200%);
	scale: 1.05;
}

.prev-button {
	top: 50%;
	transform: translateY(-50%);
}

.next-button {
	top: 50%;
	transform: translateY(-50%);
	right: 0;
}

.customize-wrapper {
	margin-left: 88px;
	margin-top: -20px;
	margin-bottom: -12px;
	display: flex !important;
	justify-content: space-between !important;
	flex-direction: column !important;
}

.customize-control-wrapper {
	margin-top: 24px;
}

.customize-control-wrapper > * {
	margin-right: 18px !important;
	margin-bottom: 12px !important;
}

.customize-color-swatch {
	display: inline-block;
	width: 26px;
	height: 26px;
	border: 2px solid var(--gray-1);
	box-shadow: inset 0 0px 2px black;
	cursor: pointer;
	transition: all 0.2s ease;
}

.customize-color-swatch:hover {
	scale: 1.05;
}

.outline-button {
	background-color: transparent;
	padding: 8px 22px;
	margin: 0;
	line-height: 1;
	border: 2px solid var(--dark-gray-1);
	color: var(--dark-gray-1);
	transition: all 0.5s ease;
	border-radius: 5px !important;
}

.outline-button:hover {
	background-color: transparent;
	border: 2px solid var(--dark-gray-2);
	color: var(--dark-gray-2);
}

.outline-button:focus {
	background-color: transparent;
	outline: none;
	border: 2px solid var(--dark-gray-2);
	color: var(--dark-gray-2);
}

.beam-angle-card {
	padding: 2px;
	background-color: var(--dark-gray-1);
	border-radius: 6px !important;
	text-align: center;
	max-width: 114px;
	transition: all 0.5s ease;
}

.beam-angle-card:hover {
	background-color: var(--dark-gray-2);
}

.beam-angle-card img {
	object-fit: contain;
	object-position: top;
}

.beam-angle-card p {
	margin: 0.5rem 0;
}

.customize-search-button {
	color: black;
	background-color: white;
	border: 2px solid white;
	padding: 12px 0px;
	width: 100%;
	font-weight: 500;
}

.customize-search-button:hover {
	background-color: white;
	border: 2px solid white;
	color: black;
}

.customize-search-button:focus {
	background-color: white;
	border: 2px solid white;
	color: black;
}

.customize-reset-button {
	color: white;
	border: 2px solid white;
	padding: 12px 0px;
	width: 100%;
	font-weight: 500;
}

.customize-reset-button:hover {
	border: 2px solid white;
	color: white;
}

.customize-reset-button:focus {
	border: 2px solid white;
	color: white;
}

.spec-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.spec-item {
	position: relative;
	color: white;
	padding: 40px;
}

.spec-item:not(:last-child)::after,
.spec-item:not(:last-child) span::after {
	content: "";
	position: absolute;
	background-color: var(--dark-gray-2);
}

.spec-item:not(:last-child)::after {
	width: calc(100% - 50px);
	height: 1px;
}

.spec-item:not(:last-child)::before {
	width: calc(100% - 50px);
	height: 1px;
}

.spec-item:not(:last-child)::after {
	bottom: 0;
	left: 25px;
}

.spec-item:not(:last-child) span::after {
	height: calc(100% - 50px);
	width: 1px;
}

.spec-item:not(:last-child) span::after {
	right: 0;
	top: 25px;
}

.spec-item:nth-last-child(-n + 4)::before,
.spec-item:nth-last-child(-n + 4)::after,
.spec-item:nth-child(4n) span::after {
	display: none;
}

.spec-title {
	text-transform: uppercase;
	color: var(--gray-1);
}

.spec-value-wrapper {
	margin-bottom: 12px;
}

.swatch-wrapper {
	display: flex;
	gap: 10px;
	align-items: center;
}

.color-swatch {
	width: 26px;
	height: 26px;
	border: 2px solid var(--gray-1);
}

.download-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 34px;
	text-align: center;
}

.download-button {
	background-color: white;
	color: black;
	width: 100%;
	padding: 16px 0;
	font-weight: 500;
}

.download-button:after {
	content: "";
	display: block;
	width: 0;
	height: 2px;
	margin: 0 auto;
	background-color: black;
	bottom: -4px;
	transition: width 0.3s ease;
}

.download-button:hover {
	background-color: white;
	color: black;
}

.download-button:focus {
	background-color: white;
	color: black;
}

.download-button-3d-model:hover:after {
	width: 29%;
}

.download-button-photometric:hover:after {
	width: 42%;
}

.download-button-revit-family:hover:after {
	width: 38%;
}

.download-button-specs:hover:after {
	width: 47%;
}


@media (max-width: 991px) {
	.product-hero {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		place-items: center;
	}

	.product-hero-img {
		padding-right: 0;
	}

	.hero-content-wrapper {
		margin-top: 48px;
		gap: 24px;
	}

	.misc-button-wrapper {
		gap: 150px;
	}

	.custom-wrapper {
		display: block;
	}

	.customize-wrapper {
		margin-top: 48px;
		margin-left: 0;
	}

	.control-wrapper {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.misc-button-wrapper {
		gap: 80px;
	}

	.spec-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}

	.spec-item:nth-last-child(-n + 2)::before,
	.spec-item:nth-last-child(-n + 2)::after,
	.spec-item:nth-child(2n) span::after {
		display: none;
	}

	.download-wrapper{
		gap: 12px;
	}

	.download-button {
		font-size: 14px;
		padding: 12px 0;
	}
}

@media (max-width: 576px) {
	.download-wrapper{
		grid-template-columns: repeat(2, 1fr);
	}

	.misc-button-wrapper {
		gap: 60px;
	}
}

@media (max-width: 490px) {
	.misc-button-wrapper {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 40px;
	}
}

@media (max-width: 390px) {
	.configure-button {
		height: 50px;
	}

	.mail-button {
		height: 50px;
		width: 50px;
	}

	.control-wrapper {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}

	.spec-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}

	.spec-item:nth-last-child(-n + 1)::before,
	.spec-item:nth-last-child(-n + 1)::after,
	.spec-item:nth-child(n) span::after {
		display: none;
	}

	.download-wrapper{
		grid-template-columns: repeat(1, 1fr);
	}

	.misc-button-wrapper {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}