.el-drawer-btn,
.el-drawer,
.el-drawer-overlay {
	display: none;
}
@media (max-width: 1024px) {
	.el-drawer-btn {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		position: fixed;
		left: 16px;
		bottom: 16px;
		z-index: 1000;
		width: 54px;
		height: 54px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #141414;
		box-shadow: 0 10px 26px rgba(20, 20, 20, 0.3);
		cursor: pointer;
		opacity: 0;
		transform: translateY(20px) scale(0.9);
		pointer-events: none;
		transition: opacity 0.3s ease, transform 0.3s ease;
	}
	.el-drawer-btn.is-visible {
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}
	.el-drawer-btn span {
		display: block;
		width: 22px;
		height: 2px;
		border-radius: 2px;
		background: #FAF8F3;
	}
	.el-drawer-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1001;
		background: rgba(20, 20, 20, 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}
	.el-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1002;
		width: min(320px, 86vw);
		height: 100%;
		height: 100dvh;
		padding: 20px 24px 24px;
		box-sizing: border-box;
		background: #FAF8F3;
		box-shadow: -12px 0 40px rgba(20, 20, 20, 0.18);
		transform: translateX(105%);
		transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overs-behavior: contain;
		overscroll-behavior: contain;
		font-family: 'Jost', sans-serif;
	}
	html.el-drawer-open .el-drawer { transform: none; }
	html.el-drawer-open .el-drawer-overlay { opacity: 1; pointer-events: auto; }
	html.el-drawer-open .el-drawer-btn { opacity: 0; pointer-events: none; }
	html.el-drawer-open, html.el-drawer-open body { overflow: hidden; }
	.el-drawer-head {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		padding-bottom: 14px;
		border-bottom: 1px solid #D8CFBC;
	}
	.el-drawer-title {
		flex: 1 1 auto;
		min-width: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: #4E6247;
	}
	.el-drawer .el-drawer-close {
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: 0;
		padding: 0;
		font-size: 34px;
		line-height: 1;
		color: #141414;
		cursor: pointer;
	}
	.el-drawer .el-drawer-list {
		list-style: none !important;
		margin: 6px 0 0 !important;
		padding: 0 !important;
	}
	.el-drawer .el-drawer-list li {
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.el-drawer .el-drawer-list li::before,
	.el-drawer .el-drawer-list li::marker {
		content: none !important;
		display: none !important;
	}
	/* Fixed colours, including links the visitor has already opened (the theme makes visited links blue). */
	html body .el-drawer .el-drawer-list a,
	html body .el-drawer .el-drawer-list a:link,
	html body .el-drawer .el-drawer-list a:visited {
		display: block;
		padding: 12px 0;
		font-size: 23px;
		font-weight: 300;
		line-height: 1.25;
		color: #141414 !important;
		text-decoration: none !important;
		border-bottom: 1px solid rgba(216, 207, 188, 0.6);
		-webkit-tap-highlight-color: transparent;
	}
	html body .el-drawer .el-drawer-list a:hover,
	html body .el-drawer .el-drawer-list a:focus-visible {
		color: #4E6247 !important;
	}
	html body .el-drawer .el-drawer-list a.is-current,
	html body .el-drawer .el-drawer-list a.is-current:visited {
		font-weight: 500;
		color: #4E6247 !important;
	}
	.el-drawer .el-drawer-list a.is-current::after {
		content: '';
		display: inline-block;
		width: 8px;
		height: 8px;
		margin-left: 12px;
		border-radius: 50%;
		background: #4E6247;
		vertical-align: middle;
	}
	.el-drawer-follow {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-top: 18px;
	}
	.el-drawer-follow-label {
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		color: #4E6247;
	}
	.el-drawer-social {
		display: flex;
		gap: 12px;
	}
	.el-drawer .el-drawer-social a,
	.el-drawer .el-drawer-social a:visited {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 1px solid #D8CFBC;
		border-radius: 50%;
	}
	.el-drawer-social img {
		width: 20px;
		height: 20px;
		display: block;
	}
	.el-drawer-actions {
		margin-top: auto;
		padding-top: 22px;
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	html body .el-drawer .el-drawer-call,
	html body .el-drawer .el-drawer-call:visited {
		display: block;
		text-align: center;
		padding: 15px 20px;
		background: #141414;
		color: #FAF8F3 !important;
		text-decoration: none !important;
		font-size: 13px;
		font-weight: 500;
		letter-spacing: 0.14em;
		text-transform: uppercase;
	}
	.el-drawer .el-drawer-top {
		padding: 14px 20px;
		background: transparent;
		border: 1px solid #141414;
		border-radius: 0;
		color: #141414;
		font-family: inherit;
		font-size: 13px;
		font-weight: 500;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		cursor: pointer;
	}
}
@media (max-width: 1024px) and (max-height: 640px) {
	html body .el-drawer .el-drawer-list a,
	html body .el-drawer .el-drawer-list a:visited {
		padding: 9px 0;
		font-size: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.el-drawer, .el-drawer-btn, .el-drawer-overlay { transition: none; }
}
