/* ============================================================
   ISINWHEEL GLOBAL — Product Local Nav CSS V1
   Phase 19-T.3.1 — Launch V1 Simple 2-Item Sticky Nav
   ============================================================
   Clean product local navigation below Global Header.
   Desktop: Product Name (left) + Overview | Tech Specs (right)
   Mobile: Centered Overview | Tech Specs (no product name)
   ============================================================ */

.product-local-nav {
	position: sticky;
	top: var(--header-height, 72px);
	z-index: 90;
	background: #0C0D0E;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-local-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
	gap: 16px;
}

/* ---------- Product Name (desktop only, left side) ---------- */
.product-local-nav__name {
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 280px;
	flex-shrink: 1;
}

/* ---------- Nav links (right side) ---------- */
.product-local-nav__links {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

.product-local-nav__item {
	display: flex;
	align-items: stretch;
}

.product-local-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 20px 20px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.58);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease-out;
}

.product-local-nav__link:hover {
	color: rgba(255, 255, 255, 0.9);
}

.product-local-nav__link:focus-visible {
	outline: 2px solid #94F250;
	outline-offset: 4px;
	border-radius: 2px;
}

/* ---------- Active: brand green + restrained underline ---------- */
.product-local-nav__link.is-active,
.product-local-nav__link[aria-current="true"] {
	color: #94F250;
}

.product-local-nav__link.is-active::after,
.product-local-nav__link[aria-current="true"]::after {
	content: '';
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 0;
	height: 2px;
	background: #94F250;
	border-radius: 2px 2px 0 0;
}

/* ============================================================
   Section anchor scroll offset
   ============================================================ */
#product-overview,
#product-tech-specs {
	scroll-margin-top: calc(var(--header-height, 72px) + 70px);
}

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
	.product-local-nav__inner {
		min-height: 56px;
	}

	.product-local-nav__name {
		font-size: 14px;
		max-width: 200px;
	}

	.product-local-nav__link {
		padding: 18px 16px;
		font-size: 13px;
	}

	.product-local-nav__link.is-active::after,
	.product-local-nav__link[aria-current="true"]::after {
		left: 16px;
		right: 16px;
	}
}

/* ---------- Mobile: hide product name, center links ---------- */
@media (max-width: 767px) {
	.product-local-nav__inner {
		min-height: 52px;
		justify-content: center;
	}

	.product-local-nav__name {
		display: none;
	}

	.product-local-nav__links {
		gap: 0;
	}

	.product-local-nav__link {
		padding: 16px 18px;
		font-size: 13px;
		font-weight: 600;
	}

	.product-local-nav__link.is-active::after,
	.product-local-nav__link[aria-current="true"]::after {
		left: 18px;
		right: 18px;
		height: 1.5px;
	}
}