/********************************************** MEGAMENU EN PAGINA *****************
	2026 10 MEGAMENU: vista en pagina, .mp_todas todas las categorias, .mp_una una sola
	colores: --mp_color y --mp_hover se redefinen en index
*/
.mp_ct{
	--mp_color: #165f98;
	--mp_hover: #0c65e3;
	--mp_borde: #e6e9ee;
	--mp_txt: #1f2733;
	--mp_txt_2: #4a5462;
	box-sizing: border-box;
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 10px 50px 10px;
	font-family: inherit;
	}
.mp_ct a{
	text-decoration: none;
	}

/**** ICONO ****/
.mp_ico{
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background-color: rgba(0, 0, 0, 0.04);
	}
.mp_ico img,
.mp_ico_svg{
	display: block;
	width: 20px;
	height: 20px;
	}
.mp_ico_svg{
	background-color: var(--mp_color);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	}

/**** TODAS LAS CATEGORIAS ****/
.mp_todas{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	}
.mp_grupo{
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid var(--mp_borde);
	border-radius: 12px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	}
.mp_grupo:hover{
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	}
.mp_img{
	display: block;
	height: 170px;
	overflow: hidden;
	}
.mp_img img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	}
.mp_grupo:hover .mp_img img{
	transform: scale(1.05);
	}
.mp_titulo{
	margin: 0;
	padding: 18px 20px 10px 20px;
	font-family: inherit;
	font-size: 19px;
	line-height: 24px;
	font-weight: 600;
	}
.mp_titulo a{
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--mp_color);
	}
.mp_titulo a:hover{
	color: var(--mp_hover);
	}
.mp_todas .mp_links{
	padding: 0 20px 20px 20px;
	}
.mp_todas .mp_link{
	display: block;
	position: relative;
	padding: 5px 0 5px 16px;
	font-size: 15px;
	line-height: 21px;
	color: var(--mp_txt_2);
	transition: color 0.2s ease, padding 0.2s ease;
	}
.mp_todas .mp_link::before{
	content: '\203A';
	position: absolute;
	left: 0;
	top: 4px;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
	color: var(--mp_color);
	}
.mp_todas .mp_link:hover{
	padding-left: 20px;
	color: var(--mp_hover);
	}

/**** UNA SOLA CATEGORIA ****/
.mp_una .mp_links{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
	}
.mp_una .mp_link{
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px 44px 12px 16px;
	background-color: #fff;
	border: 1px solid var(--mp_borde);
	border-radius: 10px;
	font-size: 16px;
	line-height: 22px;
	color: var(--mp_txt);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	}
.mp_una .mp_link::after{
	content: '\203A';
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	line-height: 26px;
	color: var(--mp_color);
	transition: right 0.2s ease;
	}
.mp_una .mp_link:hover{
	border-color: var(--mp_color);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
	color: var(--mp_hover);
	}
.mp_una .mp_link:hover::after{
	right: 14px;
	}

/**** MOVIL ****/
@media screen and (max-width: 640px) {
	.mp_ct{
		padding: 10px 10px 40px 10px;
		}
	.mp_todas,
	.mp_una .mp_links{
		grid-template-columns: 1fr;
		gap: 14px;
		}
	.mp_img{
		height: 140px;
		}
	}
@media (prefers-reduced-motion: reduce) {
	.mp_grupo, .mp_img img, .mp_link, .mp_link::after{
		transition: none;
		}
	.mp_grupo:hover, .mp_grupo:hover .mp_img img, .mp_una .mp_link:hover{
		transform: none;
		}
	}
