.coderra-amazon-gallery {
	opacity: 1 !important;
}

.coderra-amazon-gallery__inner {
	display: block;
}

.coderra-amazon-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 5px;
	position: static;
	max-height: none;
}

.coderra-amazon-gallery__thumb {
	width: 90px;
	height: 90px;
	padding: 4px;
	background: #fff;
	border: 1px solid #d5d9d9;
	border-radius: 8px;
	cursor: pointer;
	overflow: hidden;
	width: 90px;
	height: 90px;
	flex: 0 0 90px;
}

.coderra-amazon-gallery__thumb:hover,
.coderra-amazon-gallery__thumb.is-active {
	border-color: #e86a17;
	box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.12);
}

.coderra-amazon-gallery__thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.coderra-amazon-gallery .woocommerce-product-gallery__image {
	width: 100% !important;
}

.coderra-amazon-gallery__main {
	position: relative;
	width: 100%;
	background: #fff;
	border: 1px solid #e5e5e5;
	overflow: hidden;
	cursor: grab;
}

.coderra-amazon-gallery__track {
	display: flex;
	width: 100%;
	min-height: 520px;
	transform: translateX(var(--coderra-gallery-track-x, 0%));
	transition: transform 0.32s ease;
	will-change: transform;
}

.coderra-amazon-gallery.is-dragging .coderra-amazon-gallery__track {
	transition: none;
}

.coderra-amazon-gallery__cell {
	display: flex !important;
	width: 100%;
	min-width: 100%;
	min-height: 520px;
	align-items: center;
	justify-content: center;
	visibility: visible;
	opacity: 1;
	pointer-events: none;
}

.coderra-amazon-gallery__cell.is-active {
	pointer-events: auto;
}

.coderra-amazon-gallery__link {
	display: block;
	width: 100%;
	text-align: center;
}

.coderra-amazon-gallery__image {
	display: block;
	width: 100%;
	max-height: 620px;
	margin: 0 auto;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.coderra-amazon-gallery__button {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 42px;
	height: 42px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	transition: all 0.2s ease;
	color: #e86a17;
	display: none;
}

.coderra-amazon-gallery__button:hover {
	background: #f8f8f8;
	border-color: #999;
}

.coderra-amazon-gallery__button i {
	pointer-events: none;
}

.coderra-amazon-gallery__button--prev {
	left: 14px;
}

.coderra-amazon-gallery__button--next {
	right: 14px;
}

.coderra-amazon-gallery__counter {
	display: none;
	margin-top: 10px;
	text-align: center;
	font-size: 13px;
	color: #555;
}

.coderra-amazon-gallery__dots {
	display: none;
}

.coderra-amazon-gallery.is-dragging .coderra-amazon-gallery__main {
	cursor: grabbing;
}

.single-product .pswp__ui--fit .pswp__caption,
.single-product .pswp__ui--fit .pswp__top-bar {
	background-color: #e86a17 !important;
}


@media screen and (min-width: 999px) {
	.woocommerce div.product div.summary {
		width: 57% !important;
	}
}

@media screen and (max-width: 999px) {
	.coderra-amazon-gallery__inner {
		display: block;
	}

	.coderra-amazon-gallery__thumbs,
	.coderra-amazon-gallery__button {
		display: none;
	}

	.coderra-amazon-gallery__dots {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 14px;
	}

	.coderra-amazon-gallery__dot {
		width: 9px;
		height: 9px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #c7c7c7;
		cursor: pointer;
	}

	.coderra-amazon-gallery__dot.is-active {
		background: #e86a17;
	}

	.coderra-amazon-gallery__main {
		border-left: 0;
		border-right: 0;
	}

	.coderra-amazon-gallery__track,
	.coderra-amazon-gallery__cell {
		min-height: 340px;
	}

	.coderra-amazon-gallery__image {
		max-height: 420px;
	}

	.coderra-amazon-gallery__counter {
		display: none;
	}
}