/* .map{
	display: flex;
	width: 720px;
	height: 505px;
	border: 1px solid #000;
	position: relative;
}
.pos{
	position: absolute;
	transition: 0.3s all ease;
	cursor: pointer;
}
.pos:hover{
	transform: scale(1.1);
	background: rgba(0,0,0,0.3);
}
.subte-escalera{
	bottom: 10px;
	left: 350px;
	width: 131px;
}
.subte-uc{
	bottom: 10px;
	left: 165px;
	width: 147px;
}
.subte-acuario{
	bottom: 268px;
	left: 4px;
	width: 241px;
	background: rgba(0,0,0,0);
}
 */


 :root{
	--bg:#0a0f1c; --panel:#0d1426; --text:#e7eefc; --muted:#9fb2d6;
	--line:rgba(255,255,255,.08); --a:#1b7cff; --b:#00c2ff; --shadow:rgba(0,0,0,.55); --r:16px;
}
.layout{
	display:grid;
	grid-template-columns:340px 1fr;
	height: calc(100vh - 64px)
}

.panel{
	padding: 20px;
	overflow: auto;
	/* background:linear-gradient(180deg, rgba(13,20,38,.92), rgba(11,16,32,.92));
	border-right:1px solid var(--line); */
}

.panel .box{
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 20px;
	background-color: #2a2c38;
	border-radius: 8px;
}
.panel .box h4{
	font-size: 12px;
    font-weight: 700;
    margin: 20px 0;
    padding: 0 20px;
    color: #fff;
    text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.panel .box ul{
	display: flex;
	flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 10px;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 20px;
	transition: 0.3s all ease;
	background: #34363d;
	overflow: auto;
	border-radius: 0 0 8px 8px;
}
.panel .box ul li{
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
	font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
	gap: 10px;
}
.panel .box ul li.f{
	width: 100%;
}


	.card{
	background:rgba(255,255,255,.03);
	border:1px solid var(--line);
	border-radius:var(--r);
	padding:14px;
	box-shadow:0 12px 30px var(--shadow);
	}
	.row{margin-top:12px}
	.label{font-size:12px;color:var(--muted);margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}
	.pillRow{display:flex;flex-wrap:wrap;gap:8px}
	.pill{
	border:1px solid var(--line);
	background:rgba(255,255,255,.02);
	color:var(--text);
	padding:8px 10px;border-radius:999px;
	cursor:pointer;font-size:13px;user-select:none;
	transition:transform .12s ease,border-color .12s ease,background .12s ease;
	}
	.pill:hover{transform:translateY(-1px);border-color:rgba(27,124,255,.55);background:rgba(27,124,255,.08)}
	.pill.active{border-color:rgba(27,124,255,.9);background:rgba(27,124,255,.14);box-shadow:0 0 0 2px rgba(27,124,255,.12) inset}
	.input{
	width:100%;padding:12px 12px;border-radius:12px;
	border:1px solid var(--line);
	background:rgba(0,0,0,.18);
	color:var(--text);outline:none;
	}
	.input::placeholder{color:rgba(159,178,214,.7)}
	.map-unlock{
		display:flex;
		align-items:center;
		justify-content:center;
		width:100%;
		margin-top:12px;
		border-color:rgba(0,194,255,.7);
		background:rgba(0,194,255,.12);
	}
	.map-unlock[hidden]{display:none}
	.hint{color:rgba(159,178,214,.75);font-size:12px;line-height:1.35;margin-top:10px}
	.viewer{position:relative;overflow:hidden}
	.viewer:before{
	content:"";position:absolute;inset:0;opacity:.35;pointer-events:none;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size:48px 48px;
	}
	#svgHost{width:100%;height:100%;position:relative;z-index:1}

	/* Tooltip */
	#tooltip{
	position:fixed;z-index:50;
	padding:8px 10px;border-radius:12px;
	background:rgba(13,20,38,.92);
	border:1px solid rgba(255,255,255,.10);
	color:var(--text);
	font-size:12px;
	box-shadow:0 16px 30px rgba(0,0,0,.45);
	pointer-events:none;
	transform:translate(12px, 12px);
	display:none;
	max-width:260px;
	}
	#tooltip .t1{font-weight:700}
	#tooltip .t2{color:rgba(159,178,214,.9);margin-top:2px}

	/* Modal */
	.modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:16px;}
	.modal.open{display:flex}
	.backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter: blur(4px);}
