
/* =============================================================
 * 宋韻 - songyun
 * 宋代美學：宣紙底、青瓷、墨、朱砂印、淡金。
 * 極簡留白、細線框景、襯線寬字距——讓茶品如冊頁清供般高級淡雅。
 * 手機優先、老人友善。選擇器與侘寂（wabi）一一對應。
 * ============================================================= */
:root {
  --bg: #F6F1E7;          /* 宣紙 */
  --paper: #F6F1E7;       /* 紙（同宣紙，供印章／反白字使用） */
  --card: #FDFBF6;        /* 卡片紙白 */
  --ink: #2E2C26;         /* 墨 */
  --ink-soft: #4E4A3E;
  --muted: #7A7263;       /* 次要文字 */
  --line: #DDD3BE;        /* 邊框線 */
  --celadon: #6E9291;     /* 汝窯天青・主色 */
  --celadon-deep: #47696B;/* 深天青・hover */
  --cinnabar: #A63D2E;    /* 朱砂・僅點綴（特價、印章、倒數） */
  --gold: #B08D57;        /* 淡金・價格、細線裝飾、kicker */
  --danger: #A63D2E;
  --radius: 3px;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU",
               "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", serif;
  line-height: 1.9;
  letter-spacing: .04em;
}
::selection { background: rgba(110, 146, 145, .35); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* ---------- 頁首：三區同基線、間距均勻、留白對稱 ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 3px double var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding: 20px 20px 16px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink); font-size: 1.3rem; font-weight: 900;
  text-decoration: none; letter-spacing: .35em; line-height: 1.2;
  flex: 0 0 auto;
}
.logo img { max-height: 46px; width: auto; vertical-align: middle; }
.main-nav {
  display: flex; gap: 30px; flex-wrap: nowrap; align-items: baseline;
  margin-left: auto;
}
.header-inner .cart-link { align-self: center; }
.main-nav a {
  color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  padding: 6px 1px; font-size: .95rem; letter-spacing: .2em; line-height: 1.4;
}
/* hover 淡金底線：用 background 漸變線展開，不佔版面、零位移 */
.main-nav a:not(.cart-link) {
  background: linear-gradient(var(--gold), var(--gold))
              left calc(100% - 1px) / 0% 1px no-repeat;
  transition: background-size .3s ease, color .25s ease;
}
.main-nav a:not(.cart-link):hover { color: var(--celadon-deep); background-size: 100% 1px; }
.main-nav a:active { color: var(--ink); }
.cart-link {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid #2F4A3C; border-radius: 9px;
  background: linear-gradient(155deg, #74917A 0%, #55705E 45%, #3C5747 100%);
  color: #F7F2E4 !important; padding: 9px 18px 9px 13px !important;
  margin-left: 2px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  letter-spacing: .22em; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 3px rgba(247, 242, 228, .14), inset 0 0 0 4px rgba(216, 188, 126, .55), 0 4px 10px rgba(38, 54, 44, .28);
  transition: background .25s ease, box-shadow .25s ease;
  touch-action: manipulation;
}
.cart-link svg { width: 22px; height: 22px; flex: none; color: #E3C98B; }
/* 件數改朱砂小方印：米白數字＋內側白線框，呼應特價方印的印章語彙 */
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; margin-left: 1px;
  background: var(--cinnabar); color: #F6F1E7;
  border-radius: 3px; font-size: .8rem; line-height: 1; letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(246, 241, 231, .55), 0 0 0 1.5px rgba(247, 242, 228, .85), 0 1px 3px rgba(20, 32, 24, .35);
  transform: translateY(-1px);
}
.cart-link:hover { background: linear-gradient(155deg, #82A086 0%, #5F7D67 45%, #47634F 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 0 0 3px rgba(247, 242, 228, .18), inset 0 0 0 4px rgba(216, 188, 126, .7), 0 5px 12px rgba(38, 54, 44, .32); }

/* 手機：logo 獨占首排，導覽改單排橫捲（不擠多排、不溢出，隱藏捲軸） */
@media (max-width: 699px) {
  .header-inner {
    flex-wrap: wrap; align-items: center;
    gap: 4px 16px; padding: 14px 20px 8px;
  }
  .logo { order: 1; font-size: 1.12rem; letter-spacing: .28em; }
  .logo img { max-height: 40px; }
  .header-inner .cart-link { order: 2; margin-left: auto; padding: 8px 13px 8px 10px !important; }
  .header-inner .cart-link svg { width: 20px; height: 20px; }
  .main-nav {
    order: 3; flex: 1 1 100%;
    flex-wrap: nowrap; align-items: center;
    gap: 13px; padding: 8px 2px 10px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 0;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 6px 0; font-size: .9rem; letter-spacing: .07em; }
}
@media (max-width: 400px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: .84rem; letter-spacing: .06em; }
  .main-nav .cart-link { padding: 5px 9px !important; }
  .cart-count { min-width: 18px; height: 18px; font-size: .74rem; margin-left: 0; }
}

/* ---------- 朱砂方印（裝飾） ---------- */
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 auto;
  background: var(--cinnabar); color: var(--card);
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: 1.15rem; line-height: 1; letter-spacing: 0;
  border-radius: 2px; transform: rotate(-3deg);
  box-shadow: inset 0 0 0 1.5px rgba(253, 251, 246, .45);
}
.seal--sm { width: 29px; height: 29px; font-size: .98rem; }

/* ---------- 主視覺：宣紙冊頁、直書題字、墨字水印 ---------- */
.hero {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 88px 20px 76px;
  border-bottom: 3px double var(--line);
  margin-bottom: 52px;
}
.hero-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: clamp(11rem, 42vw, 17rem); line-height: 1;
  color: rgba(46, 44, 38, .05);
  pointer-events: none; user-select: none; z-index: 0;
}
.hero-vertical {
  position: absolute; top: 50%; right: 16px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: 1.12rem; letter-spacing: .42em;
  color: rgba(46, 44, 38, .26);
  pointer-events: none; user-select: none; z-index: 1;
}
.hero-kicker, .hero h1, .hero-seal-row, .hero-sub, .hero .btn {
  position: relative; z-index: 1;
}
.hero-kicker {
  margin: 0 0 22px; color: var(--gold);
  font-size: .95rem; font-weight: 700; letter-spacing: .5em; text-indent: .5em;
}
.hero h1 {
  margin: 0 0 14px; font-weight: 900;
  font-size: 2.6rem; letter-spacing: .3em; text-indent: .3em;
}
.hero-seal-row { margin: 0 0 20px; }
.hero-sub {
  margin: 0 0 42px; color: var(--ink-soft);
  font-size: 1.05rem; letter-spacing: .4em; text-indent: .4em;
}
.hero .btn { max-width: 320px; margin: 0 auto; }

