#micc-contenedor-mapa {
    font-family: sans-serif;
/*     max-width: 1200px; */
    margin: 0 auto;
}
/*.micc-header-mapa {
    margin-bottom: 20px;
    text-align: right;
}*/

#micc-selector-planta {
	position: absolute;
	right: 45px;
	top: 60px;
	z-index: 100;
background-color: #B7006A;
  color: #fff;
  padding: 10px 5px 10px 20px;
  font-family: 'Zalando Sans Expanded';
  font-weight: 500;
  font-size: 16px;
  line-height: 153%;
  letter-spacing: 0%;
  border-right: 15px solid #B7006A;
}

.micc-cuerpo-mapa {
    display: flex;
/*     gap: 20px; */
/*     position: relative; */
}
.micc-col-izquierda {
/*     width: 25%; */
	min-width: 445px;
/*     border-right: 1px solid #eee; */
/*     max-height: 600px; */
	background-color: #f3f3f3;
	padding: 20px 35px;
    overflow-y: auto;
  transition: width .3s ease, opacity .3s ease; /* Transición suave para el plegado de la columna izquierda */
}

.micc-lista-tiendas {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.micc-tienda-item {
    padding: 10px;
    cursor: pointer;
    font-family: 'Zalando Sans Expanded';
    color: #000000;
	font-weight: 400;
	font-size: 16px;
	line-height: 153%;
	letter-spacing: 0%;
/*     border-bottom: 1px solid #f5f5f5; */
    transition: background 0.2s;
}
.micc-tienda-item:hover, .micc-tienda-item.resaltado, .micc-tienda-item.seleccionado {
/*     background-color: #f0f0f0; */
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #D6006D;
}

/* Estructura del Carrusel Deslizante */
.micc-col-derecha {
/*     width: 75%; */
    position: relative;
    overflow: hidden; /* Oculta las plantas que están fuera de vista */
    background: #fff;
    min-height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.micc-carrusel-wrapper {
    width: 100%;
    overflow: hidden;
}
.micc-carrusel-slider {
    display: flex;
    width: 400%; /* 4 secciones (General + 3 plantas) */
    transition: transform 0.5s ease-in-out;
}
.micc-slide {
    width: 25%; /* Cada slide ocupa exactamente el ancho del contenedor */
    box-sizing: border-box;
    padding: 0;
}
.micc-wrapper-svg svg {
    width: 100%;
    height: auto;
}

/* Estilos de interacción con el SVG */
.micc-local-area {
    fill: #e0e0e0;
    stroke: #fff;
    stroke-width: 2;
    cursor: pointer;
    transition: fill 0.3s, stroke 0.3s, opacity 0.3s;
}
.micc-local-area:hover, .micc-local-area.resaltado, .micc-local-area.seleccionado {
/*     fill: rgba(219, 48, 105, 0.2); */
/*     stroke: #db3069; */
/*     stroke-width: 5; */
    opacity: 1 !important;
}

/* Flechas de navegación */
.micc-flecha {
    position: absolute;
/*     top: 50%; */
/*     transform: translateY(-50%); */
	bottom: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;     /* Centrado vertical */
  justify-content: center;  /* Centrado horizontal */
  cursor: pointer;
  background-color: #cbcbcb;
  border: none;
  padding: 0;
  transition: transform 0.3s ease; /* Aplica la animación de rotación a todo el botón */
    z-index: 10;
}

.micc-flecha:hover svg {
	transform: scale(0.8);
}

.micc-next:hover svg {
	transform: scale(0.8) rotate(180deg);
}

.micc-prev {
/* 	left: 10px; */
	left: 50%;
	transform: translateX(-130%);
}

.micc-next {
/* 	right: 10px; */
	right: 50%;
	transform: translateX(130%);
}

.micc-next svg {
	transform: rotate(180deg);
}

/* Bocadillo con Logo (Tooltip) */
#micc-tooltip {
    position: absolute;
    max-width: 250px;
    background: white;
    border: 1px solid #717170;
    padding: 30px;
    border-radius: 6px;
    z-index: 100;
    pointer-events: none; /* No entorpece los clicks del ratón */
/*     box-shadow: 0 4px 10px array(0,0,0,0.1); */
    box-shadow: 10px 10px 20px 0px #0000001A;
    transform: translate(-50%, -110%);
    text-align: center;
}
#micc-tooltip img {
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
}