.dialog{
	position:relative;
	z-index:1;
	width:min(720px, 100%);
	max-height:calc(100vh - 32px);
	background:linear-gradient(180deg, rgba(13,20,38,.95), rgba(11,16,32,.95));
	border:1px solid rgba(255,255,255,.10);
	border-radius:18px;
	box-shadow:0 26px 60px rgba(0,0,0,.65);
	padding:0;
	overflow-x: hidden;
	overflow-y: auto;
}
.dialogHeader{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:10px;
	max-height: 280px;
    overflow: hidden;
    background: #a7a9ac;
}
.dialogTitle{
	font-weight:800;
	font-size:18px;
	margin: 20px 0 0;
}
.dialogSub{
	color:#000000;
	font-size:12px;
}

.xbtn{
	appearance:none;border:1px solid rgba(255,255,255,.10);
	background:rgba(255,255,255,.03);
	color:var(--text);
	border-radius:12px;
	cursor:pointer;
	position: absolute;
	right: 20px;
    top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
}
.xbtn:hover{
	border-color:rgba(0,194,255,.6);
	background:rgba(0,194,255,.08)
}
.detail{
	display:grid;
	grid-template-columns:1fr;
	gap:10px;
	background: #fff;
	padding: 0 20px 20px;
}
.logo-tienda{
	width: 100%;
	max-width: 100px;
	background-color: #fff;
	max-height: 100px;
	border-radius: 12px;
	overflow: hidden;
    margin-top: -50px;
    box-shadow: 0px 1px 10px -5px #000;
}
.logo-tienda img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.kv .v{
	font-size: 14px;
    font-weight: 400;
    margin: 20px 0;
}
.k{
	color:rgba(159,178,214,.85);
	font-size:11px;
}
.shop-label{
	font-weight: 700;
	fill: rgba(231,238,252,.92);
	paint-order: stroke;
	stroke: rgba(0,0,0,.65);
	pointer-events: none;
	user-select: none;
}

