/* Compatibility styles for frameworks like bootstrap, foundation e.t.c */
.wcgs_xzoom-source img,
.wcgs_xzoom-preview img,
.wcgs_xzoom-lens img {
	display: block;
	max-width: none;
	max-height: none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	display: inline-block;
}

/* --------------- */

/* xZoom Styles below */
.wcgs_xzoom-container {
	display: inline-block;
}

.wcgs_xzoom-thumbs {
	text-align: center;
	margin-bottom: 10px;
}

/* .wcgs_xzoom {
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

.wcgs_xzoom2,
.wcgs_xzoom3,
.wcgs_xzoom4,
.wcgs_xzoom5 {
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
} */

/* Thumbs */
.wcgs_xzoom-gallery,
.wcgs_xzoom-gallery2,
.wcgs_xzoom-gallery3,
.wcgs_xzoom-gallery4,
.wcgs_xzoom-gallery5 {
	border: 1px solid #cecece;
	margin-left: 5px;
	margin-bottom: 10px;
}

.wcgs_xzoom-source,
.wcgs_xzoom-hidden {
	display: block;
	position: static;
	float: none;
	clear: both;
}

/* Everything out of border is hidden */
.wcgs_xzoom-hidden {
	overflow: hidden;
}

/* Preview */
.wcgs_xzoom-preview {
	border: 1px solid #888;
	background: #2f4f4f;
	box-shadow: -0px -0px 10px rgba(0, 0, 0, 0.50);
}

/* Lens */
.wcgs_xzoom-lens {
	border: 1px solid #555;
	box-shadow: -0px -0px 10px rgba(0, 0, 0, 0.50);
	cursor: crosshair;
}

/* Loading */
.wcgs_xzoom-loading {
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 100%;
	opacity: .7;
	/* background: url(../images/xloading.gif); */
	width: 48px;
	height: 48px;
}

/* Additional class that applied to thumb when it is active */
.xactive {
	-webkit-box-shadow: 0px 0px 3px 0px rgba(74, 169, 210, 1);
	-moz-box-shadow: 0px 0px 3px 0px rgba(74, 169, 210, 1);
	box-shadow: 0px 0px 3px 0px rgba(74, 169, 210, 1);
	border: 1px solid #4aaad2;
}

/* Caption */
.wcgs_xzoom-caption {
	position: absolute;
	bottom: -43px;
	left: 0;
	background: #000;
	width: 100%;
	text-align: left;
}

.wcgs_xzoom-caption span {
	color: #fff;
	font-family: Arial, sans-serif;
	display: block;
	font-size: 0.75em;
	font-weight: bold;
	padding: 10px;
}

.wcgs_xzoom-source img,
.wcgs_xzoom-preview img,
.wcgs_xzoom-lens img {
	transition-duration: 500ms;
	animation-timing-function: linear;
}

/* .wcgs_xzoom-preview img{
	transition: left 0.5s ease, top 0.5s ease;
} */



#wpgs-gallery {
	float: left;
}

.wcgs-carousel .wcgs-slider-image {
	min-width: 100%;
}

.wcgs-fancybox-wrapper .fancybox-slide {
	padding: 44px 0;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: visible;
	min-height: 400px;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery.vertical {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel {
	-webkit-box-ordinal-group: 2;
	-ms-flex-order: 1;
	order: 1;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery .gallery-navigation-carousel {
	-webkit-box-ordinal-group: 0;
	-ms-flex-order: -1;
	order: -1;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel.spswiper:not(.spswiper-initialized) {
	display: flex;
	visibility: hidden;
	opacity: 0;
	transition: opacity .2s ease-in-out;
}


#wpgs-gallery.wcgs-woocommerce-product-gallery .gallery-navigation-carousel:not(.spswiper-initialized) {
	visibility: hidden;
	/* display: none; */
	display: flex;
	opacity: 0;
	transition: opacity .2s ease-in-out;
}

.wcgs-carousel {
	position: relative;
	overflow: hidden;
	max-width: 100%;
}

#wpgs-gallery * {
	box-sizing: border-box;
}

.wcgs-carousel .wcgs-slider-image {
	position: relative;
	overflow: hidden;
	min-width: 100%;
	max-height: 100%;
}

.wcgs-carousel .wcgs-slider-image-caption {
	position: absolute;
	display: inline-block;
	bottom: 20px;
	z-index: 999;
	width: 100%;
	text-align: center;
}

.wcgs-carousel .wcgs-slider-image-caption span {
	padding: 8px 12px;
	color: #fff;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 3px;
	font-size: 14px;
}

.wcgs-carousel .wcgs-spswiper-arrow {
	font-family: "sp-wgsp-fontello";
	font-size: 12px;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev:not(.spswiper-button-lock),
.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next:not(.spswiper-button-lock) {
	position: absolute;
	cursor: pointer;
	width: 30px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: none !important;
	-webkit-transition: background-color 0.5s;
	transition: background-color 0.5s;
	margin-top: -19px;
	z-index: 99;
	text-decoration: none;
	top: 50%;
}

.wcgs-carousel.bottom_right .wcgs-spswiper-arrow.wcgs-spswiper-button-next,
.wcgs-carousel.bottom_right .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	top: auto !important;
	bottom: 20px !important;
	left: auto;
	right: 15px;
}

.wcgs-carousel.bottom_right .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	right: 63px;
}

.wcgs-carousel.bottom_left .wcgs-spswiper-arrow.wcgs-spswiper-button-next,
.wcgs-carousel.bottom_left .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	top: auto !important;
	bottom: 20px !important;
	left: 15px;
	right: auto !important;
}

.wcgs-carousel.bottom_left .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	left: 63px;
}

.wcgs-carousel.bottom_center .wcgs-spswiper-arrow.wcgs-spswiper-button-next,
.wcgs-carousel.bottom_center .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	top: auto !important;
	bottom: 20px !important;

}

.wcgs-carousel.bottom_center .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	left: calc(50% - 45px);
	right: auto;
}

.wcgs-carousel.bottom_center .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	right: calc(50% - 45px);
	left: auto;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev:hover,
