.sk-product-gallery {
	width: 100%;
	position: relative;
	box-sizing: border-box;
}

.sk-product-gallery *,
.sk-product-gallery *::before,
.sk-product-gallery *::after {
	box-sizing: border-box;
}

/* =========================
   MAIN IMAGE
========================= */

.sk-gallery-main {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.sk-gallery-stage {
	width: 100%;
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
}

.sk-main-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

/* =========================
   MAIN IMAGE ARROWS
========================= */

.sk-main-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	z-index: 5;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.2s ease,
		background 0.2s ease;
}

.sk-gallery-stage:hover .sk-main-arrow {
	opacity: 1;
	visibility: visible;
}

.sk-main-arrow:hover {
	background: rgba(0, 0, 0, 0.85);
}

.sk-main-arrow span {
	font-size: 30px;
	line-height: 1;
	font-family: Arial, sans-serif;
	font-weight: 300;
}

.sk-main-prev {
	left: 15px;
}

.sk-main-next {
	right: 15px;
}

/* =========================
   THUMBNAILS - FIXED SQUARE
========================= */

.sk-gallery-thumbnails-wrap {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 15px;
	position: relative;
}

.sk-gallery-thumbnails {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.sk-thumbnails-track {
	display: flex;
	gap: 10px;
	align-items: stretch;
	transition: transform 0.3s ease;
}

.sk-gallery-thumbnail {
	flex: 0 0 calc((100% - 30px) / 4);
	width: calc((100% - 30px) / 4);
	height: auto !important;
	aspect-ratio: 1 / 1 !important;

	padding: 0 !important;
	margin: 0 !important;

	border: 1px solid transparent !important;
	border-radius: 0 !important;

	background: transparent !important;
	background-color: transparent !important;

	box-shadow: none !important;

	cursor: pointer;
	overflow: hidden;

	display: block !important;

	transition:
		border-color 0.2s ease,
		opacity 0.2s ease;
}

.sk-gallery-thumbnail::before,
.sk-gallery-thumbnail::after {
	display: none !important;
	content: none !important;
}

.sk-gallery-thumbnail img {
	display: block !important;

	width: 100% !important;
	height: 100% !important;

	min-width: 100% !important;
	min-height: 100% !important;

	max-width: none !important;
	max-height: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover !important;
	object-position: center !important;

	background: transparent !important;

	border: 0 !important;
	border-radius: 0 !important;

	box-shadow: none !important;

	aspect-ratio: 1 / 1 !important;
}

.sk-gallery-thumbnail:hover {
	opacity: 0.8;
	background: transparent !important;
}

.sk-gallery-thumbnail:focus,
.sk-gallery-thumbnail:focus-visible,
.sk-gallery-thumbnail:active {
	outline: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.sk-gallery-thumbnail.is-active {
	border: 2px solid #111 !important;
	background: transparent !important;
}

/* =========================
   THUMBNAIL ARROWS
========================= */

.sk-thumb-arrow {
	flex: 0 0 34px;

	width: 34px;
	height: 34px;

	padding: 0 !important;
	margin: 0 !important;

	border: 0 !important;
	border-radius: 50% !important;

	background: rgba(0, 0, 0, 0.7) !important;
	color: #fff !important;

	display: flex;
	align-items: center;
	justify-content: center;

	cursor: pointer;

	opacity: 0;
	visibility: hidden;

	box-shadow: none !important;

	transition:
		opacity 0.2s ease,
		background 0.2s ease;
}

.sk-gallery-thumbnails-wrap:hover .sk-thumb-arrow {
	opacity: 1;
	visibility: visible;
}

.sk-thumb-arrow:hover {
	background: #000 !important;
	color: #fff !important;
}

.sk-thumb-arrow span {
	font-family: Arial, sans-serif;
	font-size: 24px;
	line-height: 1;
}

/* =========================
   ANIMATIONS
========================= */

.sk-slide-out-left {
	animation: skSlideOutLeft 0.35s ease forwards;
}

.sk-slide-in-right {
	animation: skSlideInRight 0.35s ease forwards;
}

.sk-slide-out-right {
	animation: skSlideOutRight 0.35s ease forwards;
}

.sk-slide-in-left {
	animation: skSlideInLeft 0.35s ease forwards;
}

@keyframes skSlideOutLeft {
	from {
		transform: translateX(0);
		opacity: 1;
	}

	to {
		transform: translateX(-100%);
		opacity: 0.4;
	}
}

@keyframes skSlideInRight {
	from {
		transform: translateX(100%);
		opacity: 0.4;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes skSlideOutRight {
	from {
		transform: translateX(0);
		opacity: 1;
	}

	to {
		transform: translateX(100%);
		opacity: 0.4;
	}
}

@keyframes skSlideInLeft {
	from {
		transform: translateX(-100%);
		opacity: 0.4;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* =========================
   MOBILE
========================= */

/* =========================
   MOBILE THUMBNAILS
========================= */

@media (max-width: 767px) {

	.sk-gallery-thumbnails-wrap {
		gap: 0;
	}

	.sk-gallery-thumbnails {
		overflow-x: auto;
		overflow-y: hidden;

		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;

		scroll-snap-type: x proximity;
	}

	.sk-gallery-thumbnails::-webkit-scrollbar {
		display: none;
	}

	.sk-thumbnails-track {
		gap: 8px;
		transform: none !important;
	}

	.sk-gallery-thumbnail {
		flex: 0 0 calc((100% - 24px) / 4) !important;
		width: calc((100% - 24px) / 4) !important;

		height: auto !important;
		aspect-ratio: 1 / 1 !important;

		scroll-snap-align: start;
	}

	.sk-gallery-thumbnail img {
		width: 100% !important;
		height: 100% !important;

		aspect-ratio: 1 / 1 !important;
		object-fit: cover !important;
	}

	.sk-main-arrow,
	.sk-thumb-arrow {
		display: none !important;
	}
}