/**
 * @package     KASA.Theme
 * @subpackage  codeDESIGN_M2_custom
 * @version     1.3.0
 * @date        2026-11-24
 * @file        app/design/frontend/codeDESIGN/M2_custom/web/css/codedesign_navigation.css
 * @copyright   Copyright (C) 2026 Milos Mandic | codeDESIGN
 * @license     Proprietary project implementation; existing asset rights retained.
 * @link        https://www.kasa-onlineshop.de
 * @author      Milos Mandic | codeDESIGN <milos.mandic@codedesign.me>
 */
/* codeDESIGN - codedesign_navigation.css */
@charset "utf-8";



/* LIVE HORIZONTAL NAVIGATION */
body.kasa_custom_theme nav.kasa_live_navigation {
	background: #ffffff;
	border: 0px;
	z-index: 45;
}
body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_nav_list {
	justify-content: flex-start;
	gap: 14px;
}
body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_nav_list > li {
	margin: 0px 0px 0px 0px;
	flex: 0 1 auto;
}
body.kasa_custom_theme nav.kasa_live_navigation div.kasa_nav_row > a,
body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_help_toggle {
	min-height: 38px;
	padding: 10px 0px 10px 0px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: var(--kasa_ink);
	text-transform: uppercase;
}
body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_toggle {
	min-width: 24px;
	min-height: 38px;
	border-radius: 0px;
	padding: 4px 4px 4px 4px;
	font-family: inherit;
	font-size: 15px;
	box-shadow: none;
}
body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_help_toggle {
	padding: 10px 0px 10px 0px;
	display: flex;
	align-items: center;
	gap: 6px;
}
body.kasa_custom_theme nav.kasa_live_navigation div.kasa_nav_row > a:is(:hover, :focus-visible, [aria-current="page"], .kasa_nav_active),
body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_help_toggle:is(:hover, :focus-visible, [aria-expanded="true"], .kasa_nav_active) {
	color: var(--kasa_red);
	text-decoration: none;
}
body.kasa_custom_theme nav.kasa_live_navigation div.kasa_nav_row:hover > button.kasa_nav_toggle,
body.kasa_custom_theme nav.kasa_live_navigation div.kasa_nav_row:has(> a:is([aria-current="page"], .kasa_nav_active)) > button.kasa_nav_toggle {
	color: var(--kasa_red);
}
body.kasa_custom_theme nav.kasa_live_navigation li.kasa_nav_primary > ul.kasa_submenu {
	background: #ffffff;
	width: 304px;
	min-width: 260px;
	max-width: calc(100vw - 32px);
	max-height: min(70vh, 620px);
	border-top: 2px solid var(--kasa_red);
	padding: 8px 0px 8px 0px;
	box-shadow: 0px 8px 22px rgba(0, 0, 0, .12);
}
body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_submenu div.kasa_nav_row > a {
	min-height: 0px;
	padding: 7px 16px 7px 16px;
	font-size: 14px;
	font-weight: 400;
	line-height: 19px;
	text-transform: none;
}
body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_submenu div.kasa_nav_row > a:hover,
body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_submenu div.kasa_nav_row > a[aria-current="page"] {
	background: #f5f3f1;
	color: var(--kasa_red);
	text-decoration: none;
}
body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_submenu[hidden] {
	display: none;
}
body.kasa_custom_theme nav.kasa_live_navigation a:focus-visible,
body.kasa_custom_theme nav.kasa_live_navigation button:focus-visible,
body.kasa_custom_theme details.kasa_home_sidebar a:focus-visible,
body.kasa_custom_theme details.kasa_home_sidebar summary:focus-visible {
	outline: 2px solid var(--kasa_red);
	outline-offset: 2px;
}

@media (min-width: 671px) and (max-width: 1100px) {

	body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_nav_list {
		gap: 6px 12px;
		flex-wrap: wrap;
	}
	body.kasa_custom_theme nav.kasa_live_navigation div.kasa_nav_row > a,
	body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_help_toggle {
		font-size: 13px;
	}

}