.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next:hover {
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev:before,
.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next:before {
	display: contents;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev.pointer,
.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next.pointer {
	pointer-events: none;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	left: 0;
	min-width: 38px;
	min-height: 38px;
	-webkit-animation: leftArrow 0.5s;
	animation: leftArrow 0.5s;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev:before {
	content: "\f060";
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	left: auto;
	min-width: 38px;
	min-height: 38px;
	right: 0;
	-webkit-animation: rightArrow 0.5s;
	animation: rightArrow 0.5s;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next:before {
	content: "\f061";
}

.wcgs-carousel .spswiper-pagination.spswiper-pagination-bullets {
	display: block;
	position: absolute;
	margin: 0;
	padding-left: 0px;
	padding-bottom: 16px;
	text-align: center;
	width: 100%;
	bottom: 0;
	cursor: pointer;
	-webkit-animation: bulletAnimation 0.5s;
	animation: bulletAnimation 0.5s;
}

#wpgs-gallery .spswiper-pagination.fraction {
	font-size: 18px;
}

.wcgs-carousel.wcgs-mobile-layout .spswiper-pagination.spswiper-pagination-bullets {
	display: block;
	position: static;
	padding-top: 15px;
}

.wcgs-carousel .spswiper-pagination .spswiper-pagination-bullet {
	display: inline-block;
	list-style: none;
	padding: 0;
	overflow: hidden;
	margin: 0;
}

.wcgs-carousel.wcgs-mobile-layout .spswiper-pagination.spswiper-pagination-bullets .spswiper-pagination-bullet {
	opacity: 0.9;
}

.wcgs-carousel .spswiper-pagination:not(.numbers) .spswiper-pagination-bullet .number {
	display: none;
}

.wcgs-carousel .spswiper-pagination.spswiper-pagination-bullets-dynamic .spswiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin-right: 2px;
}

.wcgs-carousel .spswiper-pagination.numbers .spswiper-pagination-bullet {
	width: 24px;
	height: 24px;
	line-height: 24px;
	position: relative;
	border-radius: 50%;
	background: transparent;
	transition: all 350ms ease-in-out;
	border: none;
	z-index: 1;
	line-height: 1;
	padding: 0;
	font-size: 12px;
	font-weight: 400;
	opacity: 1;
	display: inline-block;
	line-height: 24px;
	color: #fff;
	margin-right: 5px;
	margin-bottom: 5px;
	font-weight: 600;
}

.wcgs-carousel.spswiper-horizontal>.spswiper-pagination-progressbar,
.wcgs-carousel .spswiper-pagination-progressbar.spswiper-pagination-horizontal,
.wcgs-carousel .spswiper-pagination-progressbar.spswiper-pagination-vertical.spswiper-pagination-progressbar-opposite,
.wcgs-carousel .spswiper-vertical>.spswiper-pagination-progressbar.spswiper-pagination-progressbar-opposite {
	top: auto;
	bottom: 0;
}

.wcgs-carousel .spswiper-pagination.bullets .spswiper-pagination-bullet {
	width: 12px;
	height: 12px;
	min-height: 12px;
	position: relative;
	font-size: 12px;
	background-color: rgba(115, 119, 121, 0.5);
	display: inline-block;
	text-decoration: none;
	border-radius: 50%;
	margin-right: 6px;
	padding: 0;
	color: transparent !important;
	border: none;
	opacity: 0.6;
}

.wcgs-carousel .spswiper-pagination .spswiper-pagination-bullet.spswiper-pagination-bullet-active {
	background-color: rgba(0, 0, 0, 0.8);
}

.wcgs-carousel.vertical .wcgs-spswiper-arrow {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

.wcgs-carousel.vertical:not(.bottom_right):not(.bottom_center) .wcgs-spswiper-arrow.wcgs-spswiper-button-prev,
.wcgs-carousel.vertical:not(.bottom_right):not(.bottom_center) .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	margin-left: -19px;
	left: 50%;
	margin-top: 0;
	right: auto;
	-webkit-animation: none;
	animation: none;
}

.wcgs-carousel.vertical:not(.bottom_right):not(.bottom_center) .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	bottom: 0;
	top: auto;
}

.wcgs-carousel.vertical:not(.bottom_right):not(.bottom_center) .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	top: 0;
	bottom: auto;
}

.wcgs-carousel.vertical .spswiper-pagination.spswiper-pagination-bullets {
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	margin-left: 8px;
	width: auto;
	-webkit-animation: none;
	animation: none;
	display: inline-table;
}

.wcgs-carousel.vertical .spswiper-pagination .spswiper-pagination-bullet {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 1;
	margin-bottom: 5px;
}

.wcgs-carousel.vertical .spswiper-pagination.numbers .spswiper-pagination-bullet {
	line-height: 24px;
}

.wcgs-carousel .spswiper-pagination.spswiper-pagination-bullets.dot-hopper .spswiper-pagination-bullet {
	position: relative;
	overflow: visible;
	margin-right: 12px;
	background-color: transparent;
	width: 10px;
	height: 10px;
	min-height: 10px;
}

.wcgs-carousel .spswiper-pagination.spswiper-pagination-bullets.dot-hopper .spswiper-pagination-bullet:after {
	content: '';
	top: -4px;
	left: -4px;
	right: -4px;
	bottom: -4px;
	position: absolute;
	border: 2px solid;
	border-radius: 50%;
}

#wpgs-gallery .spswiper-pagination.expanding-dot .spswiper-pagination-bullet.spswiper-pagination-bullet-active {
	opacity: 1;
	width: 25px;
	border-radius: 7px;
}

#wpgs-gallery .spswiper-pagination.expanding-dot {
	width: auto;
	left: 50%;
	transform: translateX(-50%);
	padding: 0 10px;
	border-radius: 30px;
	margin-bottom: 20px;
	animation: expandBulletAnimation .5s;
}

.gallery-navigation-carousel {
	overflow: hidden;
	position: relative;
	/* display: none; */
}

.wpc-product-gallery {
	overflow: hidden;
	position: relative;
}

.anchor_navigation_wrapper .wcgs-thumb,
.gallery-navigation-carousel .wcgs-thumb {
	/* opacity: 0.5; */
	position: relative;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	cursor: pointer;
}

.wcgs_vertical_scroll_nav .wcgs-grid-template-slide:last-of-type {
	margin-bottom: 0;
}

