/**
 * Related Products section (FUMOT 12K / 50K single-product pages only;
 * enqueued by inc/related-products.php). Every selector is prefixed
 * .vpn-related*, which exists nowhere else, so no existing product-card,
 * gallery, tab or footer CSS is touched.
 *
 * Layout: white box aligned to the single-product content container
 * (.bwp-single-product: max-width 1300px, centred, 15px inset), thin top
 * divider, centred heading flanked by thin arrows, and a CSS scroll-snap
 * strip (no Swiper). Visible cards: 4 (>=1200px), 3 (768-1199px), 2 (<768px).
 * Images reserve their square stage with aspect-ratio before loading, so
 * there is no layout shift.
 */
.vpn-related {
	box-sizing: border-box;
	width: calc(100% - 30px);
	max-width: 1300px;
	margin: 24px auto 0;
	padding: 28px 15px;
	background: #ffffff;
	border-top: 1px solid #e5e5e5;
	clear: both;
}
.vpn-related-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	/* Reserve the 30px arrow height up front: the arrows are hidden until the
	   JS reveals them, and would otherwise grow this row by ~5px (layout shift). */
	min-height: 30px;
	margin: 0 0 20px;
}
.vpn-related-title {
	flex: 1 1 auto;
	margin: 0;
	text-align: center;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.04em;
	color: #111;
	text-transform: none;
}
.vpn-related-arrow {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #dddddd;
	border-radius: 50%;
	color: #333;
	cursor: pointer;
	box-shadow: none;
}
.vpn-related-arrow[hidden] {
	display: none;
}
.vpn-related-arrow svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.vpn-related-arrow:hover {
	border-color: #999;
	color: #000;
}
.vpn-related-arrow[aria-disabled="true"] {
	opacity: 0.35;
	cursor: default;
}
.vpn-related-arrow:focus-visible {
	outline: 2px solid #62bed0;
	outline-offset: 2px;
}

/* Track: 4 visible on desktop, gap 20px. */
.vpn-related-track {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.vpn-related-track::-webkit-scrollbar {
	display: none;
}
.vpn-related-item {
	flex: 0 0 calc((100% - 60px) / 4);
	min-width: 0;
	display: flex;
	margin: 0;
	padding: 0;
	scroll-snap-align: start;
}
.vpn-related-item[hidden] {
	display: none;
}

.vpn-related-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	background: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 10px;
	box-shadow: none;
	text-align: center;
	text-decoration: none;
	color: inherit;
}
.vpn-related-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	padding: 7.5%;
	background: #fff;
}
.vpn-related-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.vpn-related-label {
	margin: 6px 0 2px;
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #777;
}
.vpn-related-name {
	display: block;
	min-height: 2.6em;
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #111;
}
.vpn-related-price {
	margin-top: auto;
	font-size: 13.5px;
	line-height: 1.3;
	color: #666;
}
.vpn-related-price del {
	color: #999;
	font-weight: 400;
	margin-right: 4px;
}
.vpn-related-price ins {
	background: transparent;
	text-decoration: none;
	font-weight: 600;
	color: var(--theme-color, #0ad0d7);
}
.vpn-related-price .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.vpn-related-card:hover .vpn-related-name {
	text-decoration: underline;
}
.vpn-related-card:focus-visible {
	outline: 2px solid #62bed0;
	outline-offset: 2px;
}

/* Tablet: 3 visible. */
@media (max-width: 1199px) {
	.vpn-related-item {
		flex-basis: calc((100% - 40px) / 3);
	}
}
/* Mobile: 2 complete cards, 10px gap, 28px vertical padding. */
@media (max-width: 767px) {
	.vpn-related {
		padding: 28px 15px;
	}
	.vpn-related-track {
		gap: 10px;
	}
	.vpn-related-item {
		flex-basis: calc((100% - 10px) / 2);
	}
	.vpn-related-title {
		font-size: 18px;
	}
	.vpn-related-name {
		font-size: 12.5px;
	}
}
@media (min-width: 768px) {
	.vpn-related {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.vpn-related-track {
		scroll-behavior: smooth;
	}
}


/* ==========================================================================
   2026-10-02 "More from FUMOT and JNR" (owner design): other products, no arrows, shorter cards, the next card peeks in, darker teal prices,
   and less empty space between this section and the footer (theme: .bwp-single-product margin-bottom 120px + footer margin-top 80px).
   ========================================================================== */
.vpn-more {
	box-sizing: border-box;
	width: calc(100% - 30px);
	max-width: 1300px;
	margin: 20px auto 0;
	padding: 24px 15px 26px;
	background: #fff;
	border-top: 1px solid #e5e5e5;
	clear: both;
}
.vpn-more-title {
	margin: 0 0 16px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: left;
	color: #111;
}
.vpn-more-track {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.vpn-more-track::-webkit-scrollbar {
	display: none;
}
.vpn-more-item {
	flex: 0 0 62%;
	min-width: 0;
	display: flex;
	margin: 0;
	padding: 0;
	scroll-snap-align: start;
}
.vpn-more-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
}
.vpn-more-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	box-sizing: border-box;
	padding: 4% 0;
	border-radius: 10px;
	overflow: hidden;
	background: #f4f6f8;
}
.vpn-more-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
}
.vpn-more-brand {
	margin: 10px 0 2px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a7a7a;
}
.vpn-more-name {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
}
.vpn-more-meta {
	min-height: 2.7em;
	margin: 0 0 6px;
	font-size: 12.5px;
	line-height: 1.35;
	color: #666;
}
.vpn-more-price {
	margin-top: auto;
	font-size: 15px;
	line-height: 1.3;
	color: #666;
}
.vpn-more-price del {
	margin-right: 6px;
	font-weight: 400;
	color: #8a8a8a;
}
.vpn-more-price ins {
	background: transparent;
	text-decoration: none;
	font-weight: 700;
	color: #0b7a84;
}
.vpn-more-price > .amount,
.vpn-more-price > .woocommerce-Price-amount {
	font-weight: 700;
	color: #0b7a84;
}
.vpn-more-price .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.vpn-more-card:hover .vpn-more-name {
	text-decoration: underline;
}
.vpn-more-card:focus-visible {
	outline: 2px solid #62bed0;
	outline-offset: 2px;
}
@media (min-width: 768px) {
	.vpn-more {
		padding: 32px 15px 34px;
	}
	.vpn-more-title {
		font-size: 22px;
	}
	.vpn-more-track {
		gap: 20px;
	}
	.vpn-more-item {
		flex: 0 0 280px;
	}
}
/* Less empty space above the footer on the four FUMOT / JNR product pages */
body.vpn-fx-flat-tabs .contents-detail .bwp-single-product {
	margin-bottom: 24px;
}
body.vpn-fx-flat-tabs:not(.elementor-page) #bwp-footer {
	margin-top: 0;
}
