/* ==============================
 * Cart Sidebar
 * ============================== */

/* ASIDE
===== */

.b-cart-shadow-aside {
	opacity: 0;
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.25);
}

.b-cart-aside {
	overflow-y: auto;
	width: 400px;
	height: 100%;
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 1;
	background-color: #fff;
}

.b-cart-aside.m-aside-show{
	right: 0;
}

/* .btn-aside-close {
	width: 35px;
	height: 35px;
	position: absolute;
	right: 15px;
	top: 32px;
	z-index: 5;
}

.btn-aside-close img {
	width: 18px;
} */

/* TOGGLE BUTTON */

.cart-aside-open img {
	height: 38.5em;
	width: 40.5em;
}

.btn-aside-open {
	height: 66px;
	width: 66px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.aside-open_bar {
	background: #000;
	display: block;
	height: 2px;
	width: 18px;
	margin: 0 auto;
}

.aside-open_bar + .aside-open_bar {
	margin-top: 4px;
}


/* MODIFICATORS
============ */

.m-bunner-hide {
	display: none;
}


/* ANIMATIONS
========== */

.m-shadow-hide {
	animation: m-shadow-hide 0.5s forwards;
}

.m-shadow-show {
	animation: m-shadow-show 0.5s forwards!important;
}

@keyframes m-shadow-hide {
	from {
		opacity: 1;
		z-index: 3;
	}
	99.99% {
		z-index: 3;
	}
	to {
		opacity: 0;
		z-index: -1;
	}
}

@keyframes m-shadow-show {
	from {
		opacity: 0;
		z-index: -1;
	}
	0.01% {
		z-index: 3;
	}
	to {
		opacity: 1;
		z-index: 3;
	}
}

.m-aside-show {
	animation: m-aside-show 0.5s forwards;
}

.m-aside-hide {
	animation: m-aside-hide 0.5s forwards;
}


@keyframes m-aside-hide {
	from {
		right: 0;
		z-index: 3;
	}
	to {
		right: -100%;
		z-index: 1;
	}
}

@keyframes m-aside-show {
	from {
		right: -100%;
		z-index: 1
	}
	to {
		right: 0;
		z-index: 3;
	}
 }


/* ==============================
* Cart Sidebar
* ============================== */

/* ASIDE
===== */

.b-nav-shadow-aside {
	opacity: 0;
	height: calc(100% - 63px);
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.25);
}

.b-nav-aside {
	overflow-y: auto;
	width: 250px;
	height: calc(100% - 63px);
	position: fixed;
	bottom: 0;
	left: -100%;
	z-index: 3;
	background-color: #fff;
}

/* .btn-aside-close {
	width: 35px;
	height: 35px;
	position: absolute;
	right: 15px;
	top: 36px;
	z-index: 5;
}

.btn-aside-close img {
	width: 18px;
} */

@media (orientation: landscape) {
	.b-nav-aside {
		top: 40px;
		bottom: unset;
		min-height: 300px;
	}
}

/* TOGGLE BUTTON */

.nav-aside-open img {
	height: 38.5em;
	width: 40.5em;
}

.btn-cart-open {
	height: 66px;
	width: 66px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.cart-open_bar {
	background: #000;
	display: block;
	height: 2px;
	width: 18px;
	margin: 0 auto;
}

.cart-open_bar + .cart-open_bar {
	margin-top: 4px;
}


/* MODIFICATORS
============ */

.m-bunner-hide {
	display: none;
}


/* ANIMATIONS
========== */

.m-shadow-hide {
	animation: m-shadow-hide 0.5s forwards;
}

.m-shadow-show {
	animation: m-shadow-show 0.5s forwards;
}

@keyframes m-shadow-hide {
	from {
		opacity: 1;
		z-index: 3;
	}
	99.99% {
		z-index: 3;
	}
	to {
		opacity: 0;
		z-index: -1;
	}
}

@keyframes m-shadow-show {
	from {
		opacity: 0;
		z-index: -1;
	}
	0.01% {
		z-index: 3;
	}
	to {
		opacity: 1;
		z-index: 3;
	}
}

.m-aside-nav-show {
	animation: nav-show 0.5s forwards;
}

.m-aside-nav-hide {
	animation: nav-hide 0.5s forwards;
}


@keyframes nav-hide {
	from {
		left: 0;
	}
	to {
		left: -100%;
	}
}

@keyframes nav-show {
	from {
		left: -100%;
	}
	to {
		left: 0;
	}
}

/* MOBILE */

@media (max-width: 992px) {
	.b-nav-shadow-aside,
	.b-nav-aside {
		height: calc(100% - 49px);
	}
}


/* ==============================
 * sidebar - Cat Nav
 * ============================== */

/* ASIDE
===== */

.b-cat-nav-shadow {
	opacity: 0;
	height: calc(100% - 100px);
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.25);
}

.b-cat-nav-aside {
	height: calc(100% - 100px);
	width: 400px;
	padding: 36px;
	position: fixed;
	bottom: 0;
	left: -100%;
	z-index: 3;
	overflow-y: auto;
	background-color: #fff;
}

.btn-aside-close {
	width: 35px;
	height: 35px;
	/* position: absolute;
	right: 15px;
	top: 36px;
	z-index: 5; */
}

.btn-aside-close img {
	width: 18px;
}

@media (max-width: 540px) {
	.b-cat-nav-aside {
		width: 300px;
	}
}

/* TOGGLE BUTTON */

/* ANIMATIONS */

.b-cat-nav-aside.m-cat-nav-show {
	animation: nav-show 0.5s forwards;
}

.b-cat-nav-aside.m-cat-nav-hide {
	animation: nav-hide 0.5s forwards;
}

.b-cat-nav-shadow.m-cat-nav-show {
	animation: m-shadow-show 0.5s forwards;
}

.b-cat-nav-shadow.m-cat-nav-hide {
	animation: m-shadow-hide 0.5s forwards;
}
