/* Drawer menu (WPCode 24654). Open/close stays on .nav-drawer + .opened (custom JS 223, framework CSS 24649). */

.nav-drawer.ac-drawer {
	--acm-red: #b3261e;
	--acm-red-soft: #fbe9e7;
	--acm-ink: #1c1b1f;
	--acm-muted: #5c5860;
	--acm-card: #f6f3f1;
	--acm-w: min(420px, 100vw);
	display: flex;
	flex-direction: column;
	width: var(--acm-w) !important;
	max-width: 100vw !important;
	left: calc(-1 * var(--acm-w)) !important;
	height: 100%;
	padding: 0 !important;
	overflow: hidden;
	background: #fff !important;
	color: var(--acm-ink);
	border-radius: 0 20px 20px 0;
}
.ac-drawer *,
.ac-drawer *:before,
.ac-drawer *:after {
	box-sizing: border-box;
}

/* Top: logo + close */
.ac-drawer__top {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	padding: 18px 28px;
	border-bottom: 1px solid #ece6e2;
}
.ac-drawer__logo img {
	display: block;
	width: 96px;
	height: auto;
}
.ac-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--acm-card);
	color: var(--acm-ink);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.ac-drawer__close:hover {
	background: var(--acm-red);
	color: #fff;
}

/* Body */
.ac-drawer__body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 18px 28px 20px;
	overscroll-behavior: contain;
}
.ac-drawer__home {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--acm-ink);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
}
.ac-drawer__home:hover,
.ac-drawer__home.is-current {
	background: var(--acm-red);
}

/* Groups in two balanced columns */
/* Sections stacked, full width; links inside each section flow in columns. */
.ac-drawer__grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ac-drawer__group {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px 12px 8px;
	border-radius: 16px;
	background: var(--acm-card);
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
}
.ac-drawer .ac-drawer__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px !important;
	padding: 0 8px 8px !important;
	border-bottom: 2px solid var(--acm-red);
	color: var(--acm-red) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ac-drawer ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.ac-drawer li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ac-drawer__group a {
	display: block;
	padding: 4px 8px;
	border-radius: 8px;
	color: var(--acm-ink) !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none !important;
	transition: background .12s ease, color .12s ease;
}
.ac-drawer__group a:hover {
	background: var(--acm-red-soft);
	color: var(--acm-red) !important;
}
.ac-drawer__group a.is-current {
	background: var(--acm-red);
	color: #fff !important;
	font-weight: 700;
}
.ac-drawer__group ul {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 6px;
}
.ac-drawer__group--pairs ul {
	grid-template-columns: 1fr;
}

/* Bottom bar */
.ac-drawer__foot {
	display: flex;
	flex: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 16px 28px 20px;
	border-top: 1px solid #ece6e2;
	background: #fff;
}
.ac-drawer__btn,
.ac-drawer__tel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}
.ac-drawer__btn--dark {
	background: var(--acm-ink);
	color: #fff !important;
}
.ac-drawer__btn--red {
	background: var(--acm-red);
	color: #fff !important;
}
.ac-drawer__tel {
	margin-left: auto;
	padding: 0 4px;
	color: var(--acm-red) !important;
}
.ac-drawer__btn:hover {
	filter: brightness(1.12);
}

/* Phones: one column, compact */
@media (max-width: 700px) {
	.nav-drawer.ac-drawer {
		border-radius: 0;
	}
	.ac-drawer__top {
		padding: 12px 16px;
	}
	.ac-drawer__body {
		padding: 14px 16px 16px;
	}
	.ac-drawer__logo img {
		width: 84px;
	}
	.ac-drawer__close {
		width: 40px;
		height: 40px;
	}
	.ac-drawer__home {
		margin-bottom: 10px;
		padding: 7px 14px;
		font-size: 14px;
	}
	.ac-drawer__grid {
		column-count: 1;
	}
	.ac-drawer__group {
		margin-bottom: 8px;
		padding: 10px 8px 6px;
		border-radius: 14px;
	}
	.ac-drawer .ac-drawer__title {
		margin-bottom: 4px !important;
		padding: 0 6px 6px !important;
		font-size: 12px !important;
	}
	.ac-drawer__group ul {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0 4px;
	}
	.ac-drawer__group a {
		padding: 4px 6px;
		font-size: 13px;
		line-height: 1.25;
	}
	.ac-drawer__foot {
		flex-wrap: nowrap;
		gap: 8px;
		padding: 10px 16px 14px;
	}
	.ac-drawer__btn {
		flex: 1;
		min-height: 42px;
		padding: 0 10px;
		font-size: 14px;
	}
	.ac-drawer__tel {
		flex: none;
		width: 42px;
		min-height: 42px;
		margin: 0;
		padding: 0;
		border-radius: 50%;
		background: var(--acm-red-soft);
		font-size: 0;
	}
	.ac-drawer__tel svg {
		width: 20px;
		height: 20px;
	}
}

/* Compact layout (one link per row, 13px): tighter spacing so the whole menu fits on laptop screens. */
.ac-drawer__top {
	padding: 12px 24px;
}
.ac-drawer__body {
	padding: 14px 24px 14px;
}
.ac-drawer__home {
	margin-bottom: 10px;
	padding: 7px 14px;
	font-size: 14px;
}
.ac-drawer__grid {
	gap: 8px;
}
.ac-drawer__group {
	padding: 9px 10px 6px;
	border-radius: 14px;
}
.ac-drawer .ac-drawer__title {
	margin-bottom: 4px !important;
	padding: 0 8px 6px !important;
	font-size: 12px !important;
}
.ac-drawer__foot {
	flex-wrap: nowrap;
	gap: 8px;
	padding: 12px 24px 14px;
}
.ac-drawer__btn {
	flex: 1;
	min-height: 40px;
	padding: 0 12px;
	font-size: 14px;
}
.ac-drawer__tel {
	flex: none;
	width: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: var(--acm-red-soft);
	font-size: 0;
}
.ac-drawer__tel svg {
	width: 20px;
	height: 20px;
}
@media (max-width: 700px) {
	.ac-drawer__top {
		padding: 10px 16px;
	}
	.ac-drawer__body {
		padding: 12px 16px;
	}
	.ac-drawer__foot {
		padding: 10px 16px 14px;
	}
}

/* Footer (5 columns since the Depozite column): keep phone numbers on one line. */
.et-l--footer .et_pb_blurb .et_pb_module_header a[href^="tel:"] {
	white-space: nowrap;
}
.et-l--footer .et_pb_blurb .et_pb_module_header {
	font-size: 15px !important;
}
