/* ================================================================
   首頁「登入以下」那一段（2026-10-12 整段重排）
   ----------------------------------------------------------------
   為什麼另外一個檔案、class 一律 Hb 開頭：
     login.css 裡的 .HomeSection／.SectionTitle／.ServiceCard… 物流追蹤頁等其他頁還在用，
     不能為了首頁去改它們。這裡的規則只對首頁的 <div class="Hb"> 裡面生效。
   版面的規則（改的時候照這幾條，整頁才會是同一套東西）：
     · 每一段都是整條寬的「帶」，白底與淡暖色底交替；內容一律收在 1180px（與頁首、商品列、主視覺同寬）。
     · 每一段的標題都靠左：小標（一條短線＋字）→ 標題 → 說明；右邊最多放一個連結。
       與最上面「熱門代購商品／看全部商品 →」是同一個樣子。
     · 顏色只用下面這幾個變數。沖繩主題只換變數（themes/okinawa/theme.css），不另外寫一套。
     · 字級用 px，不用 rem——login.css 把根字級設成 10px。
   ================================================================ */

.Hb {
    --hb-accent: #FF6B47;
    --hb-accent-deep: #ED5631;
    --hb-accent-ink: #C44726;
    --hb-tint: #FFF8F4;
    --hb-tint-strong: #FFEFE6;
    --hb-line: #FBE3D8;
    --hb-ink: #0f172a;
    --hb-body: #475569;
    --hb-muted: #64748b;
    --hb-border: #eef0f4;
    --hb-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    --hb-shadow-hover: 0 14px 30px -14px rgba(15, 30, 70, .18), 0 2px 6px rgba(15, 23, 42, .04);
    --hb-cta-from: #FF7A55;
    --hb-cta-to: #E94F2A;
    color: var(--hb-ink);
}

.Hb *, .Hb *::before, .Hb *::after { box-sizing: border-box; }

.HbWrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── 帶 ── */
.HbBand {
    padding: 68px 0;
    background: #fff;
    scroll-margin-top: 72px;   /* 頁首是黏在上面的，點導覽跳過來時標題不要被蓋住 */
}
.HbBand--tint {
    background: var(--hb-tint);
    border-top: 1px solid var(--hb-line);
    border-bottom: 1px solid var(--hb-line);
}
.HbBand--cta { padding: 60px 0 72px; }

/* ── 每一段的標題 ── */
.HbHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.HbHead__text { min-width: 0; }

.HbEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--hb-accent);
    margin-bottom: 12px;
}
.HbEyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--hb-accent);
}

.HbTitle {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: var(--hb-ink);
    margin: 0 0 8px;
}

.HbSub {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hb-muted);
    margin: 0;
}

.HbMore {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hb-accent-deep);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 4px;
    transition: gap .15s ease, color .15s ease;
}
.HbMore i { font-size: 12px; }
.HbMore:hover { color: var(--hb-accent-ink); text-decoration: none; gap: 12px; }

/* ================================================================
   數據條
   ================================================================ */
.HbStats {
    background: var(--hb-tint);
    border-top: 1px solid var(--hb-line);
    border-bottom: 1px solid var(--hb-line);
    padding: 22px 0;
}
.HbStats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.HbStat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 8px 4px 0;
    min-width: 0;
}
.HbStat + .HbStat {
    border-left: 1px solid var(--hb-line);
    padding-left: 24px;
}
.HbStat__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--hb-line);
    color: var(--hb-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.HbStat__value {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--hb-ink);
}
.HbStat__value small {
    font-size: 14px;
    font-weight: 700;
    color: var(--hb-accent);
    margin-left: 2px;
}
.HbStat__label {
    font-size: 13px;
    color: var(--hb-muted);
    margin-top: 4px;
}

/* ================================================================
   案例分享（2026-10-12 取代原本的「服務項目」）
   左邊一張大卡（最新的一篇）、右邊最多四張小卡；下面一列「服務範圍」。
   ================================================================ */
.HbCases {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-auto-rows: 1fr;
    gap: 14px 22px;
}
.HbCases--single { grid-template-columns: 1fr; }
.HbCase {
    display: flex;
    min-width: 0;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--hb-border);
    box-shadow: var(--hb-shadow);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.HbCase:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-3px);
    border-color: var(--hb-line);
    box-shadow: var(--hb-shadow-hover);
}
.HbCase:focus-visible { outline: 2px solid var(--hb-accent); outline-offset: 3px; }

.HbCase__img {
    position: relative;
    flex: 0 0 148px;
    align-self: stretch;
    min-height: 112px;
    background: var(--hb-tint-strong);
    color: var(--hb-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    overflow: hidden;
}
.HbCase__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.HbCase:hover .HbCase__img img { transform: scale(1.05); }

.HbCase__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 14px 18px;
}
.HbCase__tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--hb-tint-strong);
    color: var(--hb-accent-ink);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}
