/* ===================================
   Design Sample Header
   =================================== */

.design-sample-header {
	background-color: #ffffff;
	border-bottom: 1px solid #e0e0e0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.design-sample-header__container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 72px;
}

.design-sample-header__start {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.design-sample-header__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.design-sample-header__logo img {
	display: block;
	max-height: 52px;
	width: 125px;
	margin-left: 25px;
}

.design-sample-header__actions {
	flex-shrink: 0;
}

.design-sample-header__auth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	height: 3rem;
	padding: 0 1.25rem;
	border: 1px solid #fdd92b;
	border-radius: 2px;
	background: #ffffff;
	color: #262626;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5rem;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.design-sample-header__auth-btn:hover {
	background: #fdd92b;
	color: #262626;
}

/* ===================================
   Step Navigation
   =================================== */

.design-sample-header__steps {
	flex: 1;
	min-width: 0;
}

.design-sample-header__steps-list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.design-sample-header__step {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #262626;
	font-size: 0.875rem;
	line-height: 1.3;
}

.design-sample-header__step-number {
	font-weight: 600;
	white-space: nowrap;
}

.design-sample-header__step-links {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.design-sample-header__step-links a {
	color: #262626;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.design-sample-header__step-links a:hover {
	text-decoration: underline;
}

.design-sample-header__step-divider {
	color: #8c8c8c;
	font-weight: 400;
}

.design-sample-header__step-separator {
	color: #8c8c8c;
	font-size: 1rem;
	line-height: 1;
}

/* ===================================
   Page Menu (Burger)
   =================================== */

.page-menu {
	position: relative;
	flex-shrink: 0;
}

.page-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 55px;
	height: 44px;
	padding: 0 !important;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	background: #ffffff;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-menu-toggle:hover,
.page-menu.is-open .page-menu-toggle {
	border-color: #fdd92b;
	background-color: #fffdf2;
}

.hamburger-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 20px;
	height: 14px;
}

.hamburger-icon span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #262626;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-menu.is-open .hamburger-icon span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.page-menu.is-open .hamburger-icon span:nth-child(2) {
	opacity: 0;
}

.page-menu.is-open .hamburger-icon span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.page-menu-panel {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: min(320px, calc(100vw - 40px));
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 1001;
}

.page-menu.is-open .page-menu-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.page-menu-panel > a {
	display: block;
	padding: 10px 0;
	color: #262626;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
}

.page-menu-panel > a:hover {
	color: #000000;
}

.page-menu-group {
	padding: 14px 0 0;
}

.page-menu-group + .page-menu-group {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}

.page-menu-group span,
.page-menu-group strong {
	display: block;
	margin-bottom: 8px;
	color: #262626;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.page-menu-group a {
	display: block;
	padding: 8px 0;
	color: #4d4d4d;
	font-size: 0.9375rem;
	line-height: 1.4;
	text-decoration: none;
}

.page-menu-group a:hover {
	color: #262626;
}

@media (max-width: 1200px) {
	.design-sample-header__step {
		font-size: 0.8125rem;
	}
}

@media (max-width: 1024px) {
	.design-sample-header__steps {
		display: none;
	}

	.design-sample-header__container {
		justify-content: space-between;
	}
}

@media (max-width: 768px) {
	.design-sample-header__container {
		padding: 12px 16px;
		min-height: auto;
	}

	.design-sample-header__auth-btn {
		min-width: auto;
		height: 2.5rem;
		padding: 0 14px;
		font-size: 0.875rem;
	}

	.design-sample-header__logo img {
		max-height: 40px;
	}
}
