/* WP Homestyle Hotspots Frontend Styles - LG Homestyle Design */
/* Shared styles for Gallery and Look - Both use gallery classes */

/* Responsive Design */
@media (max-width: 1024px) {
	.wphs-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px 25px;
	}

	.wphs-gallery-products-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}
}

@media (max-width: 768px) {
	.wphs-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}

	.wphs-gallery-product-card {
		flex-direction: column;
		gap: 0;
	}

	.wphs-gallery-product-image {
		width: 100%;
		height: 150px;
		background: #E7E7E1;
	}

	.wphs-gallery-product-image img {
		height: 100%;
	}

	.wphs-gallery-product-info {
		padding: 10px 15px 12px 15px;
	}

	.wphs-gallery-product-name {
		font-size: 13px;
	}

	.wphs-gallery-product-price {
		font-size: 13px;
		margin-bottom: 10px;
	}

	.wphs-gallery-product-link {
		padding: 8px 20px !important;
		font-size: 12px !important;
	}

	.wphs-gallery-hotspot {
		width: 38px;
		height: 38px;
		font-size: 18px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}
}

@media (max-width: 480px) {
	.wphs-gallery-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.wphs-gallery-product-card {
		flex-direction: column;
		gap: 0;
	}

	.wphs-gallery-product-image {
		width: 100%;
		height: 120px;
		background: #E7E7E1;
	}

	.wphs-gallery-product-image img {
		height: 100%;
	}

	.wphs-gallery-product-info {
		padding: 10px 12px;
	}

	.wphs-gallery-product-name {
		font-size: 12px;
	}

	.wphs-gallery-product-price {
		font-size: 12px;
	}

	.wphs-gallery-product-link {
		padding: 6px 18px !important;
		font-size: 11px !important;
		width: 100%;
		text-align: center;
	}

	.wphs-gallery-hotspot {
		width: 30px;
		height: 30px;
		font-size: 18px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
	.wphs-gallery-info {
		background: #1a1a1a;
		border-color: #333;
	}

	.wphs-gallery-title {
		color: #e8e8e8;
	}

	.wphs-gallery-product-name {
		color: #e8e8e8;
	}

	.wphs-gallery-product-price {
		color: #b0b0b0;
	}

	.wphs-gallery-product-price .woocommerce-Price-amount {
		color: #e8e8e8;
	}

	.wphs-gallery-image-wrapper {
		background: #2a2a2a;
	}
}

/* Scrollbar Styling */
.wphs-gallery-products-slider::-webkit-scrollbar {
	display: none;
}

.wphs-gallery-products-slider {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Accessibility */
.wphs-gallery-hotspot:focus-visible {
	outline: 2px solid #FF5757;
	outline-offset: 2px;
}

.wphs-gallery-product-link:focus-visible {
	outline: 2px solid #FF5757;
	outline-offset: 2px;
}

/* Print Styles */
@media print {
	.wphs-gallery-hotspot {
		display: none;
	}

	.wphs-gallery-info {
		display: none;
	}
}

/* Gallery Styles - LG Homestyle Design */
.wphs-gallery-container {
	margin: 60px 0;
	padding: 0 20px;
	overflow: visible !important;
	position: relative;
}

/* 모바일 스와이프 인디케이터 - 기본값은 숨김 */
.wphs-gallery-swipe-indicators {
	display: none;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding: 10px 0;
}

.wphs-gallery-swipe-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #D1D1D1;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.wphs-gallery-swipe-dot:hover {
	background: #A0A0A0;
}

.wphs-gallery-swipe-dot.active {
	background: #333;
	width: 24px;
	border-radius: 4px;
}

.wphs-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 30px;
	padding: 0;
	overflow: visible !important;
}

.wphs-gallery-item {
	position: relative;
	overflow: visible;
	border-radius: 0;
	background: transparent;
	aspect-ratio: auto;
	z-index: 10;
	margin: 0 !important;
	padding: 0 !important;
	display: block;
}

