/* =====================================================================
 * VARITO product page – hero (gallery + info), section nav, related
 * Scoped to .vpp / .vpp-related so other templates are not affected.
 * =================================================================== */
.vpp {
	--vpp-blue: #2273f8;
	--vpp-blue-d: #0d58c9;
	--vpp-navy: #0b1f3a;
	--vpp-text: #3d4a5c;
	--vpp-muted: #6b778a;
	--vpp-line: #e3e8f0;
	--vpp-soft: #f5f7fb;
	padding: 28px 0 56px;
	font-family: var(--font-body, 'DM Sans', sans-serif);
	align-items: flex-start;
}

/* ---------- gallery ---------- */
.vpp .vpp-gallery-inner { position: sticky; top: 96px; }
.vpp .vpp-stage {
	position: relative;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	border-radius: 20px;
	overflow: hidden;
	background: radial-gradient(120% 90% at 50% 35%, #f8fafd 0%, #ebf0f8 62%, #dfe7f3 100%);
	border: 1px solid var(--vpp-line);
}
.vpp .vpp-stage img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	mix-blend-mode: multiply;          /* white photo background blends into the stage */
	cursor: zoom-in;
	transition: transform .45s ease, opacity .25s ease;
}
.vpp .vpp-stage:hover img { transform: scale(1.04); }
.vpp .vpp-zoom {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--vpp-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(11, 31, 58, .15);
	cursor: pointer;
	transition: transform .2s, color .2s;
}
.vpp .vpp-zoom:hover { transform: scale(1.08); color: var(--vpp-blue); }

/* thumbnails */
.vpp .post-gallery-slider { margin-top: 14px; padding: 0 2px; }
.vpp .post-gallery-slider .swiper-slide {
	width: 92px !important;
	min-width: 92px !important;
	height: 92px !important;
	padding: 8px;
	border: 1px solid var(--vpp-line) !important;
	border-radius: 12px;
	background: radial-gradient(circle at 50% 40%, #fbfcfe, #edf2f9);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.vpp .post-gallery-slider .swiper-slide:hover { border-color: #bcd3fb !important; }
.vpp .post-gallery-slider .swiper-slide img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	mix-blend-mode: multiply;
	border: 0 !important;
}
.vpp .post-gallery-slider .swiper-slide:has(img.active) { border-color: var(--vpp-blue) !important; box-shadow: 0 0 0 2px rgba(34, 115, 248, .18); }
.vpp .post-gallery-slider .swiper-button-next,
.vpp .post-gallery-slider .swiper-button-prev {
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 10px rgba(11, 31, 58, .15);
	color: var(--vpp-navy);
}
.vpp .post-gallery-slider .swiper-button-next::after,
.vpp .post-gallery-slider .swiper-button-prev::after { font-size: 13px; font-weight: 700; }
.vpp .post-gallery-slider .swiper-button-disabled { opacity: 0 !important; }

/* ---------- info ---------- */
.vpp .vpp-info { padding-top: 6px; text-align: left; }
.vpp .vpp-cat {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--vpp-blue) !important;
	text-decoration: none !important;
	background: rgba(34, 115, 248, .08);
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}
.vpp .vpp-cat:hover { background: rgba(34, 115, 248, .15); }
.vpp h1.vpp-title {
	font-family: var(--font-head, 'Rajdhani', sans-serif);
	font-size: clamp(28px, 2.8vw, 38px);
	font-weight: 700;
	line-height: 1.18;
	color: var(--vpp-navy);
	margin: 0 0 14px;
}
.vpp .vpp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; font-size: 14px; color: var(--vpp-muted); }
.vpp .vpp-meta strong { color: var(--vpp-navy); font-weight: 700; }
.vpp .vpp-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.vpp .vpp-meta > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vpp-blue); }
.vpp .vpp-intro { font-size: 16px; line-height: 1.7; color: var(--vpp-text); margin-bottom: 22px; }
.vpp .vpp-intro p { margin: 0 0 10px; }

