/**
 * Стили навигационных чипов
 *
 * Горизонтальная липкая навигация с чипами для быстрого перехода по секциям
 *
 * @package GrandScreen
 * @since 1.0.0
 */



.navigation-chips {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: none; 
	padding: 12px 0;
	margin-top: 8px; 
	margin-bottom: 24px;
	transition: box-shadow 0.3s ease;
}


.navigation-chips.is-scrolled {
	
}

.navigation-chips__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0; 
}

.navigation-chips__scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; 
	-ms-overflow-style: none;  
}


.navigation-chips__scroll::-webkit-scrollbar {
	display: none;
}



.navigation-chip {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #374151;
	background: transparent;
	border: 1px solid #d1d5db;
	border-radius: 20px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.25s ease;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	min-height: 36px; 
}


.navigation-chip:hover {
	background: rgba(255, 107, 53, 0.08);
	border-color: rgba(255, 107, 53, 0.4);
	color: #ff6b35;
}


.navigation-chip.is-active {
	background: #ffffff;
	border-color: #ff6b35;
	border-width: 2px;
	color: #ff6b35;
	font-weight: 600;
}

.navigation-chip.is-active:hover {
	background: rgba(255, 107, 53, 0.05);
	border-color: #ff5722;
	color: #ff5722;
}


.navigation-chip:focus {
	outline: 2px solid #ff6b35;
	outline-offset: 2px;
}

.navigation-chip:focus:not(:focus-visible) {
	outline: none;
}




@media (max-width: 1024px) {
	.navigation-chips {
		padding: 12px 0;
		margin-bottom: 20px;
	}

	.navigation-chips__container {
		padding: 0 16px;
	}

	.navigation-chip {
		padding: 7px 14px;
		font-size: 12px;
		min-height: 34px;
	}
}


@media (max-width: 768px) {
	.navigation-chips {
		padding: 10px 0;
		margin-bottom: 16px;
	}

	.navigation-chips__container {
		padding: 0 12px;
	}

	.navigation-chip {
		padding: 7px 13px;
		font-size: 12px;
		min-height: 34px;
	}

	.navigation-chips__scroll {
		gap: 8px;
	}
}


@media (max-width: 480px) {
	.navigation-chips__container {
		padding: 0 8px;
	}

	.navigation-chip {
		padding: 6px 12px;
		font-size: 11px;
		min-height: 32px;
	}
}



.navigation-chips__container {
	position: relative;
}


.navigation-chips__container::before,
.navigation-chips__container::after {
	display: none;
}


.navigation-chips__container.has-scroll-left::before {
	opacity: 1;
}

.navigation-chips__container.has-scroll-right::after {
	opacity: 1;
}



@keyframes chipPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.navigation-chip.is-active {
	animation: chipPulse 0.3s ease;
}



html {
	scroll-behavior: smooth;
}


@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.navigation-chip {
		transition: none;
	}
}