.gallery-navigation-carousel .wcgs-thumb .wcgs-video-icon::after {
	font-size: 36px;
}

/* #wpgs-gallery .gallery-navigation-carousel-wrapper.vertical .wcgs-thumb .wcgs-video-icon{
	left: calc(50% + 5px);
} */
.wcgs-carousel .wcgs-slider-image img {
	display: block;
	box-shadow: none;
}


/* .wcgs-carousel .spswiper-slide:not(.spswiper-slide-next):not(.spswiper-slide-pre):not(.spswiper-slide-active){
	visibility: hidden;
} */
.spswiper-pagination-vertical.spswiper-pagination-bullets,
.spswiper-vertical>.spswiper-pagination-bullets {
	right: 16px;
}

.gallery-navigation-carousel .wcgs-thumb img {
	width: 100%;
	min-width: 100%;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	display: block;
	box-shadow: none;
}

#wpgs-gallery .wcgs-anchor-link .wcgs-thumb,
#wpgs-gallery .wcgs-anchor-link .wcgs-thumb img {
	-webkit-transition: all 0.25s;
	transition: all 0.25s;
}

.wcgs-spswiper-before-init,
.wcgs-spswiper-before-init .wcgs-thumb,
.wcgs-spswiper-before-init .spswiper-slide img,
.wcgs-spswiper-before-init .spswiper-slide,
.wcgs-spswiper-before-init .spswiper-wrapper {
	transition: none !important;
}

.wcgs-spswiper-before-init.horizontal .gallery-navigation-carousel .wcgs-thumb img {
	width: auto;
}


#wpgs-gallery .gallery-navigation-carousel.vertical .wcgs-thumb img {
	max-height: 100%;
	object-fit: cover;
}

#wpgs-gallery .gallery-navigation-carousel.vertical .wcgs-thumb {
	display: flex;
}

.gallery-navigation-carousel .wcgs-spswiper-arrow {
	font-family: "sp-wgsp-fontello";
	font-size: 12px;
	top: 0;
	width: 25px;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-decoration: none;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: absolute;
	color: #fff;
	background-color: rgba(115, 119, 121, 0.5);
	font-size: 10px;
	z-index: 99;
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.gallery-navigation-carousel:not(.thumbnailnavigation-inner_right) .wcgs-spswiper-arrow {
	top: 0;
	width: 25px;
	height: 100%;
}

.gallery-navigation-carousel.thumbnailnavigation-inner_right .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	margin-bottom: -30px;
	right: 0;
	left: auto;
}

.gallery-navigation-carousel.thumbnailnavigation-inner_right .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	margin-top: -36px;
}

.gallery-navigation-carousel.thumbnailnavigation-inner_right .wcgs-spswiper-arrow {
	right: 0;
	height: 30px;
	width: 30px;
	top: 50%;
}

.gallery-navigation-carousel.vertical.thumbnailnavigation-inner_right .wcgs-spswiper-arrow {
	top: 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	left: 50%;
}

.gallery-navigation-carousel.vertical.thumbnailnavigation-inner_right .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	margin-left: -33px;
}

.gallery-navigation-carousel.vertical.thumbnailnavigation-inner_right .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
	margin-left: 3px;
}

.gallery-navigation-carousel.thumbnailnavigation-inner_right .wcgs-spswiper-arrow .gallery-navigation-carousel .wcgs-spswiper-arrow:before {
	display: contents;
}

.gallery-navigation-carousel .wcgs-spswiper-arrow:before {
	display: contents;
}

.gallery-navigation-carousel .wcgs-spswiper-arrow:hover {
	cursor: pointer;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
}

.gallery-navigation-carousel .wcgs-spswiper-button-prev {
	left: 0;
}

.gallery-navigation-carousel .wcgs-spswiper-button-prev:before {
	content: "\f053";
}

.gallery-navigation-carousel .wcgs-spswiper-button-next {
	right: 0;
}

.gallery-navigation-carousel .wcgs-spswiper-button-next:before {
	content: "\f054";
}

.gallery-navigation-carousel.always .wcgs-spswiper-arrow {
	opacity: 1;
}

.gallery-navigation-carousel:hover .wcgs-spswiper-button-prev,
.gallery-navigation-carousel:hover .wcgs-spswiper-button-next {
	opacity: 1;
}

.gallery-navigation-carousel.vertical {
	height: 100%;
	margin: auto;
	display: flex;
}

.gallery-navigation-carousel.vertical:not(.thumbnailnavigation-inner_right) .wcgs-spswiper-arrow {
	height: 30px;
	width: 100%;
}

.gallery-navigation-carousel.vertical .wcgs-spswiper-arrow::before {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	display: inline-block;
}


.gallery-navigation-carousel.vertical:not(.thumbnailnavigation-inner_right) .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	right: 0;
	top: auto;
	bottom: 0;
}

.wcgs-carousel.in_side .wcgs-video-icon:hover~.wcgs-photo,
.wcgs-carousel.in_side .wcgs-slider-image .wcgs-photo:hover {
	opacity: 1;
}

/* Fix odd animation for spswiper transition */
.wcgs-transition-none .wcgs-thumb,
.wcgs-transition-none .spswiper-wrapper {
	transition: none;
}

/* .wcgs-transition-none .wcgs-carousel,
.wcgs-transition-none .gallery-navigation-carousel-wrapper {
	visibility: hidden;
} */

.wcgs-transition-none .wcgs-thumb img {
	width: auto;
}

.wcgs-hidden-gallery {
	display: none;
}

.wcgs-lightbox {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 9999;
	width: 30px;
	height: 30px;
}

.wcgs-lightbox a {
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	text-decoration: none;
	cursor: pointer;
	border-radius: 50%;
	background-color: #fff;
}

.grid-lightbox {
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	text-decoration: none;
	cursor: pointer;
	border-radius: 50%;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 0;
	margin: 0;
}

.wcgs-lightbox.top_right {
	top: 14px;
	right: 14px;
}

.wcgs-lightbox.top_left {
	top: 14px;
	right: auto;
	left: 14px;
}

.wcgs-lightbox.bottom_right {
	top: auto;
	right: 14px;
	bottom: 14px;
	left: auto;
}

.wcgs-lightbox.bottom_left {
	top: auto;
	right: auto;
	bottom: 14px;
	left: 14px;
}