.wphs-gallery-wrapper {
	background: transparent;
	display: flex;
	flex-direction: column;
	overflow: visible;
	position: relative;
	z-index: 10;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
	width: 100%;
	min-height: 0;
}

/* Gallery Card */
.wphs-gallery-card {
	position: relative;
	overflow: visible !important;
	border-radius: 0;
	background: transparent;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 10;
	min-height: 0;
}

/* Gallery backdrop for popup - removed */
.wphs-gallery-card.popup-open::before {
	display: none;
}

/* Gallery Image Wrapper */
.wphs-gallery-image-wrapper {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	overflow: visible !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
	background: #E7E7E1;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.wphs-gallery-image-wrapper img {
	width: 100%;
	height: auto;
	object-fit: contain;
	transition: none;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

.wphs-gallery-image-wrapper figure {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	height: auto;
	line-height: 0 !important;
	font-size: 0 !important;
}

.wphs-gallery-image-wrapper figure img {
	width: 100%;
	height: auto;
	object-fit: contain;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

/* Hotspot on Gallery - White default, Red on active */
.wphs-gallery-hotspot {
	position: absolute;
	width: 22px;
	height: 22px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: hsla(0, 0%, 100%, 0.9);
	color: #333;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	transform: translate(-50%, -50%);
	pointer-events: all !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	z-index: 100 !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.wphs-gallery-hotspot:hover {
	background-color: hsla(0, 0%, 100%, 1);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
	transform: translate(-50%, -50%) scale(1.1);
}

.wphs-gallery-hotspot.active {
	background: #FF5757;
	color: white;
	font-weight: 300;
	box-shadow: 0 2px 8px rgba(255, 87, 87, 0.5);
}

/* Gallery Overlay - Product Info Popup - Shows via .show class */
.wphs-gallery-overlay {
	position: absolute;
	width: 240px !important;
	min-height: auto;
	background: white;
	border-radius: 6px;
	padding: 5px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	z-index: 1001;
	opacity: 0;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	gap: 0;
	align-items: stretch;
	visibility: hidden;
	overflow: hidden;
	cursor: pointer;
	max-width: calc(100% - 10px);
}

/* Show popup via .show class - triggered by JavaScript */
.wphs-gallery-overlay.show {
	opacity: 1;
	pointer-events: all;
	visibility: visible;
}

.wphs-gallery-popup-inner {
	display: flex;
	flex-direction: row;
	gap: 0;
	align-items: stretch;
	width: 100%;
}

.wphs-gallery-popup-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #000;
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
	width: auto;
	height: auto;
	padding: 0;
	margin: 0;
	transition: color 0.2s ease;
}

.wphs-gallery-popup-arrow:hover {
	color: #FF4444;
}

.wphs-gallery-popup-image {
	display: block !important;
	width: 60px !important;
	height: 60px !important;
	background: #f9f9f9;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0;
	flex-shrink: 0;
	overflow: hidden;
	border-right: 1px solid #f0f0f0;
	line-height: 0 !important;
	font-size: 0 !important;
	font-weight: normal !important;
	position: relative;
}

.wphs-gallery-popup-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	max-width: 100% !important;
	max-height: 100% !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	pointer-events: none !important;
}

.wphs-gallery-popup-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 10px 10px 0 10px !important;
	gap: 4px;
}

.wphs-gallery-popup-header {
	display: flex;
	flex-direction: row;
	gap: 6px;
	align-items: flex-start;
	width: 100%;
}

.wphs-gallery-popup-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	padding: 0;
}

.wphs-gallery-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

.wphs-gallery-popup-product-name {
	margin: 0 !important;
	font-size: 12px !important;
	font-weight: 600;
	color: #222;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3 !important;
	flex: 1;
	min-width: 0;
}

.wphs-gallery-popup-product-price {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
    font-weight: 400;
	color: #000 !important;
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
	line-height: 1.3;
}

