/* 賣場擴充元件的基本版面（只有 SHOP_EXT 的店會載入）；品牌外觀在 theme-<主題>.css */
.x-demo-bar { margin: 0; padding: 7px 16px; background: #272A39; color: #F7F6F2; font-size: 12.5px; line-height: 1.5; text-align: center; letter-spacing: .02em; }
.x-demo-price .pc-price::after, .x-demo-price .pprice > span::after { content: "示範價"; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, .06); color: var(--text-2); font-size: 11px; font-weight: 500; vertical-align: 2px; }

/* 分頁 */
.x-page { max-width: 760px; margin: 0 auto; padding: 28px 16px 48px; }
.x-page-head { margin-bottom: 20px; }
.x-page-head h1 { font-size: 28px; line-height: 1.3; font-weight: 800; }
.x-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.x-prose { font-size: 15.5px; line-height: 1.85; }
.x-prose > * + * { margin-top: 14px; }
.x-prose h2 { margin-top: 30px; font-size: 21px; line-height: 1.35; }
.x-prose h3 { margin-top: 22px; font-size: 17px; line-height: 1.4; }
.x-prose ul, .x-prose ol { padding-left: 1.3em; }
.x-prose li + li { margin-top: 6px; }
.x-prose a { text-decoration: underline; text-underline-offset: 3px; }
.x-note { padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .04); font-size: 14px; line-height: 1.7; }
.x-fig { margin: 18px 0; }
.x-fig img { width: 100%; height: auto; border-radius: 12px; }
.x-fig figcaption { margin-top: 6px; font-size: 13px; color: var(--text-2); text-align: center; }
.x-contact { display: grid; gap: 10px; margin: 0; }
.x-contact div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.x-contact dt { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.x-contact dd { margin: 0; overflow-wrap: anywhere; }
.x-company { font-size: 13px; line-height: 1.7; }

/* 會員等級卡＋比較表 */
.x-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.x-card { position: relative; display: flex; flex-direction: column; gap: 4px; aspect-ratio: 1.45; padding: 12px 14px; border-radius: 12px; overflow: hidden; }
.x-card-top { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.x-card-bones { display: flex; gap: 2px; margin-top: auto; }
.x-card-bones .x-bone { width: 22px; height: 10px; }
.x-card strong { font-size: 18px; line-height: 1.2; }
.x-card small { font-size: 11.5px; line-height: 1.4; }
.x-tier-table { margin-top: 16px; overflow-x: auto; border-radius: 12px; }
.x-tier-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.x-tier-table th, .x-tier-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.x-tier-table tbody th { position: sticky; left: 0; }

/* 選單抽屜 */
.x-drawer-head { gap: 10px; justify-content: flex-start; }
.x-drawer-head img { width: 40px; height: 40px; object-fit: contain; }
.x-drawer-head h2 { flex: 1; font-size: 16px; }
.x-menu { padding: 8px 0 20px; }
.x-menu nav { display: grid; }
.x-menu nav a { display: flex; align-items: center; min-height: 52px; padding: 0 22px; font-size: 16px; border-bottom: 1px solid var(--line); }
.x-menu-t { margin: 0; padding: 22px 22px 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--text-2); }
.x-menu-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 22px 16px 0; }
.x-menu-small a, .x-menu-small button { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 10px; background: #fff; font-size: 12.5px; }

/* 會員回饋券 */
.x-mc h2 { font-size: 17px; }
.x-mc-rule { margin: 6px 0 12px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.x-mc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.x-mc-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--line); }
.x-mc-list span { display: grid; }
.x-mc-list small { font-size: 12px; color: var(--text-2); }
.x-mc-list em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 700; }
.x-mc-gone, .x-mc-used { opacity: .6; }
.x-prose .x-cards { padding-left: 0; }
.x-prose .x-cards li { margin: 0; }
.x-guide a, .x-guide li > span { text-align: left; }
.x-guide a { justify-content: flex-start; }
.x-guide a > span:last-child { margin-left: auto; }
.x-line-soon { margin-bottom: 16px; text-align: center; } .x-line-soon .btn-login { opacity: .55; cursor: not-allowed; margin: 12px auto 6px; }
.x-bone { display: inline-block; width: 20px; height: 8px; border-radius: 4px; vertical-align: middle; } .x-club-bones .x-bone { width: 40px; height: 12px; border-radius: 6px; }
.x-page, .x-prose, .x-token, .x-tier-table { min-width: 0; max-width: 100%; } .x-page { width: 100%; box-sizing: border-box; } .x-card { min-width: 0; }
/* 後台關掉「商品卡愛心」時（2026-11-28） */
.x-nofav .pc-fav { display: none !important; }
