/* ==========================================================
   MENÚ MOBILE — panel lateral (off-canvas)
   hello-biz-child/css/mobile-menu.css
   Mismo lenguaje visual que el carrito lateral y el cajón de filtros.
   ========================================================== */

.mosca-menu-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 1000000;

	display: flex;
	flex-direction: column;
	width: min(84vw, 340px);
	height: 100dvh;
	overflow-y: auto;
	overscroll-behavior: contain;

	background: #1E1E1E;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);

	transform: translateX(-100%);
	visibility: hidden;
	transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

html.mosca-menu-open .mosca-menu-drawer {
	transform: translateX(0);
	visibility: visible;
	transition: transform 0.3s ease, visibility 0s;
}

/* Fondo oscuro detrás */
.mosca-menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

html.mosca-menu-open .mosca-menu-backdrop {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease, visibility 0s;
}

/* Sin scroll de la página con el menú abierto */
html.mosca-menu-open,
html.mosca-menu-open body {
	overflow: hidden !important;
}

/* ---------- Cabecera: logo + cerrar ---------- */
.mosca-menu-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 12px 16px 20px;
	border-bottom: 1px solid #333;
}

.mosca-menu-drawer__logo img {
	display: block;
	height: 34px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

.mosca-menu-drawer button.mosca-menu-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.mosca-menu-drawer button.mosca-menu-drawer__close:hover,
.mosca-menu-drawer button.mosca-menu-drawer__close:focus-visible {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #FF4902 !important;
}

.mosca-menu-drawer__close svg {
	width: 22px;
	height: 22px;
}

/* ---------- Etiqueta de sección ---------- */
.mosca-menu-drawer__label {
	padding: 22px 20px 6px;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #998159;
}

/* ---------- Ítems ---------- */
.mosca-menu-drawer__nav {
	display: flex;
	flex-direction: column;
}

.mosca-menu-drawer a.mosca-menu-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid #2c2c2c;

	font-family: "gin", sans-serif;
	font-size: 26px;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: #FFFFFF !important;

	transition: color 0.2s ease, background-color 0.2s ease;
}

.mosca-menu-drawer__link::after {
	content: '›';
	font-family: 'Montserrat', sans-serif;
	font-size: 26px;
	line-height: 1;
	color: #FF4902;
	transition: transform 0.2s ease;
}

.mosca-menu-drawer a.mosca-menu-drawer__link:hover,
.mosca-menu-drawer a.mosca-menu-drawer__link:focus-visible {
	color: #FF4902 !important;
	background: rgba(255, 255, 255, 0.03);
}

.mosca-menu-drawer__link:hover::after {
	transform: translateX(4px);
}

/* Página actual */
.mosca-menu-drawer a.mosca-menu-drawer__link.is-current {
	color: #FF4902 !important;
}

/* ---------- Pie: redes ---------- */
.mosca-menu-drawer__foot {
	margin-top: auto;
	padding: 20px;
	border-top: 1px solid #333;
}

.mosca-menu-drawer__social {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 10px;
}

.mosca-menu-drawer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
}

.mosca-menu-drawer__social img,
.mosca-menu-drawer__social svg,
.mosca-menu-drawer__social i {
	width: 22px !important;
	height: 22px !important;
	font-size: 22px !important;
}

@media (prefers-reduced-motion: reduce) {
	.mosca-menu-drawer,
	.mosca-menu-backdrop {
		transition: none !important;
	}
}

/* ---------- Desplegable nativo de Elementor ----------
   Mientras la hamburguesa está visible, el desplegable de Elementor
   no se muestra nunca: lo reemplaza este panel. La clase la pone el JS. */
html.mosca-menu-activo .elementor-location-header .e-n-menu-wrapper,
html.mosca-menu-activo .elementor-location-header .elementor-nav-menu--dropdown {
	display: none !important;
}