.HbCase__title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--hb-ink);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color .15s ease;
}
.HbCase:hover .HbCase__title { color: var(--hb-accent-ink); }
.HbCase__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 12px;
    align-self: stretch;
    font-size: 12.5px;
    color: var(--hb-muted);
    font-variant-numeric: tabular-nums;
}
.HbCase__meta > span + span:not(.HbCase__go)::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 12px 3px 0;
    border-radius: 50%;
    background: #cbd5e1;
}

/* 左邊那張大卡：圖在上、字在下，佔滿右邊四張的高度 */
.HbCase--lead { grid-row: 1 / span 4; flex-direction: column; border-radius: 22px; }
.HbCases--single .HbCase--lead { grid-row: auto; }
.HbCase--lead .HbCase__img { flex: 1 1 260px; min-height: 240px; font-size: 34px; }
.HbCase--lead .HbCase__body { flex: 0 0 auto; justify-content: flex-start; gap: 10px; padding: 22px 26px 22px; }
.HbCase--lead .HbCase__title { font-size: 21px; line-height: 1.45; letter-spacing: -.01em; }
.HbCase__excerpt {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--hb-body);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.HbCase__tag--over {
    position: absolute;
    top: 16px;
    left: 16px;
    height: 28px;
    padding: 0 13px;
    background: #fff;
    font-size: 12.5px;
    box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .45);
}
.HbCase--lead .HbCase__meta { margin-top: 4px; font-size: 13px; }
.HbCase__go {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hb-accent-deep);
    transition: gap .2s ease;
}
.HbCase__go i { font-size: 12px; }
.HbCase:hover .HbCase__go { gap: 12px; }

/* 下面一列：服務範圍（原本的三個入口與六項服務收成一列小籤） */
.HbScope {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px 18px;
    padding: 14px 20px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--hb-border);
}
.HbScope__label { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; color: var(--hb-ink); line-height: 32px; white-space: nowrap; }
.HbScope__label i { color: var(--hb-accent); margin-right: 4px; }
.HbScope__list { flex: 1 1 auto; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.HbScope__list a,
.HbScope__list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hb-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--hb-body);
    white-space: nowrap;
    text-decoration: none;
}
/* 九個籤長得一樣（2026-10-12：前三個原本是品牌色＋圖示，看起來像「只做這三種」）。
   有連結的三個只在字後面多一個小箭頭，滑過去才變色。 */
.HbScope__list a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.HbScope__list a i { font-size: 10px; color: #94a3b8; transition: color .15s ease, transform .15s ease; }
.HbScope__list a:hover { color: var(--hb-accent-ink); text-decoration: none; background: var(--hb-tint); border-color: var(--hb-line); }
.HbScope__list a:hover i { color: var(--hb-accent); transform: translateX(2px); }

/* ================================================================
   服務流程：四個步驟放在同一塊白底裡，用箭頭串起來
   （2026-10-12 第二版。第一版是「編號圓圈＋虛線」在上、四張分開的白卡在下，卡片裡只有一個小圖示，看起來很空）
   ================================================================ */
.HbFlow {
    position: relative;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 40px 36px 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--hb-line);
    border-radius: 22px;
    box-shadow: 0 26px 50px -36px var(--hb-accent-deep);
}
/* 最上面一條品牌色 */
.HbFlow::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hb-cta-from) 0%, var(--hb-cta-to) 100%);
}

.HbFlow__step {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 28px;
}
.HbFlow__step:last-child { padding-right: 0; }

/* 圖示＋往下一步的箭頭 */
.HbFlow__rail {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}
.HbFlow__tile {
    position: relative;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--hb-cta-from) 0%, var(--hb-cta-to) 100%);
    color: #fff;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 26px -14px var(--hb-accent-deep);
    transition: transform .25s ease;
}
.HbFlow__step:hover .HbFlow__tile { transform: translateY(-3px) rotate(-3deg); }
.HbFlow__tile b {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 13px;
    background: #fff;
    border: 2px solid var(--hb-accent);
    color: var(--hb-accent-deep);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* 線從圖示右邊拉到下一個圖示前面 14px；右端一個箭頭 */
.HbFlow__line {
    position: relative;
    flex: 1 1 auto;
    height: 2px;
    margin: 0 -14px 0 16px;
    border-radius: 2px;
    background: var(--hb-line);
}
.HbFlow__line::after {
    content: "";
    position: absolute;
    right: 1px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--hb-accent);
    border-right: 2px solid var(--hb-accent);
    transform: translateY(-50%) rotate(45deg);
}
/* 一個小點沿著線走過去，三段接力（1→2、2→3、3→4），看得出「往下一步」 */
.HbFlow__line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--hb-accent);
    opacity: 0;
    animation: hbFlowDot 4.8s linear infinite;
}
.HbFlow__step:nth-child(2) .HbFlow__line::before { animation-delay: 1.2s; }
.HbFlow__step:nth-child(3) .HbFlow__line::before { animation-delay: 2.4s; }
.HbFlow__step:last-child .HbFlow__line { display: none; }   /* 最後一步沒有下一步；用 display 才不會有一條看不見的線伸到框外面 */
@keyframes hbFlowDot {
    0%   { left: 0; opacity: 0; }
    3%   { opacity: 1; }
    22%  { left: calc(100% - 18px); opacity: 1; }
    25%, 100% { left: calc(100% - 18px); opacity: 0; }
}