.wcgs-lightbox.middle {
	top: 50%;
	right: auto;
	bottom: auto;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

@-webkit-keyframes leftArrow {
	0% {
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes leftArrow {
	0% {
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@-webkit-keyframes rightArrow {
	0% {
		-webkit-transform: translateX(100%);
		transform: translateX(100%);
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes rightArrow {
	0% {
		-webkit-transform: translateX(100%);
		transform: translateX(100%);
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@-webkit-keyframes bulletAnimation {
	0% {
		-webkit-transform: translateY(100%);
		transform: translateY(100%);
	}

	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@keyframes bulletAnimation {
	0% {
		-webkit-transform: translateY(100%);
		transform: translateY(100%);
	}

	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@keyframes expandBulletAnimation {
	0% {
		transform: translateY(100%) translateX(-50%);
	}

	100% {
		transform: translateY(0) translateX(-50%);
	}
}


.wcgs-video-icon {
	background-color: transparent;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 8;
	cursor: pointer;
	opacity: 0.8;
	font-size: 80px;
	color: #fff;
}

.video-js .vjs-big-play-button.bottom_right,
.bottom_right .wcgs-video-icon {
	top: auto;
	bottom: 10px;
	left: auto;
	right: 10px;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.wcgs-thumb.bottom_right .wcgs-video-icon {
	top: auto;
	bottom: -1px;
	left: auto;
	right: 5px;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.video-js .vjs-big-play-button.top_right,
.top_right .wcgs-video-icon {
	top: 10px;
	bottom: auto;
	left: 10px;
	right: auto;
	transform: translate(0, 0);
}

.wcgs-thumb.top_right .wcgs-video-icon {
	top: -1px;
	bottom: auto;
	right: 5px;
	left: auto;
	transform: translate(0, 0);
}

.video-js .vjs-big-play-button.top_left,
.top_left .wcgs-video-icon {
	top: 10px;
	bottom: auto;
	left: 5px;
	right: auto;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.wcgs-thumb.top_left .wcgs-video-icon {
	top: 4px;
	bottom: auto;
	left: 5px;
	right: auto;
	transform: translate(0, 0);
}

.video-js .vjs-big-play-button.bottom_left,
.bottom_left .wcgs-video-icon {
	top: auto;
	bottom: 10px;
	left: 10px;
	right: auto;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.wcgs-thumb.bottom_left .wcgs-video-icon {
	top: auto;
	bottom: -1px;
	left: 5px;
	right: auto;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.wcgs-video-self-hosted~.wcgs-video-icon-wrapper,
iframe.wcgs-iframe~.wcgs-video-icon-wrapper {
	display: none;
}


.theme-twentytwentyfive #wpgs-gallery.wcgs-woocommerce-product-gallery {
	max-width: 100%;
}

.wcgs-gallery-preloader {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 999;
	/* max-height: 400px;
	min-height: 400px; */
	background-color: rgba(255, 255, 255, 0.8);
	/* background-color: inherit; */
	background-image: url("../images/spinner.svg");
	background-repeat: no-repeat;
	background-position: center center;
	/* transition: all 0.1 ease-in; */
	transition: opacity 0.1s ease-in-out;
	opacity: 1;
	max-width: 100%;
	min-height: 100%;
}

/* .wcgs-woocommerce-product-gallery.wcgs-spswiper-before-init .gallery-navigation-carousel-wrapper,
.wcgs-woocommerce-product-gallery.wcgs-transition-none .gallery-navigation-carousel-wrapper{
	opacity: 0;
	visibility: hidden;
} */
.wcgs-woocommerce-product-gallery.wcgs-spswiper-before-init .gallery-navigation-carousel-wrapper.wcgs_preloader_fade,
.wcgs-woocommerce-product-gallery.wcgs-transition-none .gallery-navigation-carousel-wrapper.wcgs_preloader_fade {
	opacity: 0.4;
	visibility: visible;
}

.wcgs-woocommerce-product-gallery.wcgs-spswiper-before-init.wcgs_preloader_blur .gallery-navigation-carousel-wrapper,
.wcgs-woocommerce-product-gallery.wcgs-spswiper-before-init.wcgs_preloader_blur .wcgs-carousel,
.wcgs-woocommerce-product-gallery.wcgs-transition-none.wcgs_preloader_blur .wcgs-carousel,
.wcgs-woocommerce-product-gallery.wcgs-transition-none.wcgs_preloader_blur .gallery-navigation-carousel-wrapper {
	opacity: 0.4;
	visibility: visible;
	-webkit-filter: blur(5px);
	filter: blur(5px);
}

.wcgs-woocommerce-product-gallery.wcgs-spswiper-before-init.wcgs_preloader_gray .gallery-navigation-carousel-wrapper,
.wcgs-woocommerce-product-gallery.wcgs-spswiper-before-init.wcgs_preloader_gray .wcgs-carousel,
.wcgs-woocommerce-product-gallery.wcgs-transition-none.wcgs_preloader_gray .wcgs-carousel,
.wcgs-woocommerce-product-gallery.wcgs-transition-none.wcgs_preloader_gray .gallery-navigation-carousel-wrapper {
	opacity: 0.4;
	visibility: visible;
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
}

#wpgs-gallery .wcgs-slider-image-tag[src*="spinner.svg"] {
	padding: 40%;
}

#wpgs-gallery {
	display: inline-block;
	z-index: 0;
}

.gray_normal_hover {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.gray_normal_hover:hover {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.gray_onhover,
.gray_onhover~.wcgs-photo {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.gray_onhover:hover,
.gray_onhover~.wcgs-photo:hover {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.gray_always,
.gray_always~.wcgs-photo {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.gray_always:hover,
.gray_always~.wcgs-photo:hover {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

/* .spswiper-slide .gray_active_normal {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.slick-slide.spswiper-slide-thumb-active.gray_active_normal {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}

.slick-slide .active_gray_normal {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}

.slick-slide .active_gray_normal~.wcgs-photo {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.slick-slide.spswiper-slide-thumb-active.active_gray_normal {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
} */

#wpgs-gallery+div.summary {
	overflow: hidden;
	min-width: 120px;
}

@media (min-width: 768px) {
	#wpgs-gallery.wcgs-woocommerce-product-gallery {
		/* width: auto !important; */
		margin-right: 30px;
	}

	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.summary,
	.woocommerce-page #content div.product div.summary,
	.woocommerce-page div.product div.summary {
		float: left !important;
		overflow: hidden;
	}

}

.wcgs-iframe-wrapper {
	position: relative;
	/* padding-bottom: 100%; */
	height: auto;
	overflow: hidden;
	width: 100%;
	display: flex;
	justify-content: center;
}

.wcgs-carousel .wcgs-iframe-wrapper img {
	width: auto;
	/* max-height: 100%;
	margin: auto; */
}

/* Theme Divi */
.theme-Divi .wcgs-slider-image .wcgs-photo {
	opacity: 1;
}

.theme-Divi .wcgs-iframe-wrapper~.wcgs-photo {
	opacity: 0;
}

.theme-Divi .wcgs-iframe-wrapper img {
	visibility: visible !important;
}

.wcgs-iframe-wrapper .fluid-width-video-wrapper {
	padding-top: unset !important;
	position: static;
	height: 100%;
}

/* .wcgs-iframe-wrapper video  */
.wcgs-iframe-wrapper .wcgs-video-self-hosted,
.wcgs-iframe-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
}

.wcgs-iframe-wrapper iframe {
	background-color: #222;
}

.wcgs-iframe-wrapper .video-js,
.wcgs-player-dimensions {
	height: 100%;
	width: 100%;
}

.theme-twentytwenty .wcgs-iframe-wrapper iframe,
.theme-twentytwenty .wcgs-iframe-wrapper video {
	width: 100% !important;
	height: 100% !important;
}

.wcgs-fancybox-wrapper .fancybox__toolbar {
	background: transparent !important;
}

.wcgs-fancybox-wrapper .fancybox-navigation .fancybox-button>div {
	background: rgba(30, 30, 30, 0.6);
}

/* .logged-in .wcgs-fancybox-wrapper .fancybox__toolbar { */
/* top: 32px !important; */
/* margin-top: 32px !important;
} .wcgs-fancybox-wrapper .fancybox-infobar {
	top: 30px;
} */

.wcgs-iframe-wrapper .facebook-iframe {
	background: #222;
}

.wcgs-fancybox-wrapper .fancybox-thumbs {
	top: auto;
	width: auto;
	bottom: 0;
	left: 0;
	right: 0;
	height: 95px;
	padding: 10px 10px 5px 10px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.3);
}

/* .wcgs-fancybox-wrapper.fancybox-show-thumbs .fancybox-inner {
	right: 0;
	bottom: 95px;
}

.wcgs-fancybox-wrapper .fancybox-thumbs-x .fancybox-thumbs__list {
	margin: auto;
} */

.wcgs-fancybox-wrapper .fancybox-button:hover {
	color: #fff;
	background: rgb(58, 58, 58);
}

/* Divi builder override */
.product #et-boc .et-l #wpgs-gallery ul {
	text-align: center;
}

.product #et-boc .et-l #wpgs-gallery .wcgs-lightbox a {
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 7px;
	border-radius: 50%;
}

.product #et-boc .et-l .wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev,
.product #et-boc .et-l .wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
	color: #fff;
	line-height: 30px;
	padding-bottom: 0 !important;
}

/* Theme Avada & Uncode */
.theme-uncode span.font-ui {
	position: absolute;
}

.wcgs-gallery-slider.theme-Avada.woocommerce #content div.product div.summary {
	float: none !important;
	overflow: hidden;
}

@media (min-width: 801px) {
	.wcgs-gallery-slider.theme-Avada.woocommerce .avada-single-product-gallery-wrapper {
		max-width: 500px;
	}
}

@media (min-width: 800px) {

	.wcgs-gallery-slider.theme-Avada.woocommerce #wpgs-gallery,
	.wcgs-gallery-slider.theme-Avada.woocommerce #content div.product div.summary {
		max-width: 100% !important;
	}
}

@media (min-width:768px) and (max-width: 800px) {
	.wcgs-gallery-slider.theme-Avada.woocommerce #content div.product div.summary {
		margin-left: 0 !important;
	}
}

/* Vertical thumbnail scrollbar */
#wpgs-gallery .overflow_y_auto::-webkit-scrollbar {
	width: 5px;
}

#wpgs-gallery .overflow_y_auto::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px #80808078;
	border-radius: 5px;
}

#wpgs-gallery .overflow_y_auto::-webkit-scrollbar-thumb {
	background: #bbb;
	border-radius: 5px;
}

#wpgs-gallery .overflow_y_auto::-webkit-scrollbar-thumb:hover {
	background: #ddd;
}

#wpgs-gallery .vertically-center {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

/* RTL site css */
.rtl #wpgs-gallery {
	float: right;
}

@media (min-width: 768px) {
	.rtl #wpgs-gallery.wcgs-woocommerce-product-gallery {
		margin-right: 0;
		margin-left: 30px;
	}

	.rtl.woocommerce #content div.product div.summary,
	.rtl.woocommerce div.product div.summary,
	.rtl.woocommerce-page #content div.product div.summary,
	.rtl.woocommerce-page div.product div.summary {
		float: right !important;
	}
}

.rtl.wcgs-gallery-slider.theme-Avada.woocommerce .avada-single-product-gallery-wrapper {
	float: right;
	margin-right: 0;
	margin-left: 30px;
}

.rtl.wcgs-gallery-slider.theme-Avada.woocommerce #content div.product div.summary {
	margin-left: unset;
}

.wcgs-carousel .spswiper-slide,
.wcgs-carousel .wcgs-slider-image {
	display: flex;
	justify-content: center;
	margin: auto;
}

/* #wpgs-gallery .wcgs-carousel .wcgs-grid-template .wcgs-slider-image {
	display: grid;
} */

#wpgs-gallery .wcgs-grid-template.wcgs-grid-height-auto {
	height: auto !important;
}

/* Elementor lightbox conflict */
.wcgs-fancybox-wrapper~.elementor-lightbox {
	display: none !important;
}

.elementor-element .wcgs-carousel {
	max-width: 100%;
}

/* Xzoom */
.wcgs_xzoom-source {
	overflow: hidden;
}

.wcgs_xzoom-preview {
	z-index: 4;
}

.wcgs_xzoom-source {
	z-index: 9999;
}

.spswiper {
	margin-left: 0;
	margin-right: 0;
	position: relative;
	overflow: hidden;
	overflow: clip;
	list-style: none;
	padding: 0;
	z-index: 1;
	display: block;
}

.wcgs-spswiper-button-next,
.wcgs-spswiper-button-prev {
	position: absolute;
	top: auto;
	width: auto;
	height: auto;
	margin-top: 0;
	z-index: 10;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--spswiper-navigation-color, var(--spswiper-theme-color));
}

