.t4s-drawer {
	pointer-events: none;
	touch-action: manipulation;
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	transform: translate3d(-104%, 0, 0);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: calc(100vw - 65px);
	height: 100%;
	max-height: 100vh;
	max-height: none;
	visibility: hidden;
	opacity: 0;
	background: var(--t4s-light-color);
	box-shadow: none;
	transition:
		transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
		visibility 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.rtl_true .t4s-drawer,
.t4s-drawer__right {
	right: 0;
	left: auto;
	transform: translate3d(104%, 0, 0);
}

.t4s-drawer__bottom-to-top,
.t4s-drawer__top-to-bottom {
	transform: translateY(104%) translateZ(0);
	visibility: hidden;
	perspective: 800px;
	backface-visibility: hidden;
	transition:
		transform 0.4s,
		opacity 0.4s,
		visibility 0.4s;
}

.t4s-drawer__top-to-bottom {
	transform: translateY(-104%) translateZ(0);
}

.rtl_true .t4s-drawer__right {
	right: auto;
	left: 0;
	transform: translate3d(-104%, 0, 0);
}

.t4s-drawer[aria-hidden='false'] {
	pointer-events: auto;
	transform: none;
	visibility: visible;
	opacity: 1;
}

.t4s-drawer__content {
	overflow: auto;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	-ms-flex-align: stretch;
	-ms-flex-pack: justify;
	-webkit-overflow-scrolling: touch;
}

.t4s-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	padding: 0 0 0 20px;
	border-bottom: 1px solid rgb(129 129 129 / 20%);
}

.t4s-drawer__header span {
	flex: 1 1 auto;
	font-size: 16px;
	font-weight: 600;
	color: var(--t4s-dark-color);
	text-transform: uppercase;
	-webkit-box-flex: 1;
}

button.t4s-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	color: var(--t4s-dark-color);
	background-color: transparent;
}

button.t4s-drawer__close:hover {
	color: var(--t4s-dark-color);
	background-color: #f5f5f5;
}

.t4s-drawer__wrap {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
}

.t4s-drawer__main {
	position: relative;
	flex: 1 1 auto;
}

.t4s-drawer__main .t4s-drawer__scroll {
	position: absolute;
	inset: 0;
	max-height: 100%;
}

.t4s-drawer__bottom {
	transform: translateY(45px);
	flex: 0 0 auto;
	padding-bottom: 15px;
	opacity: 0;
	transition:
		opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		-webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transition:
		opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		-webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.t4s-drawer[aria-hidden='false'] .t4s-drawer__bottom {
	transform: translateY(0);
	opacity: 1;
	transition:
		opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s,
		-webkit-transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s;
	transition:
		opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s,
		transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s,
		-webkit-transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s;
}

.t4s-drawer {
	opacity: 1;
}

.t4s-drawer__bottom-to-top,
.t4s-drawer__top-to-bottom {
	opacity: 0;
}

.t4s-drawer__bottom-to-top-lg[aria-hidden='false'],
.t4s-drawer__bottom-to-top[aria-hidden='false'],
.t4s-drawer__top-to-bottom-lg[aria-hidden='false'],
.t4s-drawer__top-to-bottom[aria-hidden='false'] {
	visibility: visible;
	opacity: 1;
}

@media screen and (min-width: 641px) {
	.t4s-drawer {
		width: 340px;
	}
}

@media screen and (min-width: 1025px) {
	.t4s-drawer__bottom-to-top-lg,
	.t4s-drawer__top-to-bottom-lg {
		transform: translateY(104%) translateZ(0);
		visibility: hidden;
		perspective: 800px;
		backface-visibility: hidden;
		opacity: 0;
		transition:
			transform 0.4s,
			opacity 0.4s,
			visibility 0.4s;
	}

	.t4s-drawer__top-to-bottom-lg {
		transform: translateY(-104%) translateZ(0);
	}
}

.t4s-section-sidebar {
	display: block;
}

@media (max-width: 360px) {
	.t4s-drawer {
		width: calc(100vw - 4px);
	}
}