.HbFlow__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}
.HbFlow__kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--hb-accent);
    margin-bottom: 6px;
}
.HbFlow__title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--hb-ink);
    margin: 0 0 8px;
}
.HbFlow__desc {
    flex: 1 1 auto;       /* 說明長短不一，小籤一律貼在最下面、四個對齊 */
    font-size: 14px;
    line-height: 1.8;
    color: var(--hb-body);
    margin: 0 0 16px;
}
.HbFlow__get {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px 6px 10px;
    border-radius: 999px;
    background: var(--hb-tint);
    border: 1px solid var(--hb-line);
    color: var(--hb-accent-ink);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
}
.HbFlow__get i { font-size: 11px; color: var(--hb-accent); }

/* 四欄並排時每一欄置中（圖示、字、小籤都置中，線在圖示與圖示之間）。
   靠左排的話前三欄圖示右邊有線填著，第四欄沒有下一步，右邊就空一大片、整塊左右不對稱
   （2026-10-12 使用者貼第四欄的圖：「右邊留白很多」）。直排的手機版不受影響（那一版本來就該靠左）。
   線的位置：相鄰兩個圖示中心的距離＝一欄的寬度，所以從「中心＋半個圖示＋14」拉到下一個圖示前 14，寬度是「欄內寬 − 64」。 */
@media (min-width: 901px) {
    .HbFlow { padding-left: 22px; padding-right: 22px; }
    .HbFlow__step,
    .HbFlow__step:last-child { padding: 0 14px; align-items: center; text-align: center; }
    .HbFlow__rail { position: relative; width: 100%; justify-content: center; }
    .HbFlow__line {
        position: absolute;
        top: 50%;
        left: calc(50% + 46px);
        width: calc(100% - 64px);
        margin: -1px 0 0;
        flex: none;
    }
    .HbFlow__body { align-items: center; }
}

/* ================================================================
   運費試算：左邊三步填資料，右邊結果卡
   （2026-10-12 第二版。第一版是四個數字框＋兩個下拉選單，結果只有兩行字。
     結果卡的內容全部來自試算端點回的資料，由 login.blade.php 那一段 script 填。）
   ================================================================ */
