/* ==================================================
   PRODUCT GALLERY — FRONTEND SLIDER
   Exact match: big center square, side previews clipped at viewport edge
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

.pg-wrapper {
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	font-family: 'Manrope', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}

.pg-wrapper *,
.pg-wrapper *::before,
.pg-wrapper *::after {
	box-sizing: border-box;
}

.pg-product-block {
	margin-bottom: 60px;
}

.pg-product-block:last-child {
	margin-bottom: 0;
}

.pg-product-heading {
	text-align: center;
	font-size: 26px;
	font-weight: 800;
	color: #14141a;
	margin: 0 0 30px;
	letter-spacing: -0.02em;
}

/* ---------------------------------------------
   Slider stage — full width, arrows pinned to the
   far left/right edge of the viewport container
--------------------------------------------- */

.pg-slider-outer {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 90px;
	overflow: hidden;
}

.pg-swiper {
	width: 100%;
	max-width: 1140px;
	padding: 0;
	overflow: hidden;
}

.pg-swiper .swiper-wrapper {
	align-items: center;
}

/* Center slide: big square. Side slides: same square, just visually
   pushed to the edges by Swiper's centered layout + spaceBetween.
   Explicit width is required since slidesPerView is 'auto'. */
.pg-swiper .swiper-slide {
	width: 480px;
	max-width: 62vw;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	/* Non-active slides sit in black & white; the front/centered
	   slide is the only one shown in full colour. */
	filter: grayscale(100%);
	transition: filter 0.5s ease;
}

.pg-swiper .swiper-slide-active {
	filter: grayscale(0%);
}

.pg-slide-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 6px;
	overflow: hidden;
	background: #eef0f2;
	border: 1px solid #e2e3e6;
	box-shadow: 0 6px 18px rgba(20, 20, 26, 0.12);
	transition: box-shadow 0.4s ease;
}

.pg-swiper .swiper-slide-active .pg-slide-inner {
	box-shadow: 0 16px 36px rgba(20, 20, 26, 0.18);
}

.pg-slide-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: #eef0f2;
}

/* ---------------------------------------------
   Pagination — thin single dash, centered under slider
--------------------------------------------- */

.pg-swiper .swiper-pagination {
	position: relative;
	margin-top: 22px;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.pg-swiper .swiper-pagination-bullet {
	width: 22px;
	height: 4px;
	border-radius: 2px;
	background: #14141a;
	opacity: 1;
	margin: 0 !important;
	display: none;
}

.pg-swiper .swiper-pagination-bullet-active {
	display: block;
}

/* ---------------------------------------------
   Navigation arrows — plain circle outline, pinned
   to the far edges like the reference design
--------------------------------------------- */

.pg-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	background: transparent;
	border: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #14141a !important;
	z-index: 30;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.pg-nav svg,
.pg-nav-arrow {
	width: 26px !important;
	height: 26px !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2.4 !important;
	pointer-events: none !important;
}

.pg-nav:hover {
	opacity: 0.6;
}

.pg-nav:active {
	transform: translateY(-50%) scale(0.9);
}

.pg-nav-prev {
	left: 20px;
}

.pg-nav-next {
	right: 20px;
}

/* ---------------------------------------------
   Active caption below the slider
--------------------------------------------- */

.pg-no-products {
	text-align: center;
	color: #8c8f94;
	padding: 40px 0;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1024px) {

	.pg-slider-outer {
		padding: 30px 60px;
	}

	.pg-swiper .swiper-slide {
		width: 320px;
	}

	.pg-nav {
		width: 42px;
		height: 42px;
	}
}

@media (max-width: 767px) {

	.pg-slider-outer {
		padding: 20px 46px;
	}

	.pg-swiper .swiper-slide {
		width: 220px;
		max-width: 66vw;
	}

	.pg-nav {
		width: 38px;
		height: 38px;
	}

	.pg-nav-prev {
		left: 4px;
	}

	.pg-nav-next {
		right: 4px;
	}

	.pg-product-heading {
		font-size: 20px;
		margin-bottom: 20px;
	}
}

@media (max-width: 480px) {

	.pg-slider-outer {
		padding: 16px 40px;
	}

	.pg-swiper .swiper-slide {
		width: 170px;
	}

	.pg-nav {
		width: 34px;
		height: 34px;
	}

	.pg-nav svg,
	.pg-nav-arrow {
		width: 20px !important;
		height: 20px !important;
	}
}
