.ybi-mm,
button.ybi-mm__abrir {
	display: none;
}

/* O tema estiliza todo <button> (rosa); neutraliza nos botoes da gaveta. */
button.ybi-mm__abrir,
button.ybi-mm__abrir:hover,
button.ybi-mm__abrir:focus,
button.ybi-mm__fechar,
button.ybi-mm__fechar:hover,
button.ybi-mm__fechar:focus,
button.ybi-mm__sub,
button.ybi-mm__sub:hover,
button.ybi-mm__sub:focus {
	border-color: rgba(28, 59, 39, 0.15);
	background: #fff;
	color: #1C3B27;
	box-shadow: none;
}

button.ybi-mm__sub,
button.ybi-mm__sub:hover,
button.ybi-mm__sub:focus {
	border: 0;
	background: none;
}

@media (max-width: 1024px) {
	.elementor-element-791b5af .elementor-menu-toggle,
	.elementor-element-791b5af .elementor-nav-menu--dropdown {
		display: none !important;
	}

	.elementor-element-791b5af .elementor-widget-container {
		display: none;
	}

	.elementor-element-791b5af {
		display: flex;
		justify-content: flex-end;
	}

	button.ybi-mm__abrir {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 0 11px;
		border: 1px solid rgba(28, 59, 39, 0.15);
		border-radius: 999px;
		background: #fff;
		cursor: pointer;
	}

	button.ybi-mm__abrir span {
		display: block;
		height: 2px;
		border-radius: 2px;
		width: 100%;
		background: #1C3B27;
	}

	.ybi-mm {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 99999;
	}

	.ybi-mm[hidden] {
		display: none;
	}

	.ybi-mm__fundo {
		position: absolute;
		inset: 0;
		background: rgba(22, 36, 27, 0.5);
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.ybi-mm__painel {
		display: flex;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		flex-direction: column;
		width: min(86vw, 360px);
		padding: 20px 24px 28px;
		overflow-y: auto;
		background: #F6F4EE;
		font-family: "Public Sans", sans-serif;
		transform: translateX(100%);
		transition: transform 0.3s ease;
	}

	.ybi-mm.is-open .ybi-mm__fundo {
		opacity: 1;
	}

	.ybi-mm.is-open .ybi-mm__painel {
		transform: none;
	}

	.ybi-mm__topo {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 20px;
		padding-bottom: 16px;
		border-bottom: 1px solid rgba(28, 59, 39, 0.12);
	}

	.ybi-mm__logo img {
		width: auto;
		max-height: 44px;
	}

	.ybi-mm__fechar {
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: #fff;
		color: #1C3B27;
		font-size: 26px;
		line-height: 1;
		cursor: pointer;
	}

	.ybi-mm__lista,
	.ybi-mm__lista .sub-menu {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.ybi-mm__lista > li {
		position: relative;
		border-bottom: 1px solid rgba(28, 59, 39, 0.1);
	}

	.ybi-mm__lista a {
		display: block;
		padding: 15px 44px 15px 0;
		color: #16241B;
		font-size: 18px;
		font-weight: 600;
		text-decoration: none;
	}

	.ybi-mm__lista .current-menu-item > a {
		color: #C79A45;
	}

	.ybi-mm__lista .sub-menu {
		display: none;
		padding: 0 0 10px 14px;
	}

	.ybi-mm__lista .sub-menu a {
		padding: 9px 0;
		font-size: 15px;
		font-weight: 500;
	}

	.ybi-mm__lista li.is-open > .sub-menu {
		display: block;
	}

	.ybi-mm__sub {
		position: absolute;
		top: 8px;
		right: 0;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.ybi-mm__sub::before {
		display: block;
		width: 9px;
		height: 9px;
		margin: auto;
		border-right: 2px solid #1C3B27;
		border-bottom: 2px solid #1C3B27;
		content: "";
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}

	li.is-open > .ybi-mm__sub::before {
		transform: rotate(-135deg);
	}

	.ybi-mm__acoes {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin-top: auto;
		padding-top: 28px;
	}

	.ybi-mm__btn {
		display: block;
		padding: 15px 20px;
		border: 2px solid #1C3B27;
		border-radius: 999px;
		background: #1C3B27;
		color: #fff !important;
		font-size: 14px;
		font-weight: 700;
		text-align: center;
		text-decoration: none;
	}

	.ybi-mm__btn--sec {
		background: transparent;
		color: #1C3B27 !important;
	}

	.ybi-mm-lock,
	.ybi-mm-lock body {
		overflow: hidden;
	}
}