@media (max-width: 670px) {

	body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_nav_list {
		display: block;
	}
	body.kasa_custom_theme nav.kasa_live_navigation div.kasa_nav_row > a,
	body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_help_toggle {
		min-height: 44px;
		padding: 12px 0px 12px 0px;
		font-size: 14px;
		line-height: 20px;
		text-align: left;
	}
	body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_toggle {
		min-width: 44px;
		min-height: 44px;
	}
	body.kasa_custom_theme nav.kasa_live_navigation button.kasa_nav_help_toggle {
		width: 100%;
		justify-content: space-between;
	}
	body.kasa_custom_theme nav.kasa_live_navigation li.kasa_nav_primary > ul.kasa_submenu {
		width: 100%;
		min-width: 0px;
		max-width: none;
		max-height: none;
		border: 0;
		position: static;
		padding: 0px 0px 8px 0px;
		overflow: visible;
		box-shadow: none;
	}
	body.kasa_custom_theme nav.kasa_live_navigation ul.kasa_submenu div.kasa_nav_row > a {
		min-height: 40px;
		padding: 10px 12px 10px 12px;
		font-size: 14px;
		line-height: 20px;
	}

}



/* HOME CATEGORY SIDEBAR */
body.kasa_custom_theme details.kasa_home_sidebar {
	background: rgba(255, 255, 255, .97);
	width: 100%;
	border: 0px;
	position: relative;
	z-index: 5;
	padding: 8px 8px 8px 8px;
	font-family: inherit;
}
body.kasa_custom_theme details.kasa_home_sidebar ul.kasa_home_category_list,
body.kasa_custom_theme details.kasa_home_sidebar ul.kasa_home_category_children {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	list-style: none;
}
body.kasa_custom_theme details.kasa_home_sidebar li.kasa_home_category_group {
	margin: 0px 0px 8px 0px;
	padding: 0px 0px 0px 0px;
}
body.kasa_custom_theme details.kasa_home_sidebar li.kasa_home_category_group:last-child {
	margin-bottom: 0px;
}
body.kasa_custom_theme details.kasa_home_sidebar div.kasa_home_category_heading {
	background: var(--kasa_red);
	margin: 0px 0px 5px 0px;
}
body.kasa_custom_theme details.kasa_home_sidebar div.kasa_home_category_heading > a {
	padding: 7px 10px 7px 10px;
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
}
body.kasa_custom_theme details.kasa_home_sidebar li.kasa_home_category_item {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
body.kasa_custom_theme details.kasa_home_sidebar div.kasa_home_category_row > a {
	padding: 3px 8px 3px 10px;
	display: block;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 18px;
	color: var(--kasa_ink);
	text-decoration: none;
}
body.kasa_custom_theme details.kasa_home_sidebar div.kasa_home_category_row > a:hover,
body.kasa_custom_theme details.kasa_home_sidebar div.kasa_home_category_row > a[aria-current="page"] {
	background: #f3efed;
	color: var(--kasa_red);
	text-decoration: underline;
}
body.kasa_custom_theme details.kasa_home_sidebar summary.kasa_home_sidebar_toggle {
	display: none;
	list-style: none;
}
body.kasa_custom_theme details.kasa_home_sidebar summary.kasa_home_sidebar_toggle::-webkit-details-marker {
	display: none;
}

@media (max-width: 1023px) {

	body.kasa_custom_theme details.kasa_home_sidebar {
		padding: 0px 0px 0px 0px;
	}
	body.kasa_custom_theme details.kasa_home_sidebar summary.kasa_home_sidebar_toggle {
		background: #ffffff;
		width: 100%;
		min-height: 44px;
		border: 0;
		border-radius: 0px;
		padding: 11px 14px 11px 14px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: inherit;
		font-size: 14px;
		font-weight: 700;
		color: var(--kasa_ink);
		box-shadow: none;
		cursor: pointer;
	}
	body.kasa_custom_theme details.kasa_home_sidebar[open] summary.kasa_home_sidebar_toggle span {
		transform: rotate(180deg);
	}
	body.kasa_custom_theme details.kasa_home_sidebar ul.kasa_home_category_list {
		padding: 0px 8px 8px 8px;
	}
	body.kasa_custom_theme details.kasa_home_sidebar ul.kasa_home_category_list[hidden] {
		display: none;
	}
	body.kasa_custom_theme details.kasa_home_sidebar div.kasa_home_category_row > a {
		padding: 9px 10px 9px 10px;
		font-size: 14px;
		line-height: 20px;
	}

}