/* Full-screen mall map inspired by Aviapark's high-contrast wayfinding UI */
body.map-page{overflow:hidden;touch-action:manipulation}
body.map-page main{height:calc(100vh - 64px);min-height:0;background:#241830}
body.map-page footer{display:none}
body.map-page .layout{position:relative;display:block;height:100%;min-height:0;background:#241830}
body.map-page .viewer{position:absolute;inset:0;overflow:hidden;background:#241830}
body.map-page .viewer:before{opacity:.18}
body.map-page .panel{
	position:absolute;top:24px;left:24px;z-index:10;width:min(340px, calc(100% - 48px));
	max-height:calc(100% - 48px);padding:0;overflow:auto;
}
body.map-page .panel .box{
	margin-bottom:12px;background:rgba(36,24,48,.96);border:1px solid rgba(255,255,255,.1);
	border-radius:16px;box-shadow:0 18px 50px rgba(11,42,35,.22);backdrop-filter:blur(12px)
}
body.map-page .panel .box ul{background:rgba(255,255,255,.045)}
body.map-page .pill{border-color:rgba(244,243,223,.18);background:rgba(255,255,255,.05);color:#f4f3df}
body.map-page .pill:hover{border-color:#f7941e;background:rgba(247,148,30,.10)}
body.map-page .pill.active{border-color:#f7941e;background:#f7941e;color:#241830;box-shadow:none}
body.map-page .input{border-color:rgba(244,243,223,.16);background:rgba(255,255,255,.07);color:#f4f3df}
.map-search-field{position:relative;width:100%;display:flex;align-items:center}
.map-search-field .material-symbols-outlined{position:absolute;left:12px;color:#f7941e;z-index:1}
.map-search-field .input{padding-left:44px}
.map-category-list{
	max-height:280px;display:flex !important;flex-direction:column !important;flex-wrap:nowrap !important;
	gap:0 !important;padding:8px 0 !important;overflow-x:hidden !important;overflow-y:auto !important
}
.map-category-list li{width:100%;max-width:100%;display:block !important}
.map-category-list li[hidden]{display:none !important}
.category-list-item{
	display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;
	padding:11px 16px;border:0;border-left:3px solid transparent;background:transparent;
	color:#f4f3df;font-size:13px;text-align:left;cursor:pointer;transition:.18s ease
}
.category-list-item:hover{background:rgba(255,255,255,.06)}
.category-list-item.active{border-left-color:#f7941e;background:rgba(247,148,30,.1);color:#f7941e;font-weight:700}
.category-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:13px;background:rgba(255,255,255,.09);font-size:11px}
body.map-page .panel .box.m{display:flex;flex-direction:row;overflow:hidden;background:#2a2c38;border:0;border-radius:8px}
body.map-page .panel .box a.mid{
	display:flex;width:50%;height:96px;align-items:center;flex-direction:column;justify-content:center;
	color:#5e6368;font-size:12px;font-weight:600;text-transform:uppercase;cursor:pointer
}
body.map-page .panel .box a.mid.selected{background-color:#3e4250;color:#fff;border-radius:0 8px 8px 0}
.floor-switcher{
	position:absolute;right:24px;top:50%;z-index:10;transform:translateY(-50%);
	display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;
	background:rgba(36,24,48,.96);border-radius:18px;box-shadow:0 18px 50px rgba(11,6,16,.28)
}
.floor-switcher-title{color:#b9cfc1;font-size:10px;font-weight:800;text-transform:uppercase}
.floor-switcher .pill{width:42px;height:42px;padding:0;display:grid;place-items:center;font-weight:800}
.map-zoom-controls{
	position:absolute;right:24px;bottom:24px;z-index:10;display:flex;align-items:center;gap:8px;padding:10px;
	background:rgba(36,24,48,.96);border-radius:18px;box-shadow:0 18px 50px rgba(11,6,16,.28)
}
.map-zoom-controls .pill{height:42px;min-width:42px;padding:0 14px;display:grid;place-items:center;font-size:18px;font-weight:800}
.map-zoom-controls .map-reset{font-size:10px;text-transform:uppercase}
body.map-page .map-unlock{border-color:#f7941e;background:rgba(247,148,30,.12)}
.map-filter-toggle{display:none}

@media (max-width:1060px){
	body.map-page main{height:calc(100vh - 64px)}
	body.map-page .panel{display:none;top:66px;left:12px;width:calc(100% - 24px);max-height:calc(100% - 78px)}
	body.map-page .layout.filters-open .panel{display:block}
	.map-filter-toggle{
		position:absolute;top:12px;left:12px;z-index:30;display:flex !important;align-items:center;justify-content:center;
		gap:6px;height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.14);border-radius:22px;
		background:rgba(36,24,48,.96);box-shadow:0 10px 30px rgba(11,6,16,.28);
		color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;cursor:pointer
	}
	.map-filter-toggle .material-symbols-outlined{color:#f7941e;font-size:20px}
	body.map-page .layout.filters-open .map-filter-toggle{background:#f7941e;color:#241830}
	body.map-page .layout.filters-open .map-filter-toggle .material-symbols-outlined{color:#241830}
	body.map-page .panel .box{margin-bottom:8px}
	body.map-page .panel .box h4{margin:12px 0;padding:0 14px}
	body.map-page .panel .box ul{padding:12px}
	.map-category-list{max-height:180px;overflow-x:hidden !important;overflow-y:auto !important}
	.floor-switcher{
		top:12px;right:12px;bottom:auto;z-index:29;transform:none;display:flex !important;flex-direction:row;
		gap:4px;padding:4px;border-radius:22px
	}
	.floor-switcher .pill{width:36px;height:36px;font-size:12px}
	.floor-switcher-title{display:none}
	.map-zoom-controls{
		position:fixed;
		right:12px;
		bottom:calc(env(safe-area-inset-bottom, 0px) + 12px);
		z-index:30;
		display:flex !important;
	}
}
@media (max-width:719px){
	body.map-page main{height:calc(100vh - 69px)}
}
.shop-label.dim{
	opacity: .20;
}
