/* 主站 /store/：全站數位商品總覽（2026-11-05）。沿用 manual.css 的 token 與 /shop/ 的分類列（.shop-chips、.chip）。
   手機優先：商品卡上下疊、比較表在自己的框裡橫向捲動（整頁不會橫向捲）；≥ 900px 封面在左、內文在右。 */

/* 頁首（61／71px）＋分類列都黏在上面：跳到某一張卡或某一類時，留出兩條的高度 */
.store-main [id] { scroll-margin-top: 132px; }

/* HERO */
.store-hero { padding: clamp(36px, 7vw, 76px) 0 clamp(34px, 6vw, 64px); border-bottom: 1px solid var(--ink); }
.store-hero-grid { display: grid; gap: 34px; }
.store-hero h1 { font-size: clamp(36px, 9.6vw, 70px); }
.store-hero h1 em { display: block; }
.store-hero .lead { max-width: 36em; }
.store-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.store-facts li { display: flex; align-items: baseline; gap: 6px; padding: 5px 11px 5px 9px; border: 1px solid var(--ink); background: var(--card); font-size: 12px; font-weight: 700; line-height: 1.5; }
.store-facts b { font-family: var(--serif); font-size: 19px; letter-spacing: -.04em; line-height: 1; }
.store-hero .actions { margin-top: 26px; }
.store-hero-art { position: relative; min-height: 300px; border: 1px solid var(--ink); background: var(--blue); overflow: hidden; }
.store-hero-art::before { position: absolute; left: 50%; top: 46%; width: 86%; aspect-ratio: 1; border: 1px solid rgba(21, 25, 30, .5); border-radius: 50%; content: ""; transform: translate(-50%, -50%); }
.mini-covers { position: absolute; inset: 0; }
.mini-cover { position: absolute; left: var(--x); top: var(--y); display: flex; flex-direction: column; justify-content: space-between; width: 23%; max-width: 128px; aspect-ratio: .74; padding: 8px 9px; border: 1px solid var(--ink); background: var(--yellow); box-shadow: 5px 6px 0 rgba(21, 25, 30, .18); transform: rotate(var(--r, 0deg)); }
.mini-cover small { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; line-height: 1.4; }
.mini-cover b { font-family: var(--serif); font-size: clamp(9px, 2.8vw, 16px); overflow-wrap: normal; font-weight: 700; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; }
.mini-cover i { font-family: var(--mono); font-size: 8px; font-style: normal; }
.store-hero-art img { position: absolute; z-index: 3; right: 2%; bottom: -2px; width: min(28%, 150px); filter: drop-shadow(6px 6px 0 rgba(21, 25, 30, .16)); }
.store-hero-art .bubble { position: absolute; z-index: 4; right: 24%; bottom: 52%; }

.mini-cover, .product-cover { background: var(--cover, var(--yellow)); color: var(--cover-ink, var(--ink)); }

/* 先找你的那一份 */
.store-finder { padding-block: clamp(46px, 8vw, 96px); background: var(--card); border-bottom: 1px solid var(--ink); }
.store-finder h2 { font-size: clamp(30px, 7.6vw, 54px); }
.store-finder .lead { margin-top: 14px; }
.finder-list { margin-top: 28px; border-top: 2px solid var(--ink); }
.finder-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; min-height: 76px; padding: 14px 0; border-bottom: 1px solid var(--ink); transition: background .18s ease, padding .18s ease, margin .18s ease; }
.finder-list a:hover, .finder-list a:focus-visible { margin-inline: -12px; padding-inline: 12px; background: var(--yellow); }
.finder-list .say { font-family: var(--serif); font-size: clamp(20px, 5.4vw, 30px); }
.finder-list .get { grid-column: 1; }
.finder-list .get b { margin-right: 8px; }
.finder-list .go { width: 38px; height: 38px; font-size: 19px; }

