/* Product gallery: measured from the Microless Saudi Owl gallery. */
.raizon-product-gallery,
.product-images-slider {
	position: relative;
	width: 100%;
	direction: rtl;
}

.product-images-slider .owl-stage-outer,
.product-images-slider .owl-item,
.product-images-slider .prod-img-pic-wrap,
.product-images-slider .prod-img-pic-wrap table,
.product-images-slider .prod-img-pic-wrap td,
.product-images-slider .item {
	height: 510px;
}

.product-images-slider .prod-img-pic-wrap table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.product-images-slider .prod-img-pic-wrap td {
	position: relative;
	padding: 0;
	border: 0;
	vertical-align: middle;
}

.product-images-slider .item {
	display: block;
	padding: 5px;
	background: #fff;
	cursor: zoom-in;
}

.product-images-slider .lightbox-opener {
	display: flex;
	width: 100%;
	height: 500px;
	align-items: center;
	justify-content: center;
	cursor: zoom-in;
}

.product-images-slider .lightbox-opener img,
.product-images-slider.owl-carousel .owl-item .lightbox-opener img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 500px;
	max-height: 100%;
	object-fit: contain;
	background: #fff;
}

.product-images-slider .owl-nav {
	display: none;
}

.product-images-slider .owl-dots {
	display: flex;
	min-height: 67px;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	direction: rtl;
	margin: 20px 0 0;
	padding: 0;
	overflow: visible;
}

.product-images-slider .owl-dots .owl-dot {
	position: relative;
	display: inline-block;
	flex: 0 0 65px;
	width: 65px;
	height: 65px;
	margin: 0 3px 5px;
	padding: 0 !important;
	border: 4px solid #fff;
	border-radius: 0;
	background-color: #fff;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: none;
	cursor: pointer;
}

.product-images-slider .owl-dots .owl-dot::after {
	position: absolute;
	z-index: 2;
	top: -4px;
	right: -4px;
	bottom: -4px;
	left: -4px;
	border: 1px solid #e7e7e7;
	border-bottom: 4px solid #ccc;
	content: "";
	pointer-events: none;
}

.product-images-slider .owl-dots .owl-dot.active::after {
	border-color: #fecb00;
	border-bottom-color: #fecb00;
}

.product-images-slider .owl-dots .owl-dot span {
	display: none;
}

.raizon-gallery-is-open {
	overflow: hidden !important;
}

.raizon-gallery-lightbox {
	position: fixed;
	z-index: 999999999;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 10px;
	background: rgba(20, 20, 20, .92);
	direction: rtl;
}

.raizon-gallery-lightbox.is-open {
	display: flex;
}

.raizon-gallery-lightbox__dialog {
	position: relative;
	display: grid;
	width: 100%;
	height: 100%;
	grid-template-rows: minmax(0, 1fr) 82px;
	overflow: hidden;
	background: #fff;
}

.raizon-gallery-lightbox__stage {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 0;
	align-items: center;
	justify-content: center;
	grid-row: 1;
	overflow: auto;
	padding: 35px 70px 10px;
	background: #fff;
}

.raizon-gallery-lightbox__stage img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	cursor: zoom-in;
	transition: transform .2s ease;
}

.raizon-gallery-lightbox__stage img.is-zoomed {
	max-width: none;
	max-height: none;
	transform: scale(1.5);
	cursor: zoom-out;
}

.raizon-gallery-lightbox__close {
	position: absolute;
	z-index: 4;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .92);
	color: #555;
	font: 300 34px/46px Arial, sans-serif;
}

.raizon-gallery-lightbox__counter {
	position: absolute;
	z-index: 3;
	top: 13px;
	left: 18px;
	color: #555;
	direction: ltr;
	font-size: 13px;
}

.raizon-gallery-lightbox__arrow {
	position: absolute;
	z-index: 3;
	top: calc(50% - 35px);
	width: 54px;
	height: 70px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .72);
	color: #111;
}

.raizon-gallery-lightbox__arrow--prev {
	right: 10px;
}

