/* 1.0.66e 選單中的語言／幣別（參考 momoclothinglab）＋「約」金額不斷行 */

/* ---------- 「約」＋金額永遠同一行（購物車抽屜、購物車頁、商品卡、商品頁、結帳） ---------- */
html body.fz66e-cur .fz65zg-est,
html body.fz66e-cur .woocommerce-Price-amount[data-fz-conv="1"] { white-space: nowrap !important; }
html body.fz66e-cur .fz65zg-est { max-width: 100%; }
/* 總計／小計列：第一行新台幣，下一行靠右「約 CN¥80.52」，再一行小字「實際以新台幣結帳」，不再擠成窄欄。 */
html body.fz66e-cur .fz66e-tot { flex-wrap: wrap !important; }
html body.fz66e-cur .fz66e-tot > .fz65zg-est,
html body.fz66e-cur .fz66e-tot .fz65zg-est { display: block !important; flex: 0 0 100% !important; margin: 2px 0 0 !important; text-align: right; }
html body.fz66e-cur .fz66e-tot > .fz65zg-note,
html body.fz66e-cur .fz66e-tot .fz65zg-note { display: block !important; flex: 0 0 100% !important; width: 100%; margin: 2px 0 0 !important; text-align: right; white-space: normal; line-height: 1.4; }
html body.fz66e-cur td.fz66e-tot .fz65zg-est,
html body.fz66e-cur td.fz66e-tot .fz65zg-note { text-align: inherit; }
html body.fz66e-cur .woocommerce-mini-cart__total.fz66e-tot .fz65zg-est,
html body.fz66e-cur .woocommerce-mini-cart__total.fz66e-tot .fz65zg-note { text-align: right !important; }

/* ---------- 電腦版表頭下拉 ---------- */
html body.fz66e .fz66e-hd { display: flex; align-items: center; gap: 22px; margin-right: 22px; height: 100%; }
html body.fz66e .fz66e-hd--above { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: auto; margin-right: 0; z-index: 100009; }
html body.fz66e .ast-above-header-bar .ast-builder-grid-row,
html body.fz66e .ast-above-header-bar .site-above-header-wrap { position: relative; }
html body.fz66e .fz66e-dd { position: relative; }
html body.fz66e .fz66e-hd--above .fz66e-dd__menu { left: auto; right: 0; }
html body.fz66e .fz66e-hd--above .fz66e-dd--cur .fz66e-dd__menu { right: auto; left: 0; }
html body.fz66e .fz66e-hd--light .fz66e-dd__btn { color: #111 !important; }
html body.fz66e .fz66e-hd--light .fz66e-dd__menu { background: #fff; border-color: #d9d9d9; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
html body.fz66e .fz66e-hd--light .fz66e-dd__item button { color: #111 !important; }
html body.fz66e .fz66e-dd__btn {
	display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; margin: 0; border: 0 !important; background: transparent !important;
	color: #fff !important; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: 0; cursor: pointer; box-shadow: none !important; white-space: nowrap;
}
html body.fz66e .fz66e-dd__btn:hover,
html body.fz66e .fz66e-dd.is-open .fz66e-dd__btn { opacity: .6; }
html body.fz66e .fz66e-dd__btn:focus-visible { outline: 1px dotted #fff; outline-offset: 3px; }
html body.fz66e .fz66e-sym { font-weight: 700; font-size: 16px; }
html body.fz66e .fz66e-ic { display: inline-block; vertical-align: middle; }
html body.fz66e .fz66e-chev { margin-left: 2px; }
html body.fz66e .fz66e-dd__menu {
	display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 100010; min-width: 90px; margin: 0; padding: 15px 16px; list-style: none;
	background: #111; border: 1px solid rgba(255, 255, 255, .28); max-height: 70vh; overflow-y: auto;
}
html body.fz66e .fz66e-dd.is-open .fz66e-dd__menu { display: block; }
html body.fz66e .fz66e-dd__item { margin: 0; padding: 0; }
html body.fz66e .fz66e-dd__item button {
	display: block; width: 100%; padding: 0; margin: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; text-align: left;
	color: #fff !important; font-size: 14px; font-weight: 400; line-height: 20px; cursor: pointer; white-space: nowrap;
}
html body.fz66e .fz66e-dd--lang .fz66e-dd__item button { padding: 2.5px 0; line-height: 30px; }
html body.fz66e .fz66e-dd__item button:hover { opacity: .6; }
html body.fz66e .fz66e-dd__item.is-on button { font-weight: 700; }

/* ---------- 手機漢堡選單「其他」：文字靠左、圖示靠右 ---------- */
html body.fz66e .fz66e-mrow { display: block !important; }
html body.fz66e .fz66e-mrow__btn {
	display: flex !important; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 0 !important; margin: 0;
	border: 0 !important; background: transparent !important; box-shadow: none !important; color: #111 !important; font-size: 14px; font-weight: 400; text-align: left; cursor: pointer;
}
html body.fz66e .fz66e-mrow__i { display: inline-flex; align-items: center; justify-content: center; width: 24px; color: #111; }
html body.fz66e .fz66e-mrow__i svg { width: 20px; height: 20px; }
html body.fz66e .fz66e-mrow__i--sym { font-size: 20px; font-weight: 700; line-height: 1; }
html body.fz66e .fz66e-sub { padding: 8px 20px 24px; color: #111; }
html body.fz66e .fz66e-sub__head {
	display: flex !important; align-items: center; gap: 10px; width: 100%; padding: 12px 0 !important; margin: 0 0 4px; border: 0 !important; border-bottom: 1px solid var(--fz-mist, #E5E5E5) !important;
	background: transparent !important; box-shadow: none !important; color: #737373 !important; font-size: 18px; font-weight: 400; letter-spacing: .5px; cursor: pointer;
}
html body.fz66e .fz66e-sub__list { list-style: none; margin: 0; padding: 0; }
html body.fz66e .fz66e-sub__item { margin: 0; }
html body.fz66e .fz66e-sub__item button {
	display: block; width: 100%; min-height: 48px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
	color: #111 !important; font-size: 15px; font-weight: 400; text-align: left; cursor: pointer;
}
html body.fz66e .fz66e-sub__item.is-on button { font-weight: 700; }
html body.fz66e .fz66e-sub__item.is-on button::after { content: "✓"; float: right; margin-right: 4px; font-weight: 400; }
html body.fz66e .fz66e-ext { color: inherit; }
/* 1.0.66g：幣別放在 TranslatePress 語言切換器旁邊 */
html body.fz66e li.fz66e-li { display: flex; align-items: center; list-style: none; }
html body.fz66e .fz66e-hd--beside { margin-right: 14px; height: auto; }
html body.fz66e .fz66e-hd--beside .fz66e-dd__menu { left: auto; right: 0; }
html body.fz66e li.fz66e-in-ls { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; }
html body.fz66e li.fz66e-in-ls > a { width: auto !important; flex: 0 0 auto; }
html body.fz66e li.fz66e-in-ls > .fz66e-hd--beside { margin-right: 6px; }
html body.fz66e li.fz66e-in-ls:has(> .fz66e-hd--beside:hover) > .sub-menu,
html body.fz66e li.fz66e-in-ls:has(> .fz66e-hd--beside .is-open) > .sub-menu,
html body.fz66e li.fz66e-in-ls:has(> .fz66e-hd--beside [aria-expanded="true"]) > .sub-menu { display: none !important; }
html body.fz66e .fz66e-hd--beside .fz66e-dd__btn { color: inherit !important; }