.wphs-gallery-popup-product-price strong {
	color: #FF5757 !important;
	font-weight: 700 !important;
	font-size: 12px !important;
}

.wphs-gallery-popup-link {
	display: none;
	transition: background 0.2s ease;
	width: 100%;
	text-align: center;
	margin-top: 8px;
}

.wphs-gallery-popup-link:hover {
	background: #FF4444;
	color: white;
}

.wphs-gallery-popup-discount {
	display: inline-block;
	color: #FF5757;
	font-weight: 600;
	margin-right: 4px;
}

/* Product Thumbnails Slider Wrapper - Fixed Button Container */
.wphs-gallery-products-slider-wrapper {
	position: relative;
	width: 100%;
	margin-bottom: 12px;
}

/* Product Thumbnails Slider - Horizontal Flex Layout */
.wphs-gallery-products-slider {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	padding: 12px 0;
	margin: 0;
	width: 100%;
	position: relative;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	/* 부드러운 스크롤을 위한 추가 설정 */
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/* 스른롤바 숨기기 */
.wphs-gallery-products-slider::-webkit-scrollbar {
	display: none;
}

.wphs-gallery-products-slider {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* 4개 이상일 때 캐러셀 네비게이션 표시 */
.wphs-gallery-products-slider.has-carousel {
	padding-bottom: 12px;
}

/* 캐러셀 네비게이션 버튼 - 래퍼를 기준으로 고정 */
.wphs-gallery-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	background: white;
	border: 1px solid #ddd;
	color: #999;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 50;
	padding: 0;
	border-radius: 0;
	font-weight: 300;
	margin: 0;
}

.wphs-gallery-carousel-nav:hover {
	background: #E7E7E1;
	border-color: #999;
	color: #666;
}

.wphs-gallery-carousel-nav.prev {
	left: 0;
	display: none;
}

.wphs-gallery-carousel-nav.next {
	right: 0;
	display: flex;
}

.wphs-gallery-products-slider-wrapper:has(.wphs-gallery-carousel-nav.next) .wphs-gallery-carousel-nav {
	display: flex;
}

.wphs-gallery-product-thumbnail {
	width: calc(25% - 7.5px) !important;
	height: auto !important;
	aspect-ratio: 1;
	flex-shrink: 0;
	background: #E7E7E1;
	border: none !important;
	border-radius: 0 !important;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0 !important;
}

/* 선택된 상품 썸네일 */
.wphs-gallery-product-thumbnail.active {
	border: 1px solid #000 !important;
}

.wphs-gallery-product-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 4px;
	border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
}

.wphs-gallery-product-thumbnail a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	overflow: hidden !important;
}

.wphs-gallery-product-thumbnail picture {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 0 !important;
}

.wphs-gallery-product-thumbnail:hover {
	border-color: #FF5757;
}

.wphs-gallery-product-thumbnail.active {
	border: 3px solid #FF5757;
}

/* Gallery Info Section */
.wphs-gallery-info {
	margin: 0 !important;
	padding: 18px 20px 0px 20px !important;
	background: #E7E7E1;
	flex: 1;
	line-height: 1 !important;
	position: relative;
}

.wphs-gallery-style {
	margin-top: 12px !important;
	padding: 0 !important;
	font-size: 11px;
	font-weight: 500;
	color: #666;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	display: block;
}

.wphs-gallery-title {
	margin: 0 !important;
	font-family: 'pretendard', sans-serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	color: #222 !important;
	line-height: 1.3;
	letter-spacing: -0.3px !important;
}

.wphs-gallery-title-link {
	text-decoration: none;
	color: inherit;
	display: block;
	cursor: pointer;
}

.wphs-gallery-title-link:hover {
	text-decoration: none;
}

.wphs-gallery-title-arrow {
	margin-left: 8px;
	display: inline-block;
}

.wphs-gallery-description {
	margin: 0 0 12px 0;
	font-size: 13px;
	font-weight: 400;
	color: #666;
	line-height: 1.4;
}