.wcgs-carousel.spswiper-fade .spswiper-slide .spswiper-slide {
	pointer-events: auto;
}

.wcgs-carousel.spswiper-fade .spswiper-slide:not(.spswiper-slide-active) {
	opacity: 0 !important;
}

/* .wcgs-carousel.spswiper-vertical .spswiper-slide {
	height: auto !important;
} */

.vjs-poster img,
.woocommerce .vjs-poster img {
	width: 100%;
	height: 100%;
}

.gallery-navigation-carousel.vertical .spswiper-wrapper {
	height: auto;
	margin: auto;
}

#wpgs-gallery .gallery-navigation-carousel.vertical .wcgs-thumb img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.gallery-navigation-carousel-wrapper.grid {
	display: none;
}

.spswiper-wrapper.grid {
	display: none;
}

/* .grid-template.grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
} */

.wcgs-grid-template.horizontal,
.wcgs-grid-template.vertical_right,
.wcgs-grid-template.horizontal_top,
.wcgs-grid-template.vertical_left,
.wcgs-grid-template.hide_thumbnails {
	display: none;
}

.wcgs-grid-template-slide.horizontal.wcgs-hidden-item,
.wcgs-grid-template-slide.vertical_right.wcgs-hidden-item,
.wcgs-grid-template-slide.horizontal_top.wcgs-hidden-item,
.wcgs-grid-template-slide.vertical_left.wcgs-hidden-item,
.wcgs-grid-template-slide.hide_thumbnails.wcgs-hidden-item {
	display: none;
}


