:root {
	--wc-mcm-top: 92px;
}

.wc-mcm {
	position: relative;
	display: inline-block;
	font-family: inherit;
}
.wc-mcm * {
	box-sizing: border-box;
}

.site-header-main-section-left .wc-mcm__toggle {
  color: var(--global-palette9);
}

.wc-mcm__toggle {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	border: 0;
	background: transparent;
	padding: 0.6rem 0.8rem;
	cursor: pointer;
	font: inherit;
}
.wc-mcm__toggle:hover,
.wc-mcm__toggle:focus {
	/* outline: 2px solid rgba(0, 0, 0, 0.35);
	outline-offset: 2px; */
  background: rgba(0, 0, 0, 0.04);
}

.wc-mcm__burger {
	width: 18px;
	height: 12px;
	position: relative;
	display: inline-block;
}
.wc-mcm__burger:before,
.wc-mcm__burger:after,
.wc-mcm__burger span {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}
.wc-mcm__burger:before {
	top: 0;
}
.wc-mcm__burger:after {
	bottom: 0;
}

.wc-mcm__toggleLabel {
	font-weight: 700;
}

.wc-mcm__chev {
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
	opacity: 0.8;
}
.wc-mcm.is-open .wc-mcm__chev {
	transform: rotate(-135deg);
}

.wc-mcm__panel {
	position: fixed;
	left: 0;
	right: 0;
	top: var(--wc-mcm-top, 64px);
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
	z-index: 9999;
	padding: 0;
	max-height: calc(100vh - var(--wc-mcm-top, 64px));
	overflow: auto;
}

.wc-mcm__close {
	position: absolute;
	right: 16px;
	top: 10px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	z-index: 2;
}
.wc-mcm__close:focus {
	outline: 2px solid rgba(0, 0, 0, 0.35);
	outline-offset: 2px;
}

/* desktop */
.wc-mcm__desktop {
	display: block;
}
.wc-mcm__mobile {
	display: none;
}

.wc-mcm__shell {
	display: flex;
	min-height: min(350px, calc(100vh - var(--wc-mcm-top, 64px)));
  align-items: stretch;
}

.wc-mcm__left {
  display: block;
  position: relative;
	width: 320px;
  min-height: 100%;
	border-right: 1px solid #f6f6f6;
	background: #FBFBFB;
	padding: 14px 0;
	overflow: auto;
}
.wc-mcm__leftItem {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	padding: 12px 18px;
	border: 0;
	background: #FBFBFB;
	cursor: pointer;
	font: inherit;
	text-align: left;
  border-radius: 0;
	/* border-left: 4px solid transparent; */
}
.wc-mcm__leftItem:hover {
	background: rgba(0, 0, 0, 0.1);
}
.wc-mcm__leftItem.is-active {
	background: #fff;
	border-left-color: var(--global-palette2);
	font-weight: 700;
}
.wc-mcm__leftArrow {
	opacity: 0.65;
	font-size: 22px;
	line-height: 1;
}

.wc-mcm__right {
	flex: 1 1 auto;
	padding: 22px 22px 26px;
	overflow: auto;
}
.wc-mcm__content[hidden] {
	display: none;
}
.wc-mcm__empty {
	opacity: 0.75;
}

.wc-mcm__gridRight {
	display: grid;
	gap: 22px;
}
.wc-mcm__gridCols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wc-mcm__gridCols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wc-mcm__gridCols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.wc-mcm__gridCols-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.wc-mcm__gridCols-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}
.wc-mcm__gridCols-7 {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}
.wc-mcm__gridCols-8 {
	grid-template-columns: repeat(8, minmax(0, 1fr));
}

.wc-mcm__section {
	min-width: 0;
}
.wc-mcm__h {
	display: inline-block;
	font-weight: 800;
	text-decoration: none;
	color: inherit;
	margin: 0 0 10px;
  background-color: #f0f0f0;
  padding: .5em 1.5em;
  border-radius: 50px;
}
.wc-mcm__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.wc-mcm__a {
	text-decoration: none;
	color: inherit;
	opacity: 0.92;
}
.wc-mcm__a:hover {
	opacity: 1;
	text-decoration: underline;
}
.wc-mcm__count {
	opacity: 0.65;
	font-weight: 600;
	font-size: 0.9em;
}

.wc-mcm__deep {
	list-style: none;
	margin: 8px 0 0 10px;
	padding: 0;
	border-left: 1px dashed rgba(0, 0, 0, 0.16);
}
.wc-mcm__deep li {
	padding-left: 10px;
	margin: 6px 0;
}
.wc-mcm__a--deep {
	opacity: 0.82;
	font-size: 0.95em;
}