#micc-tooltip-titulo {
	font-family: Lato;
	font-weight: 400;
	font-size: 16px;
	line-height: 153%;
	letter-spacing: 0%;
	text-align: center;
	color: #2C2E31;
}

.micc-tooltip-flecha {
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #717170;
}

/* Ficha Emergente de la tienda (Modal) */
#micc-modal {
    position: absolute;
    right: 45px;
    top: 150px;
    width: 500px;
    background: #f4f4f4;
    border: 1px solid #ccc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
/*     padding: 15px; */
    z-index: 110;
    border-radius: 4px;
}
#micc-modal-cerrar {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
}
.micc-modal-contenido #micc-modal-img {
    width: 100%;
    height: 265px;
/*     margin-bottom: 10px; */
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.micc-modal-cabecera {
	position: relative;
}

#micc-modal-logo {
	width: 100px;
	position: absolute;
	left: 20px;
	top: 20px;
}

.micc-modal-separador {
background-image: url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%25' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f4f4f4'%3E%3Cpath d='M1280 140V0S993.46 140 640 139 0 0 0 0v140z' /%3E%3C/g%3E%3C/svg%3E");
  transform: scale(1,1);
  bottom: 0;
  height: 20px;
  background-size: 100% 20px;
  width: 100%;
  position: absolute;
}

.micc-modal-cuerpo {
	padding: 35px 20px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 20px 0;
	align-items: start;
}

#micc-modal-titulo {
	font-family: 'Zalando Sans Expanded';
	font-weight: 400;
	font-size: 18px;
	line-height: 153%;
	letter-spacing: 0%;
	color: #B7006A;
	padding-bottom: 0;
}

#micc-modal-resumen {
	font-family: Lato;
	font-weight: 400;
	font-size: 20px;
	line-height: 153%;
	letter-spacing: 0%;
}

#micc-modal-enlace {
	font-family: 'Area Extended';
	font-weight: 700;
	font-size: 14px;
	line-height: 110%;
	letter-spacing: 0%;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 16px; /* Espacio entre el texto y la flecha */
	background-color: #c50075; /* Color fucsia de fondo */
	color: #ffffff; /* Color del texto */
	padding: 19px 18px 16px 18px
}

/* Estilo base del contenedor del SVG */
#micc-modal-enlace svg {
	/* Transición suave para el efecto de escalado */
	transition: transform 0.3s ease;
}

/* Efecto scale en la flecha al pasar el cursor sobre el botón */
#micc-modal-enlace:hover svg {
	transform: scale(1.25);
}

/* Contenedor cuadrado de 54x54px */
.btn-plegar-lista, #micc-modal-cerrar {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;     /* Centrado vertical */
  justify-content: center;  /* Centrado horizontal */
  cursor: pointer;
  background-color: #e20078; /* Color magenta de fondo (opcional, puedes cambiarlo o quitarlo) */
  border: none;
  padding: 0;
  transition: transform 0.3s ease; /* Aplica la animación de rotación a todo el botón */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#micc-modal-cerrar {
	left: unset;
	right: 0;
}

.btn-plegar-lista:hover .btn-flecha, #micc-modal-cerrar:hover .btn-aspa {
	transform: scale(0.8);
}

.btn-flecha {
	transition: transform 0.2s ease;
}

.micc-pie {
	background-color: #ffffff;
	padding: 70px 0 55px 95px;
	display: flex;
	align-items: center;
	gap: 30px 50px;
}

.micc-pie-col-izquierda {
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 30px 0;
	flex: 0 0 auto;
}

.micc-planta {
	display: flex;
	align-items: center;
	gap: 0 15px;
}

#micc-planta-actual {
	font-family: 'Zalando Sans Expanded';
	font-weight: 400;
	font-size: 22px;
	line-height: 153%;
	letter-spacing: 0%;
	text-decoration: underline;
	text-decoration-color: #D6006D;
	color: #000000;
}

