/**
 * Marketplace Header Styles
 */

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

.marketplace-header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.marketplace-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
}

.marketplace-header-block {
	display: flex;
	align-items: center;
}

.marketplace-header-menu {
	flex: 1;
}

.marketplace-header-right {
	gap: 12px;
	flex-wrap: wrap;
}

.marketplace-nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.marketplace-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #333;
	font-weight: 600;
	font-size: 18px;
	margin-right: 30px;
}

.marketplace-logo-icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #079CDC;
}

.marketplace-logo-text {
	display: inline-block;
}

.marketplace-nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 20px;
}

.marketplace-nav-item {
	margin: 0;
}

.marketplace-nav-item a {
	text-decoration: none;
	color: #666;
	font-size: 15px;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 4px;
	transition: all 0.2s;
}

.marketplace-nav-item a:hover,
.marketplace-nav-item.active a {
	color: #079CDC;
	background: rgba(7, 156, 220, 0.1);
}

.marketplace-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: none;
	background: transparent;
	color: #666;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.2s;
	text-decoration: none;
}

.marketplace-button:hover {
	background: rgba(0, 0, 0, 0.05);
	color: #333;
}

.marketplace-button-steam {
	background: #079CDC;
	color: #ffffff;
}

.marketplace-button-steam:hover {
	background: #0686b5;
	color: #ffffff;
}

.marketplace-button-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.marketplace-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
}

.marketplace-icon svg {
	width: 100%;
	height: 100%;
}

.marketplace-icon-steam {
	width: 16px;
	height: 16px;
}

.marketplace-icon-header-market {
	width: 24px;
	height: 24px;
}

.marketplace-button-label {
	display: inline-block;
}

.marketplace-currency,
.marketplace-language {
	position: relative;
}

.marketplace-currency-button,
.marketplace-current-lang {
	display: flex;
	align-items: center;
	gap: 6px;
}

.marketplace-currency-code,
.marketplace-lang-code {
	font-size: 14px;
	font-weight: 500;
}

.marketplace-lang-flag {
	width: 20px;
	height: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.marketplace-lang-flag svg {
	width: 100%;
	height: 100%;
}

.marketplace-icon-arrow-down {
	width: 12px;
	height: 12px;
	margin-left: 4px;
}

.marketplace-button-chat {
	padding: 10px;
	min-width: 40px;
	background: #079CDC;
	color: #ffffff;
	border-radius: 50%;
}

.marketplace-button-chat:hover {
	background: #0686b5;
}

.marketplace-profile {
	display: flex;
	align-items: center;
}

.marketplace-user-menu {
	display: flex;
	align-items: center;
}

.marketplace-user-link {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #333;
	padding: 6px 12px;
	border-radius: 6px;
	transition: all 0.2s;
}

.marketplace-user-link:hover {
	background: rgba(0, 0, 0, 0.05);
}

.marketplace-user-link img {
	border-radius: 50%;
	width: 32px;
	height: 32px;
}

.marketplace-user-name {
	font-size: 14px;
	font-weight: 500;
}

.marketplace-basket {
	position: relative;
}

.marketplace-button-cart {
	position: relative;
	padding: 10px;
}

.marketplace-cart-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}

.marketplace-cart-count {
	position: absolute;
	top: 4px;
	right: 4px;
	background: #ff4444;
	color: #ffffff;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
	.marketplace-header-row {
		flex-wrap: wrap;
	}
	
	.marketplace-nav-menu {
		flex-direction: column;
		gap: 10px;
		width: 100%;
		margin-top: 15px;
	}
	
	.marketplace-header-right {
		flex-wrap: wrap;
		gap: 8px;
	}
	
	.marketplace-button-label {
		display: none;
	}
}
