/* Product page: photo gallery strip */
.product-gallery {
	padding: 40px 0 40px;
}

.product-gallery-title {
	font: 600 32px/38px var(--font-title);
	color: var(--color-navy);
}

.product-gallery-carousel {
	position: relative;
	margin-top: 31px;
}

.product-gallery-viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.product-gallery-viewport::-webkit-scrollbar {
	display: none;
}

.product-gallery-track {
	display: flex;
	gap: 24px;
}

.product-gallery-item {
	flex: none;
	height: 380px;
	scroll-snap-align: start;
}

.product-gallery-link {
	display: block;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: #e6ecf2;
}

.product-gallery-img {
	display: block;
	width: auto;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.product-gallery-arrow {
	position: absolute;
	top: 162px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-white);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
	color: var(--color-navy);
	transition: background-color .2s, color .2s;
}

.product-gallery-arrow:hover {
	background: var(--color-navy);
	color: var(--color-white);
}

.product-gallery-arrow-prev {
	left: -28px;
}

.product-gallery-arrow-next {
	right: -28px;
}

.product-gallery-arrow-icon {
	width: 9px;
	height: 16px;
}

.product-gallery-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 27px;
}

.product-gallery-dot {
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background: var(--color-border-light);
}

.product-gallery-dot-active {
	width: 24px;
	background: var(--color-accent);
}

@media (max-width: 1100px) {
	.product-gallery-arrow-prev {
		left: 8px;
	}

	.product-gallery-arrow-next {
		right: 8px;
	}
}

@media (max-width: 767px) {
	.product-gallery-title {
		font-size: 26px;
		line-height: 32px;
	}

	.product-gallery-carousel {
		margin-top: 20px;
	}

	.product-gallery-item {
		height: 240px;
	}

	.product-gallery-arrow {
		top: 98px;
		width: 44px;
		height: 44px;
	}
}
