.product-details {
	position: relative;
	padding: 60px 0 35px 0;
}

.product-details--top-gap {
	padding-top: 140px;
}

.product-details::before {
	position: absolute;
	content: "";
	top: 85px;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 407px;
	background: linear-gradient(0deg, #fafafa 18.24%, #ddd 110.7%);
}

.back-prev-page a {
	display: block;
	position: relative;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #000000;
	background: transparent;
	padding: 0 20px 0 34px;
}

.back-prev-page a::before {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	content: "\e90d";
	font-size: 16px;
	line-height: 1em;
	font-family: "icomoon";
	font-weight: normal;
}

.gallery-slider-image {
	transform: scaleY(0.86);
	padding: 4px;
	background: linear-gradient(
		90deg,
		rgba(250, 250, 250, 1) 0%,
		rgba(221, 221, 221, 1) 100%
	);
	opacity: 0.5;
	transition: 0.3s linear;
}

.gallery-slider-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gallery-slider-wrap {
	margin: 0 -25px;
}

.js-gallery-slider {
	margin: 18px 0;
}

.js-gallery-slider > div {
	font-size: 0;
}

.gallery-slider-col {
	padding: 0 3px;
}

.js-gallery-slider .slick-center .gallery-slider-image {
	transform: scaleY(1);
	height: 182px;
	opacity: 1;
}

.gallery-thumbs-wrap {
	display: none;
}

.product-details-content h2,
.product-details-content .clopay-logo {
	display: none;
}

.product-details-content p:has(strong) {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1.25em;
}

.product-details-content p strong {
	font-weight: 400;
	text-transform: none;
	line-height: 1.77em;
}

.product-details-title {
	margin-bottom: 20px;
}

.product-details-title .clopay-logo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.product-details-title span {
	font-size: 16px;
	line-height: 28px;
	font-weight: 500;
	color: #000000;
}

.group-btns a span {
	display: none;
}

.group-btns a.btn-tertiary {
	color: #d70c0c;
}

.group-btns a.btn-tertiary::before {
	background: linear-gradient(90.72deg, #fafafa 0.36%, #dddddd 99.14%);
	border: none;
}

.group-btns a:last-child {
	margin: 12px 0 0 0;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 16px 30px;
	list-style: none;
	margin: 30px 0 0 0;
}

.social-links li {
	line-height: 1;
	padding: 0;
	margin: 0;
}

.social-links li::before {
	display: none;
}

.social-links li a {
	position: relative;
	background: transparent;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 16px;
	line-height: 1.277em;
	letter-spacing: 0.1em;
	font-weight: 700;
	text-transform: uppercase;
	color: #234ba0;
	padding-right: 29px;
}

.social-links li a svg {
	width: 18px;
}

.social-links li a svg {
	fill: #234ba0;
}

.product-details-content .social-links li a::after {
	content: "\e915";
	font-family: "icomoon";
	position: absolute;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	font-size: 16px;
	top: 50%;
	transform: translate(0, -50%);
	font-weight: normal;
}

.product-details-content .social-links li a i {
	font-size: 22px;
	background: linear-gradient(90deg, #1d2388 0%, #234ba0 100%);
	background-clip: text;
	color: transparent;
}

.group-btns .btn {
	padding: 12px 48px 12px 24px;
}

.group-btns .btn::after {
	right: 24px;
	font-size: 14px;
	opacity: 1;
}

@media (min-width: 768px) {
	.product-details--top-gap {
		padding-top: 30px;
	}

	.product-details::before {
		display: none;
	}

	.product-details-title {
		margin-bottom: 25px;
	}

	.product-details-title h1 {
		margin-bottom: 20px;
	}

	.gallery-slider-wrap {
		margin: 0 -52px;
	}

	.js-gallery-slider {
		margin: 21px 0;
	}

	.gallery-slider-col {
		padding: 0 5px;
	}

	.gallery-slider-image {
		transform: scaleY(0.89);
		height: unset;
	}

	.js-gallery-slider .slick-center .gallery-slider-image {
		transform: scaleY(1);
		height: 350px;
	}

	.product-details-content p:has(strong) {
		margin-bottom: 25px;
	}

	.group-btns {
		display: inline-flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.group-btns a span {
		display: inline-block;
	}

	.product-details-content .social-links {
		flex-direction: row;
		margin: 25px 0 0 0;
	}

	.product-details-content .social-links li a {
		padding-right: 34px;
	}
}

@media (min-width: 1200px) {
	.product-details {
		padding: 76px 0 125px 0;
	}

	.product-details-wrap {
		display: flex;
		flex-wrap: wrap;
		padding: 0 42px;
	}

	.gallery-slider-wrap {
		width: 50%;
		padding-right: 15px;
		margin: 25px 0 0 0;
	}

	.js-gallery-slider {
		margin: 0;
	}

	.gallery-slider-col {
		padding: 0;
	}

	.gallery-slider-image {
		transform: scaleY(1);
		height: 455px;
		opacity: unset;
	}

	.gallery-thumbs-wrap {
		display: block;
	}

	.gallery-thumbs-wrap {
		background: linear-gradient(
			90deg,
			rgba(250, 250, 250, 1) 0%,
			rgba(221, 221, 221, 1) 100%
		);
		padding: 15px 90px;
		margin-top: 20px;
	}

	.js-gallery-thumbs-slider {
		margin: 0 -10px;
	}

	.js-gallery-thumbs-slider > div {
		font-size: 0;
	}

	.gallery-thumbs-col {
		font-size: 0;
		padding: 0 10px;
	}

	.gallery-thumbs-image {
		background: linear-gradient(
			90deg,
			rgba(250, 250, 250, 1) 0%,
			rgba(221, 221, 221, 1) 100%
		);
		cursor: pointer;
		transition: 0.3s;
		padding: 4px;
	}

	.js-gallery-thumbs-slider .slick-current .gallery-thumbs-image {
		padding: 0;
	}

	.gallery-thumbs-image img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.js-gallery-thumbs-slider .slick-prev,
	.js-gallery-thumbs-slider .slick-next {
		left: -54px;
		top: 50%;
		bottom: unset;
		transform: translate(0, -50%);
		opacity: 0.25;
		margin: 0;
	}

	.js-gallery-thumbs-slider .slick-prev:hover,
	.js-gallery-thumbs-slider .slick-next:hover {
		opacity: 1;
		color: #000000;
	}

	.js-gallery-thumbs-slider .slick-next {
		right: -54px;
		left: unset;
	}

	.product-details-content {
		width: 50%;
		padding: 22px 0 0 15px;
	}

	.product-details-content h2,
	.product-details-content .clopay-logo {
		display: block;
	}

	.product-details-content h2 {
		margin-bottom: 16px;
	}

	.product-details-content .clopay-logo {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-bottom: 35px;
	}

	.back-prev-page {
		padding: 0 42px;
	}

	.product-details-content p:has(strong) {
		margin-bottom: 35px;
	}

	.group-btns a:last-child {
		margin: 20px 0 0 0;
	}

	.product-details-content .social-links {
		margin: 40px 0 0 0;
	}

	.product-details-content .social-links li a {
		gap: 10px;
		font-size: 18px;
	}

	.product-details-content .social-links li a:hover,
	.product-details-content .social-links li a:hover i {
		color: #ac0218;
		background: transparent;
		background-clip: unset;
	}

	.group-btns a.btn-tertiary:hover::before {
		background: linear-gradient(-90.72deg, #dddddd 0.36%, #fafafa 99.14%);
	}

	.clopay-logo span {
		font-size: 24px;
		margin-right: 5px;
	}

	.social-links li a svg {
		width: 28px;
	}

	.social-links li:nth-child(2) a svg {
		width: 25px;
	}

	.social-links li:last-child a svg {
		width: 22px;
	}

	.social-links li a:hover {
		color: #ac0218;
	}

	.social-links li a:hover svg {
		fill: #ac0218;
	}

	.group-btns .btn {
		padding: 15px 48px 15px 24px;
	}
}
