.fsh-single-product-gallery{
	position:relative;
	display:flex;
	flex-direction:column;
	width:100%;
	max-width:100%;
	min-width:0;
	margin-inline:auto;
	gap:12px;
	box-sizing:border-box;
	direction:rtl
}
.fsh-gallery-main{position:relative;width:100%;min-width:0;margin:0;padding:0;line-height:0}
.fsh-gallery-main-stage{
	position:relative;
	padding:0;
	line-height:0;
	width:100%;
	height:620px;
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
	background:#f8f6f1;
	border:1px solid #ece8df;
	border-radius:16px;
	box-sizing:border-box
}
.fsh-gallery-main-image{
	display:block;
	width:100%;
	height:100%;
	max-width:none;
	max-height:none;
	object-fit:cover;
	object-position:center;
	transition:opacity .18s ease,transform .24s ease;
	user-select:none;
	-webkit-user-drag:none
}
.fsh-single-product-gallery.is-changing .fsh-gallery-main-image{opacity:.3;transform:scale(.992)}
.fsh-gallery-thumbs{
	position:relative;
	width:100%;
	min-width:0;
	min-height:100px;
	box-sizing:border-box;
	overflow:hidden
}
.fsh-gallery-thumbs-track{
	display:flex;
	flex-flow:row nowrap;
	align-items:stretch;
	justify-content:flex-start;
	gap:10px;
	width:100%;
	max-width:100%;
	overflow-x:auto;
	overflow-y:hidden;
	padding:1px 1px 4px;
	scrollbar-width:none;
	scroll-snap-type:x proximity;
	-webkit-overflow-scrolling:touch
}
.fsh-gallery-thumbs-track::-webkit-scrollbar{display:none}
.fsh-gallery-thumb{
	display:flex;
	align-items:center;
	justify-content:center;
	flex:0 0 140px;
	width:140px;
	height:135px;
	padding:0;
	margin:0;
	overflow:hidden;
	background:#fff;
	border:1px solid #e6e1d7;
	border-radius:14px;
	box-sizing:border-box;
	cursor:pointer;
	scroll-snap-align:start;
	transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease
}
.fsh-gallery-thumb:hover{transform:translateY(-1px);border-color:#c9a25d}
.fsh-gallery-thumb.is-active{border-color:#e89400;border-width:2px;box-shadow:0 4px 14px rgba(232,148,0,.13)}
.fsh-gallery-thumb img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:center;
	transition:opacity .18s ease;
	user-select:none;
	-webkit-user-drag:none
}
.fsh-gallery-thumb:not(.is-active) img{opacity:.78}
.fsh-gallery-zoom,.fsh-gallery-arrow{
	position:absolute;
	z-index:8;
	display:grid;
	place-items:center;
	padding:0;
	border:1px solid rgba(47,55,68,.1);
	background:#fff;
	color:#2f3744;
	cursor:pointer;
	line-height:1;
	transition:transform .18s ease,background .18s ease,color .18s ease
}
.fsh-gallery-zoom:hover,.fsh-gallery-arrow:hover{transform:scale(1.04)}
.fsh-gallery-zoom{
	top:14px;
	inset-inline-end:14px;
	width:42px;
	height:42px;
	border-radius:999px;
	box-shadow:0 6px 18px rgba(0,0,0,.08)
}
.fsh-gallery-zoom svg,.fsh-gallery-arrow svg{fill:currentColor}
.fsh-gallery-arrow{
	top:50%;
	width:40px;
	height:40px;
	border-radius:999px;
	transform:translateY(-50%);
	box-shadow:0 6px 18px rgba(0,0,0,.1)
}
.fsh-gallery-arrow:hover{transform:translateY(-50%) scale(1.04)}
.fsh-gallery-prev{inset-inline-start:14px}
.fsh-gallery-next{inset-inline-end:14px}
.fsh-gallery-lightbox{
	position:fixed;
	inset:0;
	z-index:999999;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:70px 80px;
	background:rgba(18,22,28,.92);
	opacity:0;
	visibility:hidden;
	pointer-events:none;
	transition:opacity .22s ease,visibility .22s ease
}
.fsh-gallery-lightbox.is-open{opacity:1;visibility:visible;pointer-events:auto}
.fsh-gallery-lightbox-image{display:block;max-width:min(1100px,90vw);max-height:84vh;width:auto;height:auto;object-fit:contain}
.fsh-gallery-lightbox-close,.fsh-gallery-lightbox-arrow{
	position:absolute;
	z-index:2;
	display:grid;
	place-items:center;
	border:0;
	background:rgba(255,255,255,.12);
	color:#fff;
	cursor:pointer
}
.fsh-gallery-lightbox-close{top:22px;inset-inline-end:24px;width:46px;height:46px;border-radius:50%;font-size:30px;line-height:1}
.fsh-gallery-lightbox-arrow{top:50%;width:50px;height:70px;transform:translateY(-50%);font-size:44px;border-radius:12px}
.fsh-lightbox-prev{inset-inline-start:22px}
.fsh-lightbox-next{inset-inline-end:22px}
body.fsh-gallery-lock{overflow:hidden!important}
.fsh-gallery-notice{padding:18px;border:1px dashed #d8d2c7;border-radius:12px;text-align:center;background:#fff}

@media(max-width:1024px){
	.fsh-gallery-main-stage{height:520px}
	.fsh-gallery-thumb{flex-basis:110px;width:110px;height:105px}
}
@media(max-width:767px){
	.fsh-single-product-gallery{gap:9px}
	.fsh-gallery-main-stage{height:390px}
	.fsh-gallery-thumbs{min-height:74px}
	.fsh-gallery-thumbs-track{gap:8px;padding-bottom:3px}
	.fsh-gallery-thumb{flex-basis:78px;width:78px;height:74px;border-radius:10px}
	.fsh-gallery-arrow{display:none}
	.fsh-gallery-lightbox{padding:70px 12px}
	.fsh-gallery-lightbox-arrow{width:40px;height:58px;font-size:36px}
	.fsh-lightbox-prev{inset-inline-start:8px}
	.fsh-lightbox-next{inset-inline-end:8px}
}
