#dynamic-mask{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	z-index: 3;
	opacity: 0;
	visibility: hidden;
	transition: .4s;
}

#dynamic-mask.active{
	opacity: 1;
	visibility: visible;
}
.dynamic-sides{
	position: fixed;
	padding: 1rem 4px 1rem 1.5rem;
	background-color: white;
    z-index: 12;
    width: 100%;
    transition: .4s;
}

@media (max-height: 450px){
	.dynamic-sides{
		height: 100%;
	}
}

/* Dynamic Side Menu */
#dynamicMenu{
	top: 0;
	left: -400px;
	max-width: 400px;
	height: 100%;
	opacity: 0;
	visibility: hidden;
}
#dynamicMenu.active{
	left: 0;
	opacity: 1;
	visibility: visible;
}

.js-dynamic-close{
	display: flex;
	align-items: center;
	column-gap: .5rem;
	font-size: 14px;
	text-decoration: none;
	font-family: "Noto Sans", sans-serif;
	font-weight: 500;
}

.js-dynamic-close img{
	width:  14px;
	height: 14px;
	object-fit: contain;
	transition: .4s;
}

.js-dynamic-close:hover img{
	transform: translateX(-5px);
}

#dynamicMenu .footer-info-bottom{
	border-bottom: 0;
	padding-bottom: 0;
}

/* Dynamic Side Search */
#dynamicSearch{
    top: -50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: fit-content;
    bottom: auto;
    background-color: white;
    padding: 1rem 0;
    transition: .4s;
    z-index: 5;
}
#dynamicSearch.active{
    top: 162px;
}

#dynamicSearch .dynamic-side-body{
    padding-right: 0;
}


/* Dynamic Collection Filter */
#dynamicFilters{
	height: 100%;
	z-index: 10;
	padding-top: 1.25rem;
	display: flex;
	flex-direction: column;
	z-index: 0;
}

#dynamicFilters.active{
	left: 0;
}

#dynamicFilters.active ~ header{
	z-index: 3;
}

.dynamic-side-header-filter{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.dynamic-side-header-title{
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#dynamicFilters .dynamic-side-body{
	overflow: auto;
}

@media (max-width: 579px){
	#dynamicFilters{
		position: fixed;
		top: 0;
		left: -400px;
		max-width: 400px;
		z-index: 4;
	}
    .collection-filter {
        position: fixed;
        top: 0;
        left: -85%;
        width: 85%;
        transition: .4s;
        height: 100vh;
        background-color: rgba(255, 255, 255, 1);
        z-index: 5;
        overflow-y: auto;
    }
    .collection-filter.active{
    	left: 0;
    }
}

/* DYNAMIC FILTER FOOTER */
.dynamic-side-footer{
	display: flex;
	flex-direction: column;
	row-gap: .5rem;
	padding: 1rem 1rem 0 0;
	margin-top: auto;
}

.dynamic-side-footer a,
.dynamic-side-footer .btn{
    font-weight: 600;
    font-size: 13px;
    line-height: 17px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    height: 50px;
}


/* Dynamic Cart */
#dynamicCart{
	top: 0;
	right: -450px;
	max-width: 450px;
	height: 100%;
	z-index: 10;
	padding-top: 1.25rem;
	display: flex;
	flex-direction: column;
}

#dynamicCart.active{
	right: 0;
}

#dynamicCart.active ~ header,
#dynamicCart.active ~ .main-promo{
	z-index: 2;
}

@media (max-width: 579px){
	#dynamicCart{
		max-width: 100%;
		right: -100%;
	}
}

.dynamic-side-body-cart{
	margin-top: 2rem;
	overflow: auto;
    scrollbar-gutter: stable;
    height: 100%;
}


/* SCROLL */
.dynamic-side-body::-webkit-scrollbar,
.cart-list::-webkit-scrollbar {
    width: 4px;
    border-radius: 8px;
}

.dynamic-side-body::-webkit-scrollbar:horizontal,
.cart-list::-webkit-scrollbar:horizontal {
    height: 8px;
}

.dynamic-side-body::-webkit-scrollbar-track,
.cart-list::-webkit-scrollbar-track {
    background: #DEC1CE;
    border-radius: 10px;
    width: 2px;
}

.dynamic-side-body::-webkit-scrollbar-thumb,
.cart-list::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

.dynamic-side-body::-webkit-scrollbar-thumb:hover,
.cart-list::-webkit-scrollbar-thumb {
    background: #555;
}

.dynamic-side-body::-webkit-scrollbar-thumb:active,
.cart-list::-webkit-scrollbar-thumb {
    background: #787878;
}

.dynamic-side-body::-webkit-scrollbar-corner,
.cart-list::-webkit-scrollbar-corner {
    background: red;
}
