/* Caster Creek Mega - side drawer */

body.ddm .ddm-overlay { position: fixed; inset: 0; background: rgba(8,17,31,.55); z-index: 1400; }
body.ddm .ddm-overlay[hidden] { display: none; }

body.ddm .ddm-drawer {
	position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw);
	background: #fff; z-index: 1500; display: flex; flex-direction: column;
	transform: translateX(-104%); transition: transform .24s ease;
	box-shadow: 0 0 50px rgba(8,17,31,.35); outline: none;
}
body.ddm .ddm-drawer.is-open { transform: none; }

body.ddm .ddm-drawer__head {
	background: var(--ddm-ink); color: #fff; padding: 18px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	font-size: 16px; font-weight: 700; flex: 0 0 auto;
}
body.ddm .ddm-drawer__head > span { display: flex; align-items: center; gap: 10px; }
body.ddm .ddm-drawer__head > span::before {
	content: ""; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px;
	background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
}
body.ddm .ddm-drawer__close,
body.ddm .ddm-drawer__close:hover,
body.ddm .ddm-drawer__close:focus {
	background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22);
	border-radius: 999px; width: 34px; height: 34px; min-height: 0; padding: 0;
	font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
	cursor: pointer; box-shadow: none;
}
body.ddm .ddm-drawer__close:hover { background: rgba(255,255,255,.26); }

body.ddm .ddm-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 0 0 28px; -webkit-overflow-scrolling: touch; }
body.ddm .ddm-drawer__body::-webkit-scrollbar { width: 6px; }
body.ddm .ddm-drawer__body::-webkit-scrollbar-thumb { background: #cfd6e0; border-radius: 6px; }

body.ddm .ddm-drawer__body h3 {
	font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
	color: #8a93a3; margin: 0; padding: 20px 20px 8px;
	border-top: 1px solid #edf0f4;
}
body.ddm .ddm-drawer__body h3:first-child { border-top: 0; padding-top: 16px; }

body.ddm .ddm-drawer__link {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 13px 20px; font-size: 15px; color: #0f1111 !important; font-weight: 500;
	border-bottom: 1px solid #f3f5f8; transition: background .12s, color .12s;
}
body.ddm .ddm-drawer__link::after {
	content: "\203A"; font-size: 20px; line-height: 1; color: #b4bcc8; flex: 0 0 auto;
	transition: transform .12s, color .12s;
}
body.ddm .ddm-drawer__link:hover,
body.ddm .ddm-drawer__link:focus {
	background: #f4f7fb; color: var(--ddm-ink) !important;
}
body.ddm .ddm-drawer__link:hover::after { color: var(--ddm-ink); transform: translateX(3px); }
body.ddm .ddm-drawer__link:last-child { border-bottom: 0; }

@media (max-width: 480px) {
	body.ddm .ddm-drawer { width: 86vw; }
	body.ddm .ddm-drawer__link { padding: 14px 18px; font-size: 14.5px; }
	body.ddm .ddm-drawer__body h3 { padding: 18px 18px 7px; }
}
