/* ==================================================
   INNER PAGES HEADER SAME AS HOMEPAGE
   File: assets/css/header-inner-pages.css
   Scope: all pages except homepage
================================================== */

/* Main header background */
body:not(.home) #header,
body:not(.home) .ct-header,
body:not(.home) .ct-header [data-row],
body:not(.home) .ct-header [data-row*="top"],
body:not(.home) .ct-header [data-row*="middle"],
body:not(.home) .ct-header [data-row*="bottom"] {
	background: #0f1018 !important;
	border: none !important;
	box-shadow: none !important;
}

/* Red separator lines */
body:not(.home) .ct-header {
	border-top: 3px solid #b80000 !important;
	border-bottom: 1px solid rgba(184, 0, 0, 0.75) !important;
}

/* Top row height like homepage */
body:not(.home) .ct-header [data-row*="top"],
body:not(.home) .ct-header [data-row*="middle"] {
	min-height: 96px !important;
}

/* Main menu row */
body:not(.home) .ct-header [data-row*="bottom"] {
	min-height: 78px !important;
	border-top: 1px solid rgba(184, 0, 0, 0.65) !important;
	border-bottom: 2px solid #b80000 !important;
}

/* Logo area */
body:not(.home) .ct-header .site-logo-container img,
body:not(.home) .ct-header .site-logo-container picture img {
	max-height: 76px !important;
	width: auto !important;
}

/* Search and action wrapper */
body:not(.home) .akj-header-tools-pro {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 28px !important;
	width: 100% !important;
}

/* Search box */
body:not(.home) .akj-header-search-pro {
	display: flex !important;
	align-items: center !important;
	width: min(620px, 100%) !important;
	height: 64px !important;
	background: linear-gradient(180deg, #1b1d25 0%, #11131a 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	box-shadow:
		0 0 0 1px rgba(184, 0, 0, 0.45),
		0 18px 40px rgba(0, 0, 0, 0.45) !important;
}

/* Search input */
body:not(.home) .akj-header-search-field {
	flex: 1 1 auto !important;
	height: 64px !important;
	background: transparent !important;
	border: none !important;
	color: #ffffff !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	padding: 0 28px !important;
	outline: none !important;
}

body:not(.home) .akj-header-search-field::placeholder {
	color: rgba(255, 255, 255, 0.82) !important;
}

/* Search submit */
body:not(.home) .akj-header-search-submit {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 88px !important;
	height: 64px !important;
	background: #c90000 !important;
	border: none !important;
	border-radius: 0 16px 16px 0 !important;
	cursor: pointer !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

body:not(.home) .akj-header-search-submit:hover {
	background: #ff0000 !important;
}

body:not(.home) .akj-search-img {
	width: 34px !important;
	height: 34px !important;
	filter: brightness(0) invert(1) !important;
}

/* Header action panel */
body:not(.home) .akj-header-actions-pro {
	display: flex !important;
	align-items: stretch !important;
	min-height: 64px !important;
	background: #090b11 !important;
	border: 1px solid #b80000 !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	box-shadow:
		0 0 0 1px rgba(184, 0, 0, 0.35),
		0 18px 40px rgba(0, 0, 0, 0.45) !important;
}

/* Kontakt / Warenkorb / Konto */
body:not(.home) .akj-header-actions-pro a,
body:not(.home) .akj-header-actions-pro button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 170px !important;
	min-height: 64px !important;
	padding: 0 30px !important;
	background: transparent !important;
	color: #ffffff !important;
	border: none !important;
	border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease;
}

body:not(.home) .akj-header-actions-pro a:first-child,
body:not(.home) .akj-header-actions-pro button:first-child {
	border-left: none !important;
}

body:not(.home) .akj-header-actions-pro a:hover,
body:not(.home) .akj-header-actions-pro button:hover {
	background: #b80000 !important;
	color: #ffffff !important;
}

/* Main menu layout */
body:not(.home) .ct-header nav[class*="menu"] > ul,
body:not(.home) .ct-header .menu {
	display: flex !important;
	align-items: center !important;
	gap: 44px !important;
}

/* Main menu links */
body:not(.home) .ct-header .menu > li > a,
body:not(.home) .ct-header nav > ul > li > a {
	color: #ffffff !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-shadow: 0 3px 12px rgba(255, 255, 255, 0.55) !important;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Menu hover */
body:not(.home) .ct-header .menu > li:hover > a,
body:not(.home) .ct-header nav > ul > li:hover > a {
	color: #ffffff !important;
	text-shadow:
		0 0 10px rgba(255, 255, 255, 0.9),
		0 0 20px rgba(184, 0, 0, 0.8) !important;
}

/* Startseite red button */
body:not(.home) .ct-header .menu > li:first-child > a,
body:not(.home) .ct-header nav > ul > li:first-child > a {
	background: #b80000 !important;
	color: #ffffff !important;
	border-radius: 4px !important;
	padding: 16px 28px !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	text-shadow: none !important;
}

/* Dropdown arrows red */
body:not(.home) .ct-header .ct-menu-link svg,
body:not(.home) .ct-header .ct-icon,
body:not(.home) .ct-header .menu-item-has-children > a svg {
	fill: #ff0000 !important;
	color: #ff0000 !important;
	margin-left: 8px !important;
}

/* Sticky header */
body:not(.home) .ct-header[data-sticky*="yes"],
body:not(.home) .ct-sticky-container {
	background: #0f1018 !important;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5) !important;
}

/* Prevent white background on category/shop pages */
body:not(.home).tax-product_cat .ct-header,
body:not(.home).post-type-archive-product .ct-header,
body:not(.home).woocommerce .ct-header {
	background: #0f1018 !important;
}

/* Mobile/tablet safety */
@media (max-width: 999px) {
	body:not(.home) .ct-header [data-row*="top"],
	body:not(.home) .ct-header [data-row*="middle"],
	body:not(.home) .ct-header [data-row*="bottom"] {
		min-height: 64px !important;
	}

	body:not(.home) .akj-header-tools-pro {
		gap: 14px !important;
	}

	body:not(.home) .akj-header-search-pro {
		height: 48px !important;
		border-radius: 12px !important;
	}

	body:not(.home) .akj-header-search-field {
		height: 48px !important;
		font-size: 14px !important;
		padding: 0 16px !important;
	}

	body:not(.home) .akj-header-search-submit {
		width: 58px !important;
		height: 48px !important;
		border-radius: 0 12px 12px 0 !important;
	}

	body:not(.home) .akj-search-img {
		width: 22px !important;
		height: 22px !important;
	}

	body:not(.home) .akj-header-actions-pro a,
	body:not(.home) .akj-header-actions-pro button {
		min-width: auto !important;
		min-height: 48px !important;
		padding: 0 14px !important;
		font-size: 13px !important;
	}

	body:not(.home) .ct-header .menu > li > a,
	body:not(.home) .ct-header nav > ul > li > a {
		font-size: 16px !important;
	}
}