.wc-eg-gallery {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.wc-eg-thumbs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 112px;
}

.wc-eg-thumb {
	min-height: 112px;
	padding: 0;
	border: 1px solid #e5e5e5;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-eg-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
	transition: transform 0.2s ease;
}

.wc-eg-thumb.is-active {
	border-color: #0c8cc9;
	box-shadow: 0 0 0 2px rgba(12, 140, 201, 0.18);
}

.wc-eg-main {
	flex: 1;
	min-width: 0;
}

.wc-eg-main-image {
	position: relative;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #f0f0f0;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	padding: 22px;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-eg-main-image img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.wc-eg-zoom {
	position: absolute;
	left: 18px;
	bottom: 18px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #e7e7e7;
	background: #fff;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	color: #2d2d2d;
}

.wc-eg-zoom svg {
	width: 18px;
	height: 18px;
}

.wc-eg-zoom:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.wc-eg-atc {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: 'Outfit', 'Segoe UI', sans-serif;
}

.wc-eg-atc-form {
	display: grid;
	grid-template-columns: auto 1fr 1fr;
	gap: 12px;
	align-items: center;
}

.wc-eg-qty {
	display: flex;
	align-items: center;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	height: 38px;
	width: 104px;
}

.wc-eg-qty__btn {
	width: 24px;
	height: 100%;
	border: none;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	color: #2d2d2d;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wc-eg-qty__btn:hover {
	background: #f3f3f3;
}

.wc-eg-qty__input {
	width: 48px;
	height: 100%;
	border: none;
	text-align: center;
	font-weight: 600;
	color: #1f1f1f;
	outline: none;
	padding: 0 !important;
	-moz-appearance: textfield;
}

.wc-eg-qty__input::-webkit-inner-spin-button,
.wc-eg-qty__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.wc-eg-btn {
	height: 44px;
	border-radius: 8px;
	border: none;
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.wc-eg-btn:hover {
	transform: translateY(-1px);
}

.wc-eg-btn--primary {
	background: #2f3c46;
}

.wc-eg-btn--primary:hover {
	box-shadow: 0 10px 20px rgba(47, 60, 70, 0.3);
}

.wc-eg-btn--secondary {
	background: #c9a33c;
}

.wc-eg-btn--secondary:hover {
	box-shadow: 0 10px 20px rgba(201, 163, 60, 0.35);
}

.wc-eg-watchers {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #ffd6d6;
	color: #2d2d2d;
	padding: 10px 12px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
}

.wc-eg-watchers__icon {
	color: #d95c5c;
	display: inline-flex;
	align-items: center;
}

.wc-eg-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 9999;
}

.wc-eg-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.wc-eg-lightbox__inner {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
}

.wc-eg-lightbox img {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.wc-eg-lightbox__close {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	padding: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.wc-eg-gallery {
		flex-direction: column;
	}

	.wc-eg-thumbs {
		flex-direction: row;
		width: auto;
		overflow-x: auto;
		padding-bottom: 6px;
	}

	.wc-eg-thumb {
		min-width: 88px;
	}

	.wc-eg-main-image {
		min-height: 280px;
	}

	.wc-eg-atc-form {
		grid-template-columns: 1fr;
	}

	.wc-eg-qty {
		width: 100%;
		justify-content: space-between;
	}
}