/* ---------- 分類：文字籤 ---------- */
.cats {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 0 0 8px; margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cat-btn {
  flex: 0 0 auto; padding: 10px 14px;
  color: var(--muted); font-size: 1rem; text-decoration: none;
  letter-spacing: .15em; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .25s ease, border-color .25s ease;
}
.cat-btn.on { color: var(--ink); border-bottom-color: var(--celadon-deep); font-weight: 700; }

/* ---------- 商品：冊頁框景 ---------- */
.products {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px;
  padding-bottom: 64px;
}
.product-card {
  text-decoration: none; color: inherit; display: block;
}
.product-img {
  aspect-ratio: 1/1; background: var(--card);
  padding: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #B4A582;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s ease;
}
.product-card:hover .product-img { border-color: var(--celadon); }
.product-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.product-body { padding: 15px 2px 0; text-align: center; }
.product-body h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; letter-spacing: .12em; }
.product-body .summary { margin: 0 0 10px; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.price { color: var(--gold); font-weight: 700; font-size: 1.15rem; letter-spacing: .05em; }
.soldout-tag {
  display: inline-block; border: 1px solid var(--line); color: var(--muted);
  border-radius: var(--radius); padding: 4px 12px; font-size: .9rem; letter-spacing: .2em;
}

/* ---------- 表單 ---------- */
.field { margin-bottom: 26px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 1rem; letter-spacing: .12em; }
.field input[type=text], .field input[type=tel], .field input[type=email],
.field input[type=password], .field input[type=number], .field input[type=date],
.field select, .field textarea {
  width: 100%; padding: 15px 14px; font-size: 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink); font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--celadon-deep); outline: none;
}
.hint { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ---------- 會員表單（登入／註冊）：雙線框景 ---------- */
.auth-wrap { max-width: 560px; margin: 0 auto; }
.auth-sub { text-align: left; color: var(--muted); font-size: .95rem; letter-spacing: .1em; margin: -8px 0 8px; }
.auth-card {
  background: var(--card); border: 1px solid var(--line);
  outline: 1px solid var(--line); outline-offset: 4px;
  border-radius: var(--radius); padding: 38px 34px; margin: 20px 0 12px;
}
.auth-card .field { margin-bottom: 24px; }
.auth-card .field:last-of-type { margin-bottom: 8px; }
.auth-card .field label {
  display: block; font-size: .82rem; font-weight: 700; letter-spacing: .22em;
  color: var(--ink-soft); margin-bottom: 10px;
}
.auth-card .field input[type=text], .auth-card .field input[type=tel],
.auth-card .field input[type=email], .auth-card .field input[type=password],
.auth-card .field select {
  width: 100%; padding: 16px; font-size: 1.05rem; font-family: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #FFFDF8; color: var(--ink);
  transition: border-color .2s ease;
}
.auth-card .field input:focus, .auth-card .field select:focus {
  border-color: var(--celadon-deep); outline: none;
}
.auth-card .field input[readonly] { background: var(--bg); color: var(--ink-soft); }
.auth-card .field .hint { font-size: .85rem; }
.auth-section {
  font-size: .85rem; font-weight: 700; letter-spacing: .32em; text-indent: .32em;
  color: var(--gold); border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin: 36px 0 26px;
}
.auth-section:first-of-type { margin-top: 0; }
.form-errors {
  background: #F9EDEA; border: 1px solid #E2C0B4; border-radius: var(--radius);
  padding: 14px 20px; margin: 0 0 26px; color: var(--danger); font-size: .93rem;
}
.form-errors p { margin: 6px 0; }
.auth-foot { text-align: center; color: var(--muted); font-size: .95rem; margin: 18px 0 8px; }
.auth-foot a { color: var(--celadon-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .auth-card { padding: 30px 22px; }
  .auth-card .field { margin-bottom: 20px; }
  .auth-card .field label { margin-bottom: 8px; }
  .auth-card .field input[type=text], .auth-card .field input[type=tel], .auth-card .field input[type=email], .auth-card .field input[type=password], .auth-card .field select { padding: 13px 14px; }
}
.err { color: var(--danger); font-weight: 700; margin: 8px 0; }
.ok { color: var(--celadon-deep); font-weight: 700; margin: 8px 0; }

/* ---------- 按鈕：實心青瓷 ---------- */
.btn {
  display: block; width: 100%; padding: 17px; font-size: 1.2rem; font-weight: 700;
  letter-spacing: .25em; text-indent: .25em;
  border: none; border-radius: var(--radius); cursor: pointer; text-align: center;
  text-decoration: none; margin: 14px 0; font-family: inherit;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--celadon); color: var(--card); }
.btn-primary:hover { background: var(--celadon-deep); }
.btn-primary:active { background: var(--celadon-deep); }
.btn-accent { background: var(--cinnabar); color: var(--card); }
.btn-accent:active { background: #8C3325; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--celadon-deep); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; gap: 12px; }
.btn-row .btn { margin: 14px 0; }

/* 付款方式大按鈕 */
.pay-methods { display: grid; gap: 14px; }
.pay-method, .invoice-type {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 20px; font-size: 1.15rem; font-weight: 700; text-align: left;
  letter-spacing: .1em;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer;
  font-family: inherit; color: inherit;
  transition: border-color .25s ease;
}
.pay-method.on, .invoice-type.on { border: 2px solid var(--celadon-deep); padding: 19px; }
.pay-method small, .invoice-type small { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }

/* ---------- 購物車／訂單 ---------- */
.cart-item {
  display: flex; gap: 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 16px; align-items: center;
}
.cart-item .thumb {
  width: 72px; height: 72px; flex: 0 0 72px; border-radius: var(--radius);
  background: #EDE5D2; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #B4A582;
}
.cart-item .info { flex: 1; }
.cart-item .info h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.qty-ctrl { display: flex; align-items: center; gap: 10px; }
.qty-ctrl button {
  width: 46px; height: 46px; font-size: 1.3rem; border-radius: var(--radius);
  border: 1px solid var(--celadon-deep); background: transparent; color: var(--ink); cursor: pointer;
}
.qty-ctrl span { min-width: 2em; text-align: center; font-size: 1.15rem; font-weight: 700; }

.totals {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin: 20px 0;
}
.totals .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 1.05rem; }
.totals .row.grand {
  font-size: 1.35rem; font-weight: 700; color: var(--gold);
  border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px;
}

/* 免運進度條 */
.ship-progress {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin: 16px 0;
}
.ship-progress .bar { height: 6px; background: #E9E0CB; border-radius: 3px; overflow: hidden; margin-top: 10px; }
.ship-progress .bar i { display: block; height: 100%; background: var(--celadon); border-radius: 3px; }

/* 步驟指示 */
.steps { display: flex; margin: 24px 0 32px; }
.steps div {
  flex: 1; text-align: center; padding: 12px 4px; font-size: .95rem;
  letter-spacing: .15em; color: var(--muted); border-bottom: 2px solid var(--line);
}
.steps div.on { color: var(--ink); font-weight: 700; border-color: var(--celadon-deep); }

.flash {
  background: linear-gradient(rgba(110,146,145,.12), rgba(110,146,145,.12)), var(--card);
  border: 1px solid var(--celadon-deep);
  outline: 1px solid rgba(110,146,145,.45); outline-offset: 4px;
  border-radius: var(--radius); padding: 20px 24px; margin: 22px 0;
  color: var(--ink); font-size: 1.07rem; font-weight: 600;
  line-height: 1.85; letter-spacing: .05em;
  box-shadow: 0 10px 24px rgba(46,44,38,.08);
}
.flash-seal {
  background: var(--cinnabar); color: var(--paper);
  border-radius: 4px; transform: rotate(-2deg);
  box-shadow: inset 0 0 0 2px rgba(246,241,231,.35);
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; margin: 20px 0;
}
.order-no { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: .1em; }

/* ---------- 商品詳情：高質感購買區 ---------- */
.pd-hero { margin: 4px 0 20px; }
.pd-name { font-size: 1.85rem; font-weight: 900; letter-spacing: .08em; margin: 18px 0 10px; line-height: 1.4; }
.pd-summary { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.9; margin: 0; }
.pd-buy {
  background: var(--card); border: 1px solid var(--line);
  outline: 1px solid var(--line); outline-offset: 4px;
  border-radius: var(--radius); padding: 30px 26px; margin: 0 0 28px;
}
.pd-buy.pd-flash { animation: pdFlash 1s ease; }
@keyframes pdFlash {
  0%, 100% { box-shadow: none; }
  30% { box-shadow: 0 0 0 4px rgba(110, 146, 145, .35); }
}
.pd-price-row {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.pd-price-label { font-size: .85rem; letter-spacing: .25em; color: var(--gold); white-space: nowrap; }
.pd-price { font-size: 1.9rem; font-weight: 700; color: var(--gold); letter-spacing: .03em; }
.pd-price .hint { font-size: 1.05rem; }
.pd-price .sale-tag { font-size: .8rem; vertical-align: middle; }
.pd-spec-label { font-size: .9rem; color: var(--muted); font-weight: 400; }
.pd-stock { margin: -8px 0 18px; font-size: .95rem; color: var(--muted); }
.pd-stock.urgent {
  color: var(--danger); font-weight: 700;
  background: #F9EDEA; border: 1px solid #E2C0B4; border-radius: var(--radius);
  padding: 10px 16px; display: inline-block;
}
.pd-spec { margin-bottom: 22px; }
.pd-spec label { font-size: .92rem; letter-spacing: .18em; color: var(--ink-soft); }
.pd-qty { margin: 6px 0 20px; }
.pd-bag {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 22px;
}
.pd-bag label { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; cursor: pointer; }
.pd-bag .bag-qty-label { display: block; margin-top: 12px; font-size: .95rem; color: var(--muted); }
.pd-bag .qty-ctrl button { flex: 0 0 44px; }
.pd-bag .qty-ctrl input { flex: 0 0 72px; width: 72px; text-align: center; }
.pd-cta { margin-top: 6px; font-size: 1.3rem; padding: 19px; }
.pd-ship-hint { text-align: center; color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.pd-trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-soft);
}
/* 區塊標題：置中、兩側漸隱細線 */
.pd-h2, .rp-sec-title {
  display: flex; align-items: center; gap: 20px; justify-content: center;
  text-align: center;
  font-size: 1.25rem; font-weight: 700; letter-spacing: .25em; margin: 38px 0 18px;
}
.pd-h2::before, .pd-h2::after,
.rp-sec-title::before, .rp-sec-title::after {
  content: ""; flex: 1 1 32px; height: 1px;
}
.pd-h2::before, .rp-sec-title::before { background: linear-gradient(90deg, transparent, var(--line)); }
.pd-h2::after, .rp-sec-title::after { background: linear-gradient(90deg, var(--line), transparent); }
.pd-upsell h3 { margin: 0 0 8px; font-size: 1.1rem; }
/* 手機吸底購買列 */
.pd-sticky {
  display: none;
}
@media (max-width: 699px) {
  .pd-sticky {
    display: flex; align-items: center; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(246, 241, 231, .97); border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .pd-sticky-price { flex: 1; font-size: 1.25rem; font-weight: 700; color: var(--gold); }
  .pd-sticky .btn { width: auto; flex: 1.4; margin: 0; padding: 15px 10px; font-size: 1.1rem; }
  body:has(.pd-sticky) { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* 商品圖片畫廊 */
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb {
  width: 72px; height: 72px; padding: 0; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.on { border-color: var(--celadon-deep); }

/* 商品詳情主圖：冊頁框景 */
.detail-img {
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  padding: 10px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: #B4A582; margin: 16px 0 32px;
}
.detail-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 2px; }
.spec-opts { display: flex; gap: 12px; flex-wrap: wrap; }
.spec-opt {
  padding: 14px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); font-size: 1.1rem; cursor: pointer; font-family: inherit;
  letter-spacing: .1em; color: var(--ink);
  touch-action: manipulation; /* 避免 iOS 點按延遲／縮放干擾 */
}
/* 選中狀態：青瓷外框（box-shadow 做框線不佔版面空間、避免點按位移） */
.spec-opt.on { border-color: var(--celadon-deep); box-shadow: 0 0 0 2px var(--celadon-deep); background: #E8EFEB; }
.spec-opt.soldout::after { content: '（售完）'; opacity: .8; }
.spec-opt:disabled { opacity: .4; cursor: not-allowed; }

/* 頁尾：深墨綠冊頁跋文 */
.site-footer {
  margin-top: 72px; padding: 46px 0;
  background: #24322C; border-top: 4px double var(--gold);
  color: #E7DFC9;
  text-align: center; font-size: .92rem; letter-spacing: .15em;
}
.site-footer .tiny { font-size: .8rem; color: #A79F87; }

/* 手機：頁尾改為直式排列，避免分隔線斷在行首 */
@media (max-width: 699px) {
  .site-footer { letter-spacing: .06em; padding: 34px 0; }
  .site-footer .f-item { display: block; margin: 6px 0; }
  .site-footer .f-sep { display: none; }
  .site-footer .f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
  .site-footer .f-links a { white-space: nowrap; padding: 2px 0; }
}

/* 桌機 */
@media (min-width: 700px) {
  .products { grid-template-columns: 1fr 1fr 1fr; gap: 44px 28px; }
  .wrap { max-width: 960px; }
  .hero h1 { font-size: 3.2rem; }
}

/* 商品詳細介紹（富文字） */
.desc-body p { margin: 0 0 1.2em; }
.desc-body p:last-child { margin-bottom: 0; }
.desc-body ul, .desc-body ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.desc-body h3, .desc-body h4 { margin: 1.4em 0 .8em; font-weight: 700; letter-spacing: .15em; }
.desc-body blockquote { margin: 0 0 1.2em; padding-left: 1em; border-left: 2px solid var(--celadon); color: var(--ink-soft); }
.desc-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.desc-body a { color: var(--celadon-deep); }

/* 社群分享 */
.share-box h3 { font-size: 1.1rem; letter-spacing: .2em; }
/* 分享按鈕（2026-10-23 質感重設計：品牌色點＋漸層＋柔影＋hover 浮起） */
.share-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 12px; }
.share-btn {
  --brand: var(--celadon-deep);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 6px; text-align: center;
  font-size: .98rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: var(--card);
  background: linear-gradient(180deg, color-mix(in srgb, var(--card) 84%, var(--brand) 16%), color-mix(in srgb, var(--card) 95%, var(--brand) 5%));
  border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent);
  border-radius: var(--radius); cursor: pointer; font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 2px rgba(30, 25, 18, .05), 0 10px 20px -12px rgba(30, 25, 18, .45);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.share-btn::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.share-line { --brand: #06C755; }
.share-fb { --brand: #1877F2; }
.share-threads { --brand: #1a1a1a; }
.share-copy { --brand: var(--celadon-deep); grid-column: 1 / -1; }
@media (hover: hover) {
  .share-btn:hover {
    transform: translateY(-2px); border-color: var(--brand);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 3px rgba(30, 25, 18, .06), 0 16px 26px -12px color-mix(in srgb, var(--brand) 55%, transparent);
  }
}
.share-btn:active { transform: translateY(0); }
@media (max-width: 380px) { .share-btn { font-size: .9rem; letter-spacing: .05em; gap: 6px; } }

/* 特價商品區 */
.sale-section { margin: 38px 0; }
.sale-title {
  display: flex; align-items: center; gap: 20px; justify-content: center;
  text-align: center;
  font-size: 1.35rem; font-weight: 700; letter-spacing: .3em; margin: 0 0 20px;
}
.sale-title::before, .sale-title::after { content: ""; flex: 1 1 40px; height: 1px; }
.sale-title::before { background: linear-gradient(90deg, transparent, var(--line)); }
.sale-title::after { background: linear-gradient(90deg, var(--line), transparent); }
.product-img { position: relative; }
/* 特價徽章：朱砂方印（微旋、字距歸零、內白線） */
.sale-tag {
  position: absolute; top: 10px; left: 10px;
  display: inline-block; background: var(--cinnabar); color: var(--card);
  border-radius: 2px; padding: 5px 9px;
  font-size: .88rem; font-weight: 700; letter-spacing: 0;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 1.5px rgba(253, 251, 246, .45);
}
.orig-price { color: var(--muted); font-size: .95rem; margin-right: 8px; }

/* 特價跑馬燈（無縫輪播） */
.sale-track-wrap { position: relative; }
.sale-track { overflow: hidden; padding: 6px 2px 14px; }
.sale-marquee { display: flex; width: max-content; }
.sale-marquee.is-static { animation: none; }
.sale-marquee .sale-card { flex: 0 0 clamp(210px, 62vw, 260px); margin-right: 16px; }
@media (prefers-reduced-motion: reduce) { .sale-marquee { animation: none; } }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: nowrap; margin-top: 8px; }
.price-row .orig-price { margin-right: 0; white-space: nowrap; }
.price-row .price { white-space: nowrap; }

/* 特價彈窗（由上掉落・一天一次）：紙色底、雙線框 */
.sale-pop { position: fixed; inset: 0; z-index: 200; }
.sale-pop[hidden] { display: none; }
.sale-pop-backdrop { position: absolute; inset: 0; background: rgba(24, 28, 24, .62); opacity: 0; transition: opacity .3s ease; }
.sale-pop.show .sale-pop-backdrop { opacity: 1; }
.sale-pop-card {
  position: absolute; left: 50%; top: 50%; width: min(92vw, 430px);
  transform: translate(-50%, -185%);
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px;
  outline: 1px solid var(--line); outline-offset: 4px;
  padding: 26px 22px 16px; max-height: 84vh; max-height: 86dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.sale-pop.show .sale-pop-card { animation: saleDrop .7s cubic-bezier(.25, .9, .35, 1) forwards; }
@keyframes saleDrop {
  0% { transform: translate(-50%, -185%); }
  55% { transform: translate(-50%, -42%); }
  75% { transform: translate(-50%, -54%); }
  100% { transform: translate(-50%, -50%); }
}
.sale-pop-x {
  position: absolute; top: 8px; right: 10px; width: 44px; height: 44px;
  border: none; background: transparent; color: var(--muted);
  font-size: 1.7rem; line-height: 1; cursor: pointer; border-radius: 50%;
}
.sale-pop-title { font-size: 1.25rem; letter-spacing: .2em; margin: 0 26px 6px 0; font-weight: 900; text-align: center; }
.sale-pop-timer { text-align: center; font-weight: 700; letter-spacing: .08em; margin: 4px 0 2px; color: var(--cinnabar); font-size: .95rem; }
.sale-pop-count { font-variant-numeric: tabular-nums; font-size: 1.2rem; font-weight: 900; }
.sale-pop-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.sale-pop-item img { width: 64px; height: 64px; flex: 0 0 64px; object-fit: cover; border-radius: 2px; }
.sale-pop-item--one { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
.sale-pop-item--one img { width: auto; max-width: 100%; height: auto; max-height: 300px; flex: none; object-fit: contain; border-radius: 2px; align-self: center; }
.sale-pop-item--one .sale-pop-info { align-items: center; }
.sale-pop-item--one .price-row { justify-content: center; }
.sale-pop-item--one .sale-pop-name { font-size: 1.12rem; }
.sale-pop-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sale-pop-name { font-weight: 700; font-size: 1.02rem; }
.sale-pop-item .price-row { margin-top: 0; }
.sale-pop-item .price { font-size: 1.05rem; }


/* ---------- ATM 轉帳回報 ---------- */
.rp-wrap { max-width: 620px; margin: 0 auto; padding: 12px 0 8px; }
.rp-kicker { text-align: center; letter-spacing: .45em; text-indent: .45em; color: var(--gold); font-weight: 700; font-size: .92rem; margin: 6px 0 6px; }
.rp-title { text-align: center; font-size: 1.65rem; letter-spacing: .12em; margin: 0 0 22px; font-weight: 900; }
.rp-steps { display: flex; list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rp-steps li { flex: 1; text-align: center; padding: 13px 4px; color: var(--muted); font-size: .92rem; letter-spacing: .12em; }
.rp-steps li + li { border-left: 1px solid var(--line); }
.rp-steps .n { display: inline-block; width: 1.7em; height: 1.7em; line-height: 1.7em; text-align: center; border: 1px solid var(--line); border-radius: 50%; margin-right: 8px; font-size: .82em; }
.rp-steps li.done .n { background: var(--celadon-deep); border-color: var(--celadon-deep); color: var(--paper); }
.rp-steps li.now { color: var(--ink); font-weight: 700; }
.rp-steps li.now .n { border-color: var(--celadon-deep); }
.rp-panel { border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 3px; border-radius: var(--radius); padding: 22px 26px; margin-bottom: 30px; background: var(--card); }
.rp-panel h2 { font-size: 1rem; letter-spacing: .3em; margin: 0 0 8px; }
.rp-note { white-space: pre-line; margin: 6px 0 0; line-height: 2; }
.rp-dl { margin: 0; }
.rp-dl > div { display: flex; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.rp-dl > div:first-child { border-top: none; }
.rp-dl dt { width: 4.5em; flex-shrink: 0; color: var(--muted); letter-spacing: .25em; font-size: .9rem; }
.rp-dl dd { margin: 0; font-size: 1.12rem; }
.rp-dl dd.acct { font-size: 1.4rem; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.rp-order { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; text-align: center; letter-spacing: .06em; }
.rp-order strong { color: var(--ink); }
.rp-order .sep { margin: 0 10px; }
.rp-privacy { color: var(--muted); font-size: .9rem; margin-top: 14px; letter-spacing: .04em; }
.rp-done { text-align: center; padding: 26px 12px 30px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.rp-done .tick { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; background: var(--celadon-deep); color: var(--paper); align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 12px; }
.rp-done h2 { font-size: 1.25rem; letter-spacing: .1em; margin: 0 0 8px; }
.rp-done p { margin: 4px 0; }
.req { color: var(--danger); }
input.acct5 { letter-spacing: .4em; font-size: 1.45rem !important; font-variant-numeric: tabular-nums; }

/* 商品圖淡入淡出輪播（inset 保留冊頁框景的紙邊） */
.pd-main-img { position: relative; }
.pd-slide { position: absolute; inset: 10px; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.detail-img img.pd-slide { width: calc(100% - 20px); height: calc(100% - 20px); max-width: none; object-fit: contain; }
.pd-slide.on { opacity: 1; }

/* 特價輪播：滑鼠停留／手指按住暫停 */

/* ---------- 累計到訪人次（編輯式計數器） ---------- */
.visit-counter {
  margin: 0 0 44px; display: flex; flex-direction: column; gap: 14px;
  max-width: 100%; padding: 24px 30px 20px 2px; position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.visit-counter::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px;
  background: var(--gold);
}
.visit-counter::after {
  content: ""; position: absolute; top: 3px; left: 0; right: 0; height: 1px;
  background: var(--line);
}
.vc-label {
  font-size: .78rem; letter-spacing: .42em; color: var(--celadon-deep);
}
.vc-digits { display: flex; gap: .12em; max-width: 100%; }
.vc-digit {
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  font-size: 2.5rem; font-weight: 500; line-height: 1.05;
  font-variant-numeric: tabular-nums; color: var(--ink); text-align: center;
}
.vc-digit.dim { color: rgba(46, 44, 38, .25); }
@media (max-width: 700px) {
  .visit-counter { margin-bottom: 34px; padding: 18px 10px 16px 2px; gap: 11px; }
  .vc-label { letter-spacing: .32em; }
  .vc-digit { font-size: 1.85rem; }
}

/* 購買區信任列排版修正（2026-10-22 使用者截圖回報）：避免手機 2+1 掉行不齊，改直向三列置中 */
.pd-trust span { white-space: nowrap; }
@media (max-width: 700px) {
  .pd-trust { flex-direction: column; align-items: stretch; gap: 0; margin-top: 18px; padding-top: 4px; }
  .pd-trust span { display: block; text-align: left; padding: 8px 2px; border-bottom: 1px solid var(--line); white-space: normal; }
  .pd-trust span:last-child { border-bottom: 0; }
  .pd-bag .qty-ctrl { flex-wrap: nowrap; }
}

/* 平板適應（701–1024px）：補足手機與桌機之間的斷點（2026-10-23） */
@media (min-width: 701px) and (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pd-bag { padding: 16px; }
  .pd-trust { gap: 6px 14px; font-size: .88rem; }
}

/* ---------- 購買區排版 v2（2026-10-23）：留白／紙袋加購醒目化／加購卡緊湊化 ---------- */
.qty-ctrl input[type="number"] {
  width: 76px; height: 46px; padding: 0 6px; text-align: center;
  font-size: 1.1rem; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.pd-qty { margin: 10px 0 26px; }
.pd-bag {
  border: 1.5px solid var(--gold); background: rgba(176,141,87,.08);
  border-radius: var(--radius); padding: 20px; margin: 0 0 26px;
}
.pd-bag label.pd-bag-head { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.pd-bag-head input[type="checkbox"] { width: 26px; height: 26px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--cinnabar); }
.pd-bag-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pd-bag-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.12rem; font-weight: 700; line-height: 1.45; }
.pd-bag-tag { font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap; background: var(--cinnabar); color: var(--paper); border-radius: 999px; padding: 3px 10px; }
.pd-bag-sub { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.pd-bag-price { flex: 0 0 auto; font-size: 1.02rem; font-weight: 700; color: var(--cinnabar); white-space: nowrap; padding-top: 3px; }
.pd-bag-qty { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pd-bag:has(.pd-bag-head input:checked) .pd-bag-qty { display: block; }
.pd-bag:has(.pd-bag-head input:checked) { border-color: var(--cinnabar); }
.pd-bag .pd-bag-qty .bag-qty-label { display: block; margin: 0 0 8px; font-size: .95rem; color: var(--muted); }
.pd-bag .qty-ctrl { flex-wrap: nowrap; }
.pd-bag .qty-ctrl button { flex: 0 0 46px; }
.pd-bag .qty-ctrl input { flex: 0 0 76px; }
.card.pd-upsell { padding: 20px; }
.pd-upsell h3 { margin: 0 0 8px; font-size: 1.12rem; }
.pd-upsell p { margin: 0 0 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pd-upsell p br { display: none; }
.pd-upsell .price { font-size: 1.28rem; }
.pd-upsell .btn { white-space: nowrap; letter-spacing: .05em; text-indent: 0; font-size: 1.02rem; padding: 14px 8px; margin: 2px 0 0; }
@media (max-width: 699px) {
  .pd-bag { padding: 18px 16px; }
  .pd-bag-price { font-size: .98rem; }
  .pd-bag-title { display: block; word-break: keep-all; font-size: 1.04rem; }
  .pd-bag-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
  .pd-bag-tag { flex: 0 0 auto; }
}

/* ================= 宋韻 v3（2026-10-23）：極度古色古香 ================= */
/* 宣紙紙紋＋歲月暈染（鋪在頁底，不干擾閱讀） */
body {
  position: relative;
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27260%27%20height%3D%27260%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.85%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27matrix%27%20values%3D%270%200%200%200%200.18%200%200%200%200%200.16%200%200%200%200%200.11%200%200%200%200.055%200%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27%2F%3E%3C%2Fsvg%3E"),
    radial-gradient(130% 90% at 50% -10%, rgba(255, 255, 255, .4), rgba(122, 102, 62, .07) 78%);
}

/* 全頁版框：宋版書的版心框線（細金雙線，隨頁面捲動、框住整頁內容） */
body::after {
  content: ""; position: absolute; inset: 7px; z-index: 60;
  border: 1px solid rgba(176, 141, 87, .32);
  outline: 1px solid rgba(176, 141, 87, .18); outline-offset: 3px;
  pointer-events: none;
}

/* 主視覺：絹面漸層＋左側直書（與右側「鼎崴Demo」成對） */
.hero {
  background:
    radial-gradient(90% 130% at 50% -10%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #F2EADA, rgba(242, 234, 218, 0) 85%);
}
.hero::before {
  content: "鼎崴"; position: absolute; top: 50%; left: 16px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: 1.12rem; letter-spacing: .42em;
  color: rgba(71, 105, 107, .38);
  pointer-events: none; user-select: none; z-index: 1;
}
.hero h1 { text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
.hero-vertical { color: rgba(71, 105, 107, .38); }

/* 商品卡：冊頁雙線框（外金線＋內墨線） */
.product-img { outline: 1px solid rgba(176, 141, 87, .35); outline-offset: 3px; }
.product-card:hover .product-img, .product-card:active .product-img {
  border-color: var(--celadon-deep); outline-color: rgba(71, 105, 107, .55);
}

/* 按鈕：釉面內光（像瓷器上釉的邊光） */
.btn-primary, .btn-accent { box-shadow: inset 0 0 0 1px rgba(253, 251, 246, .35), inset 0 -2px 0 rgba(30, 30, 20, .10); }

/* 購買框：外框金線加重 */
.pd-buy { outline-color: rgba(176, 141, 87, .5); }

/* 特價區：手卷段落（雙線夾邊＋絹底＋冰裂紋） */
.sale-section {
  position: relative; padding: 30px 16px 10px;
  border-top: 3px double var(--line); border-bottom: 3px double var(--line);
  background-color: rgba(253, 251, 246, .45);
  overflow: hidden;
}
.sale-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27240%27%20height%3D%27240%27%20fill%3D%27none%27%20stroke%3D%27%234E4A3E%27%20stroke-width%3D%271%27%3E%3Cpath%20d%3D%27M18%2062%20L72%2030%20L124%2056%20L108%20108%20L44%20112%20Z%27%2F%3E%3Cpath%20d%3D%27M142%2018%20L202%2044%20L216%2096%20L164%20122%20L134%2068%20Z%27%2F%3E%3Cpath%20d%3D%27M58%20152%20L116%20136%20L152%20176%20L120%20222%20L52%20206%20Z%27%2F%3E%3Cpath%20d%3D%27M172%20150%20L226%20172%20L212%20226%20L158%20210%20Z%27%2F%3E%3Cpath%20d%3D%27M72%2030%20L84%2084%20L44%20112%27%2F%3E%3Cpath%20d%3D%27M202%2044%20L164%20122%27%2F%3E%3Cpath%20d%3D%27M116%20136%20L120%20222%27%2F%3E%3C%2Fsvg%3E"); background-size: 240px;
  opacity: .05; pointer-events: none;
}
.sale-section > * { position: relative; z-index: 1; }

/* 區塊標題：魚尾紋收尾（古籍版心標記） */
.pd-h2, .sale-title {
  padding-bottom: 16px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2748%27%20height%3D%2718%27%20viewBox%3D%270%200%2048%2018%27%3E%3Cpath%20d%3D%27M3%202%20H45%20L24%2016%20Z%27%20fill%3D%27%23A63D2E%27%2F%3E%3Cpath%20d%3D%27M24%2016%20L17%202%20H31%20Z%27%20fill%3D%27%23F6F1E7%27%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat;
  background-position: center bottom; background-size: 34px auto;
}

/* 頁尾：冰裂紋暗紋＋魚尾居中 */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27240%27%20height%3D%27240%27%20fill%3D%27none%27%20stroke%3D%27%23E7DFC9%27%20stroke-width%3D%271%27%3E%3Cpath%20d%3D%27M18%2062%20L72%2030%20L124%2056%20L108%20108%20L44%20112%20Z%27%2F%3E%3Cpath%20d%3D%27M142%2018%20L202%2044%20L216%2096%20L164%20122%20L134%2068%20Z%27%2F%3E%3Cpath%20d%3D%27M58%20152%20L116%20136%20L152%20176%20L120%20222%20L52%20206%20Z%27%2F%3E%3Cpath%20d%3D%27M172%20150%20L226%20172%20L212%20226%20L158%20210%20Z%27%2F%3E%3Cpath%20d%3D%27M72%2030%20L84%2084%20L44%20112%27%2F%3E%3Cpath%20d%3D%27M202%2044%20L164%20122%27%2F%3E%3Cpath%20d%3D%27M116%20136%20L120%20222%27%2F%3E%3C%2Fsvg%3E"); background-size: 240px;
  opacity: .05; pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }

/* 卡片：統一冊頁外線 */
.card { outline: 1px solid rgba(176, 141, 87, .22); outline-offset: 3px; }

/* ================= 宋韻 v4（2026-10-23）：主視覺高級化 ================= */
/* 去 CTA 色塊；題字＋印章＋圖版＋引導線，編輯式構圖；元素依序浮現 */
.hero { padding: 62px 20px 34px; margin-bottom: 46px; }
.hero-sub { margin-bottom: 6px; }
.hero-kicker { display: flex; align-items: center; justify-content: center; gap: 18px; text-indent: 0; }
.hero-kicker::before, .hero-kicker::after { content: ""; height: 1px; width: 46px; }
.hero-kicker::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-kicker::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-plate { position: relative; z-index: 1; margin: 36px auto 0; width: min(74vw, 330px); }
.hero-plate img {
  display: block; width: 100%; height: auto;
  border: 1px solid rgba(176, 141, 87, .55);
  outline: 1px solid rgba(176, 141, 87, .30); outline-offset: 5px;
  box-shadow: 0 22px 44px rgba(46, 44, 38, .18);
}
.hero-plate figcaption {
  margin-top: 16px; text-align: center;
  font-size: .8rem; letter-spacing: .42em; text-indent: .42em; color: var(--muted);
}
.hero-scroll {
  position: relative; z-index: 1;
  margin: 34px auto 4px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: .7rem; letter-spacing: .55em; text-indent: .55em;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--gold), rgba(176, 141, 87, 0));
}
@keyframes heroRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-kicker, .hero h1, .hero-seal-row, .hero-sub, .hero-plate, .hero-scroll { animation: heroRise .9s cubic-bezier(.22, .8, .3, 1) both; }
.hero h1 { animation-delay: .08s; }
.hero-seal-row { animation-delay: .16s; }
.hero-sub { animation-delay: .22s; }
.hero-plate { animation-delay: .32s; }
.hero-scroll { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .hero-kicker, .hero h1, .hero-seal-row, .hero-sub, .hero-plate, .hero-scroll { animation: none; }
}
@media (min-width: 700px) {
  .hero-plate { width: 360px; }
}

/* 商品卡格線對齊：同列等高、價格齊底、標題/摘要平衡斷行（不落單字） */
.product-card { display: flex; flex-direction: column; }
.product-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.product-body > :last-child { margin-top: auto; }
.product-body h3 { text-wrap: balance; }
.product-body .summary { text-wrap: balance; }
@media (max-width: 699px) {
  .product-body h3 { font-size: 1.04rem; letter-spacing: .06em; }
}

/* 格線熱修：卡片允許縮回欄寬（flex 化後圖片固有寬度不撐破 1fr 欄位） */
.product-card { min-width: 0; }
.product-body { min-width: 0; }

/* 特價印：與價格同列的端正方印（flex 同列不換行，含手機） */
.pd-price { position: relative; display: inline-flex; align-items: center; flex-wrap: nowrap; }
.pd-price .sale-tag {
  flex: 0 0 auto; position: static; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: 14px; padding: 0;
  writing-mode: vertical-rl; font-size: .95rem; font-weight: 700; letter-spacing: .14em;
  border-radius: 3px; opacity: .94; transform: none;
  box-shadow: inset 0 0 0 2px rgba(253, 251, 245, .55);
}
@media (max-width: 560px) {
  .pd-price { font-size: 1.5rem; }
  .pd-price .hint { font-size: .92rem; }
  .pd-price-row { gap: 10px; }
  .pd-price .sale-tag { width: 40px; height: 40px; margin-left: 10px; font-size: .88rem; }
}
@media (max-width: 380px) {
  .pd-price { font-size: 1.32rem; }
  .pd-price .sale-tag { width: 36px; height: 36px; margin-left: 8px; }
}
.pd-ship-hint { text-wrap: balance; }

/* ===== 購物車四風格（後台 cart_style 切換） ===== */
.cartx-title { display: flex; align-items: baseline; gap: 12px; }
.cartx-sub { font-size: .95rem; letter-spacing: .34em; color: var(--gold, #B08D57); }
.cartx-promo {
  border: 1px solid var(--gold, #B08D57); border-radius: 10px;
  background: rgba(176, 141, 87, .08); padding: 12px 16px; margin: 0 0 16px;
  line-height: 1.8; font-size: .95rem;
}
.cartx-empty { text-align: center; padding: 44px 20px; }
.cartx-empty-big {
  font-family: "Noto Serif TC", serif; font-size: 1.5rem; line-height: 2;
  letter-spacing: .3em; color: var(--cinnabar, #A63D2E); margin: 0 0 22px;
}
.cartx-gift { border: 1.5px dashed var(--cinnabar, #A63D2E) !important; background: rgba(166, 61, 46, .045); }
.cartx-gift-seal {
  display: inline-block; background: var(--cinnabar, #A63D2E); color: #FDFBF5;
  font-family: "Noto Serif TC", serif; font-size: .82rem; line-height: 1;
  padding: 5px 6px 6px; border-radius: 3px; transform: rotate(-7deg);
  vertical-align: 2px; margin-left: 6px; opacity: .92;
  box-shadow: inset 0 0 0 1.5px rgba(253, 251, 245, .5);
}
.cartx-gift-note { color: var(--cinnabar, #A63D2E); font-size: .88rem; letter-spacing: .14em; margin-left: 4px; }
.feng-steps {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Noto Serif TC", serif; letter-spacing: .18em; font-size: .92rem;
  color: #8b8272; margin: 4px 0 14px; flex-wrap: wrap;
}
.feng-steps .on { color: var(--cinnabar, #A63D2E); font-weight: 700; }
.feng-steps i { font-style: normal; opacity: .5; }

/* 茶帖 tie */
.cartx--tie .cartx-item {
  border: 1px solid rgba(176, 141, 87, .55); border-radius: 4px;
  box-shadow: inset 0 0 0 3px var(--card, #FDFBF5), inset 0 0 0 4px rgba(176, 141, 87, .35);
}
.cartx-seal-btn {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 18px 0 10px; padding: 15px 20px; text-decoration: none;
  background: var(--cinnabar, #A63D2E); color: #F7F1E7; border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(247, 241, 231, .35);
  font-family: "Noto Serif TC", serif; letter-spacing: .3em; font-size: 1.12rem;
}
.cartx-seal-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 2px solid rgba(247, 241, 231, .85); border-radius: 4px;
  font-size: 1.25rem; letter-spacing: 0; background: rgba(247, 241, 231, .12);
}
.cartx-seal-btn.stamping .cartx-seal-mark { animation: cartStamp .55s cubic-bezier(.2, 2.2, .4, 1) both; }
.cartx-seal-btn.stamping { animation: cartPaper .55s ease both; }
@keyframes cartStamp {
  0% { transform: scale(2.4) rotate(-16deg); opacity: 0; }
  55% { transform: scale(.92) rotate(-5deg); opacity: 1; }
  75% { transform: scale(1.06) rotate(-7deg); }
  100% { transform: scale(1) rotate(-6deg); opacity: 1; }
}
@keyframes cartPaper { 0%, 100% { transform: translateY(0); } 55% { transform: translateY(1.5px); } }

/* 茶席 seki */
.cartx--seki .cartx-items {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  background: linear-gradient(160deg, #E7DCC2, #DCCDAC 60%, #D3BF98);
  border-radius: 20px; padding: 16px; margin-bottom: 6px;
  box-shadow: inset 0 0 0 1px rgba(120, 96, 52, .35), inset 0 2px 14px rgba(120, 96, 52, .25);
}
.cartx--seki .cartx-item {
  background: #FBF7EC; border: 1px solid rgba(120, 96, 52, .3);
  border-radius: 16px; box-shadow: 0 3px 10px rgba(90, 70, 35, .14);
}
@media (min-width: 760px) {
  .cartx--seki .cartx-items { grid-template-columns: 1fr 1fr; }
}

/* 手卷 maki */
.cartx--maki .cartx-items {
  display: flex; gap: 14px; overflow-x: auto; padding: 18px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  border-top: 10px solid #8A6D3B; border-bottom: 10px solid #8A6D3B;
  border-image: linear-gradient(90deg, #6E5626, #A5854C, #6E5626) 1;
  background: linear-gradient(180deg, rgba(176, 141, 87, .07), rgba(176, 141, 87, .02));
}
.cartx--maki .cartx-item {
  flex: 0 0 248px; scroll-snap-align: start; flex-direction: column; align-items: stretch;
}
.cartx--maki .cartx-item .thumb { width: 100%; height: 130px; }

/* 奉茶三式 fengcha */
.cartx--fengcha .cartx-item { border-bottom: 1px solid rgba(176, 141, 87, .4); padding-bottom: 14px; }
.cartx--fengcha .cartx-checkout { letter-spacing: .24em; }

@media (prefers-reduced-motion: reduce) {
  .cartx-seal-btn.stamping .cartx-seal-mark, .cartx-seal-btn.stamping { animation: none; }
}

/* 買十送一說明（商品頁橫幅＋首頁卡片小標） */
.pd-promo {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--gold, #B08D57); background: rgba(176, 141, 87, .08);
  border-radius: 8px; padding: 12px 14px; margin: 14px 0 4px;
  line-height: 1.75; font-size: .94rem;
}
.pd-promo-seal {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-top: 2px;
  background: var(--cinnabar); color: #FDFBF5; border-radius: 3px;
  font-family: "Noto Serif TC", serif; font-size: .85rem;
  transform: rotate(-6deg); opacity: .92;
  box-shadow: inset 0 0 0 1.5px rgba(253, 251, 245, .5);
}
.promo-chip {
  display: inline-block; margin-left: 8px; padding: 2px 8px; vertical-align: 2px;
  border: 1px solid var(--cinnabar); color: var(--cinnabar); border-radius: 999px;
  font-size: .72rem; letter-spacing: .12em; font-weight: 700;
}

/* ===== 購物車質感精修：去電商模板感（細線、印章、克制留白） ===== */
.cartx-mini-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin-right: 9px; vertical-align: -6px;
  background: var(--cinnabar, #A63D2E); color: #FDFBF5; border-radius: 2px;
  font-family: "Noto Serif TC", serif; font-size: .85rem; line-height: 1;
  box-shadow: inset 0 0 0 1.5px rgba(253, 251, 245, .5);
}
.cartx-tag {
  display: inline-block; margin-left: 9px; padding: 3px 9px 4px; vertical-align: 2px;
  font-size: .76rem; font-weight: 400; letter-spacing: .22em;
  border: 1px solid currentColor; border-radius: 2px; background: transparent;
}
.cartx-tag--upsell { color: var(--cinnabar, #A63D2E); }
.cartx-tag--bag { color: var(--celadon-deep, #47696B); }
.cartx-tag--gift { color: var(--cinnabar, #A63D2E); border-style: dashed; }
.cartx .ship-progress { background: transparent; }
.cartx .ship-progress strong { font-family: "Noto Serif TC", serif; letter-spacing: .12em; font-weight: 700; }
.cartx .ship-progress .bar { height: 3px; border-radius: 0; background: rgba(139, 130, 114, .22); }
.cartx .ship-progress .bar i { border-radius: 0; background: linear-gradient(90deg, var(--gold, #B08D57), var(--cinnabar, #A63D2E)); }
.cartx .qty-ctrl { gap: 0; border: 1px solid var(--line, #D8CFBB); border-radius: 3px; overflow: hidden; background: var(--card, #FDFBF5); }
.cartx .qty-ctrl button { width: 34px; height: 34px; font-size: 1rem; border: none; border-radius: 0; background: transparent; }
.cartx .qty-ctrl button:hover { background: rgba(176, 141, 87, .12); }
.cartx .qty-ctrl input {
  width: 52px !important; height: 34px; border: none;
  border-left: 1px solid var(--line, #D8CFBB); border-right: 1px solid var(--line, #D8CFBB);
  background: transparent; text-align: center; font-size: .98rem;
  -moz-appearance: textfield; appearance: textfield;
}
.cartx .qty-ctrl input::-webkit-outer-spin-button,
.cartx .qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cartx-remove {
  margin-top: 8px; padding: 2px 1px; background: none; border: none; cursor: pointer;
  font-size: .84rem; letter-spacing: .22em; color: var(--muted, #8B8272);
  border-bottom: 1px solid transparent;
}
.cartx-remove:hover { color: var(--cinnabar, #A63D2E); border-bottom-color: var(--cinnabar, #A63D2E); }
.cartx .cart-item { padding: 20px; }
.cartx .cart-item .info h4 { letter-spacing: .04em; }
.cartx .totals {
  background: transparent; border: none; border-radius: 0;
  border-top: 3px double var(--gold, #B08D57); padding: 18px 4px 4px;
}
.done-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: 6px 0 14px;
  background: var(--cinnabar, #A63D2E); color: #FDFBF5; border-radius: 3px;
  font-family: "Noto Serif TC", serif; font-size: 1.7rem; line-height: 1;
  transform: rotate(-4deg); opacity: .95;
  box-shadow: inset 0 0 0 2px rgba(253, 251, 245, .55);
}


/* ---------- 轉帳回報 v2：方印與帖式面板 ---------- */
.rp-head-seal {
  width: 38px; height: 38px; margin: 4px auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cinnabar); color: #F6F1E7; border-radius: 4px;
  font-size: 1.12rem; font-weight: 900; letter-spacing: .04em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .32), inset 0 0 0 3px var(--cinnabar);
}
.rp-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 14px;
  background: var(--cinnabar); color: #F6F1E7; border-radius: 4px;
  font-size: 1.55rem; font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .32), inset 0 0 0 3px var(--cinnabar);
}
.rp-panel h2 { display: flex; align-items: center; gap: 10px; }
.rp-panel h2::before { content: ''; width: 22px; height: 1px; background: var(--gold); flex: 0 0 auto; }
.rp-form-panel .btn { width: 100%; letter-spacing: .35em; text-indent: .35em; }
.rp-order { border-top: 3px double rgba(176, 141, 87, .55); }
@media (max-width: 560px) {
  .rp-panel { padding: 20px 18px; }
}

/* ---------- 結帳選項字標（去 emoji） ---------- */
.pm-mark {
  width: 36px; height: 36px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--celadon-deep); color: var(--celadon-deep); border-radius: 4px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 1.02rem; font-weight: 700; line-height: 1;
}
.pay-method.on .pm-mark, .invoice-type.on .pm-mark { background: var(--celadon-deep); color: #F6F1E7; }

/* ==== 節氣茶曆 ==== */
.solar-band[data-season="spring"], .solar-now[data-season="spring"], .solar-card[data-season="spring"] { --season: #7A9B5A; }
.solar-band[data-season="summer"], .solar-now[data-season="summer"], .solar-card[data-season="summer"] { --season: #3E7A5E; }
.solar-band[data-season="autumn"], .solar-now[data-season="autumn"], .solar-card[data-season="autumn"] { --season: #B06A32; }
.solar-band[data-season="winter"], .solar-now[data-season="winter"], .solar-card[data-season="winter"] { --season: #5A7184; }
.solar-in { display: flex; align-items: center; gap: 28px; max-width: 1080px; margin: 0 auto; padding: 26px 28px; }
.solar-termbox { display: flex; align-items: flex-start; gap: 10px; flex: none; }
.solar-tname { font-family: "Noto Serif TC", "Songti TC", serif; font-weight: 700; font-size: 2.3rem; letter-spacing: .22em; line-height: 1.15; color: var(--ink); }
.solar-seal { flex: none; width: 30px; height: 30px; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--season); color: #fff; font-family: "Noto Serif TC", serif; font-size: 1rem; border-radius: 4px; letter-spacing: 0; }
.solar-main { flex: 1; min-width: 0; text-align: left; }
.solar-kicker { font-size: .78rem; letter-spacing: .28em; color: var(--celadon-deep); margin: 0 0 6px; }
.solar-line { font-family: "Noto Serif TC", "Songti TC", serif; font-size: 1.18rem; line-height: 1.7; color: var(--ink); margin: 0 0 6px; }
.solar-tea { font-size: .95rem; color: var(--muted); margin: 0; }
.solar-tea a { color: var(--celadon-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.solar-cta { flex: none; display: inline-block; padding: 10px 18px; border: 1px solid var(--celadon-deep); color: var(--celadon-deep); border-radius: 3px; text-decoration: none; letter-spacing: .14em; font-size: .9rem; background: transparent; }
.solar-cta:hover { background: var(--celadon-deep); color: #fff; }
.solar-page { max-width: 1080px; margin: 0 auto; padding: 12px 20px 56px; }
.solar-head { text-align: center; padding: 34px 0 8px; }
.solar-head-kicker { font-size: .8rem; letter-spacing: .34em; color: var(--celadon-deep); margin: 0 0 10px; }
.solar-head h1 { font-family: "Noto Serif TC", "Songti TC", serif; font-size: 2.2rem; letter-spacing: .3em; margin: 0 0 12px; color: var(--ink); text-indent: .3em; }
.solar-head-sub { color: var(--muted); margin: 0; }
.solar-now { display: flex; align-items: center; gap: 28px; padding: 26px 28px; margin: 26px 0 8px; }
.solar-season { margin-top: 40px; }
.solar-season-title { display: flex; align-items: center; gap: 16px; font-family: "Noto Serif TC", serif; font-size: 1.3rem; letter-spacing: .4em; color: var(--ink); margin: 0 0 18px; }
.solar-season-title::before, .solar-season-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.solar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solar-card { padding: 20px; text-align: left; }
.solar-card-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.solar-card-top h3 { font-family: "Noto Serif TC", serif; font-size: 1.25rem; letter-spacing: .16em; margin: 0; color: var(--ink); }
.solar-date { font-size: .8rem; color: var(--muted); }
.solar-now-badge { margin-left: auto; flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; background: var(--season, #B06A32); color: #fff; border-radius: 4px; font-size: .85rem; font-family: "Noto Serif TC", serif; }
.solar-card-line { font-family: "Noto Serif TC", serif; line-height: 1.8; color: var(--ink); margin: 0 0 8px; }
.solar-card-tea { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.8; }
.solar-card-tea a { color: var(--celadon-deep); font-weight: 600; text-decoration: none; }
@media (max-width: 760px) {
  .solar-in, .solar-now { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .solar-cta { align-self: flex-start; }
  .solar-grid { grid-template-columns: 1fr; }
  .solar-tname { font-size: 2rem; }
}

.solar-band { max-width: 1080px; margin: 26px auto 0; padding: 0 20px; }
.solar-band .solar-in { background: var(--card); border: 1px solid var(--line); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line); }
.solar-now, .solar-card { background: var(--card); border: 1px solid var(--line); }
.solar-card.is-now { border-color: var(--season); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--season); }

/* ==== 訂閱茶帖 ==== */
.sub-box { margin-top: 26px; padding: 22px; text-align: left; }
.sub-box-head h3 { font-family: "Noto Serif TC", "Songti TC", serif; font-size: 1.25rem; letter-spacing: .18em; margin: 0 0 6px; color: var(--ink); }
.sub-box-head p { color: var(--muted); font-size: .92rem; line-height: 1.8; margin: 0 0 14px; }
.sub-field { margin-bottom: 14px; }
.sub-field > label { display: block; font-size: .85rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 7px; }
.sub-field select, .sub-field input[type="number"] { width: 100%; padding: 11px 12px; font-size: 1rem; border: 1px solid var(--line); border-radius: 3px; background: var(--card); color: var(--ink); }
.sub-plans, .sub-modes { display: flex; flex-direction: column; gap: 8px; }
.sub-plan, .sub-mode { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.sub-plan input, .sub-mode input { margin-top: 4px; accent-color: var(--celadon-deep); }
.sub-plan-name { font-weight: 700; color: var(--ink); display: block; }
.sub-plan-meta { font-size: .87rem; color: var(--muted); display: block; margin-top: 2px; line-height: 1.7; }
.sub-mode span { font-size: .92rem; color: var(--ink); line-height: 1.7; }
.sub-plan-body { flex: 1; min-width: 0; }
.sub-mode > span { flex: 1; min-width: 0; }
.sub-plan input, .sub-mode input { width: 18px; height: 18px; flex: 0 0 auto; }
.sub-plan, .sub-mode { transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.sub-plan:has(input:checked), .sub-mode:has(input:checked) { border-color: var(--celadon-deep); background: color-mix(in srgb, var(--card) 90%, var(--celadon-deep) 10%); box-shadow: 0 4px 14px -8px color-mix(in srgb, var(--celadon-deep) 60%, transparent); }
.sub-plan-name { font-size: 1.02rem; letter-spacing: .06em; }
.sub-mode strong { margin-right: 8px; }
.sub-qtyrow { display: flex; align-items: flex-end; gap: 12px; }
.sub-qtyrow > label { flex: none; margin-bottom: 10px; }
.sub-qtyrow input[type="number"] { width: 90px; flex: none; }
.sub-cta { flex: 1; }
.sub-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; line-height: 1.8; }
.sub-page { max-width: 860px; margin: 0 auto; padding: 12px 20px 56px; text-align: left; }
.sub-head { text-align: center; padding: 30px 0 6px; }
.sub-head h1 { font-family: "Noto Serif TC", serif; font-size: 1.9rem; letter-spacing: .26em; margin: 0 0 10px; color: var(--ink); text-indent: .26em; }
.sub-head p { color: var(--muted); margin: 0; }
.sub-summary { padding: 20px 22px; margin: 22px 0; }
.sub-summary h2 { font-family: "Noto Serif TC", serif; font-size: 1.2rem; letter-spacing: .1em; margin: 0 0 8px; color: var(--ink); }
.sub-summary p { margin: 4px 0; color: var(--muted); line-height: 1.9; }
.sub-summary p strong { color: var(--ink); }
.sub-periods { display: flex; flex-direction: column; gap: 12px; }
.sub-period { padding: 16px 18px; display: flex; gap: 16px; align-items: flex-start; }
.sub-period-seq { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: "Noto Serif TC", serif; color: var(--ink); }
.sub-period.is-done .sub-period-seq { background: var(--celadon-deep); border-color: var(--celadon-deep); color: #fff; }
.sub-period-main { flex: 1; min-width: 0; }
.sub-period-main p { margin: 2px 0; color: var(--muted); line-height: 1.8; }
.sub-period-main p strong { color: var(--ink); }
.sub-paybox { margin-top: 10px; padding: 14px; border: 1px dashed var(--celadon-deep); border-radius: 3px; }
.sub-paybox p { margin: 3px 0; }
.sub-paybox input[type="text"] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); color: var(--ink); margin-top: 6px; }
.sub-paybox button { margin-top: 10px; }
@media (max-width: 640px) { .sub-qtyrow { flex-wrap: wrap; } .sub-cta { flex: 1 1 100%; } }

.sub-box, .sub-summary, .sub-period { background: var(--card); border: 1px solid var(--line); }
.sub-box { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line); }

/* ---------- 訊息帖（flash）：朱印＋雙框，顯眼而有質感 ---------- */
.flash { display: flex; align-items: center; gap: 16px; animation: flashIn .45s ease both; }
.flash-text { margin: 0; }
.flash-seal {
  flex: 0 0 auto; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.28rem; font-weight: 700; letter-spacing: 0;
}
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .flash { gap: 12px; }
  .flash-seal { width: 40px; height: 40px; font-size: 1.15rem; }
}

/* ================= 宋韻 v5（2026-10-23）：手機主視覺去繁就簡 =================
   窄屏拿掉左右直書（與中央標題重複、且被圖版壓住裁切），圖版改單線細框＋輕影，
   節奏收緊，讓首屏回到「題字—印章—圖版」的編輯式留白。桌機成對直書維持不動。 */
@media (max-width: 699px) {
  .hero::before, .hero-vertical { display: none; }
  .hero { padding: 46px 22px 30px; margin-bottom: 40px; }
  .hero-watermark { font-size: 9.5rem; opacity: .8; }
  .hero-kicker { margin-bottom: 18px; font-size: .9rem; letter-spacing: .32em; gap: 12px; }
  .hero-kicker::before, .hero-kicker::after { width: 30px; }
  .hero h1 { font-size: 2.3rem; letter-spacing: .26em; text-indent: .26em; margin-bottom: 12px; }
  .hero-seal-row { margin-bottom: 16px; }
  .hero-plate { width: min(80vw, 330px); margin-top: 30px; }
  .hero-plate img {
    border: 1px solid rgba(176, 141, 87, .45);
    outline: none;
    box-shadow: 0 14px 30px rgba(46, 44, 38, .13);
  }
  .hero-plate figcaption { margin-top: 14px; }
  .hero-scroll { margin-top: 28px; }
  .hero-scroll::after { height: 36px; }
}

/* 商品頁上方導覽：上一個／下一個商品（精緻小按鈕，細框髮絲線、hover 染金） */
.pd-navrow{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 14px;padding:0 0 12px;border-bottom:1px solid rgba(130,120,90,.25)}
.pd-nav-link{display:inline-flex;align-items:center;gap:.45em;padding:9px 18px;font-size:.9rem;letter-spacing:.12em;line-height:1;color:var(--ink,inherit);background:var(--card,transparent);border:1px solid var(--line,rgba(130,120,90,.4));border-radius:var(--radius,4px);text-decoration:none;transition:border-color .18s ease,color .18s ease,background .18s ease,transform .18s ease}
.pd-nav-link:hover{border-color:var(--gold,#a5854f);color:var(--gold,#a5854f);background:rgba(165,133,79,.07);transform:translateY(-1px)}
.pd-navrow .pd-next{margin-left:auto}
@media (max-width:560px){.pd-nav-link{padding:8px 13px;font-size:.85rem;letter-spacing:.08em}}

/* ============================================================
 * 宋韻 v5（2026-11-02）：全站質感加強＋加購卡改版
 * 宣紙紙紋、卡片落影、按鈕釉光漸層、圖片框景深化、
 * 輸入聚焦金環、手機吸底列薄霧效果、加購商品圖＋點入查看
 * ============================================================ */

/* 宣紙紙紋：極淡交織纖維紋＋頁面頂部一抹天光 */
body {
  background-image:
    radial-gradient(130% 55% at 50% -8%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 62%),
    repeating-linear-gradient(0deg, rgba(46, 44, 38, .014) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(46, 44, 38, .014) 0 1px, transparent 1px 3px);
}

/* 卡片與購買框：紙白微漸層＋柔和落影，冊頁浮於紙面 */
.card, .pd-buy, .auth-card {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 55%);
  box-shadow: 0 1px 2px rgba(46, 44, 38, .05), 0 16px 36px -24px rgba(46, 44, 38, .38);
}

/* 按鈕：釉面漸層＋落影，按下微沉 */
.btn { transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background-image: linear-gradient(180deg, #7FA6A4, var(--celadon) 58%, #5E8785);
  box-shadow: inset 0 0 0 1px rgba(253, 251, 246, .35), inset 0 -2px 0 rgba(30, 30, 20, .10), 0 12px 22px -14px rgba(71, 105, 107, .65);
}
.btn-primary:hover { background-image: linear-gradient(180deg, #6E9291, var(--celadon-deep) 60%, #3E5F61); }
.btn-accent {
  background-image: linear-gradient(180deg, #B34C39, var(--cinnabar) 58%, #93382A);
  box-shadow: inset 0 0 0 1px rgba(253, 251, 246, .35), inset 0 -2px 0 rgba(30, 30, 20, .10), 0 12px 22px -14px rgba(166, 61, 46, .6);
}
.btn-accent:hover { background-image: linear-gradient(180deg, #A63D2E, #93382A 60%, #853326); }
.btn-ghost { background: rgba(253, 251, 246, .55); }

/* 頁首：固定時添一層薄影，與內文分層 */
.site-header { box-shadow: 0 12px 26px -20px rgba(46, 44, 38, .45); }

/* 商品圖框：內影添厚度；滑鼠懸停時卡片微微浮起 */
.product-img { box-shadow: inset 0 0 0 1px rgba(46, 44, 38, .05), 0 12px 26px -20px rgba(46, 44, 38, .5); }
.product-card { transition: transform .35s ease; }
@media (hover: hover) {
  .product-card:hover { transform: translateY(-3px); }
}

/* 商品主圖：冊頁落影 */
.detail-img { box-shadow: 0 26px 44px -30px rgba(46, 44, 38, .5); }

/* 輸入聚焦：淡金光環 */
.field input, .field select, .field textarea,
.auth-card .field input, .auth-card .field select { transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus,
.auth-card .field input:focus, .auth-card .field select:focus {
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .18);
}

/* 規格鈕：過場更順、懸停染青瓷邊 */
.spec-opt { transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
@media (hover: hover) {
  .spec-opt:hover { border-color: var(--celadon); }
}

/* 加購優惠卡：左圖右文，照片與品名皆可點入該商品頁 */
.card.pd-upsell { padding: 20px; }
.pd-upsell-top { display: flex; gap: 16px; align-items: flex-start; }
.pd-upsell-img {
  flex: 0 0 96px; width: 96px; height: 96px; display: block;
  padding: 4px; background: #FFFDF8;
  border: 1px solid var(--line); border-radius: var(--radius);
  outline: 1px solid rgba(176, 141, 87, .30); outline-offset: 2px;
}
.pd-upsell-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 2px; }
.pd-upsell-info { flex: 1 1 auto; min-width: 0; }
.pd-upsell-info h3 { margin: 2px 0 8px; }
.pd-upsell-info h3 a { color: inherit; text-decoration: none; }
.pd-upsell-info h3 a:hover { color: var(--celadon-deep); }
.pd-upsell-view {
  display: inline-block; margin-top: 2px;
  font-size: .88rem; letter-spacing: .16em; color: var(--celadon-deep);
  text-decoration: none; border-bottom: 1px solid rgba(71, 105, 107, .45); padding-bottom: 1px;
}
.pd-upsell .btn { margin-top: 16px; }
@media (max-width: 400px) {
  .pd-upsell-top { gap: 13px; }
  .pd-upsell-img { flex-basis: 84px; width: 84px; height: 84px; }
}

/* 手機吸底購買列：薄霧透光＋上緣薄影 */
@media (max-width: 699px) {
  .pd-sticky {
    background: rgba(246, 241, 231, .92);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 -10px 26px -18px rgba(46, 44, 38, .5);
  }
}

/* ---------- 選單質感加強（2026-11-02）：紙面微光、細框、朱砂印記 ---------- */
/* 規格選項鈕 */
.spec-opt {
  position: relative;
  padding: 15px 21px;
  font-size: 1.08rem; font-weight: 600; letter-spacing: .1em;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #FFFDF8, var(--card) 55%, #F7F1E3);
  border: 1px solid #C9B995;
  box-shadow: 0 1px 2px rgba(46,44,38,.06), inset 0 1px 0 rgba(255,255,255,.7);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease, color .18s ease;
}
@media (hover:hover) {
  .spec-opt:hover {
    border-color: var(--celadon); color: var(--ink); transform: translateY(-1px);
    box-shadow: 0 5px 12px -4px rgba(71,105,107,.28), inset 0 1px 0 rgba(255,255,255,.7);
  }
}
.spec-opt:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(46,44,38,.08); }
.spec-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.spec-opt.on {
  color: var(--ink); font-weight: 700;
  background: linear-gradient(180deg, #EFF5F1, #E2EDE5);
  border-color: var(--celadon-deep);
  box-shadow: 0 0 0 1.5px var(--celadon-deep), 0 6px 14px -6px rgba(71,105,107,.45);
}
/* 選中右上角的朱砂印記（小印章＋勾） */
.spec-opt.on::before {
  content: "✓"; position: absolute; top: -8px; right: -8px;
  width: 20px; height: 20px; border-radius: 4px;
  background: var(--cinnabar); color: var(--paper);
  font-size: 12px; line-height: 20px; text-align: center; font-weight: 700;
  transform: rotate(-4deg);
  box-shadow: inset 0 0 0 1.5px rgba(246,241,231,.4), 0 2px 5px rgba(166,61,46,.35);
}
.spec-opt:disabled { box-shadow: none; background: var(--card); }
/* 規格組標題 */
.pd-spec label { display: block; font-size: .98rem; font-weight: 700; color: var(--ink); letter-spacing: .2em; margin-bottom: 12px; }
/* 數量步進器：與規格鈕同一套紙面語彙 */
.qty-ctrl button {
  background: linear-gradient(180deg, #FFFDF8, #F7F1E3);
  border: 1px solid #C9B995; color: var(--ink-soft); font-weight: 700;
  box-shadow: 0 1px 2px rgba(46,44,38,.05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
@media (hover:hover) { .qty-ctrl button:hover { border-color: var(--celadon); color: var(--ink); } }
.qty-ctrl button:active { transform: translateY(1px); box-shadow: none; background: #EFE8D8; }
.qty-ctrl input[type="number"] {
  border-color: #C9B995; font-family: inherit; font-weight: 700;
  background: linear-gradient(180deg, #FFFDF8, var(--card));
}
/* 加購紙袋卡：紙面漸層＋自訂朱砂勾選框 */
.pd-bag {
  background: linear-gradient(180deg, rgba(176,141,87,.10), rgba(176,141,87,.05));
  box-shadow: 0 2px 8px -2px rgba(176,141,87,.25);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pd-bag:has(.pd-bag-head input:checked) { box-shadow: 0 6px 16px -6px rgba(166,61,46,.35); }
.pd-bag-head input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 26px; height: 26px; border: 1.5px solid #C9B995; border-radius: 5px;
  background: var(--card); display: inline-grid; place-content: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.pd-bag-head input[type="checkbox"]::before {
  content: "✓"; color: var(--paper); font-size: 15px; line-height: 1; font-weight: 700;
  transform: scale(0); transition: transform .15s ease;
}
.pd-bag-head input[type="checkbox"]:checked { background: var(--cinnabar); border-color: var(--cinnabar); }
.pd-bag-head input[type="checkbox"]:checked::before { transform: scale(1); }
/* 訂閱方案選單：邊框色調與規格鈕一致 */
.sub-plan, .sub-mode { border-color: #C9B995; background: linear-gradient(180deg, #FFFDF8, var(--card)); }
/* 手機吸底列：上緣改雙細線，與頁首呼應（薄霧與柔影由 v5 提供） */
@media (max-width: 699px) {
  .pd-sticky { border-top: 3px double var(--line); }
}

/* 退換貨政策頁（2026-11-03） */
.policy-page { max-width: 880px; margin: 0 auto; padding: 52px 20px 68px; }
.policy-head { text-align: center; margin-bottom: 36px; }
.policy-head h1 { font-size: 2.05rem; font-weight: 900; letter-spacing: .14em; text-indent: .14em; }
.policy-sub { margin-top: 10px; font-size: .95rem; letter-spacing: .22em; text-indent: .22em; color: #97917C; }
.policy-body { background: #FCF8EE; border: 1px solid #E4DABE; border-radius: 16px; padding: 38px 36px 30px; box-shadow: 0 10px 30px rgba(31, 41, 32, .07); }
.policy-body h2 { font-size: 1.13rem; font-weight: 700; letter-spacing: .08em; margin: 26px 0 10px; padding-left: 12px; border-left: 4px solid #C89B5A; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { line-height: 1.95; color: #454033; }
.site-footer .f-links { margin-top: 12px; }
.site-footer .f-links a { color: inherit; opacity: .88; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .policy-page { padding: 40px 14px 54px; }
  .policy-body { padding: 28px 20px 22px; }
}

/* 首頁美化（2026-11-03）：攝影主視覺・老食品工坊故事段・茶禮深色段・捲動淡入 */
.hero-photo { position: relative; overflow: hidden; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 84px 20px 72px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 26, 20, .52) 0%, rgba(16, 26, 20, .18) 34%, rgba(16, 26, 20, .10) 55%, rgba(16, 26, 20, .55) 100%); }
.hero-photo .hero-kicker { color: #E8D9AE; letter-spacing: .34em; text-indent: .34em; }
.hero-photo h1 { color: #FBF6E9; text-shadow: 0 2px 26px rgba(10, 18, 14, .45); }
.hero-photo .hero-sub { color: #F1E7CB; letter-spacing: .3em; text-indent: .3em; }
.hero-photo .hero-vertical { color: rgba(251, 246, 233, .75); }
.hero-photo .hero-scroll { color: rgba(251, 246, 233, .8); }
.hero-term { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 18px; border: 1px solid rgba(232, 217, 174, .55); border-radius: 999px; background: rgba(14, 24, 18, .38); color: #F5EDD8; text-decoration: none; }
.hero-term-name { font-weight: 700; letter-spacing: .18em; color: #E8D9AE; }
.hero-term-line { opacity: .92; }
.hero-term-go { font-size: .85em; opacity: .75; letter-spacing: .08em; }
.story-band { padding: 76px 20px 8px; }
.story-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
.story-fig { margin: 0; }
.story-fig img { width: 100%; border-radius: 14px; box-shadow: 0 18px 40px rgba(31, 41, 32, .16); display: block; }
.story-fig figcaption { margin-top: 12px; text-align: center; color: #97917C; letter-spacing: .22em; font-size: .9rem; }
.story-kicker { color: #A5854E; letter-spacing: .3em; font-size: .9rem; margin-bottom: 10px; }
.story-text h2 { font-size: 1.9rem; font-weight: 900; letter-spacing: .1em; margin-bottom: 18px; }
.story-text p { line-height: 2; color: #454033; margin-bottom: 14px; }
.story-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; }
.story-facts span { border: 1px solid #D8CC9F; color: #7A6A3F; border-radius: 999px; padding: 6px 14px; font-size: .88rem; letter-spacing: .06em; background: #FBF7EA; }
.gift-band { margin-top: 76px; background: linear-gradient(160deg, #14231B 0%, #1C2F22 55%, #12211A 100%); color: #EFE6CC; padding: 72px 20px 80px; }
.gift-inner { max-width: 1080px; margin: 0 auto; }
.gift-head { text-align: center; margin-bottom: 40px; }
.gift-kicker { color: #C9A45C; letter-spacing: .34em; text-indent: .34em; font-size: .9rem; margin-bottom: 10px; }
.gift-head h2 { font-size: 1.9rem; font-weight: 900; letter-spacing: .14em; text-indent: .14em; color: #F7EFDA; }
.gift-sub { margin-top: 12px; color: rgba(239, 230, 204, .75); letter-spacing: .08em; }
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gift-card { display: block; text-decoration: none; background: rgba(247, 239, 218, .05); border: 1px solid rgba(201, 164, 92, .35); border-radius: 14px; padding: 14px 14px 18px; transition: transform .35s ease, border-color .35s ease, background .35s ease; }
.gift-card:hover { transform: translateY(-4px); border-color: rgba(201, 164, 92, .75); background: rgba(247, 239, 218, .09); }
.gift-img { border-radius: 9px; overflow: hidden; aspect-ratio: 1 / 1; background: rgba(247, 239, 218, .08); }
.gift-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift-card h3 { margin: 14px 2px 6px; font-size: 1.02rem; font-weight: 700; letter-spacing: .05em; color: #F7EFDA; }
.gift-price { margin: 0 2px; color: #C9A45C; font-weight: 700; letter-spacing: .05em; }
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .gift-card { transition: none; }
}
@media (max-width: 860px) {
  .story-inner { grid-template-columns: 1fr; gap: 28px; }
  .story-fig { max-width: 420px; margin: 0 auto; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-photo { min-height: 82vh; padding: 64px 16px 56px; }
  .hero-term { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
}

/* 主視覺左側直書在照片上的對比修正（2026-11-03） */
.hero-photo::before { color: rgba(251, 246, 233, .78); text-shadow: 0 1px 12px rgba(10, 18, 14, .35); }

/* 第二輪美化（2026-11-03）：品飲筆記・湯色色票・內頁頁首 */
.liquor-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; }
.pd-notes { margin-top: 8px; }
.notes-card { padding: 26px 28px 22px; }
.notes-liquor { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.notes-liquor-label { font-weight: 700; letter-spacing: .22em; color: #7A6A3F; white-space: nowrap; }
.liquor-band { flex: 1; height: 14px; border-radius: 999px; box-shadow: inset 0 1px 3px rgba(60, 30, 5, .35), 0 1px 0 rgba(255, 255, 255, .5); }
.notes-liquor-desc { color: #8A8163; letter-spacing: .1em; white-space: nowrap; }
.notes-axes { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-bottom: 18px; }
.axis { display: flex; align-items: center; gap: 10px; }
.axis-name { font-weight: 700; letter-spacing: .18em; color: #454033; }
.axis-dots { display: inline-flex; gap: 5px; }
.axis-dots .dot { width: 9px; height: 9px; border-radius: 50%; background: #E3D9BE; box-shadow: inset 0 0 0 1px #D5C69C; }
.axis-dots .dot.on { background: #C08A3E; box-shadow: inset 0 0 0 1px #A5762F, 0 1px 2px rgba(120, 84, 30, .35); }
.notes-text { line-height: 1.95; color: #454033; margin-bottom: 20px; }
.brew h3 { font-size: 1rem; letter-spacing: .2em; color: #7A6A3F; margin-bottom: 12px; }
.brew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.brew-item { background: #FBF7EA; border: 1px solid #E4DABE; border-radius: 10px; padding: 12px 14px; text-align: center; }
.brew-k { display: block; font-size: .82rem; letter-spacing: .26em; text-indent: .26em; color: #97917C; margin-bottom: 5px; }
.brew-v { font-weight: 700; color: #454033; letter-spacing: .03em; }
.page-head { text-align: center; margin: 34px 0 26px; }
.page-head .ph-kicker { color: #A5854E; letter-spacing: .34em; text-indent: .34em; font-size: .88rem; margin-bottom: 8px; }
.page-head h1 { font-size: 1.8rem; font-weight: 900; letter-spacing: .14em; text-indent: .14em; }
.page-head .ph-rule { display: block; width: 54px; height: 3px; margin: 14px auto 0; border-radius: 2px; background: linear-gradient(90deg, #C9A45C, #A5762F); }
@media (max-width: 560px) {
  .notes-card { padding: 20px 18px 16px; }
  .notes-liquor { flex-wrap: wrap; row-gap: 8px; }
  .liquor-band { flex-basis: 100%; order: 3; }
  .brew-grid { grid-template-columns: 1fr; gap: 8px; }
  .brew-item { display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .brew-k { margin-bottom: 0; }
}

/* v2.9.5 全幅四季主視覺 */
html, body { overflow-x: clip; }
.hero-photo { width: 100vw; margin-left: calc(50% - 50vw); min-height: min(94vh, 880px); border-radius: 0; }
.hero-photo h1 { font-size: clamp(3.4rem, 9vw, 5.8rem); letter-spacing: .14em; }
.hero-credit { position: absolute; right: 16px; bottom: 12px; z-index: 3; margin: 0; font-size: 11px; letter-spacing: .08em; color: rgba(251, 246, 233, .78); text-shadow: 0 1px 8px rgba(10, 18, 14, .55); }
@media (max-width: 699px) {
  .hero-photo { min-height: 92vh; }
  .hero-photo h1 { font-size: clamp(2.9rem, 13.5vw, 4.2rem); }
  .hero-credit { right: 10px; bottom: 8px; font-size: 10px; }
}

/* v2.9.6 標題光暈：亮色照片上加深標題背後對比 */
.hero-inner { position: relative; z-index: 2; }
.hero-inner::before { content: ""; position: absolute; inset: -34px -70px; background: radial-gradient(ellipse at center, rgba(10, 18, 14, .40), rgba(10, 18, 14, 0) 68%); z-index: -1; pointer-events: none; }

/* v2.9.7 手機主視覺修正（Mars 截圖回報：標題斷行、節氣膠囊過大） */
.hero-photo h1 { white-space: nowrap; }
@media (max-width: 699px) {
  .hero-photo h1 { font-size: clamp(2.4rem, 11.8vw, 3.4rem); letter-spacing: .1em; text-indent: .1em; }
  .hero-inner { width: 100%; }
  .hero-inner::before { inset: -24px 2px; }
  .hero-term { flex-direction: column; flex-wrap: nowrap; row-gap: 3px; max-width: 302px; padding: 13px 20px 12px; border-radius: 26px; margin-top: 22px; }
  .hero-term-line { font-size: .94em; line-height: 1.5; }
  .hero-scroll { display: none; }
}

/* v2.9.9 卡片品名排版：均衡斷行不留孤字、同列價格對齊 */
.gift-card { display: flex; flex-direction: column; }
.gift-card h3, .product-body h3 { text-wrap: balance; }
.gift-price { margin: auto 2px 0; padding-top: 6px; }
@media (max-width: 699px) {
  .gift-card h3 { font-size: .92rem; letter-spacing: .04em; line-height: 1.5; }
}

/* v2.9.10 美化第三輪：主視覺電影感、商品區價格對齊、毛玻璃薄頁首 */
/* 1) Ken Burns：主視覺照片緩慢推近 */
.hero-bg { animation: heroKenburns 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroKenburns { from { transform: scale(1); } to { transform: scale(1.09) translateY(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
/* 2) 主商品區：價格釘齊卡片底部 */
.product-body { display: flex; flex-direction: column; flex: 1; }
.product-body .price, .product-body .soldout-tag { margin-top: auto; padding-top: 8px; }
/* 4) 捲動後出現的毛玻璃薄頁首 */
.slimbar { position: fixed; top: 0; left: 0; right: 0; z-index: 80; transform: translateY(-110%); opacity: 0; transition: transform .38s ease, opacity .38s ease; background: rgba(250, 246, 235, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(160, 128, 62, .35); }
html.slim-on .slimbar { transform: none; opacity: 1; }
.slimbar-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 9px 20px; }
.slimbar-brand { font-family: "Noto Serif TC", "Songti TC", serif; font-weight: 900; letter-spacing: .18em; color: #33463A; text-decoration: none; font-size: .98rem; white-space: nowrap; }
.slimbar nav { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.slimbar nav a { color: #43554A; text-decoration: none; font-size: .92rem; letter-spacing: .08em; white-space: nowrap; }
.slimbar .slim-cart { border: 1px solid rgba(51, 70, 58, .5); border-radius: 6px; padding: 4px 12px; }
@media (max-width: 699px) {
  .slimbar-in { padding: 8px 14px; gap: 10px; }
  .slimbar nav { gap: 12px; }
  .slimbar nav a { font-size: .88rem; }
  .slimbar-brand { font-size: .92rem; }
}

/* v2.9.11 美化第四輪：頁尾品牌收尾、當季紋樣帶、載入質感、全站微排版 */
/* 1) 頁尾品牌收尾 */
.site-footer { background: linear-gradient(165deg, #182A20 0%, #24322C 55%, #16231B 100%); padding: 64px 0 52px; }
.f-brand { margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(201, 164, 92, .32); }
.f-brand-kicker { color: #C9A45C; letter-spacing: .5em; text-indent: .5em; font-size: .85rem; margin: 0 0 10px; }
.f-brand-name { font-family: "Noto Serif TC", "Songti TC", serif; font-weight: 900; font-size: clamp(2rem, 6.5vw, 2.9rem); letter-spacing: .24em; text-indent: .24em; color: #F7EFDA; margin: 0 0 16px; line-height: 1.25; }
.site-footer .tiny { color: rgba(231, 223, 201, .5); }
/* 2) 當季紋樣細帶（背景圖由 round4-band.css 接續定義） */
.season-band { width: 100vw; margin-left: calc(50% - 50vw); height: 30px; background-color: #16241B; background-repeat: repeat-x; background-position: center; background-size: auto 20px; }
/* 3) 載入質感 */
.hero-photo { background: #20362A; animation: heroFade 1.1s ease both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-bg { animation: heroKenburns 26s ease-in-out infinite alternate, heroImgIn 1.2s ease both; }
@keyframes heroImgIn { from { opacity: 0; } to { opacity: 1; } }
.product-card .product-img { background: #EAE0C6; }
.product-img img, .gift-img img { animation: imgIn .7s ease both; }
@keyframes imgIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-photo, .hero-bg, .product-img img, .gift-img img { animation: none; } }
/* 4) 全站微排版：標題均衡斷行、價格數字對齊 */
.page-head h1, .solar-head h1, .sub-head h1, .policy-head h1, .gift-head h2 { text-wrap: balance; }
.price, .gift-price { font-variant-numeric: tabular-nums; }
.season-band--spring { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2748%27%20height%3D%2724%27%20viewBox%3D%270%200%2048%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C9A45C%27%20stroke-opacity%3D%27.5%27%20stroke-width%3D%271.1%27%3E%3Cpath%20id%3D%27p%27%20d%3D%27M24%2011C25.5%207%2027.5%205.6%2028.7%206.9C29.8%208.2%2026.9%2011.9%2024%2013.2C21.1%2011.9%2018.2%208.2%2019.3%206.9C20.5%205.6%2022.5%207%2024%2011Z%27%2F%3E%3Cuse%20href%3D%27%23p%27%20transform%3D%27rotate%2872%2024%2012%29%27%2F%3E%3Cuse%20href%3D%27%23p%27%20transform%3D%27rotate%28144%2024%2012%29%27%2F%3E%3Cuse%20href%3D%27%23p%27%20transform%3D%27rotate%28216%2024%2012%29%27%2F%3E%3Cuse%20href%3D%27%23p%27%20transform%3D%27rotate%28288%2024%2012%29%27%2F%3E%3C%2Fsvg%3E"); }
.season-band--summer { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2748%27%20height%3D%2724%27%20viewBox%3D%270%200%2048%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C9A45C%27%20stroke-opacity%3D%27.5%27%20stroke-width%3D%271.1%27%3E%3Cpath%20d%3D%27M-12%2022a12%2012%200%200%201%2024%200a12%2012%200%200%201%2024%200a12%2012%200%200%201%2024%200%27%2F%3E%3Cpath%20d%3D%27M0%2013a12%2012%200%200%201%2024%200a12%2012%200%200%201%2024%200%27%2F%3E%3C%2Fsvg%3E"); }
.season-band--autumn { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2748%27%20height%3D%2724%27%20viewBox%3D%270%200%2048%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C9A45C%27%20stroke-opacity%3D%27.5%27%20stroke-width%3D%271.1%27%3E%3Ccircle%20cx%3D%2721%27%20cy%3D%2712%27%20r%3D%276.5%27%2F%3E%3Ccircle%20cx%3D%2737%27%20cy%3D%276.5%27%20r%3D%271.3%27%20fill%3D%27%23C9A45C%27%20fill-opacity%3D%27.5%27%20stroke%3D%27none%27%2F%3E%3C%2Fsvg%3E"); }
.season-band--winter { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2748%27%20height%3D%2724%27%20viewBox%3D%270%200%2048%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C9A45C%27%20stroke-opacity%3D%27.5%27%20stroke-width%3D%271.1%27%3E%3Cpath%20d%3D%27M24%203v18M16.2%207.5l15.6%209M31.8%207.5l-15.6%209%27%2F%3E%3Ccircle%20cx%3D%2724%27%20cy%3D%2712%27%20r%3D%271.2%27%2F%3E%3C%2Fsvg%3E"); }

/* v2.9.12 薄頁首修正：啟用時原頁首同步收起，避免下緣殘影 */
.site-header { transition: transform .38s ease; }
html.slim-on .site-header { transform: translateY(-101%); }

/* v2.9.13 美化第五輪：WebP 圖片包裝、信任徽章列 */
.picx { display: contents; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin: 18px 0 6px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; letter-spacing: .1em; color: #43554A; white-space: nowrap; }
.trust-seal { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1.5px solid #B4552D; color: #B4552D; border-radius: 5px; font-family: "Noto Serif TC", "Songti TC", serif; font-weight: 700; font-style: normal; font-size: .82rem; line-height: 1; flex: 0 0 auto; }
.cart-trust { border-top: 1px solid rgba(160, 128, 62, .3); padding-top: 16px; }
@media (max-width: 699px) {
  .trust-row { gap: 10px 14px; }
  .trust-item { font-size: .85rem; }
}

/* 分享按鈕宋韻化（2026-11-04）：去除品牌螢光色、漸層與柔影，回到米紙、細線、天青與淡金的站內語彙；標記改小方菱，品牌色只留洗淡的墨調 */
.share-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500; letter-spacing: .18em;
  box-shadow: none;
  transition: border-color .22s ease, background .22s ease, color .22s ease;
}
.share-btn::before {
  width: 7px; height: 7px; border-radius: 1px;
  transform: rotate(45deg);
  background: var(--brand);
  box-shadow: none;
}
.share-line { --brand: #55705A; }
.share-fb { --brand: #5A6B82; }
.share-threads { --brand: var(--ink); }
.share-copy {
  --brand: var(--gold);
  background: var(--celadon-deep); border-color: var(--celadon-deep);
  color: var(--paper); letter-spacing: .3em;
}
@media (hover: hover) {
  .share-btn:hover {
    transform: none;
    background: #FFFDF8; border-color: var(--celadon-deep);
    box-shadow: none;
  }
  .share-copy:hover { background: var(--celadon); border-color: var(--celadon); color: var(--paper); }
}
.share-btn:active { transform: none; }

/* ===== 第六輪：商品頁搭配推薦（2026-11-05） ===== */
.pd-recs { margin-bottom: 8px; }
.rec-reason {
  display: inline-block; margin-left: 8px; padding: 2px 8px; vertical-align: 2px;
  border: 1px solid var(--gold, #b08d4f); color: var(--gold, #b08d4f); border-radius: 999px;
  font-size: .72rem; letter-spacing: .12em; font-weight: 700;
}

/* ===== 第六輪：幫我找茶（2026-11-05） ===== */
.finder-head { text-align: center; padding: 28px 0 6px; }
.finder-kicker { color: var(--gold); letter-spacing: .34em; text-indent: .34em; font-size: .8rem; margin: 0 0 8px; }
.finder-title { font-family: var(--serif, "Noto Serif TC", serif); font-size: 2rem; margin: 0 0 10px; }
.finder-lead { color: var(--ink-soft, #5c665e); margin: 0; }
.finder-box { max-width: 760px; margin: 22px auto 8px; padding: 26px 26px 30px; }
.finder-progress { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.finder-step-label { font-size: .82rem; letter-spacing: .18em; color: var(--ink-soft, #5c665e); }
.finder-dots { display: inline-flex; gap: 8px; }
.finder-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); display: inline-block; }
.finder-dot.on { background: var(--gold); }
.finder-q-title { font-family: var(--serif, "Noto Serif TC", serif); font-size: 1.35rem; margin: 0 0 16px; }
.finder-opts { display: grid; gap: 12px; }
.finder-opt {
  text-align: left; padding: 16px 18px; border: 1px solid var(--line, #ddd3bd); border-radius: 12px;
  background: var(--paper, #fffdf7); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  font: inherit; width: 100%;
}
.finder-opt:hover, .finder-opt:focus-visible { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(60, 48, 20, .10); }
.finder-opt-name { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.finder-opt-desc { display: block; color: var(--ink-soft, #5c665e); font-size: .9rem; }
.finder-back { margin-top: 16px; background: none; border: none; color: var(--ink-soft, #5c665e); cursor: pointer; font: inherit; padding: 4px 0; }
.finder-reason { color: var(--ink-soft, #5c665e); margin: 0 0 16px; }
.finder-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.finder-band { margin: 34px 0 6px; }
.finder-band-in {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--line, #ddd3bd); border-radius: 14px; padding: 20px 24px;
  background: linear-gradient(120deg, rgba(176, 141, 87, .10), rgba(176, 141, 87, .02));
}
.finder-band-k { color: var(--gold); letter-spacing: .3em; font-size: .75rem; margin: 0 0 6px; }
.finder-band-title { font-family: var(--serif, "Noto Serif TC", serif); font-size: 1.25rem; margin: 0; }
@media (max-width: 640px) {
  .finder-box { padding: 20px 16px 24px; }
  .finder-band-in { padding: 18px; }
}

/* ===== 第六輪：茶知識專區（2026-11-05） ===== */
.guide-crumb { font-size: .85rem; color: var(--ink-soft, #5c665e); padding: 18px 0 0; }
.guide-crumb a { color: inherit; }
.guide-article { max-width: 780px; margin: 0 auto; }
.guide-title { font-family: var(--serif, "Noto Serif TC", serif); font-size: 1.9rem; line-height: 1.4; margin: 6px 0 10px; }
.guide-meta { color: var(--ink-soft, #5c665e); font-size: .85rem; letter-spacing: .08em; margin: 0 0 26px; }
.guide-body { font-size: 1.02rem; line-height: 1.95; }
.guide-body p { margin: 0 0 1.1em; }
.guide-body h2 {
  font-family: var(--serif, "Noto Serif TC", serif); font-size: 1.3rem; margin: 1.8em 0 .7em;
  padding-bottom: .35em; border-bottom: 1px solid var(--line, #ddd3bd);
}
.guide-body ul, .guide-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.guide-body li { margin-bottom: .45em; }
.guide-body a { color: var(--celadon, #33655a); font-weight: 700; }
.guide-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; line-height: 1.7; }
.guide-table th, .guide-table td { border: 1px solid var(--line, #ddd3bd); padding: 10px 12px; vertical-align: top; text-align: left; }
.guide-table thead th { background: rgba(176, 141, 87, .10); font-family: var(--serif, "Noto Serif TC", serif); }
.guide-table tbody th { background: rgba(176, 141, 87, .05); white-space: nowrap; }
.guide-list { display: grid; gap: 16px; max-width: 860px; margin: 24px auto 8px; }
.guide-card {
  display: block; border: 1px solid var(--line, #ddd3bd); border-radius: 14px; padding: 20px 22px;
  background: var(--paper, #fffdf7); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.guide-card:hover { border-color: var(--gold, #b08d4f); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(60, 48, 20, .10); }
.guide-card-kicker { display: block; color: var(--gold, #b08d4f); letter-spacing: .26em; font-size: .72rem; margin-bottom: 8px; }
.guide-card-title { display: block; font-family: var(--serif, "Noto Serif TC", serif); font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.guide-card-desc { display: block; color: var(--ink-soft, #5c665e); font-size: .93rem; line-height: 1.7; margin-bottom: 10px; }
.guide-card-more { display: block; color: var(--celadon, #33655a); font-weight: 700; font-size: .9rem; }
.guide-nav { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; max-width: 780px; margin: 30px auto 6px; }
.guide-nav-link { color: var(--celadon, #33655a); font-weight: 700; text-decoration: none; }
.guide-nav-next { margin-left: auto; }
@media (max-width: 640px) {
  .guide-title { font-size: 1.55rem; }
  .guide-table { font-size: .88rem; }
  .guide-table th, .guide-table td { padding: 8px; }
}

/* ===== 第六輪：品牌化 404（2026-11-05） ===== */
.nf-box { text-align: center; max-width: 640px; margin: 0 auto; padding: 56px 16px 40px; }
.nf-seal { font-size: 2rem; width: 64px; height: 64px; line-height: 64px; margin-bottom: 14px; }
.nf-title { font-family: var(--serif, "Noto Serif TC", serif); font-size: 1.8rem; margin: 6px 0 14px; }
.nf-text { color: var(--ink-soft, #5c665e); line-height: 1.9; margin: 0 0 26px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 雙 11 活動帶（期間限定，模板內有日期閘門） */
.promo-band{background:#7a1f1f;color:#fdf6ec;padding:34px 0;}
.promo-band-in{max-width:1080px;margin:0 auto;padding:0 20px;text-align:center;}
.promo-k{letter-spacing:.35em;font-size:12px;opacity:.85;margin:0 0 6px;}
.promo-title{font-family:"Noto Serif TC",serif;font-size:30px;margin:0 0 10px;color:#fdf6ec;}
.promo-lead{max-width:720px;margin:0 auto 16px;line-height:1.8;}
.promo-combos{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:880px;margin:0 auto 16px;}
.promo-combo{background:rgba(255,255,255,.08);border:1px solid rgba(253,246,236,.35);border-radius:12px;padding:18px 20px;text-align:left;display:flex;flex-direction:column;}
.combo-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid rgba(253,246,236,.25);padding-bottom:10px;margin-bottom:10px;}
.combo-head strong{font-size:18px;}
.combo-price{font-size:18px;font-weight:700;white-space:nowrap;}
.combo-items{list-style:none;margin:0 0 10px;padding:0;font-size:14.5px;line-height:1.75;opacity:.95;}
.combo-note{font-size:13px;opacity:.8;margin:0 0 12px;}
.promo-combo form{margin-top:auto;}
.combo-btn{width:100%;background:#fdf6ec;color:#7a1f1f;border:none;border-radius:999px;padding:11px 18px;font-size:16px;font-weight:700;cursor:pointer;}
.combo-btn:hover{background:#ffffff;}
@media (max-width:699px){.promo-combos{grid-template-columns:1fr;}}
.promo-code{font-size:17px;}
.promo-code strong{background:#fdf6ec;color:#7a1f1f;padding:2px 10px;border-radius:6px;letter-spacing:.08em;}
.promo-cta a{display:inline-block;border:1px solid #fdf6ec;color:#fdf6ec;padding:8px 18px;border-radius:999px;text-decoration:none;margin:0 4px;}
@media (max-width:640px){.promo-title{font-size:24px;}}


/* ===== 備茶帖（2026-11-07 第一期）：示範頁定版樣貌，接入宋韻色票 ===== */
.tp-head{max-width:760px;margin:34px auto 6px;text-align:center;padding:0 6px;}
.tp-kicker{color:var(--gold);letter-spacing:.35em;font-size:13px;margin:0 0 12px;}
.tp-title{font-family:"Noto Serif TC",serif;font-size:clamp(28px,6vw,40px);font-weight:900;margin:0 0 14px;line-height:1.35;}
.tp-lead{color:var(--ink-soft);line-height:1.9;margin:0;}
.tp-card{background:var(--card);border:1px solid var(--line);border-radius:6px;max-width:820px;margin:26px auto;padding:28px 26px;box-shadow:0 10px 30px rgba(46,44,38,.06);}
.tp-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:8px;}
.tp-post-title{font-family:"Noto Serif TC",serif;font-size:26px;font-weight:900;margin:0 0 6px;}
.tp-mood{color:var(--muted);margin:0;line-height:1.8;font-size:15px;}
.tp-seal{flex:none;width:52px;height:52px;border-radius:8px;background:var(--cinnabar);color:#fff;font-family:"Ma Shan Zheng","Noto Serif TC",serif;font-size:19px;display:flex;align-items:center;justify-content:center;transform:rotate(-4deg);box-shadow:0 3px 8px rgba(166,61,46,.35);text-align:center;line-height:1.15;padding:4px;}
.tp-seal--sub{background:var(--celadon-deep);box-shadow:0 3px 8px rgba(71,105,107,.35);}
.tp-row{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px dashed var(--line);}
.tp-row.is-removed{opacity:.45;}
.tp-thumb{flex:none;width:64px;height:64px;border-radius:6px;overflow:hidden;background:var(--bg);border:1px solid var(--line);}
.tp-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.tp-row-main{flex:1;min-width:0;}
.tp-row-name{font-weight:700;margin:0 0 3px;font-size:17px;}
.tp-row-spec{color:var(--muted);font-weight:400;font-size:14px;margin-left:8px;}
.tp-badge{display:inline-block;background:var(--celadon-deep);color:#fff;font-size:12px;border-radius:999px;padding:1px 9px;margin-left:8px;vertical-align:2px;}
.tp-row-reason{color:var(--ink-soft);margin:0;line-height:1.7;font-size:15px;}
.tp-row-side{flex:none;text-align:right;}
.tp-row-price{font-weight:700;color:var(--gold);margin:0 0 5px;font-size:17px;white-space:nowrap;}
.tp-row-acts{margin:0;display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;}
.tp-act{border:1px solid var(--line);background:#fff;color:var(--ink-soft);border-radius:999px;padding:4px 12px;font-size:13.5px;text-decoration:none;white-space:nowrap;touch-action:manipulation;}
.tp-total{padding-top:18px;}
.tp-total-line{display:flex;justify-content:space-between;align-items:baseline;font-size:18px;}
.tp-total-line strong{font-size:25px;color:var(--ink);}
.tp-promo{color:var(--cinnabar);margin:8px 0 0;font-size:15px;}
.tp-promo strong{letter-spacing:.06em;}
.tp-shipbar{height:8px;background:#EFE7D3;border-radius:99px;margin:14px 0 6px;overflow:hidden;}
.tp-shipbar span{display:block;height:100%;background:var(--celadon);border-radius:99px;}
.tp-ship-note{color:var(--muted);font-size:14px;margin:0 0 14px;}
.tp-approve{width:100%;background:var(--celadon-deep);color:#fff;border:none;border-radius:6px;padding:15px;font-size:18px;font-weight:700;cursor:pointer;font-family:inherit;touch-action:manipulation;}
.tp-approve:disabled{opacity:.45;cursor:default;}
.tp-reset{text-align:center;margin:12px 0 0;}
.tp-reset a{color:var(--muted);font-size:14px;}
.tp-fine{color:var(--muted);font-size:13.5px;line-height:1.8;margin:12px 0 0;}
.tp-build{margin-top:6px;}
.tp-q{border:none;padding:0;margin:0 0 16px;}
.tp-q legend{font-weight:700;margin-bottom:9px;font-size:16px;}
.tp-chips{display:flex;gap:8px;flex-wrap:wrap;}
.tp-chip input{position:absolute;opacity:0;pointer-events:none;}
.tp-chip span{display:inline-block;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 18px;cursor:pointer;font-size:15.5px;touch-action:manipulation;}
.tp-chip input:checked + span{background:var(--celadon-deep);border-color:var(--celadon-deep);color:#fff;font-weight:700;}
.tp-build-btn{background:#fff;border:1.5px solid var(--celadon-deep);color:var(--celadon-deep);border-radius:6px;padding:12px 26px;font-size:16.5px;font-weight:700;cursor:pointer;font-family:inherit;touch-action:manipulation;}
.tp-result{border-top:1px solid var(--line);margin-top:20px;padding-top:8px;}
.tp-result-note{color:var(--ink-soft);line-height:1.8;}
.tp-kinds{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;max-width:820px;margin:0 auto 8px;}
.tp-kind{background:var(--card);border:1px solid var(--line);border-radius:6px;padding:18px;}
.tp-kind h3{font-family:"Noto Serif TC",serif;margin:0 0 8px;font-size:19px;}
.tp-kind p{color:var(--ink-soft);line-height:1.75;margin:0 0 8px;font-size:15px;}
.tp-kind-state{color:var(--gold);font-weight:700;font-size:13.5px;margin:0;}
.tp-door{text-align:center;color:var(--ink-soft);margin:22px auto 8px;line-height:1.9;}
.tp-door a{color:var(--celadon-deep);font-weight:700;}
/* 首頁備茶帖區 */
.tp-home{max-width:1080px;margin:30px auto 6px;padding:0 4px;}
.tp-home-in{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:30px;box-shadow:0 10px 30px rgba(46,44,38,.05);}
.tp-home-kicker{color:var(--gold);letter-spacing:.3em;font-size:13px;margin:0 0 10px;}
.tp-home-title{font-family:"Noto Serif TC",serif;font-size:clamp(23px,4.5vw,31px);font-weight:900;margin:0 0 12px;line-height:1.4;}
.tp-home-lead{color:var(--ink-soft);line-height:1.9;margin:0 0 18px;}
.tp-home-acts{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px;}
.tp-home-btn{background:var(--celadon-deep);color:#fff;border-radius:6px;padding:12px 22px;text-decoration:none;font-weight:700;font-size:16px;touch-action:manipulation;}
.tp-home-btn--ghost{background:#fff;color:var(--celadon-deep);border:1.5px solid var(--celadon-deep);}
.tp-home-quick-btn{background:none;border:none;color:var(--muted);text-decoration:underline;cursor:pointer;font-size:14.5px;font-family:inherit;padding:4px 0;touch-action:manipulation;}
.tp-home-card{border:1px solid var(--line);border-radius:6px;background:var(--bg);padding:20px 20px 16px;}
.tp-home-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}
.tp-home-card-head h3{font-family:"Noto Serif TC",serif;font-size:21px;margin:2px 0 0;}
.tp-home-mood{color:var(--muted);font-size:14.5px;line-height:1.7;margin:8px 0 6px;}
.tp-home-items{list-style:none;margin:0;padding:0;}
.tp-home-items li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:15.5px;}
.tp-home-item-name small{color:var(--muted);margin-left:7px;font-size:13px;}
.tp-home-item-price{color:var(--gold);font-weight:700;white-space:nowrap;}
.tp-home-total{display:flex;justify-content:space-between;align-items:baseline;margin:12px 0 0;font-size:16.5px;}
.tp-home-total strong{font-size:22px;}
.tp-home-promo{color:var(--cinnabar);font-size:14.5px;margin:8px 0 0;}
@media (max-width:760px){
  .tp-home-in{grid-template-columns:1fr;padding:22px 18px;}
  .tp-card{padding:22px 16px;}
  .tp-row{flex-wrap:wrap;}
  .tp-row-side{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;}
  .tp-row-price{margin:0;}
  .tp-post-title{font-size:23px;}
}

/* ===== 腳本客服「備茶員」 ===== */
.clerk-fab{position:fixed;left:14px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:8px;background:var(--celadon-deep);color:#fff;border:none;border-radius:999px;padding:9px 16px 9px 9px;font-size:15.5px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(46,44,38,.28);font-family:inherit;touch-action:manipulation;}
.clerk-fab-seal{width:30px;height:30px;border-radius:50%;background:var(--cinnabar);display:flex;align-items:center;justify-content:center;font-family:"Ma Shan Zheng","Noto Serif TC",serif;font-size:16px;}
.clerk-fab.is-open{background:var(--ink);}
body:has(.pd-sticky) .clerk-fab{bottom:calc(118px + env(safe-area-inset-bottom));}
.clerk-teaser{position:fixed;left:14px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:80;display:flex;align-items:stretch;max-width:min(78vw,320px);background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 22px rgba(46,44,38,.18);overflow:hidden;}
body:has(.pd-sticky) .clerk-teaser{bottom:calc(172px + env(safe-area-inset-bottom));}
.clerk-teaser-main{flex:1;background:none;border:none;text-align:left;padding:11px 6px 11px 14px;font-size:14.5px;line-height:1.6;color:var(--ink);cursor:pointer;font-family:inherit;touch-action:manipulation;}
.clerk-teaser-x{flex:none;background:none;border:none;color:var(--muted);font-size:18px;padding:0 10px;cursor:pointer;touch-action:manipulation;}
.clerk-panel{position:fixed;left:12px;bottom:calc(66px + env(safe-area-inset-bottom));z-index:90;width:min(92vw,378px);max-height:min(66vh,560px);display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 40px rgba(46,44,38,.3);overflow:hidden;}
body:has(.pd-sticky) .clerk-panel{bottom:calc(170px + env(safe-area-inset-bottom));}
.clerk-head{display:flex;justify-content:space-between;align-items:center;background:var(--celadon-deep);color:#fff;padding:11px 14px;}
.clerk-head strong{font-family:"Noto Serif TC",serif;font-size:17px;display:block;line-height:1.3;}
.clerk-head span{font-size:12.5px;opacity:.85;display:block;}
.clerk-close{background:none;border:none;color:#fff;font-size:22px;cursor:pointer;padding:2px 6px;touch-action:manipulation;}
.clerk-msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;min-height:180px;}
.clerk-msg{max-width:88%;padding:9px 12px;border-radius:12px;line-height:1.7;font-size:15px;}
.clerk-msg--bot{background:var(--bg);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px;}
.clerk-msg--me{background:var(--celadon-deep);color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
.clerk-msg--form{background:var(--bg);border:1px solid var(--line);align-self:stretch;max-width:100%;}
.clerk-link{color:var(--celadon-deep);font-weight:700;}
.clerk-msg--me .clerk-link{color:#fff;}
.clerk-opts{display:flex;flex-wrap:wrap;gap:7px;padding:0 12px 10px;}
.clerk-opt{border:1px solid var(--celadon-deep);color:var(--celadon-deep);background:#fff;border-radius:999px;padding:7px 14px;font-size:14.5px;cursor:pointer;font-family:inherit;touch-action:manipulation;}
.clerk-inputrow{display:flex;border-top:1px solid var(--line);}
.clerk-inputrow input{flex:1;border:none;padding:12px 14px;font-size:16px;font-family:inherit;background:#fff;min-width:0;}
.clerk-inputrow input:focus{outline:none;}
.clerk-inputrow button{flex:none;background:var(--celadon-deep);color:#fff;border:none;padding:0 18px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;touch-action:manipulation;}
.clerk-ticket label{display:block;font-size:13.5px;color:var(--ink-soft);margin-bottom:9px;}
.clerk-ticket input,.clerk-ticket textarea{display:block;width:100%;margin-top:4px;border:1px solid var(--line);border-radius:6px;padding:9px 10px;font-size:15.5px;font-family:inherit;background:#fff;box-sizing:border-box;}
.clerk-ticket button{width:100%;background:var(--celadon-deep);color:#fff;border:none;border-radius:6px;padding:11px;font-size:15.5px;font-weight:700;cursor:pointer;font-family:inherit;touch-action:manipulation;}

/* 茶字典面板／提醒的 hidden 必須壓過 display:flex，否則關不掉（2026-11-07 修） */
.clerk-panel[hidden],.clerk-teaser[hidden]{display:none;}

/* 迷你列購物車同步圖形化（2026-11-07，深天青釉面版） */
.slimbar .slim-cart{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(155deg,#74917A 0%,#55705E 45%,#3C5747 100%);border:1px solid #2F4A3C;color:#F7F2E4 !important;border-radius:7px;padding:5px 12px 5px 9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 0 0 2px rgba(247,242,228,.12),inset 0 0 0 3px rgba(216,188,126,.5),0 2px 6px rgba(38,54,44,.22);}
.slimbar .slim-cart svg{width:16px;height:16px;flex:none;color:#E3C98B;}

/* ===== 備茶制第二期（2026-11-07）：典藏帖／補茶帖／藏茶閣／味覺護照／送禮帖 ===== */
.arc-card{position:relative;}
.arc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.arc-no{font-size:11.5px;letter-spacing:.18em;color:var(--gold);}
.arc-title{font-family:"Noto Serif TC","Songti TC",serif;font-size:20px;font-weight:700;letter-spacing:.05em;margin-top:2px;}
.arc-date{font-size:12.5px;color:#8A7C63;margin-top:3px;line-height:1.6;}
.arc-seal{background:var(--cinnabar);color:#FFF7EA;font-family:"Noto Serif TC","Songti TC",serif;font-size:12.5px;letter-spacing:.14em;padding:7px 8px;border-radius:5px;transform:rotate(5deg);flex:none;box-shadow:0 2px 6px rgba(160,58,44,.3);white-space:nowrap;}
.arc-seal.green{background:var(--celadon-deep);box-shadow:0 2px 6px rgba(47,79,62,.3);}
.arc-seal.grey{background:#9A917F;box-shadow:0 2px 6px rgba(120,112,95,.3);}
.arc-items{margin-top:12px;border-top:1px dashed #DDD0B2;padding-top:10px;}
.arc-items summary{cursor:pointer;font-size:13.5px;color:var(--celadon-deep);letter-spacing:.06em;touch-action:manipulation;}
.arc-item{display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:14px;}
.arc-total{display:flex;justify-content:space-between;border-top:1.5px solid #D9CBA6;margin-top:8px;padding-top:8px;font-weight:700;font-size:15px;}
.arc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;align-items:center;}
.arc-actions form{margin:0;}
.pass-panel{background:linear-gradient(155deg,#74917A 0%,#55705E 45%,#3C5747 100%);border-radius:12px;padding:18px;margin:0 0 14px;color:#F7F2E4;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 0 0 3px rgba(247,242,228,.12),inset 0 0 0 4px rgba(216,188,126,.5),0 5px 14px rgba(38,54,44,.28);}
.pass-title{font-family:"Noto Serif TC","Songti TC",serif;font-size:17px;letter-spacing:.3em;font-weight:700;}
.pass-row{margin-top:13px;}
.pass-lab{display:flex;justify-content:space-between;font-size:12px;letter-spacing:.12em;color:#E9E2CD;}
.pass-bar{height:7px;background:rgba(247,242,228,.22);border-radius:999px;margin-top:5px;overflow:hidden;}
.pass-in{height:100%;background:#E3C98B;border-radius:999px;}
.pass-note{margin:13px 0 0;font-size:13px;line-height:1.7;color:#F1EAD6;border-top:1px solid rgba(247,242,228,.25);padding-top:10px;}
.taste-qlab{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--gold);margin:12px 0 6px;}
.taste-chips{display:flex;flex-wrap:wrap;gap:7px;}
.tchip{display:inline-block;cursor:pointer;touch-action:manipulation;}
.tchip input{position:absolute;opacity:0;pointer-events:none;}
.tchip span{display:inline-block;font-size:13.5px;padding:8px 14px;border-radius:999px;border:1px solid #C9BB9C;background:#FBF7EC;color:#5D5342;}
.tchip input:checked+span{background:var(--celadon-deep);border-color:var(--celadon-deep);color:#FDF6EC;font-weight:700;}
.tchip input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px;}
.gift-link{background:#FBF7EC;border:1px dashed #C9BB9C;border-radius:8px;padding:10px 12px;font-size:13px;word-break:break-all;line-height:1.6;color:#5D5342;}


/* 備茶制第三期：茶會帖沖泡時間表 */
.tp-party { margin-top: 12px; border-top: 1px dashed #cfc0a0; padding-top: 12px; }
.tp-party-title { font-family: "Songti TC","Noto Serif TC",serif; font-size: 15.5px; font-weight: 700; color: #2f4f3e; margin: 0 0 8px; }
.tp-party-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 8px; }
.tp-party-table th { text-align: left; color: #a8853c; font-size: 12px; letter-spacing: .08em; padding: 5px 6px; border-bottom: 1.5px solid #d9cba6; }
.tp-party-table td { padding: 5px 6px; border-bottom: 1px dashed #ddd0b2; color: #4c4436; }


/* 備茶帖卡質感升級（2026-11-07 Mars 指示「卡片要有質感」）：暖紙面＋金色雙框＋疊紙層次＋印泥漸層 */
.tp-home-card, .tp-card, .arc-card {
  position: relative;
  z-index: 0;
  background:
    repeating-linear-gradient(0deg, rgba(120, 96, 50, .014) 0 2px, transparent 2px 5px),
    linear-gradient(168deg, #FFFCF4 0%, #FAF3E2 55%, #F5ECD4 100%);
  border: 1px solid #D3BE8F;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -14px 26px -18px rgba(120, 96, 50, .25),
    0 1px 2px rgba(62, 50, 28, .06),
    0 16px 34px -14px rgba(62, 50, 28, .28);
}
.tp-home-card:before, .tp-card:before, .arc-card:before {
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(168, 133, 60, .42);
  border-radius: 5px; pointer-events: none;
}
/* 疊紙層已移除（2026-11-07 Mars 二度回報位置偏移）：厚度改由多層陰影表達，卡片位置與原版完全一致 */
.tp-home-card, .tp-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -14px 26px -18px rgba(120, 96, 50, .25),
    0 1px 2px rgba(62, 50, 28, .06),
    0 3px 6px rgba(62, 50, 28, .05),
    0 16px 34px -14px rgba(62, 50, 28, .28);
}
.tp-seal {
  background: linear-gradient(145deg, #BC4A38 0%, #A03A2C 55%, #86301F 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .45), inset 0 -3px 6px rgba(60, 10, 0, .28), 0 4px 10px rgba(160, 58, 44, .38);
  text-shadow: 0 1px 1px rgba(60, 10, 0, .35);
  border-radius: 7px;
}
.tp-seal--sub {
  background: linear-gradient(150deg, #6E9291 0%, #557A78 55%, #47696B 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), inset 0 -3px 6px rgba(10, 40, 40, .3), 0 4px 10px rgba(71, 105, 107, .38);
}
.tp-home-card-head h3, .tp-post-title { letter-spacing: .05em; color: #2B2620; }
.tp-home-item-price, .tp-row-price {
  font-family: "Noto Serif TC", serif; color: #96702F; letter-spacing: .03em;
}
.tp-home-total { border-top: 3px double #B99B5F; padding-top: 13px; }
.tp-home-total strong { font-family: "Noto Serif TC", serif; font-weight: 900; color: #2B2620; }
.tp-total { border-top: 3px double #B99B5F; margin-top: 16px; }
.tp-total-line strong { font-family: "Noto Serif TC", serif; font-weight: 900; }
.tp-home-promo {
  background: linear-gradient(180deg, #FBF0E6, #F8E9DB);
  border: 1px dashed rgba(160, 58, 44, .55);
  border-radius: 6px; padding: 9px 12px; color: #93321F;
}


/* 雙11 活動帶美化（2026-11-07 Mars 指示）：深漆紅＋金線＋牌匾卡（只用陰影與漸層，不動位置） */
.promo-band {
  background:
    repeating-linear-gradient(0deg, rgba(255, 235, 200, .016) 0 2px, transparent 2px 5px),
    linear-gradient(168deg, #93302A 0%, #7A1F1F 52%, #5E1616 100%);
  border-top: 1px solid rgba(232, 201, 139, .5);
  border-bottom: 1px solid rgba(232, 201, 139, .5);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .25), inset 0 -18px 30px -22px rgba(0, 0, 0, .55);
}
.promo-k { color: #E8C98B; opacity: 1; }
.promo-title { letter-spacing: .08em; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.promo-combo {
  background: linear-gradient(172deg, rgba(255, 244, 230, .14), rgba(255, 244, 230, .05) 60%, rgba(0, 0, 0, .10));
  border: 1px solid rgba(232, 201, 139, .55);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(232, 201, 139, .22), inset 0 1px 0 rgba(255, 255, 255, .20), 0 14px 28px -14px rgba(0, 0, 0, .5);
}
.combo-head { border-bottom: 1px solid rgba(232, 201, 139, .35); }
.combo-head strong { font-family: "Noto Serif TC", serif; letter-spacing: .05em; }
.combo-price { font-family: "Noto Serif TC", serif; color: #F0D79A; }
.combo-btn {
  background: linear-gradient(180deg, #FFFBF0, #F3E5C3);
  color: #7A1F1F;
  box-shadow: inset 0 0 0 1px rgba(168, 133, 60, .45), inset 0 1px 0 #FFFFFF, 0 6px 14px -6px rgba(0, 0, 0, .5);
  letter-spacing: .06em;
}
.combo-btn:hover { background: linear-gradient(180deg, #FFFFFF, #F7EBCB); }
.promo-code strong {
  background: linear-gradient(180deg, #F9EDCB, #ECD094);
  color: #7A1F1F;
  box-shadow: inset 0 0 0 1px rgba(168, 133, 60, .5), inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 8px rgba(0, 0, 0, .3);
}
.promo-cta a { border-color: rgba(232, 201, 139, .65); color: #F7E8C8; }


/* 備茶制第四期：傳帖表單與按鈕、購物車補帖卡、商品頁回連帖 */
.tp-share-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tp-share-form input[type="text"] { flex: 1 1 180px; border: 1px solid #cfc0a0; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit; background: #fffdf6; color: #2e2a23; }
.tp-share-go, .tp-share-btn { background: #fffdf6; color: #2f4f3e; border: 1.5px solid #2f4f3e; border-radius: 10px; padding: 11px 18px; font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit; touch-action: manipulation; }
.tp-share-btn { width: 100%; margin-top: 10px; }
.tp-share-url { word-break: break-all; color: #2f4f3e; font-weight: 700; }
.cart-topup { border: 1px solid #d3be8f; border-radius: 8px; background: linear-gradient(168deg, #fffcf4 0%, #faf3e2 55%, #f5ecd4 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 24px -14px rgba(62,50,28,.35); padding: 16px 18px; margin: 16px 0; }
.cart-topup-title { font-family: "Noto Serif TC", serif; font-size: 17px; font-weight: 900; margin: 0 0 6px; color: #2f4f3e; }
.cart-topup-note { margin: 0 0 8px; color: #6d6353; font-size: 14px; line-height: 1.7; }
.cart-topup-item { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; padding: 6px 0; border-bottom: 1px dashed #ddd0b2; }
.cart-topup-item small { color: #8a7c63; margin-left: 6px; }
.cart-topup-item strong { font-family: "Noto Serif TC", serif; color: #96702f; white-space: nowrap; }
.cart-topup-btn { width: 100%; margin-top: 12px; background: #2f4f3e; color: #fdf6ec; border: none; border-radius: 10px; padding: 12px; font-size: 15px; font-weight: 700; letter-spacing: .08em; cursor: pointer; font-family: inherit; touch-action: manipulation; }
.pd-postlink { display: flex; gap: 12px; align-items: flex-start; background: #eef3e8; border: 1px solid #b9c4ae; border-radius: 10px; padding: 14px 16px; margin: 18px 0; }
.pd-postlink-seal { flex: none; background: linear-gradient(150deg, #6e9291, #557a78 55%, #47696b); color: #fdf6ec; font-family: "Songti TC","Noto Serif TC",serif; font-size: 14px; letter-spacing: .14em; padding: 8px 6px 8px 9px; border-radius: 6px; box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 3px 8px rgba(71,105,107,.35); }
.pd-postlink-main p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.75; }
.pd-postlink-btn { background: #2f4f3e; color: #fdf6ec; border: none; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; touch-action: manipulation; }


/* 備茶制第五期：已傳達印、會員中心傳帖列與訂閱卡 */
.tp-seals { display: inline-flex; gap: 7px; flex: none; }
.tp-seal--done { background: #2f4f3e; transform: rotate(3deg); font-size: 12.5px; }
.share-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.share-row-main a { font-weight: 700; color: #2f4f3e; text-decoration: none; }
.share-row-main small { display: block; color: #8a7c63; margin-top: 2px; }
.inline-form { display: inline-block; margin-top: 6px; }


/* 備茶制第六期・神奇四案：開帖儀式、時辰、計時壺、茶簽 */
.tp-hour { text-align: center; color: #96702f; font-size: 14px; margin: 0 0 8px; letter-spacing: .04em; }
#tp-seasonal { position: relative; }
#tp-seasonal.is-sealed .tp-card-head, #tp-seasonal.is-sealed .tp-row, #tp-seasonal.is-sealed .tp-total { filter: blur(3px); opacity: .45; pointer-events: none; }
.tp-veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; z-index: 4; }
.tp-cord { position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; background: linear-gradient(90deg, #a03a2c, #c0533f, #a03a2c); box-shadow: 0 2px 6px rgba(134,48,31,.4); transition: transform .7s ease, opacity .7s ease; }
#tp-seasonal.is-opening .tp-cord { transform: translateX(105%); opacity: 0; }
.tp-veil-title { font-family: "Noto Serif TC", serif; font-size: 21px; font-weight: 900; margin: 26px 0 0; }
.tp-veil-sub { color: #6d6353; font-size: 13.5px; margin: 0; }
.tp-open-btn { margin-top: 12px; background: #2f4f3e; color: #fdf6ec; border: none; border-radius: 999px; padding: 12px 34px; font-size: 16px; font-weight: 700; letter-spacing: .14em; cursor: pointer; font-family: inherit; touch-action: manipulation; box-shadow: 0 10px 22px -10px rgba(47,79,62,.6); }
#tp-seasonal.is-opening .tp-seal { animation: tpstamp .45s ease; }
@keyframes tpstamp { 0% { transform: rotate(-4deg) scale(1.7); opacity: 0; } 60% { transform: rotate(-4deg) scale(.94); opacity: 1; } 100% { transform: rotate(-4deg) scale(1); } }
.tp-home-hint { color: #a03a2c; font-size: 13.5px; font-weight: 700; margin: 8px 0 0; }
.tp-home-hint a { color: #a03a2c; }
.brewtimer { text-align: center; padding: 8px 0 4px; }
.brewtimer-ring { display: block; margin: 0 auto; }
.brewtimer-num { font-family: "Noto Serif TC", serif; font-size: 28px; font-weight: 900; margin: 4px 0 2px; }
.brewtimer-step { color: #6d6353; font-size: 13.5px; line-height: 1.7; margin: 0 0 10px; }
.brewtimer-btn { background: #2f4f3e; color: #fdf6ec; border: none; border-radius: 999px; padding: 11px 28px; font-size: 15px; font-weight: 700; letter-spacing: .08em; cursor: pointer; font-family: inherit; touch-action: manipulation; }
.brewtimer-btn[disabled] { opacity: .55; }
.pd-brew { border: 1px solid #d3be8f; border-radius: 8px; background: linear-gradient(168deg, #fffcf4 0%, #faf3e2 55%, #f5ecd4 100%); padding: 16px 18px; margin: 18px 0; }
.pd-brew-title { font-family: "Noto Serif TC", serif; font-size: 18px; font-weight: 900; margin: 0 0 4px; color: #2f4f3e; text-align: center; }
.tp-slip { background: #fffdf6; border: 1px solid #ddd0b2; border-left: 5px solid #a03a2c; border-radius: 6px; padding: 16px 18px; margin-top: 14px; }
.tp-slip[hidden] { display: none; }
.tp-slip-line { font-family: "Noto Serif TC", serif; font-size: 16.5px; line-height: 1.85; margin: 0 0 8px; }
.tp-slip-yi { margin: 0 0 10px; font-size: 14px; color: #2f4f3e; font-weight: 700; }
.tp-slip-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tp-slip-link { color: #2f4f3e; font-weight: 700; font-size: 14px; }
.tp-slip-share { background: none; border: 1.5px solid #2f4f3e; color: #2f4f3e; border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  .tp-cord, #tp-seasonal.is-sealed .tp-row { transition: none; }
  #tp-seasonal.is-opening .tp-seal { animation: none; }
}

/* 備茶制第七期・神奇第二輪 */
.tp-moon { display: flex; align-items: center; gap: 9px; justify-content: center; margin: 4px 0 0; color: #6d6353; font-size: 13.5px; }
.tp-moon svg { flex: 0 0 auto; }
.tp-future { margin-top: 12px; border-top: 1px dashed #d9c48d; padding-top: 10px; text-align: left; }
.tp-future summary { cursor: pointer; color: #96702f; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; }
.tp-future-fields { display: grid; gap: 9px; margin-top: 10px; }
.tp-future-fields label { display: grid; gap: 4px; font-size: 12.5px; color: #6d6353; }
.tp-future-fields input { border: 1px solid #cfc0a0; border-radius: 8px; padding: 9px 10px; font-size: 14px; font-family: inherit; background: #fffdf6; width: 100%; }
.brewtimer-visual { position: relative; width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: #fffdf6; }
.brewtimer-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: linear-gradient(180deg, #e8b34b 0%, #c96a2e 60%, #a03a2c 100%); transition: height .25s linear; }
.brewtimer[data-color="assam"] .brewtimer-fill { background: linear-gradient(180deg, #d99a3d 0%, #a85f22 60%, #7c3f16 100%); }
.brewtimer[data-color="laocong"] .brewtimer-fill { background: linear-gradient(180deg, #c98a35 0%, #96531d 60%, #66350f 100%); }
.brewtimer-ring { position: absolute; inset: 0; }
.wall-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin: 6px 0 10px; }
.wall-seal { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 7px; font-family: "Songti TC","Noto Serif TC",serif; font-size: 12.5px; letter-spacing: .06em; background: #efe8d6; color: #b3a888; border: 1px solid #ddd0b2; text-align: center; line-height: 1.25; }
.wall-seal.on { background: linear-gradient(145deg, #bc4a38, #a03a2c 55%, #86301f); color: #fdf6ec; box-shadow: inset 0 1px 1px rgba(255,255,255,.45), 0 3px 8px rgba(160,58,44,.3); border-color: transparent; }
.wall-seal.now { outline: 2px solid #2f4f3e; outline-offset: 1px; }
.share-cancel { background: none; border: 1px solid #c9bb9c; color: #a03a2c; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; cursor: pointer; font-family: inherit; }
@media (max-width: 699px) { .wall-grid { gap: 5px; } .wall-seal { font-size: 11.5px; } }

/* 備茶制第八期・神奇第三輪 */
.tp-weather { text-align: center; color: #55705e; font-size: 13.5px; margin: 6px 0 0; }
.tp-reply { border-top: 1px dashed #d9c48d; margin-top: 14px; padding-top: 13px; text-align: left; }
.tp-reply-line { border-left: 3px solid #bc4a38; background: #fdf6ec; padding: 9px 12px; font-size: 14px; line-height: 1.7; margin: 4px 0; }
.tp-reply-line b { color: #a03a2c; margin-right: 6px; }
.share-reply { border-left: 3px solid #bc4a38; background: #fdf6ec; padding: 8px 11px; font-size: 13.5px; line-height: 1.7; margin: 8px 0 2px; flex-basis: 100%; }
.share-reply b { color: #a03a2c; margin-right: 6px; }
.anni-card { border: 1px solid #d3be8f; background: linear-gradient(168deg,#fffcf4,#f5ecd4); }
.anni-title { font-family: "Songti TC","Noto Serif TC",serif; font-size: 19px; font-weight: 900; letter-spacing: .05em; margin: 2px 0 6px; }
.brewtimer { position: relative; }
.brewtimer-steam { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 60px; height: 40px; opacity: 0; transition: opacity .8s; pointer-events: none; }
.brewtimer.is-brewing .brewtimer-steam { opacity: 1; }
.brewtimer-steam i { position: absolute; bottom: 0; width: 9px; height: 30px; border-radius: 999px; background: linear-gradient(180deg, rgba(160,155,140,0) 0%, rgba(160,155,140,.5) 45%, rgba(160,155,140,0) 100%); filter: blur(3px); animation: tpsteam 2.6s ease-in-out infinite; }
.brewtimer-steam i:nth-child(1) { left: 12px; }
.brewtimer-steam i:nth-child(2) { left: 26px; animation-delay: .7s; height: 36px; }
.brewtimer-steam i:nth-child(3) { left: 40px; animation-delay: 1.3s; }
@keyframes tpsteam { 0% { transform: translateY(6px) translateX(0) scaleY(.8); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-12px) translateX(4px) scaleY(1.15); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brewtimer-steam i { animation: none; } }

/* 備茶制第九期・神奇第四輪 */
.tp-yiji { display: flex; gap: 12px; }
.tp-yiji > div { flex: 1; border-radius: 8px; padding: 12px 13px; }
.tp-yi { background: #2f4f3e; color: #fdf6ec; }
.tp-ji { background: #efe8d6; color: #6d6353; border: 1px solid #ddd0b2; }
.tp-yiji h3 { margin: 0 0 6px; font-family: "Songti TC","Noto Serif TC",serif; font-size: 17px; letter-spacing: .3em; }
.tp-yiji p { margin: 0; font-size: 13.5px; line-height: 1.8; }
.tp-seal--mine { background: linear-gradient(145deg, #bc4a38, #a03a2c 55%, #86301f); }
.tp-rsvp { border-top: 1px dashed #d9c48d; margin-top: 14px; padding-top: 13px; text-align: left; }
.tp-rsvp-btns { display: flex; gap: 9px; }
.tp-rsvp-btns .tp-share-go { flex: 1; }
.tp-share-go--ghost { background: #fffdf6; color: #2f4f3e; border: 1.5px solid #2f4f3e; }
.pd-scent { position: relative; text-align: center; margin: 18px 0 4px; padding-top: 8px; }
.pd-scent-words { position: relative; height: 118px; pointer-events: none; }
.pd-scent-words span { position: absolute; bottom: 0; font-family: "Songti TC","Noto Serif TC",serif; font-weight: 700; color: #96702f; opacity: 0; font-size: 17px; letter-spacing: .2em; }
.pd-scent-words span.float { animation: scentfloat 3.4s ease-out forwards; }
@keyframes scentfloat { 0% { opacity: 0; transform: translateY(8px); } 18% { opacity: 1; } 100% { opacity: 0; transform: translateY(-100px) translateX(10px); } }
.pd-scent-btn { background: #fffdf6; color: #2f4f3e; border: 1.5px solid #2f4f3e; border-radius: 999px; padding: 9px 26px; font-size: 14px; font-weight: 700; letter-spacing: .14em; cursor: pointer; font-family: inherit; touch-action: manipulation; }
.pd-scent-note { color: #6d6353; font-size: 12.5px; margin: 7px 0 0; }
@media (prefers-reduced-motion: reduce) { .pd-scent-words span.float { animation-duration: .1s; } }
.my-seal { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 8px; background: linear-gradient(145deg,#bc4a38,#a03a2c 55%,#86301f); color: #fdf6ec; box-shadow: inset 0 1px 1px rgba(255,255,255,.45), 0 3px 8px rgba(160,58,44,.3); font-family: "Songti TC","Noto Serif TC",serif; font-size: 21px; float: right; }
.seal-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seal-opt input { position: absolute; opacity: 0; }
.seal-opt span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 7px; border: 1px solid #ddd0b2; background: #efe8d6; color: #6d6353; font-family: "Songti TC","Noto Serif TC",serif; font-size: 16px; cursor: pointer; }
.seal-opt input:checked + span { background: linear-gradient(145deg,#bc4a38,#a03a2c); color: #fdf6ec; border-color: transparent; }

/* 備茶制第十期・神奇第五輪 */
.tp-relay { border-top: 1px dashed #d9c48d; margin-top: 14px; padding-top: 13px; text-align: left; }
.tp-chain { margin: 8px 0 4px; }
.tp-hop { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed #ddd0b2; }
.tp-hop:last-child { border-bottom: none; }
.tp-hop-seal { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: linear-gradient(145deg,#bc4a38,#a03a2c 55%,#86301f); color: #fdf6ec; font-family: "Songti TC","Noto Serif TC",serif; font-size: 14px; }
.tp-hop p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; color: #2e2a23; }
.tp-hop p b { color: #2f4f3e; }
.term-wheel { display: block; margin: 4px auto 14px; max-width: 300px; width: 100%; height: auto; }

/* 備茶制第十一期・神奇第六輪 */
.tp-goal-label { display: block; margin-top: 10px; font-size: 13px; color: #6d6353; }
.tp-goal-label select { display: block; width: 100%; margin-top: 5px; border: 1px solid #cfc0a0; border-radius: 8px; padding: 9px 10px; font-size: 14px; font-family: inherit; background: #fffdf6; }
.tp-ring { display: flex; gap: 7px; margin: 10px 0 2px; flex-wrap: wrap; }
.tp-dot { width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed #cbbd97; display: inline-flex; align-items: center; justify-content: center; font-family: "Songti TC","Noto Serif TC",serif; font-size: 13px; color: transparent; }
.tp-dot.on { border: 1.5px solid #a03a2c; background: linear-gradient(145deg,#bc4a38,#a03a2c); color: #fdf6ec; }
.tp-bigseal { position: absolute; right: 16px; top: 14px; width: 64px; height: 64px; border-radius: 9px; background: linear-gradient(145deg,#bc4a38,#a03a2c 55%,#86301f); color: #fdf6ec; display: inline-flex; align-items: center; justify-content: center; font-family: "Songti TC","Noto Serif TC",serif; font-size: 30px; font-weight: 700; transform: rotate(-6deg); box-shadow: 0 6px 14px rgba(160,58,44,.35); z-index: 3; }
.tp-aged-1 { background: linear-gradient(168deg,#fdf6e3 0%,#f6ead0 55%,#efe0bd 100%); }
.tp-aged-2 { background: linear-gradient(168deg,#f9efdb 0%,#f1e2c4 55%,#e9d5ab 100%); }
.tp-ageline { color: #96702f; }
.tp-skyline { margin: 0 0 8px; font-size: 13px; letter-spacing: .06em; color: #39586e; }
.tp-sky-moon .tp-skyline { color: #574b8f; }
.tp-sky-moon { background: linear-gradient(168deg,#f4f2ea 0%,#e9e7f2 55%,#dcd9ea 100%); }
.age-seals { margin: 8px 0 2px; }
.age-seal { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 7px; border: 1.5px solid #ddd0b2; color: #b3a582; font-family: "Songti TC","Noto Serif TC",serif; font-size: 12px; margin-right: 7px; background: #f5efdf; }
.age-seal.on { background: linear-gradient(145deg,#bc4a38,#a03a2c); color: #fdf6ec; border-color: transparent; }

/* 備茶制第十二期・神奇第七輪 */
.tp-river-check { display: block; margin-top: 10px; font-size: 13.5px; color: #6d6353; }
.tp-river { border-left: 3px solid #b9c4ae; margin: 6px 0 6px 8px; padding-left: 14px; display: flex; flex-direction: column; gap: 12px; }
.tp-river-card { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; border: 1px solid #d3be8f; border-radius: 8px; padding: 14px 15px; background: linear-gradient(168deg,#fffcf4 0%,#faf3e2 55%,#f5ecd4 100%); }
.tp-river-card .tp-seal { position: static; flex: 0 0 auto; }
.tp-river-main { display: flex; flex-direction: column; gap: 3px; }
.tp-river-title { font-family: "Songti TC","Noto Serif TC",serif; font-size: 16.5px; font-weight: 700; color: #2e2a23; }
.tp-river-meta { font-size: 12.5px; color: #6d6353; }
.tp-route { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 2px; }
.tp-city { background: #2f4f3e; color: #fdf6ec; border-radius: 999px; padding: 4px 11px; font-size: 12.5px; }
.tp-city.start { background: #a03a2c; }
.tp-arrow { color: #a8853c; }
.brewtimer-boilbtn { display: block; margin: 8px auto 0; background: #fffdf6; color: #2f4f3e; border: 1.5px solid #2f4f3e; border-radius: 999px; padding: 8px 20px; font-size: 13.5px; font-weight: 700; letter-spacing: .1em; cursor: pointer; font-family: inherit; touch-action: manipulation; }
.brewtimer-boil { margin-top: 10px; }
.brewtimer-boil[hidden] { display: none; }
.boil-stages { display: flex; gap: 8px; }
.boil-stage { flex: 1; border: 1.5px solid #ddd0b2; border-radius: 10px; padding: 9px 4px; text-align: center; background: #fffdf6; }
.boil-stage.on { border-color: #a03a2c; background: #f7e8e2; }
.boil-stage b { display: block; font-family: "Songti TC","Noto Serif TC",serif; font-size: 14.5px; color: #2f4f3e; }
.boil-stage span { font-size: 11px; color: #6d6353; }
.boil-text { font-size: 13px; color: #6d6353; margin: 8px 0 4px; }
.boil-skip { background: none; border: none; color: #96702f; font-size: 13px; text-decoration: underline; cursor: pointer; font-family: inherit; }

/* 備茶制第十三期・神奇第八輪 */
.tp-tomorrow { font-size: 13.5px; color: #96702f; margin: 6px 0 0; }
.tp-cal-nav { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin: 4px 0 10px; }
.tp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.tp-day { border: 1px solid #e2d8c2; border-radius: 7px; background: #fffdf6; min-height: 44px; padding: 4px 3px; font-size: 11px; text-align: center; color: #6d6353; text-decoration: none; display: block; }
.tp-day b { display: block; font-size: 13px; color: #2e2a23; }
.tp-day span { color: #a03a2c; font-size: 10px; }
.tp-day.today { border: 2px solid #a03a2c; }
.tp-day.sel { background: #f7e8e2; }
.tp-day.dim { opacity: .45; }
.tp-day.empty { border: none; background: none; }
.tp-cal-card { margin-top: 14px; border-top: 1px dashed #c9bb9c; padding-top: 12px; }
.city-stamps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.city-stamp { width: 42px; height: 42px; border-radius: 8px; background: linear-gradient(145deg,#bc4a38,#a03a2c); color: #fdf6ec; display: inline-flex; align-items: center; justify-content: center; font-family: "Songti TC","Noto Serif TC",serif; font-size: 16px; transform: rotate(-4deg); }
.city-stamp.sm { width: 30px; height: 30px; font-size: 12.5px; border-radius: 6px; }
.tp-citystamps { display: flex; gap: 6px; margin: 6px 0 2px; }
.set-card { position: relative; overflow: hidden; }
.set-bigseal { float: right; width: 64px; height: 64px; border-radius: 9px; background: linear-gradient(145deg,#bc4a38,#86301f); color: #fdf6ec; font-family: "Songti TC","Noto Serif TC",serif; font-size: 19px; display: flex; align-items: center; justify-content: center; transform: rotate(-5deg); margin-left: 10px; }

/* ── 備茶制第十四期・神奇第九輪（2026-11-09）：今日茶事曆／月印／香冊／茶路圖 ── */
.tp-alma-card { max-width: 560px; margin: 14px auto 4px; border: 1px solid #d3be8f; border-radius: 10px; background: linear-gradient(168deg,#fffcf4 0%,#faf3e2 55%,#f5ecd4 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 22px -12px rgba(62,50,28,.25); padding: 14px 16px 12px; text-align: left; }
.tp-alma-title { font-family: "Songti TC","Noto Serif TC",serif; font-size: 16.5px; font-weight: 700; letter-spacing: .06em; color: #2f4f3e; margin: 0 0 10px; text-align: center; }
.tp-alma-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.tp-alma-grid > div { border-bottom: 1px dashed #ddd0b2; padding-bottom: 7px; font-size: 13.5px; color: #6d6353; }
.tp-alma-grid span { display: block; font-size: 11px; letter-spacing: .14em; color: #a8853c; margin-bottom: 1px; }
.tp-alma-grid b { font-family: "Songti TC","Noto Serif TC",serif; font-size: 15.5px; color: #2e2a23; margin-right: 6px; }
.tp-alma-grid small { display: block; font-size: 12.5px; line-height: 1.55; margin-top: 1px; }
.tp-alma-slip { margin: 10px 0 2px; font-size: 13px; color: #96702f; text-align: center; }
.moon-stamps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.moon-stamp { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #f7e3ac 0%, #dfba6b 58%, #c49b45 100%); color: #4c3a10; border: 1.5px solid #b98a44; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-family: "Songti TC","Noto Serif TC",serif; font-size: 16px; line-height: 1.1; box-shadow: 0 3px 8px rgba(168,133,60,.3); }
.moon-stamp small { font-size: 9.5px; letter-spacing: .04em; }
.moon-bigseal { font-size: 14.5px; }
.scent-stamps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.scent-stamp { min-width: 52px; height: 44px; padding: 0 9px; border-radius: 8px; border: 2px solid #c9b489; color: #b9a888; background: #fffdf6; display: inline-flex; align-items: center; justify-content: center; font-family: "Songti TC","Noto Serif TC",serif; font-size: 14.5px; }
.scent-stamp.on { background: linear-gradient(145deg,#bc4a38,#a03a2c); color: #fdf6ec; border-color: transparent; transform: rotate(-3deg); }
.scent-lines { margin: 6px 0 2px; padding-left: 20px; font-size: 13.5px; line-height: 1.8; color: #6d6353; }
.tp-routemap { text-align: center; margin: 10px 0 4px; }
.tp-routemap svg { width: 168px; max-width: 60vw; height: auto; }
.tp-routemap-note { font-size: 12.5px; color: #96702f; margin: 2px 0 6px; }

/* ── 瘋狂四招（2026-11-11）：備茶帖頁月夜倉／天氣折條＋盲帖／認養卡（雙欄併排、手機不疊） ── */
.tp-wild{max-width:860px;margin:0 auto 18px;padding:0 16px}
.tp-wild-moon,.tp-wild-weather{background:#fffdf8;border:1px solid #d9cfba;border-radius:10px;padding:10px 14px;font-size:14px;margin:0 0 8px;line-height:1.7}
.tp-wild-moon a{color:#7a5b1e;font-weight:700}
.tp-wild-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tp-wild-card{position:relative;background:linear-gradient(180deg,#fdf8ec,#f7efdb);border:1px solid #d9cfba;border-top:3px solid #b98a44;border-radius:10px;padding:12px 14px 14px;text-decoration:none;color:#2f3a38}
.tp-wild-card:last-child{border-top-color:#5b8583}
.tp-wild-card b{display:block;font-size:16px;margin-bottom:4px;padding-right:16px}
.tp-wild-card b::after{content:"→";position:absolute;top:12px;right:12px;color:#b98a44;font-weight:400}
.tp-wild-card:last-child b::after{color:#5b8583}
.tp-wild-card span{font-size:12.5px;color:#5c6a66;line-height:1.65}

/* ── 優惠併用警語（2026-11-11）：明顯處標示 ── */
.disc-note{background:#fdf3e0;border:1.5px solid #d9a441;border-radius:10px;color:#7a5b1e;font-weight:700;font-size:14px;line-height:1.7;padding:10px 14px;margin:0 0 14px}
.pd-disc{display:block;margin-top:8px}

/* ── 瘋狂四招 landing 頁（2026-11-11）：主圖＋紙卡內文 ── */
.wild-wrap{max-width:720px;margin:0 auto;padding:0 16px 8px}
.wild-hero{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;border:1px solid #d9cfba;box-shadow:0 10px 28px rgba(47,58,56,.16);margin-bottom:16px}
.wild-card{padding:24px 26px;line-height:1.9}
.wild-list{margin:6px 0 14px;padding-left:22px}
.wild-list li{margin-bottom:6px}
.wild-cta{text-align:center;margin-top:20px}
.wild-back{text-align:center;margin-top:16px}
.wild-moon-date{font-size:17px;color:#7a5b1e;margin:16px 0 4px}

/* 信任帖首頁帶（2.9.86）：深綠金字、備茶帖上方 */
.trust-band{background:linear-gradient(135deg,#14342a 0%,#1d4a38 58%,#2a5c42 100%);color:#f3ecd9;margin:18px 0 6px;border-radius:14px;overflow:hidden;box-shadow:0 10px 28px rgba(20,52,42,.25)}
.trust-band-in{display:flex;align-items:stretch;gap:0}
.trust-band-text{flex:1;padding:26px 28px 22px}
.trust-band-kicker{margin:0 0 6px;color:#d9b45b;font-size:13px;letter-spacing:.28em;font-weight:700}
.trust-band-title{margin:0 0 10px;font-size:30px;line-height:1.25;color:#fdf8ea}
.trust-band-lead{margin:0 0 16px;font-size:15.5px;line-height:1.85;color:#e8e2cd;max-width:560px}
.trust-band-btn{display:inline-block;background:linear-gradient(180deg,#e8c877,#cfa14a);color:#22301f !important;font-size:16.5px;font-weight:700;letter-spacing:.05em;padding:13px 28px;border-radius:999px;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.trust-band-note{margin:12px 0 0;font-size:12.5px;color:#b9c8b4}
.trust-band-img{width:300px;object-fit:cover;display:block}
@media (max-width:760px){
  .trust-band-in{flex-direction:column}
  .trust-band-text{padding:22px 20px 18px}
  .trust-band-title{font-size:25px}
  .trust-band-img{width:100%;height:180px;order:-1}
}
.trust-band--hero{margin-top:22px}
.trust-band--hero .trust-band-title{font-size:34px}
.trust-band--hero .trust-band-text{padding:32px 32px 26px}
@media (max-width:760px){.trust-band--hero .trust-band-title{font-size:27px}.trust-band--hero .trust-band-text{padding:24px 20px 20px}}

/* 信任帖付款選項（2.9.87）：整齊的選項列，不再大字散排 */
.trust-opts{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.trust-opts label{display:flex;align-items:flex-start;gap:10px;background:#fffdf6;border:1px solid #ddd3b8;border-radius:10px;padding:11px 13px;font-size:16px;line-height:1.45;cursor:pointer;margin:0}
.trust-opts input[type="radio"]{width:20px;height:20px;margin:2px 0 0;flex:none;accent-color:#1d4a38}
.trust-opts small{display:block;color:#8a7a52;font-size:13px;margin-top:1px}

/* 茶人修煉（2.9.90） */
.cult-card h2{margin-top:0}
.cult-table{width:100%;border-collapse:collapse;margin:10px 0 16px;font-size:14.5px;table-layout:fixed}
.cult-table th:nth-child(1){width:26%}
.cult-table th:nth-child(3){width:22%}
.cult-table td:first-child{white-space:nowrap}
.cult-table th,.cult-table td{padding:7px 8px}
@media (max-width:760px){.cult-table{font-size:13.5px}.cult-table th,.cult-table td{padding:7px 8px}}
.cult-table th{background:#f6efdb}
.cult-hero{text-align:left}
.cult-level{font-size:24px;font-weight:700;margin:0 0 4px;color:#1d4a38}
.cult-total{font-size:16px;margin:0 0 10px}
.cult-total b{font-size:22px;color:#9a4a38}
.cult-next{color:#8a7a52;font-size:13.5px}
.cult-bar{height:10px;background:#eee5cb;border-radius:99px;overflow:hidden}
.cult-bar i{display:block;height:100%;background:linear-gradient(90deg,#cfa14a,#9a4a38);border-radius:99px}
.cult-brewrank{margin:10px 0 0;color:#5c5340;font-size:14px}
.cult-row{display:flex;align-items:baseline;gap:10px;padding:9px 0;border-bottom:1px dashed #e3d9bd}
.cult-row:last-child{border-bottom:none}
.cult-row-label{font-weight:700;min-width:74px}
.cult-row-n{flex:1;color:#5c5340}
.cult-row-pts{color:#9a4a38;font-weight:700}
.cult-seasons{display:flex;flex-wrap:wrap;gap:8px}
.cult-season{border:1px solid #ddd3b8;border-radius:999px;padding:7px 13px;font-size:14px;background:#fffdf6}
.cult-season.passed{background:#1d4a38;color:#f3ecd9;border-color:#1d4a38}
.cult-note{color:#8a7a52;font-size:13px}
.cult-boss{border:1.5px solid #cfa14a;background:#fffaf0}

/* BOSS 主打帶（2.9.92） */
.boss-band{background:linear-gradient(135deg,#22100d 0%,#3d1a12 55%,#5a2a18 100%);color:#f3ecd9;margin:18px 0 6px;border-radius:14px;overflow:hidden;box-shadow:0 10px 28px rgba(34,16,13,.3)}
.boss-band-in{display:flex;align-items:stretch}
.boss-band-img{width:300px;object-fit:contain;display:block;background:radial-gradient(circle at 50% 40%,#6f3c22,#2a130c 78%);padding:14px}
.boss-band-text{flex:1;padding:26px 28px 22px}
.boss-band-kicker{margin:0 0 6px;color:#d9b45b;font-size:13px;letter-spacing:.28em;font-weight:700}
.boss-band-title{margin:0 0 10px;font-size:29px;line-height:1.3;color:#fdf8ea}
.boss-band-lead{margin:0 0 16px;font-size:15.5px;line-height:1.85;color:#e8ddd2;max-width:560px}
.boss-band-acts{margin:0 0 6px}
.boss-band .bb-cta{display:inline-block;background:linear-gradient(180deg,#e8c877,#cfa14a);color:#2a1408 !important;font-size:16.5px;font-weight:700;letter-spacing:.05em;padding:13px 28px;border-radius:999px;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.4)}
.boss-band .bb-cta:visited{color:#2a1408 !important}
.boss-band .bb-link{color:#e8c877 !important;font-size:15px;margin-left:12px;text-underline-offset:4px}
.boss-band-note{margin:10px 0 0;font-size:12.5px;color:#cbb49e}
@media (max-width:760px){
  .boss-band-in{flex-direction:column}
  .boss-band-img{width:100%;height:330px}
  .boss-band-text{padding:22px 20px 18px}
  .boss-band-title{font-size:24px}
}
/* 備茶帖 wild 卡剩單張時滿版（2.9.92，認養下架後） */
.tp-wild-cards .tp-wild-card:only-child{grid-column:1 / -1}

/* ph-sub 說明段靠左（2.9.95，Mars 置中規則：內文不置中） */
.page-head .ph-sub{text-align:left;margin:14px 0 0;font-size:15.5px;line-height:1.85;color:#5c5546}

/* 出貨說明帶（2026-11-12，首頁 hero 下方） */
.ship-note{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;background:#faf6ec;border-bottom:1px solid #e7dcc3;padding:10px 16px;text-align:center}
.ship-note-k{font-weight:700;color:#8a6d2f;letter-spacing:.14em;font-size:12.5px;border:1px solid #c9a959;border-radius:999px;padding:2px 10px;white-space:nowrap}
.ship-note-t{color:#3d3830;font-size:14px;display:inline-flex;flex-wrap:wrap;gap:2px 8px;justify-content:center}
.ship-note-seg{white-space:nowrap}
.ship-note-t strong{color:#22301f}
@media (max-width:640px){.ship-note{gap:7px;padding:9px 12px}.ship-note-t{font-size:13px}}

/* BOSS 實品照直式呈現（2026-11-12）：直式商品照不硬裁橫幅，完整呈現 */
.boss-hero{object-fit:contain;background:#f3ead6;aspect-ratio:4/3;padding:12px}

/* 茶選帖（2.9.106） */
.chosen-card{padding:26px 28px}
.chosen-says{margin:0 0 4px;color:#9a4a38;font-size:13px;letter-spacing:.24em;font-weight:700}
.chosen-verdict{margin:0 0 8px;font-size:19px;line-height:1.85;font-weight:700;color:#2f3a38}
.chosen-sleep{margin:0 0 18px;color:#6d675c;font-size:14.5px;line-height:1.8}
.chosen-prod{display:flex;gap:18px;align-items:center;border-top:1px solid #e3dac6;padding-top:18px;margin-bottom:14px}
.chosen-prod-main{flex:1}
.chosen-prod-name{margin:0 0 4px;font-size:17px;font-weight:700}
.chosen-prod-price{margin:0 0 12px;font-size:16px;color:#9a4a38;font-weight:700}
.chosen-form{padding:26px 28px}
.chosen-q{border:0;margin:0 0 20px;padding:0}
.chosen-q legend{font-weight:700;font-size:16px;margin-bottom:10px;padding:0}
.chosen-opts{display:flex;flex-wrap:wrap;gap:8px}
.chosen-opt{display:inline-flex;align-items:center;gap:7px;border:1.5px solid #d9cfba;border-radius:999px;padding:10px 18px;cursor:pointer;font-size:15px;background:#fffdf7;min-height:44px}
.chosen-opt input{width:18px;height:18px;accent-color:#2a5c42}
.chosen-opt:has(input:checked){border-color:#2a5c42;background:#eef4ee;font-weight:700}
.chosen-go{width:100%;margin-top:4px}
@media (max-width:760px){.chosen-prod{flex-direction:column;align-items:flex-start}.chosen-card,.chosen-form{padding:22px 18px}}

/* 生日節氣帖（2.9.107） */
.bday-ask{margin:0 0 10px;font-weight:700;font-size:16px}
.bday-fields{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.bday-fields select{font-size:16px;padding:11px 14px;border:1.5px solid #d9cfba;border-radius:10px;background:#fffdf7;min-height:48px}
.bday-term{margin:0 0 8px;font-size:34px;font-weight:800;letter-spacing:.12em;color:#2f3a38}
.bday-season{display:inline-block;margin-left:10px;font-size:15px;letter-spacing:.2em;color:#fdf8ea;background:#9a4a38;border-radius:6px;padding:3px 10px;vertical-align:middle}
.bday-share{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}
.bday-share input[type="text"]{flex:1;min-width:180px;font-size:15px;padding:11px 14px;border:1.5px solid #d9cfba;border-radius:10px;background:#fffdf7;min-height:48px}

/* 直式主圖（3:4 AI 情境圖／商品圖）：框照原圖比例置中呈現，不再被 16:10 橫框裁成一條（2.9.109） */
.wild-hero--p{width:min(100%,430px);margin-left:auto;margin-right:auto;aspect-ratio:3/4}

/* 退一步帖（2.9.111）：商品頁同款退一級＋車裡換款 */
.sb-note{margin:10px 0 0;font-size:14px;line-height:1.7;background:#fdf6e0;border:1.5px solid #c9a44f;border-radius:10px;padding:10px 12px;color:#4a3f28}
.sb-switch{margin-left:6px;font-size:13.5px;font-weight:700;color:#2f3a38;background:#fff;border:1.5px solid #2f3a38;border-radius:999px;padding:5px 12px;cursor:pointer;min-height:36px}
.sb-card{border-color:#c9a44f}
.sb-save{margin:8px 0 0;font-weight:700;color:#7a5b1e}
.sb-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}
.sb-keep{font-size:13.5px;color:#6b6152;background:none;border:none;text-decoration:underline;cursor:pointer;padding:8px 4px;min-height:40px}

/* 表態帶（2026-11-12）：全站頂帶＋首頁表態卡；純文字表態，不使用任何他人圖像；2026-11-27 後由版型日期閘門自動收起 */
