@media (max-width: 959px) {

	#header-grid .header-top {
		--height: 64px;
		--rowbwidth: 1px;
		--rowbcolor: var(--aks-nh-linia);
	}
	#header-grid .header-top .header--row-inner {
		position: relative;
	}
	#header-grid .header-top .container {
		padding-inline: 16px;
	}
	#header-grid .header-top .row--wrapper {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 64px;
		margin: 0;
	}
	#header-grid .header-top .builder-item {
		margin: 0;
		padding: 0;
	}
	#header-grid .header-top .hfg-slot.left {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-start;
	}
	#header-grid .header-top .hfg-slot.left .builder-item {
		justify-content: flex-start;
		text-align: left;
	}
	#header-grid .header-top .hfg-slot.right,
	#header-grid .header-top .hfg-slot.right .hfg-is-group {
		display: flex;
		align-items: center;
		flex: none;
		gap: 8px;
	}
	#header-grid .header-top .hfg-slot.right .aks-nh-szukaj {
		order: -1;
	}

	#header-grid .header-top .builder-item--logo {
		--maxwidth: 148px;
		--padding: 0;
	}
	#header-grid .header-top .site-logo a.brand {
		display: flex;
		align-items: center;
		min-height: 44px;
	}
	#header-grid .header-top .site-logo img {
		width: 148px;
		max-width: 100%;
		height: auto;
	}

	#header-grid .header-top .navbar-toggle,
	#header-grid .header-top .cart-icon-wrapper,
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-search-icon {
		position: relative;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 1px solid var(--aks-nh-linia);
		border-radius: 50%;
		background: var(--aks-nh-tlo2);
		color: var(--nv-text-color);
		box-shadow: none;
		transition: background-color 0.15s, border-color 0.15s;
	}
	#header-grid .header-top .navbar-toggle:focus {
		outline: none;
	}
	#header-grid .header-top .navbar-toggle:focus-visible,
	#header-grid .header-top .cart-icon-wrapper:focus-visible,
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-search-icon:focus-visible {
		outline: 2px solid var(--nv-primary-accent);
		outline-offset: 2px;
	}

	#header-grid .header-top .navbar-toggle .icon-bar {
		width: 18px;
		border-radius: 2px;
	}
	#header-grid .header-top .navbar-toggle .icon-bar:nth-child(2) {
		margin: 4px 0;
	}
	body.is-menu-sidebar #header-grid .header-top .navbar-toggle .icon-bar:nth-child(1),
	body.is-menu-sidebar #header-grid .header-top .navbar-toggle .icon-bar:nth-child(3) {
		top: auto;
		bottom: auto;
		transform: none;
	}
	body.is-menu-sidebar #header-grid .header-top .navbar-toggle .icon-bar:nth-child(2) {
		opacity: 1;
	}

	#header-grid .header-top .builder-item--header_cart_icon {
		--iconsize: 21px;
		--padding: 0;
	}
	#header-grid .header-top .cart-icon-wrapper .nv-icon,
	#header-grid .header-top .cart-icon-wrapper .nv-icon svg {
		width: 21px;
		height: 21px;
	}
	#header-grid .header-top .cart-icon-wrapper .cart-count {
		position: absolute;
		top: -4px;
		right: -4px;
		bottom: auto;
		left: auto;
		min-width: 20px;
		height: 20px;
		padding: 0 5px;
		border-radius: 999px;
		background: var(--nv-primary-accent);
		color: var(--aks-sg-na-akcencie);
		font-size: 12px;
		font-weight: 800;
		line-height: 20px;
		text-align: center;
		box-shadow: 0 0 0 2px var(--nv-site-bg);
	}
	#header-grid .header-top .cart-is-empty .cart-count {
		display: none;
	}
	#header-grid .header-top .nv-nav-cart {
		display: none;
	}

	header.header > .dgwt-wcas-search-wrapp {
		display: none;
	}
	#header-grid .header-top .aks-nh-szukaj {
		display: flex;
		position: static;
		margin: 0;
		padding: 0;
		border: 0;
	}
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-search-wrapp {
		position: static;
		width: 44px;
		min-width: 0;
		max-width: none !important;
		margin: 0;
	}
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-search-icon svg {
		width: 19px;
		height: 19px;
		max-width: none;
		fill: currentColor;
	}
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-layout-icon-open .dgwt-wcas-search-icon {
		opacity: 1;
		border-color: var(--nv-primary-accent);
		color: var(--nv-primary-accent);
	}
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-search-icon-arrow {
		display: none !important;
	}
	html:not(.dgwt-wcas-overlay-mobile-on) #header-grid .header-top .aks-nh-szukaj .dgwt-wcas-search-form {
		top: calc(100% + 8px) !important;
		right: 16px !important;
		left: 16px !important;
		width: auto !important;
		min-width: 0 !important;
		padding: 5px;
		border: 1px solid var(--aks-nh-linia2);
		border-radius: 999px;
		background: var(--nv-site-bg);
		box-shadow: var(--aks-nh-cien);
	}
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-sf-wrapp {
		padding: 0;
		background: none;
	}
	#header-grid .header-top .aks-nh-szukaj .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier {
		display: block !important;
		left: 16px;
		max-width: 18px;
		fill: var(--aks-nh-tekst2);
	}
	#header-grid .header-top .aks-nh-szukaj input.dgwt-wcas-search-input {
		height: 48px;
		padding: 0 18px 0 46px !important;
		border: 1px solid transparent !important;
		border-radius: 999px;
		background: transparent !important;
		color: var(--nv-text-color) !important;
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		box-shadow: none !important;
	}
	#header-grid .header-top .aks-nh-szukaj input.dgwt-wcas-search-input:focus {
		border-color: transparent !important;
		box-shadow: none !important;
	}
	html:not(.dgwt-wcas-overlay-mobile-on) #header-grid .header-top .aks-nh-szukaj .dgwt-wcas-search-form:focus-within {
		border-color: var(--nv-primary-accent);
		box-shadow: var(--aks-nh-cien), inset 0 0 0 1px var(--nv-primary-accent);
	}
	#header-grid .header-top .aks-nh-szukaj input.dgwt-wcas-search-input::placeholder {
		color: var(--aks-nh-tekst2) !important;
		font-style: normal;
		opacity: 1;
	}
	.dgwt-wcas-suggestions-wrapp {
		margin-top: 14px;
		border: 1px solid var(--aks-nh-linia2) !important;
		border-radius: 20px;
		box-shadow: var(--aks-nh-cien);
		overflow: hidden auto;
	}
	.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st,
	.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-title,
	.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-more {
		font-size: 16px;
	}
	.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more {
		min-height: 48px;
		justify-content: center;
	}

	#header-grid #header-menu-sidebar {
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: calc(100vh - 56px);
		max-height: calc(100dvh - 56px);
		border-radius: 24px 24px 0 0;
		overflow: hidden auto;
		transform: translate3d(0, 105%, 0);
	}
	body.is-menu-sidebar #header-grid #header-menu-sidebar {
		transform: translate3d(0, 0, 0);
	}
	#header-grid #header-menu-sidebar .header-menu-sidebar-bg {
		--bgcolor: var(--nv-site-bg);
		--color: var(--nv-text-color);
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding: 22px 16px calc(18px + env(safe-area-inset-bottom));
		background: var(--nv-site-bg);
		color: var(--nv-text-color);
	}
	#header-grid #header-menu-sidebar .header-menu-sidebar-bg::before {
		top: 10px;
		bottom: auto;
		left: 50%;
		width: 44px;
		height: 5px;
		border-radius: 999px;
		background-color: var(--aks-nh-linia2);
		opacity: 1;
		transform: translateX(-50%);
	}
	.header-menu-sidebar-overlay.hfg-ov {
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
	}

	#header-grid #header-menu-sidebar .close-sidebar-panel {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0;
	}
	#header-grid #header-menu-sidebar .close-sidebar-panel::before {
		content: "Menu";
		font-size: 20px;
		font-weight: 800;
		line-height: 1.2;
		color: var(--nv-text-color);
	}
	#header-grid #header-menu-sidebar .close-sidebar-panel .navbar-toggle {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--aks-nh-linia);
		border-radius: 50%;
		background: var(--aks-nh-tlo2);
		color: var(--nv-text-color);
	}
	#header-grid #header-menu-sidebar .close-sidebar-panel .navbar-toggle:focus {
		outline: none;
	}
	#header-grid #header-menu-sidebar .close-sidebar-panel .navbar-toggle:focus-visible {
		outline: 2px solid var(--nv-primary-accent);
		outline-offset: 2px;
	}
	#header-grid #header-menu-sidebar .close-sidebar-panel .icon-bar {
		width: 18px;
	}

	#header-grid #header-menu-sidebar .header-menu-sidebar-inner {
		display: flex;
		flex-direction: column;
		gap: 14px;
		height: auto;
		padding: 0;
		overflow: visible;
	}
	#header-grid #header-menu-sidebar .header-menu-sidebar-inner > .aks-nh-konto {
		order: 1;
	}
	#header-grid #header-menu-sidebar .header-menu-sidebar-inner > .builder-item:not(.has-nav) {
		order: 2;
	}
	#header-grid #header-menu-sidebar .builder-item--header_palette_switch {
		--padding: 0;
		--margin: 0;
	}
	#header-grid #header-menu-sidebar .builder-item {
		margin: 0;
		padding: 0;
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		margin: 0;
		padding: 0;
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li {
		width: auto;
		margin: 0;
		border: 0;
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li > .wrap {
		display: block;
		margin: 0;
		padding: 0;
		border: 0;
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li > .wrap::after {
		display: none;
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li > .wrap > a {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		gap: 12px;
		min-height: 118px;
		padding: 16px;
		border: 1px solid var(--aks-nh-linia);
		border-radius: 20px;
		background: var(--aks-nh-tlo2);
		color: var(--nv-text-color);
		font-size: 16px;
		font-weight: 700;
		line-height: 1.25;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		text-decoration: none;
		overflow-wrap: anywhere;
		hyphens: auto;
		transition: border-color 0.15s, background-color 0.15s;
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li > .wrap > a:active,
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li.current-menu-item > .wrap > a,
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li.current-menu-ancestor > .wrap > a {
		border-color: var(--nv-primary-accent);
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li > .wrap > a::before {
		content: "";
		flex: none;
		width: 44px;
		height: 44px;
		margin-bottom: auto;
		border-radius: 50%;
		background: var(--aks-nh-akcent-miekki);
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li > .wrap > a::after {
		content: "";
		position: absolute;
		top: 28px;
		left: 28px;
		width: 22px;
		height: 22px;
		background: var(--nv-primary-accent);
		-webkit-mask: var(--aks-mm-ikona) center / contain no-repeat;
		mask: var(--aks-mm-ikona) center / contain no-repeat;
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li:nth-child(1) {
		--aks-mm-ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v5M15 2v5M6 7h12v4a6 6 0 0 1-12 0V7zM12 17v5'/%3E%3C/svg%3E");
	}
	#header-grid #header-menu-sidebar .nav-ul.menu-mobile > li:nth-child(2) {
		--aks-mm-ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E");
	}

	#header-grid #header-menu-sidebar .aks-nh-konto {
		display: grid;
		gap: 10px;
		margin: 0;
	}

	#header-grid #header-menu-sidebar .toggle-palette {
		padding-top: 6px;
		border-top: 1px solid var(--aks-nh-linia);
	}
	#header-grid #header-menu-sidebar .toggle-palette a.palette-icon-wrapper {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		min-height: 56px;
		padding: 0 2px;
		color: var(--nv-text-color);
		text-decoration: none;
	}
	#header-grid #header-menu-sidebar .toggle-palette a.palette-icon-wrapper::before {
		content: "Tryb ciemny";
		font-size: 17px;
		font-weight: 600;
		line-height: 1.2;
	}
	#header-grid #header-menu-sidebar .toggle-palette .label {
		display: none;
	}
	#header-grid #header-menu-sidebar .toggle-palette a.palette-icon-wrapper::after {
		content: "";
		flex: none;
		width: 52px;
		height: 32px;
		border-radius: 999px;
		background: var(--aks-nh-linia2);
		transition: background-color 0.2s;
	}
	#header-grid #header-menu-sidebar .toggle-palette .icon {
		position: absolute;
		top: 50%;
		right: 26px;
		z-index: 1;
		display: grid;
		place-items: center;
		width: 26px;
		height: 26px;
		padding: 6px;
		border-radius: 50%;
		background: var(--nv-site-bg);
		color: var(--nv-primary-accent);
		box-shadow: 0 1px 3px var(--aks-nh-linia2);
		transform: translateY(-50%);
		transition: right 0.2s;
	}
	html[data-neve-theme="dark"] #header-grid #header-menu-sidebar .toggle-palette a.palette-icon-wrapper::after {
		background: var(--nv-primary-accent);
	}
	html[data-neve-theme="dark"] #header-grid #header-menu-sidebar .toggle-palette .icon {
		right: 5px;
	}
}

@media (min-width: 600px) and (max-width: 959px) {
	#header-grid #header-menu-sidebar {
		width: 560px;
		margin-inline: auto;
	}
}

@media (max-width: 959px) and (prefers-reduced-motion: reduce) {
	#header-grid #header-menu-sidebar,
	#header-grid #header-menu-sidebar .toggle-palette .icon,
	#header-grid #header-menu-sidebar .toggle-palette a.palette-icon-wrapper::after {
		transition: none;
	}
}