/* ================================================================
   VB Header — vb-header.css  (techreview.com.tr)
   ================================================================ */

/* ── Genel header kapsayıcı ── */
.vb-header {
	background: #fff;
	border-bottom: 1px solid #e8e6e2;
	padding: 0 !important;
}
.cs-scheme-dark .vb-header,
[data-scheme="dark"] .vb-header {
	background: #1a1a1a;
	border-color: #2a2a2a;
}

/* ── Üst Kategori Bar ── */
.vb-cats-bar {
	border-bottom: 1px solid #f0eeeb;
	background: #fff;
}
.cs-scheme-dark .vb-cats-bar,
[data-scheme="dark"] .vb-cats-bar { background: #1a1a1a; border-color: #2a2a2a; }

.vb-cats-bar .cs-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.vb-cats {
	display: flex;
	align-items: stretch;
	height: 44px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.vb-cats::-webkit-scrollbar { display: none; }

.vb-cat {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 10.5px;
	font-weight: 500;
	color: #666;
	padding: 0 14px;
	white-space: nowrap;
	text-decoration: none !important;
	border-right: 1px solid #f0eeeb;
	transition: color .15s, background .15s;
	flex-shrink: 0;
}
.vb-cat:last-child { border-right: none; }
.vb-cat:hover { color: #111; background: #fafaf8; }
.vb-cat i { font-size: 16px; color: #555; transition: color .15s; line-height: 1; }
.vb-cat:hover i { color: #111; }
.vb-cat.act, .vb-cat.current-menu-item, .vb-cat.current-menu-ancestor {
	color: #dc1e28; font-weight: 600;
}
.vb-cat.act i, .vb-cat.current-menu-item i, .vb-cat.current-menu-ancestor i {
	color: #dc1e28;
}

/* dark mode cats */
.cs-scheme-dark .vb-cat,
[data-scheme="dark"] .vb-cat { color: #aaa; border-right-color: #2a2a2a; }
.cs-scheme-dark .vb-cat:hover,
[data-scheme="dark"] .vb-cat:hover { color: #fff; background: #242424; }
.cs-scheme-dark .vb-cat i,
[data-scheme="dark"] .vb-cat i { color: #888; }
.cs-scheme-dark .vb-cat:hover i,
[data-scheme="dark"] .vb-cat:hover i { color: #fff; }

/* ── Ana Header Satırı ── */
.vb-main-bar {
	background: #fff;
}
.cs-scheme-dark .vb-main-bar,
[data-scheme="dark"] .vb-main-bar { background: #1a1a1a; }

.vb-main-bar .cs-container {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.vb-main {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 68px;
	width: 100%;
}

/* ── Logo ── */
.vb-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	flex-shrink: 0;
	line-height: 1;
}
.vb-logo-img {
	height: 36px;
	width: auto;
	display: block;
	object-fit: contain;
	max-width: 180px;
}
.vb-logo-mark {
	width: 36px; height: 36px;
	background: #111; border-radius: 9px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.vb-logo-mark span {
	font-family: 'Syne', sans-serif;
	font-size: 13px; font-weight: 800;
	color: #fff; letter-spacing: -.5px;
}
.vb-logo-name { display: flex; flex-direction: column; line-height: 1.15; }
.vb-logo-name-t {
	font-family: 'Manrope', sans-serif;
	font-size: 16px; font-weight: 800;
	color: #111; letter-spacing: -.5px;
}
.vb-logo-name-s {
	font-family: 'DM Sans', sans-serif;
	font-size: 9.5px; color: #bbb;
	letter-spacing: 1.2px; text-transform: uppercase;
}
.cs-scheme-dark .vb-logo-name-t,
[data-scheme="dark"] .vb-logo-name-t { color: #fff; }

/* ── Ayraç ── */
.vb-divider {
	width: 1px; height: 28px;
	background: #e8e6e2; flex-shrink: 0;
	margin: 0 2px;
}
.cs-scheme-dark .vb-divider,
[data-scheme="dark"] .vb-divider { background: #333; }

/* ── Primary Nav ── */
.vb-nav { display: flex; flex: 1; min-width: 0; }

.vb-nav-list {
	display: flex;
	gap: 2px;
	list-style: none;
	margin: 0; padding: 0;
	flex-wrap: nowrap;
}
.vb-nav-list > li { margin: 0; }
.vb-nav-list > li > a {
	display: block;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px; font-weight: 500;
	color: #555;
	padding: 7px 11px;
	border-radius: 8px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.vb-nav-list > li > a:hover { background: #f5f3ef; color: #111; }
.vb-nav-list > li.current-menu-item > a,
.vb-nav-list > li.current-menu-ancestor > a { background: #111; color: #fff; }
.cs-scheme-dark .vb-nav-list > li > a,
[data-scheme="dark"] .vb-nav-list > li > a { color: #ccc; }
.cs-scheme-dark .vb-nav-list > li > a:hover,
[data-scheme="dark"] .vb-nav-list > li > a:hover { background: #2a2a2a; color: #fff; }
.cs-scheme-dark .vb-nav-list > li.current-menu-item > a,
[data-scheme="dark"] .vb-nav-list > li.current-menu-item > a { background: #fff; color: #111; }

/* ── Sağ grup ── */
.vb-right {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex-shrink: 0;
}

/* İkon buton */
.vb-icon {
	width: 36px; height: 36px;
	border-radius: 9px;
	background: #f5f3ef;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .15s;
	padding: 0;
	flex-shrink: 0;
}
.vb-icon:hover { background: #ece9e3; }
.vb-icon i { font-size: 17px; color: #555; }
.vb-icon:hover i { color: #111; }
.cs-scheme-dark .vb-icon,
[data-scheme="dark"] .vb-icon { background: #2a2a2a; }
.cs-scheme-dark .vb-icon:hover,
[data-scheme="dark"] .vb-icon:hover { background: #333; }
.cs-scheme-dark .vb-icon i,
[data-scheme="dark"] .vb-icon i { color: #ccc; }

/* Store butonu */
.vb-store-btn {
	display: inline-flex; align-items: center; gap: 7px;
	background: #0038ff; color: #fff !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 12px; font-weight: 500;
	padding: 10px 16px;
	border-radius: 8px;
	text-decoration: none !important;
	letter-spacing: .1px;
	transition: background .15s;
	white-space: nowrap;
	flex-shrink: 0;
}
.vb-store-btn:hover { background: #d51212; color: #fff !important; }
.vb-store-arrow { display: inline-block; transition: transform .15s; }
.vb-store-btn:hover .vb-store-arrow { transform: translateX(3px); }

/* ── Tema'nın eski header bileşenlerini gizle ──
   vb-header içinde tema'nın render ettiği logo/nav/search'ü sıfırla */
.vb-header .cs-header__inner { display: none !important; }
.vb-header .cs-header__outer { display: none !important; }

/* Mobil nav, burger menü vb. dokunulmuyor — tema halleder */

/* ── Responsive ── */
@media (max-width: 991px) {
	.vb-cats-bar { display: none; }
	.vb-store-btn { display: none; }
	.vb-nav { display: none; }
	.vb-divider { display: none; }
	.vb-main { height: 60px; gap: 10px; }
}
@media (max-width: 480px) {
	.vb-logo-img { max-width: 140px; height: 30px; }
}