/* Responsive Gallery */
@media (max-width: 769px) {
	.wphs-gallery-container {
		margin: 40px 0;
		padding: 0 15px;
	}

	.wphs-gallery-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.wphs-gallery-item {
		overflow: visible !important;
	}

	.wphs-gallery-wrapper {
		overflow: visible !important;
	}

	.wphs-gallery-card {
		min-height: auto !important;
		overflow: visible !important;
	}

	.wphs-gallery-image-wrapper {
		overflow: visible !important;
	}

	.wphs-gallery-hotspot {
		pointer-events: all !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.wphs-gallery-title {
		font-size: 14px;
	}

	.wphs-gallery-overlay {
		width: 220px !important;
		padding: 10px !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%);
		max-width: calc(100% - 16px);
	}

	.wphs-gallery-products-slider {
		gap: 8px;
		padding: 12px 0 45px 0;
	}

	.wphs-gallery-product-thumbnail {
		width: calc(25% - 6px) !important;
		height: auto !important;
		aspect-ratio: 1;
	}

}

@media (max-width: 768px) {
	/* 모바일에서 캐러셀 버튼 숨기기 */
	.wphs-gallery-carousel-nav {
		display: none !important;
	}

	/* 모바일에서 터치 스와이프 활성화 */
	.wphs-gallery-products-slider {
		-webkit-user-select: none;
		user-select: none;
		-webkit-touch-callout: none;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}

	.wphs-gallery-product-thumbnail {
		scroll-snap-align: start;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}

	/* Gallery Items Swipe Support (Selected Mode) - PC용 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-item {
		cursor: grab;
	}

	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-item:active {
		cursor: grabbing;
	}

	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-image-wrapper {
		touch-action: pan-y;
	}
}

@media (max-width: 768px) {
	/* 모바일에서 스와이프 모드일 때 수평 캐러셀로 표시 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-grid {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: scroll !important;
		overflow-y: hidden !important;
		scroll-snap-type: x mandatory !important;
		-webkit-overflow-scrolling: touch !important;
		scroll-behavior: smooth !important;
		gap: 0 !important;
		width: 100% !important;
		/* 스크롤바 숨기기 */
		scrollbar-width: none !important; /* Firefox */
		-ms-overflow-style: none !important; /* IE/Edge */
		/* 터치 최적화 */
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}

	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-grid::-webkit-scrollbar {
		display: none !important; /* Chrome, Safari, Opera */
	}

	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-item {
		flex: 0 0 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		scroll-snap-align: start !important;
		scroll-snap-stop: always !important;
		/* 터치 스와이프 최적화 */
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		/* 수평/수직 모두 허용 - 페이지 스크롤 가능 */
		touch-action: pan-x pan-y !important;
	}
	
	/* 갤러리 카드와 래퍼에서도 스와이프 허용 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-wrapper,
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-card {
		touch-action: pan-x pan-y !important;
	}
	
	/* 이미지 영역에서도 스와이프가 되도록 설정 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-image-wrapper {
		touch-action: pan-x pan-y !important;
		-webkit-user-drag: none !important;
		user-select: none !important;
		-webkit-user-select: none !important;
		-webkit-touch-callout: none !important;
	}
	
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-image-wrapper img,
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-image-wrapper figure,
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-image-wrapper picture {
		pointer-events: none !important;
		touch-action: none !important;
		-webkit-user-drag: none !important;
		user-select: none !important;
		-webkit-user-select: none !important;
		-webkit-touch-callout: none !important;
		-moz-user-select: none !important;
		-ms-user-select: none !important;
	}
	
	/* 핫스팟은 클릭 가능하도록 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-hotspot {
		pointer-events: auto !important;
		touch-action: auto !important;
		z-index: 100;
	}
	
	/* 팝업 오버레이도 클릭 가능 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-overlay {
		pointer-events: auto !important;
		touch-action: auto !important;
	}
	
	/* 상품 슬라이더는 독립적으로 동작 - 갤러리 스크롤과 분리 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-products-slider-wrapper {
		/* 상품 영역에서 터치가 갤러리로 전파되지 않도록 */
		touch-action: pan-x pan-y !important;
		isolation: isolate;
		position: relative;
		z-index: 10;
	}
	
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-products-slider {
		touch-action: pan-x pan-y !important;
		-webkit-user-select: none !important;
		user-select: none !important;
	}
	
	/* 모바일에서 스와이프 인디케이터 표시 */
	.wphs-gallery-container[data-swipe-enabled="true"] .wphs-gallery-swipe-indicators {
		display: flex !important;
	}
}