.HbCalc {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.HbCalc__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 28px 26px;
    border: 1px solid var(--hb-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--hb-shadow);
    min-width: 0;
}
.HbCalc__group { min-width: 0; }
.HbCalc__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--hb-ink);
    margin-bottom: 12px;
}
.HbCalc__label b {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hb-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 原本的下拉選單：腳本把籤畫好之後才收起來（沒跑起來時照樣能用） */
.Hb .HbCalc__native {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    background: #fff;
    color: var(--hb-ink);
    font-size: 16px;
    font-family: inherit;
}
.HbCalc__form.is-enhanced .HbCalc__native { display: none; }
.HbCalc__form:not(.is-enhanced) .HbSeg,
.HbCalc__form:not(.is-enhanced) .HbChips { display: none; }

/* 目的地：兩格的切換 */
.HbSeg {
    display: inline-flex;
    padding: 4px;
    border-radius: 14px;
    background: #f1f4f8;
    gap: 4px;
    max-width: 100%;
}
.HbSeg__btn {
    min-width: 110px;
    height: 42px;
    padding: 0 22px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--hb-muted);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.HbSeg__btn:hover { color: var(--hb-ink); }
.HbSeg__btn.is-on {
    background: #fff;
    color: var(--hb-accent-deep);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 6px 14px -8px rgba(15, 23, 42, .25);
}
.HbSeg__btn:focus-visible,
.HbChip:focus-visible { outline: 2px solid var(--hb-accent); outline-offset: 2px; }

/* 運送渠道：一格一個 */
.HbChips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.HbChip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 8px 12px;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    background: #fff;
    color: var(--hb-ink);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.HbChip i {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #f1f4f8;
    color: var(--hb-muted);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .18s ease, color .18s ease;
}
.HbChip span { min-width: 0; overflow-wrap: anywhere; }
.HbChip:hover { border-color: #cbd5e1; }
.HbChip.is-on {
    border-color: var(--hb-accent);
    background: var(--hb-tint);
    box-shadow: 0 0 0 3px var(--hb-tint-strong);
    color: var(--hb-accent-ink);
}
.HbChip.is-on i { background: var(--hb-accent); color: #fff; }

/* 尺寸與重量 */
.HbDims {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.15fr);
    gap: 14px;
    align-items: stretch;
}
.HbDims__size {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}
.HbDims__x { font-size: 15px; font-weight: 700; color: #94a3b8; }
.HbNum {
    position: relative;
    display: block;
    margin: 0;
    height: 60px;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    background: #fff;
    cursor: text;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.HbNum:hover { border-color: #cbd5e1; }
.HbNum:focus-within { border-color: var(--hb-accent); box-shadow: 0 0 0 4px var(--hb-tint-strong); }
.HbNum__cap {
    position: absolute;
    left: 12px;
    top: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--hb-muted);
    pointer-events: none;
}
.Hb .HbNum input {
    width: 100%;
    height: 100%;
    padding: 22px 34px 4px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--hb-ink);
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    box-shadow: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.Hb .HbNum input::-webkit-outer-spin-button,
.Hb .HbNum input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.HbNum em {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    pointer-events: none;
}
.HbNum--weight { background: var(--hb-tint); border-color: var(--hb-line); }

.HbCalc__actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.HbCalc__msg { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #dc2626; }
.HbBtn {
    height: 50px;
    padding: 0 30px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hb-cta-from) 0%, var(--hb-cta-to) 100%);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: .03em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 12px 24px -12px var(--hb-accent-deep);
    transition: transform .15s ease, filter .2s ease;
}
.HbBtn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.HbBtn:active { transform: translateY(0); }
.HbBtn:focus-visible { outline: 2px solid var(--hb-accent); outline-offset: 3px; }

/* ── 結果卡 ── */
.HbResult {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    border: 1px solid var(--hb-line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    transition: opacity .2s ease;
}
.HbResult.is-loading { opacity: .55; }

/* 三種樣子：還沒算（empty）／算好了（done）／腳本沒跑起來只有兩行字（raw） */
.HbResult__done { display: none; flex-direction: column; flex: 1 1 auto; }
.HbResult[data-state="done"] .HbResult__done { display: flex; }
.HbResult[data-state="done"] .HbResult__empty { display: none; }
.Hb .HbResult__raw { display: none; }
/* 腳本有跑起來（is-enhanced）就永遠不顯示這兩行字；沒跑起來時它是唯一看得到結果的地方 */
.Hb .HbResult:not(.is-enhanced)[data-state="empty"] .HbResult__raw:not(:empty) {
    display: block;
    margin: 0 24px 24px;
    padding: 14px 16px;
    border: 1px solid var(--hb-line);
    border-radius: 12px;
    background: var(--hb-tint);
    color: var(--hb-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    white-space: pre-wrap;
}

.HbResult__empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px;
    background:
        radial-gradient(420px 220px at 50% 0%, var(--hb-tint-strong), transparent 70%),
        var(--hb-tint);
}
.HbResult__emptyIcon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--hb-line);
    color: var(--hb-accent);
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 14px 26px -18px var(--hb-accent-deep);
}
.HbResult__emptyTitle { font-size: 17px; font-weight: 800; color: var(--hb-ink); margin-bottom: 8px; }
.HbResult__emptyDesc { font-size: 14px; line-height: 1.8; color: var(--hb-muted); margin: 0; max-width: 300px; }

.HbResult__top {
    position: relative;
    overflow: hidden;
    padding: 24px 26px 22px;
    background: linear-gradient(135deg, var(--hb-cta-from) 0%, var(--hb-cta-to) 100%);
    color: #fff;
}
.HbResult__top::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -110px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    pointer-events: none;
}
.HbResult__route {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}
.HbResult__route span { opacity: .8; }
.HbResult__priceLabel { position: relative; font-size: 13px; font-weight: 600; opacity: .92; letter-spacing: .08em; }
.HbResult__price { position: relative; display: flex; align-items: baseline; gap: 6px; line-height: 1.1; margin-top: 4px; }
.HbResult__price span { font-size: 20px; font-weight: 700; }
.HbResult__price b { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.HbResult__stale {
    position: relative;
    display: none;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, .22);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}
.HbResult.is-stale .HbResult__stale { display: block; }
.HbResult.is-stale .HbResult__price,
.HbResult.is-stale .HbResult__body { opacity: .45; }

.HbResult__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 26px 24px; transition: opacity .2s ease; }

.HbResult__weights { display: grid; gap: 14px; margin-bottom: 20px; }
.HbW__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.HbW__head span { font-size: 13.5px; font-weight: 600; color: var(--hb-muted); }
.HbW__head em {
    font-style: normal;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--hb-tint-strong);
    color: var(--hb-accent-ink);
    font-size: 11.5px;
    font-weight: 700;
}
.HbW__head b { font-size: 15px; font-weight: 700; color: var(--hb-muted); white-space: nowrap; }
.HbW__bar { height: 8px; border-radius: 999px; background: #f1f4f8; overflow: hidden; }
.HbW__bar i { display: block; height: 100%; border-radius: 999px; background: #cbd5e1; transition: width .35s ease; }
.HbW.is-on .HbW__head span,
.HbW.is-on .HbW__head b { color: var(--hb-ink); }
.HbW.is-on .HbW__bar i { background: linear-gradient(90deg, var(--hb-cta-from), var(--hb-cta-to)); }

.HbResult__itemsTitle {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--hb-accent-deep);
    padding-top: 18px;
    border-top: 1px dashed var(--hb-line);
    margin-bottom: 4px;
}
.HbResult__items { list-style: none; margin: 0 0 18px; padding: 0; }
.HbResult__items li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hb-border);
}
.HbResult__items li:last-child { border-bottom: none; }
.HbResult__items li > div { min-width: 0; }
.HbItem__name { display: block; font-size: 14.5px; font-weight: 700; color: var(--hb-ink); }
.HbItem__formula { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.6; color: var(--hb-muted); overflow-wrap: anywhere; }
.HbResult__items b { flex: 0 0 auto; font-size: 15px; font-weight: 800; color: var(--hb-ink); white-space: nowrap; }

