/**
 * 官網頁尾新版（inc/footer-new.php）
 * 四個時段的配色都寫成變數，在 [data-period] 上切換：morning／noon／afternoon／night
 */

/* 佈景主題的頁尾外框歸零（底色、留白、容器寬度），整塊交給新頁尾 */
.wd-footer:has(.igft) {
	padding: 0;
	background: none;
	border: 0;
}

.wd-footer .main-footer:has(.igft) {
	max-width: none;
	padding: 0;
}

.igft {
	--ft-bg: linear-gradient(180deg, #FDE9DA 0%, #FAEFE0 100%);
	--ft-ink: #2A2B2A;
	--ft-ink-2: #55524C;
	--ft-line: rgba(42, 43, 42, .14);
	--ft-hover: #B02023;
	--ft-paw: #E39B7B;
	--ft-big: #B02023;
	--ft-big-fill: rgba(176, 32, 35, .07);
	--ft-card: #E7F3EC;
	--ft-card-ink: #1F3A2C;
	--ft-card-ink-2: #3E5A4A;
	--ft-card-q: #D3E9DC;
	--ft-chip: #FFFFFF;
	--ft-chip-hover: #F2FAF5;
	--ft-sun: #F6B26B;
	--ft-big-logo: #E9C9A0;
	--ft-logo-hover: #B02023;

	position: relative;
	overflow: hidden;
	background: var(--ft-bg);
	color: var(--ft-ink);
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	text-align: left;
	transition: background .6s ease, color .6s ease;
}

/* 午安：明亮暖米＋陽光琥珀卡 */
.igft[data-period="noon"] {
	--ft-bg: linear-gradient(180deg, #FFF1D2 0%, #FAEFE0 100%);
	--ft-paw: #E0A93A;
	--ft-card: #FFEBB8;
	--ft-card-ink: #3D2C08;
	--ft-card-ink-2: #6A5320;
	--ft-card-q: #FFE09A;
	--ft-chip: rgba(255, 255, 255, .75);
	--ft-chip-hover: #FFFFFF;
	--ft-sun: #F5B400;
	--ft-big-logo: #E9C9A0;
	--ft-logo-hover: #B02023;
}

/* 下午好：夕照金＋赤陶粉橘卡 */
.igft[data-period="afternoon"] {
	--ft-bg: linear-gradient(180deg, #F6D7B8 0%, #F8E6D2 100%);
	--ft-paw: #D07A55;
	--ft-card: #F9DCCF;
	--ft-card-ink: #4A2416;
	--ft-card-ink-2: #7A4632;
	--ft-card-q: #F4C9B6;
	--ft-chip: rgba(255, 255, 255, .7);
	--ft-chip-hover: #FFFFFF;
	--ft-sun: #E8834A;
	--ft-big-logo: #9A7356;
	--ft-logo-hover: #B02023;
}

/* 晚安：夜空＋深靛藍卡 */
.igft[data-period="night"] {
	--ft-big-logo: #F1EBE2;
	--ft-big-op: .22;
	--ft-logo-hover: #E9C9A0;
	--ft-bg: linear-gradient(180deg, #2B2E3A 0%, #1E2029 100%);
	--ft-ink: #F1EBE2;
	--ft-ink-2: #C7C1B8;
	--ft-line: rgba(255, 255, 255, .14);
	--ft-hover: #F3D3A8;
	--ft-paw: #E9C9A0;
	--ft-big: rgba(241, 235, 226, .35);
	--ft-big-fill: rgba(255, 255, 255, .05);
	--ft-card: #343A55;
	--ft-card-ink: #F1EBE2;
	--ft-card-ink-2: #C9C6D6;
	--ft-card-q: #3D4462;
	--ft-chip: rgba(255, 255, 255, .1);
	--ft-chip-hover: rgba(255, 255, 255, .18);
}

.igft a { color: inherit; text-decoration: none; }

/* ---------- 天空裝飾：太陽隨時段換位置，晚上是彎月＋星星 ---------- */
.igft-sky { position: absolute; inset: 0; pointer-events: none; }
.igft-sun { position: absolute; width: 120px; height: 120px; border-radius: 999px; background: radial-gradient(circle, var(--ft-sun) 0%, transparent 68%); opacity: .55; transition: all .8s ease; }
.igft[data-period="morning"] .igft-sun { left: 6%; top: 150px; }
.igft[data-period="noon"] .igft-sun { left: 46%; top: -40px; width: 160px; height: 160px; opacity: .45; }
.igft[data-period="afternoon"] .igft-sun { right: 8%; left: auto; top: 120px; opacity: .6; }
.igft[data-period="night"] .igft-sun { opacity: 0; }
.igft-moon { position: absolute; right: 9%; top: 46px; width: 54px; height: 54px; border-radius: 999px; box-shadow: -12px 8px 0 0 #F3E3C3; transform: rotate(-20deg); opacity: 0; transition: opacity .6s; }
.igft[data-period="night"] .igft-moon { opacity: .9; }
.igft-stars {
	position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
	background-image:
		radial-gradient(1.5px 1.5px at 8% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 22% 30%, #fff, transparent),
		radial-gradient(1px 1px at 35% 8%, #fff, transparent), radial-gradient(1.5px 1.5px at 48% 22%, #fff, transparent),
		radial-gradient(1px 1px at 61% 6%, #fff, transparent), radial-gradient(1.5px 1.5px at 72% 28%, #fff, transparent),
		radial-gradient(1px 1px at 84% 16%, #fff, transparent), radial-gradient(1.5px 1.5px at 93% 34%, #fff, transparent),
		radial-gradient(1px 1px at 15% 46%, #fff, transparent), radial-gradient(1px 1px at 55% 42%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 78% 52%, #fff, transparent), radial-gradient(1px 1px at 4% 64%, #fff, transparent),
		radial-gradient(1px 1px at 41% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 66% 70%, #fff, transparent),
		radial-gradient(1px 1px at 90% 74%, #fff, transparent), radial-gradient(1px 1px at 28% 80%, #fff, transparent);
	animation: igft-twinkle 4s ease-in-out infinite;
}
.igft[data-period="night"] .igft-stars { opacity: .75; }
@keyframes igft-twinkle { 50% { filter: brightness(.55); } }

/* ---------- 內容 ---------- */
.igft-in { position: relative; max-width: 1300px; margin: 0 auto; padding: 72px 40px 0; }

.igft-hello { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: end; }
.igft-hi { margin: 0; font-size: clamp(30px, 3.6vw, 50px); font-weight: 900; line-height: 1.22; color: var(--ft-ink); }
.igft-hi small { display: block; margin-top: 14px; font-size: 15px; font-weight: 500; line-height: 1.75; color: var(--ft-ink-2); max-width: 36em; }

.igft-cat { justify-self: end; width: 100%; max-width: 270px; color: var(--ft-ink); }
.igft-cat svg { display: block; width: 100%; height: auto; }
.igft-cat__tail { transform-origin: 70px 118px; animation: igft-tail 3s ease-in-out infinite; }
@keyframes igft-tail { 50% { transform: rotate(8deg); } }
/* 眼睛與 Z：早午醒著、下午瞇眼、晚上睡著冒 Z */
.igft-cat__sleepy, .igft-cat__sleep, .igft-cat__z { display: none; }
.igft[data-period="afternoon"] .igft-cat__open { display: none; }
.igft[data-period="afternoon"] .igft-cat__sleepy { display: inline; }
.igft[data-period="night"] .igft-cat__open { display: none; }
.igft[data-period="night"] .igft-cat__sleep, .igft[data-period="night"] .igft-cat__z { display: inline; }
.igft-cat__z { animation: igft-z 2.6s ease-in-out infinite; }
.igft-cat__z2 { animation-delay: .8s; }
@keyframes igft-z { 0% { opacity: 0; transform: translate(0, 6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -14px); } }

/* 腳印：從問候語走向小貓 */
.igft-paws { position: relative; height: 34px; margin: 8px 0 28px; }
.igft-paws span { position: absolute; width: 20px; height: 20px; color: var(--ft-paw); opacity: 0; transform: rotate(90deg); animation: igft-step 7s infinite; }
.igft-paws svg { display: block; width: 100%; height: 100%; fill: currentColor; }
@keyframes igft-step { 0% { opacity: 0; } 6% { opacity: .55; } 45% { opacity: .55; } 62%, 100% { opacity: 0; } }

.igft-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; padding: 36px 0 34px; border-top: 1px solid var(--ft-line); }

/* 「都可以問我們」客服卡：顏色跟著時段換 */
.igft-help { position: relative; overflow: hidden; padding: 32px 32px 30px; border-radius: 22px; background: var(--ft-card); color: var(--ft-card-ink); transition: background .6s ease, color .6s ease; }
.igft-help::before { content: "?"; position: absolute; right: -6px; top: -56px; font-size: 220px; font-weight: 900; line-height: 1; color: var(--ft-card-q); transition: color .6s ease; }
.igft-help h3 { position: relative; margin: 0 0 10px; font-size: 23px; font-weight: 900; line-height: 1.4; color: inherit; }
.igft-help p { position: relative; margin: 0 0 18px; font-size: 14px; line-height: 1.8; color: var(--ft-card-ink-2); }
.igft-chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.igft-chips a { padding: 6px 13px; border-radius: 999px; background: var(--ft-chip); font-size: 13px; color: var(--ft-card-ink); transition: background .15s; }
.igft-chips a:hover { background: var(--ft-chip-hover); color: var(--ft-card-ink); }
.igft-line { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: #06C755; color: #fff !important; font-size: 15px; font-weight: 700; transition: transform .15s; }
.igft-line:hover { transform: translateY(-2px); }
.igft-line svg { width: 20px; height: 20px; fill: #fff; }

.igft-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-content: start; }
.igft-col h4 { margin: 0 0 14px; font-size: 14px; font-weight: 900; letter-spacing: .04em; color: var(--ft-ink); }
.igft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.igft-col li { margin: 0; }
.igft-col li a { font-size: 14px; color: var(--ft-ink-2); transition: color .15s; }
.igft-col li a:hover { color: var(--ft-hover); }
.igft-soc { display: flex; gap: 10px; margin-top: 18px; }
.igft-soc a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1.5px solid currentColor; color: var(--ft-ink); }
.igft-soc svg { width: 16px; height: 16px; fill: currentColor; }

.igft-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 0; border-top: 1px solid var(--ft-line); font-size: 12px; color: var(--ft-ink-2); }


/* 最底下的大字 igo：下緣切掉一截，滑進頁尾會淡淡填色 */
/* 底部大 LOGO：平常切在「g 的尾巴」上面（l、g 的圓圈、o 都完整，只藏 g 往下彎的那截，約 LOGO 高度 84% 處）；
   滑鼠移過去往上抬，整個 LOGO 露出來＋換成這個時段的顏色。
   --lw＝LOGO 寬、--lh＝LOGO 高（向量圖比例 187×174）。上面留 20% 的空位讓它抬上去 */
.igft-big { --lw: clamp(260px, 32vw, 480px); --lh: calc(var(--lw) * 0.9305); position: relative; height: calc(var(--lh) * 1.04); overflow: hidden; margin-top: 10px; color: var(--ft-big-logo, #B02023); user-select: none; }
.igft-big svg { position: absolute; left: 50%; top: calc(var(--lh) * .2); display: block; width: var(--lw); height: auto; opacity: var(--ft-big-op, .92); transform: translateX(-50%); transition: color .45s ease, opacity .45s ease, transform .6s cubic-bezier(.22,.72,.24,1); }
.igft-big:hover svg,
.igft-big:active svg { color: var(--ft-logo-hover, #3F8F63); opacity: 1; transform: translate(-50%, calc(var(--lh) * -.18)); }
@media (max-width: 767px) { .igft-big { --lw: 240px; margin-top: 6px; } }

/* ---------- 平板／手機 ---------- */
@media (max-width: 1024px) {
	.igft-main { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 767px) {
	.igft-in { padding: 48px 16px 0; }
	.igft-hello { grid-template-columns: 1fr; gap: 14px; }
	.igft-hi small { font-size: 14px; }
	.igft-cat { justify-self: start; max-width: 180px; }
	.igft-paws { margin: 6px 0 22px; }
	.igft-main { padding: 28px 0 26px; }
	.igft-help { padding: 26px 22px 24px; }
	.igft-help h3 { font-size: 20px; }
	.igft-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
	.igft-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
	.igft-sun { width: 90px; height: 90px; }
	.igft-moon { right: 18px; top: 30px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.igft-paws span, .igft-cat__tail, .igft-cat__z, .igft-stars { animation: none; }
	.igft-paws span { opacity: .45; }
}

/* 佈景主題對 h3／h4 另外指定了字體與字重，頁尾裡要壓回粗黑體 */
.igft .igft-help h3,
.igft .igft-col h4,
.igft .igft-hi {
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif !important;
	font-weight: 900 !important;
	text-transform: none;
	letter-spacing: 0;
}

.igft .igft-hi small {
	font-weight: 500 !important;
}


/* ---------- 2026-10-06 第二輪 ---------- */

/* 客服卡標題一行 */
.igft .igft-help h3 { white-space: nowrap; font-size: clamp(17px, 1.75vw, 23px) !important; }
@media (max-width: 767px) {
	.igft .igft-help h3 { font-size: clamp(15px, 4.6vw, 19px) !important; }
}

/* LINE 按鈕＋信箱小信封並排 */
.igft-reach { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.igft-mail { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--ft-chip); color: var(--ft-card-ink) !important; transition: background .15s, transform .15s; }
.igft-mail:hover { background: var(--ft-chip-hover); transform: translateY(-2px); }
.igft-mail__env { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--ft-card-ink); color: var(--ft-card); transition: transform .3s; }
.igft-mail:hover .igft-mail__env { transform: rotate(-12deg); }
.igft-mail__env svg { width: 18px; height: 18px; }
.igft-mail__txt { display: flex; flex-direction: column; line-height: 1.2; }
.igft-mail__txt small { font-size: 11px; opacity: .7; }
.igft-mail__txt b { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.igft-mail__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 4px 10px; border-radius: 6px; background: #2A2B2A; color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.igft-mail:hover .igft-mail__tip, .igft-mail.is-copied .igft-mail__tip { opacity: 1; transform: translate(-50%, 0); }

/* 社群（有網址才出現）放在版權列右邊 */
.igft-bar .igft-soc { margin-top: 0; }

/* ---------- 右側滑出視窗 ---------- */
.igft-side[hidden] { display: none; }
.igft-side { position: fixed; inset: 0; z-index: 100100; }
.igft-side__scrim { position: absolute; inset: 0; background: rgba(20, 20, 22, .38); opacity: 0; transition: opacity .25s ease; }
.igft-side__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(560px, 100vw); background: #fff; color: #2A2B2A; box-shadow: -18px 0 40px rgba(0, 0, 0, .14); transform: translateX(100%); transition: transform .32s cubic-bezier(.22,.72,.24,1); font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif; text-align: left; }
.igft-side.is-on .igft-side__scrim { opacity: 1; }
.igft-side.is-on .igft-side__panel { transform: none; }
.igft-side__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #ECE7E0; }
.igft-side__head strong { font-size: 17px; font-weight: 900; }
.igft-side__x { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: #F4F1EC; color: #2A2B2A; cursor: pointer; }
.igft-side__x svg { width: 20px; height: 20px; }
.igft-side__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 30px; font-size: 15px; line-height: 1.8; }
.igft-side__body img { max-width: 100%; height: auto; }
.igft-side__body .elementor-section-boxed > .elementor-container, .igft-side__body .container { max-width: 100%; }
.igft-side__loading { padding: 40px 0; text-align: center; color: #85858E; }
.igft-side__foot { padding: 12px 20px 16px; border-top: 1px solid #ECE7E0; }
.igft-side__foot a { font-size: 14px; font-weight: 700; color: #B02023; }

/* 副標、客服卡說明：電腦版一行講完（手機寬度不夠就自然換行） */
.igft-hi small { max-width: none; }
@media (min-width: 1025px) {
	.igft-hi small { white-space: nowrap; }
	.igft-help p { white-space: nowrap; }
}

/* ---------- 2026-10-06 第五輪：連結只留實體門市（一張卡），隱私權政策移到版權列 ---------- */
.igft-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; }

.igft-store { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 30px 28px; border-radius: 22px; border: 1.5px solid var(--ft-line); background: rgba(255, 255, 255, .35); color: var(--ft-ink) !important; overflow: hidden; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.igft[data-period="night"] .igft-store { background: rgba(255, 255, 255, .04); }
.igft-store:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .6); border-color: transparent; }
.igft[data-period="night"] .igft-store:hover { background: rgba(255, 255, 255, .09); }
.igft-store__ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ft-card); color: var(--ft-card-ink); margin-bottom: 18px; transition: transform .3s ease; }
.igft-store:hover .igft-store__ic { transform: rotate(-8deg) scale(1.06); }
.igft-store__ic svg { width: 28px; height: 28px; }
.igft-store__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ft-ink-2); }
.igft-store__h { margin-top: 4px; font-size: 23px; font-weight: 900; line-height: 1.35; }
.igft-store__p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--ft-ink-2); }
.igft-store__go { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 700; }
.igft-store__go i { display: inline-block; font-style: normal; transition: transform .2s ease; }
.igft-store:hover .igft-store__go i { transform: translateX(5px); }

.igft-bar__l a { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--ft-line); color: var(--ft-ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color .15s, color .15s; }
.igft-bar__l a:hover { color: var(--ft-hover); text-decoration-color: currentColor; }

@media (max-width: 1024px) {
	.igft-main { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.igft-store { padding: 24px 22px; }
	.igft-store__h { font-size: 20px; }
}

/* 版權＋隱私權政策靠右（2026-10-06） */
.igft-bar { justify-content: flex-end; }
/* 手機置中 */
@media (max-width: 767px) { .igft-bar { align-items: center; justify-content: center; text-align: center; } }

/* ---------- 2026-10-20 第二輪：付款／配送收進「購物須知」、版權列一行、社群搬進客服卡 ---------- */

/* 版權列：一行講完「© 年份 公司｜統編｜地址｜隱私權政策」，窄螢幕自然換行 */
.igft-bar { justify-content: center; }
.igft-bar__l { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 0; margin: 0; font-size: 12px; line-height: 1.8; color: var(--ft-ink-2); text-align: center; }
.igft-bar__l > * + *::before { content: "｜"; margin: 0 6px; opacity: .5; color: var(--ft-ink-2); }
.igft-bar__l a { margin: 0; padding: 0; border: 0; }
.igft-bar__br { display: none; }
.igft-bar__l > .igft-bar__br + *::before, .igft-bar__l > .igft-bar__br::before { content: none; }
.igft-bar__l > .igft-bar__br + * { margin-left: 0; }
@media (min-width: 768px) { .igft-bar__l > .igft-bar__br + *::before { content: "｜"; } }
@media (max-width: 767px) { .igft-bar__br { display: block; flex-basis: 100%; height: 0; } }
@media (min-width: 1025px) { .igft-bar { justify-content: flex-end; } .igft-bar__l { justify-content: flex-end; text-align: right; } }

/* 社群：放在客服卡右下角（LINE、信箱那一排的最右邊），官方圖形、滑過去換平台色 */
.igft-help .igft-soc { display: flex; gap: 2px; margin: 0 0 0 auto; }
.igft-soc a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 12px; color: var(--ft-card-ink); opacity: .85; transition: color .15s, opacity .15s, background .15s; }
.igft-soc a:hover { opacity: 1; background: var(--ft-chip); }
.igft-soc a.is-facebook:hover { color: #1877F2; }
.igft-soc a.is-instagram:hover { color: #E1306C; }
.igft-soc a.is-youtube:hover { color: #FF0000; }
.igft-soc svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 767px) {
	.igft-help .igft-soc { width: 100%; justify-content: flex-end; margin-top: 4px; }
}

/* 「購物須知」滑出視窗內容（範本在頁尾 <template id="igft-tpl-shop">，igo-design 圖示徽章） */
.igft-shop { display: grid; gap: 14px; }
.igft-shop__sec { padding: 18px 18px 16px; border: 1px solid #E5E5E7; border-radius: 14px; background: #fff; }
.igft-shop__sec h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 17px; font-weight: 900; line-height: 1.4; color: #1F1F22; font-family: inherit; text-transform: none; letter-spacing: 0; }
.igft-shop__ic { display: block; flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; }
.igft-shop__ic svg { display: block; width: 100%; height: 100%; }
.igft-shop__ic.is-blue { background: #E9F1FB; color: #3F8BD6; }
.igft-shop__ic.is-green { background: #E8F5EC; color: #3FA35C; }
.igft-shop__ic.is-amber { background: #FDF3DE; color: #E8A317; }
.igft-shop__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.igft-shop__list li { margin: 0; padding: 6px 12px; border-radius: 10px; background: #F0F0F2; font-size: 14px; font-weight: 500; color: #1F1F22; }
.igft-shop__list.is-price { display: grid; gap: 0; border: 1px solid #E5E5E7; border-radius: 12px; overflow: hidden; }
.igft-shop__list.is-price li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 0; background: #fff; }
.igft-shop__list.is-price li + li { border-top: 1px solid #E5E5E7; }
.igft-shop__list.is-price b { font-weight: 700; font-variant-numeric: tabular-nums; }
.igft-shop__p { margin: 0; font-size: 15px; font-weight: 700; color: #1F1F22; }
.igft-shop__note { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: #85858E; }
.igft-shop__note.is-hl { padding: 9px 12px; border-radius: 10px; background: #FDF3DE; color: #6A4A08; font-weight: 700; }
.igft-shop__lines { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.7; color: #85858E; }
.igft-shop__lines li { margin: 0; }

/* ---------- 手機的右側視窗（2026-10-20 老闆）：不要右上角叉叉、不要滿版，左邊留一條空白可以點或往右滑掉 ---------- */
@media (max-width: 767px) {
	.igft-side__panel { width: calc(100vw - 44px); border-radius: 18px 0 0 18px; }
	.igft-side__x { display: none; }
	.igft-side__head { padding: 18px 20px 14px; }
	.igft-side__head::before { content: ""; position: absolute; left: 8px; top: 50%; width: 4px; height: 44px; margin-top: -22px; border-radius: 999px; background: #E2DDD6; }
	.igft-side__panel { touch-action: pan-y; }
	.igft-side.is-dragging .igft-side__panel { transition: none; }
}

/* ---------- 「會員有什麼好處」滑出視窗內容（footer-member-panel.php，igo-design） ---------- */
.igft-side__body:has(.igo-mp), .igft-side__body:has(.igft-shop) { background: #F7F7F8; }
.igo-mp { display: grid; gap: 14px; font-size: 15px; line-height: 1.75; color: #1F1F22; }
.igo-mp h3 { font-family: inherit !important; text-transform: none; letter-spacing: 0; color: #1F1F22; }
.igo-mp__ic { display: block; flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; }
.igo-mp__ic svg { display: block; width: 100%; height: 100%; }
.igo-mp__ic.is-big { width: 64px; height: 64px; margin: 0 auto 12px; padding: 14px; border-radius: 999px; }
.igo-mp .is-amber { background: #FDF3DE; color: #E8A317; }
.igo-mp .is-rose { background: #FDECF1; color: #E0577A; }
.igo-mp .is-green { background: #E8F5EC; color: #3FA35C; }
.igo-mp .is-blue { background: #E9F1FB; color: #3F8BD6; }
.igo-mp .is-grey { background: #F0F0F2; color: #85858E; }
.igo-mp .is-bronze { background: #F8ECDF; color: #B9763A; }
.igo-mp .is-silver { background: #EDF0F4; color: #7D8A99; }
.igo-mp .is-gold { background: #FDF3DE; color: #D99A0B; }

.igo-mp__hero { padding: 22px 18px 20px; border: 1px solid #E5E5E7; border-radius: 14px; background: #fff; text-align: center; }
.igo-mp__hero h3 { margin: 0; font-size: 20px; font-weight: 900 !important; line-height: 1.4; }
.igo-mp__hero > p { margin: 6px 0 0; font-size: 14px; color: #4B4B52; }
.igo-mp__small { display: block; margin-top: 14px; font-size: 13px; color: #85858E; }
.igo-mp .igo-mp__num { margin: 2px 0 0; font-size: 34px; font-weight: 900; line-height: 1.1; color: #1F1F22; font-variant-numeric: tabular-nums; }
.igo-mp__num s { margin-right: 8px; font-size: 18px; font-weight: 700; color: #85858E; }
.igo-mp__btn { display: flex; align-items: center; justify-content: center; height: 46px; margin-top: 16px; padding: 0 26px; border-radius: 999px; background: #B81820; color: #fff !important; font-weight: 700; box-shadow: 0 3px 0 #8E1319; }
.igo-mp__btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #8E1319; }
.igo-mp .igo-mp__sub { margin-top: 10px; font-size: 13px; color: #85858E; }
.igo-mp__sub a { color: #1F1F22; text-decoration: underline; }

.igo-mp__prog { margin-top: 16px; text-align: left; }
.igo-mp__prog-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.igo-mp__prog-top b { color: #E8A317; }
.igo-mp__bar { height: 14px; margin: 8px 0 6px; border-radius: 999px; background: #F0F0F2; overflow: hidden; }
.igo-mp__bar i { display: block; height: 100%; min-width: 14px; border-radius: 999px; background: #E8A317; }
.igo-mp .igo-mp__left { margin: 0; font-size: 13px; color: #85858E; }

.igo-mp__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.igo-mp__perk { display: flex; gap: 10px; align-items: flex-start; padding: 14px 12px; border: 1px solid #E5E5E7; border-radius: 14px; background: #fff; }
.igo-mp__perk .igo-mp__ic { width: 38px; height: 38px; }
.igo-mp__perk b { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; font-variant-numeric: tabular-nums; }
.igo-mp__perk span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: #85858E; }

.igo-mp .igo-mp__h { margin: 6px 0 -4px; font-size: 17px; font-weight: 900 !important; }

.igo-mp__ladder, .igo-mp__rules { border: 1px solid #E5E5E7; border-radius: 14px; background: #fff; overflow: hidden; }
.igo-mp__lv { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 16px; }
.igo-mp__lv + .igo-mp__lv { border-top: 1px solid #E5E5E7; }
.igo-mp__lv.is-now { background: #FFFDF7; box-shadow: inset 3px 0 0 #E8A317; }
.igo-mp__lv-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.igo-mp__lv-top b { font-size: 16px; font-weight: 900; }
.igo-mp__lv-top em { margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: #E8A317; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 2px; }
.igo-mp__lv-top span { font-size: 14px; font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.igo-mp .igo-mp__how { margin: 2px 0 0; font-size: 13px; color: #85858E; }
.igo-mp__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.igo-mp__chips span { padding: 3px 10px; border-radius: 10px; background: #F0F0F2; font-size: 12.5px; font-weight: 500; color: #4B4B52; }
.igo-mp__chips span.is-hl { background: #FDF3DE; color: #7A5408; font-weight: 700; }

.igo-mp__rule { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 14px 16px; }
.igo-mp__rule + .igo-mp__rule { border-top: 1px solid #E5E5E7; }
.igo-mp__rule .igo-mp__ic { width: 38px; height: 38px; }
.igo-mp__rule b { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; }
.igo-mp__rule span { display: block; font-size: 13px; line-height: 1.65; color: #85858E; }
.igo-mp .igo-mp__fine { margin: 0; font-size: 12.5px; line-height: 1.7; color: #85858E; }

@media (max-width: 480px) {
	.igo-mp__perks { grid-template-columns: 1fr; }
	.igo-mp__perk { align-items: center; padding: 12px; }
}
/* 好處格數是單數時，最後一格撐滿，不要孤零零一格 */
.igo-mp__perk:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* 回饋％不要灰色（老闆 2026-10-20）：綠色＝進帳 */
.igo-mp__chips span.is-rebate { background: #E8F5EC; color: #276B3B; font-weight: 700; }

/* 會員資格制度頁（整頁版，[igo_member_benefits]） */
.igo-mp-page { max-width: 880px; margin: 0 auto; padding: 4px 0 24px; }
.igo-mp-page .igo-mp { gap: 18px; }
.igo-mp-page .igo-mp__hero { padding: 30px 24px 26px; }
.igo-mp-page .igo-mp__hero h3 { font-size: 24px; }
.igo-mp-page .igo-mp__perks { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.igo-mp-page .igo-mp__perk:last-child:nth-child(odd) { grid-column: auto; }
.igo-mp-page .igo-mp__btn { max-width: 320px; margin-left: auto; margin-right: auto; }
.igo-mp-page .igo-mp__h { font-size: 19px; margin-top: 10px; }
@media (min-width: 768px) {
	.igo-mp-page .igo-mp__ladder { display: grid; grid-template-columns: 1fr 1fr; }
	.igo-mp-page .igo-mp__lv + .igo-mp__lv { border-top: 0; }
	.igo-mp-page .igo-mp__lv { border-top: 1px solid #E5E5E7; }
	.igo-mp-page .igo-mp__lv:nth-child(-n+2) { border-top: 0; }
	.igo-mp-page .igo-mp__lv:nth-child(odd) { border-right: 1px solid #E5E5E7; }
}
.igo-mp-page .igo-mp, .igo-mp-page .igo-mp h3, .igo-mp-page .igo-mp b { font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif !important; }
.igo-mp-page .igo-mp b, .igo-mp-page .igo-mp__lv-top b { font-weight: 900; }
