body.printedbrick-custom-gallery-enabled .elementor-widget-jet-woo-product-gallery-slider {
	display: none !important;
}

@media (max-width: 767px) {
	body.printedbrick-custom-gallery-enabled .elementor-widget-woocommerce-product-images.elementor-hidden-mobile {
		display: block !important;
	}
}

.printedbrick-product-gallery {
	--gallery-border: #dedede;
	--gallery-accent: #df171f;
	--gallery-control: #ffffff;
	display: block;
	width: 100%;
}

.printedbrick-product-gallery__stage {
	aspect-ratio: 1;
	background: #fff;
	border: 2px solid var(--gallery-border) !important;
	border-radius: 16px;
	box-shadow: none !important;
	outline: 0 !important;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.printedbrick-product-gallery__main {
	border: 0 !important;
	box-shadow: none !important;
	display: block;
	height: 100%;
	margin: 0;
	outline: 0 !important;
	padding: 0;
	width: 100%;
}

.printedbrick-product-gallery__main-image {
	border: 0 !important;
	box-shadow: none !important;
	display: block;
	height: 100% !important;
	margin: 0;
	object-fit: contain;
	outline: 0 !important;
	width: 100% !important;
}

.printedbrick-product-gallery__thumbnails {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 14px;
}

.printedbrick-product-gallery__thumbnail {
	appearance: none;
	aspect-ratio: 1;
	background: #fff !important;
	border: 2px solid var(--gallery-border) !important;
	border-radius: 14px;
	box-shadow: none !important;
	margin: 0;
	outline: 0 !important;
	overflow: hidden;
	padding: 4px;
	transform: none !important;
	transition: none !important;
}

.printedbrick-product-gallery__thumbnail:hover,
.printedbrick-product-gallery__thumbnail:focus,
.printedbrick-product-gallery__thumbnail:focus-visible,
.printedbrick-product-gallery__thumbnail:active,
.printedbrick-product-gallery__thumbnail.is-active {
	background: #fff !important;
	border-color: var(--gallery-border) !important;
	box-shadow: none !important;
	outline: 0 !important;
	transform: none !important;
}

.printedbrick-product-gallery__thumbnail img {
	display: block;
	height: 100% !important;
	margin: 0;
	object-fit: contain;
	width: 100% !important;
}

.printedbrick-product-gallery__dots {
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin: 18px 0 8px;
}

@media (min-width: 768px) {
	.printedbrick-product-gallery__dots {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.printedbrick-product-gallery__stage {
		border-radius: 12px;
	}

	.printedbrick-product-gallery__thumbnails {
		display: none;
	}

	.printedbrick-product-gallery__dots {
		display: flex !important;
		min-height: 15px;
		opacity: 1 !important;
		position: relative;
		visibility: visible !important;
		width: 100%;
		z-index: 3;
	}

	.printedbrick-product-gallery__dot {
		appearance: none;
		background: #fff;
		border: 2px solid #d8d8d8;
		border-radius: 999px;
		box-shadow: none;
		display: block !important;
		flex: 0 0 11px;
		font-size: 0;
		height: 11px;
		margin: 0;
		max-height: 11px;
		max-width: 11px;
		min-height: 0;
		min-width: 0;
		opacity: 1 !important;
		padding: 0;
		position: static;
		visibility: visible !important;
		width: 11px;
	}

	.printedbrick-product-gallery__dot.is-active {
		background: #b8b8b8;
		border-color: #b8b8b8;
	}

	.printedbrick-product-gallery__dot:focus-visible {
		outline: 2px solid var(--gallery-accent);
		outline-offset: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.printedbrick-product-gallery__thumbnail {
		transition: none;
	}
}