.HbResult__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--hb-line);
    background: var(--hb-tint);
    color: var(--hb-accent-deep);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, gap .15s ease;
}
.HbResult__cta i { font-size: 12px; }
.HbResult__cta:hover { background: var(--hb-tint-strong); color: var(--hb-accent-ink); text-decoration: none; gap: 12px; }

/* 注意事項：兩個卡片下面一整條 */
.HbNotes {
    margin-top: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 22px;
    align-items: start;
    padding: 16px 22px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--hb-border);
}
.HbNotes__title { font-size: 13.5px; font-weight: 700; color: var(--hb-ink); white-space: nowrap; line-height: 1.85; }
.HbNotes__title i { color: var(--hb-accent); margin-right: 4px; }
.HbNotes__list {
    margin: 0;
    padding-left: 18px;
    columns: 2;
    column-gap: 36px;
    font-size: 13px;
    line-height: 1.85;
    color: var(--hb-muted);
}
.HbNotes__list li { break-inside: avoid; }

/* ================================================================
   常見問題
   一塊白底裡六題。桌機（≥901px，而且頁面的 script 已經加上 .is-md）是左邊問題、右邊答案，一次看一題；
   其餘情況（手機、沒有 script）是一般的收合清單。每一題都是 <details>。
   ================================================================ */
.HbFaq {
    position: relative;
    overflow: hidden;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--hb-line);
    border-radius: 22px;
    box-shadow: 0 26px 50px -36px var(--hb-accent-deep);
}
.HbQa + .HbQa { margin-top: 2px; }
.HbQa__q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--hb-ink);
    cursor: pointer;
    list-style: none;
    transition: background-color .15s ease, color .15s ease;
}
.HbQa__q::-webkit-details-marker { display: none; }
.HbQa__q::marker { content: ""; }
.HbQa__q:hover { background: var(--hb-tint); }
.HbQa__q:focus-visible { outline: 2px solid var(--hb-accent); outline-offset: -2px; }
.HbQa__no {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--hb-tint-strong);
    color: var(--hb-accent-deep);
    font-size: 12.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease, color .15s ease;
}
.HbQa__text { flex: 1 1 auto; min-width: 0; }
.HbQa__icon {
    flex: 0 0 auto;
    font-size: 12px;
    color: #cbd5e1;
    transition: transform .25s ease, color .15s ease;
}
.HbQa[open] > .HbQa__q { color: var(--hb-accent-ink); }
.HbQa[open] .HbQa__no {
    background: linear-gradient(135deg, var(--hb-cta-from) 0%, var(--hb-cta-to) 100%);
    color: #fff;
}
.HbQa[open] .HbQa__icon { transform: rotate(90deg); color: var(--hb-accent); }

