/**
 * Menú hamburguesa — diseño bonito con gradiente azul-rosa
 * Igual en Desktop, Tablet y Mobile
 *
 * @package Lins
 */

/* Contenedor — z-index alto para quedar por encima del header de Astra */
.lins-hamburguesa {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

/* Botón hamburguesa */
.lins-hamburguesa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none !important;
	cursor: pointer;
}

.lins-hamburguesa-btn:hover {
	background-color: transparent !important;
	box-shadow: none !important;
}


/* Overlay oscuro — cerrado: no captura clics para que el botón reciba el primer click */
.lins-hamburguesa-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 9998;
}
.lins-hamburguesa-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Panel del menú (slide desde la derecha) */
.lins-hamburguesa-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 90vw);
	max-width: 100%;
	background: #fff;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
	visibility: hidden;
	z-index: 9999;
	overflow-y: auto;
}
.lins-hamburguesa-panel.is-open {
	transform: translateX(0);
	visibility: visible;
}

.lins-hamburguesa-panel-inner {
	padding: 5rem 2rem 2rem;
	min-height: 100%;
}

/* Botón cerrar (X) en el panel */
.lins-hamburguesa-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.lins-hamburguesa-close:hover {
	background: rgba(116, 120, 171, 0.1);
}
.lins-hamburguesa-close-icon {
	font-size: 1.75rem;
	line-height: 1;
	color: #7478AB;
	font-weight: 300;
}

/* Menú de navegación */
.lins-hamburguesa-nav {
	margin-top: 1rem;
}
.lins-hamburguesa-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lins-hamburguesa-menu li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(116, 120, 171, 0.1);
}
.lins-hamburguesa-menu a {
	display: block;
	padding: 1rem 0;
	font-size: 1.1rem;
	font-weight: 500;
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
	background: linear-gradient(90deg, #7478AB, #FFCEEF);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.lins-hamburguesa-menu a:hover {
	color: #7478AB;
	-webkit-text-fill-color: #7478AB;
	padding-left: 0.5rem;
}
.lins-hamburguesa-menu .current-menu-item > a {
	color: #7478AB;
	-webkit-text-fill-color: #7478AB;
	font-weight: 600;
}

/* Submenús */
.lins-hamburguesa-menu .sub-menu {
	list-style: none;
	margin: 0 0 0 1rem;
	padding: 0;
	border: none;
}
.lins-hamburguesa-menu .sub-menu li {
	border: none;
}
.lins-hamburguesa-menu .sub-menu a {
	font-size: 0.95rem;
	padding: 0.65rem 0;
}
