/* 商店頁專用選單（include/storeMenu.php）
   外觀照 dome_web/css/menuStyle.css：桌機 ≥737px 為底部選單列，手機 ≤736px 為頂部黑條＋左側抽屜
   圖片直接沿用 /dome_web/images/ */

.storeMenu a{
	text-decoration:none;
}
.storeMenu ul{
	margin:0;
	padding:0;
	list-style:none;
}

/* ---------- 桌機版：底部選單列 ---------- */
.storeMenu-dbar{
	position:fixed;
	left:0;
	right:0;
	bottom:0;
	z-index:999;
	height:50px;
	padding-right:20px;
	background:#180e0c;
	display:flex;
	justify-content:flex-end;
	align-items:center;
	box-sizing:border-box;
}
.storeMenu-dbar ul{
	display:flex;
}
.storeMenu-dbar a{
	display:block;
	height:50px;
	margin-left:5px;
	/* 文字給讀屏與搜尋引擎，畫面上顯示圖片 */
	overflow:hidden;
	text-indent:-9999px;
	white-space:nowrap;
}
.storeMenu-dbar a.m-life  { width:50px; margin-left:0; background:url(/dome_web/images/menu11_a.jpg); }
.storeMenu-dbar a.m-life:hover  { background:url(/dome_web/images/menu11_b.jpg); }
.storeMenu-dbar a.m-leaf  { width:59px; margin-left:0; background:url(/dome_web/images/menu_leaf_a.jpg); }
.storeMenu-dbar a.m-leaf:hover  { background:url(/dome_web/images/menu_leaf_b.jpg); }
.storeMenu-dbar a.m-bio   { width:44px; background:url(/dome_web/images/menu01_a.jpg); }
.storeMenu-dbar a.m-bio:hover   { background:url(/dome_web/images/menu01_b.jpg); }
.storeMenu-dbar a.m-event { width:51px; background:url(/dome_web/images/menu03_a.jpg); }
.storeMenu-dbar a.m-event:hover { background:url(/dome_web/images/menu03_b.jpg); }
.storeMenu-dbar a.m-guest { width:80px; background:url(/dome_web/images/menu06_a_new.jpg?v=2); }
.storeMenu-dbar a.m-guest:hover { background:url(/dome_web/images/menu06_b_new.jpg); }
.storeMenu-dbar a.m-epaper{ width:70px; background:url(/dome_web/images/menu08_a.jpg); }
.storeMenu-dbar a.m-epaper:hover{ background:url(/dome_web/images/menu08_b.jpg); }
.storeMenu-dbar a.m-ant   { width:44px; background:url(/dome_web/images/menu_ant_a.jpg); }
.storeMenu-dbar a.m-ant:hover   { background:url(/dome_web/images/menu_ant_b.jpg); }
.storeMenu-dbar a.m-home  { width:54px; background:url(/dome_web/images/menu_home_a.jpg); }
.storeMenu-dbar a.m-home:hover  { background:url(/dome_web/images/menu_home_b.jpg?v=3); }
.storeMenu-dbar a.m-store { width:54px; background:url(/dome_web/images/menu_store_a.jpg); }
/* 目前所在頁（store）固定顯示亮起狀態 */
.storeMenu-dbar a.m-store:hover,
.storeMenu-dbar a.m-store.is-current { background:url(/dome_web/images/menu_store_b.jpg?v=2.312); }

/* 底部選單列是固定的，頁尾留出空間避免蓋住內容 */
body{
	padding-bottom:50px;
}

/* 手機版元件在桌機隱藏 */
.storeMenu-mbar,
.storeMenu-drawer,
.storeMenu-mask{
	display:none;
}

/* ---------- 手機版 ---------- */
@media screen and (max-width:736px){
	body{
		padding-bottom:0;
	}
	.storeMenu-dbar{
		display:none;
	}
	/* 頁面左上角的 cheerego.com 連結會被頂部黑條蓋住，手機改由選單裡的 home 回首頁 */
	headerbar{
		display:none;
	}

	.storeMenu-mbar{
		display:block;
		position:fixed;
		top:0;
		left:0;
		right:0;
		z-index:99999;
		height:30px;
		background:#000;
	}
	.storeMenu-toggle{
		position:absolute;
		top:0;
		left:0;
		width:60px;
		height:30px;
		padding:0;
		border:0;
		background:url(/dome_web/images/leftDrop_Icon_grey.svg) no-repeat left center;
		cursor:pointer;
	}
	.storeMenu.is-open .storeMenu-toggle{
		background-image:url(/dome_web/images/leftDrop_Icon_green.svg);
	}
	.storeMenu-quick{
		position:absolute;
		top:0;
		right:0;
		width:76%;
		display:flex;
		justify-content:flex-end;
	}
	.storeMenu-quick a{
		height:30px;
		padding:0 4.5%;
		font:400 12px/30px Georgia, serif;
		color:#666;
		white-space:nowrap;
	}
	.storeMenu-quick a:hover,
	.storeMenu-quick a[aria-current="page"]{
		color:#34dab5;
	}

	.storeMenu-drawer{
		display:block;
		position:fixed;
		top:30px;
		bottom:0;
		left:0;
		z-index:99998;
		width:50%;
		min-width:160px;
		padding-top:20px;
		background:#000;
		overflow-y:auto;
		transform:translateX(-100%);
		transition:transform .5s cubic-bezier(0, 0, 0.2, 1);
		visibility:hidden;
	}
	.storeMenu.is-open .storeMenu-drawer{
		transform:translateX(0);
		visibility:visible;
	}
	.storeMenu-drawer a{
		display:block;
		line-height:40px;
		text-align:center;
		border-bottom:1px solid #1d1d1d;
		color:gray;
		font-size:12px;
		font-family:Georgia, serif;
	}
	.storeMenu-drawer a:hover,
	.storeMenu-drawer a[aria-current="page"]{
		color:#34dab5;
	}
	/* 點抽屜以外的地方關閉選單 */
	.storeMenu.is-open .storeMenu-mask{
		display:block;
		position:fixed;
		top:30px;
		right:0;
		bottom:0;
		left:0;
		z-index:99997;
	}
}