.HbQa__a { padding: 2px 16px 18px 64px; }      /* 64 ＝ 16 留白＋34 編號＋14 間距：答案與問題的字對齊 */
.HbQa__head { display: none; }
.HbQa__body { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--hb-body); }
.HbQa__body a { color: var(--hb-accent-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.HbQa__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    min-height: 38px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--hb-line);
    background: var(--hb-tint);
    color: var(--hb-accent-ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.HbQa__go i { font-size: 11px; }
.HbQa__go .fa-line { font-size: 16px; color: #06C755; }
.HbQa__go:hover { color: var(--hb-accent-ink); text-decoration: none; background: var(--hb-tint-strong); border-color: var(--hb-accent); }
.HbQa__go:hover .fa-arrow-right { transform: translateX(2px); }

/* 桌機：左邊問題、右邊答案 */
@media (min-width: 901px) {
    .HbFaq.is-md { padding: 14px; min-height: 436px; }
    .HbFaq.is-md .HbQa { width: calc(44% - 18px); }      /* 右邊那一塊從 44% 開始，中間留 16px */
    .HbFaq.is-md .HbQa + .HbQa { margin-top: 4px; }
    .HbFaq.is-md .HbQa__q { padding: 15px 16px; }
    .HbFaq.is-md .HbQa[open] > .HbQa__q { background: var(--hb-tint-strong); cursor: default; }
    .HbFaq.is-md .HbQa[open] .HbQa__icon { transform: none; }
    .HbFaq.is-md .HbQa__a {
        position: absolute;
        top: 14px;
        right: 14px;
        bottom: 14px;
        left: 44%;
        overflow: auto;
        padding: 34px 38px 30px;
        border-radius: 16px;
        border: 1px solid var(--hb-line);
        background:
            radial-gradient(circle at 100% 0, var(--hb-tint-strong) 0, var(--hb-tint-strong) 132px, transparent 133px),
            var(--hb-tint);
        animation: hbFaqIn .28s ease both;
    }
    .HbFaq.is-md .HbQa__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
    .HbFaq.is-md .HbQa__body { font-size: 15.5px; line-height: 1.95; }
    .HbFaq.is-md .HbQa__go { margin-top: 22px; min-height: 42px; padding: 8px 20px; background: #fff; font-size: 14px; }
    .HbFaq.is-md .HbQa__go:hover { background: #fff; }
}
/* 右邊那一塊最下面：第幾題、上一題／下一題 */
.HbFaq__nav { display: none; }
@media (min-width: 901px) {
    .HbFaq.is-md .HbQa__a { padding-bottom: 96px; }
    .HbFaq.is-md .HbFaq__nav {
        position: absolute;
        left: calc(44% + 39px);
        right: 53px;
        bottom: 36px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding-top: 16px;
        border-top: 1px dashed var(--hb-line);
    }
}
/* 窄一點的桌機：右邊那一塊收一點留白，最長的那一題（代購）才放得下、不用捲 */
@media (min-width: 901px) and (max-width: 1100px) {
    .HbFaq.is-md { min-height: 468px; }
    .HbFaq.is-md .HbQa__a { padding: 26px 28px 92px; }
    .HbFaq.is-md .HbQa__head { gap: 14px; margin-bottom: 14px; }
    .HbFaq.is-md .HbQa__tile { width: 48px; height: 48px; border-radius: 16px; font-size: 18px; }
    .HbFaq.is-md .HbQa__title { font-size: 18px; }
    .HbFaq.is-md .HbQa__body { font-size: 15px; line-height: 1.9; }
    .HbFaq.is-md .HbFaq__nav { left: calc(44% + 29px); right: 43px; }
}
.HbFaq__count { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--hb-muted); font-variant-numeric: tabular-nums; }
.HbFaq__count b { font-size: 17px; font-weight: 800; color: var(--hb-accent-deep); }
.HbFaq__bar { flex: 1 1 auto; height: 4px; border-radius: 999px; background: var(--hb-tint-strong); overflow: hidden; }
.HbFaq__bar i { display: block; height: 100%; width: 16.667%; border-radius: 999px; background: linear-gradient(90deg, var(--hb-cta-from), var(--hb-cta-to)); transition: width .3s ease; }
.HbFaq__step {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--hb-line);
    background: #fff;
    color: var(--hb-accent-deep);
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.HbFaq__step:hover { background: var(--hb-accent); border-color: var(--hb-accent); color: #fff; }
.HbFaq__step:focus-visible { outline: 2px solid var(--hb-accent); outline-offset: 2px; }
.HbQa__tile {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--hb-cta-from) 0%, var(--hb-cta-to) 100%);
    color: #fff;
    font-size: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 24px -14px var(--hb-accent-deep);
}
.HbQa__title { font-size: 20px; font-weight: 800; line-height: 1.45; letter-spacing: -.01em; color: var(--hb-ink); }
@keyframes hbFaqIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

/* 下面那一條：找不到答案就問客服 */
.HbAsk {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--hb-line);
}
.HbAsk__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--hb-tint-strong);
    color: var(--hb-accent);
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.HbAsk__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.HbAsk__text b { font-size: 15px; font-weight: 700; color: var(--hb-ink); }
.HbAsk__text span { font-size: 13.5px; line-height: 1.6; color: var(--hb-muted); }
.HbAsk__line {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    background: #06C755;
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .15s ease;
}
.HbAsk__line i { font-size: 19px; }
.HbAsk__line:hover { color: #fff; text-decoration: none; filter: brightness(.95); }

/* ================================================================
   最下面那一塊
   （2026-10-12 第二版。第一版是一行：左邊兩句字、右邊兩顆按鈕。
     現在左邊是小標＋標題＋註冊後會得到的三件事＋按鈕，右邊是一張示意的倉庫地址卡與一則 LINE 通知。）
   ================================================================ */
.HbCta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 56px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 48px;
    align-items: center;
    background:
        radial-gradient(circle at 86% 8%, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, 0) 46%),
        linear-gradient(135deg, var(--hb-cta-from) 0%, var(--hb-cta-to) 100%);
    color: #fff;
    box-shadow: 0 30px 56px -30px var(--hb-accent-deep);
}
/* 右半邊一片淡淡的點，往左淡出；左下角一個大圓框。都不用圖片 */
.HbCta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .28) 1px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
    opacity: .55;
    pointer-events: none;
}
.HbCta::after {
    content: "";
    position: absolute;
    left: -170px;
    bottom: -250px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 0 0 46px rgba(255, 255, 255, .05);
    pointer-events: none;
}
.HbCta__text, .HbCta__visual { position: relative; z-index: 1; min-width: 0; }