.wc-mcm__leftItem.is-active {
	background: #fff;
	border-left-color: rgba(0, 0, 0, 0.75);
	font-weight: 700;
}
.wc-mcm__h.is-current,
.wc-mcm__a.is-current {
	font-weight: 800;
	color: #000;
	text-decoration: underline;
}
.wc-mcm__a.is-current,
.wc-mcm__a--deep.is-current {
	opacity: 1;
}

/* mobile accordion */
.wc-mcm-mobile {
	padding: 56px 14px 18px;
}
.wc-mcm-mobile__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wc-mcm-mobile__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.wc-mcm-mobile__row {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
}
.wc-mcm-mobile__link {
	flex: 1 1 auto;
	display: block;
	padding: 12px 0;
	text-decoration: none;
	color: inherit;
	opacity: 0.92;
}
.wc-mcm-mobile__link:hover {
	opacity: 1;
}
.wc-mcm-mobile__link.is-current {
	font-weight: 800;
	color: #000;
	text-decoration: underline;
	opacity: 1;
}
.wc-mcm-mobile__toggle {
	width: 34px;
	min-width: 34px;
	height: 34px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	position: relative;
}
.wc-mcm-mobile__toggle:before,
.wc-mcm-mobile__toggle:after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	background: currentColor;
	transform: translate(-50%, -50%);
	border-radius: 2px;
}
.wc-mcm-mobile__toggle:before {
	width: 14px;
	height: 2px;
}
.wc-mcm-mobile__toggle:after {
	width: 2px;
	height: 14px;
}
.wc-mcm-mobile__toggle[aria-expanded='true']:after {
	display: none;
}

.wc-mcm-mobile__sub {
	padding: 0 0 8px 14px;
}
.wc-mcm-mobile__sub[hidden] {
	display: none;
}

.wc-mcm-mobile__list.depth-2,
.wc-mcm-mobile__list.depth-3,
.wc-mcm-mobile__list.depth-4,
.wc-mcm-mobile__list.depth-5,
.wc-mcm-mobile__list.depth-6 {
	border-left: 1px dashed rgba(0, 0, 0, 0.14);
	padding-left: 10px;
}

.wc-mcm-mobile__item.is-current > .wc-mcm-mobile__row > .wc-mcm-mobile__link {
	font-weight: 800;
}

@media (max-width: 980px) {
	.wc-mcm__panel {
		top: var(--wc-mcm-top, 56px);
		max-height: calc(100vh - var(--wc-mcm-top, 56px));
	}
	.wc-mcm__desktop {
		display: none;
	}
	.wc-mcm__mobile {
		display: block;
	}
}

@media (min-width: 981px) {
	.wc-mcm__desktop {
		display: block;
	}
	.wc-mcm__mobile {
		display: none;
	}
}


/* ===== MOBILE: pasek kategorii przypięty do dołu ===== */
@media (max-width: 980px){

  /* cały wrapper menu przypinamy do dołu ekranu */
  .wc-mcm{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:99999;
    display:block;
    margin:0;
    background-color: #111;
  }

  /* przycisk otwierający menu jako dolny pasek */
  .wc-mcm__toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:56px;
    padding:14px 18px;
    background:#111;
    color:#fff;
    border:0;
    border-radius:0;
    box-shadow:0 -4px 18px rgba(0,0,0,.16);
    font-weight:700;
  }

  .wc-mcm__toggleLabel{
    font-size:15px;
    line-height:1;
  }

  /* ikonka hamburgera ma być biała */
  .wc-mcm__burger:before,
  .wc-mcm__burger:after,
  .wc-mcm__burger span{
    background:currentColor;
  }

  /* strzałka też biała */
  .wc-mcm__chev{
    border-right-color:currentColor;
    border-bottom-color:currentColor;
  }

  /* panel nie od góry, tylko nad dolnym paskiem */
  .wc-mcm__panel{
    top:auto;
    bottom:56px; /* wysokość dolnego paska */
    left:0;
    right:0;
    width:auto;
    max-height:calc(100vh - 56px);
    border-top:1px solid rgba(0,0,0,.10);
    border-bottom:0;
    box-shadow:0 -12px 36px rgba(0,0,0,.18);
  }

  /* wersja mobilna ma zostawić miejsce na przycisk zamknięcia */
  .wc-mcm__mobile{
    padding:16px 14px 18px;
  }

  /* przycisk X w panelu */
  .wc-mcm__close{
    top:10px;
    right:12px;
  }
}

@media (max-width: 980px){
  body{
    padding-bottom:56px;
  }
}