.wcgs-grid-template-container {
	position: relative;
}

/* .wcgs-grid-template {
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
} */

.wcgs-toggle-btn-container {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -23px;
	/* z-index: 100!important; */
	position: relative;
	z-index: 999;
	padding-bottom: 12px;
}

.wcgs-toggle-btn {
	padding: 10px 20px;
	background-color: #0073aa;
	color: #fff;
	border: none;
	cursor: pointer;
	line-height: 1.2;
}

.wcgs-toggle-btn:hover {
	background-color: #005177;
}

.wcgs-carousel.grid .wcgs-slider-image.wcgs-grid-image {
	height: 100%;
}

/* hide lightbox */
.spswiper .wcgs-slider-lightbox {
	visibility: hidden;
	opacity: 0;
}

/* Optionally hide the image on hover if required */
.grid-template::-webkit-scrollbar {
	width: 2px;
}

.grid-template::-webkit-scrollbar-thumb {
	background-color: #888;
	/* Customize scrollbar color */
	border-radius: 10px;
}

.grid-template::-webkit-scrollbar-track {
	background: #f1f1f1;
	/* Customize scrollbar track color */
}

/* Custom scrollbar for Firefox */
.grid-template {
	scrollbar-width: thin;
	scrollbar-color: #888 #f1f1f1;
	/* Scrollbar thumb color and track color */
}

.summary.entry-summary {
	overflow: hidden;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
#wpgs-gallery .wcgs-carousel .wcgs-grid-template-container * {
	scrollbar-width: auto;
	scrollbar-color: #8f54a0 #ffffff;
}

/* Chrome, Edge, and Safari */
#wpgs-gallery .wcgs-carousel .wcgs-grid-template-container *::-webkit-scrollbar {
	width: 16px;
}

#wpgs-gallery .wcgs-carousel .wcgs-grid-template-container *::-webkit-scrollbar-track {
	background: #ffffff;
}

#wpgs-gallery .wcgs-carousel .wcgs-grid-template-container *::-webkit-scrollbar-thumb {
	background-color: #8f54a0;
	border-radius: 10px;
	border: 3px solid #ffffff;
}

/* Anchor Navigation */
.anchor_navigation_wrapper .inner-wrapper-navigation {
	padding-top: 200px;
}

.anchor_navigation_wrapper {
	max-width: 70px;
	position: static;
	-webkit-box-flex: 0;
	-ms-flex: 0 1 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	align-self: flex-start;
	align-content: stretch;
	flex-wrap: nowrap;
	transition: none;
	left: 0;
}

.anchor_navigation_wrapper a {
	padding: 0;
	margin: 0;
	display: block;
	margin-bottom: 12px;
	position: relative;
}

.anchor_navigation_wrapper a:focus {
	outline: none !important;
}

.anchor_navigation_wrapper a::before {
	content: '';
	width: 12px;
	height: 12px;
	background-color: #d8dbe3;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	display: block;
	transition: 0.2s all;
}

.anchor_navigation_wrapper a.active::before {
	background-color: #444;
}

.wcgs_vertical_scroll_nav .anchor_navigation_wrapper .inner-wrapper-navigation {
	padding-top: 0;
}

.wcgs_vertical_scroll_nav .wcgs-thumb img {
	display: block;
}

.wcgs_vertical_scroll_nav .anchor_navigation_wrapper a {
	margin-right: 6px;
	margin-bottom: 6px;
}

/* .wcgs_vertical_scroll_nav .anchor_navigation_wrapper a.active{
	border: 1px solid #aaa;
} */
.wcgs_vertical_scroll_nav .anchor_navigation_wrapper a::before {
	content: none;
}

.wcgs_vertical_scroll_nav .anchor_navigation_wrapper a .wcgs-video-icon:after {
	font-size: 30px;
}

#wpgs-gallery.wcgs-multi-row-thumb .wcgs-thumb {
	width: auto !important;
	height: auto !important;
	margin-right: 0 !important;
	display: flex;
	margin: auto;
}

#wpgs-gallery.wcgs-multi-row-thumb .gallery-navigation-carousel-wrapper .spswiper-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	transform: none !important;
	transition: none !important;
}

.spf-swatch-tooltip.spf-swatch-tooltip-hidden {
	opacity: 0;
}