.raizon-gallery-lightbox__arrow--next {
	left: 10px;
}

.raizon-gallery-lightbox__arrow span {
	display: block;
	width: 16px;
	height: 16px;
	margin: auto;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.raizon-gallery-lightbox__arrow--prev span {
	transform: rotate(45deg);
}

.raizon-gallery-lightbox__arrow--next span {
	transform: rotate(-135deg);
}

.raizon-gallery-lightbox__thumbs {
	display: flex;
	min-width: 0;
	height: 82px;
	align-items: center;
	justify-content: safe center;
	grid-row: 2;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 7px 14px 10px;
	background: #fff;
}

.raizon-gallery-lightbox__thumbs button {
	flex: 0 0 65px;
	width: 65px;
	height: 65px;
	padding: 3px;
	border: 1px solid #ddd;
	background: #fff;
}

.raizon-gallery-lightbox__thumbs button.is-active {
	border: 2px solid #fecb00;
	padding: 2px;
}

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

body.dark-theme .product-images-slider .item,
body.dark-theme .product-images-slider .lightbox-opener img,
body.dark-theme .product-images-slider .owl-dots .owl-dot {
	background-color: #fff;
}

@media (max-width: 1199px) {
	.product-images-slider .owl-stage-outer,
	.product-images-slider .owl-item,
	.product-images-slider .prod-img-pic-wrap,
	.product-images-slider .prod-img-pic-wrap table,
	.product-images-slider .prod-img-pic-wrap td,
	.product-images-slider .item {
		height: 430px;
	}

	.product-images-slider .lightbox-opener,
	.product-images-slider .lightbox-opener img,
	.product-images-slider.owl-carousel .owl-item .lightbox-opener img {
		height: 420px;
	}
}

@media (max-width: 767px) {
	.product-images-slider .owl-stage-outer,
	.product-images-slider .owl-item,
	.product-images-slider .prod-img-pic-wrap,
	.product-images-slider .prod-img-pic-wrap table,
	.product-images-slider .prod-img-pic-wrap td,
	.product-images-slider .item {
		height: 360px;
	}

	.product-images-slider .lightbox-opener,
	.product-images-slider .lightbox-opener img,
	.product-images-slider.owl-carousel .owl-item .lightbox-opener img {
		height: 350px;
	}

	.product-images-slider .owl-dots {
		justify-content: center;
		margin-top: 12px;
	}

	.product-images-slider .owl-dots .owl-dot {
		flex-basis: 55px;
		width: 55px;
		height: 55px;
	}

	.product-images-slider .owl-dots {
		min-height: 57px;
	}

	.raizon-gallery-lightbox {
		padding: 0;
	}

	.raizon-gallery-lightbox__dialog {
		grid-template-rows: minmax(0, 1fr) 72px;
	}

	.raizon-gallery-lightbox__stage {
		padding: 46px 42px 8px;
	}

	.raizon-gallery-lightbox__arrow {
		width: 42px;
		height: 58px;
	}

	.raizon-gallery-lightbox__arrow--prev {
		right: 0;
	}

	.raizon-gallery-lightbox__arrow--next {
		left: 0;
	}

	.raizon-gallery-lightbox__thumbs {
		height: 72px;
		justify-content: flex-start;
		gap: 7px;
		padding: 6px 9px 9px;
	}

	.raizon-gallery-lightbox__thumbs button {
		flex-basis: 55px;
		width: 55px;
		height: 55px;
	}
}

@media (max-width: 360px) {
	.product-images-slider .owl-stage-outer,
	.product-images-slider .owl-item,
	.product-images-slider .prod-img-pic-wrap,
	.product-images-slider .prod-img-pic-wrap table,
	.product-images-slider .prod-img-pic-wrap td,
	.product-images-slider .item {
		height: 300px;
	}

	.product-images-slider .lightbox-opener,
	.product-images-slider .lightbox-opener img,
	.product-images-slider.owl-carousel .owl-item .lightbox-opener img {
		height: 290px;
	}
}