/* 分類列：/shop/ 那一套，換一個名字以免規則互相牽動 */
.store-chips { position: sticky; top: 61px; z-index: 19; padding: 10px 0; background: var(--paper); border-bottom: 1px solid var(--ink); }
.store-chips .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.store-chips .wrap::-webkit-scrollbar { display: none; }
.store-chips .chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 13px; border: 1px solid var(--ink); background: var(--card); font-size: 13px; font-weight: 800; white-space: nowrap; }
.store-chips .chip:hover { background: var(--yellow); }
.store-chips .chip.is-on { background: var(--ink); color: var(--paper); }
.store-chips .chip b { font-family: var(--mono); font-size: 10px; font-weight: 500; }

/* 分類與商品卡 */
.store-cat { padding: clamp(40px, 7vw, 80px) 0; border-bottom: 1px solid var(--ink); }
.store-cat:nth-of-type(even) { background: var(--card); }
.store-cat .cat-head h2 { font-size: clamp(28px, 6.6vw, 46px); }
.store-cat .cat-head .lead { max-width: 38em; margin-top: 12px; }
.product-list { display: grid; gap: 26px; margin-top: 32px; }
.product { display: grid; border: 1px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--ink); }
.store-cat:nth-of-type(even) .product { background: #fff; }
.product-cover { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 120px; padding: 14px 18px; border-bottom: 1px solid var(--ink); }
.product-cover span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; line-height: 1.5; }
.product-cover strong { font-family: var(--serif); font-size: clamp(34px, 9.4vw, 44px); font-weight: 700; letter-spacing: -.05em; line-height: .92; text-transform: uppercase; }
.product-cover small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.product-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 22px; }
.product-kind { display: flex; flex-wrap: wrap; gap: 6px; }
.product-kind span { padding: 2px 8px; border: 1px solid var(--ink); font-size: 11.5px; font-weight: 700; line-height: 1.6; }
.product-kind span:first-child { background: var(--ink); color: var(--paper); }
.product h3 { font-family: var(--serif); font-size: clamp(23px, 6vw, 31px); font-weight: 700; letter-spacing: -.04em; line-height: 1.28; text-wrap: balance; }
.product-pitch { font-size: 16px; font-weight: 700; line-height: 1.75; }
.product dl { display: grid; gap: 10px; }
.product dl > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-content: start; gap: 10px; font-size: 14.5px; line-height: 1.7; }
.product dt { padding-top: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.product-buy { display: grid; gap: 14px; margin-top: 4px; padding-top: 16px; border-top: 1px dashed var(--ink); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.product-price b { font-family: var(--serif); font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.product-price span { font-size: 13px; font-weight: 700; }
.product-note { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.product-refund { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* 這一語還沒有的商品 */
.store-other { padding: clamp(40px, 7vw, 72px) 0; border-bottom: 1px solid var(--ink); background: var(--mist); }
.store-other h2 { font-size: clamp(26px, 6vw, 40px); }
.other-list { margin-top: 24px; border-top: 1px solid var(--ink); }
.other-list li { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.other-list b { font-size: 15px; line-height: 1.5; }
.other-meta { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.other-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.other-langs a { display: inline-flex; align-items: center; min-height: 34px; padding: 3px 11px; border: 1px solid var(--ink); background: var(--card); font-size: 12.5px; font-weight: 800; }
.other-langs a:hover, .other-langs a:focus-visible { background: var(--yellow); }

/* 一次比較 */
.store-compare { padding: clamp(46px, 8vw, 96px) 0; border-bottom: 1px solid var(--ink); }
.store-compare h2 { font-size: clamp(28px, 6.6vw, 46px); }
.compare-scroll { margin-top: 28px; overflow-x: auto; border: 1px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--ink); -webkit-overflow-scrolling: touch; }
.compare-scroll:focus-visible { outline-offset: 4px; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; line-height: 1.6; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: top; }
.compare thead th { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.compare tbody th { min-width: 170px; font-weight: 800; }
.compare tbody th a { border-bottom: 1px solid currentColor; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover > * { background: var(--yellow); }
.compare .num { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.compare .kind { white-space: nowrap; }
.compare-hint { margin-top: 12px; color: var(--muted); font-size: 12px; }

/* 怎麼買 */
.store-how { padding: clamp(46px, 8vw, 96px) 0; border-bottom: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.store-how h2 { font-size: clamp(28px, 6.6vw, 46px); }
.store-how h2 em { color: var(--yellow); }
.how-steps { display: grid; gap: 14px; margin-top: 30px; counter-reset: how; }
.how-steps li { position: relative; padding: 18px 18px 20px 64px; border: 1px solid var(--paper); counter-increment: how; }
.how-steps li::before { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--serif); font-size: 19px; font-weight: 700; content: counter(how); }
.how-steps b { display: block; margin-bottom: 4px; font-size: 16px; }
.how-steps p { color: #dbe0e5; font-size: 14px; line-height: 1.75; }
.how-steps a { color: var(--paper); border-bottom: 1px solid currentColor; }

/* 常見問題 */
.store-faq { padding: clamp(46px, 8vw, 96px) 0; border-bottom: 1px solid var(--ink); }
.store-faq h2 { font-size: clamp(28px, 6.6vw, 46px); }
.faq-list { margin-top: 26px; border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--ink); font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1; content: "+"; transition: transform .18s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div { padding: 0 0 18px; font-size: 14.5px; line-height: 1.85; }
.faq-list details > div p + p { margin-top: 8px; }
.faq-list details a { border-bottom: 1px solid currentColor; font-weight: 700; }
.faq-free { display: grid; gap: 4px; margin: 8px 0 4px; }
.faq-free li { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 0; border-bottom: 1px dashed rgba(21, 25, 30, .35); }
.faq-free b { min-width: 9em; }

/* 最後 */
.store-final { overflow: hidden; background: var(--yellow); }
.store-final .final-grid { padding-top: clamp(50px, 8vw, 92px); }
.store-final h2 { font-size: clamp(28px, 7vw, 50px); }
.store-final .lead { margin-bottom: 24px; }
.store-disclaimer { padding: 18px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }

@media (max-width: 400px) { .mini-cover { padding: 6px; } }
@media (max-width: 899px) { .store-hero-art .bubble { display: none; } }
@media (max-width: 380px) {
  .product dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (min-width: 620px) {
  .store-chips { top: 71px; }
  .store-main [id] { scroll-margin-top: 142px; }
  .store-hero-art { min-height: 380px; }
  .mini-cover small { font-size: 8px; }
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .store-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: 50px; }
  .store-hero h1 { font-size: clamp(40px, 4.2vw, 60px); }
  .store-hero-art { min-height: 460px; }
  .finder-list a { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 24px; min-height: 86px; }
  .finder-list .get { grid-column: 2; }
  .finder-list .go { grid-column: 3; grid-row: 1; }
  .product { grid-template-columns: 250px minmax(0, 1fr); }
  .product-cover { min-height: 0; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 0; }
  .product-cover strong { font-size: 40px; }
  .product-body { padding: 28px 32px 30px; }
  .product dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .product dl > div { grid-template-columns: 1fr; gap: 2px; }
  /* 左邊價格＋退款句可以換行，右邊按鈕照自己的寬度，放不下就整排換到下一行（2026-11-05：auto 欄被退款句撐開，日越韓的按鈕被擠成直排） */
  .product-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
  .product-buy > div { flex: 1 1 220px; min-width: 0; }
  .product-buy .actions { flex: 0 1 auto; }
  .product-buy .actions { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .finder-list a, .faq-list summary::after { transition: none; }
}

/* 標題與挑選列不要留孤字（2026-11-05 驗證：「安頓／好」「the／U.S.」） */
.store-main h1, .store-main h2 { text-wrap: balance; }
.finder-list .say, .store-main .lead, .store-final p { text-wrap: pretty; }