.video-js .vjs-big-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 0;
	transform: translate(-50%, -50%);
}

.video-js .vjs-big-play-button.center_center {
	position: absolute;
	top: 50% !important;
	left: 50% !important;
	padding: 0;
	transform: translate(-50%, -50%);
}

.vjs-big-play-button .vjs-icon-placeholder {
	display: none;
}

.video-js .vjs-big-play-button:focus,
.video-js:hover .vjs-big-play-button {
	background-color: transparent !important;
}

/* .wcgs-woocommerce-product-gallery:has(.wcgs-gallery-preloader) .gallery-navigation-carousel-wrapper,
.wcgs-woocommerce-product-gallery:has(.wcgs-gallery-preloader) .wcgs-carousel,
.wcgs-woocommerce-product-gallery:has(.wcgs-gallery-preloader) .wcgs-gallery-preloader {
	visibility: hidden;
} */
/* new Grid layout */
/* @media (min-width: 771px) { */


/* .wcgs_grid_2_4,
	.wcgs_grid_3_1_2,
	.wcgs_grid_1_2_2 {
		display: grid;
		gap: 10px !important;
	}

	.wcgs_grid_2_4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.wcgs_grid_3_1_2 {
		grid-template-columns: repeat(6, 1fr);
	}

	.wcgs_grid_1_2_2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.wcgs_grid_2_1_3 .wcgs-grid-template-slide,
	.wcgs_grid_2_4 .wcgs-grid-template-slide,
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide,
	.wcgs_grid_1_2_2 .wcgs-grid-template-slide {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.wcgs_grid_1_2_2 .wcgs-grid-template-slide {
		grid-column: span 1;
	}

	.wcgs_grid_2_4 .wcgs-grid-template-slide:last-child:nth-child(odd) {
		grid-column: span 2;
	} */

/* .wcgs_grid-1_2_2 .wcgs-grid-template-slide:nth-child(1) {
		grid-column: span 2;
	}

	.wcgs_grid-1_2_2 .wcgs-grid-template-slide:last-child:nth-child(even) {
		grid-column: span 2;
	} */
.wcgs_grid_3_1_2:not(.spswiper-wrapper),
.wcgs_grid_1_2_2:not(.spswiper-wrapper),
.wcgs_grid_1_2_3:not(.spswiper-wrapper),
.wcgs_grid_1_3_3:not(.spswiper-wrapper),
.wcgs_grid_2_1_3:not(.spswiper-wrapper) {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}

/* Grid  2_1_3 */
.wcgs_grid_2_1_3 .wcgs-grid-template-slide {
	grid-column: span 6;
}

.wcgs_grid_2_1_3 .wcgs-grid-template-slide:nth-child(1) {
	grid-column: span 3;
}

.wcgs_grid_2_1_3 .wcgs-grid-template-slide:nth-child(2) {
	grid-column: span 3;
}

.wcgs_grid_2_1_3 .wcgs-grid-template-slide:nth-child(3) {
	grid-column: span 6;
}

.wcgs_grid_2_1_3 .wcgs-grid-template-slide:nth-child(n+4):nth-child(-n+6) {
	grid-column: span 2;
}

.wcgs_grid_2_1_3 .wcgs-grid-template-slide:nth-last-child(2):nth-child(4),
.wcgs_grid_2_1_3 .wcgs-grid-template-slide:last-child:nth-child(5) {
	grid-column: span 3 !important;
}

.wcgs_grid_2_1_3 .wcgs-grid-template-slide:last-child:nth-child(2),
.wcgs_grid_2_1_3 .wcgs-grid-template-slide:nth-last-child(2):nth-child(1),
.wcgs_grid_2_1_3 .wcgs-grid-template-slide:last-child:nth-child(1),
.wcgs_grid_2_1_3 .wcgs-grid-template-slide:last-child:nth-child(4) {
	grid-column: span 6 !important;
}

/* Grid 1 2 2  */
.wcgs_grid_1_2_2 .wcgs-grid-template-slide {
	grid-column: span 6;
}

.wcgs_grid_1_2_2 .wcgs-grid-template-slide:nth-child(n+2):nth-child(-n+5) {
	grid-column: span 3;
}

.wcgs_grid_1_2_2 .wcgs-grid-template-slide:last-child:nth-child(2),
.wcgs_grid_1_2_2 .wcgs-grid-template-slide:last-child:nth-child(1),
.wcgs_grid_1_2_2 .wcgs-grid-template-slide:last-child:nth-child(4) {
	grid-column: span 6 !important;
}

/* .wcgs_grid-1_2_2 .wcgs-grid-template-slide:last-child:nth-child(even) {
		grid-column: span 6;
	} */
/* Grid 3-1-2-1 */
.wcgs_grid_3_1_2 .wcgs-grid-template-slide {
	grid-column: span 6;
}

.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(1),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(3),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(2) {
	grid-column: span 2;
}

.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(4) {
	grid-column: span 6;
}

.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(6),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(5) {
	grid-column: span 3;
}

.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-last-child(3):nth-child(1),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-last-child(2):nth-child(2) {
	grid-column: span 3 !important;
}

.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-last-child(2):nth-child(1),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-last-child(1):nth-child(3),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:last-child:nth-child(2),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:last-child:nth-child(1),
.wcgs_grid_3_1_2 .wcgs-grid-template-slide:last-child:nth-child(5) {
	grid-column: span 6 !important;
}

/* Grid 1_3_3 */
.wcgs_grid_1_3_3 .wcgs-grid-template-slide {
	grid-column: span 6;
}

.wcgs_grid_1_3_3 .wcgs-grid-template-slide:nth-child(n+2):nth-child(-n+7) {
	grid-column: span 2;
}

.wcgs_grid_1_3_3 .wcgs-grid-template-slide:nth-last-child(2):nth-child(2),
.wcgs_grid_1_3_3 .wcgs-grid-template-slide:nth-last-child(2):nth-child(5),
.wcgs_grid_1_3_3 .wcgs-grid-template-slide:nth-last-child(1):nth-child(6),
.wcgs_grid_1_3_3 .wcgs-grid-template-slide:nth-last-child(1):nth-child(3),
.wcgs_grid_1_3_3 .wcgs-grid-template-slide:nth-last-child(2):nth-child(2),
.wcgs_grid_1_3_3 .wcgs-grid-template-slide:nth-last-child(1):nth-child(3) {
	grid-column: span 3;
}