@media (max-width: 480px) {
	.wphs-gallery-container {
		margin: 30px 0;
		padding: 0 12px;
	}

	.wphs-gallery-grid {
		grid-template-columns: 1fr !important;
		gap: 15px !important;
	}

	.wphs-gallery-item {
		overflow: visible !important;
	}

	.wphs-gallery-wrapper {
		overflow: visible !important;
	}

	.wphs-gallery-card {
		position: relative;
		min-height: auto !important;
		overflow: visible !important;
	}

	.wphs-gallery-image-wrapper {
		overflow: visible !important;
	}

	.wphs-gallery-hotspot {
		width: 18px;
		height: 18px;
		pointer-events: all !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.wphs-gallery-products-slider {
		gap: 6px;
		padding: 12px 0 0 0;
	}

	.wphs-gallery-product-thumbnail {
		width: calc(25% - 4.5px) !important;
		height: auto !important;
		aspect-ratio: 1;
	}

	.wphs-gallery-products-slider.has-carousel {
		padding-bottom: 0;
	}

	.wphs-gallery-carousel-nav {
		width: 28px;
		height: 28px;
		font-size: 14px;
	}

	.wphs-gallery-card.carousel-mode {
		display: none;
	}

	.wphs-gallery-carousel {
		display: none;
		position: relative;
		width: 100%;
		margin-bottom: 12px;
	}

	.wphs-gallery-carousel.active {
		display: block;
	}

	.wphs-gallery-carousel-slide {
		position: relative;
		width: 100%;
		aspect-ratio: 4/3;
		overflow: hidden;
		background: #E7E7E1;
	}

	.wphs-gallery-carousel-slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.wphs-gallery-carousel-nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 40px;
		height: 40px;
		background: rgba(0, 0, 0, 0.5);
		border: none;
		color: white;
		font-size: 20px;
		cursor: pointer;
		transition: background 0.2s ease;
		z-index: 15;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.wphs-gallery-carousel-nav:hover {
		background: rgba(0, 0, 0, 0.7);
	}

	.wphs-gallery-carousel-nav.prev {
		left: 0;
	}

	.wphs-gallery-carousel-nav.next {
		right: 0;
	}

	.wphs-gallery-carousel-indicators {
		position: absolute;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
		display: flex;
		gap: 6px;
		z-index: 15;
	}

	.wphs-gallery-carousel-dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.5);
		border: none;
		cursor: pointer;
		transition: background 0.2s ease;
		padding: 0;
	}

	.wphs-gallery-carousel-dot.active {
		background: white;
	}

	.wphs-gallery-hotspot {
		width: 20px;
		height: 20px;
	}

	.wphs-gallery-overlay {
		width: 210px !important;
		padding: 8px !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%);
		max-width: calc(100% - 12px);
	}

	.wphs-gallery-popup-image {
		width: 100%;
		height: 100%;
        margin-bottom:0px;
	}

	.wphs-gallery-title {
		font-size: 13px;
	}

	.wphs-gallery-description {
		font-size: 12px;
		margin-bottom: 8px;
	}

	.wphs-gallery-products-slider {
		gap: 10px;
		padding: 8px 0;
	}

	.wphs-gallery-product-thumbnail {
		width: 60px;
		height: 60px;
	}

}

