.ewsg-gallery {
	width: 100%;
	max-width: 600px;
	font-family: inherit;
}

.ewsg-empty-notice {
	padding: 20px;
	background: #f5f5f5;
	border: 1px dashed #ccc;
	border-radius: 8px;
	color: #666;
	font-size: 14px;
	text-align: center;
}

/* ---------- Main Stage ---------- */
.ewsg-main-stage {
	position: relative;
	width: 100%;
	height: 520px;
	background-color: #E7ECF2;
	border-radius: 12px;
	overflow: hidden;
}

.ewsg-main-images {
	position: relative;
	width: 100%;
	height: 100%;
}

.ewsg-main-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}

.ewsg-main-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.ewsg-main-slide img {
	max-width: 90%;
	max-height: 90%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.ewsg-main-slide a.ewsg-lightbox-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

/* ---------- Main Arrows ---------- */
.ewsg-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #ffffff;
	border: 1.5px solid #1a1a1a;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	padding: 0;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ewsg-arrow:hover {
	transform: translateY(-50%) scale(1.06);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ewsg-arrow-prev {
	left: 16px;
}

.ewsg-arrow-next {
	right: 16px;
}

/* ---------- Dots ---------- */
.ewsg-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 14px 0;
}

.ewsg-dot {
	width: 20px;
	height: 4px;
	border-radius: 2px;
	background-color: #d8dce1;
	cursor: pointer;
	transition: background-color 0.2s ease, width 0.2s ease;
}

.ewsg-dot.is-active {
	background-color: #1a1a1a;
	width: 28px;
}

/* ---------- Thumbnails ---------- */
.ewsg-thumbs-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.ewsg-thumb-arrow {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid #ccc;
	background: #fff;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.ewsg-thumb-arrow:hover {
	border-color: #1a1a1a;
	color: #1a1a1a;
}

.ewsg-thumb-arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.ewsg-thumbs-viewport {
	flex: 1 1 auto;
	overflow: hidden;
}

.ewsg-thumbs-track {
	display: flex;
	gap: 16px;
	transition: transform 0.3s ease;
}

.ewsg-thumb {
	flex: 0 0 auto;
	width: 100px;
	height: 100px;
	border-radius: 8px;
	border: 2px solid transparent;
	background-color: #E7ECF2;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ewsg-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ewsg-thumb.is-active {
	border-color: #1a1a1a;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.ewsg-main-stage {
		height: 340px;
	}

	.ewsg-thumb {
		width: 70px;
		height: 70px;
	}

	.ewsg-arrow {
		width: 32px;
		height: 32px;
	}
}