.HbCta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
}
.HbCta__eyebrow i { font-size: 11px; }
.HbCta__title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 18px 0 10px;
    color: #fff;
}
.HbCta__sub { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .93); margin: 0; }
.HbCta__list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
}
.HbCta__list li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.HbCta__list i { font-size: 15px; opacity: .95; }
.HbCta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.HbCta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, gap .2s ease;
}
.HbCta__btn i { font-size: 12px; }
.HbCta__btn--main { background: #fff; color: var(--hb-accent-ink); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .45); }
.HbCta__btn--main:hover { color: var(--hb-accent-ink); text-decoration: none; transform: translateY(-2px); gap: 14px; }
.HbCta__btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.HbCta__btn--ghost:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .14); }
.HbCta__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 右邊的示意：一張倉庫地址卡（只有欄位名稱與灰色橫條，沒有任何地址）＋一則 LINE 通知 */
.HbCta__visual { height: 290px; }
.HbPass {
    position: absolute;
    right: 6px;
    top: 50%;
    width: min(100%, 350px);
    padding: 20px 22px 58px;        /* 底部多留：左下角給那一則 LINE 通知疊（放字會被蓋住） */
    border-radius: 20px;
    background: #fff;
    color: var(--hb-ink);
    box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .5), 0 2px 6px rgba(15, 23, 42, .08);
    transform: translateY(-54%) rotate(-3deg);
}
.HbPass__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.HbPass__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--hb-tint-strong);
    color: var(--hb-accent);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.HbPass__title { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 800; color: var(--hb-ink); white-space: nowrap; }
.HbPass__badge {
    flex: 0 0 auto;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--hb-tint-strong);
    color: var(--hb-accent-ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    white-space: nowrap;
}
.HbPass__row {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 6px 10px;
    padding: 7px 0;
}
.HbPass__row > span { font-size: 12px; font-weight: 600; color: var(--hb-muted); }
.HbPass__row > i { display: block; height: 9px; border-radius: 999px; background: #e8ecf2; }
.HbPass__row--two > span { grid-row: 1 / span 2; align-self: start; padding-top: 1px; }
.HbPass__row--two > i { grid-column: 2; }
.HbPass__row--code { padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px dashed var(--hb-line); }
.HbPass__row--code > b { display: inline-flex; gap: 5px; }
.HbPass__row--code > b i { width: 18px; height: 22px; border-radius: 6px; background: var(--hb-tint-strong); border: 1px solid var(--hb-line); }

.HbToast {
    position: absolute;
    left: -4px;
    bottom: -6px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .5), 0 2px 6px rgba(15, 23, 42, .08);
    transform: rotate(2deg);
    animation: hbToast 5.5s ease-in-out infinite;
}
.HbToast__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #06C755;
    color: #fff;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.HbToast__text { display: flex; flex-direction: column; line-height: 1.35; white-space: nowrap; }
.HbToast__text small { font-size: 11px; font-weight: 600; color: var(--hb-muted); }
.HbToast__text b { font-size: 13.5px; font-weight: 800; color: var(--hb-ink); }
@keyframes hbToast {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50%      { transform: translateY(-7px) rotate(2deg); }
}

/* ================================================================
   窄一點的畫面
   ================================================================ */
@media (max-width: 1024px) {
    .HbBand { padding: 56px 0; }
    .HbCta { padding: 46px 40px; gap: 32px; }
    .HbCta__title { font-size: 30px; }
    .HbCalc { grid-template-columns: 1fr; }
    .HbResult { min-height: 0; }
    .HbResult__empty { padding: 32px 28px; }
}

@media (max-width: 900px) {
    .HbStats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
    .HbStat + .HbStat { border-left: none; padding-left: 0; }
    .HbStat:nth-child(even) { border-left: 1px solid var(--hb-line); padding-left: 16px; }

    /* 案例改成一欄：大卡在上、小卡往下排 */
    .HbCases { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
    .HbCase--lead { grid-row: auto; }
    .HbCase--lead .HbCase__img { flex: 0 0 auto; aspect-ratio: 16 / 9; min-height: 0; }
    .HbScope { flex-direction: column; gap: 8px; }
    .HbScope__label { line-height: 1.6; }

    /* 步驟改成直的：圖示在左、箭頭往下 */
    .HbFlow { grid-template-columns: 1fr; padding: 30px 24px 26px; }
    .HbFlow__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding: 0 0 22px; }
    .HbFlow__step:last-child { padding-bottom: 0; }
    .HbFlow__rail { flex-direction: column; margin-bottom: 0; }
    .HbFlow__tile { width: 56px; height: 56px; border-radius: 18px; font-size: 21px; }
    .HbFlow__line { width: 2px; height: auto; min-height: 20px; margin: 12px 0 -10px; }
    .HbFlow__line::after { right: auto; top: auto; left: 50%; bottom: 1px; transform: translateX(-50%) rotate(135deg); }
    .HbFlow__line::before { display: none; }   /* 直的那一版不放會動的點 */
    .HbFlow__step:last-child .HbFlow__line { display: none; }
    .HbFlow__desc { flex: 0 0 auto; margin-bottom: 12px; }

    /* 最下面那一塊改成一欄：字在上、示意卡在下（置中） */
    .HbCta { grid-template-columns: 1fr; gap: 28px; padding: 40px 36px 34px; }
    .HbCta__title { font-size: 29px; }
    .HbCta__visual { height: 262px; max-width: 420px; width: 100%; margin: 0 auto; }
}