.wcgs_grid_1_3_3 .wcgs-grid-template-slide:last-child:nth-child(2),
.wcgs_grid_1_3_3 .wcgs-grid-template-slide:last-child:nth-child(1),
.wcgs_grid_1_3_3 .wcgs-grid-template-slide:last-child:nth-child(5) {
	grid-column: span 6 !important;
}

/* Grid 1_2_3 */
.wcgs_grid_1_2_3 .wcgs-grid-template-slide {
	grid-column: span 6;
}

.wcgs_grid_1_2_3 .wcgs-grid-template-slide:nth-child(n+4):nth-child(-n+6) {
	grid-column: span 2;
}

.wcgs_grid_1_2_3 .wcgs-grid-template-slide:nth-child(3),
.wcgs_grid_1_2_3 .wcgs-grid-template-slide:nth-child(2) {
	grid-column: span 3;
}

.wcgs_grid_1_2_3 .wcgs-grid-template-slide:last-child:nth-child(2),
.wcgs_grid_1_2_3 .wcgs-grid-template-slide:last-child:nth-child(4) {
	grid-column: span 6;
}

.wcgs_grid_1_2_3 .wcgs-grid-template-slide:nth-last-child(2):nth-child(4),
.wcgs_grid_1_2_3 .wcgs-grid-template-slide:nth-last-child(1):nth-child(5) {
	grid-column: span 3 !important;
}

/* .wcgs_grid_3_1_2,
	.wcgs_grid_1_2_2,
	.wcgs_grid_1_2_3,
	.wcgs_grid_1_3_3,
	.wcgs_grid_2_1_3 {

	} */
/* This code for dynamic loop  1_2_2 */
/* .wcgs_grid_1_2_2 .wcgs-grid-template-slide {
		grid-column: span 3;
	}
	.wcgs_grid_1_2_2 .wcgs-grid-template-slide:nth-child(5n + 1) {
		grid-column: span 6;
	}
	.wcgs_grid_1_2_2 .wcgs-grid-template-slide:nth-child(5n + 2),
	.wcgs_grid_1_2_2 .wcgs-grid-template-slide:nth-child(5n + 3),
	.wcgs_grid_1_2_2 .wcgs-grid-template-slide:nth-child(5n + 4),
	.wcgs_grid_1_2_2 .wcgs-grid-template-slide:nth-child(5n + 5) {
		grid-column: span 3;
	} */

/* Dynamic handling for additional items */
/* .wcgs_grid_1_2_2 .wcgs-grid-template-slide:nth-child(n+6) {
		grid-column: span 1;
	} */


/* .wcgs_grid_3_1_2 .wcgs-grid-template-slide {
		grid-column: span 3;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(1),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(3),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(2) {
		grid-column: span 2;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(4) {
		grid-column: span 6;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(5) {
		grid-column: span 3;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(6) {
		grid-column: span 3;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(7) {
		grid-column: span 6;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(10),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(9),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(8) {
		grid-column: span 2;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(11) {
		grid-column: span 6;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(13),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(12) {
		grid-column: span 3;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(14) {
		grid-column: span 6;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(15),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(16),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(17) {
		grid-column: span 2;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(18) {
		grid-column: span 6;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(19),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(20) {
		grid-column: span 3;
	}

	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(21) {
		grid-column: span 6;
	}
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(22),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(23),
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(24) {
		grid-column: span 2;
	}
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:nth-child(25) {
		grid-column: span 6;
	}
	.wcgs_grid_3_1_2 .wcgs-grid-template-slide:last-child:nth-child(odd) {
		grid-column: span 6;
	} */

/* } */
/* Sale badge responsive */
.woocommerce-js div.product:has(.anchor_navigation_wrapper) span.onsale,
.woocommerce-js div.product:has(.wcgs_vertical_scroll_nav) span.onsale {
	left: 63px;
}

.wcgs-fancybox-wrapper .fancybox__content {
	padding: 0;
}

.wcgs-fancybox-wrapper,
.wcgs-fancybox-wrapper .fancybox__carousel,
.wcgs-fancybox-wrapper .fancybox__container {
	z-index: 999999 !important;
}

.wcgs-fancybox-wrapper .fancybox__toolbar {
	z-index: 9999999 !important;
}

.wcgs-fancybox-wrapper .f-thumbs__slide.for-iframe:before,
.wcgs-fancybox-wrapper .f-thumbs__slide.for-video:before,
.wcgs-fancybox-wrapper .f-thumbs__slide.for-youtube:before {
	font-family: sp-wgsp-fontello;
	font-size: 1.5rem;
	color: #fff;
	opacity: .8;
	content: "\e823";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 999;
	cursor: pointer;
}

/* Elementor lightbox conflict */
.wcgs-fancybox-custom-wrapper~.elementor-lightbox {
	display: none !important;
}

.f-thumbs__slide__button {
	max-width: none !important;
}

@media (max-width: 768px) {
	.fancybox__toolbar__column.is-middle button {
		width: 35px;
	}
}

/* This css for touch swipe */
@media (max-width: 600px) {

	.wcgs-iframe-wrapper::before,
	.wcgs-iframe-wrapper::after {
		position: absolute;
		z-index: 10;
		content: '';
		top: 25%;
		left: 0;
		width: 30%;
		height: 50%;
		clip-path: polygon(0% 0%, 0% 100%, 44% 100%, 44% 49%, 56% 49%, 56% 67%, 0% 67%, 0% 100%, 100% 100%, 100% 0%);
	}

	.wcgs-iframe-wrapper::before {
		right: 0;
		left: auto;
	}
}

#wpgs-gallery.wcgs-fixed-height .wcgs-carousel .wcgs-slider-image img.wcgs-slider-image-tag {
	height: auto !important;
	width: auto;
	max-width: 100%;
	max-height: 100%;
}

#wpgs-gallery.wcgs-fixed-height .wcgs-carousel .wcgs-slider-image {
	margin: initial;
}

#wpgs-gallery.wcgs-fixed-height .wcgs-carousel .wcgs_xzoom-source {
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	top: 50% !important;
}