/* key specs */
.vpp .vpp-specs { margin: 0 0 24px; padding: 0; border: 1px solid var(--vpp-line); border-radius: 14px; overflow: hidden; background: #fff; }
.vpp .vpp-specs .vpp-specs-title {
	margin: 0;
	padding: 13px 18px;
	font-family: var(--font-head, 'Rajdhani', sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--vpp-navy);
	background: var(--vpp-soft);
	border-bottom: 1px solid var(--vpp-line);
}
.vpp .vpp-specs table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14.5px; }
.vpp .vpp-specs tr { background: transparent !important; }
.vpp .vpp-specs th,
.vpp .vpp-specs td { padding: 11px 18px; border: 0 !important; border-bottom: 1px solid var(--vpp-line) !important; vertical-align: top; text-align: left; }
.vpp .vpp-specs tr:last-child th,
.vpp .vpp-specs tr:last-child td { border-bottom: 0 !important; }
.vpp .vpp-specs th { width: 40%; font-weight: 600; color: var(--vpp-muted); background: #fbfcfe; }
.vpp .vpp-specs td { color: var(--vpp-navy); font-weight: 600; }

/* calls to action */
.vpp .vpp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.vpp .vpp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 22px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.vpp .vpp-btn-primary { background: var(--vpp-blue); color: #fff !important; box-shadow: 0 8px 20px rgba(34, 115, 248, .28); }
.vpp .vpp-btn-primary:hover { background: var(--vpp-blue-d); transform: translateY(-1px); }
.vpp .vpp-btn-ghost { background: #fff; color: var(--vpp-navy) !important; border: 1px solid var(--vpp-line); }
.vpp .vpp-btn-ghost:hover { border-color: var(--vpp-blue); color: var(--vpp-blue) !important; }

.vpp .vpp-trust { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--vpp-line); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.vpp .vpp-trust li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--vpp-muted); }
.vpp .vpp-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(29, 138, 90, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d8a5a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- sticky section navigation (built by vp.js) ---------- */
.vp-subnav {
	position: sticky;
	top: var(--vp-subnav-top, 0px);
	z-index: 40;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.4) blur(8px);
	border-top: 1px solid #e3e8f0;
	border-bottom: 1px solid #e3e8f0;
}
.vp-subnav-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}
.vp-subnav-inner::-webkit-scrollbar { display: none; }
.vp-subnav a {
	flex: none;
	position: relative;
	padding: 15px 14px;
	font-size: 14.5px;
	font-weight: 600;
	color: #3d4a5c !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color .2s;
}
.vp-subnav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background .2s; }
.vp-subnav a:hover { color: #2273f8 !important; }
.vp-subnav a.is-active { color: #0b1f3a !important; }
.vp-subnav a.is-active::after { background: #2273f8; }
.vp-subnav .vp-subnav-cta {
	margin-left: auto;
	padding: 8px 18px;
	border-radius: 20px;
	background: #2273f8;
	color: #fff !important;
	font-size: 14px;
}
.vp-subnav .vp-subnav-cta::after { display: none; }
.vp-subnav .vp-subnav-cta:hover { background: #0d58c9; color: #fff !important; }
.vp-section { scroll-margin-top: 130px; }

/* ---------- related products ---------- */
.vpp-related { padding: 64px 0 72px; background: #f5f7fb; }
.vpp-related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.vpp-related-head h2 { font-family: var(--font-head, 'Rajdhani', sans-serif) !important; font-size: clamp(26px, 2.6vw, 34px) !important; font-weight: 700; color: #0b1f3a; margin: 0 !important; }
.vpp-related-head .vpp-related-all { font-weight: 600; color: #2273f8; text-decoration: none; white-space: nowrap; }
.vpp-related-head .vpp-related-all:hover { text-decoration: underline; }
.vpp-related-sub { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: #5b6779; max-width: 760px; }
.vpp-related-sub a { color: #2273f8; font-weight: 600; text-decoration: none; }
.vpp-related-sub a:hover { text-decoration: underline; }
.vpp-related .related-posts-swiper { padding: 6px 4px 14px; }
.vpp-related .related-posts-swiper .swiper-wrapper { align-items: stretch; }
.vpp-related .related-posts-swiper .swiper-slide { height: auto; display: flex !important; border: 0 !important; box-shadow: none !important; border-radius: 16px; background: transparent; }
.vpp-related .related-posts-swiper .swiper-slide .vpc { width: 100%; }
.vpp-related .related-posts-swiper .vpc-media img { height: 100% !important; }
.vpp-related .swiper-button-next,
.vpp-related .swiper-button-prev {
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border-radius: 50%;
	background: #fff;
	color: #0b1f3a;
	box-shadow: 0 6px 18px rgba(11, 31, 58, .15);
}
.vpp-related .swiper-button-next::after,
.vpp-related .swiper-button-prev::after { font-size: 15px; font-weight: 700; }
.vpp-related .swiper-button-disabled { opacity: 0 !important; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
	.vpp { padding: 16px 0 36px; }
	.vpp .vpp-gallery-inner { position: static; margin-bottom: 28px; }
	.vpp .vpp-stage { padding: 24px; border-radius: 16px; }
	.vp-subnav-cta { display: none; }
}
@media (max-width: 575px) {
	.vpp .vpp-cta .vpp-btn { flex: 1 1 100%; justify-content: center; }
	.vpp .vpp-specs th { width: 45%; }
	.vpp-related-head { flex-direction: column; align-items: flex-start; }
}