@media (max-width: 600px) {
    .HbWrap { padding: 0 18px; }
    .HbBand { padding: 44px 0; }
    .HbBand--cta { padding: 40px 0 52px; }

    .HbHead { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
    .HbTitle { font-size: 23px; }
    .HbSub { font-size: 14.5px; }
    .HbMore { white-space: normal; }

    .HbStats { padding: 18px 0; }
    .HbStat { gap: 10px; }
    .HbStat__icon { width: 38px; height: 38px; font-size: 15px; border-radius: 10px; }
    .HbStat__value { font-size: 21px; }
    .HbStat__label { font-size: 12.5px; }

    .HbCase { border-radius: 16px; }
    .HbCase__img { flex-basis: 104px; min-height: 96px; }
    .HbCase__body { padding: 12px 14px; gap: 6px; }
    .HbCase__title { font-size: 14.5px; }
    .HbCase--lead { border-radius: 18px; }
    .HbCase--lead .HbCase__body { padding: 18px 18px 18px; }
    .HbCase--lead .HbCase__title { font-size: 18.5px; -webkit-line-clamp: 3; }
    .HbCase__excerpt { font-size: 14px; }
    .HbScope { padding: 14px 16px; }
    .HbScope__list { gap: 7px; }
    .HbScope__list a, .HbScope__list span { height: 30px; padding: 0 11px; font-size: 12.5px; }

    .HbCalc__form { padding: 22px 18px 20px; gap: 22px; border-radius: 18px; }
    .HbSeg { display: flex; }
    .HbSeg__btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
    .HbChips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .HbChip { padding: 8px 10px; gap: 8px; font-size: 13.5px; }
    .HbChip i { width: 28px; height: 28px; }
    .HbDims { grid-template-columns: 1fr; gap: 10px; }
    .HbDims__size { gap: 6px; }
    .HbNum { height: 58px; }
    .HbNum__cap { left: 10px; }
    .Hb .HbNum input { padding-left: 10px; padding-right: 30px; }   /* 字本來就是 18px，iOS 不會把整頁放大 */
    .HbNum em { right: 9px; }
    .HbBtn { width: 100%; justify-content: center; }
    .HbResult { border-radius: 18px; }
    .HbResult__top { padding: 22px 20px 20px; }
    .HbResult__price b { font-size: 38px; }
    .HbResult__body { padding: 20px 20px 22px; }
    .HbNotes { grid-template-columns: 1fr; padding: 14px 18px; }
    .HbNotes__list { columns: 1; }

    .HbFlow { padding: 26px 18px 22px; border-radius: 18px; }
    .HbFlow__step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
    .HbFlow__tile { width: 48px; height: 48px; border-radius: 15px; font-size: 18px; }
    .HbFlow__tile b { min-width: 22px; height: 22px; font-size: 11.5px; top: -7px; right: -7px; }
    .HbFlow__title { font-size: 17.5px; margin-bottom: 6px; }

    .HbFaq { padding: 8px; border-radius: 18px; }
    .HbQa__q { padding: 13px 12px; gap: 12px; font-size: 15px; }
    .HbQa__no { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; }
    .HbQa__a { padding: 2px 12px 16px 54px; }      /* 54 ＝ 12＋30＋12 */
    .HbQa__body { font-size: 14px; }
    .HbAsk { flex-wrap: wrap; padding: 16px 18px; gap: 12px 14px; }
    .HbAsk__line { flex: 1 1 100%; }

    .HbCta { padding: 30px 22px 28px; border-radius: 22px; gap: 0; }
    .HbCta__title { font-size: 24px; margin: 14px 0 8px; }
    .HbCta__sub { font-size: 14.5px; }
    .HbCta__list { flex-direction: column; gap: 8px; margin-top: 16px; font-size: 14px; }
    .HbCta__actions { width: 100%; margin-top: 24px; }
    .HbCta__btn { flex: 1 1 100%; height: 52px; }
    .HbCta__visual { display: none; }      /* 手機不放示意卡（整頁已經很長） */
}

@media (max-width: 359px) {
    .HbChips { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .Hb *, .Hb *::before, .Hb *::after { transition: none !important; animation: none !important; }
}