.micc-pie-col-derecha {
	flex: 1;
}

#micc-leyenda {
	display: flex;
	justify-content: center;
	align-items: start;
	gap: 0 40px;
	transition: width .3s ease, opacity .3s ease;
}

.leyenda-oculta #micc-leyenda {
	width: 0;
	height: 0;
	opacity: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}
.micc-leyenda-elemento {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px 0;
}

.micc-leyenda-elemento-titulo {
	font-family: Lato;
	font-weight: 400;
	font-size: 16px;
	line-height: 153%;
	letter-spacing: 0%;
	text-align: center;
	color: #2C2E31;
}

/* --- CLASES DE ESTADO (Se activan con jQuery) --- */

/* Cuando el contenedor o el layout tiene la clase plegado */
.lista-plegada .micc-col-izquierda, .lista-cerrada .micc-col-izquierda {
  width: 0;
  opacity: 0;
  padding: 0 !important;;
  margin: 0;
  min-width: 0;
}

/* Rotamos la flecha hacia la derecha (180°) cuando esté plegado */
.lista-plegada .btn-flecha {
  transform: rotate(180deg);
}

.lista-plegada .btn-plegar-lista:hover .btn-flecha {
	transform: rotate(180deg) scale(0.8);
}

@media (max-width: 980px) {
/*	.et-db #et-boc .et-l.et-l--header .et_builder_inner_content {
		z-index: 2;
	}

	.et_pb_column_0_tb_footer.et_pb_column.et-last-child.et_flex_column {
		z-index: 1;
	}*/

	#micc-selector-planta {
		right: 20px;
		top: 20px;
		padding: 7px 5px 7px 15px;
	}

	.micc-col-izquierda, .btn-plegar-lista {
		display: none !important;
	}

	.micc-flecha {
		width: 38px;
		height: 38px;
	}

	.micc-flecha svg {
		height: 21px;
	}

	.micc-prev {
		left: 20px;
		transform: none;
	}

	.micc-next {
		right: 20px;
		transform: none;
	}

	#micc-tooltip {
		max-width: 100px;
		padding: 0 10px 10px 10px;
	}

	#micc-tooltip img {
		max-width: 64px;
		margin: 0 auto 10px auto;
	}

	#micc-tooltip-titulo {
		font-size: 12px;
		line-height: 120%;
		padding-bottom: 0;
	}

	#micc-modal {
		width: 300px;
		top: 30px;
		left: 50%;
		transform: translateX(-50%);
	}

	#micc-modal-logo {
		width: 60px;
		left: 10px;
		top: 10px;
	}

	#micc-modal-cerrar {
		width: 32px;
		height: 32px;
	}

	#micc-modal-cerrar svg {
		width: 15px;
		height: 15px;
	}

	.micc-modal-cuerpo {
		padding: 25px 20px 20px 20px;
		gap: 15px 0;
	}

	#micc-modal-titulo {
		font-size: 16px;
	}

	#micc-modal-resumen {
		font-size: 14px;
	}

	#micc-modal-enlace {
		font-size: 10px;
		padding: 14px 15px 12px 15px;
	}

	#micc-modal-enlace svg {
		width: 11px;
		height: 11px;
	}

	.micc-pie {
		flex-direction: column-reverse;
		padding: 0 10px 40px 10px;
	}
	.micc-pie-col-izquierda {
		align-items: center;
		gap: 10px 0;
	}

	.micc-pie-col-izquierda .micc-planta {
		gap: 0 10px;
	}

	.micc-pie-col-izquierda .micc-planta img {
		width: 18px;
	}

	#micc-planta-actual {
		font-size: 14px;
	}

	.micc-pie-col-izquierda .micc-logo {
		width: 200px;
	}

	#micc-leyenda {
		padding-top:30px;
		gap: 0 15px;
	}

	.micc-leyenda-elemento-icono {
		width: 44px;
	}

	.micc-leyenda-elemento-titulo {
		font-size: 11px;
		line-height: 120%;
	}
}